JP2023093883A - Program, control method and information processing device - Google Patents

Program, control method and information processing device Download PDF

Info

Publication number
JP2023093883A
JP2023093883A JP2021209001A JP2021209001A JP2023093883A JP 2023093883 A JP2023093883 A JP 2023093883A JP 2021209001 A JP2021209001 A JP 2021209001A JP 2021209001 A JP2021209001 A JP 2021209001A JP 2023093883 A JP2023093883 A JP 2023093883A
Authority
JP
Japan
Prior art keywords
workflow
setting value
definition data
image processing
selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021209001A
Other languages
Japanese (ja)
Inventor
紀彦 浅井
Norihiko Asai
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2021209001A priority Critical patent/JP2023093883A/en
Publication of JP2023093883A publication Critical patent/JP2023093883A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

To provide a technology capable of taking full advantage of the capacity of a device that executes image processing as a program capable of using workflow definition data.SOLUTION: An image processing application 22 allows a CPU 11 of a PC 1 to read WF data being data defining a workflow indicating a series of processing including image processing. A device to be an execution object of the image processing and setting values used for the image processing can be set in the workflow. The image processing application 22 further allows it to receive selection of the device to be the execution object of the image processing included in the workflow defined in the read WF data via a user IF 13 of the PC 1, and when the selected device can deal with upper setting values than the setting values set in the workflow defined in the read WF data, execute the workflow defined in the read workflow with the upper setting values.SELECTED DRAWING: Figure 1

Description

本明細書に開示される技術分野は、コンピュータが実行可能なプログラム、制御方法および情報処理装置に関するものである。 The technical field disclosed in this specification relates to computer-executable programs, control methods, and information processing apparatuses.

従来、画像処理を含む一連の処理を示すワークフローを定義したワークフロー定義データを利用可能なアプリケーションプログラムないしデバイスが知られている。ワークフローに関する技術を開示した文献としては、例えば特許文献1がある。特許文献1には、第1のワークフロー実行装置でワークフローを実行するための設定情報を用いて、第2のワークフロー実行装置で同じワークフローを実行するための設定情報を作成する技術であって、第1のワークフロー実行装置と第2のワークフロー実行装置とで能力が同等でない場合に、デフォルト値を適用する構成が開示されている。 2. Description of the Related Art Application programs or devices capable of using workflow definition data defining a workflow indicating a series of processes including image processing are conventionally known. For example, Japanese Patent Application Laid-Open No. 2002-200002 discloses a technique related to workflow. Japanese Patent Application Laid-Open No. 2002-200001 discloses a technique for using setting information for executing a workflow on a first workflow execution device to create setting information for executing the same workflow on a second workflow execution device. A configuration is disclosed in which default values are applied when the capabilities of one workflow execution device and the second workflow execution device are not equal.

特開2009-71447号公報JP 2009-71447 A

第1のデバイス(ワークフロー実行装置)で実行するワークフローを、第1のデバイスと能力が異なる第2のデバイスでも実行しようとする場合に、例えば特許文献1に開示されているように、能力が同等でない場合にデフォルト値を適用することで、ワークフローを第2のデバイスに引き継いでいる。しかしながら、第2のデバイスが第1のデバイスよりも高い能力を有している場合、第2のデバイスの能力を十分に活用できない。 When a workflow to be executed by a first device (workflow execution device) is to be executed by a second device having different capabilities from the first device, for example, as disclosed in Patent Document 1, If not, the workflow is carried over to the second device by applying default values. However, if the second device has higher capabilities than the first device, the capabilities of the second device cannot be fully utilized.

この課題の解決を目的としてなされたプログラムは、情報処理装置のコンピュータによって実行可能なプログラムであって、前記コンピュータに、ワークフロー定義データを読み出す読出し処理を実行させ、前記ワークフロー定義データは、画像処理を含む一連の処理を示すワークフローを定義したデータであり、前記ワークフローには、前記画像処理の実行対象となるデバイスと、前記画像処理に用いる設定値と、が設定可能であり、さらに前記コンピュータに、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに含まれる前記画像処理の実行対象となるデバイスの選択を、前記情報処理装置のユーザインタフェースを介して受け付ける選択処理を実行させ、さらに前記コンピュータに、前記選択処理にて選択された前記デバイスが、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに設定された設定値である第1設定値よりも上位の設定値である第2設定値に対応可能な場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第1設定値に代えて前記第2設定値で実行させる、ように構成される。 A program designed to solve this problem is a program that can be executed by a computer of an information processing apparatus, and causes the computer to execute a reading process for reading workflow definition data, and the workflow definition data is used for image processing. data defining a workflow indicating a series of processes including: executing a selection process of receiving, via a user interface of the information processing apparatus, a selection of a device to be subjected to the image processing included in the workflow defined in the workflow definition data read out in the readout process; and further instructing the computer that the device selected in the selection process is a first set value set in the workflow defined in the workflow definition data read out in the read process. when the workflow defined in the workflow definition data read out in the reading process is compatible with the second set value, which is a higher set value than the first set value, instead of the first set value. It is configured to execute with 2 set values.

本明細書に開示されるプログラムは、ワークフローを実行する際、ワークフローに含まれる画像処理の実行対象となるデバイスの選択を受け付け、選択されたデバイスがワークフローに設定された設定値よりも上位の設定値に対応可能な場合に、ワークフローを上位の設定値で実行させる。これにより、ワークフローに元々設定されていた設定値を利用する場合と比較して、選択されたデバイスの能力を十分に活用できる可能性が高まる。 When executing a workflow, the program disclosed in the present specification accepts selection of a device to be subjected to image processing included in the workflow, and the selected device is set higher than the setting value set in the workflow. Causes the workflow to run with the higher setting if the value can be accommodated. This increases the possibility of fully utilizing the capabilities of the selected device compared to using the settings originally set in the workflow.

上記プログラムが組み込まれた情報処理装置や画像処理装置、プログラムを格納するコンピュータにて読取可能な記憶媒体、およびプログラムの機能を実現するための制御方法も、新規で有用である。 The information processing apparatus and image processing apparatus in which the above program is installed, the computer-readable storage medium storing the program, and the control method for realizing the function of the program are also novel and useful.

本明細書に開示される技術によれば、ワークフロー定義データを利用可能なプログラムであって、画像処理を実行するデバイスの能力を十分に活用できる技術が実現される。 According to the technology disclosed in this specification, a program capable of using workflow definition data and capable of fully utilizing the capability of a device that performs image processing is realized.

PCの電気的構成を示すブロック図である。2 is a block diagram showing the electrical configuration of a PC; FIG. WF実行処理の手順を示すフローチャートである。FIG. 10 is a flow chart showing a procedure of WF execution processing; FIG. WFデータの例を示す説明図である。FIG. 4 is an explanatory diagram showing an example of WF data; デバイス選択処理の手順を示すフローチャートである。FIG. 10 is a flowchart showing the procedure of device selection processing; FIG. 高性能報知画面の例を示す説明図である。FIG. 11 is an explanatory diagram showing an example of a high performance notification screen; WF書換処理の手順を示すフローチャートである。FIG. 10 is a flow chart showing a procedure of WF rewriting processing; FIG. 低性能報知画面の例を示す説明図である。FIG. 11 is an explanatory diagram showing an example of a low performance notification screen; デバイス選択処理の手順を示すフローチャートである。FIG. 10 is a flowchart showing the procedure of device selection processing; FIG. デバイス選択画面の例を示す説明図である。FIG. 5 is an explanatory diagram showing an example of a device selection screen;

以下、実施の形態について、添付図面を参照しつつ詳細に説明する。本明細書では、パーソナルコンピュータ(以下、「PC」とする)にて実行されるプログラムについて開示する。 Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. This specification discloses a program executed by a personal computer (hereinafter referred to as "PC").

本形態のPC1は、図1に示すように、CPU11と、メモリ12と、を含むコントローラ10を備えている。PC1は、情報処理装置の一例であり、CPU11は、コンピュータの一例である。また、PC1は、ユーザインタフェース(以下、「ユーザIF」とする)13と、通信インタフェース(以下、「通信IF」とする)14と、を備え、これらがコントローラ10に電気的に接続されている。なお、図1中のコントローラ10は、PC1の制御に利用されるハードウェアやソフトウェアを纏めた総称であって、実際にPC1に存在する単一のハードウェアを表すとは限らない。 The PC 1 of this embodiment includes a controller 10 including a CPU 11 and a memory 12, as shown in FIG. The PC 1 is an example of an information processing device, and the CPU 11 is an example of a computer. The PC 1 also includes a user interface (hereinafter referred to as "user IF") 13 and a communication interface (hereinafter referred to as "communication IF") 14, which are electrically connected to the controller 10. . Note that the controller 10 in FIG. 1 is a general term for hardware and software used to control the PC 1 and does not necessarily represent a single piece of hardware that actually exists in the PC 1 .

CPU11は、メモリ12から読み出したプログラムに従って、また、ユーザの操作に基づいて、各種の処理を実行する。メモリ12には、各種のプログラムや各種のデータが記憶されている。メモリ12は、各種の処理が実行される際の作業領域としても利用される。CPU11が備えるバッファも、メモリの一例である。なお、メモリ12の一例は、PC1に内蔵されるROM、RAM、HDD等に限らず、CPU11が読み取り可能かつ書き込み可能なストレージ媒体、例えば、CD-ROM、DVD-ROM等の記録媒体であっても良い。 The CPU 11 executes various processes according to programs read from the memory 12 and based on user's operations. Various programs and various data are stored in the memory 12 . The memory 12 is also used as a work area when various processes are executed. A buffer provided in the CPU 11 is also an example of a memory. Note that an example of the memory 12 is not limited to the ROM, RAM, HDD, etc. built into the PC 1, but is a storage medium readable and writable by the CPU 11, such as a recording medium such as a CD-ROM, DVD-ROM, etc. Also good.

ユーザIF13は、ユーザに情報を報知するための画面を表示するハードウェアと、ユーザによる操作を受け付けるハードウェアと、を含む。なお、ユーザIF13は、情報を表示可能なディスプレイと、入力受付機能を有するマウスやキーボード等と、の組み合わせであっても良いし、表示機能と入力受付機能とを備えるタッチパネルであっても良い。 The user IF 13 includes hardware that displays a screen for informing the user of information, and hardware that accepts user operations. The user IF 13 may be a combination of a display capable of displaying information and a mouse or keyboard having an input reception function, or may be a touch panel having a display function and an input reception function.

通信IF14は、外部装置と通信を行うためのハードウェアを含む。通信IF14の通信規格は、イーサネット(登録商標)、Wi-Fi(登録商標)、USBなどである。PC1は、複数の通信規格に対応する複数の通信IF14を備えていても良い。本形態のPC1は、通信IF14を介してインターネットに接続可能であっても良く、インターネットを介して、各種のクラウドサービスを利用可能であっても良い。 The communication IF 14 includes hardware for communicating with external devices. The communication standard of the communication IF 14 is Ethernet (registered trademark), Wi-Fi (registered trademark), USB, or the like. The PC 1 may include multiple communication IFs 14 that support multiple communication standards. The PC 1 of this embodiment may be connectable to the Internet via the communication IF 14, and may be able to use various cloud services via the Internet.

