JP2012133473A - Workflow processing system - Google Patents

Workflow processing system Download PDF

Info

Publication number
JP2012133473A
JP2012133473A JP2010283337A JP2010283337A JP2012133473A JP 2012133473 A JP2012133473 A JP 2012133473A JP 2010283337 A JP2010283337 A JP 2010283337A JP 2010283337 A JP2010283337 A JP 2010283337A JP 2012133473 A JP2012133473 A JP 2012133473A
Authority
JP
Japan
Prior art keywords
execution
information
job
workflow
execution availability
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010283337A
Other languages
Japanese (ja)
Other versions
JP5492066B2 (en
Inventor
Taishin Uchisawa
泰臣 采
Junichi Yamamoto
純一 山本
Masataka Yamada
正隆 山田
Shinko Riku
振宏 陸
Yuichiro Ezaki
裕一郎 江崎
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.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Solutions Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Solutions Corp filed Critical Toshiba Corp
Priority to JP2010283337A priority Critical patent/JP5492066B2/en
Publication of JP2012133473A publication Critical patent/JP2012133473A/en
Application granted granted Critical
Publication of JP5492066B2 publication Critical patent/JP5492066B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a workflow processing system capable of improving job execution efficiency without generating a job resulting in a critical path even in a structure having the relation between a job and a job executing device of N:M.SOLUTION: A workflow processing system comprises: presence determination means provided in a workflow control device, for determining whether fourth execution validity information is present or not for all selected second execution validity information; and process execution request transmitting means provided in the workflow control device, for transmitting a process execution request for executing a job to a job execution device related to job execution device identifying information included in selected first execution validity information, when the determination result by the presence determination means indicates the presence of the fourth execution validity information.

Description

本発明の実施形態は、ワークフロー処理システムに関する。   Embodiments described herein relate generally to a workflow processing system.

一般に、ワークフロー処理システムにおいては、ワークフロー制御装置が、予め定義されたワークフロー定義情報に基づいて、ジョブ実行装置にジョブを実行させている。このようなワークフロー処理システムでは、ジョブ実行装置がジョブを実行可能になったタイミングで、ジョブの実行に必要なリソース情報を示す必要リソース情報を確保し、ジョブの前処理を実行するため、ジョブの実行開始までに時間がかかるといった不都合がある。   Generally, in a workflow processing system, a workflow control device causes a job execution device to execute a job based on workflow definition information defined in advance. In such a workflow processing system, necessary job information indicating resource information necessary for job execution is secured and job pre-processing is executed at the timing when the job execution apparatus becomes ready to execute the job. There is a disadvantage that it takes time to start execution.

このため、係る不都合を解消するワークフロー制御技術が考えられている。このワークフロー制御技術は、実行中のジョブの完了後に実行される可能性のあるジョブを実行可能なジョブ実行装置に起動予告を送信し、ジョブ実行装置に必要リソース情報の確保及び前処理の実行等の起動準備処理を予め実行させることで、ジョブ実行効率を向上させている。   For this reason, a workflow control technique that eliminates such inconvenience has been considered. This workflow control technology sends a start notice to a job execution device capable of executing a job that may be executed after completion of the job being executed, ensures necessary resource information for the job execution device, executes pre-processing, etc. The job execution efficiency is improved by executing the startup preparation process in advance.

しかしながら、このようなワークフロー制御技術では、ジョブ実行装置が起動予告を受信した直後にジョブを実行するのではなく、起動予告を受信してからジョブを実行するまでに長時間を要する場合に不都合がある。具体的には、起動予告を受信した時点ではジョブを実行できる状況であったジョブ実行装置が、必要リソース情報の利用状況の変化及び/またはワークフロー処理システムの構成の変化等によって、実際にジョブを実行するタイミングで即座にジョブを実行できないといった不都合が生じる。   However, such a workflow control technique is inconvenient when the job execution device does not execute the job immediately after receiving the start notice, but takes a long time from when the start notice is received until the job is executed. is there. Specifically, the job execution apparatus that was in a state where the job can be executed at the time of receiving the advance notice actually executes the job due to a change in the usage status of the necessary resource information and / or a change in the configuration of the workflow processing system. There is a disadvantage that the job cannot be executed immediately at the execution timing.

これに対し、係る不都合を解消する他のワークフロー制御技術が考えられている。このワークフロー制御技術は、ジョブ実行装置が必要リソース情報を確保した後、起動準備処理時に、他のジョブ実行装置には当該必要リソース情報を利用させない排他制御を適用する。しかしながら、このようなワークフロー制御技術では実行効率が低いという別の不都合が生じる。   On the other hand, another workflow control technique that eliminates such inconvenience has been considered. In this workflow control technology, after the job execution device secures necessary resource information, exclusive control that does not allow other job execution devices to use the required resource information is applied during the startup preparation process. However, such a workflow control technique has another disadvantage that the execution efficiency is low.

そこで、これらの不都合をなくすために、ジョブ実行装置を多重化させ、複数のジョブ実行装置がジョブを実行可能なワークフロー処理システムがある。このように、1つのジョブに対して、このジョブを実行可能な複数のジョブ実行装置が設けられた構成を“ジョブとジョブ実行装置の関係がN:M(N≦M)となる構成”と称する。   In order to eliminate these inconveniences, there is a workflow processing system in which job execution devices are multiplexed so that a plurality of job execution devices can execute jobs. In this way, a configuration in which a plurality of job execution devices capable of executing this job are provided for one job is referred to as “a configuration in which the relationship between the job and the job execution device is N: M (N ≦ M)”. Called.

特開平6−309262号公報JP-A-6-309262 特開平5−81210号公報JP-A-5-81210

しかしながら、ジョブとジョブ実行装置の関係がN:Mとなるワークフロー処理システムでは、1つのジョブに対して、複数のジョブ実行装置が起動準備処理を実行するため、各ジョブ実行装置のうちの1つを当該ジョブを実行させるジョブ実行装置として選択する必要がある。   However, in a workflow processing system in which the relationship between a job and a job execution device is N: M, a plurality of job execution devices execute startup preparation processing for one job, so one of each job execution device. Must be selected as a job execution apparatus for executing the job.

しかしながら、この選択に関する検討はなされていない。よって、この選択により生じる場合がある不都合が解消されていない。例えば、ジョブとジョブ実行装置の関係がN:Mとなるワークフロー処理システムでは、ワークフロー定義情報に示された複数のジョブが同じ必要リソース情報を利用する際に、ジョブ実行装置の選択結果によっては、後続の処理の実行開始を遅らせてジョブ実行効率を大きく低下させる“クリティカルパス”となるジョブが生じる場合があるといった不都合が解消されていない。   However, no consideration has been given to this choice. Therefore, inconveniences that may occur due to this selection are not solved. For example, in a workflow processing system in which the relationship between a job and a job execution device is N: M, when a plurality of jobs indicated in the workflow definition information use the same necessary resource information, depending on the selection result of the job execution device, The inconvenience that a job that becomes a “critical path” that delays the start of the execution of the subsequent processing and greatly reduces the job execution efficiency may occur has not been solved.

本発明が解決しようとする課題は、ジョブとジョブ実行装置の関係がN:Mとなる構成においてもクリティカルパスとなるジョブを生じさせず、ジョブ実行効率を向上させ得るワークフロー処理システムを提供することである。   The problem to be solved by the present invention is to provide a workflow processing system that can improve job execution efficiency without generating a job that becomes a critical path even in a configuration in which the relationship between a job and a job execution device is N: M. It is.

実施形態のワークフロー処理システムは、複数のジョブ実行装置と、ワークフロー制御装置とを備えている。前記各ジョブ実行装置は、いずれかのジョブの実行に必要となるデータリソースを含む複数のリソース情報を記憶しているリソース情報記憶装置に接続されている。前記ワークフロー制御装置は、ワークフロー定義情報を記憶しているワークフロー定義情報記憶装置に記憶されている。前記ワークフロー定義情報は、ジョブ識別情報及び必要リソース情報を含んでいる。前記ジョブ識別情報は、前記各ジョブ実行装置によって実行されるジョブを識別するための情報である。前記必要リソース情報は、当該ジョブ識別情報に関連付けられたジョブを実行するために必要となる前記リソース情報を示す情報である。   The workflow processing system according to the embodiment includes a plurality of job execution devices and a workflow control device. Each of the job execution devices is connected to a resource information storage device that stores a plurality of resource information including data resources necessary for executing any job. The workflow control device is stored in a workflow definition information storage device that stores workflow definition information. The workflow definition information includes job identification information and necessary resource information. The job identification information is information for identifying a job executed by each job execution device. The necessary resource information is information indicating the resource information necessary for executing a job associated with the job identification information.

前記ワークフロー処理システムは、実行可否情報記憶手段、実行可否確認手段、実行可否判定手段、実行可否情報生成手段、実行可否情報送信手段、実行可否情報書込手段、第1読出手段、第1選択手段、第2読出手段、第3読出手段、第2選択手段、抽出手段、繰返し実行制御手段、存在可否判定手段及び処理実行要求送信手段を備えている。   The workflow processing system includes an execution availability information storage unit, an execution availability confirmation unit, an execution availability determination unit, an execution availability information generation unit, an execution availability information transmission unit, an execution availability information writing unit, a first reading unit, and a first selection unit. , Second reading means, third reading means, second selection means, extraction means, repetitive execution control means, presence / absence determination means, and processing execution request transmission means.

前記実行可否情報記憶手段は、前記ワークフロー制御装置に設けられ、前記ジョブ識別情報と、前記各ジョブ実行装置を識別するためのジョブ実行装置識別情報と、当該ジョブ識別情報に関連付けられたジョブの実行可否を前記各ジョブ実行装置が判定した判定結果を示す判定結果情報と、前記各ジョブ実行装置が当該ジョブを実行するときに利用する前記リソース情報を示す利用リソース情報とを含む実行可否情報を記憶する。   The execution availability information storage means is provided in the workflow control device, and executes the job identification information, job execution device identification information for identifying each job execution device, and a job associated with the job identification information Executeability information including determination result information indicating a determination result determined by each job execution device and availability information indicating the resource information used when each job execution device executes the job is stored. To do.

前記実行可否確認手段は、前記ワークフロー制御装置に設けられ、前記ワークフロー定義情報記憶装置内のワークフロー定義情報に基づいて、当該ワークフロー定義情報内の前記ジョブ識別情報及び前記必要リソース情報を含む実行可否確認要求を前記各ジョブ実行装置に送信する。   The execution feasibility confirmation unit is provided in the workflow control device, and based on the workflow definition information in the workflow definition information storage device, the execution feasibility confirmation includes the job identification information and the necessary resource information in the workflow definition information. The request is transmitted to each job execution device.

前記実行可否判定手段は、前記各ジョブ実行装置に設けられ、前記実行可否確認要求を受信すると、当該受信した実行可否確認要求内の必要リソース情報及び前記接続されたリソース情報記憶装置内のリソース情報に基づいて、当該実行可否確認要求内のジョブ識別情報に関連付けられたジョブの実行可否を判定する。   The execution availability determination unit is provided in each job execution device, and upon receiving the execution availability confirmation request, the necessary resource information in the received execution availability confirmation request and the resource information in the connected resource information storage device Based on the above, it is determined whether or not the job associated with the job identification information in the execution permission confirmation request is executable.

前記実行可否情報生成手段は、前記各ジョブ実行装置に設けられ、前記接続されたリソース情報記憶装置内のリソース情報と、前記受信した実行可否確認要求と、前記実行可否判定手段による判定結果を示す判定結果情報とに基づいて、前記実行可否情報を生成する。   The execution availability information generating unit is provided in each job execution device, and indicates resource information in the connected resource information storage device, the received execution availability confirmation request, and a determination result by the execution availability determination unit. Based on the determination result information, the execution propriety information is generated.

前記実行可否情報送信手段は、前記各ジョブ実行装置に設けられ、前記生成された実行可否情報を前記ワークフロー制御装置に送信する。   The execution availability information transmitting unit is provided in each job execution device, and transmits the generated execution availability information to the workflow control device.

前記実行可否情報書込手段は、前記ワークフロー制御装置に設けられ、前記送信された実行可否情報を受信すると、当該受信した実行可否情報を前記実行可否情報記憶手段に書込む。   The executability information writing means is provided in the workflow control apparatus, and when the transmitted executability information is received, the received executability information is written into the executability information storage means.

前記第1読出手段は、前記ワークフロー制御装置に設けられ、前記ワークフロー定義情報記憶装置内のワークフロー定義情報に基づいて、当該ワークフロー定義情報内のジョブ識別情報に一致するジョブ識別情報と、当該ジョブ識別情報に関連付けられたジョブの実行可を示す判定結果情報とをもつ全ての第1の実行可否情報を前記実行可否情報記憶手段から読出す。   The first reading means is provided in the workflow control device, and based on the workflow definition information in the workflow definition information storage device, job identification information that matches the job identification information in the workflow definition information, and the job identification All the first execution enable / disable information having determination result information indicating that the job associated with the information can be executed is read from the execution enable / disable information storage unit.

前記第1選択手段は、前記ワークフロー制御装置に設けられ、前記読出された第1の実行可否情報のうち、いずれかの第1の実行可否情報を選択する第1選択手段(113)と、
前記第2読出手段は、前記ワークフロー制御装置に設けられ、前記実行可否情報記憶手段内の実行可否情報のうち、前記選択された第1の実行可否情報内のジョブ実行装置識別情報または利用リソース情報に一致するジョブ実行装置識別情報または利用リソース情報をもつ全ての第2の実行可否情報を前記実行可否情報記憶手段から読出す。
The first selection means is provided in the workflow control device, and first selection means (113) for selecting any first execution availability information from the read first execution availability information;
The second reading unit is provided in the workflow control device, and among the execution availability information in the execution availability information storage unit, job execution device identification information or use resource information in the selected first execution availability information All second execution availability information having job execution device identification information or use resource information matching the above is read from the execution availability information storage means.

前記第3読出手段は、前記ワークフロー制御装置に設けられ、前記実行可否情報記憶手段内の実行可否情報のうち、前記第1の実行可否情報及び前記第2の実行可否情報を除いた全ての第3の実行可否情報を前記実行可否情報記憶手段から読出す。   The third reading unit is provided in the workflow control device, and among all the execution availability information in the execution availability information storage unit, all the first execution availability information and the second execution availability information are excluded. 3 executability information is read from the executability information storage means.

前記第2選択手段は、前記ワークフロー制御装置に設けられ、前記読出された第2の実行可否情報のうち、いずれかの第2の実行可否情報を選択する第2選択手段(113)と、
前記抽出手段は、前記ワークフロー制御装置に設けられ、前記読出された第3の実行可否情報のうち、前記選択された第2の実行可否情報内のジョブ識別情報に一致するジョブ識別情報をもつ第4の実行可否情報を抽出する。
The second selection means is provided in the workflow control device, and second selection means (113) for selecting any second execution availability information from the read second execution availability information;
The extraction means is provided in the workflow control apparatus, and has a first job identification information having job identification information that matches job identification information in the selected second execution permission information among the read third execution permission information. 4 executability information is extracted.

前記繰返し実行制御手段は、前記ワークフロー制御装置に設けられ、前記読出された全ての第2の実行可否情報について、前記第2選択手段から前記抽出手段までの処理を繰り返し実行するように制御する。   The repetitive execution control means is provided in the workflow control apparatus and controls to repeatedly execute the processing from the second selection means to the extraction means for all the read second execution availability information.

前記存在可否判定手段は、前記ワークフロー制御装置に設けられ、前記選択された全ての第2の実行可否情報について、前記第4の実行可否情報が存在したか否かを判定する。   The presence / absence determination unit is provided in the workflow control apparatus, and determines whether the fourth execution permission information is present or not for all the selected second execution permission information.

前記処理実行要求送信手段は、前記ワークフロー制御装置に設けられ、前記存在可否判定手段による判定の結果が存在した旨を示すとき、前記選択された第1の実行可否情報内のジョブ実行装置識別情報に関連付けられたジョブ実行装置に当該ジョブを実行するための処理実行要求を送信する。   The process execution request transmission unit is provided in the workflow control device, and indicates that the result of determination by the presence / absence determination unit is present, the job execution device identification information in the selected first execution capability information A process execution request for executing the job is transmitted to the job execution apparatus associated with the.

第1の実施形態におけるワークフロー処理システムの構成の一例を示す模式図である。It is a schematic diagram which shows an example of a structure of the workflow processing system in 1st Embodiment. 各実施形態に共通するワークフロー定義情報記憶装置に記憶された情報の一例を示す模式図である。It is a schematic diagram which shows an example of the information memorize | stored in the workflow definition information storage device common to each embodiment. 各実施形態に共通する実行可否情報記憶部に記憶された情報の一例を示す模式図である。It is a schematic diagram which shows an example of the information memorize | stored in the execution availability information storage part common to each embodiment. 同実施形態における実行可否確認動作の一例を示すシーケンス図である。FIG. 11 is a sequence diagram illustrating an example of an execution availability confirmation operation in the same embodiment. 同実施形態における実行可否確認処理の一例を示す模式図である。It is a schematic diagram which shows an example of the feasibility confirmation process in the embodiment. 同実施形態におけるジョブ実行要求動作の一例を示すフローチャートである。4 is a flowchart illustrating an example of a job execution request operation according to the embodiment. 同実施形態におけるジョブ実行要求動作の一例を示すシーケンス図である。It is a sequence diagram showing an example of a job execution request operation in the same embodiment. 同実施形態におけるジョブ実行要求処理の一例を示す模式図である。It is a schematic diagram which shows an example of the job execution request process in the same embodiment. 各実施形態に共通するワークフロー定義情報記憶装置に記憶された情報の一例を示す模式図である。It is a schematic diagram which shows an example of the information memorize | stored in the workflow definition information storage device common to each embodiment. 各実施形態に共通する実行可否情報記憶部に記憶された情報の一例を示す模式図である。It is a schematic diagram which shows an example of the information memorize | stored in the execution availability information storage part common to each embodiment. 第2の実施形態におけるワークフロー処理システムの構成の一例を示す模式図である。It is a schematic diagram which shows an example of a structure of the workflow processing system in 2nd Embodiment. 同実施形態におけるジョブ実行要求動作の一例を示すフローチャートである。4 is a flowchart illustrating an example of a job execution request operation according to the embodiment. 同実施形態におけるジョブ実行要求動作の一例を示すシーケンス図である。It is a sequence diagram showing an example of a job execution request operation in the same embodiment.

以下、各実施形態について図面を参照して説明する。なお、以下のワークフロー処理システムは、ハードウェア構成、又はハードウェア資源とソフトウェアとの組合せ構成のいずれでも実施可能となっている。組合せ構成のソフトウェアとしては、予めネットワーク又は記憶媒体からコンピュータにインストールされ、ワークフロー処理システムの機能を当該コンピュータに実現させるためのプログラムが用いられる。   Each embodiment will be described below with reference to the drawings. The following workflow processing system can be implemented with either a hardware configuration or a combined configuration of hardware resources and software. As the software of the combined configuration, a program installed in advance on a computer from a network or a storage medium, and a program for causing the computer to realize the function of the workflow processing system is used.

(第1の実施形態)
図1は第1の実施形態におけるワークフロー処理システムの構成の一例を示す模式図であり、図2は各実施形態に共通するワークフロー定義情報記憶装置に記憶された情報の一例を示す模式図であって、図3は各実施形態に共通する実行可否情報記憶部に記憶された情報の一例を示す模式図である。ワークフロー処理システム1では、図1に示すように、ワークフロー制御装置11が複数のジョブ実行装置12a,12b,12cに接続され、各ジョブ実行装置12a,12b,12cが各リソース情報記憶装置13a,13b,13cに接続されている。なお、本実施形態では、ワークフロー処理システム1内のジョブ実行装置12aがリソース情報記憶装置13a,13cに接続され、ジョブ実行装置12bがリソース情報記憶装置13b,13cに接続され、ジョブ実行装置12cがリソース情報記憶装置13cに接続されている構成としたが、これに限定されない。
(First embodiment)
FIG. 1 is a schematic diagram showing an example of the configuration of a workflow processing system in the first embodiment, and FIG. 2 is a schematic diagram showing an example of information stored in a workflow definition information storage device common to the embodiments. FIG. 3 is a schematic diagram illustrating an example of information stored in the execution availability information storage unit common to the embodiments. In the workflow processing system 1, as shown in FIG. 1, the workflow control device 11 is connected to a plurality of job execution devices 12a, 12b, and 12c, and the job execution devices 12a, 12b, and 12c are resource information storage devices 13a and 13b. , 13c. In this embodiment, the job execution device 12a in the workflow processing system 1 is connected to the resource information storage devices 13a and 13c, the job execution device 12b is connected to the resource information storage devices 13b and 13c, and the job execution device 12c is Although it is configured to be connected to the resource information storage device 13c, it is not limited to this.

また、ワークフロー制御装置11は、図1に示すように、ワークフロー定義情報記憶装置21に接続され、このワークフロー定義情報記憶装置21内のワークフロー定義情報に基づいて動作している。ここで、ワークフロー定義情報記憶装置21は、図2に示すように、ジョブ識別情報及び必要リソース情報を含むワークフロー定義情報を記憶している。ジョブ識別情報は、複数のジョブ実行装置12a,12b,12cのいずれかによって実行されるジョブを識別するための識別情報を示している。必要リソース情報は、各ジョブ実行装置12a,12b,12cが当該ジョブ識別情報に関連付けられたジョブを実行するときに必要となるリソース情報を示している。これらジョブ識別情報と必要リソース情報との組み合わせは、ジョブ毎に存在する。また、図示しないが、ジョブの実行順序を示す実行順序情報もワークフロー定義情報に含まれている。また、リソース情報には、全てのジョブで共有されるデータリソースを示す情報(図示せず)が含まれていてもよい。なお、同実施形態では、ワークフロー定義情報記憶装置21が、ワークフロー処理システム1内に含まれていない構成としたが、これに限定されない。例えば、ワークフロー定義情報記憶装置21が、ワークフロー処理システム1内に含まれている構成等が適用可能である。   Further, as shown in FIG. 1, the workflow control device 11 is connected to a workflow definition information storage device 21 and operates based on the workflow definition information in the workflow definition information storage device 21. Here, the workflow definition information storage device 21 stores workflow definition information including job identification information and necessary resource information, as shown in FIG. The job identification information indicates identification information for identifying a job executed by any of the plurality of job execution devices 12a, 12b, and 12c. The necessary resource information indicates resource information required when each of the job execution devices 12a, 12b, and 12c executes a job associated with the job identification information. A combination of these job identification information and necessary resource information exists for each job. Although not shown, the workflow definition information also includes execution order information indicating the job execution order. Further, the resource information may include information (not shown) indicating data resources shared by all jobs. In the embodiment, the workflow definition information storage device 21 is not included in the workflow processing system 1, but the configuration is not limited thereto. For example, a configuration in which the workflow definition information storage device 21 is included in the workflow processing system 1 can be applied.

ここで、ワークフロー制御装置11は、図1に示すように、実行可否情報記憶部111、実行可否確認部112及び処理実行要求部113を備えている。   Here, the workflow control apparatus 11 includes an execution availability information storage unit 111, an execution availability confirmation unit 112, and a process execution request unit 113, as shown in FIG.

実行可否情報記憶部111は、図3に示すように、ジョブ識別情報、ジョブ実行装置識別情報、判定結果情報及び利用リソース情報を含む実行可否情報を記憶している。ジョブ実行装置識別情報は、各ジョブ実行装置12a,12b,12cを識別するための識別情報を示している。また、判定結果情報は、各ジョブ実行装置12a,12b,12cがジョブ識別情報に関連付けられたジョブの実行可否(ジョブを実行可能であるか否か)を、可または否を用いて示している。更に、利用リソース情報は、各ジョブ実行装置12a,12b,12cが当該ジョブを実行するときに利用するリソース情報を示している。   As shown in FIG. 3, the execution availability information storage unit 111 stores execution availability information including job identification information, job execution apparatus identification information, determination result information, and usage resource information. The job execution device identification information indicates identification information for identifying each job execution device 12a, 12b, 12c. The determination result information indicates whether each job execution device 12a, 12b, 12c can execute the job associated with the job identification information (whether or not the job can be executed) by using whether or not it can be executed. . Furthermore, the use resource information indicates resource information used when each job execution device 12a, 12b, 12c executes the job.

実行可否確認部112は、ワークフロー定義情報記憶装置21に記憶されたワークフロー定義情報に従って、各ジョブ実行装置12a,12b,12cが、実行中のジョブの完了後に実行される可能性のあるジョブを実行可能であるか否かを確認するための実行可否確認要求を複数のジョブ実行装置12a,12b,12cに送信する処理を実行する。具体的には、例えば、以下の各機能(f112-1)及び(f112-2)をもっている。   In accordance with the workflow definition information stored in the workflow definition information storage device 21, the job execution confirmation unit 112 executes each job execution device 12a, 12b, 12c executing a job that may be executed after completion of the job being executed. Processing for transmitting an execution feasibility confirmation request for confirming whether or not it is possible to a plurality of job execution apparatuses 12a, 12b, and 12c is executed. Specifically, for example, it has the following functions (f112-1) and (f112-2).

(f112-1) ワークフロー定義情報記憶装置21内のワークフロー定義情報に基づいて、当該ワークフロー定義情報内のジョブ識別情報及び必要リソース情報を含む実行可否確認要求を各ジョブ実行装置12a,12b,12cに送信する実行可否確認機能。   (f112-1) Based on the workflow definition information in the workflow definition information storage device 21, an execution permission confirmation request including job identification information and necessary resource information in the workflow definition information is sent to each job execution device 12a, 12b, 12c. Executability confirmation function to send.

(f112-2) 各ジョブ実行装置12a,12b,12cから実行可否情報を受信すると、当該受信した実行可否情報を実行可否情報記憶部111に書込む実行可否情報書込機能。   (f112-2) An execution availability information writing function for writing the received execution availability information into the execution availability information storage unit 111 when the execution availability information is received from each of the job execution devices 12a, 12b, and 12c.

処理実行要求部113は、評価アルゴリズムによって、各ジョブ実行装置12a,12b,12cのうちの最適なジョブ実行装置を選択し、当該選択されたジョブ実行装置にジョブを実行するための処理実行要求を送信する処理を実行する。具体的には、例えば、以下の各機能(f113-1)〜(f113-12)をもっている。   The process execution request unit 113 selects an optimum job execution device from among the job execution devices 12a, 12b, and 12c by the evaluation algorithm, and sends a process execution request for executing the job to the selected job execution device. Execute the process to send. Specifically, for example, the following functions (f113-1) to (f113-12) are provided.

(f113-1) ワークフロー定義情報記憶装置21内のワークフロー定義情報に基づいて、当該ワークフロー定義情報内のジョブ識別情報に一致するジョブ識別情報と、当該ジョブ識別情報に関連付けられたジョブの実行可を示す判定結果情報とをもつ全ての第1の実行可否情報を実行可否情報記憶部111から読出す第1読出機能。   (f113-1) Based on the workflow definition information in the workflow definition information storage device 21, the job identification information that matches the job identification information in the workflow definition information and whether the job associated with the job identification information can be executed. A first reading function for reading all first execution availability information having the determination result information shown from the execution availability information storage unit 111;

(f113-2) 当該読出された第1の実行可否情報のうち、いずれかの第1の実行可否情報を選択する第1選択機能。   (f113-2) A first selection function for selecting any of the first execution availability information thus read out.

(f113-3) 実行可否情報記憶部111内の実行可否情報のうち、当該選択された第1の実行可否情報内のジョブ実行装置識別情報または利用リソース情報に一致するジョブ実行装置識別情報または利用リソース情報をもつ全ての第2の実行可否情報を実行可否情報記憶部111から読出す第2読出機能。   (f113-3) Among the execution availability information in the execution availability information storage unit 111, the job execution apparatus identification information or usage that matches the job execution apparatus identification information or the usage resource information in the selected first execution availability information A second reading function for reading all second execution availability information having resource information from the execution availability information storage unit 111.

(f113-4) 実行可否情報記憶部111内の実行可否情報のうち、第1の実行可否情報及び第2の実行可否情報を除いた全ての第3の実行可否情報を実行可否情報記憶部111から読出す第3読出機能。   (f113-4) Executability information storage unit 111 includes all third execution information except for the first execution information and the second execution information among the execution information in execution availability information storage unit 111. Third read function for reading from.

(f113-5) 当該読出された第2の実行可否情報のうち、いずれかの第2の実行可否情報を選択する第2選択機能。   (f113-5) A second selection function for selecting any second execution availability information from the read second execution availability information.

(f113-6) 当該読出された第3の実行可否情報のうち、当該選択された第2の実行可否情報内のジョブ識別情報に一致するジョブ識別情報をもつ全ての第4の実行可否情報を抽出する抽出機能。   (f113-6) All the fourth execution availability information having job identification information that matches the job identification information in the selected second execution availability information among the read third execution availability information. Extraction function to extract.

(f113-7) 当該読出された全ての第2の実行可否情報について、第2選択機能(f113-5)から抽出機能(f113-6)までの処理を繰り返し実行するように制御する繰返し実行制御機能。   (f113-7) Repetitive execution control for controlling to repeatedly execute the processing from the second selection function (f113-5) to the extraction function (f113-6) for all the read second execution feasibility information function.

(f113-8) 当該選択された全ての第2の実行可否情報について、第4の実行可否情報が存在したか否かを判定する存在可否判定機能。   (f113-8) A presence / absence determination function that determines whether or not the fourth execution permission information exists for all the selected second execution permission information.

(f113-9) 当該存在可否判定機能による判定の結果が存在した旨を示すとき、当該選択された第1の実行可否情報内のジョブ実行装置識別情報に関連付けられたジョブ実行装置に当該ジョブを実行するための処理実行要求を送信する処理実行要求送信機能。   (f113-9) When indicating that the result of the determination by the presence / absence determination function is present, the job is transferred to the job execution device associated with the job execution device identification information in the selected first execution capability information. A process execution request transmission function for transmitting a process execution request for execution.

(f113-10) 当該存在可否判定機能による判定の結果が存在しない旨を示すとき、当該選択された第1の実行可否情報と、当該第4の実行可否情報が存在しない第2の実行可否情報の個数を示す個数情報とを関連付けてメモリ(図示せず)に書込む機能。   (f113-10) When indicating that the result of the determination by the presence / absence determination function does not exist, the selected first execution permission information and second execution permission information without the fourth execution permission information A function of writing in a memory (not shown) in association with the piece number information indicating the number of pieces.

(f113-11) 第1読出機能(f113-1)から第1選択機能(f113-2)、第2読出機能(f113-3)、第3読出機能(f113-4)、第2選択機能(f113-5)、抽出機能(f113-6)、繰返し実行制御機能(f113-7)及び存在可否判定機能(f113-8)までの処理を繰り返し実行するように制御する機能。   (f113-11) From the first reading function (f113-1) to the first selection function (f113-2), the second reading function (f113-3), the third reading function (f113-4), the second selecting function ( f113-5), an extraction function (f113-6), a repeat execution control function (f113-7), and a function for controlling to repeatedly execute the processing up to the existence availability determination function (f113-8).

(f113-12) 図示しないメモリに記憶された個数情報により示される数値が最も小さい個数情報に関連付けられた第1の実行可否情報を当該メモリから読出し、当該読出された第1の実行可否情報に含まれるジョブ実行装置識別情報に関連付けられたジョブ実行装置に当該ジョブを実行するための処理実行要求を送信する機能。   (f113-12) First execution availability information associated with the number information having the smallest numerical value indicated by the number information stored in the memory (not shown) is read from the memory, and the read first execution availability information is stored in the read first execution availability information. A function of transmitting a process execution request for executing the job to the job execution apparatus associated with the included job execution apparatus identification information.

次に、各ジョブ実行装置12a,12b,12cについて説明する。なお、各ジョブ実行装置12a,12b,12cは、同一の機能ブロック構成を有するので、以下、ジョブ実行装置12aを代表例に挙げて説明する。この代表例のジョブ実行装置12aの各部121a及び122aの説明は、各部121a及び122aの添字“a”を適宜、“b”及び“c”に読み替えることにより、代表例以外のジョブ実行装置12b,12cの説明に読み替えられる。   Next, each job execution device 12a, 12b, 12c will be described. Since the job execution devices 12a, 12b, and 12c have the same functional block configuration, the job execution device 12a will be described below as a representative example. The description of each part 121a and 122a of the job execution apparatus 12a of the representative example is made by replacing the subscript “a” of each part 121a and 122a with “b” and “c” as appropriate. It can be read as the description of 12c.

ジョブ実行装置12aは、実行可否判定部121a及びジョブ実行処理部122aを備えている。   The job execution device 12a includes an execution availability determination unit 121a and a job execution processing unit 122a.

実行可否判定部121aは、実行可否確認部112から送信された実行可否確認要求を受けると、当該受信した実行可否確認要求に含まれるジョブ識別情報及び必要リソース情報を用いて、ジョブ実行装置12aが当該ジョブ識別情報に関連付けられたジョブを実行可能であるか否かを判定する処理を実行する。具体的には、例えば、以下の各機能(f121-1)〜(f121-3)をもっている。   When the execution availability determination unit 121a receives the execution availability confirmation request transmitted from the execution availability confirmation unit 112, the job execution apparatus 12a uses the job identification information and necessary resource information included in the received execution availability confirmation request. A process of determining whether or not the job associated with the job identification information can be executed is executed. Specifically, for example, the following functions (f121-1) to (f121-3) are provided.

(f121-1) 実行可否確認部112から送信された実行可否確認要求を受信すると、当該受信した実行可否確認要求及び当該接続されたリソース情報記憶装置13a,13c内のリソース情報に基づいて、当該実行可否確認要求に含まれるジョブ識別情報に関連付けられたジョブの実行可否を判定する実行可否判定機能。   (f121-1) Upon receiving the execution feasibility confirmation request transmitted from the execution feasibility confirmation unit 112, based on the received execution feasibility confirmation request and the resource information in the connected resource information storage devices 13a and 13c, A function for determining whether or not a job associated with the job identification information included in the request for confirming execution can be executed.

(f121-2) 当該接続されたリソース情報記憶装置内のリソース情報と、当該受信した実行可否確認要求と、実行可否判定機能(上述した(f121-1)の機能)による判定結果を示す判定結果情報とに基づいて、実行可否情報を生成する実行可否情報生成機能。   (f121-2) The determination result indicating the determination result by the resource information in the connected resource information storage device, the received executability check request, and the executability determination function (the function of (f121-1) described above) An execution availability information generation function that generates execution availability information based on the information.

(f121-3) 当該生成された実行可否情報をワークフロー制御装置11に送信する実行可否情報送信機能。   (f121-3) An execution availability information transmission function for transmitting the generated execution availability information to the workflow control apparatus 11.

ジョブ実行処理部122aは、処理実行要求部113から送信された処理実行要求を受信すると、当該受信した処理実行要求に含まれるジョブ識別情報に関連付けられたジョブの実行処理を実行する。   When the job execution processing unit 122a receives the process execution request transmitted from the process execution request unit 113, the job execution processing unit 122a executes the job execution process associated with the job identification information included in the received process execution request.

次に、以上のように構成されたワークフロー処理システムの実行可否確認処理について、図4の模式図及び図5のシーケンス図を参照しながら説明する。   Next, the execution confirmation process of the workflow processing system configured as described above will be described with reference to the schematic diagram of FIG. 4 and the sequence diagram of FIG.

始めに、ワークフロー制御装置11においては、実行可否確認部112が、ワークフロー定義情報記憶装置21内のワークフロー定義情報に基づいて、ワークフロー定義情報内のジョブ識別情報j1及び必要リソース情報n1を含む実行可否確認要求をジョブ実行装置12aに送信する(ステップS1)。   First, in the workflow control device 11, the execution availability confirmation unit 112 includes the job identification information j1 and the necessary resource information n1 in the workflow definition information based on the workflow definition information in the workflow definition information storage device 21. A confirmation request is transmitted to the job execution device 12a (step S1).

続いて、実行可否判定部121aは、この実行可否確認要求を受信すると、当該受信した実行可否確認要求に含まれる必要リソース情報n1及び接続されたリソース情報記憶装置13a,13cに記憶されているリソース情報r1,r3に基づいて、当該実行可否確認要求に含まれるジョブ識別情報j1に関連付けられたジョブを実行可能であるか否かを判定する(ステップS2)。この場合、実行可否判定部121aは、実行可否確認要求に含まれるジョブ識別情報j1に関連付けられたジョブを実行するために必要となるリソース情報r1を記憶しているリソース情報記憶装置13aに接続されていることから、必要リソース情報n1が示すリソース情報r1,r2のうちのr1と、リソース情報記憶装置13a内のリソース情報r1とが一致するため、当該ジョブを実行可能であると判定し、この判定結果を示す判定結果情報“可”を生成する。   Subsequently, when the execution availability determination unit 121a receives this execution availability confirmation request, the resource information n1 included in the received execution availability confirmation request and the resources stored in the connected resource information storage devices 13a and 13c Based on the information r1 and r3, it is determined whether or not the job associated with the job identification information j1 included in the execution permission confirmation request can be executed (step S2). In this case, the execution availability determination unit 121a is connected to the resource information storage device 13a that stores the resource information r1 required to execute the job associated with the job identification information j1 included in the execution availability confirmation request. Since r1 of the resource information r1 and r2 indicated by the necessary resource information n1 matches the resource information r1 in the resource information storage device 13a, it is determined that the job can be executed. Determination result information “OK” indicating the determination result is generated.

次に、実行可否判定部121aは、接続されたリソース情報記憶装置13a内のリソース情報r1と、当該受信した実行可否確認要求と、当該生成された判定結果情報“可”とに基づいて、ジョブ識別情報“j1”、ジョブ実行装置識別情報“12a”、判定結果情報“可”及び利用リソース情報“r1”を含む実行可否情報を生成する(ステップS3)。   Next, based on the resource information r1 in the connected resource information storage device 13a, the received execution propriety confirmation request, and the generated determination result information “permitted”, the execution determination unit 121a executes a job. Executability information including identification information “j1”, job execution device identification information “12a”, determination result information “possible”, and usage resource information “r1” is generated (step S3).

続いて、実行可否判定部121aは、当該生成された実行可否情報をワークフロー制御装置11に送信する(ステップS4)。   Subsequently, the execution availability determination unit 121a transmits the generated execution availability information to the workflow control device 11 (step S4).

しかる後、実行可否確認部112は、この実行可否情報を受信すると、当該受信した実行可否情報を実行可否情報記憶部111に書込む(ステップS5)。   Thereafter, upon receiving this execution availability information, the execution availability confirmation unit 112 writes the received execution availability information into the execution availability information storage unit 111 (step S5).

続いて、ワークフロー処理システムのジョブ実行要求動作について、図6のフローチャート、図7のシーケンス図及び図8〜図10の模式図を参照しながら説明する。但し、ワークフロー定義情報記憶装置21には、図9に示すように、ワークフロー定義情報が記憶され、実行可否情報記憶部111には、図10に示すように、図9のワークフロー定義情報に基づくステップS1〜S5の実行により書き込まれた実行可否情報が記憶されているものとする。   Next, the job execution request operation of the workflow processing system will be described with reference to the flowchart of FIG. 6, the sequence diagram of FIG. 7, and the schematic diagrams of FIGS. However, the workflow definition information storage device 21 stores workflow definition information as shown in FIG. 9, and the execution availability information storage unit 111 includes steps based on the workflow definition information of FIG. 9 as shown in FIG. It is assumed that the execution availability information written by the execution of S1 to S5 is stored.

始めに、ワークフロー制御装置11においては、処理実行要求部113が、ワークフロー定義情報記憶装置21内のワークフロー定義情報に基づいて、ワークフロー定義情報内のジョブ識別情報に一致するジョブ識別情報“j1”と、ジョブ識別情報j1に関連付けられたジョブを実行可能である旨を示す判定結果情報“可”とをもつ第1の実行可否情報a,bを実行可否情報記憶部111から読出す(ステップS11)。このステップS11は、処理実行要求を行うジョブを実行可能な旨を示す全ての第1の実行可否情報を取得する工程である。   First, in the workflow control device 11, the process execution requesting unit 113 receives job identification information “j1” that matches the job identification information in the workflow definition information based on the workflow definition information in the workflow definition information storage device 21. The first execution availability information a and b having the determination result information “OK” indicating that the job associated with the job identification information j1 can be executed is read from the execution availability information storage unit 111 (step S11). . This step S11 is a step of acquiring all first execution permission / inhibition information indicating that a job for which a process execution request is made can be executed.

続いて、処理実行要求部113は、ステップS11において読出された第1の実行可否情報a,bのうち、1つの第1の実行可否情報a又はbを選択する(ステップS12)。この場合、処理実行要求部113は、第1の実行可否情報aを選択したものとする。なお、ステップS12〜S18,S20,S21の処理は、ステップS19に移行しない限り、全ての第1の実行可否情報a,bにおける各々の第1の実行可否情報a,bについて繰り返し実行される。   Subsequently, the process execution requesting unit 113 selects one first execution availability information a or b from the first execution availability information a and b read in step S11 (step S12). In this case, it is assumed that the process execution requesting unit 113 has selected the first execution availability information a. Note that the processes of steps S12 to S18, S20, and S21 are repeatedly executed for each of the first executable information a and b in all the first executable information a and b, unless the process proceeds to step S19.

次に、処理実行要求部113は、実行可否情報記憶部111内の実行可否情報のうち、当該選択された第1の実行可否情報a内のジョブ実行装置識別情報“12a”またはリソース情報“r1”に一致するジョブ実行装置識別情報“12a”またはリソース情報“r1”をもつ第2の実行可否情報d,gを実行可否情報記憶部111から読出す(ステップS13)。ステップS13は、第1の実行可否情報aを採用した場合に、影響のある第2の実行可否情報d,gを取得する工程である。なお、第2の実行可否情報d,gは、第1の実行可否情報aに対し、同じジョブ実行装置12a又は同じリソース情報r1を利用する実行可否情報d,gであるので影響がある。   Next, the process execution request unit 113 includes the job execution device identification information “12a” or the resource information “r1” in the selected first execution availability information a among the execution availability information in the execution availability information storage unit 111. The second execution availability information d and g having the job execution device identification information “12a” or the resource information “r1” matching “” is read from the execution availability information storage unit 111 (step S13). Step S13 is a step of acquiring the second executable information d, g which has an influence when the first executable information a is adopted. Note that the second execution permission information d, g has an influence on the first execution permission information a because it is the execution permission information d, g using the same job execution device 12a or the same resource information r1.

続いて、処理実行要求部113は、実行可否情報記憶部111内の実行可否情報のうち、第1の実行可否情報a,bと、第2の実行可否情報d,gとを除いた第3の実行可否情報c,e,f,h,iを実行可否情報記憶部111から読出す(ステップS14)。ステップS14は、第1の実行可否情報aを採用した場合に、影響のない第3の実行可否情報c,e,f,h,iを取得する工程である。なお、第3の実行可否情報c,e,f,h,iは、第1の実行可否情報aに対し、別のジョブ実行装置12b,12cかつ別のリソース情報r2,r3を利用する実行可否情報c,e,f,h,iであるので影響がない。   Subsequently, the process execution requesting unit 113 removes the first execution availability information a and b and the second execution availability information d and g from the execution availability information in the execution availability information storage unit 111. Are read from the execution information storage unit 111 (step S14). Step S14 is a step of acquiring the third executable information c, e, f, h, i that is not affected when the first executable information a is employed. Note that the third execution permission information c, e, f, h, i is different from the first execution permission information a in whether to use different job execution devices 12b, 12c and different resource information r2, r3. Since the information is c, e, f, h, i, there is no influence.

次に、処理実行要求部113は、当該読出された第2の実行可否情報d,gのうちの1つの第2の実行可否情報d又はgを選択する(ステップS15)。この場合、処理実行要求部113は、第2の実行可否情報dを選択したものとする。なお、ステップS15〜S16の処理は、全ての第2の実行可否情報d,gにおける各々の第2の実行可否情報d,gについて繰り返し実行される。   Next, the process execution request unit 113 selects one second execution availability information d or g out of the read second execution availability information d and g (step S15). In this case, it is assumed that the process execution requesting unit 113 has selected the second execution availability information d. Note that the processing in steps S15 to S16 is repeatedly executed for each second execution availability information d, g in all the second execution availability information d, g.

続いて、処理実行要求部113は、当該読出された第3の実行可否情報c,e,f,h,iのうち、当該選択された第2の実行可否情報d内のジョブ識別情報“j2”に一致するジョブ識別情報“j2”をもつ第4の実行可否情報e,fを読出す(ステップS16)。ステップS16は、第1の実行可否情報aを採用した場合に、影響のない第3の実行可否情報c,e,f,h,iから、影響のある第2の実行可否情報dに代替可能な第4の実行可否情報e,fを取得する工程である。   Subsequently, the process execution requesting unit 113 selects the job identification information “j2 in the selected second execution permission information d among the read third execution permission information c, e, f, h, i. The fourth executable information e, f having job identification information “j2” that matches “” is read (step S16). In step S16, when the first execution availability information a is adopted, the third execution availability information c, e, f, h, i having no influence can be replaced with the second execution availability information d having an influence. This is a step of acquiring the fourth executable information e, f.

次に、処理実行要求部113は、当該読出された全ての第2の実行可否情報について、ステップS15,S16の処理が実行されたか否かを判定し、この判定結果が実行されていない旨を示す場合には、ステップS15,S16の処理を繰り返し実行するように制御する(ステップS17)。この場合、処理実行要求部113は、当該読出された第2の実行可否情報gを選択し、且つ、当該読出された第3の実行可否情報c,e,f,h,iのうち、当該選択された第2の実行可否情報g内のジョブ識別情報“j3”に一致するジョブ識別情報“j3”をもつ第4の実行可否情報h,iを読出す。   Next, the process execution requesting unit 113 determines whether or not the processes of steps S15 and S16 have been executed for all the read second execution availability information, and indicates that the determination result has not been executed. In the case shown, control is performed so that the processes of steps S15 and S16 are repeatedly executed (step S17). In this case, the process execution request unit 113 selects the read second execution availability information g, and among the read third execution availability information c, e, f, h, i, the The fourth executable information h and i having the job identification information “j3” that matches the job identification information “j3” in the selected second executable information g are read.

なお、ステップS17において、当該読出された全ての第2の実行可否情報について、ステップS15,S16の処理が実行された旨を示す場合には、ステップS18に進む。   If it is indicated in step S17 that the processing in steps S15 and S16 has been executed for all the read second execution propriety information, the process proceeds to step S18.

続いて、処理実行要求部113は、当該読出された第2の実行可否情報d,gについて、第4の実行可否情報が存在したか否かを判定する(ステップS18)。ステップS18は、第1の実行可否情報aを採用した場合に、影響のある全ての第2の実行可否情報d,gに代替可能な第4の実行可否情報e,f,h,iが存在するか否かを判定する工程である。   Subsequently, the process execution requesting unit 113 determines whether or not the fourth execution enable / disable information exists for the read second execution enable / disable information d and g (step S18). In step S18, when the first execution availability information a is adopted, there is fourth execution availability information e, f, h, i that can be substituted for all the affected second execution availability information d, g. It is a step of determining whether or not to do.

ステップS18の判定結果が存在した旨を示す場合(ステップS18:「存在した」)には、処理実行要求部113は、当該選択された第1の実行可否情報aに含まれるジョブ実行装置識別情報“12a”に関連付けられたジョブ実行装置12aに当該ジョブを実行するための処理実行要求を送信し(ステップS19)、ワークフロー処理システム1における動作を終了する。ステップS19は、第1の実行可否情報aを採用した場合に、影響のある全ての第2の実行可否情報d,gに代替可能な第4の実行可否情報e,f,h,iが存在することから、他に影響のない(又はクリティカルパスとなるリスクが低い)当該第1の実行可否情報aを採用し、この第1の実行可否情報aの送信元のジョブ実行装置12aに処理実行要求を送信する工程である。ステップS18の「存在する」旨の判定結果は、第1の実行可否情報にクリティカルパスとなるリスクが低い旨をも意味している。   When the determination result in step S18 indicates that the determination result exists (step S18: “exists”), the process execution request unit 113 includes the job execution device identification information included in the selected first execution permission information a. A process execution request for executing the job is transmitted to the job execution apparatus 12a associated with “12a” (step S19), and the operation in the workflow processing system 1 is terminated. In step S19, when the first execution availability information a is adopted, there is fourth execution availability information e, f, h, i that can be substituted for all the second execution availability information d, g that has an influence. Therefore, the first execution availability information a that has no other influence (or has a low risk of becoming a critical path) is adopted, and the job execution apparatus 12a that is the transmission source of the first execution availability information a executes the process. It is a process of transmitting a request. The determination result “existing” in step S18 also means that the risk of becoming a critical path in the first execution availability information is low.

ステップS18の判定結果が存在しない旨を示す場合(ステップS18:「存在しない」)には、処理実行要求部113は、ステップS12において選択された第1の実行可否情報aと、第4の実行可否情報が存在しない第2の実行可否情報の個数を示す個数情報とを関連付けて、図示しないメモリに書込む(ステップS20)。ステップS20は、第1の実行可否情報を採用した場合に、影響のある全ての第2の実行可否情報に代替可能な第4の実行可否情報が存在しないことから、当該第1の実行可否情報を採用した場合の影響度(=代替可能な第4の実行可否情報が存在しない第2の実行可否情報の個数)を記録しておく工程である。なお、ステップS18の「存在しない」旨の判定結果は、第1の実行可否情報にクリティカルパスとなるリスクがある旨をも意味している。   When it is indicated that the determination result in step S18 does not exist (step S18: “does not exist”), the process execution request unit 113 receives the first execution availability information a selected in step S12 and the fourth execution. In association with the number information indicating the number of second executable information without the availability information, the information is written in a memory (not shown) (step S20). In step S20, when the first execution availability information is adopted, there is no fourth execution availability information that can be substituted for all the second execution availability information that has an influence. Is the step of recording the degree of influence (= the number of second executable information for which there is no replaceable fourth executable information). Note that the determination result “not present” in step S18 also means that there is a risk of a critical path in the first execution availability information.

次に、処理実行要求部113は、ステップS11で読出された全ての第1の実行可否情報について、ステップS12〜S18,S20の処理が実行されたか否かを判定し、この判定結果が実行されていない旨を示す場合には、ステップS12〜S18の処理を繰り返し実行するように制御する(ステップS21)。なお、ステップS21において、当該ステップS11で読出された全ての第1の実行可否情報について、ステップS12〜S18,S20の処理が実行された旨を示す場合には、ステップS22の処理に進む。   Next, the process execution requesting unit 113 determines whether or not the processes in steps S12 to S18 and S20 have been executed for all the first execution availability information read in step S11, and the determination result is executed. If not, control is performed to repeatedly execute the processes of steps S12 to S18 (step S21). In step S21, when it is shown that the processing in steps S12 to S18 and S20 has been executed for all the first execution permission information read in step S11, the process proceeds to step S22.

しかる後、処理実行要求部113は、図示しないメモリに記憶された個数情報により示される数値が最も小さい個数情報に関連付けられた第1の実行可否情報を読出し、当該読出された第1の実行可否情報に含まれるジョブ実行装置識別情報に関連付けられたジョブ実行装置に当該ジョブを実行するための処理実行要求を送信する(ステップS22)。ステップS22は、第1の実行可否情報を採用した場合に、影響のある全ての第2の実行可否情報に代替可能な第4の実行可否情報が存在しないことから、当該第1の実行可否情報を採用した場合の影響度(=代替可能な第4の実行可否情報が存在しない第2の実行可否情報の個数)が最も小さい第1の実行可否情報を採用し、この第1の実行可否情報の送信元のジョブ実行装置に処理実行要求を送信する工程である。なお、影響度が最も小さい第1の実行可否情報は、クリティカルパスとなるリスクがある第1の実行可否情報の中では相対的にリスクが低い実行可否情報である。   Thereafter, the process execution requesting unit 113 reads the first execution availability information associated with the number information having the smallest numerical value indicated by the number information stored in the memory (not shown), and the read first execution availability A process execution request for executing the job is transmitted to the job execution apparatus associated with the job execution apparatus identification information included in the information (step S22). In step S22, when the first execution availability information is adopted, there is no fourth execution availability information that can be substituted for all the second execution availability information that has an influence. Is adopted, and the first execution availability information having the smallest degree of influence (= the number of second execution availability information for which there is no replaceable fourth execution availability information) is adopted. This is a step of transmitting a processing execution request to the job execution apparatus as the transmission source. Note that the first execution availability information having the smallest influence degree is the execution availability information having a relatively low risk among the first execution availability information having a risk of becoming a critical path.

なお、ステップS19,S22において送信された処理実行要求を受信したジョブ実行装置は、当該受信した処理実行要求内のジョブ識別情報に関連付けられたジョブを実行した後に、当該ジョブの実行結果情報をワークフロー制御装置11に送信する。また、ワークフロー制御装置11は実行結果情報を受けると、ワークフロー定義情報記憶装置21内のワークフロー定義情報に基づいて、前述したステップS1〜S5,S11〜S22の処理を繰り返し実行する。   The job execution apparatus that has received the process execution request transmitted in steps S19 and S22 executes the job associated with the job identification information in the received process execution request, and then uses the job execution result information as a workflow. It transmits to the control apparatus 11. Further, when the workflow control apparatus 11 receives the execution result information, the workflow control apparatus 11 repeatedly executes the processes of steps S1 to S5 and S11 to S22 described above based on the workflow definition information in the workflow definition information storage device 21.

上述したように本実施形態によれば、実行可否確認部112、処理実行要求部113及び実行可否判定部121a〜121cを備えた構成により、複数のジョブ実行装置12a,12b,12cに対して、実行される可能性のあるジョブが生じた時点で実行可否確認要求を送信でき、当該実行可否確認要求に応じた実行可否情報を収集でき、当該収集された実行可否情報に基づいて、複数のジョブ実行装置12a,12b,12cに接続されたリソース情報記憶装置13a,13b,13cの利用状況を予め推測することができるため、実際にジョブ実行装置のいずれかに処理実行要求を送信する際に、後続のジョブに最も影響の少ない最適なジョブ実行装置を選択することができる。   As described above, according to the present embodiment, the configuration including the execution availability confirmation unit 112, the process execution request unit 113, and the execution availability determination units 121a to 121c can be used for a plurality of job execution devices 12a, 12b, and 12c. A job execution confirmation request can be sent when a job that can be executed is generated, execution information according to the job execution confirmation request can be collected, and a plurality of jobs can be created based on the collected execution information. Since the usage status of the resource information storage devices 13a, 13b, and 13c connected to the execution devices 12a, 12b, and 12c can be estimated in advance, when a process execution request is actually transmitted to one of the job execution devices, It is possible to select an optimal job execution apparatus that has the least influence on subsequent jobs.

(第2の実施形態)
図11は第2の実施形態におけるワークフロー処理システムの構成の一例を示す模式図であって、図1に示した構成とは異なり、ワークフロー制御装置11の処理実行要求部113に代えてメッセージキュー部114を設け、複数のジョブ実行装置12a,12b,12cのジョブ実行処理部122a,122b,122cに代えて取得ジョブ実行処理部124a,124b,124cを設けると共に、複数のジョブ実行装置12a,12b,12cに開始可否判定部123a,123b,123cを更に設けた構成を示している。
(Second Embodiment)
FIG. 11 is a schematic diagram illustrating an example of the configuration of the workflow processing system according to the second embodiment. Unlike the configuration illustrated in FIG. 1, a message queue unit is used instead of the process execution request unit 113 of the workflow control device 11. 114, the acquired job execution processing units 124a, 124b, and 124c are provided in place of the job execution processing units 122a, 122b, and 122c of the plurality of job execution devices 12a, 12b, and 12c, and the plurality of job execution devices 12a, 12b, and 12c shows a configuration in which start availability determination units 123a, 123b, and 123c are further provided.

ここで、ワークフロー制御装置11内のメッセージキュー部114について説明する。   Here, the message queue unit 114 in the workflow control apparatus 11 will be described.

なお、ワークフロー制御装置11内の実行可否情報記憶部111に記憶された情報は、前述した第1の実施形態と同一であり、ワークフロー制御装置11内の実行可否確認部112の機能は、前述した(f112-1)及び(f112-2)と同一であるため、詳細な説明は省略する。   The information stored in the execution availability information storage unit 111 in the workflow control apparatus 11 is the same as that in the first embodiment described above, and the function of the execution availability confirmation unit 112 in the workflow control apparatus 11 is described above. Since it is the same as (f112-1) and (f112-2), detailed description is omitted.

ワークフロー制御装置11は、実行可否情報記憶部111、実行可否確認部112及びメッセージキュー部114を備えている。   The workflow control apparatus 11 includes an execution availability information storage unit 111, an execution availability confirmation unit 112, and a message queue unit 114.

メッセージキュー部114は、ワークフロー定義情報記憶装置21に記憶されたワークフロー定義情報に従って、ワークフロー制御装置11において生じる処理実行要求を複数のジョブ実行装置12a,12b,12cに対して公開する処理を実行する。具体的には、例えば、以下の各機能(f114-1)及び(f114-2)をもっている。   The message queue unit 114 executes a process for making a process execution request generated in the workflow control apparatus 11 public to a plurality of job execution apparatuses 12a, 12b, and 12c according to the workflow definition information stored in the workflow definition information storage device 21. . Specifically, for example, the following functions (f114-1) and (f114-2) are provided.

(f114-1) 実行可否情報記憶部111から実行可否情報を読出し、当該読出された実行可否情報を各ジョブ実行装置12a,12b,12cに公開する実行可否情報公開機能。   (f114-1) An execution availability information disclosure function that reads execution availability information from the execution availability information storage unit 111 and publishes the read execution availability information to the job execution apparatuses 12a, 12b, and 12c.

(f114-2) ワークフロー定義情報記憶装置21に記憶されたワークフロー定義情報を受信すると、当該受信したワークフロー定義情報を含む処理実行要求を各ジョブ実行装置12a,12b,12cに公開する処理実行要求公開機能。   (f114-2) When the workflow definition information stored in the workflow definition information storage device 21 is received, the process execution request publication for publishing the process execution request including the received workflow definition information to each of the job execution devices 12a, 12b, and 12c. function.

なお、メッセージキュー部114は、各ジョブ実行装置12a〜12cから確認できるように実行可否情報及び処理実行要求を公開することにより、各装置11,12a〜12c間のメッセージングに信頼性をもたせている。   Note that the message queue unit 114 makes the messaging between the devices 11 and 12a to 12c reliable by disclosing the execution permission information and the processing execution request so that it can be confirmed from the job execution devices 12a to 12c. .

次に、複数のジョブ実行装置12a,12b,12c内の開始可否判定部123a,123b,123c及び取得ジョブ実行処理部124a,124b,124cについて説明する。   Next, the start availability determination units 123a, 123b, 123c and the acquired job execution processing units 124a, 124b, 124c in the plurality of job execution devices 12a, 12b, 12c will be described.

なお、複数のジョブ実行装置12a,12b,12cは、前述同様に、互いに同一の機能ブロック構成を有するので、以下、ジョブ実行装置12aを代表例に挙げて説明する。この代表例のジョブ実行装置12aの各部121a,123a,124aの説明に関し、適宜、添字の“a”を他の“b”及び“c”に読み替え可能となっている。   Since the plurality of job execution devices 12a, 12b, and 12c have the same functional block configuration as described above, the job execution device 12a will be described below as a representative example. Regarding the description of each part 121a, 123a, 124a of the job execution apparatus 12a of the representative example, the subscript “a” can be appropriately replaced with “b” and “c”.

また、複数のジョブ実行装置12a,12b,12c内の実行可否判定部121a,121b,121cの機能は、前述した(f121-1)〜(f121-3)と同一であるため、詳細な説明を省略する。   Further, the functions of the execution availability determination units 121a, 121b, and 121c in the plurality of job execution devices 12a, 12b, and 12c are the same as the above-described (f121-1) to (f121-3), and thus detailed description will be given. Omitted.

ジョブ実行装置12aは、実行可否判定部121a、開始可否判定部123a及び取得ジョブ実行処理部124aを備えている。   The job execution device 12a includes an execution availability determination unit 121a, a start availability determination unit 123a, and an acquisition job execution processing unit 124a.

開始可否判定部123aは、例えば、以下の各機能をもっている。   The start availability determination unit 123a has, for example, the following functions.

(f123-1) メッセージキュー部114に公開されたワークフロー定義情報内のジョブ識別情報に一致するジョブ識別情報と、当該ジョブ識別情報に関連付けられたジョブの実行可を示す判定結果情報とをもつ全ての第1の実行可否情報を当該公開された実行可否情報から抽出する第1抽出機能。   (f123-1) All having job identification information that matches the job identification information in the workflow definition information published to the message queue unit 114, and determination result information indicating whether the job associated with the job identification information can be executed A first extraction function for extracting the first execution availability information from the published execution availability information.

(f123-2) 当該抽出された第1の実行可否情報のうち、いずれかの第1の実行可否情報を選択する第1選択機能。   (f123-2) A first selection function for selecting any of the first execution availability information from the extracted first execution availability information.

(f123-3) メッセージキュー部114に公開された実行可否情報のうち、当該選択された第1の実行可否情報内のジョブ実行装置識別情報または利用リソース情報に一致するジョブ実行装置識別情報または利用リソース情報をもつ全ての第2の実行可否情報を当該公開された実行可否情報から抽出する第2抽出機能。   (f123-3) Among the execution availability information published to the message queue unit 114, job execution device identification information or usage that matches the job execution device identification information or usage resource information in the selected first execution availability information A second extraction function for extracting all second executable information having resource information from the published executable information.

(f123-4) メッセージキュー部114に公開された実行可否情報のうち、当該第1の実行可否情報及び当該第2の実行可否情報を除いた全ての第3の実行可否情報を当該公開された実行可否情報から抽出する第3抽出機能。   (f123-4) Of the execution availability information released to the message queue unit 114, all the third execution availability information except the first execution availability information and the second execution availability information has been released. A third extraction function that extracts from the execution availability information.

(f123-5) 当該抽出された第2の実行可否情報のうち、いずれかの第2の実行可否情報を選択する第2選択機能。   (f123-5) A second selection function for selecting any second execution availability information from the extracted second execution availability information.

(f123-6) 当該抽出された第3の実行可否情報のうち、当該選択された第2の実行可否情報内のジョブ識別情報に一致するジョブ識別情報をもつ全ての第4の実行可否情報を抽出する第4抽出機能。   (f123-6) Of the extracted third execution availability information, all the fourth execution availability information having job identification information that matches the job identification information in the selected second execution availability information. Fourth extraction function to extract.

(f123-7) 当該抽出された全ての第2の実行可否情報について、第2選択機能(f123-5)から第4抽出機能(f123-6)までの処理を繰り返し実行するように制御する機能。   (f123-7) A function for controlling to repeatedly execute the processes from the second selection function (f123-5) to the fourth extraction function (f123-6) for all the extracted second execution availability information .

(f123-8) 当該選択された全ての第2の実行可否情報について、当該第4の実行可否情報が存在したか否かを判定する存在可否判定機能。なお、存在可否判定機能による判定結果が存在した旨を示すとき、開始可否判定部123aは、公開された処理実行要求に対するジョブの処理実行が開始可能である旨を判定したことになる。   (f123-8) A presence / absence determination function that determines whether or not the fourth execution availability information exists for all the selected second execution availability information. When the determination result by the presence / absence determination function indicates that the determination result is present, the start permission / inhibition determination unit 123a determines that the job process execution for the published process execution request can be started.

また、開始可否判定部123aは、以下の各機能(f123-9)〜(f123-9)を更に備えてもよい。   The start availability determination unit 123a may further include the following functions (f123-9) to (f123-9).

(f123-9) 選択された第1の実行可否情報と、第4の実行可否情報が存在しない第2の実行可否情報の個数を示す個数情報とを関連付けてメモリ(図示せず)に書込む機能。   (f123-9) The selected first execution permission information and the number information indicating the number of second execution permission information for which the fourth execution permission information does not exist are associated and written to a memory (not shown). function.

(f123-10) 存在可否判定機能による判定の結果が存在しない旨を示すとき、選択された第1の実行可否情報及び個数情報を関連付けてメモリに書込む機能。   (f123-10) A function of writing the selected first executability information and the number information in the memory in association with each other when the result of the determination by the presence / absence determination function indicates that the result does not exist.

(f123-11) 第1抽出機能(f123-1)から第1選択機能(f123-2)、第2抽出機能(f123-3)、第3抽出機能(f123-4)、第2選択機能(f123-5)、第4抽出機能(f123-6)、繰返し実行制御機能(f123-7)及び存在可否判定機能(f123-8)までの処理を繰り返し実行するように制御する機能。   (f123-11) From the first extraction function (f123-1) to the first selection function (f123-2), the second extraction function (f123-3), the third extraction function (f123-4), the second selection function ( f123-5), a fourth extraction function (f123-6), a repetitive execution control function (f123-7), and a presence / absence determination function (f123-8).

(f123-12) 記憶された個数情報により示される数値が最も小さい個数情報に関連付けられた第1の実行可否情報をメモリから読出し、当該読出された第1の実行可否情報に含まれるジョブ実行装置識別情報が自ジョブ実行装置を示す場合、公開された処理実行要求を取得する機能。   (f123-12) The first execution availability information associated with the number information having the smallest numerical value indicated by the stored number information is read from the memory, and the job execution apparatus included in the read first execution availability information A function of acquiring a publicly-executed process execution request when the identification information indicates the own job execution apparatus.

なお、本実施形態の開始可否判定部123aには、前述した第1の実施形態の処理実行要求部113に用いられた評価アルゴリズムと同様の評価アルゴリズムが用いられているが、これに限定されない。また、本実施形態では、開始可否判定部123a,123b,123cのそれぞれに同様の評価アルゴリズムを用いるとしたが、これに限定されない。例えば、開始可否判定部123aには、本実施形態に示した評価アルゴリズムを適用し、開始可否判定部123b,123cには、本実施形態に示した評価アルゴリズムとは別の評価アルゴリズムを適用することも可能である。   In addition, although the evaluation algorithm similar to the evaluation algorithm used for the process execution request | requirement part 113 of 1st Embodiment mentioned above is used for the start availability determination part 123a of this embodiment, it is not limited to this. In the present embodiment, the same evaluation algorithm is used for each of the start availability determination units 123a, 123b, and 123c. However, the present invention is not limited to this. For example, the evaluation algorithm shown in this embodiment is applied to the start availability determination unit 123a, and an evaluation algorithm different from the evaluation algorithm shown in this embodiment is applied to the start availability determination units 123b and 123c. Is also possible.

取得ジョブ実行処理部124aは、上述した(f123-8)の判定の結果が存在した旨を示すとき、メッセージキュー部114に公開された処理実行要求を取得する処理を実行し、当該取得された処理実行要求に含まれるジョブ識別情報に関連付けられたジョブを実行する。   When the acquisition job execution processing unit 124a indicates that the determination result (f123-8) described above exists, the acquisition job execution processing unit 124a executes a process of acquiring a processing execution request disclosed to the message queue unit 114, and the acquired The job associated with the job identification information included in the process execution request is executed.

次に、以上のように構成されたワークフロー処理システムのジョブ実行要求動作について、図9,図10の模式図、図12のフローチャート及び図13のシーケンス図を参照しながら説明する。但し、ワークフロー定義情報記憶装置21には、図9に示すような、ワークフロー定義情報が記憶され、実行可否情報記憶部111には、図10に示すように、図9のワークフロー定義情報に基づくステップS1〜S5の実行により書き込まれた実行可否情報が記憶されているものとする。   Next, the job execution request operation of the workflow processing system configured as described above will be described with reference to the schematic diagrams of FIGS. 9 and 10, the flowchart of FIG. 12, and the sequence diagram of FIG. However, the workflow definition information storage device 21 stores workflow definition information as shown in FIG. 9, and the execution availability information storage unit 111 includes steps based on the workflow definition information of FIG. 9 as shown in FIG. It is assumed that the execution availability information written by the execution of S1 to S5 is stored.

始めに、メッセージキュー部114は、実行可否情報記憶部111から実行可否情報を読出し、当該読出された実行可否情報をジョブ実行装置12aに公開する(ステップS31)。   First, the message queue unit 114 reads the execution availability information from the execution availability information storage unit 111, and discloses the read execution availability information to the job execution device 12a (step S31).

続いて、メッセージキュー部114は、ワークフロー定義情報記憶装置21に記憶されたワークフロー定義情報に基づいて、ワークフロー定義情報内のジョブ識別情報j1及び必要リソース情報n1を含む処理実行要求をジョブ実行装置12aに公開する(ステップS32)。   Subsequently, based on the workflow definition information stored in the workflow definition information storage device 21, the message queue unit 114 sends a process execution request including job identification information j1 and necessary resource information n1 in the workflow definition information to the job execution device 12a. (Step S32).

次に、開始可否判定部123aは、ステップS32において公開されたワークフロー定義情報に含まれるジョブ識別情報に一致するジョブ識別情報“j1”と、ジョブ識別情報j1に関連付けられたジョブの実行可を示す判定結果情報“可”とをもつ第1の実行可否情報a,bをステップS31で公開された実行可否情報から抽出する(ステップS33)。このステップS33の趣旨は、前述したステップS11の趣旨と同様である。また同様に、ステップS34〜S40,S42,S43の処理は、ステップS41に移行しない限り、全ての第1の実行可否情報a,bにおける各々の第1の実行可否情報a,bについて繰り返し実行される。   Next, the start availability determination unit 123a indicates job identification information “j1” that matches the job identification information included in the workflow definition information published in step S32, and whether or not the job associated with the job identification information j1 can be executed. First execution availability information a and b having determination result information “Yes” are extracted from the execution availability information disclosed in step S31 (step S33). The purpose of step S33 is the same as the purpose of step S11 described above. Similarly, the processing of steps S34 to S40, S42, and S43 is repeatedly executed for each first execution permission information a and b in all the first execution permission information a and b, unless the process proceeds to step S41. The

続いて、開始可否判定部123aは、当該抽出された第1の実行可否情報a,bのうちの1つを選択する(ステップS34)。この場合、開始可否判定部123aは、第1の実行可否情報aを選択したものとする。   Subsequently, the start availability determination unit 123a selects one of the extracted first execution availability information a and b (step S34). In this case, it is assumed that the start availability determination unit 123a has selected the first execution availability information a.

次に、開始可否判定部123aは、メッセージキュー部114に公開された実行可否情報のうち、当該選択された第1の実行可否情報a内のジョブ実行装置識別情報“12a”またはリソース情報“r1”に一致するジョブ実行装置識別情報“12a”またはリソース情報“r1”をもつ第2の実行可否情報d,gを抽出する(ステップS35)。ステップS35の趣旨は、前述したステップS13の趣旨と同様である。   Next, the start availability determination unit 123a includes the job execution device identification information “12a” or the resource information “r1” in the selected first execution availability information a among the execution availability information disclosed to the message queue unit 114. The second execution availability information d and g having the job execution device identification information “12a” or the resource information “r1” that matches “” is extracted (step S35). The purpose of step S35 is the same as the purpose of step S13 described above.

続いて、開始可否判定部123aは、メッセージキュー部114に公開された実行可否情報のうち、第1の実行可否情報a,bと、第2の実行可否情報d,gとを除いた全ての第3の実行可否情報c,e,f,h,iを抽出する(ステップS36)。ステップS36の趣旨は、前述したステップS14の趣旨と同様である。また、第3の実行可否情報c,e,f,h,iが影響がない理由も前述同様である。   Subsequently, the start availability determination unit 123a excludes the first execution availability information a and b and the second execution availability information d and g from the execution availability information disclosed to the message queue unit 114. Third execution availability information c, e, f, h, i is extracted (step S36). The purpose of step S36 is the same as the purpose of step S14 described above. Further, the reason why the third execution availability information c, e, f, h, i is not affected is the same as described above.

次に、開始可否判定部123aは、当該抽出された第2の実行可否情報d,gのうちの1つを選択する(ステップS37)。この場合、開始可否判定部123aは、第2の実行可否情報dを選択したものとする。また同様に、ステップS37〜S38の処理は、全ての第2の実行可否情報d,gにおける各々の第2の実行可否情報d,gについて繰り返し実行される。   Next, the start availability determination unit 123a selects one of the extracted second execution availability information d and g (step S37). In this case, it is assumed that the start availability determination unit 123a has selected the second execution availability information d. Similarly, the processing of steps S37 to S38 is repeatedly executed for each second execution availability information d, g in all the second execution availability information d, g.

続いて、開始可否判定部123aは、当該抽出された第3の実行可否情報c,e,f,h,iのうち、当該選択された第2の実行可否情報dと同様のジョブ識別情報“j2”をもつ第4の実行可否情報e,fを抽出する(ステップS38)。ステップS38の趣旨は、前述したステップS16の趣旨と同様である。   Subsequently, the start availability determination unit 123a selects the same job identification information "" as the selected second execution availability information d among the extracted third execution availability information c, e, f, h, i. The fourth executable information e, f having j2 ″ is extracted (step S38). The purpose of step S38 is the same as the purpose of step S16 described above.

次に、開始可否判定部123aは、当該抽出された全ての第2の実行可否情報について、ステップS37,S38の処理が実行されたか否かを判定し、この判定結果が実行されていない旨を示す場合には、ステップS37,S38の処理を繰り返し実行するように制御する(ステップS39)。この場合、処理実行要求部123aは、当該抽出された第2の実行可否情報gを選択し、且つ、当該抽出された第3の実行可否情報c,e,f,h,iのうち、当該選択された第2の実行可否情報gと同様のジョブ識別情報“j3”をもつ第4の実行可否情報h,iを抽出する。   Next, the start availability determination unit 123a determines whether or not the processing of steps S37 and S38 has been executed for all the extracted second execution availability information, and indicates that the determination result has not been executed. In the case shown, control is performed so that the processes of steps S37 and S38 are repeatedly executed (step S39). In this case, the process execution request unit 123a selects the extracted second execution availability information g, and among the extracted third execution availability information c, e, f, h, i, the The fourth executable information h and i having the same job identification information “j3” as the selected second executable information g are extracted.

なお、ステップS39において、当該抽出された全ての第2の実行可否情報について、ステップS37,S38の処理が実行された旨を示す場合には、ステップS40に進む。   If it is indicated in step S39 that the processing of steps S37 and S38 has been executed for all the extracted second execution availability information, the process proceeds to step S40.

続いて、開始可否判定部123aは、当該抽出された第2の実行可否情報d,gについて、第4の実行可否情報が存在したか否かを判定する(ステップS40)。ステップS40の趣旨は、前述したステップS18の趣旨と同様である。   Subsequently, the start availability determination unit 123a determines whether there is fourth execution availability information for the extracted second execution availability information d and g (step S40). The purpose of step S40 is the same as the purpose of step S18 described above.

ステップS40の判定結果が存在した旨を示す場合(ステップS40:「存在した」)には、取得ジョブ実行処理部124aは、当該公開された処理実行要求をメッセージキュー部114から取得し(ステップS41)、当該取得した処理実行要求に含まれるジョブ識別情報に関連付けられたジョブを実行する。ステップS41は、第1の実行可否情報aを採用した場合に、影響のある全ての第2の実行可否情報d,gに代替可能な第4の実行可否情報e,f,h,iが存在することから、他に影響のない当該第1の実行可否情報aを採用し、この第1の実行可否情報aの送信元のジョブ実行装置12aが処理実行要求を取得する工程である。   When the determination result of step S40 indicates that the determination result exists (step S40: “exists”), the acquisition job execution processing unit 124a acquires the published processing execution request from the message queue unit 114 (step S41). ), The job associated with the job identification information included in the acquired process execution request is executed. In step S41, when the first execution availability information a is adopted, there is fourth execution availability information e, f, h, i that can be substituted for all the affected second execution availability information d, g. Therefore, this is the step of adopting the first execution availability information a that does not affect others, and the job execution device 12a that is the transmission source of the first execution availability information a obtaining the process execution request.

