JP5212131B2 - Image forming apparatus, event notification method, and program - Google Patents

Image forming apparatus, event notification method, and program Download PDF

Info

Publication number
JP5212131B2
JP5212131B2 JP2009008042A JP2009008042A JP5212131B2 JP 5212131 B2 JP5212131 B2 JP 5212131B2 JP 2009008042 A JP2009008042 A JP 2009008042A JP 2009008042 A JP2009008042 A JP 2009008042A JP 5212131 B2 JP5212131 B2 JP 5212131B2
Authority
JP
Japan
Prior art keywords
job
distribution
request
cancellation
unit
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
JP2009008042A
Other languages
Japanese (ja)
Other versions
JP2010166408A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009008042A priority Critical patent/JP5212131B2/en
Publication of JP2010166408A publication Critical patent/JP2010166408A/en
Application granted granted Critical
Publication of JP5212131B2 publication Critical patent/JP5212131B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Description

本発明は、画像形成装置、イベント通知方法、及びプログラムに関し、特に配信ジョブに関するイベントをネットワークを介したコンピュータに通知する画像形成装置、イベント通知方法、及びプログラムに関する。   The present invention relates to an image forming apparatus, an event notification method, and a program, and more particularly to an image forming apparatus, an event notification method, and a program for notifying a computer via a network of an event related to a distribution job.

従来、スキャナを有する画像形成装置においてスキャンされた画像データを配信サーバに転送し、設定された配信先への画像データの配信を当該配信サーバに実行させる配信システムが存在する。   Conventionally, there is a distribution system in which image data scanned by an image forming apparatus having a scanner is transferred to a distribution server, and the distribution server executes distribution of the image data to a set distribution destination.

配信サーバによって配信処理の制御が行われることにより、ハードウェアリソースの乏しい画像形成装置の負荷を軽減することができる。その結果、画像形成装置のハードウェアリソースを本来の機能(印刷、スキャン、コピー等)に振り向けることができる。   By controlling the distribution process by the distribution server, it is possible to reduce the load on the image forming apparatus having a scarce hardware resource. As a result, the hardware resources of the image forming apparatus can be directed to original functions (printing, scanning, copying, etc.).

ところで、コンピュータシステムにおいては、障害解析、課金情報の記録、又はセキュリティの確保等、各種の用途を目的としてログが記録されるのが一般的である。配信システムも同様に、配信ジョブに関するログの記録が必要とされる。画像形成装置のハードウェアリソースの消費量の抑制の観点からは、配信ジョブのログの記録先は、画像形成装置以外のコンピュータ(以下、「ログ記録装置」という。)であることが望ましい。この場合、画像形成装置は、配信ジョブに関して発生する各種のイベントを逐一ログ記録装置に通知する必要がある。ログ記録装置では、画像形成装置より通知されるイベントによってログの記録が可能となるからである。
特開2008−97586号公報
By the way, in a computer system, a log is generally recorded for various purposes such as failure analysis, charging information recording, or security ensuring. Similarly, the distribution system needs to record a log relating to a distribution job. From the viewpoint of suppressing the consumption of hardware resources of the image forming apparatus, it is desirable that the log recording destination of the distribution job is a computer other than the image forming apparatus (hereinafter referred to as “log recording apparatus”). In this case, the image forming apparatus needs to notify the log recording apparatus of various events that occur regarding the distribution job. This is because the log recording apparatus can record a log by an event notified from the image forming apparatus.
JP 2008-97586 A

しかしながら、配信ジョブに対してキャンセルの実行が可能とされる場合、画像形成装置からログ記録装置へのイベントの通知が適切に行われなければ、冗長又は解析しづらいログが記録されたり、ネットワーク負荷を不要に高めてしまったりする可能性がある。   However, when cancellation of a delivery job is possible, if an event notification is not properly performed from the image forming apparatus to the log recording apparatus, a log that is redundant or difficult to analyze is recorded, or the network load May be raised unnecessarily.

本発明は、上記の点に鑑みてなされたものであって、配信ジョブに関するイベントを適切に通知することのできる画像形成装置、イベント通知方法、及びプログラムの提供を目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image forming apparatus, an event notification method, and a program that can appropriately notify an event related to a distribution job.

そこで上記課題を解決するため、本発明は、原稿より画像データを読み取る読取手段と、読み取られた画像データに関する配信ジョブの実行要求をネットワークを介して配信装置へ送信する配信要求手段と、前記配信ジョブのキャンセル要求に応じ、前記配信装置に該配信ジョブのキャンセルを実行させるジョブ管理手段と、前記配信ジョブのキャンセルに成功したときは、キャンセルによって配信ジョブが終了したことを示すジョブ完了イベントをログ記録装置に送信し、キャンセル対象の配信ジョブが既に完了していることによりキャンセルに失敗したときは、キャンセルに失敗したことを示すジョブ状態イベントと、配信ジョブが完了したことを示す前記ジョブ完了イベントとを前記ログ記録装置に送信するイベント送信手段とを有する。


In order to solve the above problems, the present invention provides a reading unit that reads image data from a document, a distribution request unit that transmits a distribution job execution request regarding the read image data to a distribution device via a network, and the distribution depending on the job cancellation request, the the job management means for executing the cancellation of the distribution job distribution apparatus, when a successful cancel of the prior Symbol delivery job, shown to jobs that delivery job by canceling is completed When the completion event is sent to the log recording device and the cancellation fails because the distribution job to be canceled has already been completed, it indicates the job status event indicating that the cancellation has failed and the completion of the distribution job. Event transmission means for transmitting the job completion event to the log recording device. .


このような画像形成装置では、配信ジョブに関するイベントを適切に通知することができる。   In such an image forming apparatus, an event related to a distribution job can be notified appropriately.

本発明によれば、配信ジョブに関するイベントを適切に通知することができる。   According to the present invention, it is possible to appropriately notify an event related to a distribution job.

以下、図面に基づいて本発明の実施の形態を説明する。図1は、第一の実施の形態における配信システムの構成例を示す図である。同図において、配信システム1は、画像形成装置10、配信サーバ20、管理端末30、及びディレクトリサーバ40等を含む。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of a distribution system according to the first embodiment. In FIG. 1, a distribution system 1 includes an image forming apparatus 10, a distribution server 20, a management terminal 30, a directory server 40, and the like.

画像形成装置10は、配信ジョブの実行指示の入力を受け付ける。本実施の形態において、配信ジョブとは、画像形成装置10においてスキャンされた画像データを配信サーバ20が配信するまでの一連の処理をいう。配信サーバ20は、画像形成装置10によって読み取られた画像データの配信処理を実行するコンピュータである。同図では、配信ジョブにおける画像データの配信先として、Webサーバ51、ファイル共有サーバ52、及びメールサーバ53が例示されている。   The image forming apparatus 10 receives an input of a delivery job execution instruction. In the present embodiment, the distribution job refers to a series of processes until the distribution server 20 distributes image data scanned by the image forming apparatus 10. The distribution server 20 is a computer that executes distribution processing of image data read by the image forming apparatus 10. In the drawing, a Web server 51, a file sharing server 52, and a mail server 53 are illustrated as distribution destinations of image data in a distribution job.

管理端末30は、配信システム1の管理者が利用するPC(Personal Computer)等のコンピュータである。管理者は、管理端末30を介して、スキャン及び配信に関する設定情報(以下、「配信設定情報」という。)をユーザ又はグループごとに設定する。すなわち、配信ジョブに対する設定情報は、ジョブの実行時に各ユーザによって設定されるのではなく、予め管理者によって設定される。また、管理者は、管理端末30を介して、配信サーバ20に蓄積されている配信ジョブの操作(例えば、配信ジョブのキャンセル等)を行う。   The management terminal 30 is a computer such as a PC (Personal Computer) used by the administrator of the distribution system 1. The administrator sets setting information related to scanning and distribution (hereinafter referred to as “distribution setting information”) for each user or group via the management terminal 30. That is, the setting information for the distribution job is not set by each user when the job is executed, but is set in advance by the administrator. In addition, the administrator operates the distribution job stored in the distribution server 20 via the management terminal 30 (for example, cancels the distribution job).

ディレクトリサーバ40は、配信システム1を利用するユーザの認証機能や、配信設定情報の管理機能等を有するコンピュータである。   The directory server 40 is a computer having an authentication function for a user who uses the distribution system 1 and a management function for distribution setting information.

なお、画像形成装置10は、配信サーバ20、管理端末30、及びディレクトリサーバ40と通信可能である。また、管理端末30はディレクトリサーバ40と通信可能である。但し、図1に示される全ての装置が相互に通信可能であってもよい。ここで、通信可能とは、LAN(Local Area Network)等のネットワークを介して接続されていたり、無線LAN(Local Area Network)等によって通信可能であったりすることをいう。   The image forming apparatus 10 can communicate with the distribution server 20, the management terminal 30, and the directory server 40. The management terminal 30 can communicate with the directory server 40. However, all the devices shown in FIG. 1 may be able to communicate with each other. Here, “communicable” means being connected via a network such as a LAN (Local Area Network) or being communicable via a wireless LAN (Local Area Network).

図2は、第一の実施の形態における配信システムの機能構成例を示す図である。同図における各部は、各装置にインストールされたプログラムが各装置のCPUに実行させる処理によって実現される。   FIG. 2 is a diagram illustrating a functional configuration example of the distribution system according to the first embodiment. Each unit in the figure is realized by a process that a program installed in each device causes a CPU of each device to execute.

管理端末30は、配信設定受付部31、ジョブ操作部32、及びログ記録部33等を含む。   The management terminal 30 includes a distribution setting reception unit 31, a job operation unit 32, a log recording unit 33, and the like.

配信設定受付部31は、ユーザ又はグループごとの配信設定情報の入力を管理者より受け付け、当該配信設定情報をディレクトリサーバ40に登録する。配信設定情報には、配信対象とする画像データのスキャンに関する設定情報(スキャン条件)、及び配信に関する設定情報(配信条件)が含まれる。スキャンに関する設定情報には、例えば、読み取り解像度、カラーモード等が含まれる。また、配信に関する設定情報には、配信方法(メール、ファイル転送等の別)、配信先に関する情報が含まれる。配信設定受付部31は、また、入力された配信設定情報をディレクトリサーバ40に登録する前に、当該配信設定情報の妥当性を画像形成装置10に検証させる。   The distribution setting reception unit 31 receives an input of distribution setting information for each user or group from an administrator, and registers the distribution setting information in the directory server 40. The distribution setting information includes setting information (scanning conditions) regarding scanning of image data to be distributed and setting information (distributing conditions) regarding distribution. The setting information related to scanning includes, for example, reading resolution and color mode. Further, the setting information related to distribution includes information regarding a distribution method (email or file transfer, etc.) and a distribution destination. The distribution setting reception unit 31 also causes the image forming apparatus 10 to verify the validity of the distribution setting information before registering the input distribution setting information in the directory server 40.

ジョブ操作部32は、配信サーバ20において実行中又は蓄積されている配信ジョブの操作要求を管理者より受け付け、当該操作要求を画像形成装置10に送信する。本実施の形態では、配信ジョブのキャンセル要求が操作要求として入力される。ログ記録部33は、配信ジョブに関して発生したイベントを画像形成装置10より受信し、配信ジョブに関するログを管理端末30の記憶装置に記録する。   The job operation unit 32 receives an operation request for a distribution job being executed or accumulated in the distribution server 20 from an administrator, and transmits the operation request to the image forming apparatus 10. In this embodiment, a delivery job cancel request is input as an operation request. The log recording unit 33 receives an event that has occurred regarding a distribution job from the image forming apparatus 10 and records a log regarding the distribution job in the storage device of the management terminal 30.

画像形成装置10は、配信設定検証部121、認証制御部122、配信制御部123、スキャナ制御部124、ジョブ管理部125、不正要求検知部126、及びイベント通知部127等を有する。   The image forming apparatus 10 includes a distribution setting verification unit 121, an authentication control unit 122, a distribution control unit 123, a scanner control unit 124, a job management unit 125, an unauthorized request detection unit 126, an event notification unit 127, and the like.

配信設定検証部121は、管理端末30の配信設定受付部31からの要求に応じ、配信設定情報の妥当性を検証する。配信設定情報の妥当性とは、配信設定情報に含まれているスキャンに関する設定情報に、画像形成装置10が対応可能であるか否か(対応する能力を有するか否か)をいう。例えば、配信設定情報においてフルカラーによる読み取りが設定されている場合に、画像形成装置10がモノクロの読み取りしか対応できない場合は、当該配信設定情報は妥当でないと判定される。   The distribution setting verification unit 121 verifies the validity of the distribution setting information in response to a request from the distribution setting reception unit 31 of the management terminal 30. The validity of the distribution setting information refers to whether or not the image forming apparatus 10 can cope with the setting information related to the scan included in the distribution setting information (whether or not the image forming apparatus 10 has a corresponding capability). For example, when full-color reading is set in the distribution setting information, if the image forming apparatus 10 can handle only monochrome reading, it is determined that the distribution setting information is not valid.

認証制御部122は、画像形成装置10のユーザの認証処理を制御する。実際の認証処理はディレクトリサーバ40に委譲される。認証されたユーザのみが、配信のためのスキャンを画像形成装置10に実行させることができる。配信制御部123は、配信ジョブの前段処理(配信対象とする画像データを配信設定情報に従ってスキャンし、スキャンされた画像データの配信要求を配信サーバ20へ送信する処理)の実行を制御する。スキャナ制御部124は、画像形成装置10が備えるスキャナを制御し、原稿より画像データを読み取る。   The authentication control unit 122 controls user authentication processing of the image forming apparatus 10. Actual authentication processing is delegated to the directory server 40. Only the authenticated user can cause the image forming apparatus 10 to execute scanning for distribution. The distribution control unit 123 controls the execution of the pre-processing of the distribution job (processing of scanning image data to be distributed according to the distribution setting information and transmitting a distribution request for the scanned image data to the distribution server 20). The scanner control unit 124 controls a scanner provided in the image forming apparatus 10 and reads image data from a document.

ジョブ管理部125は、管理端末30のジョブ操作部32からの配信ジョブの操作要求に応じた処理を実行する。不正要求検知部126は、不正な端末からの配信ジョブの操作要求を検知する。本実施の形態では、配信ジョブの操作要求は、画像形成装置10の操作パネル又は管理端末30のみから受け付け可能とされている。すなわち、画像データの配信指示を画像形成装置10に対して入力したユーザ及び管理者に対してのみ配信ジョブの操作が許可されている。したがって、不正要求検知部126は、管理端末30以外からのネットワークを介した操作要求は、不正な端末からの操作要求であると判定する。なお、本実施の形態では、操作要求の一例として、配信ジョブのキャンセル要求が採用される。   The job management unit 125 executes processing corresponding to a distribution job operation request from the job operation unit 32 of the management terminal 30. The unauthorized request detection unit 126 detects an operation request for a distribution job from an unauthorized terminal. In the present embodiment, an operation request for a distribution job can be accepted only from the operation panel of the image forming apparatus 10 or the management terminal 30. In other words, only the user and the administrator who input the image data distribution instruction to the image forming apparatus 10 are permitted to operate the distribution job. Therefore, the fraud request detection unit 126 determines that an operation request from a network other than the management terminal 30 via the network is an operation request from an unauthorized terminal. In the present embodiment, a delivery job cancel request is employed as an example of the operation request.