本形態のPC1は、通信IF14を介して、例えば、図1に示すように、複数台の複合機(以下、「MFP」とする)3~5に接続されている。MFP3、MFP4、MFP5は、いずれも、画像形成機能と画像読取機能との少なくとも一方を備え、画像処理を実行可能な装置である。MFP3、MFP4、MFP5は、互いに同じモデルであっても良いし、異なるモデルのものが含まれていても良い。MFP3、MFP4、MFP5は、それぞれ、デバイスの一例である。 The PC 1 of the present embodiment is connected to a plurality of multifunction peripherals (hereinafter referred to as "MFPs") 3 to 5 via the communication IF 14, as shown in FIG. Each of MFP3, MFP4, and MFP5 is a device that has at least one of an image forming function and an image reading function and is capable of executing image processing. The MFP3, MFP4, and MFP5 may be of the same model, or may be of different models. Each of MFP3, MFP4, and MFP5 is an example of a device.

PC1のメモリ12には、図1に示すように、オペレーティングシステム(以下、「OS」とする)21と、画像処理アプリケーションプログラム(以下、「画像処理アプリ」とする)22と、が記憶されている。画像処理アプリ22は、プログラムの一例である。OS21は、例えば、Windows(登録商標)、macOS(登録商標)、Linux(登録商標)、iOS(登録商標)、Android(登録商標)である。 As shown in FIG. 1, the memory 12 of the PC 1 stores an operating system (hereinafter referred to as "OS") 21 and an image processing application program (hereinafter referred to as "image processing application") 22. there is The image processing application 22 is an example of a program. The OS 21 is, for example, Windows (registered trademark), macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), and Android (registered trademark).

画像処理アプリ22は、MFP3等のデバイスを利用するためのプログラムである。本形態の画像処理アプリ22は、MFP3~5のいずれにも対応可能なプログラムであり、ユーザの指示に基づいて、スキャンや印刷等の画像処理の実行指示をMFP3~5のいずれにも送信することができる。 The image processing application 22 is a program for using a device such as the MFP3. The image processing application 22 of this embodiment is a program compatible with any of the MFPs 3 to 5, and transmits an instruction to execute image processing such as scanning or printing to any of the MFPs 3 to 5 based on user instructions. be able to.

本形態の画像処理アプリ22は、さらに、ワークフローを利用可能である。ワークフローは、画像処理アプリ22に実行させる一連の処理であり、ワークフロー定義データ(以下、「WFデータ」とする)によって定義される。WFデータには、画像処理アプリ22に実行させる複数の処理とその実行順とを示す情報が記載される。WFデータに記載される複数の処理には、MFP3等のデバイスに実行させる画像処理が含まれる。 The image processing application 22 of this embodiment can also use a workflow. A workflow is a series of processes to be executed by the image processing application 22, and is defined by workflow definition data (hereinafter referred to as “WF data”). The WF data describes information indicating a plurality of processes to be executed by the image processing application 22 and their execution order. The multiple processes described in the WF data include image processing to be executed by a device such as the MFP3.

本形態の画像処理アプリ22は、WFデータの作成や登録の指示を受け付け可能であり、登録指示を受け付けたWFデータを、例えば、図1に示すように、PC1のメモリ12に記憶する。画像処理アプリ22は、複数のWFデータを登録可能であり、図1の例では、ワークフローをそれぞれ定義した2種類のWFデータ23、24が、PC1のメモリ12に記憶されている。画像処理アプリ22は、少なくとも1つのWFデータを登録可能であり、登録されているWFデータを指定しての実行の指示を受け付け可能である。WFデータの詳細については、後述する。 The image processing application 22 of the present embodiment can accept instructions for creating and registering WF data, and stores the WF data for which a registration instruction has been accepted in the memory 12 of the PC 1, for example, as shown in FIG. The image processing application 22 can register a plurality of WF data, and in the example of FIG. 1, two types of WF data 23 and 24 each defining a workflow are stored in the memory 12 of the PC 1 . The image processing application 22 can register at least one piece of WF data, and can accept an instruction to execute by designating the registered WF data. Details of the WF data will be described later.

続いて、画像処理アプリ22が組み込まれているPC1の動作について説明する。なお、以下の説明における処理およびフローチャートの各処理ステップは、基本的に、画像処理アプリ22などのプログラムに記述された命令に従ったCPU11の処理を示す。 Next, the operation of the PC 1 in which the image processing application 22 is installed will be described. It should be noted that the processing and each processing step in the flowcharts in the following description basically represent the processing of the CPU 11 according to commands written in programs such as the image processing application 22 .

登録済みのワークフローを実行する処理であるWF実行処理の手順について、図2のフローチャートを参照して説明する。WF実行処理は、画像処理アプリ22にて、実行対象のワークフローの選択と、選択されたワークフローの実行指示と、を受け付けたことを契機に、PC1のCPU11にて実行される。 A procedure of WF execution processing, which is processing for executing a registered workflow, will be described with reference to the flowchart of FIG. The WF execution process is executed by the CPU 11 of the PC 1 when the image processing application 22 receives a selection of a workflow to be executed and an instruction to execute the selected workflow.

WF実行処理では、CPU11は、実行対象として指定されたワークフローに対応するWFデータをメモリ12から読み出し、その記載内容を順に解析する(S101)。S101は、読出し処理および読出しステップの一例である。 In the WF execution process, the CPU 11 reads the WF data corresponding to the workflow designated to be executed from the memory 12, and sequentially analyzes the described contents (S101). S101 is an example of a readout process and a readout step.

S101にて読み出されるWFデータの例を図3に示す。WFデータ23は、例えば、図3に示すように、WF名31と、機能情報32と、を含む。WF名31は、WFデータ23を識別する名称である。画像処理アプリ22は、例えば、登録済みのWFデータのWF名の一覧をユーザIF13に表示して、ユーザの選択を受け付ける。CPU11は、例えば、ユーザの操作によってWF名31が選択された場合、WF名31に基づいて実行対象のWFデータ23を特定し、特定したWFデータ23をメモリ12から読み出す。 FIG. 3 shows an example of WF data read in S101. The WF data 23 includes, for example, a WF name 31 and function information 32, as shown in FIG. The WF name 31 is a name that identifies the WF data 23 . The image processing application 22, for example, displays a list of WF names of registered WF data on the user IF 13 and accepts user's selection. For example, when the WF name 31 is selected by the user's operation, the CPU 11 identifies the WF data 23 to be executed based on the WF name 31 and reads the identified WF data 23 from the memory 12 .

機能情報32は、画像処理アプリ22に実行させる複数の処理を、処理の実行順に指定した情報である。図3に示す例のWFデータ23は、まず、デバイスにスキャンを実行させ、次に、スキャン結果に基づくデータをアップロードするワークフローを定義したWFデータである。図3に示すように、機能情報32には、処理ごとに、処理の種類を示す種類情報321と、処理の実行時に利用される情報である設定情報322と、が含まれる。 The function information 32 is information specifying a plurality of processes to be executed by the image processing application 22 in order of execution of the processes. The WF data 23 in the example shown in FIG. 3 is WF data that defines a workflow of first causing the device to perform scanning and then uploading data based on the scanning results. As shown in FIG. 3, the function information 32 includes, for each process, type information 321 indicating the type of process, and setting information 322 that is information used when executing the process.

WFデータには、機能情報32として、スキャン、印刷、ファクシミリ送信等のMFP3等のデバイスの機能を利用する画像処理を定義することができる。また、WFデータには、機能情報32として、画像データの形式変換や、ダウンロード、アップロード等のPC1の機能を利用することで実行可能な処理を定義することができる。デバイスの機能を利用する処理の機能情報32には、種類情報321と設定情報322に加えて、その機能を実行させるデバイスを示すデバイス情報323が含まれる。デバイスの機能を利用しない処理の機能情報32には、デバイス情報323は含まれない。 In the WF data, image processing using the functions of the device such as the MFP 3 such as scanning, printing, and facsimile transmission can be defined as function information 32 . In addition, in the WF data, as the function information 32, it is possible to define processes that can be executed by using the functions of the PC 1, such as format conversion of image data, download, and upload. The function information 32 of the process using the function of the device includes, in addition to the type information 321 and setting information 322, device information 323 indicating the device that executes the function. Device information 323 is not included in function information 32 for processing that does not use device functions.

本形態の画像処理アプリ22は、WFデータのデバイス情報323として、個別指定と実行時選択とのいずれかを設定可能である。個別指定は、その機能を利用して処理を実行させる個別のデバイスをあらかじめ特定して、特定したデバイスを示す情報である。個別指定の場合、WFデータのデバイス情報323は、例えば、デバイス名、ノード名、IPアドレス、MACアドレス、シリアルナンバー、である。 The image processing application 22 of this embodiment can set either individual specification or runtime selection as the device information 323 of the WF data. The individual designation is information that preliminarily specifies an individual device whose function is to be used to execute processing, and indicates the specified device. In the case of individual designation, the device information 323 of WF data is, for example, device name, node name, IP address, MAC address, and serial number.

実行時選択は、その機能を利用して処理を実行させるデバイスをあらかじめ特定せず、ワークフローの実行時に選択することを示す情報である。実行時選択は、画像処理の実行対象となるデバイスを未確定とする設定の一例である。図3に示した例のWFデータ23には、スキャンを実行させるデバイスを示すデバイス情報323として、「実行時選択」が設定されている。 The run-time selection is information indicating that the device that uses the function to execute the process is not specified in advance, but is selected when the workflow is run. Execution selection is an example of a setting in which a device to be subjected to image processing is undetermined. In the WF data 23 of the example shown in FIG. 3, "execution selection" is set as the device information 323 indicating the device for executing the scan.

CPU11は、S101での解析結果に基づいて、WFデータに記載されている順に、1つの処理を実行対象とする。CPU11は、実行対象の処理が、デバイスの機能を利用する処理であるか否かを判断する(S102)。 Based on the analysis result in S101, the CPU 11 executes one process in the order described in the WF data. The CPU 11 determines whether or not the process to be executed is a process that uses the function of the device (S102).

実行対象の処理が、ダウンロードやアップロード等の、デバイスの機能を利用しない処理であると判断した場合(S102:NO)、CPU11は、デバイスを利用せずに実行対象の処理を実行する(S105)。実行後、CPU11は、読み出したWFデータに、次の処理が記載されているか否かを判断する(S106)。次の処理が無い、すなわち、WFデータに記載されている処理を全て実行したと判断した場合(S106:NO)、CPU11は、WF実行処理を終了する。次の処理が有ると判断した場合(S106:YES)、CPU11は、次の処理を実行対象として、S102の判断に戻る。 When determining that the process to be executed is a process that does not use the function of the device, such as downloading or uploading (S102: NO), the CPU 11 executes the process to be executed without using the device (S105). . After the execution, the CPU 11 determines whether or not the next process is described in the read WF data (S106). If there is no next process, that is, if it is determined that all the processes described in the WF data have been executed (S106: NO), the CPU 11 terminates the WF execution process. When determining that there is the next process (S106: YES), the CPU 11 sets the next process as an execution target and returns to the determination of S102.