一方、ステップ40の判定結果が存在しない旨を示す場合(ステップS40:「存在しない」)には、開始可否判定部123aは、ステップS34において選択された第1の実行可否情報aと、第4の実行可否情報が存在しない第2の実行可否情報の個数を示す個数情報とを関連付けて、図示しないメモリに書込む(ステップS42)。ステップS42の趣旨は、前述したステップS20の趣旨と同様である。   On the other hand, when it is indicated that the determination result of step 40 does not exist (step S40: “does not exist”), the start availability determination unit 123a includes the first execution availability information a selected in step S34 and the fourth Is written in a memory (not shown) in association with the piece number information indicating the number of pieces of the second piece of piece of execution information that does not include the execution possibility information (step S42). The purpose of step S42 is the same as the purpose of step S20 described above.

次に、開始可否判定部123aは、ステップS33で抽出された全ての第1の実行可否情報について、ステップS34〜S40,S42の処理が実行されたか否かを判定し、この判定結果が実行されていない旨を示す場合には、ステップS34〜S40の処理を繰り返し実行するように制御する(ステップS43)。なお、ステップS43において、当該ステップS33で抽出された全ての第1の実行可否情報について、ステップS34〜S40,S42の処理が実行された旨を示す場合には、ステップS44の処理に進む。   Next, the start availability determination unit 123a determines whether or not the processing of steps S34 to S40 and S42 has been executed for all the first execution availability information extracted in step S33, and the determination result is executed. If not, control is performed so that the processes of steps S34 to S40 are repeated (step S43). In step S43, when it is indicated that the processes of steps S34 to S40 and S42 have been executed for all the first execution possibility information extracted in step S33, the process proceeds to step S44.