イベント通知部127は、配信ジョブに関するイベントを管理端末30のログ記録部33に通知する。   The event notification unit 127 notifies an event related to the distribution job to the log recording unit 33 of the management terminal 30.

ディレクトリサーバ40は、配信設定管理部41、認証処理部42、及びユーザDB43等を有する。配信設定管理部41は、管理端末30の配信設定受付部31より転送される配信設定情報をユーザDB43に登録する。配信管理部41は、また、画像形成装置10の配信制御部123からの要求に応じ、ユーザDB43に登録されている配信設定情報を配信制御部123に対して送信する。認証処理部42は、画像形成装置10の認証制御部123からの要求に応じ、ユーザDB43に登録されている認証情報(例えば、ユーザ名及びパスワード)を用いて画像形成装置10のユーザを認証する。ユーザDB43は、ユーザ又はグループごとに認証設定情報を記憶すると共に、ユーザごとに認証情報を記憶したデータベースである。   The directory server 40 includes a distribution setting management unit 41, an authentication processing unit 42, a user DB 43, and the like. The distribution setting management unit 41 registers the distribution setting information transferred from the distribution setting receiving unit 31 of the management terminal 30 in the user DB 43. The distribution management unit 41 also transmits distribution setting information registered in the user DB 43 to the distribution control unit 123 in response to a request from the distribution control unit 123 of the image forming apparatus 10. In response to a request from the authentication control unit 123 of the image forming apparatus 10, the authentication processing unit 42 authenticates the user of the image forming apparatus 10 using authentication information (for example, a user name and password) registered in the user DB 43. . The user DB 43 is a database that stores authentication setting information for each user or group and stores authentication information for each user.

配信サーバ20は、配信ジョブ受信部21及び配信ジョブ処理部22を有する。配信ジョブ受信部21は、画像形成装置10の配信制御部123より配信ジョブを受信する。配信ジョブ処理部22は、配信ジョブ受信部21によって受信された配信ジョブについて後段処理(配信設定情報において設定された宛先に画像データを配信する処理)を実行する。   The distribution server 20 includes a distribution job receiving unit 21 and a distribution job processing unit 22. The distribution job receiving unit 21 receives a distribution job from the distribution control unit 123 of the image forming apparatus 10. The distribution job processing unit 22 executes subsequent processing (processing for distributing image data to a destination set in the distribution setting information) for the distribution job received by the distribution job receiving unit 21.

図3は、本発明の実施の形態における画像形成装置のハードウェア構成例を示す図である。図3において、画像形成装置10は、コントローラ11、スキャナ12、プリンタ13、モデム14、操作パネル15、ネットワークインタフェース16、及びSDカードスロット17等のハードウェアを有する。   FIG. 3 is a diagram illustrating a hardware configuration example of the image forming apparatus according to the embodiment of the present invention. 3, the image forming apparatus 10 includes hardware such as a controller 11, a scanner 12, a printer 13, a modem 14, an operation panel 15, a network interface 16, and an SD card slot 17.

コントローラ11は、CPU111、RAM112、ROM113、及びHDD114等を有する。ROM113には、各種のプログラムやプログラムによって利用されるデータ等が記録されている。RAM112は、プログラムをロードするための記憶領域や、ロードされたプログラムのワーク領域等として用いられる。CPU111は、RAM112にロードされたプログラムを処理することにより、各種の機能を実現する。HDD114には、プログラムやプログラムが利用する各種のデータ等が記録される。   The controller 11 includes a CPU 111, a RAM 112, a ROM 113, an HDD 114, and the like. The ROM 113 stores various programs and data used by the programs. The RAM 112 is used as a storage area for loading a program, a work area for the loaded program, and the like. The CPU 111 realizes various functions by processing a program loaded in the RAM 112. The HDD 114 records programs and various data used by the programs.

スキャナ12は、原稿より画像データを読み取るためのハードウェアである。プリンタは13、画像データを印刷用紙に印刷するためのハードウェアである。モデム14は、電話回線に接続するためのハードウェアであり、FAX通信による画像データの送受信を実行するために用いられる。操作パネル15は、ユーザからの入力の受け付けを行うめのボタン等の入力手段や、液晶パネル等の表示手段を備えたハードウェアである。ネットワークインタフェース16は、LAN等のネットワーク(有線又は無線の別は問わない。)に接続するためのハードウェアである。SDカードスロット17は、SDカード80に記録されたプログラムを読み取るために利用される。すなわち、画像形成装置10では、ROM113に記録されたプログラムだけでなく、SDカード80に記録されたプログラムもRAM112にロードされ、実行されうる。   The scanner 12 is hardware for reading image data from a document. The printer 13 is hardware for printing image data on printing paper. The modem 14 is hardware for connecting to a telephone line, and is used to execute transmission / reception of image data by FAX communication. The operation panel 15 is hardware including input means such as buttons for accepting input from a user and display means such as a liquid crystal panel. The network interface 16 is hardware for connecting to a network such as a LAN (whether wired or wireless). The SD card slot 17 is used for reading a program recorded on the SD card 80. That is, in the image forming apparatus 10, not only the program recorded in the ROM 113 but also the program recorded in the SD card 80 can be loaded into the RAM 112 and executed.

なお、本実施の形態の実施にあたり、画像形成装置10は、プリンタ13及びモデム14を備えていなくてもよい。   Note that the image forming apparatus 10 does not have to include the printer 13 and the modem 14 in implementing this embodiment.

以下、配信システム1の処理手順について説明する。図4は、配信設定情報の登録処理を説明するためのシーケンス図である。   Hereinafter, the processing procedure of the distribution system 1 will be described. FIG. 4 is a sequence diagram for explaining the distribution setting information registration process.

ステップS101において、管理端末30の配信設定受付部31は、管理者より配信設定情報の入力を受け付ける。配信設定情報は、例えば、配信設定受付部31が管理端末30の表示装置に表示させる配信設定画面を介して入力される。配信設定画面では、ユーザ又はグループごとに配信設定情報(スキャンに関する設定情報及び配信に関する設定情報等)の入力が可能とされている。したがって、管理者は、ユーザ又はグループごとに、当該ユーザ又はグループに許可可能なスキャン方法や配信先等を考慮して、配信設定情報を入力する。なお、一度の入力作業において、複数のユーザ又はグループに対して配信設定情報が入力されてもよい。また、一人のユーザ又は一つのグループに対して複数の配信設定情報が入力されてもよい。なお、各配信設定情報には、それぞれの設定内容を識別可能な名前(設定名)も設定される。   In step S101, the distribution setting reception unit 31 of the management terminal 30 receives an input of distribution setting information from the administrator. The distribution setting information is input, for example, via a distribution setting screen that the distribution setting receiving unit 31 displays on the display device of the management terminal 30. On the distribution setting screen, it is possible to input distribution setting information (such as setting information regarding scanning and setting information regarding distribution) for each user or group. Therefore, the administrator inputs distribution setting information for each user or group in consideration of a scanning method or a distribution destination that can be permitted for the user or group. Note that distribution setting information may be input to a plurality of users or groups in a single input operation. Also, a plurality of distribution setting information may be input for one user or one group. Each distribution setting information is also set with a name (setting name) for identifying each setting content.

続いて、配信設定受付部31は、入力された配信設定情報を画像形成装置10の配信設定検証部121に送信し、当該配信設定情報の妥当性の検証を要求する(S102)。妥当性の検証要求の受信に応じ、配信設定検証部121は、当該検証要求の送信元のIPアドレスを管理端末30の識別情報としてHDD114に記録しておく(S103)。なお、当該検証要求の送信元のIPアドレスは、当該検証要求を示すメッセージに含まれている。   Subsequently, the distribution setting reception unit 31 transmits the input distribution setting information to the distribution setting verification unit 121 of the image forming apparatus 10 and requests verification of the validity of the distribution setting information (S102). In response to receiving the validity verification request, the distribution setting verification unit 121 records the IP address of the transmission source of the verification request in the HDD 114 as identification information of the management terminal 30 (S103). Note that the IP address of the source of the verification request is included in the message indicating the verification request.

続いて、配信設定検証部121は、画像形成装置10のスキャンに関する能力情報と配信設定情報に含まれているスキャンに関する設定情報とを比較し、配信設定情報の妥当性を検証する(S104)。ここで、能力情報とは、例えば、画像形成装置10が実行するスキャンジョブに対して設定可能な設定項目の一覧情報をいい、画像形成装置10のHDD114に保存されている。したがって、配信設定検証部121は、能力情報に含まれていない設定項目が配信設定情報に含まれている場合、当該配信設定情報は妥当でないと判定する。一方、配信設定検証部121は、配信設定情報に含まれているスキャンに関する設定情報の設定項目の全てが、能力情報に含まれている場合、当該配信設定情報は妥当であると判定する。続いて、配信設定検証部121は、検証結果を配信設定受付部31に返信する(S105)。続いて、配信設定受付部31は、妥当であると判定された配信設定情報をディレクトリサーバ40の配信設定管理部41に送信し、当該配信設定情報の登録を要求する(S106)。配信設定管理部41は、受信された配信設定情報を設定対象のユーザ又はグループに関連付けて、ユーザDB43に登録する。   Subsequently, the distribution setting verification unit 121 compares the capability information related to scanning of the image forming apparatus 10 with the setting information related to scanning included in the distribution setting information, and verifies the validity of the distribution setting information (S104). Here, the capability information is, for example, list information of setting items that can be set for a scan job executed by the image forming apparatus 10, and is stored in the HDD 114 of the image forming apparatus 10. Therefore, the delivery setting verification unit 121 determines that the delivery setting information is not valid when the setting items not included in the capability information are included in the delivery setting information. On the other hand, the delivery setting verification unit 121 determines that the delivery setting information is valid when all the setting information items related to the scan included in the delivery setting information are included in the capability information. Subsequently, the distribution setting verification unit 121 returns a verification result to the distribution setting reception unit 31 (S105). Subsequently, the distribution setting reception unit 31 transmits the distribution setting information determined to be appropriate to the distribution setting management unit 41 of the directory server 40, and requests registration of the distribution setting information (S106). The distribution setting management unit 41 registers the received distribution setting information in the user DB 43 in association with the setting target user or group.

続いて、図5は、配信ジョブの処理手順を説明するためのシーケンス図である。図5では、或るユーザ(管理者以外の一般ユーザも含む)によって画像形成装置10において操作が行われる。   Next, FIG. 5 is a sequence diagram for explaining the processing procedure of the distribution job. In FIG. 5, an operation is performed on the image forming apparatus 10 by a certain user (including general users other than the administrator).

画像形成装置10の操作パネル15を介して、ユーザによって配信ジョブの開始指示が入力されると、認証制御部122は、ログイン画面を操作パネル15に表示させる。ユーザは、ログイン画面を介して自らの認証情報(ユーザ名及びパスワード)を入力する(S111)。認証制御部122は、入力された認証情報に基づく認証をディレクトリサーバ40の認証処理部42に実行させる(S112)。より詳しくは、認証制御部122は、入力された認証情報を認証処理部42に転送する。認証処理部42は、当該認証情報をユーザDB43に登録されている認証情報と照合し、ユーザの認証を行う。認証処理部42は、認証結果を認証制御部122に返信する。   When a distribution job start instruction is input by the user via the operation panel 15 of the image forming apparatus 10, the authentication control unit 122 causes the operation panel 15 to display a login screen. The user inputs his / her authentication information (user name and password) via the login screen (S111). The authentication control unit 122 causes the authentication processing unit 42 of the directory server 40 to perform authentication based on the input authentication information (S112). More specifically, the authentication control unit 122 transfers the input authentication information to the authentication processing unit 42. The authentication processing unit 42 compares the authentication information with the authentication information registered in the user DB 43 to authenticate the user. The authentication processing unit 42 returns the authentication result to the authentication control unit 122.

認証に成功した場合、配信制御部123は、認証されたユーザ(以下、「ログインユーザ」という。)に対して登録された配信設定情報をディレクトリサーバ40の配信設定管理部41より取得する(S113)。より詳しくは、配信制御部123は、ログインユーザのユーザ名を指定して配信設定情報の取得要求を配信設定管理部41に送信する。配信設定管理部41は、当該ユーザ名に対して登録されている配信設定情報をユーザDB43より取得する。ここでは、複数の配信設定情報が取得されうる。配信設定管理部41は、取得されたユーザ設定情報を配信制御部123に返信する。   When the authentication is successful, the distribution control unit 123 acquires distribution setting information registered for the authenticated user (hereinafter referred to as “login user”) from the distribution setting management unit 41 of the directory server 40 (S113). ). More specifically, the distribution control unit 123 transmits a distribution setting information acquisition request to the distribution setting management unit 41 by designating the user name of the login user. The distribution setting management unit 41 acquires distribution setting information registered for the user name from the user DB 43. Here, a plurality of pieces of distribution setting information can be acquired. The distribution setting management unit 41 returns the acquired user setting information to the distribution control unit 123.

続いて、配信制御部123は、受信された配信設定情報の一覧(すなわち、ログインユーザに対して管理者によって設定された配信設定情報の一覧)を操作パネル15に表示させる(S114)。例えば、配信設定情報の設定名の一覧が表示される。一覧に含まれる各配信設定情報は、その設定内容(例えば、スキャン方法や配信方法等)が相互に異なる。したがって、ユーザは、一覧の中から所望のスキャン方法及び配信方法に対応した配信設定情報を選択する(S115)。配信制御部123は、選択された配信設定情報を実行対象としてRAM112に記録する。続いて、ユーザによって配信対象とする原稿がスキャナ12にセットされ、操作パネル15の実行ボタン(スタートキー)が押下されると(S117)、配信制御部123は、配信ジョブを開始する。配信ジョブの開始に際し、配信制御部123は、各配信ジョブに一意なID(ジョブID)を開始対象の配信ジョブに割り当て、当該ジョブIDに対応するエントリをジョブ管理テーブルに生成する。   Subsequently, the distribution control unit 123 displays a list of received distribution setting information (that is, a list of distribution setting information set by the administrator for the login user) on the operation panel 15 (S114). For example, a list of setting names of distribution setting information is displayed. Each distribution setting information included in the list has different setting contents (for example, a scanning method and a distribution method). Therefore, the user selects distribution setting information corresponding to a desired scanning method and distribution method from the list (S115). The distribution control unit 123 records the selected distribution setting information in the RAM 112 as an execution target. Subsequently, when the user sets a document to be distributed on the scanner 12 and presses an execution button (start key) on the operation panel 15 (S117), the distribution control unit 123 starts a distribution job. When starting a distribution job, the distribution control unit 123 assigns a unique ID (job ID) to each distribution job to the distribution job to be started, and generates an entry corresponding to the job ID in the job management table.