実行対象の処理が、印刷やスキャン等の、デバイスの機能を利用する処理であると判断した場合(S102:YES)、CPU11は、その処理についてWFデータに記載されているデバイス情報が、個別指定であるか実行時選択であるかを判断する(S111)。個別指定であると判断した場合(S111:個別指定)、CPU11は、デバイス情報によって指定されているデバイスに処理の実行を指示する(S112)。具体的には、CPU11は、デバイス情報によって指定されているデバイスに、種類情報321によって指定されている処理の実行を指示するコマンドと、設定情報322に基づくパラメータと、を送信する。 If the CPU 11 determines that the process to be executed is a process that uses the function of the device, such as printing or scanning (S102: YES), the CPU 11 determines that the device information described in the WF data for that process is individually specified. or execution time selection (S111). If it is determined to be individual designation (S111: individual designation), the CPU 11 instructs the device designated by the device information to execute processing (S112). Specifically, the CPU 11 transmits a command for instructing execution of processing specified by the type information 321 and parameters based on the setting information 322 to the device specified by the device information.

そして、CPU11は、デバイスでの処理の実行に成功したか否かを判断する(S113)。デバイスは、受信したコマンドとパラメータとに基づいて、指示された処理を実行し、適切に処理の実行を完了した場合、成功したことを示す情報をPC1に返信する。CPU11は、S113では、コマンドを送信したデバイスから処理の実行に成功したことを示す情報を受信したか否かを判断する。処理の実行に成功したと判断した場合(S113:YES)、CPU11は、S106に進み、WFデータに次の処理が記載されていれば、次の処理を実行する。 Then, the CPU 11 determines whether or not the device has successfully executed the process (S113). The device executes the instructed process based on the received command and parameters, and returns information indicating success to the PC 1 when the execution of the process is properly completed. In S113, the CPU 11 determines whether or not information indicating successful execution of the process has been received from the device that transmitted the command. If it is determined that the process has been successfully executed (S113: YES), the CPU 11 proceeds to S106, and if the next process is described in the WF data, it executes the next process.

一方、処理の実行に成功しなかったと判断した場合(S113:NO)、具体的には、処理の実行に成功したことを示す情報を受信できなかった場合、CPU11は、エラーを報知する(S115)。例えば、処理の実行前または実行中にデバイスでエラーが発生した場合、エラーを示す情報が、デバイスからPC1に送信される。また、例えば、メンテナンス中などによってデバイスが利用できない状態である場合や、PC1とデバイスとの通信が不調である場合など、所定の時間内にデバイスから実行結果を示す情報を受信しなかった場合にも、CPU11は、処理の実行に成功しなかったと判断する。 On the other hand, if it is determined that the execution of the process has not succeeded (S113: NO), specifically, if the information indicating that the execution of the process has succeeded has not been received, the CPU 11 notifies an error (S115). ). For example, if an error occurs in the device before or during execution of processing, information indicating the error is sent from the device to the PC1. Also, for example, when the device is in a state where it cannot be used due to maintenance, or when communication between the PC 1 and the device is malfunctioning, and when information indicating the execution result is not received from the device within a predetermined time. Also, the CPU 11 determines that the execution of the process has not succeeded.

さらに、CPU11は、別のデバイスの再選択、または、ワークフローの実行のキャンセル、のいずれかのユーザの選択を受け付ける(S116)。別のデバイスの再選択の指示は、WFデータのデバイス情報によって示されるデバイスとは別のデバイスにてワークフローの処理を実行させる指示である。先ずWFデータに基づいて実行を開始するので、WFデータにもともと設定されているデバイスでの実行が完了できる可能性が高まる。その上で、その実行が完了しなかった場合に別のデバイスの選択を受け付けるので、ワークフローの実行を完了できる可能性が高まる。 Furthermore, the CPU 11 accepts the user's selection of either reselecting another device or canceling execution of the workflow (S116). The instruction to reselect another device is an instruction to execute workflow processing on a device other than the device indicated by the device information of the WF data. Since the execution is first started based on the WF data, it is more likely that execution can be completed on the device originally set in the WF data. On top of that, since the selection of another device is accepted if the execution is not completed, the possibility of completing the execution of the workflow increases.

キャンセルの指示は、選択したワークフローの実行をキャンセルする指示である。キャンセルの指示を受け付けたと判断した場合(S116:キャンセル)、CPU11は、WF実行処理を終了する。WFデータにもともと設定されているデバイス以外のデバイスにてワークフローを実行させる必要がない場合、ユーザは、キャンセルを選択することで、ワークフローの実行を中止させることができる。 The cancel instruction is an instruction to cancel execution of the selected workflow. When determining that the instruction to cancel has been received (S116: Cancel), the CPU 11 terminates the WF execution process. If there is no need to execute the workflow on a device other than the device originally set in the WF data, the user can cancel execution of the workflow by selecting cancel.

WFデータに含まれるデバイス情報が、実行時選択であると判断した場合(S111:実行時選択)、または、エラーを報知した後にデバイスの再選択が選択されたと判断した場合(S116:デバイス再選択)、CPU11は、デバイス選択処理を実行する(S121)。デバイス選択処理は、WFデータに含まれる画像処理の実行対象となるデバイスの選択を受け付け、選択されたデバイスに画像処理を実行させる処理である。本形態では、ワークフローを実行する度にデバイスの選択を受け付ける実行時選択の設定が可能なので、ワークフローを実行する際の自由度が高まる。 If it is determined that the device information included in the WF data is selected at runtime (S111: Selected at runtime), or if it is determined that reselection of the device was selected after an error was notified (S116: Device reselection ), the CPU 11 executes a device selection process (S121). The device selection process is a process of receiving a selection of a device to execute image processing included in WF data and causing the selected device to execute image processing. In this embodiment, it is possible to set runtime selection to receive device selection each time the workflow is executed, so the degree of freedom in executing the workflow is increased.

デバイス選択処理の手順について、図4のフローチャートを参照して説明する。デバイス選択処理では、CPU11は、PC1に接続可能な全てのデバイスの情報を取得し、ユーザIF13に一覧表示させて、ユーザによるデバイスの選択を受け付ける(S201)。S201は、選択処理および選択ステップの一例である。CPU11は、OS21からPC1に接続されている全てのデバイスの情報を取得しても良いし、画像処理アプリ22に登録済みのデバイスの情報を取得しても良い。また、WF実行処理のS115にてエラーを報知した場合には、CPU11は、エラーであったデバイスの情報を除いて、それ以外のデバイスのみを表示させても良い。 The procedure of device selection processing will be described with reference to the flowchart of FIG. In the device selection process, the CPU 11 acquires information on all devices connectable to the PC 1, displays a list on the user IF 13, and receives device selection by the user (S201). S201 is an example of a selection process and a selection step. The CPU 11 may acquire information on all devices connected to the PC 1 from the OS 21 or may acquire information on devices registered in the image processing application 22 . Further, when an error is reported in S115 of the WF execution process, the CPU 11 may display only the devices other than the information on the device that caused the error.

デバイスの選択を受け付けたら、CPU11は、選択されたデバイスと通信し、そのデバイスから能力情報を取得する(S205)。S205は、取得処理の一例である。能力情報は、デバイスの備える機能の情報と、各機能に設定可能な設定値を示す情報と、を含む。CPU11は、取得した能力情報に基づいて、選択されたデバイスが実行対象の画像処理を実行する機能を有しているか否かを判断する(S206)。例えば、実行対象の画像処理がスキャン処理であって、選択されたデバイスが印刷機能のみを備えるプリンタであれば、CPU11は、選択されたデバイスは機能を有していないと判断する。 After accepting the selection of the device, the CPU 11 communicates with the selected device and acquires the capability information from the device (S205). S205 is an example of an acquisition process. The capability information includes information on functions provided by the device and information indicating setting values that can be set for each function. Based on the acquired capability information, the CPU 11 determines whether or not the selected device has the function of executing the image processing to be executed (S206). For example, if the image processing to be executed is scan processing and the selected device is a printer having only a print function, the CPU 11 determines that the selected device does not have the function.

選択されたデバイスが機能を有していないと判断した場合(S206:NO)、CPU11は、処理を実行不可能である旨を報知し(S207)、S201に戻って、デバイスの一覧を再表示して、別のデバイスの選択を受け付ける。 If it is determined that the selected device does not have the function (S206: NO), the CPU 11 notifies that the process cannot be executed (S207), returns to S201, and redisplays the list of devices. to accept another device selection.

なお、CPU11は、S205にて、能力情報に加えて、現在のステータスを示す情報もデバイスから取得しても良い。そして、そのデバイスのステータスが、使用中やエラー中であって、すぐには利用できない場合にも、CPU11は、その旨を報知して別のデバイスの再選択を受け付ける、としても良い。 Note that the CPU 11 may also acquire information indicating the current status from the device in S205 in addition to the ability information. Then, even if the status of the device is in use or in error, and the device cannot be used immediately, the CPU 11 may notify that fact and accept the reselection of another device.

選択されたデバイスが機能を有していると判断した場合(S206:YES)、CPU11は、デバイスの能力とWFデータの情報とを比較する(S211)。具体的には、CPU11は、S205にて取得したデバイスの能力情報に基づいて、実行対象の画像処理について、WFデータに含まれる設定情報によって示される設定値と、選択されたデバイスの能力にて対応可能な設定値と、を比較する。WFデータに含まれる設定情報によって示される設定値は、第1設定値の一例である。S211では、CPU11は、デバイスの能力が設定情報より高い、または、デバイスの能力と設定情報とが同等、または、デバイスの能力が設定情報より低い、のいずれであるかを判断する。 When determining that the selected device has the function (S206: YES), the CPU 11 compares the device capability with the WF data information (S211). Specifically, based on the device capability information acquired in S205, the CPU 11 determines the image processing to be executed using the setting values indicated by the setting information included in the WF data and the capability of the selected device. Comparable set values and . A setting value indicated by setting information included in the WF data is an example of a first setting value. In S211, the CPU 11 determines whether the device capability is higher than the setting information, the device capability and the setting information are equal, or the device capability is lower than the setting information.

CPU11は、まず、WFデータに含まれる設定情報によって示される設定値の全てに、デバイスが対応可能であるか否かを判断し、デバイスにて対応不可能な設定値がWFデータに含まれていると判断した場合、デバイスの能力が設定情報より低いと判断する。例えば、実行対象の画像処理がスキャン処理であって、設定情報にカラー読み取りの設定が含まれ、選択されたデバイスがモノクロ読み取りしかできない場合、デバイスの能力が設定情報より低いと判断する。また、例えば、実行対象の画像処理がスキャン処理であって、設定情報に含まれる読み取り解像度よりも低解像度での読み取りしかできない場合、デバイスの能力が設定情報より低いと判断する。 The CPU 11 first determines whether or not the device can handle all of the setting values indicated by the setting information included in the WF data. If so, it is determined that the capability of the device is lower than the setting information. For example, if the image processing to be executed is scan processing, the setting information includes a setting for color reading, and the selected device can only read in monochrome, it is determined that the capability of the device is lower than the setting information. Also, for example, if the image processing to be executed is scanning processing and only reading at a resolution lower than the reading resolution included in the setting information can be performed, it is determined that the capability of the device is lower than the setting information.