しかる後、開始可否判定部123aは、図示しないメモリに記憶された個数情報により示される数値が最も小さい個数情報に関連付けられた第1の実行可否情報を読出し、当該読出された第1の実行可否情報に含まれるジョブ実行装置識別情報が自ジョブ実行装置12aを示す場合、取得ジョブ実行処理部124aを起動する。取得ジョブ実行処理部124aは、起動されると、当該公開された処理実行要求をメッセージキュー部114から取得し(ステップS44)、処理実行要求内のジョブ識別情報が示すジョブを実行する。ステップS44は、第1の実行可否情報を採用した場合に、影響のある全ての第2の実行可否情報に代替可能な第4の実行可否情報が存在しないことから、当該第1の実行可否情報を採用した場合の影響度(=代替可能な第4の実行可否情報が存在しない第2の実行可否情報の個数)が最も小さい第1の実行可否情報を採用し、この第1の実行可否情報の送信元のジョブ実行装置が処理実行要求を取得する工程である。   Thereafter, the start availability determination unit 123a reads the first execution availability information associated with the number information whose numerical value indicated by the number information stored in the memory (not shown) is the smallest, and the read first execution availability When the job execution device identification information included in the information indicates the own job execution device 12a, the acquisition job execution processing unit 124a is activated. When the acquisition job execution processing unit 124a is activated, the acquisition job execution processing unit 124a acquires the published processing execution request from the message queue unit 114 (step S44), and executes the job indicated by the job identification information in the processing execution request. In step S44, when the first executability information is adopted, there is no fourth executability information that can be substituted for all the second executability information that has an influence. Is adopted, and the first execution availability information having the smallest degree of influence (= the number of second execution availability information for which there is no replaceable fourth execution availability information) is adopted. This is a process in which the job execution apparatus of the transmission source acquires a process execution request.