図6は、ジョブ管理テーブルの構成例を示す図である。同図において、ジョブ管理テーブル128は、ジョブIDごとに設定名及びステータスを管理するためのテーブルである。設定名は、ジョブIDに係る配信ジョブにおいて利用された配信設定情報の設定名である。ステータスは配信ジョブの状態を示す情報であり、開始時には「開始」が登録される。図6では、ジョブIDが「002」の配信ジョブに対するエントリが追加された状態が示されている。   FIG. 6 is a diagram illustrating a configuration example of the job management table. In the figure, a job management table 128 is a table for managing the setting name and status for each job ID. The setting name is a setting name of distribution setting information used in the distribution job related to the job ID. The status is information indicating the status of the distribution job, and “start” is registered at the start. FIG. 6 shows a state in which an entry for the distribution job with the job ID “002” is added.

続いて、配信制御部123は、ジョブ状態イベントの管理端末30への送信をイベント通知部127に要求する。イベント通知部127は、管理端末30のログ記録部33にジョブ状態イベントを送信する(S118)。ジョブ状態イベントとは、配信ジョブの完了又は終了以外の事象であって、配信ジョブに関して発生する各種の事象(例えば、配信ジョブの状態の変化等)を通知するための通知情報をいう。本実施の形態において、ジョブ状態イベントは、ジョブの開始、ジョブのキャンセルの失敗、不正なジョブキャンセルの検知を通知されるために用いられる。ステップS118では、ジョブの開始を示すジョブ状態イベントが送信される。すなわち、ステップS118において送信されるジョブ状態イベントには、開始された配信ジョブのジョブIDと、ジョブの開始を示す識別子とが属性情報として含まれている。なお、画像形成装置10のHDD114には、配信設定検証部121によって管理端末30の識別情報(IPアドレス)が記録されている。イベント通知部127は、当該識別情報に基づいてイベントの送信先を判断する。   Subsequently, the distribution control unit 123 requests the event notification unit 127 to transmit a job status event to the management terminal 30. The event notification unit 127 transmits a job status event to the log recording unit 33 of the management terminal 30 (S118). The job status event is an event other than the completion or end of the distribution job, and is notification information for notifying various events that occur regarding the distribution job (for example, a change in the status of the distribution job). In the present embodiment, the job status event is used to notify the start of the job, the job cancellation failure, and the detection of an illegal job cancellation. In step S118, a job status event indicating the start of the job is transmitted. That is, the job status event transmitted in step S118 includes the job ID of the started distribution job and an identifier indicating the start of the job as attribute information. Note that the identification information (IP address) of the management terminal 30 is recorded in the HDD 114 of the image forming apparatus 10 by the distribution setting verification unit 121. The event notification unit 127 determines an event transmission destination based on the identification information.

当該ジョブ状態イベントを受信したログ記録部33は、当該ジョブ状態イベントの属性情報に基づいて配信ジョブに関するログを管理端末30の記憶装置に記録する。   The log recording unit 33 that has received the job status event records a log related to the distribution job in the storage device of the management terminal 30 based on the attribute information of the job status event.

続いて、配信制御部123は、スキャナ制御部124にスキャンの実行指示を入力する。スキャナ制御部124は、当該実行指示に応じ、スキャナ12を制御し、原稿からの画像データの読み取り(スキャン)を実行する(S119)。この際、スキャナ制御部124は、実行対象としてRAM112に記録されている配信設定情報に含まれているスキャンに関する設定情報に従ってスキャンを実行する。スキャナ制御部124は、読み取られた画像データをRAM112又はHDD114に記録する。   Subsequently, the distribution control unit 123 inputs a scan execution instruction to the scanner control unit 124. In response to the execution instruction, the scanner control unit 124 controls the scanner 12 and executes reading (scanning) of image data from the document (S119). At this time, the scanner control unit 124 executes the scan according to the setting information regarding the scan included in the distribution setting information recorded in the RAM 112 as an execution target. The scanner control unit 124 records the read image data in the RAM 112 or the HDD 114.

画像データのスキャンが完了すると、配信制御部123は、RAM112又はHDD114に記録されている画像データと、実行対象とされた配信設定情報と、ジョブIDとを配信サーバ20の配信ジョブ受信部21に送信し、配信処理の実行を要求する(S120)。配信制御部123は、配信サーバ20への要求の送信後、ジョブ管理テーブル128における当該ジョブIDのステータスを「処理中」に更新する。   When the scan of the image data is completed, the distribution control unit 123 sends the image data recorded in the RAM 112 or the HDD 114, the distribution setting information to be executed, and the job ID to the distribution job receiving unit 21 of the distribution server 20. Transmit and request execution of distribution processing (S120). After transmitting the request to the distribution server 20, the distribution control unit 123 updates the status of the job ID in the job management table 128 to “processing”.

続いて、配信ジョブ受信部21は、受信されたジョブIDをジョブキューに登録し、受信された画像データ及び配信設定情報をジョブIDに関連付けて配信サーバ20の記憶装置に保存する。ジョブキューとは、ジョブの実行順に応じてジョブIDが記録された記憶領域をいう。   Subsequently, the distribution job receiving unit 21 registers the received job ID in the job queue, and stores the received image data and distribution setting information in the storage device of the distribution server 20 in association with the job ID. The job queue is a storage area in which job IDs are recorded according to the job execution order.

続いて、配信ジョブ処理部22は、ジョブキューに登録されたジョブIDに基づいて配信ジョブを順番に処理する。具体的には、配信ジョブ処理部22は、ジョブキューよりジョブIDを一つ取り出し、当該ジョブIDに関連付けられて保存されている配信設定情報に含まれている配信に関する設定情報に設定されている配信先(例えば、Webサーバ51、ファイル共有サーバ52、又はメールサーバ53)に、当該ジョブIDに関連付けられて保存されている画像データを配信する(S121)。例えば、Webサーバ51に配信された画像データは、Webサーバ51によってWeb上に公開される。ファイル共有サーバ52に配信された画像データは、保存先とされたフォルダに保存される。保存先のフォルダ名は、配信設定情報において配信先を構成する情報として含まれている。メールサーバ53に配信された画像データは、メール送信される。送信先のメールアドレスは、配信設定情報において配信先を構成する情報として含まれている。   Subsequently, the distribution job processing unit 22 sequentially processes the distribution jobs based on the job ID registered in the job queue. Specifically, the distribution job processing unit 22 extracts one job ID from the job queue, and is set in the setting information regarding distribution included in the distribution setting information stored in association with the job ID. The image data stored in association with the job ID is distributed to a distribution destination (for example, the Web server 51, the file sharing server 52, or the mail server 53) (S121). For example, the image data distributed to the web server 51 is published on the web by the web server 51. The image data distributed to the file sharing server 52 is stored in a folder that is a storage destination. The folder name of the storage destination is included as information constituting the distribution destination in the distribution setting information. The image data distributed to the mail server 53 is transmitted by mail. The mail address of the transmission destination is included as information constituting the distribution destination in the distribution setting information.

配信ジョブ処理部22は、配信処理が正常に完了すると、配信処理の完了(正常終了)をジョブIDと共に画像形成装置10の配信制御部123に通知する(S122)。当該通知に応じ、配信制御部123は、ジョブ管理テーブル128における当該ジョブIDに対応するステータスを「完了」に更新する。又は、当該ジョブIDに係るエントリがジョブ管理テーブル128より削除されてもよい。また、配信制御部123は、ジョブ完了イベントの管理端末30への送信をイベント通知部127に要求する。イベント通知部127は、ジョブ完了イベントを管理端末30のログ記録部33に送信する(S123)。ジョブ完了イベントとは、配信ジョブの完了又は終了を通知するための通知情報をいう。全ての配信ジョブは、必ず完了又は終了する。したがって、ジョブ完了イベントは、全ての配信ジョブについて基本的に(通信異常等が発生しない限り)必ず一度発行される。ジョブの完了又は終了には、正常終了によるジョブの完了、中断によるジョブの終了、又はキャンセルによるジョブの終了がある。ジョブ完了イベントには、正常終了、中断、及びキャンセルを識別するための識別子とジョブIDとを属性情報として含む。ここでは、配信ジョブは正常終了したため、イベント通知部127は、正常終了を示すジョブ完了イベントをログ記録部33に送信する。   When the distribution process is normally completed, the distribution job processing unit 22 notifies the distribution control unit 123 of the image forming apparatus 10 of the completion (normal end) of the distribution process together with the job ID (S122). In response to the notification, the distribution control unit 123 updates the status corresponding to the job ID in the job management table 128 to “completed”. Alternatively, the entry related to the job ID may be deleted from the job management table 128. In addition, the distribution control unit 123 requests the event notification unit 127 to transmit a job completion event to the management terminal 30. The event notification unit 127 transmits a job completion event to the log recording unit 33 of the management terminal 30 (S123). The job completion event is notification information for notifying completion or end of a distribution job. All distribution jobs are always completed or completed. Therefore, the job completion event is always issued once for all distribution jobs (unless a communication abnormality or the like occurs). The job completion or termination includes job completion due to normal termination, job termination due to interruption, or job termination due to cancellation. The job completion event includes an identifier for identifying normal end, interruption, and cancellation and a job ID as attribute information. Here, since the distribution job is normally completed, the event notification unit 127 transmits a job completion event indicating normal termination to the log recording unit 33.

当該ジョブ完了イベントを受信したログ記録部33は、当該ジョブ状態イベントの属性情報に基づいて配信ジョブに関するログを管理端末30の記憶装置に記録する。   The log recording unit 33 that has received the job completion event records a log related to the distribution job in the storage device of the management terminal 30 based on the attribute information of the job status event.

なお、配信ジョブの完了は、配信ジョブの状態の変化として捉えることができる。したがって、配信ジョブの正常終了に応じて、ジョブ状態イベントも管理端末30に送信することが考えられる。しかし、本実施の形態において、配信ジョブが正常終了した場合、イベント通知部127は、ジョブ状態イベントは送信しない。配信ジョブが正常終了したことを示すジョブ状態イベントを通知したとしても、その内容はジョブ完了イベントに含まれており、実質的に同じ内容を重複して通知することになるからである。正常終了を示すジョブ状態イベントが送信されないことにより、イベント送信が冗長となることが回避される。また、管理端末30において、配信ジョブが正常終了したことを示すログが重複して記録されることが回避される。   The completion of the distribution job can be regarded as a change in the state of the distribution job. Therefore, it can be considered that a job status event is also transmitted to the management terminal 30 in response to the normal end of the distribution job. However, in this embodiment, when the distribution job ends normally, the event notification unit 127 does not transmit a job status event. This is because even if a job status event indicating that the distribution job has been normally completed is notified, the content is included in the job completion event, and substantially the same content is notified redundantly. By not transmitting a job status event indicating normal termination, redundant event transmission is avoided. In addition, it is avoided that the log indicating that the distribution job is normally completed is recorded in the management terminal 30 in duplicate.

続いて、管理端末30からの配信ジョブのキャンセルについて説明する。図7は、管理端末からの配信ジョブのキャンセル処理の処理手順を説明するためのシーケンス図である。同図では、管理端末30において管理者によって操作が行われる。   Next, cancellation of a distribution job from the management terminal 30 will be described. FIG. 7 is a sequence diagram for explaining the processing procedure of the delivery job cancel processing from the management terminal. In the figure, an operation is performed by the administrator at the management terminal 30.

例えば、ジョブ操作部32が管理端末30の表示装置に表示させているジョブ操作画面を介してジョブ一覧の表示指示が管理者によって入力されると(S131)、ジョブ操作部32は配信ジョブの一覧情報の取得要求を画像形成装置10のジョブ管理部125に送信する(S132)。ジョブ管理部125は、ジョブ管理テーブル128に登録されている配信ジョブの一覧情報をジョブ操作部32に返信する(S133)。ジョブ操作部32は、受信された配信ジョブの一覧(ジョブ一覧)をジョブ操作画面に表示させる(S134)。ジョブ一覧では、例えば、配信ジョブの設定名とステータスの一覧が表示される。   For example, when the administrator inputs a job list display instruction via the job operation screen displayed on the display device of the management terminal 30 by the job operation unit 32 (S131), the job operation unit 32 displays the distribution job list. An information acquisition request is transmitted to the job management unit 125 of the image forming apparatus 10 (S132). The job management unit 125 returns the distribution job list information registered in the job management table 128 to the job operation unit 32 (S133). The job operation unit 32 displays a list of received distribution jobs (job list) on the job operation screen (S134). In the job list, for example, a distribution job setting name and a list of statuses are displayed.

続いて、管理者によってジョブ一覧の中から任意の配信ジョブが選択され、ジョブ操作画面のキャンセルボタンがクリックされると(S135)、ジョブ操作部32は、選択された配信ジョブのジョブIDを指定して、当該配信ジョブのキャンセル要求をジョブ管理部125に送信する(S136)。なお、ステップS135においてキャンセル対象として選択可能な配信ジョブは、ステータスが「開始」又は「処理中」の配信ジョブである。   Subsequently, when an administrator selects an arbitrary distribution job from the job list and clicks a cancel button on the job operation screen (S135), the job operation unit 32 specifies a job ID of the selected distribution job. Then, a cancellation request for the distribution job is transmitted to the job management unit 125 (S136). Note that the distribution job that can be selected as a cancellation target in step S135 is a distribution job whose status is “start” or “processing”.

ジョブ管理部125は、配信ジョブのキャンセル要求を受信すると、当該キャンセル要求の正当性の確認を不正要求検知部126に要求する。不正要求検知部126は、キャンセル要求元のIPアドレス(キャンセル要求に含まれているIPアドレス)を、管理端末30の識別情報(すなわち、キャンセルが許可された装置の識別情報)としてHDD114に記録されているIPアドレスと比較し、キャンセル要求の正当性を確認する(S137)。不正要求検知部126は、両者が一致しない場合、当該キャンセル要求は不正であると判定し、両者が一致した場合、当該キャンセル要求は正当であると判定する。ここでは、管理端末30がキャンセル要求の送信元であるため、キャンセル要求は正当であると判定される。   When the job management unit 125 receives the cancellation request for the distribution job, the job management unit 125 requests the fraud request detection unit 126 to confirm the validity of the cancellation request. The fraud request detection unit 126 records the IP address of the cancellation request source (the IP address included in the cancellation request) on the HDD 114 as the identification information of the management terminal 30 (that is, the identification information of the device permitted to cancel). The validity of the cancel request is confirmed (S137). The fraud request detection unit 126 determines that the cancel request is illegal when the two do not match, and determines that the cancel request is valid when the two match. Here, since the management terminal 30 is the transmission source of the cancellation request, it is determined that the cancellation request is valid.