一方、WFデータに含まれる設定情報によって示される全ての設定値にデバイスが対応可能である場合、CPU11は、選択されたデバイスにて対応可能な最上位の設定値と、WFデータの設定値とを比較する。具体的には、CPU11は、設定情報のうち、読み取り解像度、印刷解像度や印刷品質、カラー読み取りやカラー印刷の可否等、少なくとも比較可能な能力を比較する。そして、デバイスにて対応可能な最上位の設定値のうちの少なくとも1つが、WFデータの設定値よりも上位の設定値であれば、CPU11は、デバイスの能力が設定情報より高いと判断する。 On the other hand, if the device is compatible with all setting values indicated by the setting information included in the WF data, the CPU 11 selects the highest setting value compatible with the selected device and the setting value of the WF data. compare. Specifically, the CPU 11 compares at least comparable capabilities, such as read resolution, print resolution and print quality, whether or not color reading and color printing are possible, among the setting information. If at least one of the highest setting values that can be handled by the device is higher than the setting value of the WF data, the CPU 11 determines that the capability of the device is higher than the setting information.

例えば、実行対象の画像処理がスキャン処理であって、設定情報にモノクロ読み取りの設定が含まれ、選択されたデバイスがカラー読み取り可能な装置であれば、CPU11は、デバイスの能力が設定情報より高いと判断する。また、例えば、実行対象の画像処理がスキャン処理であって、設定情報に含まれる読み取り解像度よりも高解像度での読み取りが可能であれば、CPU11は、デバイスの能力が設定情報より高いと判断する。また、例えば、実行対象の画像処理が印刷処理であって、設定情報にモノクロ印刷の設定が含まれ、選択されたデバイスがカラー印刷を実行可能な装置であれば、CPU11は、デバイスの能力が設定情報より高いと判断する。 For example, if the image processing to be executed is scanning processing, the setting information includes a setting for monochrome reading, and the selected device is a device capable of color reading, the CPU 11 determines that the device has a higher capability than the setting information. I judge. Further, for example, if the image processing to be executed is scan processing and reading at a higher resolution than the reading resolution included in the setting information is possible, the CPU 11 determines that the device capability is higher than the setting information. . Further, for example, if the image processing to be executed is print processing, the setting information includes a setting for monochrome printing, and the selected device is a device capable of executing color printing, the CPU 11 determines that the device capability is Judged to be higher than the setting information.

一方、デバイスにて対応可能な最上位の設定値の全てが、WFデータの設定値と同等であれば、CPU11は、デバイスの能力と設定情報とが同等であると判断する。例えば、実行対象の画像処理がスキャン処理であって、設定情報に含まれる読み取り解像度と選択されたデバイスで読み取り可能な最高の解像度とが等しい場合、CPU11は、デバイスの能力と設定情報とが同等であると判断する。また、例えば、実行対象の画像処理が印刷処理であって、設定情報に含まれる印刷解像度と選択されたデバイスで印刷可能な最高の解像度とが等しい場合、CPU11は、デバイスの能力と設定情報とが同等であると判断する。 On the other hand, if all of the highest setting values that can be handled by the device are equivalent to the setting values of the WF data, the CPU 11 determines that the capabilities of the device and the setting information are equivalent. For example, if the image processing to be executed is scan processing and the reading resolution included in the setting information is equal to the highest resolution readable by the selected device, the CPU 11 determines that the device capability and the setting information are equal. We judge that it is. Further, for example, if the image processing to be executed is print processing and the print resolution included in the setting information is equal to the maximum printable resolution of the selected device, the CPU 11 determines the capability of the device and the setting information. are equivalent.

比較の結果、デバイスの能力と設定情報とが同等であると判断した場合(S211:同等)、CPU11は、WFデータに含まれる設定情報に基づいて、ワークフローに設定された設定値で、選択されたデバイスに画像処理の実行を指示する(S212)。 As a result of the comparison, if it is determined that the device capability and the setting information are equivalent (S211: equivalent), the CPU 11 selects the setting value set in the workflow based on the setting information included in the WF data. Instruct the device to execute image processing (S212).

選択されたデバイスの能力が設定情報より高いと判断した場合(S211:高い)、CPU11は、デバイスの能力が高いことを報知し(S221)、ユーザの入力を受け付ける(S222)。具体的には、CPU11は、選択されたデバイスにて利用可能な設定値の情報を報知し、WFデータの設定情報よりも上位の設定値を利用するか否かについて、ユーザの入力を受け付ける。上位の設定値は、第2設定値の一例であり、S222にて受け付ける入力は、第2設定値を利用するか否かの入力の一例である。上位の設定値を利用する前に、上位の設定値を利用するか否かをユーザに確認することで、ユーザの意図しない処理の実行を回避できる。 When determining that the selected device has higher capability than the setting information (S211: High), the CPU 11 notifies that the device has higher capability (S221) and accepts user input (S222). Specifically, the CPU 11 notifies information about setting values that can be used by the selected device, and accepts user input as to whether or not setting values higher than the setting information of the WF data are to be used. The upper set value is an example of a second set value, and the input received in S222 is an example of an input as to whether or not to use the second set value. By confirming with the user whether or not to use the higher setting value before using the higher setting value, it is possible to avoid execution of processing unintended by the user.

CPU11は、例えば、図5に示すように、高性能報知画面51をユーザIF13に表示させる。高性能報知画面51には、WFデータの設定情報511と、選択されたデバイスにて利用可能な設定値の情報512と、デバイスの能力に合わせて設定値を変更して実行するか、WFデータの設定情報の設定値のままで実行するか、の選択を受け付けるラジオボタン513と、選択を決定するOKボタン514と、が含まれる。 The CPU 11 causes the user IF 13 to display a high performance notification screen 51, for example, as shown in FIG. On the high performance notification screen 51, setting information 511 of WF data, information 512 of setting values that can be used by the selected device, and whether to change the setting values according to the capability of the device and execute or execute the WF data A radio button 513 for accepting selection of whether to execute the setting information as is, and an OK button 514 for determining the selection are included.

ユーザの入力に基づいて、WFデータの設定情報の設定値のままで実行する、が選択されたと判断した場合(S222:そのまま)、CPU11は、S212に進み、選択されたデバイスに、WFデータに含まれる設定情報の設定値での画像処理の実行を指示する。 If it is determined based on the user's input that the setting value of the setting information of the WF data has been selected (S222: As is), the CPU 11 advances to S212 and transfers the selected device to the WF data. Instructs execution of image processing with the setting values of the included setting information.

一方、ユーザの入力に基づいて、設定値を変更して実行する、が選択されたと判断した場合(S222:設定変更)、CPU11は、WFデータの設定値ではなく、選択されたデバイスにて対応可能な最上位の設定値での画像処理の実行を指示する(S223)。S223は、ワークフロー実行処理およびワークフロー実行ステップの一例である。S223にてデバイスに指示する最上位の設定値は、第2設定値の一例である。なお、設定変更後の設定値は、WFデータの設定値より上位の設定値であればよいが、デバイスにて対応可能な最上位の設定値に設定することで、実行対象のデバイスの能力を十分に発揮できる可能性がより高まる。 On the other hand, if it is determined that the setting value is changed and executed based on the user's input is selected (S222: setting change), the CPU 11 uses the selected device instead of the setting value of the WF data. Execution of image processing with the highest possible setting value is instructed (S223). S223 is an example of a workflow execution process and a workflow execution step. The highest setting value instructed to the device in S223 is an example of the second setting value. Note that the setting value after the setting change may be higher than the setting value of the WF data. more likely to perform well.

なお、複数の設定項目について、WFデータの設定値よりも上位の設定値にデバイスが対応可能な場合、CPU11は、対応可能な設定項目の情報をユーザIF13に表示させて、設定項目ごとに設定を変更するか否かの選択を受け付けても良い。また、デバイスでの最上位の設定値とWFデータの設定情報の設定値との間に、選択可能な中間の設定値がある場合、CPU11は、選択可能な複数の設定値をユーザIF13に表示させて、ユーザによる設定値の選択を受け付けても良い。これらの場合にも、S222にて設定を変更して実行するが選択されたと判断したら、CPU11は、ユーザの選択に基づいて、設定値を変更してデバイスに実行を指示する。 If the device can support setting values higher than the setting values of the WF data for a plurality of setting items, the CPU 11 causes the user IF 13 to display information on the setting items that can be supported, and sets each setting item. may be accepted. Also, if there is a selectable intermediate setting value between the highest setting value in the device and the setting value of the WF data setting information, the CPU 11 displays a plurality of selectable setting values on the user IF 13. It is also possible to accept the selection of setting values by the user. Also in these cases, if it is determined in S222 that the user has selected to change the setting and execute, the CPU 11 changes the setting value based on the user's selection and instructs the device to execute.

そして、CPU11は、WFデータに含まれているデバイス情報が個別指定であるか否かを判断する(S225)。個別指定であると判断した場合(S225:YES)、CPU11は、今回の実行に利用したデバイスや設定値に基づいて、WFデータを書き換えるか否かを判断する(S226)。CPU11は、例えば、WFデータの書き換えが可能であることを報知し、WFデータを書き換えるか否かのユーザの入力を受け付ける。 Then, the CPU 11 determines whether or not the device information included in the WF data is individual designation (S225). If it is determined that it is individual designation (S225: YES), the CPU 11 determines whether or not to rewrite the WF data based on the device and set values used in the current execution (S226). For example, the CPU 11 notifies that the WF data can be rewritten, and accepts user input as to whether or not to rewrite the WF data.

WFデータを書き換えると判断した場合(S226:YES)、CPU11は、WF書換処理を実行する(S227)。WFデータを書き換える前に、書き換えるか否かをユーザに確認することで、ユーザの意図しない書き換えを回避できる。 When determining to rewrite the WF data (S226: YES), the CPU 11 executes WF rewriting processing (S227). By confirming with the user whether or not to rewrite the WF data before rewriting, rewriting unintended by the user can be avoided.

WF書換処理の手順について、図6のフローチャートを参照して説明する。WF書換処理では、CPU11は、WF実行処理のS101にて読み出した実行対象のWFデータのデバイス情報と設定情報とを、デバイス選択処理のS223にて実行に利用した各情報に基づいて書き換える(S301)。S301は、書換処理の一例である。これにより、次回、そのWFデータを読み出した場合には、CPU11は、書き換えられた実行対象のデバイスと設定値とを初めから利用できる。 The procedure of WF rewrite processing will be described with reference to the flowchart of FIG. In the WF rewriting process, the CPU 11 rewrites the device information and setting information of the WF data to be executed read in S101 of the WF execution process based on each information used for execution in S223 of the device selection process (S301 ). S301 is an example of rewrite processing. As a result, when the WF data is read out next time, the CPU 11 can use the rewritten execution target device and setting values from the beginning.

次に、CPU11は、メモリ12に記憶されているWFデータのうち、実行対象のWFデータと同じデバイス情報を含む他のWFデータを抽出して、抽出したWFデータのWF名を一覧表示する(S302)。S302では、CPU11は、実行対象のWFデータのうち、デバイス選択処理のS223にて実行を指示した画像処理と同じ画像処理について、実行対象のWFデータと同じデバイス情報であって同じ設定情報が設定されているWFデータを抽出する。S302にて抽出される他のWFデータは、特定ワークフロー定義データの一例であり、S302にて抽出される他のWFデータによって定義されるワークフローは、特定ワークフローの一例である。 Next, the CPU 11 extracts other WF data including the same device information as the WF data to be executed from among the WF data stored in the memory 12, and displays a list of the WF names of the extracted WF data ( S302). In S302, the CPU 11 sets the same device information and the same setting information as the WF data to be executed for the same image processing as the image processing instructed to be executed in S223 of the device selection processing among the WF data to be executed. Extract WF data. The other WF data extracted in S302 is an example of specific workflow definition data, and the workflow defined by the other WF data extracted in S302 is an example of a specific workflow.