なお、ステップS41又はS44において処理実行要求を取得したジョブ実行装置は、当該取得した処理実行要求に含まれるジョブ識別情報に関連付けられたジョブを実行した後に、当該ジョブの実行結果情報をワークフロー制御装置11に送信する。   The job execution apparatus that has acquired the process execution request in step S41 or S44 executes the job associated with the job identification information included in the acquired process execution request, and then transmits the execution result information of the job to the workflow control apparatus. 11 to send.

また、複数のジョブ実行装置12a,12b,12c内の取得ジョブ実行処理部124a,124b,124cは、複数の取得ジョブ実行処理部が1つの処理実行要求に対して上述したステップS41の処理を同時に実行せず、個別のタイミングで実行するように、一定の問合せ間隔に基づいて、ステップS41の処理を制御してもよい。例えば、複数のジョブ実行装置12a,12b,12c内の取得ジョブ実行処理部124a,124b,124cがメッセージキュー部114に公開された1つの処理実行要求を取得する場合、取得ジョブ実行処理部124aはステップS40の処理から1秒後にステップS41の処理を実行し、取得ジョブ実行処理部124bはステップS40の処理から2秒後にステップS41の処理を実行し、取得ジョブ実行処理部124cはステップS40の処理から3秒後にステップS41の処理を実行するといった旨を各ジョブ実行装置12a,12b,12cに予め設定しておく。これにより、各取得ジョブ実行処理部124a,124b,124cが個別のタイミングでステップS41の処理を実行するように制御してもよい。   In addition, the acquired job execution processing units 124a, 124b, and 124c in the plurality of job execution apparatuses 12a, 12b, and 12c simultaneously perform the process of step S41 described above in response to one processing execution request by the plurality of acquired job execution processing units. The process of step S41 may be controlled based on a constant inquiry interval so that it is executed at an individual timing without being executed. For example, when the acquired job execution processing units 124a, 124b, and 124c in the plurality of job execution devices 12a, 12b, and 12c acquire one processing execution request published to the message queue unit 114, the acquired job execution processing unit 124a The process of step S41 is executed 1 second after the process of step S40, the acquisition job execution processing part 124b executes the process of step S41 two seconds after the process of step S40, and the acquisition job execution processing part 124c is the process of step S40. The job execution devices 12a, 12b, and 12c are set in advance to execute the process of step S41 after 3 seconds. Accordingly, the acquired job execution processing units 124a, 124b, and 124c may be controlled to execute the process of step S41 at individual timing.