ジョブ管理部125は、キャンセル要求の正当性が確認されると、キャンセル対象のジョブIDを指定して、配信ジョブのキャンセル要求を配信サーバ20の配信ジョブ受信部21に送信する(S138)。なお、ジョブ管理部125は、キャンセル要求の送信前又は送信後に、ジョブ管理テーブル128における当該ジョブIDのステータスを「キャンセル中」に更新する。   When the validity of the cancel request is confirmed, the job management unit 125 designates the job ID to be canceled and transmits a distribution job cancel request to the distribution job receiving unit 21 of the distribution server 20 (S138). Note that the job management unit 125 updates the status of the job ID in the job management table 128 to “Canceled” before or after transmission of the cancel request.

配信ジョブ受信部21は、キャンセル要求において指定されたジョブIDをジョブキューより削除し、当該ジョブIDに関連付けられている画像データ及び配信設定情報を配信サーバ20の記憶装置より削除する(S139)。これによって、配信ジョブはキャンセルされる。キャンセルに成功すると、配信ジョブ受信部21は、キャンセルの成功を示す情報をジョブIDと共にジョブ管理部125に返信する(S140)。   The distribution job receiving unit 21 deletes the job ID specified in the cancel request from the job queue, and deletes the image data and distribution setting information associated with the job ID from the storage device of the distribution server 20 (S139). As a result, the distribution job is canceled. If the cancellation is successful, the distribution job receiving unit 21 returns information indicating the success of the cancellation to the job management unit 125 together with the job ID (S140).

ジョブ管理部125は、キャンセルの成功を示す情報を受信すると、ジョブ管理テーブル128における当該ジョブIDのステータスを「キャンセル済み」に更新する。続いて、ジョブ管理部125は、イベント通知部127に対してジョブ完了イベントの通知を要求する。イベント通知部127は、ジョブIDとキャンセルによる終了であることを示す識別子とを属性情報として含むジョブ完了イベントを管理端末30のログ記録部33に送信する(S141)。   When the job management unit 125 receives information indicating successful cancellation, the job management unit 125 updates the status of the job ID in the job management table 128 to “cancelled”. Subsequently, the job management unit 125 requests the event notification unit 127 to notify the job completion event. The event notification unit 127 transmits a job completion event including, as attribute information, a job ID and an identifier indicating completion due to cancellation to the log recording unit 33 of the management terminal 30 (S141).

当該ジョブ完了イベントを受信したログ記録部33は、当該ジョブ状態イベントの属性情報に基づいて配信ジョブに関するログを管理端末30の記憶装置に記録する。   The log recording unit 33 that has received the job completion event records a log related to the distribution job in the storage device of the management terminal 30 based on the attribute information of the job status event.

なお、キャンセルが成功し、キャンセルによって配信ジョブが終了した場合もジョブ状態イベントの送信は行われない。その理由は、配信ジョブが正常終了した場合と同じである。   Note that even when the cancellation is successful and the distribution job is terminated by the cancellation, the job status event is not transmitted. The reason is the same as when the distribution job is normally completed.

続いて、図8は、完了した配信ジョブに対してキャンセルが指示された場合の処理手順を説明するためのシーケンス図である。図8中、図7と同一ステップには同一ステップ番号を付し、その説明は適宜省略する。   Next, FIG. 8 is a sequence diagram for explaining a processing procedure when a cancellation is instructed for a completed distribution job. In FIG. 8, the same steps as those in FIG. 7 are denoted by the same step numbers, and the description thereof is omitted as appropriate.

図8では、例えば、ジョブ一覧においてキャンセル指示が行われている最中等に、キャンセル対象の配信ジョブに関する配信処理が配信サーバ20において実行される(S151)。続いて、配信の完了がジョブIDと共に画像形成装置10の配信制御部123に通知される(S152)。当該通知に応じ、配信制御部123は、ジョブ管理テーブル128における当該ジョブIDに対応するステータスを「完了」に変更する。   In FIG. 8, for example, the distribution server 20 executes a distribution process related to a distribution job to be canceled while a cancel instruction is being given in the job list (S151). Subsequently, the distribution completion is notified to the distribution control unit 123 of the image forming apparatus 10 together with the job ID (S152). In response to the notification, the distribution control unit 123 changes the status corresponding to the job ID in the job management table 128 to “completed”.

その後、当該ジョブIDに対するキャンセル要求が管理端末30のジョブ操作部32より画像形成装置10のジョブ管理部125に送信される(S136)。ここで、指定されたジョブIDのステータスは「完了」でありキャンセルすることはできない。そこで、ジョブ管理部125は、キャンセルの失敗を通知するためのジョブ状態イベントの送信をイベント通知部127に要求する。イベント通知部127は、当該要求に応じ、ジョブIDとキャンセル失敗を示す識別子とを属性情報として含むジョブ状態イベントを管理端末30のログ記録部33に送信する(S153)。また、配信ジョブ処理部22からの配信ジョブの完了通知(S152)に応じ、配信制御部123は、配信ジョブの正常終了を示すジョブ完了イベントの送信をイベント通知部127に要求する。イベント通知部127は、当該要求に応じ、ジョブIDと配信ジョブの正常終了を示す識別子とを属性情報として含むジョブ完了イベントを管理端末30のログ記録部33に送信する(S154)。   Thereafter, a cancel request for the job ID is transmitted from the job operation unit 32 of the management terminal 30 to the job management unit 125 of the image forming apparatus 10 (S136). Here, the status of the designated job ID is “completed” and cannot be canceled. Therefore, the job management unit 125 requests the event notification unit 127 to transmit a job status event for notifying the cancellation failure. In response to the request, the event notification unit 127 transmits a job status event including a job ID and an identifier indicating a cancellation failure as attribute information to the log recording unit 33 of the management terminal 30 (S153). Also, in response to the distribution job completion notification (S152) from the distribution job processing unit 22, the distribution control unit 123 requests the event notification unit 127 to transmit a job completion event indicating the normal end of the distribution job. In response to the request, the event notification unit 127 transmits a job completion event including the job ID and the identifier indicating the normal end of the distribution job as attribute information to the log recording unit 33 of the management terminal 30 (S154).

管理端末30のログ記録部33は、ジョブ状態イベント及びジョブ完了イベントのそれぞれを受信したタイミング(S153、S154)で、当該ジョブ状態イベント又は当該ジョブ完了イベントの属性情報に基づいて配信ジョブに関するログを管理端末30の記憶装置に記録する。   The log recording unit 33 of the management terminal 30 records a log relating to the distribution job based on the job status event or the attribute information of the job completion event at the timing (S153, S154) when each job status event and job completion event is received. Record in the storage device of the management terminal 30.

ここで、ジョブ状態イベントも通知されるのは、ジョブ完了イベントではキャンセルの失敗を通知するのは適切でないからである。すなわち、ジョブ完了イベントは、配信ジョブの完了又は終了に応じて通知されるものであるところ、キャンセルの失敗時には、配信ジョブはまだ処理中かもしれないし、既に完了又は終了しているかもしれず、ジョブ完了イベントを発行することはできないからである。そこで、本実施の形態では、キャンセルの失敗はジョブ状態イベントによって通知が行われるのである。   Here, the job status event is also notified because it is not appropriate to notify the cancellation failure in the job completion event. That is, the job completion event is notified in response to the completion or completion of the distribution job. However, when the cancellation fails, the distribution job may be still being processed or may have already been completed or completed. This is because a completion event cannot be issued. Therefore, in this embodiment, the cancellation failure is notified by a job status event.

一方、キャンセルの成功と配信ジョブの終了とのタイミングは一致する。したがって、キャンセルの成功時は、図7において説明したようにキャンセルの成功を示すジョブ完了イベントのみが発行されるのである。   On the other hand, the timing of the successful cancellation and the end of the distribution job coincide. Therefore, when the cancellation is successful, only the job completion event indicating the successful cancellation is issued as described in FIG.

なお、ステップS153のジョブ状態イベントとステップS154のジョブ完了イベントとの前後関係は、タイミングによって変化しうる。例えば、ジョブ完了イベントが先に通知された後、ジョブ状態イベントが通知されることもありうる。   Note that the context of the job status event in step S153 and the job completion event in step S154 can change depending on the timing. For example, a job status event may be notified after a job completion event is notified first.

続いて、図9は、操作パネルからのキャンセル指示と管理端末からのキャンセル指示が重複した場合の処理手順を説明するためのシーケンス図である。   Next, FIG. 9 is a sequence diagram for explaining a processing procedure when a cancel instruction from the operation panel and a cancel instruction from the management terminal overlap.

例えば、ジョブ管理部125が画像形成装置10の操作パネル15に表示させているジョブ一覧画面において、ユーザによってキャンセル対象の配信ジョブが選択され、キャンセル指示が入力されると(S161)、ジョブ管理部125は、キャンセル対象とされた配信ジョブのジョブIDを指定して、配信ジョブのキャンセル要求を配信サーバ20の配信ジョブ受信部21に送信する(S162)。ジョブ管理部125は、キャンセル要求の送信前又は送信後に、ジョブ管理テーブル128における当該ジョブIDのステータスを「キャンセル中」に更新する。なお、ジョブ一覧画面には、ジョブ管理テーブル128にジョブID等が登録されている配信ジョブの一覧が表示される。   For example, when the user selects a delivery job to be canceled on the job list screen displayed on the operation panel 15 of the image forming apparatus 10 by the job management unit 125 and inputs a cancel instruction (S161), the job management unit 125 designates the job ID of the distribution job to be canceled, and transmits a distribution job cancel request to the distribution job receiving unit 21 of the distribution server 20 (S162). The job management unit 125 updates the status of the job ID in the job management table 128 to “Canceled” before or after transmitting the cancel request. In the job list screen, a list of distribution jobs whose job IDs are registered in the job management table 128 is displayed.

続いて(例えば、ステップS161の直後に)、ジョブ管理部125が、管理端末30のジョブ操作部32より、操作パネル15よりキャンセルが指示された配信ジョブと同一の配信ジョブについてキャンセル要求を受信したとする(S163)。なお、ステップS163は、図7のステップS136に対応する。この場合、ジョブ管理部125は、ジョブ管理テーブル128に基づいて、当該配信ジョブはキャンセル中(すなわち、既にキャンセル要求済み)であることを認識し、配信サーバ20への再度のキャンセル要求は行わない。ところで、この場合、管理端末30からのキャンセル要求については、失敗したと考えることができる。しかし、ジョブ管理部125は、キャンセルの失敗を示すジョブ状態イベントの送信は、イベント通知部127には要求しない。   Subsequently (for example, immediately after step S161), the job management unit 125 receives a cancel request for the same distribution job as the distribution job instructed to be canceled from the operation panel 15 from the job operation unit 32 of the management terminal 30. (S163). Step S163 corresponds to step S136 in FIG. In this case, based on the job management table 128, the job management unit 125 recognizes that the distribution job is being canceled (that is, already requested to be canceled), and does not make a cancellation request to the distribution server 20 again. . By the way, in this case, it can be considered that the cancellation request from the management terminal 30 has failed. However, the job management unit 125 does not request the event notification unit 127 to transmit a job status event indicating a cancellation failure.

続いて、ジョブ管理部125は、配信サーバ20の配信ジョブ受信部21より、キャンセルの成功を示す情報を受信する(S164)。続いて、ジョブ管理部125は、キャンセル対象とされた配信ジョブのステータスをジョブ管理テーブル128において「キャンセル済み」に更新する。続いて、ジョブ管理部125は、キャンセルによる終了を示すジョブ完了イベントの送信をイベント通知部127に要求する。イベント通知部127は、ジョブIDとキャンセルによる終了であることを示す識別子とを属性情報として含むジョブ完了イベントを管理端末30のログ記録部33に送信する(S165)。   Subsequently, the job management unit 125 receives information indicating successful cancellation from the distribution job reception unit 21 of the distribution server 20 (S164). Subsequently, the job management unit 125 updates the status of the distribution job to be canceled to “cancelled” in the job management table 128. Subsequently, the job management unit 125 requests the event notification unit 127 to transmit a job completion event indicating completion due to cancellation. The event notification unit 127 transmits a job completion event including, as attribute information, a job ID and an identifier indicating completion due to cancellation to the log recording unit 33 of the management terminal 30 (S165).

すなわち、厳密には、管理端末30からのキャンセル要求に対する処理は失敗しているが、配信ジョブのキャンセル自体は成功している。したがって、画像形成装置10は、キャンセルの失敗を示すジョブ状態イベントを管理端末30には送信せずに、キャンセルの成功を示すジョブ完了イベントのみを管理端末30に送信する。仮に、キャンセルの失敗を示すジョブ状態イベントが管理端末30に送信された場合、当該ジョブ状態イベントに基づいてキャンセルの失敗を示すログが記録され、その後のジョブ完了イベントに基づいてキャンセルの成功による配信ジョブの終了を示すログが記録されてしまう。そうすると、キャンセルが失敗したのか成功したのかが一見して非常に分かりづらいログが記録されてしまう。また、実質的に配信ジョブのキャンセルは成功しているのだから、管理端末30に対してもキャンセルの成功として通知するのが妥当であると考えられる。そこで、本実施の形態では、重複したキャンセル指示によって既に配信ジョブのキャンセルが行われている場合は、管理端末30にはキャンセルによる終了を示すジョブ完了イベントのみを通知するのである。   That is, strictly speaking, the processing for the cancel request from the management terminal 30 has failed, but the cancellation of the distribution job itself has succeeded. Therefore, the image forming apparatus 10 transmits only the job completion event indicating the successful cancellation to the management terminal 30 without transmitting the job status event indicating the cancellation failure to the management terminal 30. If a job status event indicating a cancellation failure is transmitted to the management terminal 30, a log indicating the cancellation failure is recorded based on the job status event, and a delivery due to a successful cancellation based on the subsequent job completion event is recorded. A log indicating the end of the job is recorded. In this case, a log that is very difficult to understand at a glance whether the cancellation has failed or succeeded is recorded. In addition, since the delivery job is substantially canceled, it is considered appropriate to notify the management terminal 30 of the successful cancellation. Therefore, in the present embodiment, when the distribution job has already been canceled due to the overlapping cancel instruction, the management terminal 30 is notified of only the job completion event indicating the end due to the cancellation.

続いて、図10は、管理端末以外の端末より配信ジョブのキャンセルが要求された場合の処理手順を説明するためシーケンス図である。同図において、端末60は、管理端末30とは別のコンピュータである。   Next, FIG. 10 is a sequence diagram for explaining a processing procedure when a delivery job cancellation is requested from a terminal other than the management terminal. In the figure, a terminal 60 is a computer different from the management terminal 30.