そして、CPU11は、一覧表示した他のWFデータについても、書き換えるか否かのユーザの入力を受け付ける(S303)。ユーザの入力に基づいて、他のWFデータも書き換えると判断した場合(S303:YES)、CPU11は、S302にて一覧表示した全てのWFデータを書き換える(S304)。CPU11は、これらのWFデータのデバイス情報と設定情報とを、デバイス選択処理のS223にて実行に利用した情報に書き換える。S304は、特定書換処理の一例である。WFデータを書き換えることで、以後、他のワークフローの実行時にも、今回選択されたデバイスと設定値とを利用できる。 Then, the CPU 11 accepts the user's input as to whether or not to rewrite the other WF data displayed as a list (S303). If the CPU 11 determines to rewrite other WF data based on the user's input (S303: YES), the CPU 11 rewrites all the WF data listed in S302 (S304). The CPU 11 rewrites the device information and setting information of these WF data with the information used for execution in S223 of the device selection process. S304 is an example of specific rewrite processing. By rewriting the WF data, the device and setting values selected this time can be used thereafter when executing other workflows.

同じ画像処理について同じデバイスかつ同じ設定値が設定されている他のWFデータも書き換えることで、他のWFデータは、実行しなくても適切な設定値に書き換えられる。例えば、同じデバイスを用いるワークフローが複数登録されている場合であって、そのデバイスを買い換えた場合には、複数のWFデータについて個々に修正する手間を省くことができる。なお、CPU11は、一覧表示した個々のWFデータについて、書き換えるか否かの選択を受け付けても良い。 By rewriting other WF data for the same image processing with the same device and the same setting values, the other WF data can be rewritten to appropriate setting values without execution. For example, if a plurality of workflows using the same device are registered and the device is replaced by a new one, the trouble of individually correcting a plurality of WF data can be saved. Note that the CPU 11 may accept a selection as to whether or not to rewrite each piece of WF data displayed as a list.

S304の後、または、他のWFデータは書き換えないと判断した場合(S303:NO)、CPU11は、WF書換処理を終了して、デバイス選択処理に戻る。 After S304, or if it is determined that other WF data will not be rewritten (S303: NO), the CPU 11 ends the WF rewriting process and returns to the device selection process.

図4のデバイス選択処理の説明に戻る。選択されたデバイスの能力がWFデータの設定情報より低いと判断した場合(S211:低い)、CPU11は、デバイスの能力が低いことを報知し(S231)、ユーザの入力を受け付ける(S232)。具体的には、CPU11は、選択されたデバイスがWFデータの設定値での処理を実行不可能であることを報知し、選択されたデバイスにて実行可能な範囲の設定値であって、WFデータの設定値よりも下位の設定値を利用するか否かについて、ユーザの入力を受け付ける。下位の設定値は、第3設定値の一例であり、S232にて受け付ける入力は、第3設定値を利用するか否かの入力の一例である。下位の設定値を利用する前に、下位の設定値を利用するか否かをユーザに確認することで、ユーザの意図しない処理の実行を回避できる。 Returning to the description of the device selection process in FIG. If it is determined that the selected device's capability is lower than the setting information of the WF data (S211: low), the CPU 11 notifies that the device's capability is low (S231) and accepts the user's input (S232). Specifically, the CPU 11 notifies that the selected device cannot execute processing with the set value of the WF data, and sets the set value within the range that can be executed by the selected device. User input is accepted as to whether or not to use a setting value lower than the data setting value. The lower set value is an example of a third set value, and the input received in S232 is an example of an input as to whether or not to use the third set value. By confirming with the user whether or not to use the lower set value before using the lower set value, it is possible to avoid execution of processing unintended by the user.

CPU11は、例えば、図7に示すように、低性能報知画面52をユーザIF13に表示させる。低性能報知画面52には、WFデータの設定情報521と、選択されたデバイスにて利用可能な設定値の情報522と、デバイスにて実行可能な設定値に変更して実行するか、別のデバイスを選択するか、の選択を受け付けるラジオボタン523と、選択を決定するOKボタン524と、が含まれる。 The CPU 11 causes the user IF 13 to display a low performance notification screen 52, for example, as shown in FIG. On the low performance notification screen 52, setting information 521 of WF data, information 522 of setting values that can be used by the selected device, and setting values that can be executed by the device are changed and executed, or A radio button 523 for selecting a device or accepting a selection and an OK button 524 for confirming the selection are included.

ユーザの入力に基づいて、デバイスにて実行可能な設定値に変更して画像処理を実行する、であると判断した場合(S232:設定変更)、CPU11は、WFデータの設定値ではなく、選択されたデバイスにて実行可能な最上位の設定値での画像処理の実行を指示する(S233)。S233にてデバイスに指示する最上位の設定値は、第3設定値の一例である。選択されたデバイスがWFデータの設定値に対応していない場合であっても、下位の設定値であれば実行可能な場合、下位の設定値で実行させることで、ワークフローを実行できない状況を回避できる。 If it is determined based on the user's input that the image processing is to be executed by changing the setting values that can be executed by the device (S232: setting change), the CPU 11 changes the setting value of the WF data to the selected value. Execution of image processing with the highest setting value that can be executed by the device that has been selected is instructed (S233). The highest setting value instructed to the device in S233 is an example of the third setting value. Even if the selected device does not support the setting value of WF data, if it can be executed with the lower setting value, by executing with the lower setting value, the situation where the workflow cannot be executed is avoided. can.

なお、S233で利用する設定値は、実行可能な最上位の設定値に限らず、WFデータの設定値よりも下位の設定値であって、デバイスにて実行可能な設定値であれば良い。ただし、デバイスで実行可能な最上位の設定値を利用すれば、デバイスの能力を十分に活用できる可能性が高まる。また、デバイスにて実行可能な設定値が複数有る場合、CPU11は、選択可能な複数の設定値の情報をユーザIF13に表示させて、ユーザによる設定値の選択を受け付けても良い。 Note that the setting value used in S233 is not limited to the highest executable setting value, and may be any setting value lower than the setting value of the WF data and executable by the device. However, using the highest setting possible on the device increases the chances of fully utilizing the capabilities of the device. Further, when there are a plurality of setting values that can be executed by the device, the CPU 11 may display information on a plurality of selectable setting values on the user IF 13 and accept selection of the setting values by the user.

ユーザの選択が、別のデバイスを選択する、であると判断した場合(S232:別デバイス)、CPU11は、S201に戻って、デバイスの一覧を再表示し、再度、ユーザによるデバイスの選択を受け付ける。この場合、CPU11は、先に実行したS201にて選択されたデバイスの情報を除いて、それ以外のデバイスのみを表示させても良い。 If it is determined that the user's selection is to select another device (S232: another device), the CPU 11 returns to S201, displays the device list again, and accepts the device selection by the user again. . In this case, the CPU 11 may display only the devices other than the information on the device selected in S201 previously executed.

S212、S227、S233の後、CPU11は、デバイス選択処理を終了し、WF実行処理に戻る。WF実行処理では、デバイス選択処理の後、S106に進み、WFデータに次の実行対象の処理が記載されているか否かを判断する。次の処理が無いと判断した場合(S106:NO)、CPU11は、WF実行処理を終了する。 After S212, S227, and S233, the CPU 11 ends the device selection process and returns to the WF execution process. In the WF execution process, after the device selection process, the process advances to S106 to determine whether or not the next execution target process is described in the WF data. When determining that there is no next process (S106: NO), the CPU 11 terminates the WF execution process.

なお、CPU11は、S212、S223、S233にて処理の実行を指示した場合も、前述したWF実行処理のS113と同様に、処理の実行に成功したか否かを判断すると良い。処理の実行に成功しなかったと判断した場合には、CPU11は、例えば、S201に戻って、デバイスの再選択を受け付けても良い。 It should be noted that the CPU 11 may also determine whether or not the execution of the process was successful in the same manner as in S113 of the WF execution process described above, even when the execution of the process is instructed in S212, S223, and S233. If the CPU 11 determines that the execution of the process has not succeeded, the CPU 11 may return to S201 and accept re-selection of the device, for example.

また、CPU11は、S201にて一覧表示をした後、S207にて実行不可能を報知する報知画面、S221にて表示させる高性能報知画面51、S231にて表示させる低性能報知画面52でも、ワークフローの実行をキャンセルする指示を受け付け可能であっても良い。これらの画面でキャンセルの指示を受け付けた場合、CPU11は、デバイス選択処理を終了し、WF実行処理に戻って、WF実行処理を終了する。 In addition, after displaying the list in S201, the CPU 11 also displays a notification screen for notifying execution impossibility in S207, a high performance notification screen 51 displayed in S221, and a low performance notification screen 52 displayed in S231. It may be possible to receive an instruction to cancel the execution of When receiving a cancel instruction on these screens, the CPU 11 ends the device selection process, returns to the WF execution process, and ends the WF execution process.

なお、図4に示したデバイス選択処理では、S201にてデバイスの選択を受け付けた後に、S205にて選択されたデバイスの能力の情報を取得するとしたが、能力を勘案してデバイスを選択できるように、選択可能な各デバイスの能力の情報をあらかじめ取得して報知しても良い。このような構成とした場合のデバイス選択処理の手順について、図8のフローチャートを参照して説明する。図8に示すデバイス選択処理は、図4に示したデバイス選択処理に代えて、図2のWF実行処理のS121にて実行される。なお、図8および以下の説明では、図4に示したデバイス選択処理と同様の手順については、同じ符号を付して、説明を簡略化する。 In the device selection process shown in FIG. 4, after receiving the selection of the device in S201, information on the capability of the device selected in S205 is obtained. Alternatively, information on the capabilities of each selectable device may be acquired in advance and notified. A procedure of device selection processing in such a configuration will be described with reference to the flowchart of FIG. The device selection process shown in FIG. 8 is executed in S121 of the WF execution process of FIG. 2 instead of the device selection process shown in FIG. In addition, in FIG. 8 and the following description, the same reference numerals are given to the same procedures as those of the device selection process shown in FIG. 4 to simplify the description.

図8に示すデバイス選択処理では、CPU11は、PC1に接続されているデバイスを検索する(S401)。具体的には、CPU11は、通信IF14を介して検索信号を送出し、各デバイスからの応答信号を受信する。これにより、画像処理アプリ22にて対応可能な各デバイスが検索される。さらに、CPU11は、検索された各デバイスから、実行可能な機能の情報と能力情報とを取得する(S402)。 In the device selection process shown in FIG. 8, the CPU 11 searches for devices connected to the PC 1 (S401). Specifically, the CPU 11 sends out a search signal via the communication IF 14 and receives a response signal from each device. As a result, each device compatible with the image processing application 22 is searched. Furthermore, the CPU 11 acquires information on executable functions and capability information from each device found (S402).