上述したように本実施形態によれば、メッセージキュー部114、開始可否判定部123a〜123c及び取得ジョブ実行処理部124a〜124cを備えた構成により、メッセージキュー部114に公開された実行可否情報に基づいて、複数のジョブ実行装置12a,12b,12cがそれぞれ独自の評価アルゴリズムを用いてジョブの実行の可否を判定することができる。   As described above, according to the present embodiment, the configuration including the message queue unit 114, the start availability determination units 123a to 123c, and the acquired job execution processing units 124a to 124c includes the execution availability information disclosed to the message queue unit 114. Based on this, each of the plurality of job execution devices 12a, 12b, and 12c can determine whether or not the job can be executed using a unique evaluation algorithm.

補足すると、各ジョブ実行装置12a,12b,12cが外部の複数の事業者等によって個別に管理され、それぞれの事業者の運用ポリシーが異なる場合においても、各ジョブ実行装置12a,12b,12cが後続ジョブに影響が少ない旨を判定したときに先着方式で処理実行要求を取得する構成により、後続のジョブに最も影響の少ない最適なジョブ実行装置を決定することができる。   Supplementally, even when each job execution device 12a, 12b, 12c is individually managed by a plurality of external business operators, etc., and each business operator has a different operation policy, each job execution device 12a, 12b, 12c follows. With the configuration in which a process execution request is acquired on a first-come-first-served basis when it is determined that there is little influence on a job, an optimal job execution apparatus that has the least influence on subsequent jobs can be determined.