ステップS201において、画像形成装置10のジョブ管理部125は、実際に存在するジョブIDが指定されたジョブのキャンセル要求を端末60より受信する。続いて、ジョブ管理部125は、当該キャンセル要求の正当性の確認を不正要求検知部126に要求する。不正要求検知部126は、キャンセル要求元のIPアドレス(キャンセル要求に含まれているIPアドレス)を、管理端末30の識別情報としてHDD114に記録されているIPアドレスと比較し、キャンセル要求の正当性を確認する(S137)。ここでは、管理端末30以外の端末60がキャンセル要求の送信元であるため、キャンセル要求は不正であると判定される。   In step S <b> 201, the job management unit 125 of the image forming apparatus 10 receives from the terminal 60 a cancel request for a job in which a job ID that actually exists is specified. Subsequently, the job management unit 125 requests the fraud request detection unit 126 to confirm the validity of the cancellation request. The fraud request detection unit 126 compares the IP address of the cancellation request source (the IP address included in the cancellation request) with the IP address recorded in the HDD 114 as the identification information of the management terminal 30, and the validity of the cancellation request Is confirmed (S137). Here, since the terminal 60 other than the management terminal 30 is the source of the cancel request, it is determined that the cancel request is illegal.

キャンセル要求は不正であることを示す判定結果に応じ、ジョブ管理部125は、不正なキャンセル要求が有ったことを示すジョブ状態イベントの送信をイベント通知部127に要求する。イベント通知部127は、キャンセル対象とされたジョブIDと不正なキャンセル要求が有ったことを示す識別子とを属性情報として含むジョブ状態イベントを管理端末30のログ記録部33に送信する(S203)。   In response to the determination result indicating that the cancel request is invalid, the job management unit 125 requests the event notification unit 127 to transmit a job status event indicating that there is an invalid cancel request. The event notification unit 127 transmits, to the log recording unit 33 of the management terminal 30, a job status event that includes, as attribute information, a job ID that is a cancel target and an identifier that indicates that there has been an illegal cancel request (S203). .

当該ジョブ状態イベントを受信したログ記録部33は、当該ジョブ状態イベントの属性情報に基づいて不正なキャンセル要求が有ったことを示すログを管理端末30の記憶装置に記録する。   The log recording unit 33 that has received the job status event records in the storage device of the management terminal 30 a log indicating that there has been an invalid cancel request based on the attribute information of the job status event.

このように、画像形成装置10は、管理端末30の識別情報を予め保持しているため、キャンセル要求元が管理端末30であるか否かを適切に判定することができる。したがって、管理端末30以外からのキャンセル要求を適切に検知することができる。また、不正なキャンセル要求が有ったことを示すジョブ状態イベントが管理端末30に通知されるため、管理端末30において不正なキャンセル要求があったことを適切にログに記録することができる。その結果、ログを参照した管理者は、不正なアクセスが有ったこという事実を確認することができる。なお、不正なキャンセル要求の要求元の識別情報(例えば、IPアドレス等)をジョブ状態イベントの属性情報に含めてもよい。この場合、当該識別情報がログに記録されることにより、管理者による不正なキャンセル要求元の追跡調査に対する負担が軽減されることが期待される。   As described above, since the image forming apparatus 10 holds the identification information of the management terminal 30 in advance, it can appropriately determine whether or not the cancel request source is the management terminal 30. Therefore, it is possible to appropriately detect a cancel request from other than the management terminal 30. In addition, since the job status event indicating that there has been an unauthorized cancel request is notified to the management terminal 30, it is possible to appropriately record in the log that there has been an unauthorized cancel request at the management terminal 30. As a result, the administrator who refers to the log can confirm the fact that there was unauthorized access. Note that identification information (for example, an IP address, etc.) of the request source of an unauthorized cancellation request may be included in the attribute information of the job status event. In this case, by recording the identification information in the log, it is expected that the burden on the follow-up investigation of the unauthorized cancellation request source by the administrator is reduced.

ところで、端末60のユーザに悪意がある場合、ジョブIDを変化させつつ繰り返しジョブのキャンセル要求が行われることが考えられる。全ての不正なキャンセル要求に関してジョブ状態イベントが発行されていては、ネットワーク負荷が増大し、また、管理端末30におけるログの記録領域が短期間でログフル状態(空き容量が無い状態)になってしまうことが考えられる。そこで、斯かる不都合の発生を防止する例について説明する。   By the way, when the user of the terminal 60 is malicious, it is conceivable that a job cancel request is repeatedly made while changing the job ID. If a job status event is issued for all invalid cancellation requests, the network load increases, and the log recording area in the management terminal 30 becomes a log full state (a state where there is no free space) in a short period of time. It is possible. An example of preventing such inconvenience will be described.

図11は、繰り返し行われる不正なキャンセル要求に対する第一の対抗処理の処理手順を説明するためのシーケンス図である。同図において、端末60は不正なキャンセル要求を繰り返し送信する端末である。   FIG. 11 is a sequence diagram for explaining the processing procedure of the first countermeasure processing for repeated invalid cancellation requests. In the figure, a terminal 60 is a terminal that repeatedly transmits unauthorized cancellation requests.

ステップS201において、画像形成装置10のジョブ管理部125は、ジョブのキャンセル要求を端末60より受信する(S211)。当該ジョブキャンセル要求に指定されているジョブIDは、実在するものかもしれないし、実在しないものかもしれない。続いて、ジョブ管理部125は、当該キャンセル要求の正当性の確認を不正要求検知部126に要求する。ジョブ管理部125は、管理端末30以外の端末60がキャンセル要求の送信元であることを検知し、キャンセル要求は不正であると判定する(S212)。キャンセル要求が不正であると判定した場合、不正要求検知部126は、当該キャンセル要求元の識別情報(例えば、IPアドレス)と現在の時刻(すなわち、不正なキャンセル要求が受信された時刻)とを不正端末の識別情報としてHDD114に記録しておく(S213)。   In step S201, the job management unit 125 of the image forming apparatus 10 receives a job cancel request from the terminal 60 (S211). The job ID specified in the job cancel request may exist or may not exist. Subsequently, the job management unit 125 requests the fraud request detection unit 126 to confirm the validity of the cancellation request. The job management unit 125 detects that the terminal 60 other than the management terminal 30 is the source of the cancel request, and determines that the cancel request is invalid (S212). If it is determined that the cancellation request is illegal, the unauthorized request detection unit 126 uses the identification information (for example, IP address) of the cancellation request source and the current time (that is, the time when the unauthorized cancellation request is received). The identification information of the unauthorized terminal is recorded in the HDD 114 (S213).

キャンセル要求は不正であることを示す判定結果に応じ、ジョブ管理部125は、不正なキャンセル要求が有ったことを示すジョブ状態イベントの送信をイベント通知部127に要求する。イベント通知部127は、キャンセル対象とされたジョブIDと不正なキャンセル要求が有ったことを示す識別子とを属性情報として含むジョブ状態イベントを管理端末30のログ記録部33に送信する(S214)。   In response to the determination result indicating that the cancel request is invalid, the job management unit 125 requests the event notification unit 127 to transmit a job status event indicating that there is an invalid cancel request. The event notification unit 127 transmits a job status event including, as attribute information, the job ID to be canceled and an identifier indicating that there has been an illegal cancellation request, to the log recording unit 33 of the management terminal 30 (S214). .

その後、ジョブ管理部125は、端末60より繰り返しジョブのキャンセル要求を受信する(S215、S217、S219)。キャンセル要求が受信されるたびに、不正要求検知部126は、キャンセル要求の正当性(キャンセル要求元が管理端末30であるか)のチェックを行うと共に、キャンセル要求元のIPアドレスが不正端末の識別情報としてHDD114に記録されている識別情報と一致するか否かを判定する(S216、S218、S220)。   Thereafter, the job management unit 125 receives a job cancel request repeatedly from the terminal 60 (S215, S217, S219). Each time a cancel request is received, the fraud request detection unit 126 checks the validity of the cancel request (whether the cancel request source is the management terminal 30), and the IP address of the cancel request source identifies the fraudulent terminal. It is determined whether the information matches the identification information recorded in the HDD 114 (S216, S218, S220).

キャンセル要求元のIPアドレスが不正端末の識別情報と一致すると判定された場合であって、かつ、不正端末の識別情報が記録された時刻から所定時間内である場合、ジョブ管理部125は、不正なキャンセル要求が有ったことを示すジョブ状態イベントの送信をイベント通知部127には要求しない。   If it is determined that the IP address of the cancellation request source matches the identification information of the unauthorized terminal, and if it is within a predetermined time from the time when the identification information of the unauthorized terminal is recorded, the job management unit 125 The event notification unit 127 is not requested to transmit a job status event indicating that there has been a cancel request.

図11の処理によれば、同一端末から繰り返し行われる不正なキャンセル要求に基づくジョブ状態イベントの送信回数を必要最小限に抑えることができる。その結果、ネットワーク負荷が異常に高くなることを防止することができる。また、管理端末30におけるログの記憶領域が不必要に圧迫されるのを防止することができる。   According to the processing in FIG. 11, the number of job status event transmissions based on unauthorized cancellation requests repeatedly performed from the same terminal can be minimized. As a result, it is possible to prevent the network load from becoming abnormally high. In addition, the log storage area in the management terminal 30 can be prevented from being unnecessarily compressed.

また、図12は、繰り返し行われる不正なキャンセル要求に対する第二の対抗処理の処理手順を説明するためのシーケンス図である。図12中、図11と同一ステップには同一ステップ番号を付し、その説明は省略する。   FIG. 12 is a sequence diagram for explaining a processing procedure of a second countermeasure process for an illegal cancellation request that is repeatedly performed. In FIG. 12, the same steps as those in FIG. 11 are denoted by the same step numbers, and the description thereof is omitted.

図12では、同一の端末60からの不正なキャンセル要求に応じたジョブ状態イベントの送信が、一定時間ごとではなく一定回数ごとに行われる点が図11と異なる。したがって、図12では、不正要求検知部126は、端末60からの不正なキャンセル要求を検知するたびに不正なキャンセル要求の回数を更新する。当該回数が所定数を超えたとき、イベント通知部127は、改めて不正なキャンセル要求が有ったことを示すジョブ状態イベントを管理端末30のログ記録部33に送信する。   FIG. 12 is different from FIG. 11 in that transmission of a job status event in response to an illegal cancel request from the same terminal 60 is performed not at regular intervals but at regular intervals. Accordingly, in FIG. 12, the fraud request detection unit 126 updates the number of fraudulent cancel requests each time an fraud cancel request from the terminal 60 is detected. When the number of times exceeds the predetermined number, the event notification unit 127 transmits a job status event indicating that there has been an unauthorized cancellation request to the log recording unit 33 of the management terminal 30 again.

図12の処理手順によっても図11と同様の効果を得ることができる。   The same effects as in FIG. 11 can be obtained by the processing procedure of FIG.

上述したように、第一の実施の形態によれば、ジョブ完了イベントとジョブ状態イベントといった2種類のイベントの通知のタイミングを適切に制御することにより、ネットワーク負荷の増大や、記録されるログが冗長又は解析しづらくなることを効果的に防止することができる。   As described above, according to the first embodiment, by appropriately controlling the notification timing of two types of events such as a job completion event and a job status event, an increase in network load and a recorded log can be recorded. It is possible to effectively prevent redundancy or difficulty in analysis.

ところで、第一の実施の形態では、配信ジョブの後段処理(配信処理)は、予め定められた配信サーバ20によって行われていた。但し、各ユーザが利用しているPC(Personal Computer)(以下、「ユーザPC」という。)を配信サーバ20として機能させてもよい。ユーザPCを配信サーバ20として機能させた例として第二の実施の形態を示す。   By the way, in the first embodiment, the subsequent processing (distribution processing) of the distribution job is performed by a predetermined distribution server 20. However, a PC (Personal Computer) (hereinafter referred to as “user PC”) used by each user may function as the distribution server 20. A second embodiment is shown as an example in which a user PC functions as the distribution server 20.

図13は、第二の実施の形態における配信システムの構成例を示す図である。同図の配信システム2において、画像形成装置510、ユーザPC520、及びネットアプリ管理サーバ530は、LAN(Local Area Network)等のネットワーク(有線又は無線の別は問わない。)によって接続されている。   FIG. 13 is a diagram illustrating a configuration example of a distribution system according to the second embodiment. In the distribution system 2 in the figure, the image forming apparatus 510, the user PC 520, and the network application management server 530 are connected by a network (regardless of wired or wireless) such as a LAN (Local Area Network).

ユーザPC520は、画像形成装置510又はユーザPC等よりネットワークを介して利用可能なアプリケーション(以下、「ネットアプリ」という。)を有する。ネットアプリは、ネットワーク上の任意のコンピュータに配置することが可能である。したがって、図示されていない他のユーザPCにおいてもネットアプリが配置されうる。   The user PC 520 has an application (hereinafter referred to as “net application”) that can be used via the network from the image forming apparatus 510 or the user PC. The net application can be placed on any computer on the network. Therefore, the network application can be arranged also in other user PCs not shown.

図13において、ユーザPC520には配信アプリ521が配置されている。配信アプリ521は、画像形成装置510においてスキャンされた画像データの配信処理を実行するネットアプリである。配信アプリ521は、起動通知部5211、連携部5212、アプリ情報管理ファイル5213、及び配信部5214等を有する。   In FIG. 13, a distribution application 521 is arranged on the user PC 520. The distribution application 521 is a network application that executes distribution processing of image data scanned by the image forming apparatus 510. The distribution application 521 includes an activation notification unit 5211, a cooperation unit 5212, an application information management file 5213, a distribution unit 5214, and the like.

起動通知部5211は、配信アプリ521が起動されたときに、配信アプリ521が起動されたことをネットアプリ管理サーバ530に通知する。連携部5212は、画像形成装置510とのコミュニケーション(情報のやりとり等)を制御する。アプリ情報管理ファイル223は、配信アプリ521に対する設定情報を格納するファイルである。配信部5214は、配信アプリ521のロジック部(配信アプリ521に固有の部分)であり、画像データの配信処理を実行する。配信部5214以外は、他の機能のネットアプリも同様に有する。他の機能のネットアプリは、配信部5214の代わりに当該他の機能を実現するためのロジックを有する。   When the distribution application 521 is activated, the activation notification unit 5211 notifies the network application management server 530 that the distribution application 521 has been activated. The cooperation unit 5212 controls communication (information exchange and the like) with the image forming apparatus 510. The application information management file 223 is a file that stores setting information for the distribution application 521. The distribution unit 5214 is a logic unit of the distribution application 521 (part specific to the distribution application 521), and executes image data distribution processing. Other than the distribution unit 5214, the network application having other functions is also provided. The network application having another function has logic for realizing the other function instead of the distribution unit 5214.

なお、図13では、ユーザPC520にネットアプリは一つずつしか配置されていないが、一つのユーザPC520に複数のネットアプリが配置されていてもよい。   In FIG. 13, only one net application is arranged on the user PC 520, but a plurality of net applications may be arranged on one user PC 520.