CPU11は、取得した情報に基づいて、ワークフローにて実行対象の画像処理を実行するための機能を有しているデバイスを抽出する(S403)。S403は、検索処理の一例である。さらに、CPU11は、S403にて抽出された各デバイスの一覧を、その能力の情報と共にユーザIF13に表示させ、ユーザによるデバイスの選択を受け付ける(S404)。能力の情報として、CPU11は、実行対象の画像処理について、WFデータに含まれる設定情報と比較して、デバイスの能力が高いか否かを示す情報を含む情報を表示させる。S404は、各デバイスについて第2設定値に対応可能か否かを通知する処理の一例である。 Based on the acquired information, the CPU 11 extracts a device having a function for executing image processing to be executed in the workflow (S403). S403 is an example of search processing. Further, the CPU 11 causes the user IF 13 to display a list of the devices extracted in S403 together with information on their capabilities, and accepts device selection by the user (S404). As the capability information, the CPU 11 displays information including information indicating whether or not the capability of the device is higher than the setting information included in the WF data for the image processing to be executed. S404 is an example of processing for notifying whether or not each device can support the second set value.

CPU11は、例えば、図9に示すように、デバイス選択画面53をユーザIF13に表示させ、ユーザの選択を受け付ける。デバイス選択画面53には、WFデータの設定情報531と、デバイスの1つの選択を受け付けるラジオボタン532と、選択を決定するOKボタン533と、が含まれる。デバイス選択画面53には、各デバイスの情報として、例えば、デバイス名に関連付けて、そのデバイスの能力とWFデータの設定値との比較結果が表示される。なお、表示される比較結果は、WFデータの各設定値に対するデバイスの能力の高低を示す情報のみでも良いし、WFデータの各設定値とデバイスの能力との差異を具体的に示す情報を表示しても良い。 For example, as shown in FIG. 9, the CPU 11 causes the user IF 13 to display a device selection screen 53 and accepts the user's selection. The device selection screen 53 includes WF data setting information 531, a radio button 532 for accepting selection of one device, and an OK button 533 for confirming the selection. The device selection screen 53 displays, as information of each device, a comparison result between the capability of the device and the set value of the WF data in association with the device name, for example. The displayed comparison result may be only information indicating the level of the device capability with respect to each setting value of the WF data, or information specifically indicating the difference between each setting value of the WF data and the capability of the device may be displayed. You can

なお、CPU11は、S402にて各デバイスから現在のステータスを示す情報をも取得し、S403にて、現在利用可能な状態であるデバイスのみを抽出しても良い。また、図9に示すデバイス選択画面53では、ワークフローの実行をキャンセルする指示を受け付け可能であっても良い。 Note that the CPU 11 may also acquire information indicating the current status from each device in S402, and extract only devices that are currently available in S403. Further, the device selection screen 53 shown in FIG. 9 may accept an instruction to cancel execution of the workflow.

表示させたデバイス選択画面53にてユーザの選択を受け付けたら、CPU11は、選択されたデバイスの能力とWFデータに記載されている設定情報とを比較する(S211)。つまり、CPU11は、WFデータよりも能力の高いデバイスが選択されたか、WFデータと同等の能力のデバイスが選択されたか、WFデータよりも能力の低いデバイスが選択されたか、を判断する。 After receiving the user's selection on the displayed device selection screen 53, the CPU 11 compares the capabilities of the selected device with the setting information described in the WF data (S211). In other words, the CPU 11 determines whether a device with a higher capability than the WF data was selected, a device with an equivalent capability as the WF data was selected, or a device with a lower capability than the WF data was selected.

WFデータと同等の能力のデバイスが選択された場合(S211:同等)、または、WFデータよりも能力の高いデバイスが選択された場合(S211:高い)、CPU11は、図4に示したデバイス選択処理と同様の処理を実行する(S212~S227)。なおこの場合、CPU11は、高性能報知画面51の表示(S221)やユーザの入力の受け付け(S222)を行わず、S223に進むとしても良い。 If a device with the same capability as the WF data is selected (S211: equivalent) or if a device with higher capability than the WF data is selected (S211: High), the CPU 11 performs the device selection shown in FIG. Processing similar to the processing is executed (S212 to S227). In this case, the CPU 11 may proceed to S223 without displaying the high performance notification screen 51 (S221) or accepting user input (S222).

WFデータよりも能力の低いデバイスが選択された場合(S211:低い)、CPU11は、選択されたデバイスに可能な最上位の設定値で、選択されたデバイスに画像処理の実行を指示する(S233)。この場合、能力不足であることはS404にて報知済みであるので、図4に示したデバイス選択処理の低性能報知画面52の表示(図4のS231)やユーザの入力の受け付け(図4のS232)は、不要である。 If a device with lower capability than the WF data is selected (S211: low), the CPU 11 instructs the selected device to execute image processing with the highest setting value possible for the selected device (S233). ). In this case, since the lack of capability has already been notified in S404, the low performance notification screen 52 of the device selection process shown in FIG. 4 is displayed (S231 in FIG. S232) is unnecessary.

S212、S227、S233の後、CPU11は、デバイス選択処理を終了し、WF実行処理に戻る。WF実行処理では、デバイス選択処理の後、S106に進み、WFデータに次の実行対象の処理が記載されているか否かを判断する。次の処理が無いと判断した場合(S106:NO)、CPU11は、WF実行処理を終了する。 After S212, S227, and S233, the CPU 11 ends the device selection process and returns to the WF execution process. In the WF execution process, after the device selection process, the process advances to S106 to determine whether or not the next execution target process is described in the WF data. When determining that there is no next process (S106: NO), the CPU 11 terminates the WF execution process.

図8に示すようにあらかじめ複数のデバイスを検索し、検索された各デバイスについてWFデータの設定値と比較した結果を通知することとすれば、単にデバイス名のみを一覧表示する図4に示したデバイス選択処理の場合より、ユーザは選択し易い。一方、図4に示したデバイス選択処理のように、まずデバイス名のみを一覧表示して、選択されたデバイスについてのみ能力情報を取得することとすれば、図8に示すデバイス選択処理のように、あらかじめ複数のデバイスから能力情報を取得する場合と比較して、処理負荷が軽減される。 As shown in FIG. 8, if a plurality of devices are searched in advance and the result of comparing each searched device with the setting value of WF data is notified, only the device name is simply listed as shown in FIG. It is easier for the user to make a selection than in the device selection process. On the other hand, as in the device selection process shown in FIG. 4, if only the device names are first displayed in a list and the capability information of only the selected device is acquired, then as in the device selection process shown in FIG. , the processing load is reduced compared to the case of acquiring capability information from a plurality of devices in advance.

以上、詳細に説明したように、本形態の画像処理アプリ22は、読み出されたWFデータに定義されたワークフローに含まれる画像処理の実行対象となるデバイスの選択を受け付け、選択されたデバイスが、WFデータの設定値よりも上位の設定値に対応可能な場合、その上位の設定値でワークフローを実行させる。従って、WFデータにもともと設定されていた設定値を用いる場合と比較して、実行対象となるデバイスの能力を十分に活用できる可能性が高まる。 As described in detail above, the image processing application 22 of the present embodiment accepts selection of a device to be executed for image processing included in a workflow defined in read WF data, and the selected device is , the workflow is executed with the higher setting value than the setting value of the WF data. Therefore, compared to the case of using the setting values originally set in the WF data, the possibility of being able to fully utilize the capabilities of the execution target device increases.

なお、本実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。従って本明細書に開示される技術は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、PC1に代えて、例えば、タブレットコンピュータ、スマートフォンであってもよい。また、PC1に接続されるデバイスは、MFPに限らず、印刷専用のプリンタ、コピー機、FAX装置、スキャナ等、画像処理を実行可能な装置であればよい。また、PC1に接続されるMFPは3台に限らず、2台でも良いし、4台以上でも良い。 It should be noted that the present embodiment is merely an example and does not limit the present invention in any way. Therefore, the technology disclosed in this specification can naturally be improved and modified in various ways without departing from the gist thereof. For example, instead of the PC 1, for example, a tablet computer or a smart phone may be used. Also, the device connected to the PC 1 is not limited to the MFP, and may be any device capable of executing image processing, such as a printer dedicated to printing, a copier, a FAX machine, or a scanner. Also, the number of MFPs connected to the PC 1 is not limited to three, and may be two or four or more.

また、例えば、図5に示した高性能報知画面51、図7に示した低性能報知画面52、図9に示したデバイス選択画面53は、いずれも報知の一例であり、メッセージの文言やボタンの位置、形状、数等の表示形態は、図示の例に限らない。 Further, for example, the high performance notification screen 51 shown in FIG. 5, the low performance notification screen 52 shown in FIG. 7, and the device selection screen 53 shown in FIG. is not limited to the illustrated example.

また、ユーザによる実行の指示によって読み出されるWFデータは、メモリ12に記憶されるものに限らず、画像処理アプリ22が読み出し可能なデータであればよい。例えば、クラウドサーバ等のPC1以外の装置に記憶されているWFデータが有っても良い。 Further, the WF data read by the user's execution instruction is not limited to the data stored in the memory 12, and may be data that can be read by the image processing application 22. FIG. For example, there may be WF data stored in a device other than the PC 1, such as a cloud server.

また、本形態では、ワークフローの登録時に、デバイス情報として、実行時選択の指定を受け付け可能であるとしたが、実行時選択の指定は受け付け可能でなくても良い。例えば、実行対象のWFデータにデバイス情報が含まれない場合、画像処理アプリ22は、実行時選択の指定であると判断しても良い。また、画像処理アプリ22は、例えば、ワークフローの登録時にデバイス情報の入力を要求するとしても良いし、デバイス情報が入力されなかった場合にはデフォルトのデバイスのデバイス情報をWFデータに含ませるとしても良い。 In addition, in the present embodiment, it is possible to accept specification of selection at runtime as device information when registering a workflow, but specification of selection at runtime may not be acceptable. For example, if device information is not included in the WF data to be executed, the image processing application 22 may determine that the selection is specified at the time of execution. Further, the image processing application 22 may, for example, request input of device information when registering a workflow, or may include device information of a default device in WF data when device information is not input. good.

また、本形態の画像処理アプリ22は、WFデータの設定値よりも能力の高いデバイスが選択された場合に、デバイス選択処理のS221にて、設定変更するか否かのユーザの入力を受け付けるとしたが、これに限らない。例えば、画像処理アプリ22は、ユーザに問い合わせることなく、設定を変更するとしても良い。 Further, when the image processing application 22 of the present embodiment selects a device with higher performance than the setting value of the WF data, in S221 of the device selection process, the user's input as to whether or not to change the setting is accepted. However, it is not limited to this. For example, the image processing application 22 may change settings without asking the user.

また、本形態の画像処理アプリ22は、WFデータの設定値よりも能力の低いデバイスが選択された場合に、デバイス選択処理のS231にて、設定変更して実行するか否かのユーザの入力を受け付けるとしたが、これに限らない。例えば、画像処理アプリ22は、ユーザに問い合わせることなく、デバイスの最上位の設定値を利用するとしても良い。 Further, in the image processing application 22 of the present embodiment, when a device having lower capability than the set value of the WF data is selected, in S231 of the device selection processing, the user inputs whether or not to change the settings and execute. However, it is not limited to this. For example, the image processing application 22 may use the highest setting value of the device without asking the user.