以上説明した少なくともひとつの実施形態によれば、予め実行可否確認要求により各ジョブ実行装置12a〜12cから実行可否情報を収集して実行可否情報記憶部111に記憶しておき、処理実行要求を行う直前に、処理実行要求を行うジョブを実行可能な旨を示す全ての第1の実行可否情報を実行可否情報記憶部111から取得し、全ての第1の実行可否情報のうちの1つの第1の実行可否情報aを採用した場合に、影響のある全ての第2の実行可否情報d,gに代替可能な第4の実行可否情報e,f,h,iが存在する場合には、他に影響のない当該第1の実行可否情報aを採用し、代替可能な第4の実行可否情報e,f,h,iが存在しない場合には、当該第1の実行可否情報を採用した場合の影響度が最も小さい第1の実行可否情報を採用する構成により、ジョブとジョブ実行装置の関係がN:Mとなる構成においてもクリティカルパスとなるジョブを生じさせず、ジョブ実行効率を向上させることができる。   According to at least one embodiment described above, execution enable / disable information is collected in advance from each job execution device 12a to 12c by an execution enable / disable confirmation request, stored in the execution enable / disable information storage unit 111, and a process execution request is made. Immediately before, all the first execution availability information indicating that the job for executing the process execution request can be executed is acquired from the execution availability information storage unit 111, and the first one of all the first execution availability information is obtained. When the fourth execution availability information e, f, h, i that can be substituted for all the affected second execution availability information d, g is present When the first executable information a that does not affect the information is adopted and there is no substituteable fourth executable information e, f, h, i, the first executable information is used. The first execution availability information that has the least influence The the configuration employing the relationship of the job and the job execution unit N: not cause a job to be critical path even in a configuration in which the M, it is possible to improve the job execution efficiency.