ネットアプリ管理サーバ530は、広告部531、仲介部532、ジョブ操作部533、及びログ記録部534等を有するコンピュータである。広告部531は、ネットアプリからの起動の通知(起動通知)に応じ、当該ネットアプリが起動されたことを示す広告をネットワーク上に発行(ブロードキャスト又はマルチキャスト等)する。仲介部532は、ネットアプリと画像形成装置510とのコミュニケーションを仲介する。ジョブ操作部533は、ユーザPC520において実行中又は蓄積されている配信ジョブの操作要求を管理者より受け付け、当該操作要求を画像形成装置510に送信する。ログ記録部33は、配信ジョブに関して発生したイベントを画像形成装置510より受信し、配信ジョブに関するログをネットアプリ管理サーバ530の記憶装置に記録する。   The net application management server 530 is a computer having an advertisement unit 531, an intermediary unit 532, a job operation unit 533, a log recording unit 534, and the like. In response to the activation notification (activation notification) from the network application, the advertising unit 531 issues an advertisement indicating that the network application has been activated (broadcast or multicast) on the network. The mediation unit 532 mediates communication between the network application and the image forming apparatus 510. The job operation unit 533 receives an operation request for a distribution job being executed or accumulated in the user PC 520 from the administrator, and transmits the operation request to the image forming apparatus 510. The log recording unit 33 receives an event that has occurred regarding a distribution job from the image forming apparatus 510 and records a log regarding the distribution job in the storage device of the network application management server 530.

画像形成装置510は、ハードウェア的には第一の実施の形態と同様でよい(図3参照)。第二の実施の形態の画像形成装置510は、ソフトウェアとしてネットアプリ検知部511、UI制御部512、ネットアプリ連携部513、機能制御部514、ネットアプリ管理テーブル515、及び不正要求検知部516等を有する。   The image forming apparatus 510 may be similar in hardware to the first embodiment (see FIG. 3). The image forming apparatus 510 according to the second embodiment includes, as software, a network application detection unit 511, a UI control unit 512, a network application cooperation unit 513, a function control unit 514, a network application management table 515, an unauthorized request detection unit 516, and the like. Have

ネットアプリ検知部511は、ネットアプリ管理サーバ530より発行される広告に基づいて、ネットアプリの存在を検知し、広告に含まれているアプリ情報をネットアプリ管理テーブル515に登録する。ネットアプリ管理テーブル515は、アプリ情報を管理するためのテーブルである。UI制御部512は、ユーザよりネットアプリの起動指示等の入力を受け付ける。ネットアプリ連携部513は、ネットアプリとのコミュニケーションを制御する。機能制御部514は、ネットアプリからの要求に応じ画像形成装置510のハードウェアを制御する。例えば、機能制御部514の制御により、スキャン又は印刷等が実行される。不正要求検知部516は、不正な端末からの配信ジョブの操作要求を検知する。   The net application detection unit 511 detects the presence of a net application based on the advertisement issued from the net application management server 530 and registers the application information included in the advertisement in the net application management table 515. The net application management table 515 is a table for managing application information. The UI control unit 512 receives an input such as an instruction to start a net application from the user. The network application cooperation unit 513 controls communication with the network application. The function control unit 514 controls the hardware of the image forming apparatus 510 in response to a request from the network application. For example, scanning or printing is executed under the control of the function control unit 514. The unauthorized request detection unit 516 detects an operation request for a distribution job from an unauthorized terminal.

以下、配信システム2の処理手順について説明する。図14は、配信アプリ起動時の処理手順を説明するためのシーケンス図である。   Hereinafter, the processing procedure of the distribution system 2 will be described. FIG. 14 is a sequence diagram for explaining a processing procedure when the distribution application is activated.

ユーザPC520において配信アプリ521が起動されると、配信アプリ521の起動通知部5211は、アプリ情報管理ファイル5213に格納されているアプリ情報をネットアプリ管理サーバ530の広告部531に送信することにより、配信アプリ521の起動を通知する(S301)。   When the distribution application 521 is activated in the user PC 520, the activation notification unit 5211 of the distribution application 521 transmits the application information stored in the application information management file 5213 to the advertisement unit 531 of the network application management server 530. The activation of the distribution application 521 is notified (S301).

図15は、アプリ情報の構成例を示す図である。同図に示されるように、アプリ情報は、アプリID、連携機能識別子、ネットアプリアドレス、表示名、アイコンデータ、及び設定情報等を含む。   FIG. 15 is a diagram illustrating a configuration example of application information. As shown in the figure, the application information includes an application ID, a linkage function identifier, a net application address, a display name, icon data, setting information, and the like.

アプリIDは、各ネットアプリに一意に割り当てられた識別情報である。連携機能識別子は、ネットアプリと連携する画像形成装置510が有している必要のある機能(換言すれば、ネットアプリが利用する機能)を識別するための情報である。連携機能識別子の一例として「print」、「scan」等が挙げられる。「print」は、印刷機能を示す。「scan」は、スキャン機能を示す。配信アプリ21は、画像形成装置510のスキャン機能を利用する。したがって、図15の例では、「scan」が連携機能識別子とされている。   The application ID is identification information uniquely assigned to each network application. The cooperation function identifier is information for identifying a function (in other words, a function used by the network application) that the image forming apparatus 510 that cooperates with the network application needs to have. Examples of the linkage function identifier include “print” and “scan”. “Print” indicates a print function. “Scan” indicates a scan function. The distribution application 21 uses the scan function of the image forming apparatus 510. Therefore, in the example of FIG. 15, “scan” is the linkage function identifier.

ネットアプリアドレスは、ネットワーク通信において各ネットアプリを一意に識別するための識別情報(例えば、URL等)である。表示名は、ネットアプリの名前の表示用の文字列である。アイコンデータは、ネットアプリの表示用のアイコンデータである。設定情報は、ネットアプリの実行条件に対する設定値を含む情報である。すなわち、設定情報を変更することにより、ネットアプリの振る舞いを変更することができる。配信アプリ521については、スキャンに関する設定情報や配信に関する設定情報等がアプリ情報の設定情報に含まれている。   The net application address is identification information (for example, URL) for uniquely identifying each net application in network communication. The display name is a character string for displaying the name of the network application. The icon data is icon data for displaying a net application. The setting information is information including a setting value for the execution condition of the net application. That is, the behavior of the network application can be changed by changing the setting information. For the distribution application 521, setting information regarding scanning, setting information regarding distribution, and the like are included in the setting information of the application information.

続いて、アプリ情報の受信に応じ、ネットアプリ管理サーバ530の広告部531は、アプリ情報をネットワーク上に広告(ブロードキャスト又はマルチキャスト等)する。広告されたアプリ情報は、画像形成装置510のネットアプリ検知部511によって受信される(S302)。なお、画像形成装置510が複数存在する場合、それぞれの画像形成装置510のネットアプリ検知部511によって同じ広告が受信される。   Subsequently, in response to receiving the application information, the advertising unit 531 of the network application management server 530 advertises the application information on the network (broadcast or multicast). The advertised application information is received by the network application detection unit 511 of the image forming apparatus 510 (S302). When there are a plurality of image forming apparatuses 510, the same advertisement is received by the network application detection unit 511 of each image forming apparatus 510.

ネットアプリ検知部511は、アプリ情報に含まれている連携機能識別子(scan)に基づいて、当該ネットアプリ検知部511が属する装置(画像形成装置510)がアプリ情報に係るネットアプリ(配信アプリ521)と連携可能であるか否かを判定する。画像形成装置510はスキャン機能を有する。したがって、画像形成装置510のネットアプリ検知部511は、当該ネットアプリとは連携可能であると判定し、受信されたアプリ情報をネットアプリ管理テーブル33に登録する。   Based on the cooperation function identifier (scan) included in the application information, the net application detection unit 511 is configured so that the device (image forming apparatus 510) to which the network application detection unit 511 belongs is a network application (distribution application 521) related to the application information. ) And can be linked. The image forming apparatus 510 has a scan function. Therefore, the network application detection unit 511 of the image forming apparatus 510 determines that the network application can be linked, and registers the received application information in the network application management table 33.

以上によって、配信アプリ521は、画像形成装置510に登録されたことになる。すなわち、配信アプリ521の存在が画像形成装置510に認識されたことになる。これによって、画像形成装置510より配信アプリ521の利用(すなわち、配信ジョブの実行)が可能となる。   As described above, the distribution application 521 is registered in the image forming apparatus 510. That is, the existence of the distribution application 521 is recognized by the image forming apparatus 510. Accordingly, the distribution application 521 can be used from the image forming apparatus 510 (that is, the distribution job is executed).

図16は、第二の実施の形態における配信ジョブの処理手順を説明するためのシーケンス図である。   FIG. 16 is a sequence diagram for explaining a delivery job processing procedure according to the second embodiment.

画像形成装置510のユーザによりネットアプリの利用指示が画像形成装置510に対して入力されると、UI制御部512は、ネットアプリ管理テーブル515に登録されているアプリ情報に含まれているアイコンデータに基づいて、ネットアプリ一覧画面を操作パネル15に表示させる(S401)。当該ネットアプリ一覧画面には、ネットアプリ管理テーブル515に登録されているネットアプリのアイコンの一覧が表示される。なお、本実施の形態において、ネットアプリ管理テーブル515に登録されているアプリ情報は、配信アプリ521に係るものだけである。したがって、本実施の形態におけるネットアプリ一覧画面には、配信アプリ521に対応するアイコンが表示される。   When a user of the image forming apparatus 510 inputs an instruction to use a net application to the image forming apparatus 510, the UI control unit 512 displays icon data included in the application information registered in the net application management table 515. Based on the above, the network application list screen is displayed on the operation panel 15 (S401). On the net app list screen, a list of net app icons registered in the net app management table 515 is displayed. In the present embodiment, the application information registered in the network application management table 515 is only related to the distribution application 521. Therefore, an icon corresponding to the distribution application 521 is displayed on the net application list screen in the present embodiment.

ネットアプリ一覧画面において配信アプリ521に対応するアイコンがユーザによって選択され、操作パネル15上のスタートキーが押下されると、機能制御部514は、配信ジョブを開始する。配信ジョブの開始に際し、配信制御部123は、各配信ジョブに一意なID(ジョブID)を開始対象の配信ジョブに割り当て、当該ジョブIDに対応するエントリをジョブ管理テーブルに生成する。当該ジョブ管理テーブルの構成は、第一の実施の形態(図6参照)と同様でよい。   When an icon corresponding to the distribution application 521 is selected by the user on the net application list screen and the start key on the operation panel 15 is pressed, the function control unit 514 starts a distribution job. When starting a distribution job, the distribution control unit 123 assigns a unique ID (job ID) to each distribution job to the distribution job to be started, and generates an entry corresponding to the job ID in the job management table. The configuration of the job management table may be the same as that of the first embodiment (see FIG. 6).

続いて、機能制御部514は、選択された配信アプリ521のアプリ情報をネットアプリ管理テーブル515より取得し、当該アプリ情報に含まれている連携機能識別子(scan)と設定情報とに基づいて、スキャンを実行する(S402)。すなわち、機能制御部514は、ユーザによって画像形成装置510にセットされた原稿に対するスキャンをスキャナ12に実行させ、その結果得られる画像データを機能の実行結果としてネットアプリ連携部513に出力する。   Subsequently, the function control unit 514 acquires the application information of the selected distribution application 521 from the network application management table 515, and based on the cooperation function identifier (scan) and the setting information included in the application information, A scan is executed (S402). That is, the function control unit 514 causes the scanner 12 to scan a document set on the image forming apparatus 510 by the user, and outputs the image data obtained as a result to the network application cooperation unit 513 as a function execution result.

ネットアプリ連携部513は、機能の実行結果としての画像データとジョブIDとを配信アプリ521の連携部5212に送信する(S403)。画像データの送信前又は後において、ネットアプリ連携部513は、ジョブ管理テーブルにおける配信ジョブのステータスを「処理中」に更新する。   The network application cooperation unit 513 transmits the image data and job ID as the function execution result to the cooperation unit 5212 of the distribution application 521 (S403). Before or after the transmission of the image data, the net application cooperation unit 513 updates the status of the distribution job in the job management table to “processing”.

連携部5212は、ジョブID及び画像データを受信すると、ジョブIDをジョブキューに登録する。また、連携部5212は、受信された画像データをジョブIDに関連付けてユーザPC520の記憶装置に保存する。続いて、配信部5214は、ジョブキューに登録されたジョブIDに基づいて画像データを取得し、当該画像データをアプリ情報管理ファイル5213に設定されている配信先に配信する(S404)。   When the cooperation unit 5212 receives the job ID and the image data, the cooperation unit 5212 registers the job ID in the job queue. Also, the cooperation unit 5212 stores the received image data in the storage device of the user PC 520 in association with the job ID. Subsequently, the distribution unit 5214 acquires image data based on the job ID registered in the job queue, and distributes the image data to the distribution destination set in the application information management file 5213 (S404).

配信部5214による処理が完了すると、連携部5212は、配信ジョブの完了を画像形成装置510のネットアプリ連携部513に通知する(S405)。ネットアプリ連携部513は、当該通知に含まれているジョブIDのステータスをジョブ管理テーブルにおいて「完了」に更新する。続いて、ネットアプリ連携部513は、ジョブIDと正常終了であることを示す識別子とを属性情報として含むジョブ完了イベントをネットアプリ管理サーバ530のログ記録部534に送信する(S406)。当該ジョブ完了イベントを受信したログ記録部534は、当該ジョブ状態イベントの属性情報に基づいて配信ジョブに関するログをネットアプリ管理サーバ530の記憶装置に記録する。   When the processing by the distribution unit 5214 is completed, the cooperation unit 5212 notifies the completion of the distribution job to the network application cooperation unit 513 of the image forming apparatus 510 (S405). The net application cooperation unit 513 updates the status of the job ID included in the notification to “completed” in the job management table. Subsequently, the net application cooperation unit 513 transmits a job completion event including the job ID and an identifier indicating normal termination as attribute information to the log recording unit 534 of the net application management server 530 (S406). The log recording unit 534 that has received the job completion event records a log related to the distribution job in the storage device of the network application management server 530 based on the attribute information of the job status event.

続いて、ネットアプリ管理サーバ530からの配信ジョブのキャンセルについて説明する。図17は、ネットアプリ管理サーバからの配信ジョブのキャンセル処理の処理手順を説明するためのシーケンス図である。同図では、ネットアプリ管理サーバ530において管理者によって操作が行われる。   Next, cancellation of a distribution job from the network application management server 530 will be described. FIG. 17 is a sequence diagram for explaining the processing procedure of the delivery job cancel processing from the network application management server. In the figure, the network application management server 530 is operated by an administrator.

例えば、ジョブ操作部533がネットアプリ管理サーバ530の表示装置に表示させているジョブ操作画面を介してジョブ一覧の表示指示が管理者によって入力されると(S431)、ジョブ操作部533は配信ジョブの一覧情報の取得要求を画像形成装置510のネットアプリ連携部513に送信する(S432)。ネットアプリ連携部513は、ジョブ管理テーブルに登録されている配信ジョブの一覧情報をジョブ操作部533に返信する(S433)。ジョブ操作部533は、受信された配信ジョブの一覧(ジョブ一覧)をジョブ操作画面に表示させる(S434)。   For example, when a job list display instruction is input by the administrator via the job operation screen displayed on the display device of the network application management server 530 by the job operation unit 533 (S431), the job operation unit 533 receives the distribution job. The request for acquiring the list information is transmitted to the network application cooperation unit 513 of the image forming apparatus 510 (S432). The net application cooperation unit 513 returns the distribution job list information registered in the job management table to the job operation unit 533 (S433). The job operation unit 533 displays the received distribution job list (job list) on the job operation screen (S434).

