JP4807382B2 - Processing flow control program, processing flow control device, and data processing system - Google Patents

Processing flow control program, processing flow control device, and data processing system Download PDF

Info

Publication number
JP4807382B2
JP4807382B2 JP2008165893A JP2008165893A JP4807382B2 JP 4807382 B2 JP4807382 B2 JP 4807382B2 JP 2008165893 A JP2008165893 A JP 2008165893A JP 2008165893 A JP2008165893 A JP 2008165893A JP 4807382 B2 JP4807382 B2 JP 4807382B2
Authority
JP
Japan
Prior art keywords
processing
job
processing flow
workflow
flow information
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.)
Expired - Fee Related
Application number
JP2008165893A
Other languages
Japanese (ja)
Other versions
JP2010009200A (en
Inventor
信雄 山岸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2008165893A priority Critical patent/JP4807382B2/en
Publication of JP2010009200A publication Critical patent/JP2010009200A/en
Application granted granted Critical
Publication of JP4807382B2 publication Critical patent/JP4807382B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、処理フロー制御プログラム、処理フロー制御装置及びデータ処理システムに関する。   The present invention relates to a processing flow control program, a processing flow control device, and a data processing system.

従来、一連のデータ処理作業を、個々の作業が所定の順序で実行されるように管理しながら進行させるデータ処理作業の進行管理システムが知られている。(例えば、特許文献1参照。)。   2. Description of the Related Art Conventionally, a data processing work progress management system is known in which a series of data processing work is performed while managing each work so as to be executed in a predetermined order. (For example, refer to Patent Document 1).

この進行管理システムは、処理対象のデータに対して行うべき作業の順序を示すワークフロー情報を設定する設定装置と、ワークフロー情報に基づいて、個々の作業の進行管理を行う管理サーバ装置と、サーバ装置からワークフロー情報の提示を受け、所定のデータ処理作業を実行する機能を有する複数のクライアント装置とを備える。この進行管理システムでは、複数のワークフロー情報に対して処理対象データがそれぞれ入力されると、各クライアント装置によってデータ処理作業が実行され、その処理状態が管理サーバ装置により管理されるが、処理対象データの入力順とは異なる順で各データ処理作業は実行される。   The progress management system includes a setting device that sets workflow information indicating the order of operations to be performed on data to be processed, a management server device that manages the progress of individual tasks based on the workflow information, and a server device. And a plurality of client devices having a function of executing a predetermined data processing operation in response to presentation of workflow information. In this progress management system, when data to be processed is input to each of a plurality of workflow information, data processing work is executed by each client device, and the processing state is managed by the management server device. Each data processing operation is executed in an order different from the input order.

また、印刷の特性情報を含む印刷情報に基づいて、複数の処理工程からなる処理手順(ワークフロー)を作成する印刷制御装置が知られている(例えば、特許文献2参照。)。   There is also known a print control apparatus that creates a processing procedure (workflow) including a plurality of processing steps based on printing information including printing characteristic information (see, for example, Patent Document 2).

この印刷制御装置は、印刷情報を読み込む印刷情報読み込み手段と、印刷情報読み込み手段によって読み込んだ印刷情報に含まれる特性情報に基づいて、印刷用の特定処理の情報を複数選択する情報選択手段と、複数の印刷用の処理の間における処理順を記憶した処理順記憶手段と、処理順記憶手段に記憶されている処理順と、情報選択手段によって選択された複数の特定処理の情報とに基づいて、該複数の特定処理の処理順を生成する処理手順生成手段とを備える。この印刷制御装置は、複数の印刷情報に応じて複数の異なる処理手順を生成する。   The print control apparatus includes: a print information reading unit that reads print information; an information selection unit that selects a plurality of pieces of specific processing information for printing based on characteristic information included in the print information read by the print information reading unit; Based on the processing order storage means that stores the processing order among a plurality of printing processes, the processing order stored in the processing order storage means, and the information on the plurality of specific processes selected by the information selection means And a processing procedure generation means for generating the processing order of the plurality of specific processes. The print control apparatus generates a plurality of different processing procedures according to a plurality of pieces of print information.

特開平11−306253号公報JP-A-11-306253 特開2005−316904号公報JP 2005-316904 A

本発明の目的は、並列処理される複数の処理フロー情報間で、各処理フロー情報に含まれる第1の処理工程より後であって第2の処理工程までに含まれる処理工程を所望の順序で処理することができる処理フロー制御プログラム、処理フロー制御装置及びデータ処理システムを提供することにある。   It is an object of the present invention to arrange processing steps included in a desired order after a first processing step included in each processing flow information and up to a second processing step among a plurality of processing flow information processed in parallel. The present invention provides a processing flow control program, a processing flow control device, and a data processing system that can be processed by a computer.

本発明の一態様は、上記目的を達成するため、以下の処理フロー制御プログラム、処理フロー制御装置及びデータ処理システムを提供する。   In order to achieve the above object, an aspect of the present invention provides the following processing flow control program, processing flow control device, and data processing system.

[1]複数の処理フロー情報を並行処理し得る処理手段から前記処理フロー情報に含まれる複数の処理工程の処理状態を取得する取得ステップと、前記複数の処理フロー情報から所定の順序で監視対象を選択し、前記取得ステップにより取得された前記処理状態が当該監視対象の処理フロー情報に含まれる第1の処理工程において停止状態であるとき、前記処理手段に処理開始を指示するとともに、前記第1の処理工程より工程順が後の第2の処理工程において前記取得ステップにより取得された前記処理状態が所定の処理状態となったとき、前記所定の順序で次の処理フロー情報に前記監視対象を変更する制御を行う制御ステップとをコンピュータに実行させるための処理フロー制御プログラム。 [1] An acquisition step of acquiring processing states of a plurality of processing steps included in the processing flow information from a processing unit capable of processing a plurality of processing flow information in parallel, and a monitoring target in a predetermined order from the plurality of processing flow information When the processing state acquired by the acquisition step is a stopped state in the first processing step included in the monitoring target processing flow information, the processing means is instructed to start processing, and the first When the processing state acquired by the acquisition step in the second processing step after the processing step of one processing step becomes a predetermined processing state, the monitoring target is added to the next processing flow information in the predetermined order. A processing flow control program for causing a computer to execute a control step for performing control to change the value.

[2]前記制御ステップによる前記監視対象の処理フロー情報は、前記第1の処理工程と前記第2の処理工程との間に他の処理工程を含む前記[1]に記載の処理フロー制御プログラム。 [2] The processing flow control program according to [1], wherein the processing flow information to be monitored by the control step includes another processing step between the first processing step and the second processing step. .

[3]前記制御ステップは、前記第1の処理工程に種別情報が付与されているとき、前記種別情報と同一性を有する種別情報が付与されている処理工程を含む処理フロー情報に前記監視対象を変更する前記[1]に記載の処理フロー制御プログラム。 [3] In the control step, when the type information is assigned to the first processing step, the monitoring target is added to the processing flow information including the processing step to which the type information having the same identity as the type information is assigned. The process flow control program according to [1], wherein the program is changed.

[4]前記制御ステップは、前記処理手段に処理開始を指示してから所定の時間が経過したとき、前記監視対象を変更する前記[1]に記載の処理フロー制御プログラム。 [4] The processing flow control program according to [1], wherein the control step changes the monitoring target when a predetermined time has elapsed after instructing the processing means to start processing.

[5]前記制御ステップは、前記第2の処理工程においてエラーが発生したとき、前記監視対象を変更し、その変更した前記監視対象の処理フロー情報を継続若しくは中断し、又は指定された指示内容に基づいて実行する前記[1]に記載の処理フロー制御プログラム。 [5] In the control step, when an error occurs in the second processing step, the monitoring target is changed, the changed processing flow information of the monitoring target is continued or interrupted, or designated instruction content The processing flow control program according to [1], which is executed based on the above.

[6]複数の処理フロー情報を並行処理し得る処理手段から前記処理フロー情報に含まれる複数の処理工程の処理状態を取得する取得手段と、前記複数の処理フロー情報から所定の順序で監視対象を選択し、前記取得手段により取得された前記処理状態が当該監視対象の処理フロー情報に含まれる第1の処理工程において停止状態であるとき、前記処理手段に処理開始を指示するとともに、前記第1の処理工程より工程順が後の第2の処理工程において前記取得手段により取得された前記処理状態が所定の処理状態となったとき、前記所定の順序で次の処理フロー情報に前記監視対象を変更する制御を行う制御手段とを備えた処理フロー制御装置。 [6] An acquisition unit that acquires processing states of a plurality of processing steps included in the processing flow information from a processing unit that can process a plurality of processing flow information in parallel, and a monitoring target in a predetermined order from the plurality of processing flow information And when the processing state acquired by the acquisition unit is a stopped state in the first processing step included in the monitored processing flow information, the processing unit is instructed to start processing, and When the processing state acquired by the acquisition unit in a second processing step after the processing step of one processing step becomes a predetermined processing state, the monitoring target is added to the next processing flow information in the predetermined order. A processing flow control device comprising control means for performing control to change the value.

[7]複数の処理フロー情報を並行処理し得る処理手段と、前記処理手段から前記処理フロー情報に含まれる複数の処理工程の処理状態を取得する取得手段と、前記複数の処理フロー情報から所定の順序で監視対象を選択し、前記取得手段により取得された前記処理状態が当該監視対象の処理フロー情報に含まれる第1の処理工程において停止状態であるとき、前記処理手段に処理開始を指示するとともに、前記第1の処理工程より工程順が後の第2の処理工程において前記取得手段により取得された前記処理状態が所定の処理状態となったとき、前記所定の順序で次の処理フロー情報に前記監視対象を変更する制御を行う制御手段とを備えたデータ処理システム。 [7] Processing means capable of processing a plurality of processing flow information in parallel, acquisition means for acquiring processing states of a plurality of processing steps included in the processing flow information from the processing means, and predetermined from the plurality of processing flow information And when the processing state acquired by the acquisition unit is in a stopped state in the first processing step included in the processing flow information of the monitoring target, the processing unit is instructed to start processing. In addition, when the processing state acquired by the acquisition unit in the second processing step subsequent to the first processing step becomes a predetermined processing state, the next processing flow is performed in the predetermined order. A data processing system comprising control means for performing control to change the monitoring target to information.

請求項1、6、7に係る発明によれば、並列処理される複数の処理フロー情報間で、各処理フロー情報に含まれる第1の処理工程より後であって第2の処理工程までに含まれる処理工程を所望の順序で処理することができる。
According to the first, sixth, and seventh aspects of the present invention, between the plurality of pieces of processing flow information that are processed in parallel, the second processing step is performed after the first processing step included in each processing flow information. The included processing steps can be processed in the desired order.

請求項2に係る発明によれば、並列処理される複数の処理フロー情報間で、各処理フロー情報に含まれる第1の処理工程より後であって第2の処理工程までに含まれる連続する複数の処理工程を所望の順序で処理することができる。   According to the second aspect of the present invention, a plurality of pieces of processing flow information that are processed in parallel are continuously included after the first processing step included in each processing flow information and before the second processing step. Multiple processing steps can be processed in a desired order.

請求項3に係る発明によれば、監視対象の処理フロー情報を、種別情報が同一性を有する処理工程に限定することができる。   According to the third aspect of the present invention, the process flow information to be monitored can be limited to the process steps whose type information is the same.

請求項4に係る発明によれば、監視対象の処理フロー情報において所定の時間が経過しても所定の処理状態にならない場合でも、監視対象の処理フローを変更して、デッドロックを回避することができる。   According to the fourth aspect of the present invention, even when a predetermined time has not elapsed in the monitoring target process flow information, the monitoring target process flow is changed to avoid deadlock. Can do.

請求項5に係る発明によれば、監視対象の処理フロー情報でエラーが発生した際に、その後の処理フロー情報による処理を制御することができる。   According to the fifth aspect of the present invention, when an error occurs in the process flow information to be monitored, the subsequent process according to the process flow information can be controlled.

[第1の実施の形態]
図1は、本発明の第1の実施の形態に係るワークフローシステムの概略構成の一例を示すブロック図である。このワークフローシステム(データ処理システム)1は、文書データに対してワークフローを指定したジョブの実行を指示する端末装置2と、ジョブの実行指示を受けて、文書データに対してワークフローに定められたプロセス(処理工程)を所定の順序で実行するように制御するジョブ制御装置(処理フロー制御装置)3と、プロセスの一種である印刷処理を行う処理行手段としての印刷装置4と、これら端末装置2、ジョブ制御装置3、印刷装置4を相互に接続するネットワーク10とから構成されている。
[First Embodiment]
FIG. 1 is a block diagram showing an example of a schematic configuration of a workflow system according to the first embodiment of the present invention. The workflow system (data processing system) 1 includes a terminal device 2 that instructs execution of a job that designates a workflow for document data, and a process defined in the workflow for document data in response to the job execution instruction. A job control device (processing flow control device) 3 that controls to execute (processing steps) in a predetermined order, a printing device 4 as processing line means for performing printing processing, which is a kind of process, and these terminal devices 2 , The job control apparatus 3 and the printing apparatus 4 are connected to each other.

「ワークフロー」とは、入力される文書データを処理する流れを意味し、複数のプロセスを所定の順序で実行するように定められている。なお、処理フローは、ワークフローに限られない。文書データには、文書、写真、図表、イラスト等のデータが含まれる。   “Workflow” means a flow of processing input document data, and is defined to execute a plurality of processes in a predetermined order. Note that the processing flow is not limited to a workflow. The document data includes data such as documents, photographs, diagrams, and illustrations.

各プロセスは、前段のプロセスからデータが入力され、その入力されたデータに対してプロセスの種類に応じた固有の処理を施し、その処理結果である出力データを後段のプロセスに出力する。ワークフローにおける先頭のプロセスには、処理対象の文書データが入力される。   Each process receives data from the preceding process, performs a specific process corresponding to the type of process on the input data, and outputs output data as a processing result to the subsequent process. Document data to be processed is input to the first process in the workflow.

また、「ジョブ」とは、処理対象の文書データをワークフローに入力することにより、その文書データに対してワークフローに定められた複数のプロセスを所定の順序で実行する処理フロー情報をいう。ジョブ制御装置3は、処理対象の複数の文書データがワークフローにそれぞれ入力された複数のジョブを処理フロー情報として管理し、それら複数のジョブの実行を自動化又は半自動化する。   The “job” refers to processing flow information for executing a plurality of processes defined in the workflow on the document data in a predetermined order by inputting the document data to be processed into the workflow. The job control apparatus 3 manages, as processing flow information, a plurality of jobs in which a plurality of document data to be processed are input to the workflow, and automates or semi-automates the execution of the plurality of jobs.

ネットワーク10は、有線通信(電気ケーブル、光ケーブル等)、及び無線通信(電波、赤外線等)等によりデータの送受信を行うLAN(ローカルエリアネットワーク)、インターネット等の通信網である。なお、図1では、端末装置2及び印刷装置4はそれぞれ1台であるが、2台以上であってもよい。   The network 10 is a communication network such as a LAN (local area network) that transmits and receives data by wired communication (electric cable, optical cable, etc.), wireless communication (radio waves, infrared rays, etc.), and the like. In FIG. 1, each of the terminal device 2 and the printing device 4 is one, but may be two or more.

(端末装置)
端末装置2は、この端末装置2の各部を制御する、例えば、CPU等により実現される制御部と、ジョブ実行指示プログラム等のプログラムやデータ等を記憶する、例えば、ROM,RAM,ハードディスク等により実現される記憶部と、ネットワーク10に接続された、例えば、ネットワークインタフェースカード等により実現される通信部と、データ入力の操作を受け付ける、例えば、キーボード、マウス等により実現される入力部と、各種の画面等を表示する、例えば、液晶ディスプレイ等により実現される表示部とから構成されている。
(Terminal device)
The terminal device 2 controls each unit of the terminal device 2, for example, stores a control unit realized by a CPU or the like, and a program or data such as a job execution instruction program, for example, by a ROM, a RAM, a hard disk, or the like A storage unit implemented, a communication unit implemented by, for example, a network interface card connected to the network 10, an input unit that accepts data input operations, for example, a keyboard, a mouse, etc. For example, a display unit realized by a liquid crystal display or the like.

このような端末装置2は、例えば、コンピュータ、携帯情報端末(PDA)、携帯電話等により構成することができる。   Such a terminal device 2 can be composed of, for example, a computer, a personal digital assistant (PDA), a mobile phone, or the like.

端末装置2の制御部は、ジョブ実行指示プログラムに従って動作することにより、プロセスを定義するプロセス定義情報と、ワークフローを定義するワークフロー定義情報とをジョブ制御装置3に送信するとともに、文書データに対するワークフローの指定を受け付けて、ジョブ指定情報をジョブ制御装置3に送信する。   The control unit of the terminal device 2 operates according to the job execution instruction program, thereby transmitting process definition information that defines a process and workflow definition information that defines a workflow to the job control device 3, and at the same time the workflow for document data The designation is accepted, and job designation information is transmitted to the job control device 3.

(印刷装置)
印刷装置4は、印刷装置4の各部を制御する、例えば、CPU等により実現される制御部と、制御プログラムのプログラムやデータ等を記憶する、例えば、ROM,RAM,ハードディスク等により実現される記憶部と、印刷データに基づき紙等の印刷媒体に可視像を形成した印刷物を出力する印刷部と、ネットワーク10に接続された、例えば、ネットワークインタフェースカードにより実現される通信部とから構成されている。
(Printer)
The printing device 4 controls each unit of the printing device 4, for example, a control unit realized by a CPU or the like, and stores a program or data of a control program, for example, a memory realized by a ROM, a RAM, a hard disk, or the like. A printing unit that outputs a printed matter in which a visible image is formed on a printing medium such as paper based on print data, and a communication unit that is connected to the network 10 and is realized by a network interface card, for example. Yes.

印刷部は、例えば、電子写真方式、インクジェット方式、感熱転写方式等の各種の画像形成方式を用いることができる。   For the printing unit, for example, various image forming methods such as an electrophotographic method, an ink jet method, and a thermal transfer method can be used.

(ジョブ制御装置)
ジョブ制御装置3は、ジョブ制御装置3の各部を制御する、例えば、CPU等により実現される制御部30と、各種のプログラムやデータを記憶する、例えば、ROM,RAM,ハードディスク等により実現される記憶部31と、ネットワーク10に接続されてデータの送受信を行う、例えば、ネットワークインタフェースカード等により実現される通信部32と、プリフライトプロセスを実行するプリフライト処理部33と、面付けプロセスを実行する面付け処理部34とから構成されている。
(Job control device)
The job control device 3 controls each unit of the job control device 3, for example, a control unit 30 realized by a CPU or the like, and stores various programs and data, for example, a ROM, a RAM, a hard disk, or the like. A storage unit 31 is connected to the network 10 to transmit and receive data. For example, a communication unit 32 realized by a network interface card, a preflight processing unit 33 that executes a preflight process, and an imposition process are executed. And an imposition processing unit 34.

ここで、「プリフライトプロセス」とは、文書データの妥当性を事前に検証するプロセスをいう。また、「面付けプロセス」とは、印刷された印刷用紙に対して紙折り、綴じ等の処理が行われたときにその処理後の印刷用紙がページ順に並ぶように、印刷用紙の分割領域に印刷するページを割り付けるプロセスをいう。なお、プリフライト処理部33及び面付け処理部34は、処理手段を構成する。   Here, the “preflight process” refers to a process for verifying the validity of document data in advance. In addition, the “imposition process” refers to a print paper divided region so that when the printed print paper is subjected to paper folding, binding, etc., the processed print paper is arranged in page order. The process of allocating pages for printing. The preflight processing unit 33 and the imposition processing unit 34 constitute processing means.

このようなジョブ制御装置3は、例えば、コンピュータ、サーバ、ワークステーション(WS)等により構成することができる。   Such a job control device 3 can be constituted by, for example, a computer, a server, a workstation (WS), or the like.

記憶部31には、本発明の処理フロー制御プログラムを適用したジョブ制御プログラム310、プロセス管理テーブル311、ワークフロー管理テーブル312A及びジョブ管理テーブル313等が記憶されている。   The storage unit 31 stores a job control program 310 to which the processing flow control program of the present invention is applied, a process management table 311, a workflow management table 312A, a job management table 313, and the like.

制御部30は、ジョブ制御プログラム310に従って動作することにより、ワークフローを構成する複数のプロセス及びそれらのプロセスの処理順序をワークフロー管理テーブル312Aに設定する設定手段300、複数の文書データがそれぞれ入力されるワークフローをジョブとしてジョブ管理テーブル313に登録するジョブ登録手段301、及びジョブ管理テーブル313に登録された複数のジョブの実行を制御するジョブ制御手段302等として機能する。   The control unit 30 operates in accordance with the job control program 310 to input a plurality of processes constituting the workflow and setting means 300 for setting the processing order of those processes in the workflow management table 312A and a plurality of document data. It functions as a job registration unit 301 that registers a workflow as a job in the job management table 313, a job control unit 302 that controls the execution of a plurality of jobs registered in the job management table 313, and the like.

設定手段300は、ワークフローを構成する複数のプロセスにおいてユーザにより指示された位置に、後続のプロセスが排他的プロセス(第2の処理工程)であることを示すレビュープロセス(第1の処理工程)を追加する。レビュープロセスは、ジョブ制御手段302により一時停止状態とされるプロセスであり、実体的な処理を含んでいてもよいし、含まなくてもよい。   The setting unit 300 performs a review process (first processing step) indicating that the subsequent process is an exclusive process (second processing step) at a position designated by the user in a plurality of processes constituting the workflow. to add. The review process is a process that is suspended by the job control unit 302 and may or may not include substantial processing.

ここで、「排他的プロセス」とは、ワークフローを構成する複数のプロセスのうち、他のワークフローに含まれるプロセスとの間で並行して実行されないプロセスである。また、複数のワークフローに含まれる複数の排他的プロセスは、複数のデータが各ワークフローにそれぞれ入力された入力順序に従って実行される。   Here, the “exclusive process” is a process that is not executed in parallel with a process included in another workflow among a plurality of processes constituting the workflow. In addition, a plurality of exclusive processes included in a plurality of workflows are executed in accordance with an input order in which a plurality of data is input to each workflow.

図2(a)は、プロセス管理テーブルの一例を示す図である。このプロセス管理テーブル311には、プロセスIDをキーにして、端末装置2から送信されたプロセス定義情報に基づくプロセス名及びプロセス固有パラメータ等が記録されている。   FIG. 2A is a diagram illustrating an example of a process management table. In the process management table 311, process names and process specific parameters based on the process definition information transmitted from the terminal device 2 are recorded using the process ID as a key.

プロセス固有パラメータは、各プロセスを実行する際に指定が必要なパラメータである。プロセス固有パラメータは、例えば、プリフライトプロセスではフォントやカラーモード等の検証条件であり、面付けプロセスでは面付け数や綴じ位置等の面付け条件、印刷プロセスでは画質や用紙サイズ等の印刷条件、保存プロセスでは保存先フォルダ等である。   The process-specific parameter is a parameter that needs to be specified when executing each process. Process-specific parameters are, for example, verification conditions such as font and color mode in the preflight process, imposition conditions such as imposition number and binding position in the imposition process, printing conditions such as image quality and paper size in the printing process, In the saving process, it is a saving destination folder or the like.

図2(b)は、ワークフロー管理テーブルの一例を示す図である。このワークフロー管理テーブル312Aには、ワークフローIDをキーにして、端末装置2から送信されたワークフロー定義情報に基づくワークフロー名及びプロセス情報リスト等が記録されている。   FIG. 2B is a diagram illustrating an example of a workflow management table. In the workflow management table 312A, a workflow name, a process information list, and the like based on the workflow definition information transmitted from the terminal device 2 are recorded using the workflow ID as a key.

プロセス情報リストは、プリフライトプロセス、面付けプロセス、印刷プロセス及び保存プロセス等のプロセスが、プロセス管理テーブル311に記録されているプロセス名を用いて、ユーザにより指示された処理順序に従って配列されている。   In the process information list, processes such as a preflight process, an imposition process, a printing process, and a storage process are arranged in accordance with a processing order instructed by a user using process names recorded in the process management table 311. .

図2(c)は、レビュープロセスを追加したワークフローが記録されたワークフロー管理テーブルの一例を示す図である。このワークフロー管理テーブル312Aには、図2(b)に記録されたワークフローID「WF1」、「「WF2」に対応するプロセス情報リストに対して、設定手段300により印刷プロセスの1つ前にレビュープロセスがそれぞれ追加されている。従って、それら追加されたレビュープロセスに後続する印刷プロセスが、ワークフロー「WF1」、「「WF2」における排他的プロセスである。   FIG. 2C is a diagram illustrating an example of a workflow management table in which a workflow to which a review process is added is recorded. In the workflow management table 312A, the setting unit 300 reviews the process information list corresponding to the workflow IDs “WF1” and “WF2” recorded in FIG. Has been added. Therefore, the printing process subsequent to the added review process is an exclusive process in the workflows “WF1” and “WF2”.

なお、排他的プロセスは、印刷プロセスに限られず、他のプロセスに設定されてもよい。また、レビュープロセスは、後続のプロセスが排他的プロセスであることを示す他に、例えば、ユーザに承認や確認を促すために、処理中の一時データを表示するような処理を伴っていてもよい。また、ワークフローの登録後でも、ワークフロー名及びプロセス情報リストは編集可能であってもよい。   The exclusive process is not limited to the printing process, and may be set to another process. In addition to indicating that the subsequent process is an exclusive process, the review process may be accompanied by a process of displaying temporary data being processed in order to prompt the user to approve or confirm, for example. . Even after registration of a workflow, the workflow name and the process information list may be editable.

図3(a)は、ジョブ指定情報の一例を示す図である。このジョブ指定情報11は、端末装置2から送信される情報であり、ジョブを識別するジョブ名と、ワークフロー管理テーブルに記録されているワークフローをワークフローIDにより特定する処理ワークフローIDと、処理対象のデータである入力データとからなる。図3(a)の例では、5つの文書データに対して、各文書データを入力するワークフローがそれぞれ指定されたものである。なお、ジョブ名は、ジョブ制御装置3により付加されてもよい。   FIG. 3A illustrates an example of job designation information. The job designation information 11 is information transmitted from the terminal device 2, and includes a job name for identifying the job, a processing workflow ID for identifying the workflow recorded in the workflow management table by the workflow ID, and data to be processed. Input data. In the example of FIG. 3A, the workflow for inputting each document data is designated for five document data. The job name may be added by the job control device 3.

図3(b)は、ジョブ管理テーブルの一例を示す図である。このジョブ管理テーブル313は、ジョブID100をキーにして、上記のジョブ指定情報11に基づくジョブ名、処理ワークフローID110及び入力データと、ジョブの処理状況に応じて随時更新されるジョブ処理情報12を示すジョブステータス、処理プロセスID及び処理中一時データ等が記録されている。   FIG. 3B is a diagram illustrating an example of the job management table. The job management table 313 shows job name based on the job designation information 11, processing workflow ID 110 and input data, and job processing information 12 updated as needed according to the job processing status using the job ID 100 as a key. The job status, processing process ID, temporary data during processing, and the like are recorded.

(第1の実施の形態の動作)
次に、本発明の第1の実施の形態に係るワークフローシステム1の動作の一例を図2〜図6を参照して説明する。
(Operation of the first embodiment)
Next, an example of the operation of the workflow system 1 according to the first embodiment of the present invention will be described with reference to FIGS.

(1)排他的プロセスの設定
まず、端末装置2は、ユーザからの操作に応じて、ワークフローを登録する登録画面を表示する。ユーザは、その登録画面を介してワークフロー名及びワークフローを構成する複数のプロセスの処理順序を端末装置2に指示する。
(1) Setting of exclusive process First, the terminal device 2 displays a registration screen for registering a workflow in response to an operation from the user. The user instructs the terminal device 2 through the registration screen to specify the workflow name and the processing order of a plurality of processes constituting the workflow.

次に、端末装置2は、その指示された内容に基づいて、ワークフロー名と、複数のプロセスを指示された処理順序で配列したプロセス情報リストとからなるワークフロー定義情報を作成し、ジョブ制御装置3にネットワーク10を介してそのワークフロー定義情報を送信する。   Next, based on the instructed content, the terminal device 2 creates workflow definition information including a workflow name and a process information list in which a plurality of processes are arranged in the instructed processing order, and the job control device 3 The workflow definition information is transmitted to the network 10 via the network 10.

そして、ジョブ制御装置3の設定手段300は、そのワークフロー定義情報を通信部32を介して受け付けると、新たなワークフローIDを発行する。設定手段300は、ワークフロー管理テーブル312Aにその発行したワークフローIDを付加した新たなレコードを追加するとともに、その新たなレコードに、受け付けたワークフロー定義情報に含まれるワークフロー名及びプロセス情報リストを登録する。   When the setting unit 300 of the job control apparatus 3 receives the workflow definition information via the communication unit 32, the setting unit 300 issues a new workflow ID. The setting unit 300 adds a new record with the issued workflow ID added to the workflow management table 312A, and registers the workflow name and process information list included in the accepted workflow definition information in the new record.

次に、ユーザは、ワークフロー管理テーブル312Aに登録したプロセス情報リストに含まれる複数のプロセスのうち、排他的プロセスとして実行したいプロセス、ここでは印刷プロセスの1つ前にレビュープロセスを配置するように指示すると、端末装置2は、その指示情報をジョブ制御装置3に送信する。   Next, the user instructs to place a review process in front of a process that is to be executed as an exclusive process among a plurality of processes included in the process information list registered in the workflow management table 312A, in this case, the print process. Then, the terminal device 2 transmits the instruction information to the job control device 3.

そして、ジョブ制御装置3の設定手段300は、その指示情報を受け付けると、ワークフロー管理テーブル312Aのプロセス情報リストにおいて、指示された印刷プロセスの1つ前にレビュープロセスを追加する。   When the setting unit 300 of the job control apparatus 3 receives the instruction information, the setting unit 300 adds a review process immediately before the instructed printing process in the process information list of the workflow management table 312A.

上記のようにして、設定手段300は、図2(c)に例示するように、レビュープロセスを印刷プロセスの前に追加した複数のワークフローをワークフロー管理テーブル312Aに登録する。なお、ワークフロー定義情報は、レビュープロセスが含まれた状態で作成されていてもよい。   As described above, the setting unit 300 registers a plurality of workflows in which the review process is added before the printing process in the workflow management table 312A as illustrated in FIG. 2C. The workflow definition information may be created with a review process included.

(2)ジョブの登録
ユーザが、例えば、端末装置2の記憶部に記憶されている複数の文書データを入力するワークフローをワークフローIDにより指定するとともに、それらのジョブ名を入力すると、端末装置2は、その指定を受け付けて、ジョブ指定情報を作成し、そのジョブ指定情報をジョブ制御装置3に送信する。なお、複数の文書データを1つのワークフローに入力するように指定してもよいし、異なるワークフローにそれぞれ入力するように指定してもよい。
(2) Job registration When the user specifies, for example, a workflow ID for inputting a plurality of document data stored in the storage unit of the terminal device 2 by the workflow ID and inputs the job name, the terminal device 2 The designation is accepted, job designation information is created, and the job designation information is transmitted to the job control apparatus 3. Note that a plurality of document data may be specified to be input to one workflow, or may be specified to be input to different workflows.

次に、ジョブ制御装置3のジョブ登録手段301は、そのジョブ指定情報を受け付けると、文書データをワークフローに入力した入力順序となるように新たなジョブID100を発行し、そのジョブIDとともにジョブ指定情報に基づくジョブ名、処理ワークフローID110及び入力データをジョブ管理テーブル313に新たなレコードとして登録する。   Next, when accepting the job designation information, the job registration unit 301 of the job control device 3 issues a new job ID 100 so that the input order of the document data is input to the workflow, and the job designation information together with the job ID. The job name, the processing workflow ID 110 and the input data based on are registered in the job management table 313 as a new record.

例えば、ユーザAが、1冊の本を構成する4つの文書データ、「表紙.pdf」、「第1章.pdf」〜「第3章.pdf」を順に登録し、その「第1章.pdf」と「第2章.pdf」との間に、別のユーザBが「参考文献.pdf」を登録した場合、ジョブ管理テーブル313には、図3(b)に例示するように、文書データの入力順序で新たなジョブID「JOB1」〜「JOB5」が付加された5つのレコードが新たに登録される。すなわち、「第1章.pdf」と「第2章.pdf」との間には、「参考文献.pdf」に対応するレコードが登録される。なお、ユーザAは、文書データ「表紙.pdf」、「第2章.pdf」をワークフロー「WF2」に、文書データ「第1章.pdf」、「第3章.pdf」をワークフロー「WF1」にそれぞれ入力するように指定し、ユーザBは、文書データ「参考文献.pdf」をワークフロー「WF3」に入力するように指定したものである。   For example, the user A registers four document data constituting one book, “cover.pdf”, “Chapter 1.pdf” to “Chapter 3.pdf” in order, and the “Chapter 1. When another user B registers “reference document.pdf” between “pdf” and “Chapter 2.pdf”, the job management table 313 stores the document as illustrated in FIG. Five records to which new job IDs “JOB1” to “JOB5” are added in the data input order are newly registered. That is, a record corresponding to “reference document.pdf” is registered between “Chapter 1.pdf” and “Chapter 2.pdf”. The user A adds the document data “Cover.pdf” and “Chapter 2.pdf” to the workflow “WF2”, and the document data “Chapter 1.pdf” and “Chapter 3.pdf” to the workflow “WF1”. The user B specifies that the document data “reference document.pdf” is input to the workflow “WF3”.

(3)ジョブの実行制御
次に、ジョブ制御装置3においてジョブの実行を制御する動作の一例を図4のフローチャートに従って説明する。
(3) Job Execution Control Next, an example of an operation for controlling job execution in the job control apparatus 3 will be described with reference to the flowchart of FIG.

ジョブ制御装置3のジョブ制御手段302は、ジョブ管理テーブル313にジョブ「JOB1」〜「JOB5」が登録されると、登録されたジョブ「JOB1」〜「JOB5」において指定されたワークフローのプロセス情報リストにレビュープロセスが含まれているか否かを判定する(S1)。   When the jobs “JOB1” to “JOB5” are registered in the job management table 313, the job control unit 302 of the job control apparatus 3 processes the workflow process information list specified in the registered jobs “JOB1” to “JOB5”. It is determined whether a review process is included in (S1).

次に、ジョブ制御手段302は、いずれかのジョブのプロセス情報リストにレビュープロセスが含まれていると判定した場合には(S1:Yes)、そのレビュープロセスが含まれているジョブからなる制御対象ジョブリストを作成する(S2)。例えば、図3(b)のジョブ管理テーブル313から作成される制御対象ジョブリストは、「JOB1」、「JOB2」、「JOB4」、「JOB5」の4つのジョブからなる。   Next, when it is determined that the review process is included in the process information list of any job (S1: Yes), the job control unit 302 is a control target including a job including the review process. A job list is created (S2). For example, the control target job list created from the job management table 313 in FIG. 3B includes four jobs “JOB1”, “JOB2”, “JOB4”, and “JOB5”.

次に、ジョブ制御手段302は、その制御対象ジョブリストに含まれているジョブの中で入力順序が最も早いジョブ、すなわち、ジョブ「JOB1」を監視対象のジョブとする(S3)。   Next, the job control unit 302 sets the job having the earliest input order among the jobs included in the control target job list, that is, the job “JOB1” as the monitoring target job (S3).

そして、ジョブ制御手段302は、作成された制御対象ジョブリストに含まれるジョブがジョブ管理テーブル313に登録された登録順序、すなわち、文書データがワークフローに入力された入力順序に従って、レビュープロセスに後続する排他的プロセスが実行されるように、各ジョブの実行制御を行うる(S10)。   Then, the job control unit 302 follows the review process according to the registration order in which jobs included in the created control target job list are registered in the job management table 313, that is, the input order in which the document data is input to the workflow. Execution control of each job is performed so that the exclusive process is executed (S10).

一方、ジョブ制御手段302は、いずれのプロセス情報リストにもレビュープロセスが含まれていないと判定した場合には(S1:No)、排他的プロセスの実行制御を行うことなく、各ジョブの実行制御を行う(S11)。   On the other hand, if the job control unit 302 determines that no review process is included in any of the process information lists (S1: No), the execution control of each job is performed without performing the exclusive process execution control. (S11).

図5は、上記ステップS10における実行制御の詳細な動作の一例を示すフローチャートである。ジョブ制御手段302は、図5に示すフローチャートを各ジョブにそれぞれ適用することにより並列処理を行う。また、図6は、ジョブ制御手段302による実行制御が行われた結果、複数のジョブの各プロセスが実行される実行状態の一例を示すタイミングチャートである。   FIG. 5 is a flowchart showing an example of detailed operation of the execution control in step S10. The job control unit 302 performs parallel processing by applying the flowchart shown in FIG. 5 to each job. FIG. 6 is a timing chart illustrating an example of an execution state in which each process of a plurality of jobs is executed as a result of execution control performed by the job control unit 302.

まず、ジョブ制御手段302は、各ジョブのプロセス情報リストから先頭のプロセス情報を取得し(S101)、そのプロセス情報がレビュープロセスを示すか否かを判定する(S102)。ジョブ制御手段302は、その結果レビュープロセスでないと判定した場合には(S102:No)、そのプロセスに対して文書データを入力し、処理開始を順次指示する(S110)   First, the job control unit 302 acquires the first process information from the process information list of each job (S101), and determines whether the process information indicates a review process (S102). If the job control unit 302 determines that the process is not a review process (S102: No), the job control unit 302 inputs document data to the process and sequentially instructs the process to start (S110).

例えば、ジョブ「JOB1」においては、ジョブ制御手段302は、先頭のプロセスはプリフライトプロセスであるため、レビュープロセスではないと判定し(S102:No)、プリフライト処理部33に文書データ「表紙.pdf」を入力して処理開始を指示し(S110)、その指示を受けたプリフライト処理部33は、「表紙.pdf」に対してプリフライトプロセスを実行する。   For example, in the job “JOB1”, the job control unit 302 determines that the top process is a preflight process and is not a review process (S102: No), and the preflight processing unit 33 receives document data “cover. "pdf" is input to instruct the start of processing (S110), and the preflight processing unit 33 that has received the instruction executes a preflight process for "cover.pdf".

そして、ジョブ制御手段302は、ジョブ管理テーブル313のジョブステータスを「処理中」に、処理プロセスIDを「P1」にそれぞれ更新する。その後、ジョブ制御手段302は、プリフライト処理部33から処理の完了通知を受け取ると(S111)、そのプリフライプロセスが、プロセス情報リストにおいて最後のプロセスであるか否かを判定する(S130)。ここでは、ジョブ制御手段302は、最後のプロセスではないと判定し(S130:No)、次のプロセス情報として面付けプロセスを取得し(S101)、その面付けプロセスを実行する面付け処理部34に対して処理開始を指示し(S110)、処理プロセスIDを「P2」に更新する。   Then, the job control unit 302 updates the job status in the job management table 313 to “processing” and the processing process ID to “P1”. Thereafter, when the job control unit 302 receives a process completion notification from the preflight processing unit 33 (S111), the job control unit 302 determines whether or not the prefly process is the last process in the process information list (S130). Here, the job control unit 302 determines that the process is not the last process (S130: No), acquires the imposition process as the next process information (S101), and executes the imposition process unit 34 that executes the imposition process. Is instructed to start processing (S110), and the processing process ID is updated to "P2".

上記のジョブ「JOB1」におけるプロセスを実行するのと並列的に、ジョブ制御手段302は、ジョブ「JOB2」〜「JOB5」に対しても、図5のフローチャートを適用する。すなわち、ジョブ「JOB2」、「JOB5」においては、先頭のプロセスはレビュープロセスであるため(S102:Yes)、ジョブ制御手段302は、ジョブ「JOB2」、「JOB5」の処理状態を一時停止状態とし(S120)、ジョブ「JOB2」、「JOB5」が監視対象のジョブであるか否かを判定する(S121)。ここでの監視対象のジョブは、ジョブ「JOB1」であるため(S121:No)、レビュープロセスに後続するプロセスは、他のジョブの処理待ちとし(S140)、ジョブ「JOB2」、「JOB5」のジョブステータスを「処理待ち」に更新する。   In parallel with executing the process in the job “JOB1”, the job control unit 302 applies the flowchart of FIG. 5 to the jobs “JOB2” to “JOB5”. In other words, in the jobs “JOB2” and “JOB5”, the first process is the review process (S102: Yes), so the job control unit 302 sets the processing state of the jobs “JOB2” and “JOB5” to the suspended state. (S120), it is determined whether the jobs “JOB2” and “JOB5” are jobs to be monitored (S121). Since the job to be monitored here is job “JOB1” (S121: No), the process following the review process waits for processing of another job (S140), and the jobs “JOB2” and “JOB5” Update the job status to "Waiting for processing".

また、ジョブ「JOB3」の先頭のプロセスは印刷プロセスであるため(S102:No)、ジョブ制御手段302は、印刷装置4に文書データを送信するとともに処理開始を指示し(S110)、印刷装置4は、その文書データに基づいて印刷処理を実行する。ジョブ制御手段302は、印刷装置4から印刷処理の完了通知を受け取ると(S111)、プロセス情報を順次取得して(S101)、プリフライトプロセス、面付けプロセスの順に処理開始を指示する(S110)。   Since the head process of the job “JOB3” is the printing process (S102: No), the job control unit 302 transmits the document data to the printing apparatus 4 and instructs the start of processing (S110). Performs a printing process based on the document data. Upon receiving a print processing completion notification from the printing apparatus 4 (S111), the job control unit 302 sequentially acquires process information (S101), and instructs the start of processing in the order of the preflight process and the imposition process (S110). .

その後、ジョブ「JOB1」における面付けプロセスが完了すると、ジョブ制御手段302は、面付けプロセスに後続するプロセス情報を取得し(S101)、そのプロセス情報はレビュープロセスであるため(S102:Yes)、「JOB1」の処理状態を一時停止状態とする(S120)。そして、ジョブ制御手段302は、ジョブ「JOB1」が監視対象であるか否かを判定するが(S121)、ここでは監視対象のジョブと判定し(S121:Yes)、排他的プロセスであってレビュープロセスに後続する印刷プロセスを実行するため、印刷装置4にジョブ「JOB1」における印刷プロセスの処理開始を指示する(S122)。   Thereafter, when the imposition process in the job “JOB1” is completed, the job control unit 302 acquires process information subsequent to the imposition process (S101), and since the process information is a review process (S102: Yes), The processing state of “JOB1” is set to a temporary stop state (S120). The job control unit 302 determines whether or not the job “JOB1” is a monitoring target (S121). Here, the job control unit 302 determines that the job is a monitoring target job (S121: Yes), and is an exclusive process and a review. In order to execute a printing process subsequent to the process, the printing apparatus 4 is instructed to start processing of the printing process in the job “JOB1” (S122).

次に、ジョブ制御手段302は、その指示した印刷プロセスの完了通知を印刷装置4から受け取ると(S123)、制御対象ジョブリストからジョブ「JOB1」を削除する(S124)。   Next, when the job control unit 302 receives a notification of completion of the instructed printing process from the printing apparatus 4 (S123), the job control unit 302 deletes the job “JOB1” from the control target job list (S124).

次に、ジョブ制御手段302は、ジョブ「JOB1」を削除した制御対象ジョブリストの中で入力順序が最も早いジョブを検索し、その結果抽出したジョブ「JOB2」を監視対象のジョブに変更する(S125)。   Next, the job control unit 302 searches for the job with the earliest input order in the control target job list from which the job “JOB1” has been deleted, and changes the job “JOB2” extracted as a result to the job to be monitored ( S125).

このとき、ジョブ管理テーブル313においてジョブ「JOB2」のジョブステータスは「処理待ち」と記録されており、ジョブ「JOB2」に適用した図5のフローチャートでは、上記ステップS140にて処理待ちとなっている。ジョブ制御手段302は、ジョブ「JOB2」に監視対象のジョブを変更したことにより、上記ステップS121にてジョブ「JOB2」は監視対象のジョブであると判定し(S121:Yes)、ジョブ「JOB2」のレビュープロセスに後続する印刷プロセスを実行するため、印刷装置4にジョブ「JOB2」における印刷プロセスの処理開始を指示する(S122)。   At this time, the job status of the job “JOB2” is recorded as “processing waiting” in the job management table 313, and in the flowchart of FIG. 5 applied to the job “JOB2”, the processing is waiting in step S140. . The job control unit 302 determines that the job “JOB2” is the monitoring target job in step S121 by changing the monitoring target job to the job “JOB2” (S121: Yes), and the job “JOB2”. In order to execute the printing process subsequent to the review process, the printing apparatus 4 is instructed to start the printing process in the job “JOB2” (S122).

そして、ジョブ制御手段302は、ジョブ「JOB2」の印刷プロセスの完了通知を印刷装置4から受け取ると(S123)、制御対象ジョブリストからジョブ「JOB2」を削除し(S124)、その後は上記と同様にして、ジョブ「JOB4」、「JOB5」においてもレビュープロセスに後続する印刷プロセスが順に実行される。   When the job control unit 302 receives a print process completion notification of the job “JOB2” from the printing apparatus 4 (S123), the job control unit 302 deletes the job “JOB2” from the control target job list (S124), and thereafter the same as above. Thus, the print processes subsequent to the review process are also executed in order for the jobs “JOB4” and “JOB5”.

なお、図6では、ジョブ「JOB2」の印刷プロセスが、ジョブ「JOB4」の面付けプロセスより後に完了し、ジョブ「JOB4」のレビュープロセスにおいて処理待ちとなっているが、ジョブ「JOB2」の印刷プロセスが、ジョブ「JOB4」の面付けプロセスより先に完了した場合には、ジョブ「JOB4」のレビュープロセスでは処理待ちとはならずに続けてジョブ「JOB4」の印刷プロセスが実行される。   In FIG. 6, the printing process of job “JOB2” is completed after the imposition process of job “JOB4”, and is waiting for processing in the review process of job “JOB4”, but printing of job “JOB2” is performed. When the process is completed prior to the imposition process of job “JOB4”, the print process of job “JOB4” is executed without waiting for the processing in the review process of job “JOB4”.

以上のようにして、ジョブ「JOB1」〜「JOB5」は、並列的に実行されるとともに、ジョブ「JOB1」、「JOB2」、「JOB4」、「JOB5」における排他的プロセスである印刷プロセスは、入力順序に従って印刷装置4により実行されることとなり、印刷物は、「参考文献.pdf」、「表紙.pdf」、「第1章.pdf」、「第2章.pdf」、「第3章.pdf」の順に出力される。すなわち、印刷プロセスを排他的プロセスに設定することにより、ワークフローが適用された複数のジョブに含まれる印刷プロセスが、システムを大型化せずに1つの印刷装置4で順次実行される。   As described above, the jobs “JOB1” to “JOB5” are executed in parallel, and the printing processes that are exclusive processes in the jobs “JOB1”, “JOB2”, “JOB4”, and “JOB5” are: It is executed by the printing apparatus 4 in accordance with the input order, and the printed materials are “reference document.pdf”, “cover page.pdf”, “chapter 1.pdf”, “chapter 2.pdf”, “chapter 3.pdf”. are output in the order of “pdf”. That is, by setting the printing process as an exclusive process, the printing processes included in the plurality of jobs to which the workflow is applied are sequentially executed by one printing apparatus 4 without increasing the size of the system.

(適用例)
第1の実施の形態に係る適用例としては、上記の印刷順序を制御する場合の他に、以下の場合が挙げられる。
(Application example)
As an application example according to the first embodiment, in addition to the case of controlling the above printing order, the following cases can be cited.

例えば、第1及び第2のワークフローにおいて、第1のワークフローに含まれる第1のプロセスを実行し、その結果出力される結果データを、第2のワークフローに含まれる第2のプロセスに入力する場合に適用される。具体的には、第1のプロセスとしての保存プロセスにより保存先フォルダに保存されたデータに対して、第2のプロセスとしての印刷プロセスが印刷処理を実行するような場合である。この場合には、保存プロセス及び印刷プロセスが、排他的プロセスに設定される。   For example, when the first process included in the first workflow is executed in the first and second workflows, and the result data output as a result is input to the second process included in the second workflow. Applies to Specifically, this is a case where the printing process as the second process executes the printing process on the data saved in the saving destination folder by the saving process as the first process. In this case, the storage process and the printing process are set as exclusive processes.

[第2の実施の形態]
第1の実施の形態では、レビュープロセスに後続する1つのプロセスを排他的プロセスとして設定した。これに対し、第2の実施の形態に係るワークフローシステムは、所定の排他区間に含まれた連続する複数のプロセスを排他的プロセスとして設定するものである。
[Second Embodiment]
In the first embodiment, one process subsequent to the review process is set as an exclusive process. On the other hand, the workflow system according to the second embodiment sets a plurality of continuous processes included in a predetermined exclusive section as exclusive processes.

本実施の形態に係るジョブ制御装置3は、ワークフローに含まれるプロセスのうち、連続する複数のプロセスを排他的プロセスとして示す排他区間を設定する設定手段300、及び設定手段300により設定された排他区間に基づいて、複数のジョブの実行を制御するジョブ制御手段302を備え、その他の構成は、第1の実施の形態と同様である。   The job control apparatus 3 according to the present embodiment includes a setting unit 300 that sets an exclusive section indicating a plurality of consecutive processes as exclusive processes among processes included in a workflow, and an exclusive section set by the setting unit 300 Based on the above, job control means 302 for controlling the execution of a plurality of jobs is provided, and other configurations are the same as those in the first embodiment.

図7(a)は、ワークフロー管理テーブルの一例を示す図である。このワークフロー管理テーブル312Bにおけるプロセス情報リストには、複数のプロセスの実行順序とともに、排他区間の入口及び出口をそれぞれ定めるゲートイン属性13A、ゲートアウト属性13Bを有する2つのレビュープロセスが追加されている。   FIG. 7A illustrates an example of a workflow management table. In the process information list in the workflow management table 312B, two review processes having a gate-in attribute 13A and a gate-out attribute 13B that respectively define the entry and exit of the exclusive section are added together with the execution order of a plurality of processes.

すなわち、排他的プロセスは、ゲートイン属性13Aを有するレビュープロセス(ゲートイン)とゲートアウト属性13Bを有するレビュープロセス(ゲートアウト)とにより囲まれたプロセスである。ワークフロー「WF1」では、保存プロセス及び印刷プロセスの2つが該当し、ワークフロー「WF2」では、印刷プロセスが該当する。なお、本実施の形態では、レビュープロセス(ゲートアウト)の直前に配列されたプロセスが、第2の処理工程に該当する。また、排他区間に含まれる排他的プロセスの数は、3つ以上でもよい。   That is, the exclusive process is a process surrounded by a review process (gate-in) having the gate-in attribute 13A and a review process (gate-out) having the gate-out attribute 13B. The workflow “WF1” corresponds to the storage process and the print process, and the workflow “WF2” corresponds to the print process. In the present embodiment, the process arranged immediately before the review process (gate out) corresponds to the second processing step. Further, the number of exclusive processes included in the exclusive section may be three or more.

図7(b)は、排他区間が設定された複数のジョブの実行状態の一例を示すタイミングチャートである。図7(b)では、ジョブ登録手段301により、3つの文書データの各々を、ワークフロー「WF1」に入力したジョブ「JOB1」、ワークフロー「WF2」に入力したジョブ「JOB2」、ワークフロー「WF1」に入力したジョブ「JOB3」が登録され、それら3つのジョブがジョブ制御手段302の制御の下で並列的に実行される。   FIG. 7B is a timing chart illustrating an example of an execution state of a plurality of jobs in which an exclusive section is set. In FIG. 7B, the job registration unit 301 converts each of the three document data into the job “JOB1” input to the workflow “WF1”, the job “JOB2” input to the workflow “WF2”, and the workflow “WF1”. The input job “JOB3” is registered, and these three jobs are executed in parallel under the control of the job control unit 302.

まず、ジョブ制御手段302は、ジョブ「JOB1」〜「JOB3」からなる制御対象リストを作成する。次に、ジョブ制御手段302による処理開始の指示に基づき、ジョブ「JOB1」における保存プロセス、印刷プロセスが順に実行されるとともに、ジョブ「JOB2」におけるプリフライトプロセスが実行される。ジョブ「JOB2」のプリフライトプロセスが完了すると、後続するレビュープロセス(ゲートイン)において、ジョブ「JOB2」は、制御対象リストにおける入力順序が最も早いジョブではないため、処理待ちと判定される。また、ジョブ「JOB3」は、先頭のプロセスであるレビュープロセス(ゲートイン)において処理待ちと判定される。   First, the job control unit 302 creates a control target list including jobs “JOB1” to “JOB3”. Next, based on an instruction to start processing by the job control unit 302, a storage process and a print process in the job “JOB1” are sequentially executed, and a preflight process in the job “JOB2” is executed. When the preflight process of the job “JOB2” is completed, in the subsequent review process (gate-in), the job “JOB2” is not the job with the earliest input order in the control target list, and is determined to be waiting for processing. The job “JOB3” is determined to be waiting for processing in the review process (gate-in), which is the first process.

次に、ジョブ「JOB1」の印刷プロセスが完了すると、レビュープロセス(ゲートアウト)を通過することにより、制御対象リストからジョブ「JOB1」が削除される。その結果、ジョブ「JOB2」の処理待ちが解除され、ジョブ「JOB2」の印刷プロセスが実行される。   Next, when the printing process of the job “JOB1” is completed, the job “JOB1” is deleted from the control target list by passing through the review process (gate-out). As a result, the process waiting for the job “JOB2” is released, and the printing process for the job “JOB2” is executed.

そして、ジョブ「JOB2」の印刷プロセスが完了すると、レビュープロセス(ゲートアウト)の通過により制御対象リストからジョブ「JOB2」が削除され、ジョブ「JOB3」の処理待ちが解除されて、ジョブ「JOB3」の保存プロセス、印刷プロセスが順に実行される。   When the printing process of job “JOB2” is completed, job “JOB2” is deleted from the control target list by passing through the review process (gate-out), the processing waiting for job “JOB3” is released, and job “JOB3” is released. The storage process and the printing process are sequentially executed.

以上のようにして、あるワークフローの排他区間に含まれる複数のプロセスが完了してから、他のワークフローに含まれる排他的プロセスが実行されることとなり、例えば、1つの処理装置において複数のプロセスを連続して実行する必要がある場合に、その複数のプロセスの間に他のワークフローに含まれるプロセスが割り込んで実行されることを防ぐことができる。   As described above, after a plurality of processes included in an exclusive section of a certain workflow are completed, an exclusive process included in another workflow is executed. For example, a plurality of processes are executed in one processing device. When it is necessary to execute continuously, it is possible to prevent a process included in another workflow from being interrupted and executed between the plurality of processes.

[第3の実施の形態]
第1の実施の形態では、複数のジョブに基づき1つの制御対象ジョブリストを作成し、複数の排他的プロセスを入力順序に従って実行した。これに対し、第3の実施の形態に係るワークフローシステムは、排他的プロセスを複数のグループに分別するグループ属性を各排他的プロセスに設定し、そのグループ毎に制御対象ジョブリストをそれぞれ作成することにより、同一グループに属する複数の排他的プロセスを入力順序に従って実行するものである。
[Third Embodiment]
In the first embodiment, one control target job list is created based on a plurality of jobs, and a plurality of exclusive processes are executed in accordance with the input order. On the other hand, the workflow system according to the third embodiment sets a group attribute that separates an exclusive process into a plurality of groups for each exclusive process, and creates a control target job list for each group. Thus, a plurality of exclusive processes belonging to the same group are executed in accordance with the input order.

本実施の形態に係るジョブ制御装置3は、グループ属性を排他的プロセスに設定する設定手段300、その設定されたグループ属性により分別した複数の排他的プロセスのグループ毎に、入力順序に従って実行されるように、複数のジョブの実行を制御するジョブ制御手段302を備え、その他の構成は、第1の実施の形態と同様である。   The job control apparatus 3 according to the present embodiment is executed according to the input order for each group of a plurality of exclusive processes sorted by the set group attribute and the setting unit 300 that sets the group attribute to the exclusive process. As described above, the job control unit 302 that controls the execution of a plurality of jobs is provided, and other configurations are the same as those in the first embodiment.

図8(a)は、ワークフロー管理テーブルの一例を示す図である。このワークフロー管理テーブル312Cにおけるプロセス情報リストには、グループ属性14が設定されたレビュープロセスが追加されている。具体的には、ワークフロー「WF1」,「WF3」のレビュープロセスには、グループ属性14として「グループA」が設定され、ワークフロー「WF2」のレビュープロセスには、グループ属性14として「グループB」が設定されている。   FIG. 8A illustrates an example of a workflow management table. A review process in which the group attribute 14 is set is added to the process information list in the workflow management table 312C. Specifically, “Group A” is set as the group attribute 14 in the review processes of the workflows “WF1” and “WF3”, and “Group B” is set as the group attribute 14 in the review process of the workflow “WF2”. Is set.

図8(b)は、グループ属性が設定された複数のジョブの実行順序の一例を示すタイミングチャートである。図8(b)では、ジョブ登録手段301により、4つの文書データの各々を、ワークフロー「WF1」に入力したジョブ「JOB1」、ワークフロー「WF2」に入力したジョブ「JOB2」、ワークフロー「WF3」に入力したジョブ「JOB3」、ワークフロー「WF2」に入力したジョブ「JOB4」が登録され、それら4つのジョブがジョブ制御手段302の制御の下で並列的に実行される。   FIG. 8B is a timing chart showing an example of the execution order of a plurality of jobs in which group attributes are set. In FIG. 8B, the job registration unit 301 converts each of the four document data into the job “JOB1” input to the workflow “WF1”, the job “JOB2” input to the workflow “WF2”, and the workflow “WF3”. The input job “JOB3” and the input job “JOB4” in the workflow “WF2” are registered, and these four jobs are executed in parallel under the control of the job control unit 302.

まず、ジョブ制御手段302は、ジョブ「JOB1」、「JOB3」からなるグループAに関する制御対象リストと、ジョブ「JOB2」、「JOB4」からなるグループBに関する第2の制御対象リストを作成する。   First, the job control unit 302 creates a control target list related to group A consisting of jobs “JOB1” and “JOB3” and a second control target list related to group B consisting of jobs “JOB2” and “JOB4”.

次に、ジョブ「JOB1」の印刷プロセス、ジョブ「JOB2」のプリフライトプロセス、ジョブ「JOB3」の保存プロセス及びジョブ「JOB4」のプリフライトプロセスが並列的に実行され、ジョブ「JOB3」において、保存プロセスが完了すると、後続するレビュープロセス(グループA)において、ジョブ「JOB3」はグループAの制御対象リストにおける入力順序が最も早いジョブではないため、処理待ちと判定される。   Next, the print process of job “JOB1”, the preflight process of job “JOB2”, the save process of job “JOB3”, and the preflight process of job “JOB4” are executed in parallel, and saved in job “JOB3” When the process is completed, in the subsequent review process (group A), the job “JOB3” is not the job with the earliest input order in the control target list of group A, and is determined to be waiting for processing.

そして、ジョブ「JOB1」の印刷プロセスが完了して、グループAの制御対象リストからジョブ「JOB1」が削除されると、ジョブ「JOB3」の処理待ちが解除され、ジョブ「JOB3」の印刷プロセスが実行される。   When the printing process of job “JOB1” is completed and job “JOB1” is deleted from the control target list of group A, the waiting process of job “JOB3” is canceled, and the printing process of job “JOB3” is executed. Executed.

また、ジョブ「JOB2」、「JOB4」においてプリフライトプロセスに続いて面付けプロセスがそれぞれ完了すると、ジョブ「JOB2」は印刷プロセスに移るが、ジョブ「JOB4」はグループBの制御対象リストにおける入力順序が最も早いジョブではないため、処理待ちと判定される。   Further, when the imposition process is completed after the preflight process in the jobs “JOB2” and “JOB4”, the job “JOB2” moves to the printing process, but the job “JOB4” is input in the control target list of the group B. Is not the earliest job, it is determined to be waiting for processing.

そして、ジョブ「JOB2」のプリフライトプロセスが完了して、グループBの制御対象リストからジョブ「JOB2」が削除されると、ジョブ「JOB4」の処理待ちが解除され、ジョブ「JOB4」の印刷プロセスが実行される。   When the preflight process of the job “JOB2” is completed and the job “JOB2” is deleted from the control target list of the group B, the process waiting for the job “JOB4” is canceled, and the print process of the job “JOB4” is released. Is executed.

以上のようにして、排他的プロセスが、グループ毎に入力順序に従って実行されるため、例えば、印刷装置4が複数設けられ、印刷プロセスの実行を指示した各印刷装置に対応してグループ属性が付加されている場合には、それら各印刷装置において入力順序に従って印刷プロセスが実行されることとなり、印刷順序を保証しつつ全体の処理時間を短縮することができる。   As described above, the exclusive process is executed in accordance with the input order for each group. For example, a plurality of printing apparatuses 4 are provided, and a group attribute is added corresponding to each printing apparatus instructed to execute the printing process. In such a case, the printing process is executed in each printing apparatus according to the input order, and the entire processing time can be shortened while guaranteeing the printing order.

[第4の実施の形態]
第1の実施の形態では、入力順序が早い排他的プロセスが完了するまで入力順序が遅い排他的プロセスは処理待ちとした。これに対し、第4の実施の形態に係るワークフローシステムは、排他的プロセスの実行を制御するタイムアウト時間を排他的プロセスに設定し、排他的プロセスが処理待ちとなってからそのタイムアウト時間を経過したとき、入力順序が早い排他的プロセスの完了を待たずに処理待ちとなっている入力順序が遅い排他的プロセスの実行を開始するものである。
[Fourth Embodiment]
In the first embodiment, an exclusive process whose input order is late is put on standby until an exclusive process whose input order is early is completed. In contrast, the workflow system according to the fourth embodiment sets a timeout time for controlling the execution of the exclusive process to the exclusive process, and the timeout time has elapsed since the exclusive process waited for processing. At this time, the execution of the exclusive process with the slow input order waiting for processing is started without waiting for the completion of the exclusive process with the fast input order.

本実施の形態に係るジョブ制御装置3は、タイムアウト時間を排他的プロセスに設定する設定手段300、及び排他的プロセスが処理待ちとなってからその設定されたタイムアウト時間を経過したとき、入力順序が早い排他的プロセスの完了を待たずに処理待ちとなっている入力順序が遅い排他的プロセスの実行を開始するジョブ制御手段302を備え、その他の構成は、第1の実施の形態と同様である。   The job control apparatus 3 according to the present embodiment includes a setting unit 300 that sets a timeout time for an exclusive process, and when the set timeout time elapses after the exclusive process waits for processing, the input order is Job control means 302 is provided for starting execution of an exclusive process whose input order is delayed without waiting for completion of an early exclusive process, and the other configuration is the same as that of the first embodiment. .

図9(a)は、ワークフロー管理テーブルの一例を示す図である。このワークフロー管理テーブル312Dにおけるプロセス情報リストには、上述のタイムアウト時間15が設定されたレビュープロセスが追加されている。例えば、ワークフロー「WF1」のレビュープロセスでは、タイムアウト時間15として「10分」が記録されている。   FIG. 9A illustrates an example of a workflow management table. In the process information list in the workflow management table 312D, the review process in which the timeout time 15 is set is added. For example, in the review process of the workflow “WF1”, “10 minutes” is recorded as the timeout time 15.

図9(b)は、タイムアウト時間が設定された複数のジョブの実行順序の一例を示すタイミングチャートである。図9(b)では、ジョブ登録手段301により、2つの文書データをワークフロー「WF1」にそれぞれ入力したジョブ「JOB1」、「JOB2」が登録され、それら2つのジョブがジョブ制御手段302の制御の下で並列的に実行される。   FIG. 9B is a timing chart showing an example of the execution order of a plurality of jobs in which timeout times are set. In FIG. 9B, jobs “JOB1” and “JOB2”, each of which is input two document data into the workflow “WF1”, are registered by the job registration unit 301, and these two jobs are controlled by the job control unit 302. It is executed in parallel below.

まず、ジョブ制御手段302は、ジョブ「JOB1」、「JOB2」からなる制御対象リストを作成する。次に、ジョブ「JOB1」、「JOB2」の面付けプロセスが並列的に実行され、ジョブ「JOB1」は、レビュープロセスで処理待ちとは判定されずに続けて印刷プロセスが実行される。一方、ジョブ「JOB2」は、レビュープロセスで処理待ちと判定されて、処理待ち時間150のカウントを開始する。   First, the job control unit 302 creates a control target list including jobs “JOB1” and “JOB2”. Next, the imposition processes of jobs “JOB1” and “JOB2” are executed in parallel, and the print process of job “JOB1” is continued without being determined to be waiting for processing in the review process. On the other hand, the job “JOB2” is determined to be waiting for processing in the review process, and starts counting the processing waiting time 150.

そして、ジョブ「JOB1」の印刷プロセスが完了しないまま、処理待ち時間150がタイムアウト時間15を経過したとき、ジョブ「JOB2」は、処理待ちが解除され、印刷プロセスが実行される。   Then, when the processing waiting time 150 has passed the timeout time 15 without completing the printing process of the job “JOB1”, the job “JOB2” is released from waiting for processing and the printing process is executed.

以上のようにして、排他的プロセスにタイムアウト時間を設定することにより、排他的プロセスが処理待ちとなった場合でも、遅くともタイムアウト時間の経過により排他的プロセスの実行が保証される。   As described above, by setting the timeout time for the exclusive process, even when the exclusive process waits for processing, the execution of the exclusive process is guaranteed by the elapse of the timeout time at the latest.

[第5の実施の形態]
第1の実施の形態では、排他的プロセスの実行中にエラーが発生したときに、その後の排他的プロセスの実行を制御する情報を有していなかった。これに対し、第5の実施の形態に係るワークフローシステムは、排他的プロセスにエラー処理属性を設定し、排他的プロセスの実行中にエラーが発生したとき、このエラー処理属性に基づいて、その後の排他的プロセスの実行を制御するものである。
[Fifth Embodiment]
In the first embodiment, when an error occurs during the execution of the exclusive process, there is no information for controlling the subsequent execution of the exclusive process. On the other hand, the workflow system according to the fifth embodiment sets an error processing attribute in the exclusive process, and when an error occurs during the execution of the exclusive process, the subsequent processing is performed based on the error processing attribute. Controls the execution of exclusive processes.

本実施の形態に係るジョブ制御装置3は、エラー処理属性を排他的プロセスに設定する設定手段300、その設定されたエラー処理属性に基づいて、複数のジョブの実行を制御するジョブ制御手段302を備え、その他の構成は、第1の実施の形態と同様である。   The job control apparatus 3 according to the present embodiment includes a setting unit 300 that sets an error processing attribute to an exclusive process, and a job control unit 302 that controls the execution of a plurality of jobs based on the set error processing attribute. Other configurations are the same as those of the first embodiment.

図10は、ワークフロー管理テーブルの一例を示す図である。このワークフロー管理テーブル312Eにおけるプロセス情報リストには、エラー処理属性16が設定されたレビュープロセスが追加されている。例えば、ワークフロー「WF1」のレビュープロセスには、エラー処理属性16として、その後の排他的プロセスの実行を中止する「エラー終了」が記録されている。   FIG. 10 is a diagram illustrating an example of a workflow management table. A review process in which the error processing attribute 16 is set is added to the process information list in the workflow management table 312E. For example, in the review process of the workflow “WF1”, “error end” for stopping the execution of the exclusive process thereafter is recorded as the error processing attribute 16.

また、エラー処理属性16に対する選択肢としては、上述の「エラー終了」の他に、エラーの発生に関係なくその後のジョブの実行を継続する「エラー無視」、エラーが発生した時点でその後のジョブの実行を、例えば、ユーザからの指示があるまで一旦停止する「エラー停止」があり、それら3つの選択肢からユーザが任意に選択可能に構成されている。   Further, as an option for the error processing attribute 16, in addition to the above-mentioned “error end”, “error ignorance” that continues the execution of the subsequent job regardless of the occurrence of the error, For example, there is an “error stop” that temporarily stops execution until an instruction from the user is given, and the user can arbitrarily select from these three options.

図11(a)は、エラー処理属性に「エラー終了」が指定された複数のジョブの実行状態の一例を示すタイミングチャートである。図11(a)では、2つの文書データをワークフロー「WF1」にそれぞれ入力したジョブ「JOB1」、「JOB2」が登録され、それら2つのジョブがジョブ制御手段302の制御の下で並列的に実行される。   FIG. 11A is a timing chart showing an example of execution states of a plurality of jobs in which “error end” is specified as the error processing attribute. In FIG. 11A, jobs “JOB1” and “JOB2”, each of which is input two document data into the workflow “WF1”, are registered, and these two jobs are executed in parallel under the control of the job control unit 302. Is done.

まず、ジョブ制御手段302は、ジョブ「JOB1」、「JOB2」からなる制御対象リストを作成する。次に、ジョブ「JOB1」、「JOB2」の保存プロセスが並列的に実行され、ジョブ「JOB1」は、レビュープロセスで処理待ちとは判定されずに続けて印刷プロセスが実行される。一方、ジョブ「JOB2」は、レビュープロセスで処理待ちと判定される。   First, the job control unit 302 creates a control target list including jobs “JOB1” and “JOB2”. Next, the storage processes of the jobs “JOB1” and “JOB2” are executed in parallel, and the print process is executed for the job “JOB1” without being determined to be waiting for processing in the review process. On the other hand, the job “JOB2” is determined to be waiting for processing in the review process.

そして、ジョブ制御手段302は、ジョブ「JOB1」の印刷プロセスの実行中にエラーが発生した旨のエラー通知を印刷装置4から受け取ると、ジョブ制御手段302は、処理待ちのジョブ「JOB2」の実行を中止し、終了する。   When the job control unit 302 receives an error notification from the printing apparatus 4 that an error has occurred during the execution of the print process of the job “JOB1”, the job control unit 302 executes the job “JOB2” waiting for processing. Cancel and exit.

図11(b)は、エラー処理属性に「エラー無視」が指定された複数のジョブの実行状態の一例を示すタイミングチャートである。図11(a)と同様に、保存プロセスが並列的に実行された後、ジョブ「JOB1」は、印刷プロセスが実行され、ジョブ「JOB2」は、レビュープロセスで処理待ちと判定される。   FIG. 11B is a timing chart showing an example of execution states of a plurality of jobs in which “error ignorance” is designated as the error processing attribute. Similarly to FIG. 11A, after the storage process is executed in parallel, the print process is executed for job “JOB1”, and the job “JOB2” is determined to be waiting for processing in the review process.

そして、ジョブ制御手段302が、ジョブ「JOB1」の印刷プロセスにおけるエラー通知を受信すると、ジョブ制御手段302は、ジョブ「JOB2」の処理待ちを解除して、ジョブ「JOB2」の印刷プロセスを実行する。   When the job control unit 302 receives an error notification in the printing process of the job “JOB1”, the job control unit 302 cancels the processing waiting for the job “JOB2” and executes the printing process of the job “JOB2”. .

図11(c)は、エラー処理属性に「エラー停止」が指定された複数のジョブの実行状態の一例を示すタイミングチャートである。図11(a)と同様に、保存プロセスが並列的に実行された後、ジョブ「JOB1」は、印刷プロセスが実行され、ジョブ「JOB2」は、レビュープロセスで処理待ちと判定される。   FIG. 11C is a timing chart illustrating an example of execution states of a plurality of jobs in which “error stop” is specified as the error processing attribute. Similarly to FIG. 11A, after the storage process is executed in parallel, the print process is executed for job “JOB1”, and the job “JOB2” is determined to be waiting for processing in the review process.

そして、ジョブ制御手段302が、ジョブ「JOB1」の印刷プロセスにおけるエラー通知を受信すると、ジョブ制御手段302は、ジョブ「JOB2」の処理待ちを維持したまま一旦停止する。そして、ジョブ制御手段302は、端末装置2に対してその旨を通知し、例えば、ユーザからジョブ再開の指示を受けた場合には、ジョブ「JOB2」の印刷プロセスを再開し、中断の指示を受けた場合には、ジョブ「JOB2」の印刷プロセスを実行することなく、終了する。   Then, when the job control unit 302 receives an error notification in the printing process of the job “JOB1”, the job control unit 302 temporarily stops while waiting for processing of the job “JOB2”. Then, the job control unit 302 notifies the terminal device 2 to that effect. For example, when receiving a job resumption instruction from the user, the job control unit 302 resumes the printing process of the job “JOB2”, and issues an interruption instruction. If it is received, the process is terminated without executing the printing process of the job “JOB2”.

以上のようにして、エラー制御情報を用いて、エラーが発生した後の排他的プロセスの実行を制御することにより、例えば、ジョブ「JOB1」、「JOB2」に含まれる排他的プロセスである印刷プロセスがそれぞれ実行されて1つの印刷物が出力されるような場合には、ジョブ「JOB1」の印刷プロセスがエラーとなったことにより、ジョブ「JOB2」の印刷プロセスの実行を停止して、無駄な印刷物の出力を抑制することができる。   As described above, by using the error control information to control the execution of the exclusive process after the error has occurred, for example, a printing process that is an exclusive process included in the jobs “JOB1” and “JOB2” Are executed and one printout is output, the print process of job “JOB1” results in an error, the execution of the print process of job “JOB2” is stopped, and a wasteful printout Can be suppressed.

[他の実施の形態]
なお、本発明は、上記各実施の形態に限定されず、本発明の趣旨を逸脱しない範囲内で種々な変形が可能である。例えば、上記各実施の形態では、ジョブ制御装置3の設定手段、ジョブ登録手段及びジョブ制御手段を、制御部とジョブ制御プログラムによって実現したが、それらの一部または全部を特定用途向け集積回路(ASIC:Application Specific IC)等のハードウェアによって実現してもよい。
[Other embodiments]
The present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention. For example, in each of the above-described embodiments, the setting unit, job registration unit, and job control unit of the job control device 3 are realized by the control unit and the job control program. It may be realized by hardware such as ASIC (Application Specific IC).

また、上記各実施の形態で使用されるプログラムは、CD−ROM等の記録媒体から装置内の記憶部に読み込んでもよく、インターネット等のネットワークに接続されているサーバ等から装置内の記憶部にダウンロードしてもよい。   The program used in each of the above embodiments may be read from a recording medium such as a CD-ROM into a storage unit in the apparatus, or from a server or the like connected to a network such as the Internet to the storage unit in the apparatus. You may download it.

また、上記各実施の形態では、ワークフローにおいて排他的プロセスを示すためにレビュープロセスを追加したが、排他的プロセスが識別できる情報がワークフローに付加されていればよく、例えば、各プロセスに排他的プロセスであるか否かを示す属性を付加するようにしてもよいし、これに限られない。   In each of the above embodiments, a review process is added to indicate an exclusive process in the workflow. However, information that can identify the exclusive process only needs to be added to the workflow. For example, each process has an exclusive process. It may be made to add the attribute which shows whether it is. It is not restricted to this.

また、本発明の趣旨を逸脱しない範囲内で上記各実施の形態の構成要素を任意に組み合わせることができる。例えば、第3の実施に形態におけるグループ属性と、第4の実施の形態におけるタイムアウト時間とを1つの排他的プロセスに設定するようにしてもよいし、さらに他の実施の形態における属性を組み合わせて設定するようにしてもよい。   In addition, the constituent elements of the above embodiments can be arbitrarily combined without departing from the scope of the present invention. For example, the group attribute in the third embodiment and the timeout time in the fourth embodiment may be set in one exclusive process, or the attributes in the other embodiments are combined. You may make it set.

また、上記各実施の形態におけるワークフローシステムは、ジョブ制御装置が有する機能やデータ等をワークフローシステム全体として備えていればよく、例えば、プリフライト処理部や面付け処理部は、他の処理装置に設けられていてもよい。   In addition, the workflow system in each of the above embodiments only needs to include the functions and data of the job control device as the entire workflow system. For example, the preflight processing unit and the imposition processing unit are included in other processing devices. It may be provided.

また、上記各実施の形態におけるワークフローシステムでは、制御対象ジョブリストにおいて文書データの入力順序に従って監視対象のジョブを変更したが、所定の並び順で変更すればよく、例えば、文書データの最終保存日時やファイルサイズ等の属性順でもよいし、ユーザによる指定順でもよい。   In the workflow system in each of the above embodiments, the monitoring target job is changed in the control target job list in accordance with the input order of the document data. However, the job may be changed in a predetermined arrangement order. Or the order of attributes such as file size, or the order specified by the user.

図1は、本発明の第1の実施の形態に係る画像処理システムの概略構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of a schematic configuration of an image processing system according to the first embodiment of the present invention. 図2(a)は、プロセス管理テーブルの一例を示し、図2(b)は、ワークフロー管理テーブルの一例を示し、図2(c)は、レビュープロセスを追加したワークフローが記録されたワークフロー管理テーブルの一例を示す図である。2A illustrates an example of a process management table, FIG. 2B illustrates an example of a workflow management table, and FIG. 2C illustrates a workflow management table in which a workflow to which a review process is added is recorded. It is a figure which shows an example. 図3(a)は、ジョブ指定情報の一例を示し、図3(b)は、ジョブ管理テーブルの一例を示す図である。FIG. 3A illustrates an example of job designation information, and FIG. 3B illustrates an example of a job management table. 図4は、ジョブ制御装置においてジョブの実行を制御する動作の一例を示すフローチャートである。FIG. 4 is a flowchart illustrating an example of an operation for controlling job execution in the job control apparatus. 図5は、図4のステップS10における実行制御の詳細な動作の一例を示す図である。FIG. 5 is a diagram showing an example of detailed operation of the execution control in step S10 of FIG. 図6は、複数のジョブの実行状態の一例を示すタイミングチャートである。FIG. 6 is a timing chart showing an example of execution states of a plurality of jobs. 図7(a)は、本発明の第2の実施の形態に係るワークフロー管理テーブルの一例を示す図である。図7(b)は、排他区間が設定された複数のジョブの実行状態の一例を示すタイミングチャートである。FIG. 7A shows an example of a workflow management table according to the second embodiment of the present invention. FIG. 7B is a timing chart illustrating an example of an execution state of a plurality of jobs in which an exclusive section is set. 図8(a)は、本発明の第3の実施の形態に係るワークフロー管理テーブルの一例を示す図である。図8(b)は、グループ属性が設定された複数のジョブの実行順序の一例を示すタイミングチャートである。FIG. 8A illustrates an example of a workflow management table according to the third embodiment of the present invention. FIG. 8B is a timing chart showing an example of the execution order of a plurality of jobs in which group attributes are set. 図9(a)は、本発明の第4の実施の形態に係るワークフロー管理テーブルの一例を示す図である。図9(b)は、タイムアウト時間が設定された複数のジョブの実行順序の一例を示すタイミングチャートである。FIG. 9A illustrates an example of a workflow management table according to the fourth embodiment of the present invention. FIG. 9B is a timing chart showing an example of the execution order of a plurality of jobs in which timeout times are set. 図10は、本発明の第5の実施の形態に係るワークフロー管理テーブルの一例を示す図である。FIG. 10 is a diagram showing an example of a workflow management table according to the fifth embodiment of the present invention. 図11(a)は、エラー処理属性に「エラー終了」が指定された複数のジョブの実行状態の一例を示し、図11(b)は、エラー処理属性に「エラー無視」が指定された複数のジョブの実行状態の一例を示し、図11(c)は、エラー処理属性に「エラー停止」が指定された複数のジョブの実行状態の一例を示すタイミングチャートである。FIG. 11A shows an example of an execution state of a plurality of jobs in which “error end” is designated as the error processing attribute, and FIG. 11B shows a plurality of cases in which “error ignorance” is designated as the error processing attribute. FIG. 11C is a timing chart illustrating an example of execution states of a plurality of jobs in which “error stop” is specified as the error processing attribute.

符号の説明Explanation of symbols

1…ワークフローシステム、2…端末装置、3…ジョブ制御装置、4…印刷装置、10…ネットワーク、11…ジョブ指定情報、12…ジョブ処理情報、13A…ゲートイン属性、13B…ゲートアウト属性、14…グループ属性、15…タイムアウト時間、16…エラー処理属性、30…制御部、31…記憶部、32…通信部、33…プリフライト処理部、34…面付け処理部、100…ジョブID、110…処理ワークフローID、150…処理待ち時間、300…設定手段、301…ジョブ登録手段、302…ジョブ制御手段、310…ジョブ制御プログラム、311…プロセス管理テーブル、312A〜312E…ワークフロー管理テーブル、313…ジョブ管理テーブル DESCRIPTION OF SYMBOLS 1 ... Workflow system, 2 ... Terminal device, 3 ... Job control apparatus, 4 ... Printing apparatus, 10 ... Network, 11 ... Job designation information, 12 ... Job processing information, 13A ... Gate-in attribute, 13B ... Gate-out attribute, 14 ... Group attribute, 15 ... Timeout period, 16 ... Error processing attribute, 30 ... Control unit, 31 ... Storage unit, 32 ... Communication unit, 33 ... Preflight processing unit, 34 ... Imposition processing unit, 100 ... Job ID, 110 ... Processing workflow ID 150 ... Processing waiting time 300 ... Setting means 301 ... Job registration means 302 ... Job control means 310 ... Job control program 311 ... Process management table 312A-312E ... Workflow management table 313 ... Job management table

Claims (7)

複数の処理フロー情報を並行処理し得る処理手段から前記処理フロー情報に含まれる複数の処理工程の処理状態を取得する取得ステップと、
前記複数の処理フロー情報から所定の順序で監視対象を選択し、前記取得ステップにより取得された前記処理状態が当該監視対象の処理フロー情報に含まれる第1の処理工程において停止状態であるとき、前記処理手段に処理開始を指示するとともに、前記第1の処理工程より工程順が後の第2の処理工程において前記取得ステップにより取得された前記処理状態が所定の処理状態となったとき、前記所定の順序で次の処理フロー情報に前記監視対象を変更する制御を行う制御ステップとをコンピュータに実行させるための処理フロー制御プログラム。
An acquisition step of acquiring processing states of a plurality of processing steps included in the processing flow information from processing means capable of processing a plurality of processing flow information in parallel;
When a monitoring target is selected in a predetermined order from the plurality of processing flow information, and the processing state acquired by the acquisition step is a stopped state in the first processing step included in the monitoring target processing flow information, Instructing the processing means to start processing, and when the processing state acquired by the acquisition step in the second processing step after the first processing step is a predetermined processing state, A processing flow control program for causing a computer to execute a control step for performing control to change the monitoring target to the next processing flow information in a predetermined order.
前記制御ステップによる前記監視対象の処理フロー情報は、前記第1の処理工程と前記第2の処理工程との間に他の処理工程を含む請求項1に記載の処理フロー制御プログラム。   The processing flow control program according to claim 1, wherein the processing flow information to be monitored by the control step includes another processing step between the first processing step and the second processing step. 前記制御ステップは、前記第1の処理工程に種別情報が付与されているとき、前記種別情報と同一性を有する種別情報が付与されている処理工程を含む処理フロー情報に前記監視対象を変更する請求項1に記載の処理フロー制御プログラム。   In the control step, when type information is assigned to the first processing step, the monitoring target is changed to processing flow information including a processing step to which type information having the same identity as the type information is assigned. The processing flow control program according to claim 1. 前記制御ステップは、前記処理手段に処理開始を指示してから所定の時間が経過したとき、前記監視対象を変更する請求項1に記載の処理フロー制御プログラム。   The processing flow control program according to claim 1, wherein the control step changes the monitoring target when a predetermined time has elapsed since the processing means was instructed to start processing. 前記制御ステップは、前記第2の処理工程においてエラーが発生したとき、前記監視対象を変更し、その変更した前記監視対象の処理フロー情報を継続若しくは中断し、又は指定された指示内容に基づいて実行する請求項1に記載の処理フロー制御プログラム。   When an error occurs in the second processing step, the control step changes the monitoring target, continues or interrupts the changed processing flow information of the monitoring target, or based on designated instruction content The processing flow control program according to claim 1 to be executed. 複数の処理フロー情報を並行処理し得る処理手段から前記処理フロー情報に含まれる複数の処理工程の処理状態を取得する取得手段と、
前記複数の処理フロー情報から所定の順序で監視対象を選択し、前記取得手段により取得された前記処理状態が当該監視対象の処理フロー情報に含まれる第1の処理工程において停止状態であるとき、前記処理手段に処理開始を指示するとともに、前記第1の処理工程より工程順が後の第2の処理工程において前記取得手段により取得された前記処理状態が所定の処理状態となったとき、前記所定の順序で次の処理フロー情報に前記監視対象を変更する制御を行う制御手段とを備えた処理フロー制御装置。
Obtaining means for obtaining processing states of a plurality of processing steps included in the processing flow information from processing means capable of processing a plurality of processing flow information in parallel;
When a monitoring target is selected from the plurality of processing flow information in a predetermined order, and the processing state acquired by the acquisition unit is a stopped state in the first processing step included in the monitoring target processing flow information, Instructing the processing means to start processing, and when the processing state acquired by the acquisition means in a second processing step after the first processing step is a predetermined processing state, A processing flow control apparatus comprising: control means for performing control to change the monitoring target to the next processing flow information in a predetermined order.
複数の処理フロー情報を並行処理し得る処理手段と、
前記処理手段から前記処理フロー情報に含まれる複数の処理工程の処理状態を取得する取得手段と、
前記複数の処理フロー情報から所定の順序で監視対象を選択し、前記取得手段により取得された前記処理状態が当該監視対象の処理フロー情報に含まれる第1の処理工程において停止状態であるとき、前記処理手段に処理開始を指示するとともに、前記第1の処理工程より工程順が後の第2の処理工程において前記取得手段により取得された前記処理状態が所定の処理状態となったとき、前記所定の順序で次の処理フロー情報に前記監視対象を変更する制御を行う制御手段とを備えたデータ処理システム。
Processing means capable of processing a plurality of processing flow information in parallel;
Obtaining means for obtaining processing states of a plurality of processing steps included in the processing flow information from the processing means;
When a monitoring target is selected from the plurality of processing flow information in a predetermined order, and the processing state acquired by the acquisition unit is a stopped state in the first processing step included in the monitoring target processing flow information, Instructing the processing means to start processing, and when the processing state acquired by the acquisition means in a second processing step after the first processing step is a predetermined processing state, A data processing system comprising control means for performing control to change the monitoring target to the next processing flow information in a predetermined order.
JP2008165893A 2008-06-25 2008-06-25 Processing flow control program, processing flow control device, and data processing system Expired - Fee Related JP4807382B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008165893A JP4807382B2 (en) 2008-06-25 2008-06-25 Processing flow control program, processing flow control device, and data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008165893A JP4807382B2 (en) 2008-06-25 2008-06-25 Processing flow control program, processing flow control device, and data processing system

Publications (2)

Publication Number Publication Date
JP2010009200A JP2010009200A (en) 2010-01-14
JP4807382B2 true JP4807382B2 (en) 2011-11-02

Family

ID=41589643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008165893A Expired - Fee Related JP4807382B2 (en) 2008-06-25 2008-06-25 Processing flow control program, processing flow control device, and data processing system

Country Status (1)

Country Link
JP (1) JP4807382B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5492066B2 (en) * 2010-12-20 2014-05-14 株式会社東芝 Workflow processing system
JP6047941B2 (en) * 2012-06-21 2016-12-21 富士通株式会社 Supervisory control system including task execution order control function
JP5891969B2 (en) * 2012-06-25 2016-03-23 富士通株式会社 Exclusive control program, apparatus, and method
JP6064734B2 (en) 2013-03-27 2017-01-25 富士通株式会社 Workflow control program, apparatus and method
WO2023084740A1 (en) * 2021-11-12 2023-05-19 日本電信電話株式会社 Data generation device and program
WO2023084739A1 (en) * 2021-11-12 2023-05-19 日本電信電話株式会社 Electronic computer

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3175620B2 (en) * 1996-06-21 2001-06-11 セイコーエプソン株式会社 Printing equipment
JPH10240459A (en) * 1997-02-26 1998-09-11 Fuji Xerox Co Ltd Print controller
JPH10240467A (en) * 1997-02-27 1998-09-11 Canon Inc Image processor and its controlling method
JPH10289066A (en) * 1997-04-11 1998-10-27 Canon Inc Image processor and its method
JPH10307695A (en) * 1997-05-07 1998-11-17 Canon Inc Printer device and printer control method
JP2004070516A (en) * 2002-08-02 2004-03-04 Hitachi Information Systems Ltd System for controlling work flow
US20060044595A1 (en) * 2004-08-24 2006-03-02 Sharp Laboratories Of America Inc. Imaging job monitoring and pipelining

Also Published As

Publication number Publication date
JP2010009200A (en) 2010-01-14

Similar Documents

Publication Publication Date Title
US8964206B2 (en) Printing device, management device and management method
US8564813B2 (en) Distributed printing system, print control method for determining printing output locations according to content and estimated time information, and program
JP4807382B2 (en) Processing flow control program, processing flow control device, and data processing system
JP2012223891A (en) Image processing apparatus, print control method, print control program, and recording medium storing control program
JP2010123124A (en) Work flow management apparatus, and method and program of the same
JP2016002743A (en) Image forming device
JP6634744B2 (en) Information processing system, information processing apparatus, device, information processing method, program
US20140285847A1 (en) Server apparatus, image forming system, and method of managing image forming data
US10558411B2 (en) Server apparatus, method of controlling the server apparatus, storage medium, and printing system that determine whether to perform, in the server apparatus, rendering processing on a page of a print job
JP2013149085A (en) Printing system, printing control device and printing control program
JP2011186725A (en) Printer driver, print control device, and printer search program
JP2016018509A (en) Printing system, printing device, control method for printing system, and program
JP4215688B2 (en) Data output device, system, method, printer driver, and recording medium
JP5834648B2 (en) Information processing apparatus, program, and control method
JP5919783B2 (en) Print control program, print control apparatus, print control method, and printing system
JP5574821B2 (en) Management device, management method, and program
US20160085493A1 (en) Image forming apparatus having reservation printing function, control method for the image forming apparatus, and storage medium
EP2426595A2 (en) Image forming system and storage medium
JP5411909B2 (en) Printing apparatus, printing system, printer driver, and printing method
JP5929851B2 (en) Printing system, information processing apparatus, and program.
JP2011066551A (en) Apparatus and system for management of equipment, method and program for proposal of improvement, and recording medium with the program recorded thereon
JP5625497B2 (en) Information processing apparatus, information processing system, information processing method, program, and recording medium storing the program
JP2015225535A (en) Information processor, and authentication printing system using same
JP2019031020A (en) Image formation apparatus, control method and program of the same
JP2012181695A (en) Information processor, print system, control method and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110701

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110701

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: 20110719

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110801

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140826

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4807382

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

LAPS Cancellation because of no payment of annual fees