なお、上記の各実施形態に記載した手法は、コンピュータに実行させることのできるプログラムとして、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスクなど)、光ディスク(CD−ROM、DVDなど)、光磁気ディスク(MO)、半導体メモリなどの記憶媒体に格納して頒布することもできる。   Note that the methods described in the above embodiments are, as programs that can be executed by a computer, magnetic disks (floppy (registered trademark) disks, hard disks, etc.), optical disks (CD-ROMs, DVDs, etc.), magneto-optical disks. (MO), stored in a storage medium such as a semiconductor memory, and distributed.

また、この記憶媒体としては、プログラムを記憶でき、かつコンピュータが読み取り可能な記憶媒体であれば、その記憶形式は何れの形態であっても良い。   In addition, as long as the storage medium can store a program and can be read by a computer, the storage format may be any form.

また、記憶媒体からコンピュータにインストールされたプログラムの指示に基づきコンピュータ上で稼働しているOS(オペレーティングシステム)や、データベース管理ソフト、ネットワークソフト等のMW(ミドルウェア)等が上記実施形態を実現するための各処理の一部を実行しても良い。   In addition, an OS (operating system) running on a computer based on an instruction of a program installed in the computer from a storage medium, MW (middleware) such as database management software, network software, and the like realize the above-described embodiment. A part of each process may be executed.

さらに、各実施形態における記憶媒体は、コンピュータと独立した媒体に限らず、LANやインターネット等により伝送されたプログラムをダウンロードして記憶または一時記憶した記憶媒体も含まれる。   Furthermore, the storage medium in each embodiment is not limited to a medium independent of a computer, but also includes a storage medium in which a program transmitted via a LAN, the Internet, or the like is downloaded and stored or temporarily stored.

また、記憶媒体は1つに限らず、複数の媒体から上記の各実施形態における処理が実行される場合も本発明における記憶媒体に含まれ、媒体構成は何れの構成であっても良い。   Further, the number of storage media is not limited to one, and the case where the processing in each of the above embodiments is executed from a plurality of media is also included in the storage media in the present invention, and the media configuration may be any configuration.

なお、各実施形態におけるコンピュータは、記憶媒体に記憶されたプログラムに基づき、上記の各実施形態における各処理を実行するものであって、パソコン等の1つからなる装置、複数の装置がネットワーク接続されたシステム等の何れの構成であっても良い。   The computer in each embodiment executes each process in each of the above embodiments based on a program stored in a storage medium, and a single device such as a personal computer or a plurality of devices are connected to a network. Any configuration of the system or the like may be used.

また、各実施形態におけるコンピュータとは、パソコンに限らず、情報処理機器に含まれる演算処理装置、マイコン等も含み、プログラムによって本発明の機能を実現することが可能な機器、装置を総称している。   In addition, the computer in each embodiment is not limited to a personal computer, and includes an arithmetic processing device, a microcomputer, and the like included in an information processing device, and is a generic term for devices and devices that can realize the functions of the present invention by a program. Yes.

なお、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   In addition, although some embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1…ワークフロー処理システム、11…ワークフロー制御装置、12a,12b,12c…ジョブ実行装置、13a,13b,13c…リソース情報記憶装置、21…ワークフロー定義情報記憶装置、111…実行可否情報記憶部、112…実行可否確認部、113…処理実行要求部、114…メッセージキュー部、121a,121b,121c…実行可否判定部、122a,122b,122c…ジョブ実行処理部、123a,123b,123c…開始可否判定部、124a,124b,124c…取得ジョブ実行処理部。   DESCRIPTION OF SYMBOLS 1 ... Workflow processing system, 11 ... Workflow control apparatus, 12a, 12b, 12c ... Job execution apparatus, 13a, 13b, 13c ... Resource information storage apparatus, 21 ... Workflow definition information storage apparatus, 111 ... Execution availability information storage part, 112 ... Executability check unit, 113 ... Process execution request unit, 114 ... Message queue unit, 121a, 121b, 121c ... Execution determination unit, 122a, 122b, 122c ... Job execution processing unit, 123a, 123b, 123c ... Start determination , 124a, 124b, 124c... Acquisition job execution processing unit.

Claims (4)