続いて、管理者によってジョブ一覧の中から任意の配信ジョブが選択され、ジョブ操作画面のキャンセルボタンがクリックされると(S435)、ジョブ操作部533は、選択された配信ジョブのジョブIDを指定して、当該配信ジョブのキャンセル要求をネットアプリ連携部513に送信する(S436)。なお、ステップS435においてキャンセル対象として選択可能な配信ジョブは、ステータスが「開始」又は「処理中」の配信ジョブである。   Subsequently, when an arbitrary distribution job is selected from the job list by the administrator and the cancel button on the job operation screen is clicked (S435), the job operation unit 533 specifies the job ID of the selected distribution job. Then, a cancellation request for the distribution job is transmitted to the network application cooperation unit 513 (S436). Note that the distribution job that can be selected as a cancellation target in step S435 is a distribution job whose status is “start” or “processing”.

ネットアプリ連携部513は、配信ジョブのキャンセル要求を受信すると、当該キャンセル要求の正当性の確認を不正要求検知部516に要求する。不正要求検知部516は、キャンセル要求元のIPアドレス(キャンセル要求に含まれているIPアドレス)を、ネットアプリ管理サーバ530の識別情報として予めHDD114に記録されているIPアドレスと比較し、キャンセル要求の正当性を確認する(S437)。不正要求検知部516は、両者が一致しない場合、当該キャンセル要求は不正であると判定し、両者が一致した場合、当該キャンセル要求は正当であると判定する。ここでは、ネットアプリ管理サーバ530がキャンセル要求の送信元であるため、キャンセル要求は正当であると判定される。   When receiving the cancellation request for the distribution job, the net application cooperation unit 513 requests the fraud request detection unit 516 to confirm the validity of the cancellation request. The fraud request detection unit 516 compares the IP address of the cancel request source (the IP address included in the cancel request) with the IP address recorded in advance in the HDD 114 as the identification information of the network application management server 530, Is verified (S437). The fraud request detection unit 516 determines that the cancel request is illegal when the two do not match, and determines that the cancel request is valid when the two match. Here, since the net application management server 530 is the source of the cancel request, it is determined that the cancel request is valid.

ネットアプリ連携部513は、キャンセル要求の正当性が確認されると、キャンセル対象のジョブIDを指定して、配信ジョブのキャンセル要求を配信アプリ521の連携部5212に送信する(S438)。なお、ネットアプリ連携部513は、キャンセル要求の送信前又は送信後に、ジョブ管理テーブルにおける当該ジョブIDのステータスを「キャンセル中」に更新する。   When the validity of the cancellation request is confirmed, the net application cooperation unit 513 designates the job ID to be canceled and transmits a distribution job cancellation request to the cooperation unit 5212 of the distribution application 521 (S438). Note that the net application cooperation unit 513 updates the status of the job ID in the job management table to “Canceled” before or after transmitting the cancel request.

連携部5212は、キャンセル要求において指定されたジョブIDをジョブキューより削除し、当該ジョブIDに関連付けられている画像データをユーザPC520の記憶装置より削除する(S439)。これによって、配信ジョブはキャンセルされる。キャンセルに成功すると、連携部5212は、キャンセルの成功を示す情報をジョブIDと共にネットアプリ連携部513に返信する(S440)。   The cooperation unit 5212 deletes the job ID specified in the cancel request from the job queue, and deletes the image data associated with the job ID from the storage device of the user PC 520 (S439). As a result, the distribution job is canceled. If the cancellation is successful, the cooperation unit 5212 returns information indicating the success of the cancellation to the network application cooperation unit 513 together with the job ID (S440).

ネットアプリ連携部513は、キャンセルの成功を示す情報を受信すると、ジョブ管理テーブルにおける当該ジョブIDのステータスを「キャンセル済み」に更新する。続いて、ネットアプリ連携部513は、ジョブIDとキャンセルによる終了であることを示す識別子とを属性情報として含むジョブ完了イベントをネットアプリ管理サーバ530のログ記録部534に送信する(S441)。   When receiving the information indicating the successful cancellation, the net application cooperation unit 513 updates the status of the job ID in the job management table to “cancelled”. Subsequently, the net application cooperation unit 513 transmits a job completion event including the job ID and an identifier indicating completion due to cancellation as attribute information to the log recording unit 534 of the net application management server 530 (S441).

当該ジョブ完了イベントを受信したログ記録部534は、当該ジョブ状態イベントの属性情報に基づいて配信ジョブに関するログをネットアプリ管理サーバ530の記憶装置に記録する。   The log recording unit 534 that has received the job completion event records a log related to the distribution job in the storage device of the network application management server 530 based on the attribute information of the job status event.

続いて、図18は、第二の実施の形態において完了した配信ジョブに対してキャンセルが指示された場合の処理手順を説明するためのシーケンス図である。図18中、図17と同一ステップには同一ステップ番号を付し、その説明は適宜省略する。   Next, FIG. 18 is a sequence diagram for explaining a processing procedure in the case where cancellation is instructed for a distribution job completed in the second embodiment. In FIG. 18, the same steps as those in FIG. 17 are denoted by the same step numbers, and the description thereof is omitted as appropriate.

図18では、例えば、ジョブ一覧においてキャンセル指示が行われている最中等に、キャンセル対象の配信ジョブに関する配信処理が配信アプリ521において実行される(S451)。続いて、配信の完了がジョブIDと共に画像形成装置510のネットアプリ連携部513に通知される(S452)。当該通知に応じ、ネットアプリ連携部513は、ジョブ管理テーブルにおける当該ジョブIDに対応するステータスを「完了」に変更する。   In FIG. 18, for example, the distribution application 521 executes a distribution process related to a distribution job to be canceled while a cancel instruction is being performed in the job list (S451). Subsequently, the completion of distribution is notified to the network application cooperation unit 513 of the image forming apparatus 510 together with the job ID (S452). In response to the notification, the network application cooperation unit 513 changes the status corresponding to the job ID in the job management table to “completed”.

その後、当該ジョブIDに対するキャンセル要求がネットアプリ管理サーバ530のジョブ操作部533より画像形成装置510のネットアプリ連携部513に送信される(S436)。ここで、指定されたジョブIDのステータスは「完了」でありキャンセルすることはできない。そこで、ネットアプリ連携部513は、ジョブIDとキャンセル失敗を示す識別子とを属性情報として含むジョブ状態イベントをネットアプリ管理サーバ530のログ記録部534に送信する(S453)。また、配信アプリ21の連携部5212からの配信ジョブの完了通知(S452)に応じ、ネットアプリ連携部513は、ジョブIDと配信ジョブの正常終了を示す識別子とを属性情報として含むジョブ完了イベントをネットアプリ管理サーバ530のログ記録部534に送信する(S454)。   Thereafter, a cancel request for the job ID is transmitted from the job operation unit 533 of the network application management server 530 to the network application cooperation unit 513 of the image forming apparatus 510 (S436). Here, the status of the designated job ID is “completed” and cannot be canceled. Therefore, the net application cooperation unit 513 transmits a job status event including the job ID and the identifier indicating the cancellation failure as attribute information to the log recording unit 534 of the net application management server 530 (S453). Further, in response to the delivery job completion notification (S452) from the linkage unit 5212 of the delivery application 21, the network application linkage unit 513 generates a job completion event including the job ID and the identifier indicating the normal end of the delivery job as attribute information. It transmits to the log recording part 534 of the network application management server 530 (S454).

ネットアプリ管理サーバ530のログ記録部534は、ジョブ状態イベント及びジョブ完了イベントのそれぞれを受信したタイミング(S453、S454)で、当該ジョブ状態イベント又は当該ジョブ完了イベントの属性情報に基づいて配信ジョブに関するログをネットアプリ管理サーバ530の記憶装置に記録する。   The log recording unit 534 of the net application management server 530 receives the job status event and the job completion event at the timing (S453, S454) and relates to the distribution job based on the attribute information of the job status event or the job completion event. The log is recorded in the storage device of the network application management server 530.

なお、ステップS453のジョブ状態イベントとステップS454のジョブ完了イベントとの前後関係は、タイミングによって変化しうる。例えば、ジョブ完了イベントが先に通知された後、ジョブ状態イベントが通知されることもありうる。   Note that the context of the job status event in step S453 and the job completion event in step S454 can change depending on the timing. For example, a job status event may be notified after a job completion event is notified first.

続いて、図19は、第二の実施の形態において操作パネルからのキャンセル指示と管理端末からのキャンセル指示が重複した場合の処理手順を説明するためのシーケンス図である。   Next, FIG. 19 is a sequence diagram for explaining a processing procedure when a cancel instruction from the operation panel and a cancel instruction from the management terminal overlap in the second embodiment.

例えば、UI制御部512が画像形成装置510の操作パネル15に表示させているジョブ一覧画面において、ユーザによってキャンセル対象の配信ジョブが選択され、キャンセル指示が入力されると(S461)、ネットアプリ連携部513は、キャンセル対象とされた配信ジョブのジョブIDを指定して、配信ジョブのキャンセル要求を配信アプリ521の連携部5212に送信する(S462)。ネットアプリ連携部513は、キャンセル要求の送信前又は送信後に、ジョブ管理テーブルにおける当該ジョブIDのステータスを「キャンセル中」に更新する。なお、ジョブ一覧画面には、ジョブ管理テーブルにジョブID等が登録されている配信ジョブの一覧が表示される。   For example, when a user selects a delivery job to be canceled on the job list screen displayed on the operation panel 15 of the image forming apparatus 510 by the UI control unit 512 and inputs a cancel instruction (S461), the network application cooperation is performed. The unit 513 designates the job ID of the distribution job to be canceled, and transmits a distribution job cancel request to the cooperation unit 5212 of the distribution application 521 (S462). The net application cooperation unit 513 updates the status of the job ID in the job management table to “cancelling” before or after transmitting the cancel request. The job list screen displays a list of delivery jobs whose job IDs are registered in the job management table.

続いて(例えば、ステップS461の直後に)、ネットアプリ連携部513が、ネットアプリ管理サーバ530のジョブ操作部533より、操作パネル15よりキャンセルが指示された配信ジョブと同一の配信ジョブについてキャンセル要求を受信したとする(S463)。なお、ステップS463は、図17のステップS436に対応する。この場合、ネットアプリ連携部513は、ジョブ管理テーブルに基づいて、当該配信ジョブはキャンセル中(すなわち、既にキャンセル要求済み)であることを認識し、配信アプリ521への再度のキャンセル要求は行わない。   Subsequently (for example, immediately after step S461), the network application cooperation unit 513 issues a cancel request for the same distribution job as the distribution job instructed to be canceled from the operation panel 15 by the job operation unit 533 of the network application management server 530. Is received (S463). Note that step S463 corresponds to step S436 in FIG. In this case, based on the job management table, the net application cooperation unit 513 recognizes that the distribution job is being canceled (that is, has already been requested to be canceled), and does not make a cancellation request to the distribution application 521 again. .

続いて、ネットアプリ連携部513は、配信アプリ521の連携部5212より、キャンセルの成功を示す情報を受信する(S464)。続いて、ネットアプリ連携部513は、キャンセル対象とされた配信ジョブのステータスをジョブ管理テーブルにおいて「キャンセル済み」に更新する。続いて、ネットアプリ連携部513は、ジョブIDとキャンセルによる終了であることを示す識別子とを属性情報として含むジョブ完了イベントをネットアプリ管理サーバ530のログ記録部534に送信する(S465)。   Subsequently, the network application cooperation unit 513 receives information indicating successful cancellation from the cooperation unit 5212 of the distribution application 521 (S464). Subsequently, the net application cooperation unit 513 updates the status of the distribution job that is the cancellation target to “cancelled” in the job management table. Subsequently, the net application cooperation unit 513 transmits a job completion event including, as attribute information, a job ID and an identifier indicating completion due to cancellation to the log recording unit 534 of the net application management server 530 (S465).

なお、第二の実施の形態において、図10、図11、及び図12に対応する処理手順は上記の説明より自明であるため、その説明は省略する。   In the second embodiment, the processing procedure corresponding to FIGS. 10, 11, and 12 is obvious from the above description, and thus the description thereof is omitted.

以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to such specific embodiment, In the range of the summary of this invention described in the claim, various deformation | transformation・ Change is possible.

第一の実施の形態における配信システムの構成例を示す図である。It is a figure which shows the structural example of the delivery system in 1st embodiment. 第一の実施の形態における配信システムの機能構成例を示す図である。It is a figure which shows the function structural example of the delivery system in 1st embodiment. 本発明の実施の形態における画像形成装置のハードウェア構成例を示す図である。1 is a diagram illustrating an example of a hardware configuration of an image forming apparatus according to an embodiment of the present invention. 配信設定情報の登録処理を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the registration process of delivery setting information. 配信ジョブの処理手順を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the processing procedure of a delivery job. ジョブ管理テーブルの構成例を示す図である。It is a figure which shows the structural example of a job management table. 管理端末からの配信ジョブのキャンセル処理の処理手順を説明するためのシーケンス図である。FIG. 10 is a sequence diagram for explaining a processing procedure of a delivery job cancellation process from a management terminal. 完了した配信ジョブに対してキャンセルが指示された場合の処理手順を説明するためのシーケンス図である。FIG. 10 is a sequence diagram for explaining a processing procedure when cancellation is instructed for a completed distribution job. 操作パネルからのキャンセル指示と管理端末からのキャンセル指示が重複した場合の処理手順を説明するためのシーケンス図である。FIG. 10 is a sequence diagram for explaining a processing procedure when a cancel instruction from an operation panel and a cancel instruction from a management terminal overlap. 管理端末以外の端末より配信ジョブのキャンセルが要求された場合の処理手順を説明するためシーケンス図である。FIG. 10 is a sequence diagram for explaining a processing procedure when a delivery job cancellation is requested from a terminal other than the management terminal. 繰り返し行われる不正なキャンセル要求に対する第一の対抗処理の処理手順を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the process sequence of the 1st countermeasure process with respect to the unauthorized cancellation request | requirement performed repeatedly. 繰り返し行われる不正なキャンセル要求に対する第二の対抗処理の処理手順を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the process sequence of the 2nd countermeasure process with respect to the unauthorized cancellation request | requirement performed repeatedly. 第二の実施の形態における配信システムの構成例を示す図である。It is a figure which shows the structural example of the delivery system in 2nd embodiment. 配信アプリ起動時の処理手順を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the process sequence at the time of delivery application starting. アプリ情報の構成例を示す図である。It is a figure which shows the structural example of application information. 第二の実施の形態における配信ジョブの処理手順を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the process sequence of the delivery job in 2nd embodiment. ネットアプリ管理サーバからの配信ジョブのキャンセル処理の処理手順を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the process sequence of the cancellation process of the delivery job from a net application management server. 第二の実施の形態において完了した配信ジョブに対してキャンセルが指示された場合の処理手順を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the process sequence when cancellation is instruct | indicated with respect to the delivery job completed in 2nd embodiment. 第二の実施の形態において操作パネルからのキャンセル指示と管理端末からのキャンセル指示が重複した場合の処理手順を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the process sequence when the cancellation instruction from an operation panel and the cancellation instruction from a management terminal overlap in 2nd embodiment.