また、本形態の画像処理アプリ22は、WFデータの設定値よりも能力の高いデバイスが選択された場合に、デバイス選択処理のS226にて、WFデータを書き換えるか否かをユーザに問い合わせるとしたが、これに限らない。例えば、画像処理アプリ22は、選択されたデバイスの能力にかかわらず、WFデータの書き換えは行わないとしても良い。また、例えば、画像処理アプリ22は、WFデータを書き換えるか否かの設定を、あらかじめ受け付けて設定可能であっても良い。その場合、S226では、CPU11は、ユーザに問い合わせる代わりに、画像処理アプリ22に設定されている情報を読み出して、書き換えるか否かを決定すればよい。 Further, the image processing application 22 of the present embodiment asks the user whether or not to rewrite the WF data in S226 of the device selection process when a device with higher performance than the setting value of the WF data is selected. However, it is not limited to this. For example, the image processing application 22 may not rewrite WF data regardless of the capabilities of the selected device. Further, for example, the image processing application 22 may be able to accept and set in advance whether or not to rewrite the WF data. In that case, in S226, instead of inquiring of the user, the CPU 11 may read the information set in the image processing application 22 and determine whether or not to rewrite the information.

また、本形態の画像処理アプリ22は、WFデータの設定値よりも能力の高いデバイスが選択された場合に、WFデータのデバイス情報が個別設定である場合に限って、WFデータを書き換え可能であるとしたが、実行時選択であっても書き換えても良い。例えば、画像処理アプリ22は、実行時選択となっているデバイス情報を、選択されたデバイスを示す個別設定の情報に書き換え、設定情報をそのデバイスの最上位の設定値に書き換えても良い。 Further, the image processing application 22 of the present embodiment can rewrite the WF data only when the device information of the WF data is individual setting when a device with higher performance than the setting value of the WF data is selected. Although it is assumed that there is, it may be rewritten even if it is selected at runtime. For example, the image processing application 22 may rewrite the device information selected at runtime with individual setting information indicating the selected device, and rewrite the setting information with the highest setting value of the device.

また、本形態では、WF書換処理のS302にて、読み出したWFデータと同じ画像処理について、同じデバイス情報と同じ設定情報とを含むWFデータを書き換えの対象として抽出するとしたが、これに限らない。例えば、画像処理の種類にかかわらず、同じデバイス情報を含むWFデータを全て書き換えの対象としても良い。また、例えば、設定情報が異なっていても、同じ画像処理に同じデバイス情報を含むWFデータを全て書き換えの対象としても良い。 In addition, in the present embodiment, WF data including the same device information and the same setting information for the same image processing as the read WF data is extracted as a target for rewriting in S302 of the WF rewriting process, but the present invention is not limited to this. . For example, regardless of the type of image processing, all WF data containing the same device information may be rewritten. Further, for example, even if the setting information is different, all WF data including the same device information in the same image processing may be rewritten.

また、実施の形態に開示されている任意のフローチャートにおいて、任意の複数のステップにおける複数の処理は、処理内容に矛盾が生じない範囲で、任意に実行順序を変更できる、または並列に実行できる。 In any flow chart disclosed in the embodiments, multiple processes in any multiple steps can be arbitrarily changed in execution order or executed in parallel as long as there is no contradiction in the processing contents.

また、実施の形態に開示されている処理は、単一のCPU、複数のCPU、ASICなどのハードウェア、またはそれらの組み合わせで実行されてもよい。また、実施の形態に開示されている処理は、その処理を実行するためのプログラムを記録した記録媒体、または方法等の種々の態様で実現することができる。 Also, the processing disclosed in the embodiments may be performed by a single CPU, multiple CPUs, hardware such as an ASIC, or a combination thereof. Further, the processes disclosed in the embodiments can be realized in various forms such as a recording medium recording a program for executing the processes, a method, and the like.

1 PC
3、4、5 MFP
11 CPU
12 メモリ
13 ユーザIF
14 通信IF
1 PC
3, 4, 5 MFPs
11 CPUs
12 memory 13 user interface
14 communication interface

Claims (15)

情報処理装置のコンピュータによって実行可能なプログラムであって、
前記コンピュータに、
ワークフロー定義データを読み出す読出し処理を実行させ、前記ワークフロー定義データは、画像処理を含む一連の処理を示すワークフローを定義したデータであり、前記ワークフローには、前記画像処理の実行対象となるデバイスと、前記画像処理に用いる設定値と、が設定可能であり、
さらに前記コンピュータに、
前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに含まれる前記画像処理の実行対象となるデバイスの選択を、前記情報処理装置のユーザインタフェースを介して受け付ける選択処理を実行させ、
さらに前記コンピュータに、
前記選択処理にて選択された前記デバイスが、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに設定された設定値である第1設定値よりも上位の設定値である第2設定値に対応可能な場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第1設定値に代えて前記第2設定値で実行させる、
ように構成されるプログラム。
A program executable by a computer of an information processing device,
to the computer;
A reading process for reading workflow definition data is executed, the workflow definition data being data defining a workflow indicating a series of processes including image processing, and the workflow includes a device to be subjected to the image processing, A setting value used for the image processing can be set,
Furthermore, in said computer,
executing a selection process of receiving, via a user interface of the information processing apparatus, a selection of a device to be subjected to the image processing included in the workflow defined in the workflow definition data read out in the readout process; let
Furthermore, in said computer,
The device selected in the selection process has a setting value higher than a first setting value that is a setting value set in the workflow defined in the workflow definition data read in the reading process. executing the workflow defined in the workflow definition data read in the reading process with the second setting value instead of the first setting value, if a certain second setting value can be handled;
A program configured to:
請求項1に記載するプログラムにおいて、
前記コンピュータに、
前記選択処理にて選択された前記デバイスが前記第2設定値に対応可能な場合に、前記ユーザインタフェースを介して、前記第2設定値を利用するか否かの入力を受け付け、前記第2設定値を利用する入力を受け付けた場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第2設定値で実行させ、前記第2設定値を利用しない入力を受け付けた場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第1設定値で実行させる、
ように構成されるプログラム。
In the program according to claim 1,
to the computer;
receiving an input as to whether or not to use the second setting value via the user interface when the device selected in the selection process is compatible with the second setting value; an input that does not use the second setting value by causing the workflow defined in the workflow definition data read out in the reading process to be executed with the second setting value when an input that uses a value is received; is received, the workflow defined in the workflow definition data read in the reading process is executed with the first set value;
A program configured to:
請求項1または請求項2に記載するプログラムにおいて、
前記コンピュータに、
前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを前記第2設定値で実行させた場合に、前記読出し処理にて読み出された前記ワークフロー定義データについて、前記ワークフローに含まれる前記画像処理の実行対象を、前記選択処理にて選択された前記デバイスとし、前記ワークフローに設定される設定値を、前記第2設定値とするように書き換える書換処理を実行させる、
ように構成されるプログラム。
In the program according to claim 1 or claim 2,
to the computer;
When the workflow defined in the workflow definition data read out in the reading process is executed with the second set value, the workflow definition data read out in the reading process is stored in the workflow. executing a rewriting process for rewriting the device selected in the selection process as the execution target of the included image processing and rewriting the setting value set in the workflow to the second setting value;
A program configured to:
請求項3に記載するプログラムにおいて、
前記書換処理では、
前記第2設定値が設定された前記ワークフローが実行された場合に、前記ユーザインタフェースを介して、前記ワークフロー定義データを書き換えるか否かの入力を受け付け、前記ワークフロー定義データを書き換える入力を受け付けた場合に、前記読出し処理にて読み出された前記ワークフロー定義データについて、前記ワークフローに含まれる前記画像処理の実行対象を、前記選択処理にて選択された前記デバイスとし、前記ワークフローに設定される設定値を、前記第2設定値とするように書き換え、前記ワークフロー定義データを書き換えない入力を受け付けた場合に、前記読出し処理にて読み出された前記ワークフロー定義データを書き換えない、
ように構成されるプログラム。
In the program according to claim 3,
In the rewriting process,
When the workflow for which the second set value is set is executed, an input as to whether or not to rewrite the workflow definition data is received via the user interface, and an input to rewrite the workflow definition data is received. (b) with respect to the workflow definition data read out in the reading process, the image processing execution target included in the workflow is set as the device selected in the selection process, and a setting value set in the workflow; is set to the second setting value, and when an input not to rewrite the workflow definition data is received, the workflow definition data read out in the reading process is not rewritten.
A program configured to:
請求項3または請求項4に記載するプログラムにおいて、
前記ワークフロー定義データを複数登録可能であり、
前記コンピュータに、
前記書換処理にて前記ワークフロー定義データが書き換えられた場合に、登録されている前記ワークフロー定義データのうち、書き換えられた前記ワークフロー定義データとは別に、特定ワークフローが定義されたワークフロー定義データである特定ワークフロー定義データについて、前記特定ワークフローに含まれる前記画像処理の実行対象を、前記選択処理にて選択された前記デバイスとし、前記特定ワークフロー定義データに定義された前記特定ワークフローに設定される設定値を、前記第2設定値とするように書き換える特定書換処理を実行させ、前記特定ワークフローは、前記画像処理の実行対象として前記書換処理にて書き換えられる前に前記ワークフロー定義データに設定されていたデバイスと同じデバイスが設定され、かつ前記第1設定値が設定された前記ワークフローである、
ように構成されるプログラム。
In the program according to claim 3 or claim 4,
a plurality of workflow definition data can be registered;
to the computer;
When the workflow definition data has been rewritten in the rewriting process, specifying workflow definition data defining a specific workflow separately from the rewritten workflow definition data among the registered workflow definition data With regard to the workflow definition data, the image processing execution target included in the specific workflow is set to the device selected in the selection process, and setting values set to the specific workflow defined in the specific workflow definition data are set to , executing a specific rewriting process for rewriting the image processing to the second setting value, and the specific workflow includes a device set in the workflow definition data before being rewritten by the rewriting process as an execution target of the image processing. the workflow in which the same device is set and the first setting value is set;
A program configured to:
請求項1から請求項5のいずれか1つに記載するプログラムにおいて、
前記コンピュータに、
前記選択処理を実行する前に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローの実行を開始させ、前記ワークフローの実行が完了しなかった場合に、前記選択処理を実行させ、
前記選択処理では、
前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに前記画像処理の実行対象として設定された前記デバイスとは別のデバイスの選択を、前記ユーザインタフェースを介して受け付ける、
ように構成されるプログラム。
In the program according to any one of claims 1 to 5,
to the computer;
Before executing the selection process, start execution of the workflow defined in the workflow definition data read in the read process, and execute the selection process if execution of the workflow is not completed. let it run,
In the selection process,
Accepting, through the user interface, selection of a device other than the device set as the execution target of the image processing in the workflow defined in the workflow definition data read out in the reading process;
A program configured to:
請求項6に記載するプログラムにおいて、
前記ワークフローには、前記画像処理の実行対象となるデバイスを未確定とすることが可能であり、
前記コンピュータに、
前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに、前記画像処理の実行対象となるデバイスが設定されている場合、前記選択処理を実行する前に、前記ワークフローの実行を開始させ、前記ワークフローの実行が完了しなかった場合に、前記選択処理を実行させ、
前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに、前記画像処理の実行対象となるデバイスを未確定とすることが設定されている場合、前記ワークフローの実行を開始せずに、前記選択処理を実行させ、
前記選択処理では、
前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローについて、前記画像処理の実行対象となるデバイスを未確定とすることが設定されている場合、前記ワークフローに含まれる前記画像処理の実行対象となるデバイスの選択を、前記ユーザインタフェースを介して受け付け、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに、前記画像処理の実行対象となるデバイスが設定されている場合、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに含まれる前記画像処理の実行対象として設定された前記デバイスとは別のデバイスの選択を、前記ユーザインタフェースを介して受け付ける、
ように構成されるプログラム。
In the program according to claim 6,
In the workflow, it is possible to undetermine a device to be subjected to the image processing,
to the computer;
If the workflow defined in the workflow definition data read out in the reading process includes a device to be subjected to the image processing, the workflow is executed before executing the selection process. and executing the selection process if execution of the workflow is not completed;
If the workflow defined in the workflow definition data read out in the reading process is set to undetermine the device on which the image processing is to be executed, the execution of the workflow is started. without performing the selection process,
In the selection process,
When the workflow defined in the workflow definition data read out in the read processing is set to be undetermined for the device to be subjected to the image processing, the image included in the workflow Selection of a device to be subjected to processing is accepted via the user interface, and the device to be subjected to image processing is included in the workflow defined in the workflow definition data read in the reading process. If set, selection of a device different from the device set as the execution target of the image processing included in the workflow defined in the workflow definition data read out in the reading process is performed by the through the user interface,
A program configured to:
請求項1から請求項7のいずれか1つに記載するプログラムにおいて、
前記コンピュータに、
前記選択処理にて選択された前記デバイスの能力を示す能力情報を取得する取得処理を実行させ、
さらに前記コンピュータに、
前記取得処理にて取得された前記能力情報に示される設定可能な設定値の中に前記第2設定値がある場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第2設定値で実行させる、
ように構成されるプログラム。
In the program according to any one of claims 1 to 7,
to the computer;
executing acquisition processing for acquiring capability information indicating capabilities of the device selected in the selection processing;
Furthermore, in said computer,
If the second setting value is included in the settable setting values indicated in the capability information obtained in the obtaining process, the above defined in the workflow definition data read in the reading process causing the workflow to run with the second set value;
A program configured to:
請求項1から請求項7のいずれか1つに記載するプログラムにおいて、
前記コンピュータに、
前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに含まれる前記画像処理に関する機能を有するデバイスを検索する検索処理を実行させ、
前記選択処理では、
前記検索処理にて検索された前記デバイスの中から、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに含まれる前記画像処理の実行対象となるデバイスの選択を受け付ける処理と、前記検索処理にて検索された各デバイスの能力を示す能力情報を取得し、各デバイスについて前記第2設定値に対応可能か否かを通知する処理と、を行う、
ように構成されるプログラム。
In the program according to any one of claims 1 to 7,
to the computer;
executing a search process for searching for a device having a function related to the image processing included in the workflow defined in the workflow definition data read in the read process;
In the selection process,
A process of accepting selection of a device to be executed for the image processing included in the workflow defined in the workflow definition data read out in the read process from among the devices searched in the search process. and a process of acquiring capability information indicating the capability of each device searched in the search process, and notifying whether each device is compatible with the second setting value.
A program configured to:
請求項1から請求項9のいずれか1つに記載するプログラムにおいて、
前記第2設定値は、前記第1設定値よりも上位の設定値であって、前記選択処理にて選択された前記デバイスで対応可能な最上位の設定値である、
ように構成されるプログラム。
In the program according to any one of claims 1 to 9,
The second setting value is a higher setting value than the first setting value and is the highest setting value that can be handled by the device selected in the selection process.
A program configured to:
請求項1から請求項10のいずれか1つに記載するプログラムにおいて、
前記コンピュータに、
前記選択処理にて選択された前記デバイスが前記第2設定値に対応可能な場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第1設定値に代えて前記第2設定値で実行させ、
前記選択処理にて選択された前記デバイスが前記第1設定値に対応不可であって前記第1設定値よりも下位の設定値である第3設定値に対応可能な場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第1設定値に代えて前記第3設定値で実行させる、
ように構成されるプログラム。
In the program according to any one of claims 1 to 10,
to the computer;
When the device selected in the selection process is compatible with the second setting value, the workflow defined in the workflow definition data read in the reading process is set to the first setting value. Instead, execute with the second setting value,
When the device selected in the selection process is not compatible with the first set value but is compatible with a third set value which is a lower set value than the first set value, in the read process, executing the workflow defined in the workflow definition data read out by using the third setting value instead of the first setting value;
A program configured to:
請求項11に記載するプログラムにおいて、
前記コンピュータに、
前記選択処理にて選択された前記デバイスが前記第1設定値に対応不可であって前記第3設定値に対応可能な場合に、前記ユーザインタフェースを介して、前記第3設定値を利用するか否かの入力を受け付け、前記第3設定値を利用する入力を受け付けた場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第3設定値で実行させ、前記第3設定値を利用しない入力を受け付けた場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを実行させず、前記コンピュータに、再度、前記選択処理を実行させる、
ように構成されるプログラム。
In the program according to claim 11,
to the computer;
whether the third setting value is used via the user interface when the device selected in the selection process is not compatible with the first setting value but is compatible with the third setting value; receiving an input indicating whether or not to use the third setting value, and executing the workflow defined in the workflow definition data read in the reading process with the third setting value when receiving an input to use the third setting value. and if an input not using the third set value is received, the workflow defined in the workflow definition data read out in the readout process is not executed, and the computer performs the selection process again. to run
A program configured to:
請求項11または請求項12に記載するプログラムにおいて、
前記第3設定値は、前記第1設定値よりも下位の設定値であって、前記選択処理にて選択された前記デバイスで対応可能な最上位の設定値である、
ように構成されるプログラム。
In the program according to claim 11 or claim 12,
The third setting value is a setting value lower than the first setting value and is the highest setting value that can be handled by the device selected in the selection process.
A program configured to:
情報処理装置によってワークフロー定義データを読み出す読出しステップを含み、前記ワークフロー定義データは、画像処理を含む一連の処理を示すワークフローを定義したデータであり、前記ワークフローには、前記画像処理の実行対象となるデバイスと、前記画像処理に用いる設定値と、が設定可能であり、
さらに、
前記読出しステップにて読み出された前記ワークフロー定義データに定義された前記ワークフローに含まれる前記画像処理の実行対象となるデバイスの選択を、前記情報処理装置のユーザインタフェースを介して受け付ける選択ステップと、
前記選択ステップにて選択された前記デバイスが、前記読出しステップにて読み出された前記ワークフロー定義データに定義された前記ワークフローに設定された設定値である第1設定値よりも上位の設定値である第2設定値に対応可能な場合に、前記読出しステップにて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第1設定値に代えて前記第2設定値で実行するワークフロー実行ステップと、
を含む、
ように構成される制御方法。
a reading step of reading out workflow definition data by an information processing device, wherein the workflow definition data is data defining a workflow indicating a series of processes including image processing, and the workflow includes an execution target of the image processing. A device and a setting value used for the image processing can be set,
moreover,
a selection step of receiving, via a user interface of the information processing apparatus, a selection of a device to be subjected to the image processing included in the workflow defined in the workflow definition data read out in the reading step;
The device selected in the selection step has a setting value higher than a first setting value set in the workflow defined in the workflow definition data read in the reading step. A workflow for executing the workflow defined in the workflow definition data read out in the reading step with the second set value instead of the first set value, if a certain second set value can be handled. an execution step;
including,
A control method configured to:
ユーザインタフェースと、
コンピュータと、
を備える情報処理装置であって、
前記コンピュータは、
ワークフロー定義データを読み出す読出し処理を実行し、前記ワークフロー定義データは、画像処理を含む一連の処理を示すワークフローを定義したデータであり、前記ワークフローには、前記画像処理の実行対象となるデバイスと、前記画像処理に用いる設定値と、が設定可能であり、
さらに前記コンピュータは、
前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに含まれる前記画像処理の実行対象となるデバイスの選択を、前記ユーザインタフェースを介して受け付ける選択処理と、
前記選択処理にて選択された前記デバイスが、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローに設定された設定値である第1設定値よりも上位の設定値である第2設定値に対応可能な場合に、前記読出し処理にて読み出された前記ワークフロー定義データに定義された前記ワークフローを、前記第1設定値に代えて前記第2設定値で実行するワークフロー実行処理と、
を実行する、
ように構成される情報処理装置。
a user interface;
a computer;
An information processing device comprising
The computer is
a read process for reading workflow definition data is executed, the workflow definition data is data defining a workflow indicating a series of processes including image processing, and the workflow includes a device on which the image processing is executed; A setting value used for the image processing can be set,
Further, the computer
a selection process of receiving, via the user interface, selection of a device to be subjected to the image processing included in the workflow defined in the workflow definition data read out in the readout process;
The device selected in the selection process has a setting value higher than a first setting value set in the workflow defined in the workflow definition data read in the reading process. A workflow for executing the workflow defined in the workflow definition data read out in the reading process with the second set value instead of the first set value, if a certain second set value can be handled. execution process;
run the
An information processing device configured as follows.
JP2021209001A 2021-12-23 2021-12-23 Program, control method and information processing device Pending JP2023093883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021209001A JP2023093883A (en) 2021-12-23 2021-12-23 Program, control method and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021209001A JP2023093883A (en) 2021-12-23 2021-12-23 Program, control method and information processing device

Publications (1)

Publication Number Publication Date
JP2023093883A true JP2023093883A (en) 2023-07-05

Family

ID=87001458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021209001A Pending JP2023093883A (en) 2021-12-23 2021-12-23 Program, control method and information processing device

Country Status (1)

Country Link
JP (1) JP2023093883A (en)

Similar Documents

Publication Publication Date Title
US8619293B2 (en) Image forming apparatus, image formation supporting system, and image formation supporting method which communicates with a handheld device
US20100328689A1 (en) Host device and image forming apparatus controlled by host device, and peripheral device control method
JP5814604B2 (en) Image forming apparatus, image forming apparatus control method and program
US8913280B2 (en) Communication apparatus, method for controlling the same, storage medium, and printing apparatus
US9342476B2 (en) Image processing apparatus, information processing apparatus, and information processing system
JP2017175468A (en) Communication device, control method therefor and program
US9454334B2 (en) Recording system having information processing device and peripheral devices
JP2024059674A (en) Control program, information processing device
JP7166774B2 (en) Information processing device, control method for information processing device, and program
JP2007060126A (en) Image forming apparatus and image forming method
JP2023093883A (en) Program, control method and information processing device
JP4888033B2 (en) Image reading apparatus, image processing system, and image processing method
JP6531590B2 (en) Image processing device
US11265429B2 (en) Storage medium storing application program, information processing apparatus, and method of creating workflow
EP3557467B1 (en) Information processing device, image forming device, image forming system and virus check method
JP2017173917A (en) Information processing device, system, information processing method, and program
JP7375538B2 (en) Programs and information processing equipment
JP6485051B2 (en) Image processing system, image processing apparatus, and program
JP2020123798A (en) Information processing device, wireless terminal and program
US11223741B2 (en) Image reading apparatus
US20140146359A1 (en) Image forming apparatus and recording medium
JP2023050270A (en) Application program and image processing apparatus
JP6429034B2 (en) Image forming system
JP2024051821A (en) Image Processing Device
JP2021196729A (en) Setup system and setup program