いずれかのジョブの実行に必要となるデータリソースを含む複数のリソース情報を記憶しているリソース情報記憶装置に接続された複数のジョブ実行装置と、前記各ジョブ実行装置によって実行されるジョブを識別するためのジョブ識別情報及び当該ジョブ識別情報に関連付けられたジョブを実行するために必要となる前記リソース情報を示す必要リソース情報を含むワークフロー定義情報を記憶しているワークフロー定義情報記憶装置に接続されたワークフロー制御装置とを備えたワークフロー処理システムであって、
前記ワークフロー制御装置に設けられ、前記ジョブ識別情報と、前記各ジョブ実行装置を識別するためのジョブ実行装置識別情報と、当該ジョブ識別情報に関連付けられたジョブの実行可否を前記各ジョブ実行装置が判定した判定結果を示す判定結果情報と、前記各ジョブ実行装置が当該ジョブを実行するときに利用する前記リソース情報を示す利用リソース情報とを含む実行可否情報を記憶する実行可否情報記憶手段と、
前記ワークフロー制御装置に設けられ、前記ワークフロー定義情報記憶装置内のワークフロー定義情報に基づいて、当該ワークフロー定義情報内の前記ジョブ識別情報及び前記必要リソース情報を含む実行可否確認要求を前記各ジョブ実行装置に送信する実行可否確認手段と、
前記各ジョブ実行装置に設けられ、前記実行可否確認要求を受信すると、当該受信した実行可否確認要求内の必要リソース情報及び前記接続されたリソース情報記憶装置内のリソース情報に基づいて、当該実行可否確認要求内のジョブ識別情報に関連付けられたジョブの実行可否を判定する実行可否判定手段と、
前記各ジョブ実行装置に設けられ、前記接続されたリソース情報記憶装置内のリソース情報と、前記受信した実行可否確認要求と、前記実行可否判定手段による判定結果を示す判定結果情報とに基づいて、前記実行可否情報を生成する実行可否情報生成手段と、
前記各ジョブ実行装置に設けられ、前記生成された実行可否情報を前記ワークフロー制御装置に送信する実行可否情報送信手段と、
前記ワークフロー制御装置に設けられ、前記送信された実行可否情報を受信すると、当該受信した実行可否情報を前記実行可否情報記憶手段に書込む実行可否情報書込手段と、
前記ワークフロー制御装置に設けられ、前記ワークフロー定義情報記憶装置内のワークフロー定義情報に基づいて、当該ワークフロー定義情報内のジョブ識別情報に一致するジョブ識別情報と、当該ジョブ識別情報に関連付けられたジョブの実行可を示す判定結果情報とをもつ全ての第1の実行可否情報を前記実行可否情報記憶手段から読出す第1読出手段と、
前記ワークフロー制御装置に設けられ、前記読出された第1の実行可否情報のうち、いずれかの第1の実行可否情報を選択する第1選択手段と、
前記ワークフロー制御装置に設けられ、前記実行可否情報記憶手段内の実行可否情報のうち、前記選択された第1の実行可否情報内のジョブ実行装置識別情報または利用リソース情報に一致するジョブ実行装置識別情報または利用リソース情報をもつ全ての第2の実行可否情報を前記実行可否情報記憶手段から読出す第2読出手段と、
前記ワークフロー制御装置に設けられ、前記実行可否情報記憶手段内の実行可否情報のうち、前記第1の実行可否情報及び前記第2の実行可否情報を除いた全ての第3の実行可否情報を前記実行可否情報記憶手段から読出す第3読出手段と、
前記ワークフロー制御装置に設けられ、前記読出された第2の実行可否情報のうち、いずれかの第2の実行可否情報を選択する第2選択手段と、
前記ワークフロー制御装置に設けられ、前記読出された第3の実行可否情報のうち、前記選択された第2の実行可否情報内のジョブ識別情報に一致するジョブ識別情報をもつ第4の実行可否情報を抽出する抽出手段と、
前記ワークフロー制御装置に設けられ、前記読出された全ての第2の実行可否情報について、前記第2選択手段から前記抽出手段までの処理を繰り返し実行するように制御する繰返し実行制御手段と、
前記ワークフロー制御装置に設けられ、前記選択された全ての第2の実行可否情報について、前記第4の実行可否情報が存在したか否かを判定する存在可否判定手段と、
前記ワークフロー制御装置に設けられ、前記存在可否判定手段による判定の結果が存在した旨を示すとき、前記選択された第1の実行可否情報内のジョブ実行装置識別情報に関連付けられたジョブ実行装置に当該ジョブを実行するための処理実行要求を送信する処理実行要求送信手段と
を備えたことを特徴とするワークフロー処理システム。
Identifies a plurality of job execution devices connected to a resource information storage device storing a plurality of resource information including data resources necessary for execution of any job, and a job executed by each job execution device Connected to a workflow definition information storage device that stores workflow definition information including job identification information for executing and the necessary resource information indicating the resource information necessary for executing the job associated with the job identification information. A workflow processing system comprising a workflow control device,
Each job execution device is provided in the workflow control device and determines whether the job identification information, job execution device identification information for identifying each job execution device, and whether or not a job associated with the job identification information can be executed. Executability information storage means for storing executability information including determination result information indicating the determined determination result and use resource information indicating the resource information used when each job execution device executes the job;
Based on the workflow definition information in the workflow definition information storage device provided in the workflow control device, each job execution device sends an execution permission confirmation request including the job identification information and the necessary resource information in the workflow definition information. Execution feasibility confirmation means to be transmitted to
When each job execution device is provided and receives the execution feasibility confirmation request, the execution feasibility based on the necessary resource information in the received execution feasibility confirmation request and the resource information in the connected resource information storage device An execution determination unit for determining whether to execute the job associated with the job identification information in the confirmation request;
Based on the resource information in the connected resource information storage device provided in each job execution device, the received execution availability confirmation request, and the determination result information indicating the determination result by the execution availability determination means, Executability information generating means for generating the executability information;
Executability information transmission means provided in each of the job execution devices, for transmitting the generated execution availability information to the workflow control device;
Provided in the workflow control apparatus, and upon receiving the transmitted execution availability information, the execution availability information writing means for writing the received execution availability information into the execution availability information storage means;
Based on the workflow definition information in the workflow definition information storage device provided in the workflow control device, the job identification information that matches the job identification information in the workflow definition information and the job associated with the job identification information First reading means for reading all first execution availability information having determination result information indicating that execution is possible from the execution availability information storage means;
A first selection unit provided in the workflow control device, for selecting any of the first execution enable / disable information read out;
Job execution device identification that is provided in the workflow control device and matches job execution device identification information or use resource information in the selected first execution availability information among the execution availability information in the execution availability information storage means Second read-out means for reading out all second execution availability information having information or use resource information from the execution availability information storage means;
All the third executable information except the first executable information and the second executable information among the executable information stored in the executable information storage means provided in the workflow control device Third reading means for reading from the executability information storage means;
A second selection means provided in the workflow control device, for selecting any second execution availability information from the read second execution availability information;
4th execution availability information which is provided in the said workflow control apparatus, and has job identification information which corresponds to the job identification information in the selected 2nd execution availability information among the read 3rd execution availability information Extracting means for extracting
Repetitive execution control means, which is provided in the workflow control device, and controls to repeatedly execute the processing from the second selection means to the extraction means for all the read second execution availability information;
A presence / absence determination unit that is provided in the workflow control device and determines whether or not the fourth execution permission information is present for all the selected second execution permission information;
A job execution device provided in the workflow control device and indicating that the result of determination by the presence / absence determination unit is present, associated with the job execution device identification information in the selected first execution capability information A workflow processing system comprising: a process execution request transmission unit that transmits a process execution request for executing the job.
請求項1に記載のワークフロー処理システムにおいて、
前記ワークフロー制御装置は、
前記選択された第1の実行可否情報と、前記第4の実行可否情報が存在しない第2の実行可否情報の個数を示す個数情報とを関連付けて一時的に記憶するメモリと、
前記存在可否判定手段による判定の結果が存在しない旨を示すとき、前記選択された第1の実行可否情報及び前記個数情報を関連付けて前記メモリに書込む手段と、
前記第1読出手段から前記第1選択手段、前記第2読出手段、前記第3読出手段、前記第2選択手段、前記抽出手段、前記繰返し実行制御手段及び前記存在可否判定手段までの処理を繰り返し実行するように制御する手段と、
前記記憶された個数情報により示される数値が最も小さい個数情報に関連付けられた第1の実行可否情報を前記メモリから読出し、当該読出された第1の実行可否情報に含まれるジョブ実行装置識別情報に関連付けられたジョブ実行装置に当該ジョブを実行するための処理実行要求を送信する手段と
を更に備えたことを特徴とするワークフロー処理システム。
The workflow processing system according to claim 1,
The workflow control device includes:
A memory for temporarily storing the selected first execution availability information and number information indicating the number of second execution availability information for which the fourth execution availability information does not exist;
Means for writing the selected first execution availability information and the number information in association with each other when the result of the determination by the presence / absence determination means indicates that the result does not exist;
The processes from the first reading means to the first selecting means, the second reading means, the third reading means, the second selecting means, the extracting means, the repeated execution control means, and the presence / absence determining means are repeated. Means to control to execute;
The first execution availability information associated with the number information having the smallest numerical value indicated by the stored number information is read from the memory, and the job execution apparatus identification information included in the read first execution availability information is read out. And a means for transmitting a process execution request for executing the job to the associated job execution apparatus.
いずれかのジョブの実行に必要となるデータリソースを含む複数のリソース情報を記憶しているリソース情報記憶装置に接続された複数のジョブ実行装置と、前記各ジョブ実行装置によって実行されるジョブを識別するためのジョブ識別情報及び当該ジョブ識別情報に関連付けられたジョブを実行するために必要となる前記リソース情報を示す必要リソース情報を含むワークフロー定義情報を記憶しているワークフロー定義情報記憶装置に接続されたワークフロー制御装置とを備えたワークフロー処理システムであって、
前記ワークフロー制御装置に設けられ、前記ジョブ識別情報と、前記各ジョブ実行装置を識別するためのジョブ実行装置識別情報と、当該ジョブ識別情報に関連付けられたジョブの実行可否を前記各ジョブ実行装置が判定した判定結果を示す判定結果情報と、前記各ジョブ実行装置が当該ジョブを実行するときに利用する前記リソース情報を示す利用リソース情報とを含む実行可否情報を記憶する実行可否情報記憶手段と、
前記ワークフロー制御装置に設けられ、前記ワークフロー定義情報記憶装置内のワークフロー定義情報に基づいて、当該ワークフロー定義情報内の前記ジョブ識別情報及び前記必要リソース情報を含む実行可否確認要求を前記各ジョブ実行装置に送信する実行可否確認手段と、
前記各ジョブ実行装置に設けられ、前記実行可否確認要求を受信すると、当該受信した実行可否確認要求内の必要リソース情報及び前記接続されたリソース情報記憶装置内のリソース情報に基づいて、当該実行可否確認要求内のジョブ識別情報に関連付けられたジョブの実行可否を判定する実行可否判定手段と、
前記各ジョブ実行装置に設けられ、前記接続されたリソース情報記憶装置内のリソース情報と、前記受信した実行可否確認要求と、前記実行可否判定手段による判定結果を示す判定結果情報とに基づいて、前記実行可否情報を生成する実行可否情報生成手段と、
前記生成された実行可否情報を前記ワークフロー制御装置に送信する実行可否情報送信手段と、
前記ワークフロー制御装置に設けられ、前記送信された実行可否情報を受信すると、当該受信した実行可否情報を前記実行可否情報記憶手段に書込む実行可否情報書込手段と、
前記ワークフロー制御装置に設けられ、前記実行可否情報記憶手段から前記実行可否情報を読出し、当該読出された実行可否情報を前記各ジョブ実行装置に公開する実行可否情報公開手段と、
前記ワークフロー制御装置に設けられ、前記ワークフロー定義情報記憶装置に記憶されたワークフロー定義情報を受信すると、当該受信したワークフロー定義情報を含む処理実行要求を前記各ジョブ実行装置に公開する処理実行要求公開手段と、
前記各ジョブ実行装置に設けられ、前記公開されたワークフロー定義情報内のジョブ識別情報に一致するジョブ識別情報と、当該ジョブ識別情報に関連付けられたジョブの実行可を示す判定結果情報とをもつ全ての第1の実行可否情報を前記公開された実行可否情報から抽出する第1抽出手段と、
前記各ジョブ実行装置に設けられ、前記抽出された第1の実行可否情報のうち、いずれかの第1の実行可否情報を選択する第1選択手段と、
前記各ジョブ実行装置に設けられ、前記公開された実行可否情報のうち、前記選択された第1の実行可否情報内のジョブ実行装置識別情報または利用リソース情報に一致するジョブ実行装置識別情報または利用リソース情報をもつ全ての第2の実行可否情報を前記公開された実行可否情報から抽出する第2抽出手段と、
前記各ジョブ実行装置に設けられ、前記公開された実行可否情報のうち、前記第1の実行可否情報及び前記第2の実行可否情報を除いた全ての第3の実行可否情報を前記公開された実行可否情報から抽出する第3抽出手段と、
前記各ジョブ実行装置に設けられ、前記抽出された第2の実行可否情報のうち、いずれかの第2の実行可否情報を選択する第2選択手段と、
前記各ジョブ実行装置に設けられ、前記抽出された第3の実行可否情報のうち、前記選択された第2の実行可否情報内のジョブ識別情報に一致するジョブ識別情報をもつ全ての第4の実行可否情報を抽出する第4抽出手段と、
前記各ジョブ実行装置に設けられ、前記抽出された全ての第2の実行可否情報について、前記第2選択手段から前記第4抽出手段までの処理を繰り返し実行するように制御する繰返し実行制御手段と、
前記各ジョブ実行装置に設けられ、前記選択された全ての第2の実行可否情報について、前記第4の実行可否情報が存在したか否かを判定する存在可否判定手段と、
前記各ジョブ実行装置に設けられ、前記存在可否判定手段による判定の結果が存在した旨を示すとき、前記公開された処理実行要求を取得する処理実行要求取得手段と
を備えたことを特徴とするワークフロー処理システム。
Identifies a plurality of job execution devices connected to a resource information storage device storing a plurality of resource information including data resources necessary for execution of any job, and a job executed by each job execution device Connected to a workflow definition information storage device that stores workflow definition information including job identification information for executing and the necessary resource information indicating the resource information necessary for executing the job associated with the job identification information. A workflow processing system comprising a workflow control device,
Each job execution device is provided in the workflow control device and determines whether the job identification information, job execution device identification information for identifying each job execution device, and whether or not a job associated with the job identification information can be executed. Executability information storage means for storing executability information including determination result information indicating the determined determination result and use resource information indicating the resource information used when each job execution device executes the job;
Based on the workflow definition information in the workflow definition information storage device provided in the workflow control device, each job execution device sends an execution permission confirmation request including the job identification information and the necessary resource information in the workflow definition information. Execution feasibility confirmation means to be transmitted to
When each job execution device is provided and receives the execution feasibility confirmation request, the execution feasibility based on the necessary resource information in the received execution feasibility confirmation request and the resource information in the connected resource information storage device An execution determination unit for determining whether to execute the job associated with the job identification information in the confirmation request;
Based on the resource information in the connected resource information storage device provided in each job execution device, the received execution availability confirmation request, and the determination result information indicating the determination result by the execution availability determination means, Executability information generating means for generating the executability information;
Execution availability information transmitting means for transmitting the generated execution availability information to the workflow control device;
Provided in the workflow control apparatus, and upon receiving the transmitted execution availability information, the execution availability information writing means for writing the received execution availability information into the execution availability information storage means;
Executability information disclosing means provided in the workflow control device, for reading the execution permission information from the execution permission information storage means, and publishing the read execution permission information to the job execution devices;
Processing execution request publishing means for publishing a processing execution request including the received workflow definition information to each job execution device when the workflow definition information provided in the workflow control device and stored in the workflow definition information storage device is received When,
All provided in each of the job execution devices and having job identification information that matches the job identification information in the published workflow definition information, and determination result information indicating whether the job associated with the job identification information can be executed First extraction means for extracting the first execution availability information from the published execution availability information;
A first selection unit that is provided in each of the job execution devices and that selects any one of the extracted first execution availability information;
Job execution device identification information or usage that is provided in each job execution device and matches the job execution device identification information or resource usage information in the selected first execution availability information among the published execution availability information Second extraction means for extracting all second execution availability information having resource information from the published execution availability information;
All the third execution availability information except the first execution availability information and the second execution availability information among the published execution availability information provided in each of the job execution apparatuses is disclosed. Third extraction means for extracting from the execution availability information;
A second selection unit provided in each of the job execution devices, for selecting any second execution availability information from the extracted second execution availability information;
All the fourth execution information provided in each of the job execution devices and having job identification information that matches job identification information in the selected second execution availability information among the extracted third execution availability information. A fourth extraction means for extracting executable information;
Repetitive execution control means provided in each of the job execution devices, for controlling to repeatedly execute the processing from the second selection means to the fourth extraction means for all the extracted second execution availability information; ,
A presence / absence determining unit that is provided in each of the job execution devices and determines whether or not the fourth execution permission information exists for all of the selected second execution permission information;
A process execution request acquisition unit that is provided in each of the job execution devices and that acquires the published process execution request when the result of the determination by the presence / absence determination unit is present. Workflow processing system.
請求項3に記載のワークフロー処理システムにおいて、
前記各ジョブ実行装置は、
前記選択された第1の実行可否情報と、前記第4の実行可否情報が存在しない第2の実行可否情報の個数を示す個数情報とを関連付けて一時的に記憶するメモリと、
前記存在可否判定手段による判定の結果が存在しない旨を示すとき、前記選択された第1の実行可否情報及び前記個数情報を関連付けて前記メモリに書込む手段と、
前記第1抽出手段から前記第1選択手段、前記第2抽出手段、前記第3抽出手段、前記第2選択手段、前記第4抽出手段、前記繰返し実行制御手段及び前記存在可否判定手段までの処理を繰り返し実行するように制御する手段と、
前記記憶された個数情報により示される数値が最も小さい個数情報に関連付けられた第1の実行可否情報を前記メモリから読出し、当該読出された第1の実行可否情報に含まれるジョブ実行装置識別情報が自ジョブ実行装置を示す場合、前記公開された処理実行要求を取得する手段と
を更に備えたことを特徴とするワークフロー処理システム。
The workflow processing system according to claim 3,
Each of the job execution devices
A memory for temporarily storing the selected first execution availability information and number information indicating the number of second execution availability information for which the fourth execution availability information does not exist;
Means for writing the selected first execution availability information and the number information in association with each other when the result of the determination by the presence / absence determination means indicates that the result does not exist;
Processing from the first extraction means to the first selection means, the second extraction means, the third extraction means, the second selection means, the fourth extraction means, the repetitive execution control means, and the presence / absence determination means Means for repeatedly executing
First execution availability information associated with the number information having the smallest numerical value indicated by the stored number information is read from the memory, and job execution device identification information included in the read first execution availability information is A workflow processing system, further comprising means for acquiring the published processing execution request when showing its own job execution device.
JP2010283337A 2010-12-20 2010-12-20 Workflow processing system Active JP5492066B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010283337A JP5492066B2 (en) 2010-12-20 2010-12-20 Workflow processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010283337A JP5492066B2 (en) 2010-12-20 2010-12-20 Workflow processing system

Publications (2)

Publication Number Publication Date
JP2012133473A true JP2012133473A (en) 2012-07-12
JP5492066B2 JP5492066B2 (en) 2014-05-14

Family

ID=46649022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010283337A Active JP5492066B2 (en) 2010-12-20 2010-12-20 Workflow processing system

Country Status (1)

Country Link
JP (1) JP5492066B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005275476A (en) * 2004-03-22 2005-10-06 Fuji Xerox Co Ltd Management device, service processor, service processing system, management program, and service processing program
JP2010009200A (en) * 2008-06-25 2010-01-14 Fuji Xerox Co Ltd Program and device for controlling processing flow, and data processing system
JP2010128664A (en) * 2008-11-26 2010-06-10 Fujitsu Ltd Multiprocessor system, contention avoidance program and contention avoidance method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005275476A (en) * 2004-03-22 2005-10-06 Fuji Xerox Co Ltd Management device, service processor, service processing system, management program, and service processing program
JP2010009200A (en) * 2008-06-25 2010-01-14 Fuji Xerox Co Ltd Program and device for controlling processing flow, and data processing system
JP2010128664A (en) * 2008-11-26 2010-06-10 Fujitsu Ltd Multiprocessor system, contention avoidance program and contention avoidance method

Also Published As

Publication number Publication date
JP5492066B2 (en) 2014-05-14

Similar Documents

Publication Publication Date Title
US8250132B2 (en) Managing messages related to workflows
US9026626B2 (en) Management device, information processing system, management method, and storage medium
US9001364B2 (en) Management system, image forming apparatus, management system control method, and image forming apparatus control method for migration of setting values of an application that operates in the image forimng apparatus
JP4751431B2 (en) Vulnerability determination device and program
JP4441555B2 (en) Device system, device system control method, and computer program
US20100185477A1 (en) Workflow management apparatus, method, and storage medium storing a program thereof
JP2007041678A (en) Software use management server device, software use management system, software use management method, and program
JP2017021628A (en) Work support device and work support program
JP2009187364A (en) Access right management system
JP5451277B2 (en) Management apparatus, information processing apparatus, log information management method, and computer program
JP4817775B2 (en) Information processing apparatus and information processing method
JP5492066B2 (en) Workflow processing system
US10628096B2 (en) Device data management system for managing device data usable as setting values
US9727290B2 (en) Management apparatus and method for setting data values on an information processing apparatus
JP2009187456A (en) Firmware update system, information processor, and firmware update method and program
JP2009169793A (en) Service management method, system, and program
JP2014182689A (en) Information processing system and information processing program
JP5566936B2 (en) Job execution system and program
JP6434464B2 (en) Software management system, software management method, and management apparatus
JP5787017B1 (en) Information processing apparatus and information processing program
JP4693854B2 (en) Document data management system
JP2010072685A (en) Operation implementation system, operation implementation device, control device, operation implementation program, and control program
JP6951988B2 (en) Mail composer, information processing system, its control method and program
JP2009098730A (en) Information processor and information processing program
JP6471644B2 (en) Information processing apparatus, information processing system, and information processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130312

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131216

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140109

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140116

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140228

R150 Certificate of patent or registration of utility model

Ref document number: 5492066

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350