1、2 配信システム
10 画像形成装置
11 コントローラ
12 スキャナ
13 プリンタ
14 モデム
15 操作パネル
16 ネットワークインタフェース
17 SDカードスロット
20 配信サーバ
21 配信ジョブ受信部
22 配信ジョブ処理部
30 管理端末
31 配信設定受付部
32 ジョブ操作部
33 ログ記録部
40 ディレクトリサーバ
41 配信設定管理部
42 認証処理部
43 ユーザDB
80 SDカード
111 CPU
112 RAM
113 ROM
114 HDD
121 配信設定検証部
122 認証制御部
123 配信制御部
124 スキャナ制御部
125 ジョブ管理部
126 不正要求検知部
127 イベント通知部
510 画像形成装置
511 ネットアプリ検知部
512 UI制御部
513 ネットアプリ連携部
514 機能制御部
515 ネットアプリ管理テーブル
516 不正要求検知部
520 ユーザPC
521 配信アプリ
530 ネットアプリ管理サーバ
531 広告部
532 仲介部
533 ジョブ操作部
534 ログ記録部
5211 起動通知部
5212 連携部
5213 アプリ情報管理ファイル
5214 配信部
DESCRIPTION OF SYMBOLS 1, 2 Distribution system 10 Image forming apparatus 11 Controller 12 Scanner 13 Printer 14 Modem 15 Operation panel 16 Network interface 17 SD card slot 20 Distribution server 21 Distribution job reception part 22 Distribution job processing part 30 Management terminal 31 Distribution setting reception part 32 Job Operation unit 33 Log recording unit 40 Directory server 41 Distribution setting management unit 42 Authentication processing unit 43 User DB
80 SD card 111 CPU
112 RAM
113 ROM
114 HDD
121 delivery setting verification unit 122 authentication control unit 123 delivery control unit 124 scanner control unit 125 job management unit 126 fraud request detection unit 127 event notification unit 510 image forming apparatus 511 network application detection unit 512 UI control unit 513 network application cooperation unit 514 Control unit 515 Net application management table 516 Unauthorized request detection unit 520 User PC
521 Distribution application 530 Net application management server 531 Advertising unit 532 Mediation unit 533 Job operation unit 534 Log recording unit 5211 Startup notification unit 5212 Cooperation unit 5213 Application information management file 5214 Distribution unit

Claims (9)

原稿より画像データを読み取る読取手段と、
読み取られた画像データに関する配信ジョブの実行要求をネットワークを介して配信装置へ送信する配信要求手段と、
前記配信ジョブのキャンセル要求に応じ、前記配信装置に該配信ジョブのキャンセルを実行させるジョブ管理手段と、
記配信ジョブのキャンセルに成功したときは、キャンセルによって配信ジョブが終了したことを示すジョブ完了イベントをログ記録装置に送信し、キャンセル対象の配信ジョブが既に完了していることによりキャンセルに失敗したときは、キャンセルに失敗したことを示すジョブ状態イベントと、配信ジョブが完了したことを示す前記ジョブ完了イベントとを前記ログ記録装置に送信するイベント送信手段とを有する画像形成装置。
Reading means for reading image data from a document;
A distribution request means for transmitting a distribution job execution request for the read image data to a distribution apparatus via a network;
Job management means for causing the distribution device to cancel the distribution job in response to the distribution job cancellation request;
When you have success to cancel the previous Symbol delivery job, cancel by sending that the delivery job by the cancellation has been completed shows to job completion event to the log recording device, delivery job of canceling the target has already been completed An image forming apparatus comprising: an event transmission unit configured to transmit, to the log recording apparatus, a job status event indicating failure of cancellation and the job completion event indicating completion of a distribution job when the process fails.
前記ジョブ管理手段は、当該画像形成装置が備える入力手段より入力される、又はネットワークを介して受信されるキャンセル要求に応じ、前記配信装置に配信ジョブのキャンセルを実行させ、
前記イベント送信手段は、前記入力手段より第一のキャンセル要求が入力された後に同一の配信ジョブに対してネットワークを介して第二のキャンセル要求が受信されたときは、前記第一のキャンセル要求に基づいて該配信ジョブのキャンセルが成功した後に該配信ジョブがキャンセルによって終了したことを示す前記ジョブ完了イベントのみを前記ログ記録装置に送信する請求項1記載の画像形成装置。
The job management unit causes the distribution device to cancel a distribution job in response to a cancel request input from an input unit included in the image forming apparatus or received via a network,
The event transmission means, when the second cancellation request is received via the network for the same distribution job after the first cancellation request is input from the input means, 2. The image forming apparatus according to claim 1, wherein after the delivery job is successfully canceled, only the job completion event indicating that the delivery job is ended by the cancellation is transmitted to the log recording device.
ネットワークを介して受信される配信ジョブのキャンセル要求の送信元の第一の識別情報と、配信ジョブのキャンセルが許可された装置の識別情報として記憶手段に記録されている第二の識別情報とを比較し、両者が一致しないときは該キャンセル要求は不正であると判定する不正要求検知手段を有する請求項1又は2記載の画像形成装置。   The first identification information of the transmission job cancel request received via the network and the second identification information recorded in the storage means as the identification information of the apparatus permitted to cancel the distribution job. 3. The image forming apparatus according to claim 1, further comprising fraud request detecting means for judging that the cancel request is fraudulent when the two do not match. 前記イベント送信手段は、前記キャンセル要求は不正であると判定されたときに、不正なキャンセル要求が有ったことを示す前記ジョブ状態イベントを前記ログ記録装置に送信する請求項3記載の画像形成装置。   The image forming apparatus according to claim 3, wherein the event transmitting unit transmits the job status event indicating that there is an unauthorized cancel request to the log recording device when it is determined that the cancel request is unauthorized. apparatus. 前記不正要求検知手段は、前記キャンセル要求は不正であると判定したときに前記第一の識別情報を記憶手段に記録し、
前記イベント送信手段は、前記第一の識別情報の記録後にネットワークを介して受信される配信ジョブのキャンセル要求の送信元の識別情報が前記第一の識別情報と一致するときは、不正なキャンセル要求が有ったことを示す前記ジョブ状態イベントを前記ログ記録装置に送信しない請求項4記載の画像形成装置。
The fraud request detection unit records the first identification information in the storage unit when the cancellation request is determined to be fraud,
The event transmission means, when the identification information of the transmission source of the delivery job cancellation request received via the network after the recording of the first identification information matches the first identification information, The image forming apparatus according to claim 4, wherein the job status event indicating that there is a message is not transmitted to the log recording apparatus.
前記イベント送信手段は、前記第一の識別情報の記録後にネットワークを介して受信される配信ジョブのキャンセル要求の送信元の識別情報が前記第一の識別情報と一致した場合に、前記第一の識別情報の記録時から所定期間内であるとき、又は前記識別情報が前記第一の識別情報と一致する前記キャンセル要求の回数が前記第一の識別情報の記録時から所定回数以内であるときは不正なキャンセル要求が有ったことを示す前記ジョブ状態イベントを前記ログ記録装置に送信しない請求項5記載の画像形成装置。   The event transmission means, when the identification information of the transmission request cancellation request of the delivery job received via the network after the recording of the first identification information matches the first identification information, When it is within a predetermined period from the time when the identification information is recorded, or when the number of cancellation requests in which the identification information matches the first identification information is within a predetermined number of times from the time when the first identification information is recorded The image forming apparatus according to claim 5, wherein the job status event indicating that there has been an illegal cancel request is not transmitted to the log recording apparatus. 画像形成装置が実行するイベント通知方法であって、
原稿より画像データを読み取る読取手順と、
読み取られた画像データに関する配信ジョブの実行要求をネットワークを介して配信装置へ送信する配信要求手順と、
前記配信ジョブのキャンセル要求に応じ、前記配信装置に該配信ジョブのキャンセルを実行させるジョブ管理手順と、
前記配信ジョブのキャンセルに成功したときは、キャンセルによって配信ジョブが終了したことを示すジョブ完了イベントをログ記録装置に送信し、キャンセル対象の配信ジョブが既に完了していることによりキャンセルに失敗したときは、キャンセルに失敗したことを示すジョブ状態イベントと、配信ジョブが完了したことを示す前記ジョブ完了イベントとを前記ログ記録装置に送信するイベント送信手順とを有するイベント通知方法。
An event notification method executed by an image forming apparatus,
A reading procedure for reading image data from a document;
A distribution request procedure for transmitting a distribution job execution request for the read image data to a distribution apparatus via a network;
A job management procedure for causing the distribution device to cancel the distribution job in response to the distribution job cancellation request ;
Wherein Upon successful cancellation of the distribution job is canceled by sending that delivery job by canceling has finished shown to job completion event to the log recording apparatus, the distribution job cancellation target has already been completed An event notification method comprising: an event transmission procedure for transmitting, to the log recording device, a job status event indicating failure in cancellation and the job completion event indicating completion of a distribution job when the process fails.
前記ジョブ管理手順は、当該画像形成装置が備える入力手段より入力される、又はネットワークを介して受信されるキャンセル要求に応じ、前記配信装置に配信ジョブのキャンセルを実行させ、
前記イベント送信手順は、前記入力手順より第一のキャンセル要求が入力された後に同一の配信ジョブに対してネットワークを介して第二のキャンセル要求が受信されたときは、前記第一のキャンセル要求に基づいて該配信ジョブのキャンセルが成功した後に該配信ジョブがキャンセルによって終了したことを示す前記ジョブ完了イベントのみを前記ログ記録装置に送信する請求項7記載のイベント通知方法。
The job management procedure causes the distribution device to cancel a distribution job in response to a cancel request input from an input unit included in the image forming apparatus or received via a network,
When the second cancel request is received via the network for the same distribution job after the first cancel request is input from the input procedure, the event transmission procedure is changed to the first cancel request. 8. The event notification method according to claim 7, wherein after the delivery job is successfully canceled, only the job completion event indicating that the delivery job is ended by the cancellation is transmitted to the log recording device.
画像形成装置
原稿より画像データを読み取る読取手順と、
読み取られた画像データに関する配信ジョブの実行要求をネットワークを介して配信装置へ送信する配信要求手順と、
前記配信ジョブのキャンセル要求に応じ、前記配信装置に該配信ジョブのキャンセルを実行させるジョブ管理手順と、
前記配信ジョブのキャンセルに成功したときは、キャンセルによって配信ジョブが終了したことを示すジョブ完了イベントをログ記録装置に送信し、キャンセル対象の配信ジョブが既に完了していることによりキャンセルに失敗したときは、キャンセルに失敗したことを示すジョブ状態イベントと、配信ジョブが完了したことを示す前記ジョブ完了イベントとを前記ログ記録装置に送信するイベント送信手順とを実行させるためのプログラム。
The image forming apparatus,
A reading procedure for reading image data from a document;
A distribution request procedure for transmitting a distribution job execution request for the read image data to a distribution apparatus via a network;
A job management procedure for causing the distribution device to cancel the distribution job in response to the distribution job cancellation request ;
Wherein Upon successful cancellation of the distribution job is canceled by sending that delivery job by canceling has finished shown to job completion event to the log recording apparatus, the distribution job cancellation target has already been completed A program for executing an event transmission procedure for transmitting, to the log recording device, a job status event indicating that the cancellation has failed and the job completion event indicating that the distribution job has been completed.
JP2009008042A 2009-01-16 2009-01-16 Image forming apparatus, event notification method, and program Expired - Fee Related JP5212131B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009008042A JP5212131B2 (en) 2009-01-16 2009-01-16 Image forming apparatus, event notification method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009008042A JP5212131B2 (en) 2009-01-16 2009-01-16 Image forming apparatus, event notification method, and program

Publications (2)

Publication Number Publication Date
JP2010166408A JP2010166408A (en) 2010-07-29
JP5212131B2 true JP5212131B2 (en) 2013-06-19

Family

ID=42582211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009008042A Expired - Fee Related JP5212131B2 (en) 2009-01-16 2009-01-16 Image forming apparatus, event notification method, and program

Country Status (1)

Country Link
JP (1) JP5212131B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4574703B2 (en) * 2008-08-29 2010-11-04 コニカミノルタビジネステクノロジーズ株式会社 Output management server and data output system

Also Published As

Publication number Publication date
JP2010166408A (en) 2010-07-29

Similar Documents

Publication Publication Date Title
JP5987656B2 (en) Information processing system, information processing apparatus, information processing method, and information processing program
US8711411B2 (en) Print control server, print controlling method, and print control program
JP4716319B2 (en) Image forming system and setting value changing program
US20120268769A1 (en) Print relay system, image forming apparatus, system control method, and program
JP2013077279A (en) Information processing system, equipment, information processor, information processing method, information notification method, and program
JP6131551B2 (en) Information processing system, information processing apparatus, information processing method, and information processing program
US9417826B2 (en) Image forming apparatus with status control
US10057233B2 (en) Image processing apparatus, method for controlling the same, and storage medium for carrying out login processing
US8477351B2 (en) Image forming apparatus, method, and recording medium for improving convenience with restricted job execution
US20180203655A1 (en) Information processing system, information processing method, and recording medium
JP6160753B2 (en) Information processing system, information processing apparatus, information processing method, and information processing program
JP5146283B2 (en) Image forming apparatus, information processing apparatus, information processing system, information processing method, and program
US20180097944A1 (en) Information processing apparatus
US10346106B2 (en) Remote communication control system that improves security of remote session between image forming apparatus and connection terminal, remote maintenance system, and recording medium
US10346112B2 (en) Remote communication control system that improves security of remote session between image forming apparatus and connection terminal, session relay system, and recording medium
US20110010718A1 (en) Electronic device, information processing method, and computer program product having computer-readable information processing program
US11726731B2 (en) Image forming apparatus
JP5316304B2 (en) Image reading apparatus, information processing method, and program
JP5212131B2 (en) Image forming apparatus, event notification method, and program
US9036179B2 (en) Management system, management method, and storage medium for managing customer information and network device information
US20190149620A1 (en) Information processing system and control method
JP2012247893A (en) Printing system
US11481166B2 (en) Information processing system, information processing apparatus for controlling access to resources and functions for managing users allowed to access the resources
JP4771238B2 (en) Image processing apparatus and program
CN111212194B (en) Image forming apparatus and log information acquisition system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130211

R151 Written notification of patent or utility model registration

Ref document number: 5212131

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20160308

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees