JP2009009220A - Event notification method, control program, and control device - Google Patents

Event notification method, control program, and control device Download PDF

Info

Publication number
JP2009009220A
JP2009009220A JP2007167733A JP2007167733A JP2009009220A JP 2009009220 A JP2009009220 A JP 2009009220A JP 2007167733 A JP2007167733 A JP 2007167733A JP 2007167733 A JP2007167733 A JP 2007167733A JP 2009009220 A JP2009009220 A JP 2009009220A
Authority
JP
Japan
Prior art keywords
event
event notification
notification
control device
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007167733A
Other languages
Japanese (ja)
Other versions
JP5056200B2 (en
Inventor
Hideji Nakao
秀二 中尾
Kazunori Ogawa
和則 小川
Kazuhiko Tsujiwaki
和彦 辻脇
Shinji Nishimoto
真司 西元
Takeshi Shimozu
武 下津
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2007167733A priority Critical patent/JP5056200B2/en
Publication of JP2009009220A publication Critical patent/JP2009009220A/en
Application granted granted Critical
Publication of JP5056200B2 publication Critical patent/JP5056200B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an event notification method, a control program and a control device for efficiently achieving event notification by suppressing the increase of traffic or the deterioration of the performance of a device to be controlled. <P>SOLUTION: In a control system composed by connecting a device to be controlled via a communication network to a control device, when an SDK operating in the control device is notified of event notification reservation information for specifying the classification of an event whose notification is necessary by each application operating in the control device, the SDK starts another process, and an event notification reservation message for specifying the classification of the event whose notification is necessary is created by any application, and the device to be controlled is notified of the event notification reservation message in the other process. Also, when the event notification message is transmitted from the device to be controlled, the application for which the notification of the event is necessary is specified based on the event notification reservation information, and event notification is operated to the specified application. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、被制御装置のイベント通知を制御するイベント通知方法及び制御プログラム並びに制御装置に関する。   The present invention relates to an event notification method, a control program, and a control device for controlling event notification of a controlled device.

コピー機能やファクシミリ機能、プリンタ機能、スキャナ機能などを備える複写機や複合機(MFP:Multi Function Peripheral)など(以下、これらを総称して画像形成装置と呼ぶ。)が普及している。この画像形成装置をネットワークで利用する場合は、画像形成装置からのステータス通知を制御装置で受け取り、制御装置ではこのステータス通知に基づいて画像形成装置の状態を監視する。   Copiers and multi-function peripherals (MFPs) having a copy function, a facsimile function, a printer function, a scanner function, and the like (hereinafter collectively referred to as an image forming apparatus) are widely used. When the image forming apparatus is used on a network, the control apparatus receives a status notification from the image forming apparatus, and the control apparatus monitors the state of the image forming apparatus based on the status notification.

上記ステータス通知に関して、例えば、下記特許文献1には、ホスト(制御装置)から画像形成装置に対してステータス送信要求を行い、ステータス送信要求を受け取った画像形成装置は、ジョブやデバイスのステータス変化毎にホストにステータス通知を行うシステムが開示されている。   Regarding the status notification, for example, in Patent Document 1 below, a status transmission request is made from the host (control device) to the image forming apparatus, and the image forming apparatus that has received the status transmission request receives a status change for each job or device Discloses a system for notifying a host of status.

特開平8−139844号公報JP-A-8-139844

上記制御装置では、画像形成装置を利用するアプリケーションが動作しており、画像形成装置側で、アプリケーション毎にステータス通知の設定をしてしまうと、ステータスが変化する度に全てのアプリケーションに対してステータス通知を行わなければならず、その分トラフィックが増加してしまうと共に、画像形成装置の負荷が増大し印刷等のパフォーマンスが低下してしまうという問題があった。   In the above control device, an application that uses the image forming apparatus is running. If the status notification is set for each application on the image forming apparatus side, the status is changed for all applications whenever the status changes. Notification has to be performed, and traffic is increased correspondingly, and the load on the image forming apparatus is increased, resulting in a decrease in performance such as printing.

また、画像形成装置では、通常、ステータス通知の対象となるユーザ数(アプリケーション数)を制限しており、1台の制御装置の複数のアプリケーションに対して各々、ステータス通知登録を行ってしまうと、登録可能なユーザ数が減ってしまい、他の制御装置のアプリケーションでステータス通知を受け取ることができなくなってしまうという問題もあった。   The image forming apparatus normally limits the number of users (number of applications) to be notified of status, and if status notification registration is performed for each of a plurality of applications of one control device, There has also been a problem that the number of users that can be registered is reduced, and the status notification cannot be received by an application of another control apparatus.

また、これらの問題は画像形成装置に限らず、自装置のステータス情報を制御装置に通知する任意の被制御装置に対して同様に生じ、更に、これらの問題はステータス通知に限らず、被制御装置に関するイベント通知に対しても同様に生じる。   These problems occur not only in the image forming apparatus but also in any controlled apparatus that notifies the control apparatus of its own status information, and these problems are not limited to status notification. The same occurs for event notifications related to devices.

本発明は上記問題点に鑑みてなされたものであり、その主たる目的は、トラフィックの増加や被制御装置のパフォーマンスの低下を抑制し、効率的にイベント通知を行うことができるイベント通知方法及び制御プログラム並びに制御装置を提供することにある。   The present invention has been made in view of the above problems, and its main object is to suppress an increase in traffic and a decrease in performance of a controlled device, and an event notification method and control capable of efficiently performing event notification To provide a program and a control device.

上記目的を達成するため、本発明は、複数種類のイベント通知が可能であり、イベントの種類毎にイベント通知の要否が設定可能な被制御装置と、前記被制御装置からイベント通知を受け取る制御装置と、が通信ネットワークで接続されてなる制御システムにおけるイベント通知方法であって、前記制御装置では、該制御装置で動作する各々のアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約情報を取得し、前記イベント通知予約情報に基づいて、いずれかのアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約メッセージを作成し、該イベント通知予約メッセージを前記被制御装置に通知し、前記被制御装置では、受信した前記イベント通知予約メッセージに基づいて、前記制御装置に対するイベント通知の要否を設定するものである。   In order to achieve the above object, the present invention is capable of performing a plurality of types of event notifications, and a controlled device capable of setting the necessity of event notification for each event type, and a control for receiving event notifications from the controlled device An event notification method in a control system in which a device is connected via a communication network, wherein the control device specifies an event notification reservation that identifies a type of event that each application operating on the control device requires notification of Information is acquired, and based on the event notification reservation information, an event notification reservation message that identifies the type of event that any application needs to be notified is created, and the event notification reservation message is notified to the controlled device Then, the controlled apparatus controls the control based on the received event notification reservation message. It is for setting the necessity of an event notification to the device.

本発明においては、前記被制御装置では、前記制御装置に対して通知が必要と設定されたイベントが発生した場合に、前記制御装置にイベント通知メッセージを送信し、前記制御装置では、予め記憶した前記イベント通知予約情報に基づいて、受信した前記イベント通知メッセージに記述されたイベントの通知を必要とするアプリケーションを特定し、特定したアプリケーションに対してイベント通知を行う構成とすることができる。   In the present invention, the controlled device transmits an event notification message to the control device when an event that is set to be notified to the control device occurs, and the control device stores the event notification message in advance. Based on the event notification reservation information, an application that needs to be notified of an event described in the received event notification message may be specified, and an event notification may be made to the specified application.

また、本発明においては、前記制御装置では、前記被制御装置から通信バージョン情報を取得し、前記制御装置が前記通信バージョン情報に対応している場合は、該通信バージョンの通信モジュールをロードし、前記制御装置が前記通信バージョン情報に対応していない場合は、最新の通信バージョンの通信モジュールをロードする構成とすることができる。   Further, in the present invention, the control device acquires communication version information from the controlled device, and if the control device supports the communication version information, loads the communication module of the communication version, When the control device does not support the communication version information, the communication module having the latest communication version can be loaded.

また、本発明は、複数種類のイベント通知が可能であり、イベントの種類毎にイベント通知の要否が設定可能な被制御装置と、前記被制御装置からイベント通知を受け取る制御装置と、が通信ネットワークで接続されてなる制御システムにおけるイベント通知方法であって、前記制御装置で動作するSDK(Software Development Kit)に、前記制御装置で動作する各々のアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約情報を通知するステップと、前記SDKが起動するプロセスで、前記イベント通知予約情報に基づいて、いずれかのアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約メッセージを作成し、該イベント通知予約メッセージを前記被制御装置に通知するステップと、前記被制御装置で、受信した前記イベント通知予約メッセージに基づいて、前記制御装置に対するイベント通知の要否を設定するステップと、を少なくとも有するものである。   Further, according to the present invention, a plurality of types of event notifications are possible, and a controlled device capable of setting necessity / unnecessity of event notification for each event type communicates with a control device that receives the event notification from the controlled device. An event notification method in a control system connected by a network, wherein an event type that each application operating on the control device needs to notify is specified in an SDK (Software Development Kit) operating on the control device In the event notification reservation information to be notified, and in the process of starting the SDK, based on the event notification reservation information, create an event notification reservation message that identifies the type of event for which any application requires notification And notifying the controlled device of the event notification reservation message; In the controlled device, based on the event notification subscription message received, a step of setting the necessity of an event notification to the control device, and has at least.

本発明においては、前記プロセスは、アプリケーションを監視し、いずれかのアプリケーションが終了した場合に、終了したアプリケーションに対応するイベント通知予約情報を除いて、前記イベント通知予約メッセージを作成し直す構成とすることができる。   In the present invention, the process is configured to monitor the application and regenerate the event notification reservation message except for the event notification reservation information corresponding to the ended application when any of the applications ends. be able to.

また、本発明においては、前記被制御装置で、前記制御装置に対して通知が必要と設定されたイベントが発生した場合に、前記制御装置にイベント通知メッセージを送信するステップと、前記プロセスで、予め記憶した前記イベント通知予約情報に基づいて、受信した前記イベント通知メッセージに記述されたイベントの通知を必要とするアプリケーションを特定し、特定したアプリケーションに対してイベント通知を行うステップと、を更に有する構成とすることができる。   Further, in the present invention, when an event that is set to be notified to the control device occurs in the controlled device, a step of sending an event notification message to the control device, and in the process, Further comprising: specifying an application that requires notification of an event described in the received event notification message based on the event notification reservation information stored in advance, and performing event notification for the specified application. It can be configured.

また、本発明においては、前記SDKに、前記被制御装置との接続を要求する情報を通知するステップと、前記SDKが前記被制御装置から通信バージョン情報を取得するステップと、前記SDKで、前記制御装置が前記通信バージョン情報に対応している場合は、該通信バージョンの通信モジュールをロードし、前記制御装置が前記通信バージョン情報に対応していない場合は、最新の通信バージョンの通信モジュールをロードするステップと、を更に有する構成とすることができる。   In the present invention, the step of notifying the SDK of information requesting connection with the controlled device, the step of acquiring the communication version information from the controlled device, the SDK, When the control device is compatible with the communication version information, the communication module of the communication version is loaded. When the control device is not compatible with the communication version information, the communication module of the latest communication version is loaded. And the step of performing.

また、本発明は、複数種類のイベント通知が可能であり、イベントの種類毎にイベント通知の要否が設定可能な被制御装置から、通信ネットワークを介してイベント通知を受け取る制御装置で動作するプログラムであって、コンピュータに、前記制御装置で動作する各々のアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約情報を取得し、前記イベント通知予約情報に基づいて、いずれかのアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約メッセージを作成し、該イベント通知予約メッセージを前記被制御装置に通知する処理、を実行させるものである。   In addition, the present invention is a program that operates on a control device that can receive event notifications via a communication network from a controlled device that can set a plurality of types of event notifications and can set the necessity of event notification for each event type. The event information reservation information for identifying the type of event for which each application operating on the control device needs to be notified is acquired from the computer, and one of the applications is based on the event notification reservation information. An event notification reservation message that identifies the type of event that requires notification is created, and processing for notifying the controlled device of the event notification reservation message is executed.

本発明においては、コンピュータに、更に、前記被制御装置から送信されるイベント通知メッセージを受信し、予め記憶した前記イベント通知予約情報に基づいて、受信した前記イベント通知メッセージに記述されたイベントの通知を必要とするアプリケーションを特定し、特定したアプリケーションに対してイベント通知を行う処理、を実行させる構成とすることができる。   In the present invention, the computer further receives an event notification message transmitted from the controlled device, and notifies the event described in the received event notification message based on the event notification reservation information stored in advance. It is possible to specify an application that needs to be executed and to perform a process of performing event notification for the specified application.

また、本発明においては、コンピュータに、更に、前記被制御装置から通信バージョン情報を取得し、前記制御装置が前記通信バージョン情報に対応している場合は、該通信バージョンの通信モジュールをロードし、前記制御装置が前記通信バージョン情報に対応していない場合は、最新の通信バージョンの通信モジュールをロードする処理、を実行させる構成とすることができる。   In the present invention, the computer further acquires communication version information from the controlled device, and when the control device supports the communication version information, loads the communication module of the communication version, When the control device does not support the communication version information, a process of loading a communication module with the latest communication version can be executed.

また、本発明は、複数種類のイベント通知が可能であり、イベントの種類毎にイベント通知の要否が設定可能な被制御装置から、通信ネットワークを介してイベント通知を受け取る制御装置であって、前記制御装置で動作する各々のアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約情報を取得し、前記イベント通知予約情報に基づいて、いずれかのアプリケーションが通知を必要とするイベントの種別を示すイベント通知予約メッセージを作成し、該イベント通知予約メッセージを前記被制御装置に通知する機能と、前記被制御装置からイベント通知メッセージを受信する機能と、予め記憶した前記イベント通知予約情報に基づいて、受信した前記イベント通知メッセージに記述されたイベントの通知を必要とするアプリケーションを特定し、特定したアプリケーションに対してイベント通知を行う機能と、を少なくとも備えるものである。   Further, the present invention is a control device that can receive a plurality of types of event notifications, and from a controlled device that can set the necessity of event notification for each event type, via a communication network, The event notification reservation information that identifies the type of event for which each application operating on the control device requires notification is acquired, and based on the event notification reservation information, the event of which one of the applications needs notification An event notification reservation message indicating a type is created, a function for notifying the controlled device of the event notification reservation message, a function of receiving an event notification message from the controlled device, and the event notification reservation information stored in advance Based on the event notification message described in the received event notification message Identify the application that is intended to include a function of performing an event notification to the identified application, at least.

本発明においては、前記被制御装置から通信バージョン情報を取得する機能と、前記制御装置が前記通信バージョン情報に対応している場合は、該通信バージョンの通信モジュールをロードし、前記制御装置が前記通信バージョン情報に対応していない場合は、最新の通信バージョンの通信モジュールをロードする機能と、を更に備える構成とすることができる。   In the present invention, the function of acquiring the communication version information from the controlled device and, if the control device supports the communication version information, the communication module of the communication version is loaded, and the control device If the communication version information is not supported, a function of loading a communication module of the latest communication version can be further provided.

このように、本発明では、制御装置で動作する複数のアプリケーションからのイベント通知予約情報を取りまとめたイベント通知予約メッセージを被制御装置に送信し、被制御装置では、イベント通知予約メッセージに基づいて、制御装置に送信するイベント通知を設定し、また、制御装置は、被制御装置からのイベント通知を受信すると、そのイベント通知を必要とするアプリケーションを特定し、そのアプリケーションに対してのみイベント通知を行うため、アプリケーション毎にイベント通知を行う構成に比べて、トラフィックの増加や被制御装置のパフォーマンスの低下を抑制することができ、これにより、効率的にステータス通知を行うことができる。   Thus, in the present invention, an event notification reservation message in which event notification reservation information from a plurality of applications operating on the control device is collected is transmitted to the controlled device, and the controlled device is based on the event notification reservation message, An event notification to be transmitted to the control device is set. When the control device receives the event notification from the controlled device, the control device identifies an application that requires the event notification and performs event notification only for the application. Therefore, as compared with the configuration in which event notification is performed for each application, it is possible to suppress an increase in traffic and a decrease in performance of the controlled device, thereby enabling status notification to be performed efficiently.

本発明のイベント通知方法及び制御プログラム並びに制御装置によれば、トラフィックの増加や被制御装置のパフォーマンスの低下を抑制し、効率的にステータス通知を行うことができる。   According to the event notification method, the control program, and the control device of the present invention, it is possible to suppress an increase in traffic and a decrease in performance of the controlled device, and to perform status notification efficiently.

その理由は、従来は、被制御装置に対してアプリケーション毎にイベント通知の要否を設定していたため、制御装置で複数のアプリケーションが起動している場合には、その制御装置に対してイベント通知を重複して送らなければならなかったが、本発明では、アプリケーションからSDKにイベント通知予約が行われると、SDKは別プロセスを起動し、その別プロセスは、各々のアプリケーションからのイベント通知予約を取りまとめて、いずれかのアプリケーションが必要とするイベント通知のみが通知されるように被制御装置にイベント通知の要否を設定させ、また、被制御装置からのイベント通知を別プロセスが代表して受信して、別プロセスがそのイベント通知を必要とするアプリケーションを特定し、そのアプリケーションに対してのみ、イベント通知を行うようにしているからである。   The reason for this is that, conventionally, whether or not an event notification is required for each application is set for the controlled device, so that when a plurality of applications are running on the control device, an event notification is sent to the control device. However, in the present invention, when an event notification reservation is made from the application to the SDK, the SDK starts another process, and the separate process receives the event notification reservation from each application. In summary, let the controlled device set the necessity of event notification so that only the event notification required by any application is notified, and receive the event notification from the controlled device on behalf of another process Identify the application that another process needs to be notified of the event, To only, it is because as an event notification.

本発明は、その好ましい一実施の形態において、複数種類のイベントに対してイベント通知が可能であり、イベントの種類毎にイベント通知の要否が予約可能な被制御装置(例えば、画像形成装置)と、被制御装置からイベント通知を受け取る制御装置と、が通信ネットワークで接続されてなる制御システムにおいて、制御装置で動作するSDK(Software Development Kit)に、制御装置で動作する各々のアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約情報を通知すると、SDKは、イベント通知を処理する別プロセスを起動してその別プロセスに複数のイベント通知予約情報を通知し、別プロセスは、イベント通知予約情報に基づいて、いずれかのアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約メッセージを作成して被制御装置に通知し、被制御装置は、そのイベント通知予約メッセージに基づいて、制御装置に送信するイベント通知の要否を設定する。   In a preferred embodiment of the present invention, a controlled apparatus (for example, an image forming apparatus) that can make event notifications for a plurality of types of events and can reserve the necessity of event notification for each event type. In a control system in which an event notification from a controlled device is connected via a communication network, each application operating on the control device notifies the SDK (Software Development Kit) operating on the control device. When the event notification reservation information for specifying the type of event required is notified, the SDK starts another process for processing the event notification and notifies the other process of a plurality of event notification reservation information. Based on the notification reservation information, identify the type of event that any application requires notification Create an event subscription message notifies the controlled device, the controlled device based on the event notification subscription message, sets the necessity of an event notification to be sent to the controller.

また、被制御装置で通知が必要と設定されたイベントが発生した場合に、別プロセスにイベント通知メッセージを送信し、別プロセスは、予め記憶したイベント通知予約情報に基づいて、イベントの通知を必要とするアプリケーションを特定し、特定したアプリケーションに対してイベント通知を行う。   In addition, when an event that is set to require notification occurs in the controlled device, an event notification message is sent to another process, and the other process needs to notify the event based on the event notification reservation information stored in advance. The application to be specified is identified, and event notification is performed for the identified application.

更に、SDKに、被制御装置との接続を要求すると、SDKは、被制御装置の通信バージョン情報を取得し、制御装置がその通信バージョン情報に対応している場合は、該通信バージョンの通信モジュールをロードし、制御装置がその通信バージョン情報に対応していない場合は、最新の通信バージョンの通信モジュールをロードする。   Further, when the SDK requests connection with the controlled device, the SDK acquires the communication version information of the controlled device. If the control device supports the communication version information, the communication module of the communication version is acquired. If the control device does not support the communication version information, the communication module of the latest communication version is loaded.

このような制御を行うことにより、被制御装置は1つの制御装置に対しては同じイベント通知を重複して送る必要がなくなり、常に必要最小限のイベント通知を送ればよいため、トラフィックの増加を抑えることができ、画像形成装置自体の負荷を軽減してパフォーマンスの低下を抑制することができる。   By performing such control, the controlled device does not need to send the same event notification repeatedly to one control device, and it is only necessary to always send the minimum necessary event notification. It is possible to reduce the load on the image forming apparatus itself and to suppress a decrease in performance.

上記した本発明の実施の形態についてさらに詳細に説明すべく、本発明の一実施例に係るイベント通知方法及び制御プログラム並びに制御装置について、図1乃至図17を参照して説明する。図1は、本実施例の制御システムの構成を模式的に示す図である。また、図2は、本実施例の画像形成装置の構成を示すブロック図であり、図3は、本実施例の制御装置の構成を示すブロック図である。また、図4は、本実施例の制御装置及び画像形成装置のソフトウェアの機能を示すブロック図であり、図5及び図13は、本実施例の制御システムを用いたステータス通知手順を示すフローチャート図である。また、図14は、特定のURLの記載例を示す図であり、図15乃至図17は、各種テーブルの記載例を示す図である。   In order to describe the above-described embodiment of the present invention in more detail, an event notification method, a control program, and a control apparatus according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a diagram schematically illustrating a configuration of a control system according to the present embodiment. FIG. 2 is a block diagram illustrating the configuration of the image forming apparatus according to the present exemplary embodiment, and FIG. 3 is a block diagram illustrating the configuration of the control apparatus according to the present exemplary embodiment. FIG. 4 is a block diagram illustrating functions of the control device and the software of the image forming apparatus according to the present exemplary embodiment. FIGS. 5 and 13 are flowcharts illustrating a status notification procedure using the control system according to the present exemplary embodiment. It is. FIG. 14 is a diagram illustrating a description example of a specific URL, and FIGS. 15 to 17 are diagrams illustrating description examples of various tables.

図1に示すように、本実施例の制御システムは、自装置に関するイベントを通知する1又は複数の画像形成装置10と、イベント通知を受け取る1又は複数の制御装置20と、がLAN(Local Area Network)やWAN(Wide Area Network)などの通信ネットワークで接続されて構成されている。なお、本実施例におけるイベントとは、画像形成装置10の状態を示すステータスを含む概念であり、イベント通知の中にはステータス通知が含まれる。   As shown in FIG. 1, in the control system of this embodiment, one or a plurality of image forming apparatuses 10 for notifying an event relating to the own apparatus and one or a plurality of control apparatuses 20 for receiving the event notification include a LAN (Local Area). Network) and WAN (Wide Area Network). The event in this embodiment is a concept including a status indicating the state of the image forming apparatus 10, and the event notification includes a status notification.

[画像形成装置]
上記画像形成装置10は、図2に示すように、制御部11と、記憶部12と、表示・操作部13と、印刷部14と、給排紙ユニット部15などを備えている。
[Image forming apparatus]
As shown in FIG. 2, the image forming apparatus 10 includes a control unit 11, a storage unit 12, a display / operation unit 13, a printing unit 14, and a paper supply / discharge unit unit 15.

制御部11は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などにより構成される。CPUは、表示・操作部13の操作により、ROMに記憶されている各種プログラムを読み出してRAMに展開し、展開されたプログラムに従って、表示・操作部13や印刷部14、給排紙ユニット15などの画像形成装置10の各部の動作を制御する。   The control unit 11 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. The CPU reads various programs stored in the ROM by operating the display / operation unit 13 and expands them in the RAM. According to the expanded programs, the display / operation unit 13, the printing unit 14, the paper supply / discharge unit 15, etc. The operation of each unit of the image forming apparatus 10 is controlled.

また、制御部11は、画像形成装置10の各部の設定を制御する設定制御部11aと、画像形成装置10の各部の状態を検知する状態検知制御部11bと、通信ネットワークを介して制御装置20との通信を制御する通信制御部11cなどとしても機能する。この通信制御部11cは、図4に示すように、画像形成装置10の通信モジュールのバージョン情報を制御装置20に送出する通信バージョン情報送出部、制御装置20との間で各種メッセージを送受信する通信メッセージ送受信部、制御装置20からのメッセージを判別する通信メッセージ判別部、イベントの種類毎にイベント通知の要否を設定するイベント通知設定部、イベント通知の要否設定を記憶するイベント通知設定記憶部などとして機能する。   In addition, the control unit 11 includes a setting control unit 11a that controls the setting of each unit of the image forming apparatus 10, a state detection control unit 11b that detects the state of each unit of the image forming apparatus 10, and the control device 20 via a communication network. It also functions as a communication control unit 11c that controls communication with the communication device. As shown in FIG. 4, the communication control unit 11 c is a communication version information sending unit that sends version information of the communication module of the image forming apparatus 10 to the control device 20, and communication that sends and receives various messages to and from the control device 20. A message transmission / reception unit; a communication message determination unit that determines a message from the control device 20; an event notification setting unit that sets necessity of event notification for each event type; and an event notification setting storage unit that stores necessity setting of event notification Function as such.

記憶部12は、フラッシュメモリやハードディスク等により構成され、各種データを記憶する。本実施例では、画像形成装置10の各種設定を保存する設定保存メモリ12aと、受信した画像データを保存する画像データ保存メモリ12bなどを備えている。   The storage unit 12 is configured by a flash memory, a hard disk, or the like, and stores various data. In this embodiment, a setting storage memory 12a for storing various settings of the image forming apparatus 10 and an image data storage memory 12b for storing received image data are provided.

表示・操作部13は、液晶表示装置(LCD:Liquid Crystal Display)や有機EL(electroluminescence)表示装置上に、透明電極が格子状に配置された感圧式の操作部(タッチパネル)を設けて構成され、手指やタッチペン等で押下された力点のXY座標を電圧値で検出し、検出された位置信号を操作信号として制御部11に出力する。   The display / operation unit 13 is configured by providing a pressure-sensitive operation unit (touch panel) in which transparent electrodes are arranged in a grid on a liquid crystal display (LCD) or an organic EL (electroluminescence) display device. The XY coordinates of the force point pressed with a finger or a touch pen are detected by a voltage value, and the detected position signal is output to the control unit 11 as an operation signal.

印刷部14は、受信した画像データやスキャナで読み取った画像データに基づいて転写紙に印刷する画像を形成する画像形成部、形成した画像を転写紙に転写する転写部、転写した画像を定着させる定着部、転写紙を搬送する搬送部、画像形成部や転写部、定着部をクリーニングするクリーニング部などを備え、電子写真方式により、入力された画像データに基づいて、転写紙上に画像を形成して出力する。   The printing unit 14 forms an image to be printed on transfer paper based on the received image data or image data read by a scanner, a transfer unit to transfer the formed image to the transfer paper, and fixes the transferred image. Equipped with a fixing unit, a transport unit that transports transfer paper, an image forming unit and transfer unit, a cleaning unit that cleans the fixing unit, etc., and forms an image on the transfer paper based on the input image data by electrophotography. Output.

給排紙ユニット部15は、各種サイズの転写紙を格納し、制御部11の指示に従って所定のサイズの転写紙を印刷部14に供給する。   The paper supply / discharge unit unit 15 stores transfer paper of various sizes, and supplies the transfer paper of a predetermined size to the printing unit 14 in accordance with instructions from the control unit 11.

なお、本実施例の画像形成装置10は、複数種類のイベントに対してイベント通知を行うことができ、かつ、イベントの種類毎にイベント通知の要否を設定できるものであればよく、その構成は図2及び図4に限定されず、例えば、図2の構成に加えて、ADF(Auto Document Feeder)やフィニッシャ、ステープル/パンチなどの後処理装置を備えていてもよい。   The image forming apparatus 10 according to the present exemplary embodiment only needs to be able to perform event notification for a plurality of types of events and can set necessity of event notification for each event type. 2 is not limited to FIG. 2 and FIG. 4, for example, in addition to the configuration of FIG. 2, a post-processing device such as an ADF (Auto Document Feeder), a finisher, and a staple / punch may be provided.

[制御装置]
上記制御装置20は、図3に示すように、制御部21と、記憶部22と、表示部23と、操作部24などを備えている。
[Control device]
As shown in FIG. 3, the control device 20 includes a control unit 21, a storage unit 22, a display unit 23, an operation unit 24, and the like.

制御部21は、CPU、ROM、RAMなどにより構成される。CPUは、操作部24の操作により、ROMに記憶されている各種アプリケーションを読み出してRAMに展開し、展開されたアプリケーションに従って、制御装置20の各部の動作を制御する。   The control unit 21 is configured by a CPU, a ROM, a RAM, and the like. The CPU reads various applications stored in the ROM by operating the operation unit 24, expands them in the RAM, and controls the operation of each unit of the control device 20 according to the expanded applications.

また、制御部21は、制御部21上で動作する1又は複数のアプリケーションからの要求に応じて、Connect関数(画像形成装置10との接続を確立するための接続要求情報が記載された関数)やイベント通知予約関数(画像形成装置10にイベントの種類毎にイベント通知の要否を設定させるためのイベント通知予約情報が記載された関数)などの各種関数をSDKにコールするSDK関数呼出部21a、所定のアプリケーションに対してイベント通知をコールバックするイベント通知コールバック処理部21b、Connect関数やイベント通知予約関数の処理を行うSDK21c、イベント通知を処理するための別プロセス(イベントプロセッサ21d)などとして機能する。   Further, the control unit 21 responds to a request from one or a plurality of applications operating on the control unit 21, and a Connect function (a function describing connection request information for establishing a connection with the image forming apparatus 10). SDK function calling unit 21a that calls various functions such as an event notification reservation function or a function that describes event notification reservation information for causing the image forming apparatus 10 to set the necessity of event notification for each event type. An event notification callback processing unit 21b for callback of an event notification for a predetermined application, an SDK 21c for processing a Connect function or an event notification reservation function, a separate process (event processor 21d) for processing an event notification, etc. Function.

上記SDK21cは、図4に示すように、SDK関数呼出部からのConnect関数コールを処理するConnect関数処理部、指定された通信バージョンの通信モジュールをロードする通信モジュールロード処理部、SDK関数呼出部からのイベント通知予約関数コールを処理するイベント通知予約関数処理部などとして機能し、Connect関数処理部は、画像形成装置10の通信バージョンを判別するバージョン判別処理部として機能し、イベント通知予約関数処理部は、イベント通知予約関数に記載されたイベント通知予約情報をイベントプロセッサ21dに送るイベント通知予約送信部、イベントプロセッサ21dを起動させるイベントプロセッサ起動処理部として機能する。   As shown in FIG. 4, the SDK 21c includes a Connect function processing unit that processes a Connect function call from the SDK function calling unit, a communication module load processing unit that loads a communication module of a specified communication version, and an SDK function calling unit. The Connect function processing unit functions as a version determination processing unit that determines the communication version of the image forming apparatus 10, and the event notification reservation function processing unit. Functions as an event notification reservation transmitter for sending event notification reservation information described in the event notification reservation function to the event processor 21d and an event processor activation processing unit for activating the event processor 21d.

また、SDK21cによって起動されるイベントプロセッサ21dは、図4に示すように、イベント通知予約情報を取りまとめ、イベント通知予約メッセージとして画像形成装置10に送信するイベント通知予約送信部、画像形成装置10でイベントが発生した時に送信されるイベント通知メッセージを受信するイベント通知受信部、イベント通知を所定のアプリケーションにコールバックするイベント通知コールバック送信部、後述するデバイス送受信テーブルを記憶するデバイス送受信テーブル記憶部などとして機能する。   Further, as shown in FIG. 4, the event processor 21d activated by the SDK 21c collects event notification reservation information and transmits an event notification reservation message to the image forming apparatus 10 as an event notification reservation message. As an event notification receiving unit that receives an event notification message that is transmitted when an event occurs, an event notification callback transmitting unit that calls back an event notification to a predetermined application, a device transmission / reception table storage unit that stores a device transmission / reception table described later, etc. Function.

なお、SDK21cは、SDK関数呼出部21aからの関数を処理することができる構成であればよく、また、イベントプロセッサ21dは、アプリケーションを代表してイベント通知の要否設定、イベント通知の受け取りができる構成であればよく、各部の名称や構成は図4の記載に限定されない。また、本実施例では、SDK関数呼出部21a、コールバック処理部21b、SDK21c、イベントプロセッサ21dをソフトウェアとして構成する場合を示すが、いずれか一つ又はその一部をハードウェアとして構成してもよい。   The SDK 21c only needs to be configured to process the function from the SDK function calling unit 21a, and the event processor 21d can set the necessity of event notification and receive the event notification on behalf of the application. Any configuration may be used, and the names and configurations of the respective parts are not limited to those shown in FIG. In this embodiment, the SDK function calling unit 21a, the callback processing unit 21b, the SDK 21c, and the event processor 21d are configured as software. However, any one or a part thereof may be configured as hardware. Good.

記憶部22は、フラッシュメモリやハードディスク等により構成され、各種データを記憶する。本実施例では、特に、後述するイベント通知予約取りまとめ用テーブルなどを記憶する。   The storage unit 22 is configured by a flash memory, a hard disk, or the like, and stores various data. In this embodiment, in particular, an event notification reservation gathering table, which will be described later, is stored.

表示部23は、液晶表示装置や有機EL表示装置等からなり、制御部21からの表示信号に従って画面上に各種管理画面などを表示する。また、操作部24は、キーボードやマウス等からなり、各々の画像形成装置に適用する通信方式の選択などの操作を行う。   The display unit 23 includes a liquid crystal display device, an organic EL display device, and the like, and displays various management screens on the screen according to display signals from the control unit 21. The operation unit 24 includes a keyboard, a mouse, and the like, and performs operations such as selection of a communication method applied to each image forming apparatus.

上記制御装置20及び画像形成装置10におけるソフトウェアの機能をブロック図で示すと図4のようになる。図4に示すように、SDK関数呼出部からConnect関数処理部にConnect関数がコールされると、Connect関数処理部のバージョン判別処理部は、画像形成装置10の通信バージョン情報送出部から通信バージョン情報を取得し、通信モジュールロード処理部は取得した通信バージョン情報に基づいて画像形成装置10との通信に適した通信バージョンの通信モジュールを制御装置にロードする。   FIG. 4 is a block diagram illustrating software functions of the control device 20 and the image forming apparatus 10. As shown in FIG. 4, when the Connect function is called from the SDK function calling unit to the Connect function processing unit, the version determination processing unit of the Connect function processing unit transmits the communication version information from the communication version information sending unit of the image forming apparatus 10. The communication module load processing unit loads a communication module having a communication version suitable for communication with the image forming apparatus 10 on the control device based on the acquired communication version information.

また、SDK関数呼出部からイベント通知予約関数処理部にイベント通知予約関数がコールされると、イベントプロセッサ起動処理部はイベントプロセッサを起動すると共に、イベント通知予約送信部はイベント通知予約関数に記述されたイベント通知予約情報をイベントプロセッサに送信し、イベントプロセッサのイベント通知予約送信部は、イベント通知予約情報を取りまとめ、後述するイベント通知予約取りまとめ用テーブルに記録すると共に、いずれかのアプリケーションが通知を必要とするイベントの種別を記述したイベント通知予約メッセージとして画像形成装置10の通信メッセージ送受信部に送信する。このイベント通知予約メッセージは通信メッセージ判別部で判別されてイベント通知設定部でイベント通知の要否が設定される。そして、イベント通知が必要と設定されたイベントが発生すると、通信メッセージ送受信部からイベントプロセッサのイベント通知受信部にイベント通知メッセージが送信され、イベント通知コールバック送信部でイベント通知の送信先のアプリケーションが特定されて、コールバック処理部を介してそのアプリケーションにイベント通知がコールバックされる。   When an event notification reservation function is called from the SDK function calling unit to the event notification reservation function processing unit, the event processor activation processing unit starts the event processor, and the event notification reservation transmission unit is described in the event notification reservation function. Event notification reservation information is sent to the event processor, and the event notification reservation transmission unit of the event processor collects the event notification reservation information and records it in an event notification reservation management table to be described later, and any application needs notification Is transmitted to the communication message transmission / reception unit of the image forming apparatus 10 as an event notification reservation message describing the event type. This event notification reservation message is discriminated by the communication message discriminating unit, and the necessity of event notification is set by the event notification setting unit. When an event that is set to require event notification occurs, an event notification message is transmitted from the communication message transmission / reception unit to the event notification reception unit of the event processor, and the event notification callback transmission unit sets the event notification destination application. Once identified, an event notification is called back to the application via the callback processing unit.

以下、アプリケーション、SDK、イベントプロセッサの各部の動作について、図5乃至図13のフローチャート図を参照して詳細に説明する。   Hereinafter, the operation of each part of the application, the SDK, and the event processor will be described in detail with reference to the flowcharts of FIGS.

[アプリケーション側の処理]
図5のフローチャート1に示すように、ステップS101で、制御装置20の制御部21の指示によりSDK21cがロードされると、ステップS102で、SDK関数呼出部21aは、Connect関数の引数に、例えば、接続したい画像形成装置10のIPアドレスと、その画像形成装置10との接続時に使用したい通信バージョンなどを指定して、SDK21cのConnect関数処理部にConnect関数をコールする。
[Application side processing]
As shown in the flowchart 1 of FIG. 5, when the SDK 21c is loaded in accordance with an instruction from the control unit 21 of the control device 20 in step S101, in step S102, the SDK function calling unit 21a sets the argument of the Connect function as, for example, The Connect function is called to the Connect function processing unit of the SDK 21c by designating the IP address of the image forming apparatus 10 to be connected and the communication version to be used when connecting to the image forming apparatus 10.

次に、ステップS103で、SDK関数呼出部21aは、イベント通知予約関数の引数に、例えば、イベント通知の予約を行うアプリケーションの識別子と、そのアプリケーションが利用する画像形成装置10のIPアドレスと、その画像形成装置10との通信に使用したい通信バージョンと、イベント通知の予約を行うイベントの種別と、イベント通知を受け取るためのコールバック受信用ポート番号などを指定して、SDK21cのイベント通知関数処理部にイベント通知予約関数をコールする。なお、イベント通知予約関数の引数には、アプリケーションの識別情報と画像形成装置10の通信ネットワーク上の場所情報とイベント通知の予約を行うイベントの種別とを含んでいればよい。   Next, in step S103, the SDK function calling unit 21a includes, for example, an identifier of an application that reserves an event notification, an IP address of the image forming apparatus 10 used by the application, and its arguments as arguments of the event notification reservation function. An event notification function processing unit of the SDK 21c specifying a communication version to be used for communication with the image forming apparatus 10, a type of event for which event notification is reserved, a callback reception port number for receiving the event notification, and the like. Call the event notification reservation function. Note that the arguments of the event notification reservation function may include application identification information, location information on the communication network of the image forming apparatus 10, and the type of event for which event notification is reserved.

そして、アプリケーションが終了するまで、イベント通知コールバック処理部21bは、イベントプロセッサ21dのイベント通知コールバック送信部からのイベント通知のコールバックを待ち(ステップS104のNo、ステップS105、ステップS106のNo)、コールバックを受け取ったら(ステップS106のYes)、ステップS107で、コールバック受け取り後の処理を行う。   Until the application is terminated, the event notification callback processing unit 21b waits for an event notification callback from the event notification callback transmission unit of the event processor 21d (No in Step S104, No in Step S105, and Step S106). When the callback is received (Yes in step S106), processing after receiving the callback is performed in step S107.

[SDKでのConnectからDisconnectまでの処理]
図6のフローチャート2に示すように、ステップS201で、SDK関数呼出部21aからConnect関数がコールされると、ステップS202で、SDK21cのConnect関数処理部のバージョン判別処理部は、画像形成装置10の通信バージョン情報送出部から通信バージョン情報を取得し、取得した通信バージョン情報に基づいて、その画像形成装置10との通信に使用する通信バージョンを判別し、その通信バージョンを通信モジュールロード処理部に通知する。通信バージョンの判別に関しては、フローチャート3で詳述する。
[Processing from Connect to Disconnect in SDK]
As shown in the flowchart 2 of FIG. 6, when the Connect function is called from the SDK function calling unit 21 a in step S <b> 201, the version determination processing unit of the Connect function processing unit of the SDK 21 c in step S <b> 202 Communication version information is acquired from the communication version information transmission unit, and based on the acquired communication version information, a communication version used for communication with the image forming apparatus 10 is determined, and the communication version is notified to the communication module load processing unit. To do. The determination of the communication version will be described in detail in the flowchart 3.

次に、ステップS203で、通信モジュールロード処理部は、その通信バージョンに対応した通信モジュールを特定してロードし、ステップS204で、その通信バージョンを記憶部22に保存する。   Next, in step S203, the communication module load processing unit specifies and loads a communication module corresponding to the communication version, and stores the communication version in the storage unit 22 in step S204.

次に、ステップS205で、SDK21cは、SDK関数呼出部21aからの関数コールを待ち、コールされた関数がDisconnect関数の場合(ステップS206のYesの場合)は、ステップS207で、SDK21cの処理を終了する。   Next, in step S205, the SDK 21c waits for a function call from the SDK function calling unit 21a. If the called function is a Disconnect function (Yes in step S206), the process of the SDK 21c is terminated in step S207. To do.

一方、コールされた関数がDisconnect関数でなく(ステップS206のNo)、イベント通知予約関数の場合(ステップS208のYesの場合)は、ステップS209で、イベント通知関数処理部は、イベント通知予約関数の処理を実行し、ステップS205に戻って、SDK21cはSDK関数呼出部21aからの次の関数コールを待ち、Disconnect関数がコールされるまで同様の処理を繰り返す。上記イベント通知予約関数の処理に関しては、フローチャート4で詳述する。   On the other hand, if the called function is not the Disconnect function (No in step S206) and is an event notification reservation function (Yes in step S208), the event notification function processing unit is the event notification reservation function. The process is executed, and the process returns to step S205. The SDK 21c waits for the next function call from the SDK function calling unit 21a, and repeats the same process until the Disconnect function is called. The processing of the event notification reservation function will be described in detail in the flowchart 4.

また、コールされた関数がイベント通知予約関数でない場合(ステップS208のNoの場合)は、ステップS210で、他の関数の処理を実行し、ステップS205に戻って、SDK21cはSDK関数呼出部21aからの次の関数コールを待ち、Disconnect関数がコールされるまで同様の処理を繰り返す。   If the called function is not an event notification reservation function (No in step S208), the process of another function is executed in step S210, the process returns to step S205, and the SDK 21c is transferred from the SDK function calling unit 21a. Waits for the next function call, and repeats the same process until the Disconnect function is called.

[SDKでの通信バージョンを判別する処理]
前述したように、SDK関数呼出部21aは、フローチャート1のステップS102で、SDK21cにConnect関数をコールする際、Connect関数の引数に、接続したい画像形成装置10のIPアドレスと、その画像形成装置10との接続時に使用したい通信バージョンを指定する。その際、接続時に使用したい通信バージョンは、下記のように、画像形成装置10の機種固有の値であるProductIDと対応させて引数に入れて指定する。
[Process to determine communication version in SDK]
As described above, when the SDK function calling unit 21 a calls the Connect function to the SDK 21 c in Step S <b> 102 of the flowchart 1, the IP address of the image forming apparatus 10 to be connected and the image forming apparatus 10 are connected as arguments of the Connect function. Specify the communication version you want to use when connecting to. At this time, the communication version to be used at the time of connection is specified in the argument in association with ProductID which is a value unique to the model of the image forming apparatus 10 as described below.

ProductID[0]=1.3.6.1.4.1.18334.1.2.1.2.1,Version[0]=3.0
ProductID[1]=1.3.6.1.4.1.18334.1.2.1.2.2,Version[1]=3.1
ProductID[2]=1.3.6.1.4.1.18334.1.2.1.2.3,Version[2]=3.2
ProductID [0] = 1.3.6.1.4.1.18334.1.2.1.2.1, Version [0] = 3.0
ProductID [1] = 1.3.6.1.4.1.18334.1.2.1.2.2, Version [1] = 3.1
ProductID [2] = 1.3.6.1.4.1.18334.1.2.1.2.3, Version [2] = 3.2

その後、図7のフローチャート3に示すように、ステップS301で、SDK21cのConnect関数処理部は、Connect関数の引数から、画像形成装置10のProductIDと、それに対応する通信バージョンの指定リストを取得する。   Thereafter, as shown in the flowchart 3 of FIG. 7, in step S301, the Connect function processing unit of the SDK 21c acquires the ProductID of the image forming apparatus 10 and the corresponding communication version designation list from the argument of the Connect function.

次に、ステップS302で、バージョン判別処理部は、接続する画像形成装置10の特定のURL(Uniform Resource Locator)にアクセスし、通信バージョン情報送出部から、そのURLに記載されているProductIDと、その画像形成装置10が搭載している通信モジュールの通信バージョンを取得する。   Next, in step S302, the version determination processing unit accesses a specific URL (Uniform Resource Locator) of the image forming apparatus 10 to be connected, and from the communication version information sending unit, the ProductID described in the URL and its ID The communication version of the communication module installed in the image forming apparatus 10 is acquired.

上記特定のURLは、例えば、「http://150.16.100.123/DeviceDescription/」であり、この中の「150.16.100.123」は、接続する画像形成装置10のIPアドレスであり、Connect関数の引数として渡されてくるものである。また、「/DeviceDescription/」は、デバイスとの間で取り決めた特定の場所であり、その特定の場所には、例えば、図14のTable1に示すように、画像形成装置10に関する各種情報が記載されている。   The specific URL is, for example, “http://150.16.100.123/DeviceDescription/”, in which “150.16.100.123” is the IP address of the image forming apparatus 10 to be connected, and is used as an argument of the Connect function. It is what is passed. “/ DeviceDescription /” is a specific place decided with the device, and various information regarding the image forming apparatus 10 is described in the specific place, for example, as shown in Table 1 of FIG. ing.

次に、ステップS303で、バージョン判別処理部は、そのURLに記載されたProductIDが、Connect関数の引数に基づく指定リストにあるかどうか調べ、同じProductIDがあれば(ステップS304のYes)、ステップS305で、そのProductIDに対応する通信バージョンが、制御装置20に搭載している通信モジュールの通信バージョンにあるかどうか調べる。そして、同じ通信バージョンがあれば(ステップS306のYes)、ステップS307で、バージョン判別処理部は、ProductIDに対応する通信バージョンを、画像形成装置10との通信に使用する実際の通信バージョンとして決定する。   Next, in step S303, the version determination processing unit checks whether the ProductID described in the URL is in the specified list based on the argument of the Connect function. If there is the same ProductID (Yes in step S304), step S305 is performed. Then, it is checked whether the communication version corresponding to the ProductID is in the communication version of the communication module installed in the control device 20. If there is the same communication version (Yes in step S306), in step S307, the version determination processing unit determines the communication version corresponding to ProductID as the actual communication version used for communication with the image forming apparatus 10. .

一方、URLに搭載されたProductIDが、Connect関数の引数に基づく指定リストの中にない場合(ステップS304のNoの場合)は、ステップS308で、制御装置20に搭載されている通信バージョンの中の、最新の通信バージョン(一番数字の大きいバージョン)を、画像形成装置10との通信に使用する実際の通信バージョンとして決定する。   On the other hand, if the ProductID installed in the URL is not in the specified list based on the argument of the Connect function (No in step S304), the communication ID installed in the control device 20 in step S308 The latest communication version (the version with the largest number) is determined as the actual communication version used for communication with the image forming apparatus 10.

また、ProductIDに対応する通信バージョンが、制御装置20に搭載している通信モジュールの通信バージョンにない場合(ステップS306のNoの場合)も、ステップS308で、制御装置20に搭載している通信モジュールの通信バージョンの中の、最新の通信バージョンを、画像形成装置10との通信に使用する実際の通信バージョンとして決定する。   Also, when the communication version corresponding to ProductID is not in the communication version of the communication module installed in the control device 20 (No in step S306), the communication module installed in the control device 20 in step S308. The latest communication version is determined as the actual communication version used for communication with the image forming apparatus 10.

[SDKでのイベント通知予約関数の処理]
前述したフローチャート1で、SDK関数呼出部21aがイベント通知予約関数をコールすると、図8のフローチャート4に示すように、ステップS401で、SDK21cは、イベントプロセッサ21d(別プロセスで動作するソフトウェア)が起動しているかどうか確認する。
[Processing of event notification reservation function in SDK]
When the SDK function calling unit 21a calls the event notification reservation function in the flowchart 1 described above, the SDK 21c activates the event processor 21d (software operating in another process) in step S401 as shown in the flowchart 4 of FIG. Check whether you are doing.

そして、イベントプロセッサ21dが起動していない場合(ステップS402のNoの場合)は、ステップS403で、イベントプロセッサ起動処理部は、イベントプロセッサ21dを起動する。   If the event processor 21d is not activated (No in step S402), the event processor activation processing unit activates the event processor 21d in step S403.

その後、ステップS404で、イベント通知予約送信部は、イベント通知予約関数の引数として受けとったイベント通知予約情報を、そのままイベント通知予約メッセージとしてイベントプロセッサ21dに送る。   Thereafter, in step S404, the event notification reservation transmitting unit transmits the event notification reservation information received as an argument of the event notification reservation function as it is to the event processor 21d as an event notification reservation message.

[イベントプロセッサ内の処理]
図9のフローチャート5に示すように、ステップS501で、イベントプロセッサ21dのイベント通知予約送信部は、上述したフローチャート4のステップS404で、SDK21cのイベント通知予約処理部から送られてくるイベント通知予約メッセージを持ち、この待ち状態が、後述する前回の確認時刻から一定時間(例えば30分とか1時間)経過するまで続ける(ステップS502のNo、ステップS504、ステップS505のNo)。
[Processing in the event processor]
As shown in the flowchart 5 of FIG. 9, in step S501, the event notification reservation transmission unit of the event processor 21d sends the event notification reservation message sent from the event notification reservation processing unit of the SDK 21c in step S404 of the flowchart 4 described above. This waiting state continues until a predetermined time (for example, 30 minutes or 1 hour) elapses from the previous confirmation time described later (No in step S502, No in step S504, and step S505).

そして、イベント通知予約メッセージを受け取ったら(ステップS502のYes)、ステップS503で、イベント通知予約送信部は、イベント通知予約メッセージを送ったアプリケーションの識別子、そのアプリケーションが通信する画像形成装置10のIPアドレス、その画像形成装置10との通信に使用する通信バージョン、イベント通知を予約するイベントの種別、コールバック受信用ポート番号を、例えば、図15に示すようなイベント通知予約取りまとめ用テーブルに記録する。また、通信バージョンは記憶部22にも記憶しておく。   When the event notification reservation message is received (Yes in step S502), in step S503, the event notification reservation transmission unit identifies the identifier of the application that has transmitted the event notification reservation message, and the IP address of the image forming apparatus 10 with which the application communicates. The communication version used for communication with the image forming apparatus 10, the type of event for which event notification is reserved, and the callback reception port number are recorded in, for example, an event notification reservation gathering table as shown in FIG. The communication version is also stored in the storage unit 22.

ここで言うアプリケーションの識別子はプロセスIDであるが、アプリケーションを識別できるものであれば特に限定されない。また、上記テーブルでは、イベントの種別を、デバイスステータス(D)、トレイステータス(T)、ジョブステータス(J)、カウンタステータス(C)の4種類としているが、イベントは画像形成装置10に関するものであればよく、これらの他に、ADF(Auto Document Feeder)、フィニッシャ、ステープル/パンチユニット、トナー等のステータスを含めることもできる。   The application identifier referred to here is a process ID, but is not particularly limited as long as the application can be identified. In the above table, the event types are the four types of device status (D), tray status (T), job status (J), and counter status (C). In addition to these, statuses such as ADF (Auto Document Feeder), finisher, staple / punch unit, and toner can be included.

次に、イベント通知予約送信部は、イベント通知予約メッセージをテーブルに書き込んだ後、もしくは、前回の確認時刻(後述)から一定時間経過した場合(ステップS502のNo、ステップS504、ステップS505のYesの場合)、ステップS506で、既にイベント通知予約取りまとめ用テーブルに記載されているアプリケーション識別子で特定されるアプリケーションが終了しているかどうかを確認する。   Next, the event notification reservation transmitting unit writes the event notification reservation message in the table or when a predetermined time has elapsed from the previous confirmation time (described later) (No in step S502, Yes in step S504, step S505) In step S506, it is confirmed whether or not the application specified by the application identifier already described in the event notification reservation gathering table has ended.

そして、アプリケーションが終了してれば(ステップS507のYes)、ステップS508で、イベント通知予約送信部は、イベント通知予約取りまとめ用テーブルから該当するアプリケーション識別子を削除し、ステップS509で、前述した前回の確認時刻を更新する。この確認時刻は、イベント通知予約取りまとめ用テーブルに記載されているアプリケーションが既に終了しているかどうかの確認を行った時刻のことである。   If the application is completed (Yes in step S507), in step S508, the event notification reservation transmitting unit deletes the corresponding application identifier from the event notification reservation collecting table, and in step S509, the previous notification described above is performed. Update the confirmation time. This confirmation time is the time at which it is confirmed whether or not the application described in the event notification reservation gathering table has already ended.

その後、ステップS510で、イベント通知予約送信部は、イベント通知予約取りまとめ用テーブルにアプリケーションが残っているかを確認し、残っていなければ(ステップS511のNo)、画像形成装置10へのイベント通知予約をすべてキャンセルするなどのイベントプロセッサ21dの終了に必要な処理を行い、イベントプロセッサ21dを終了する。   Thereafter, in step S510, the event notification reservation transmission unit checks whether there is an application remaining in the event notification reservation gathering table. If not (No in step S511), the event notification reservation transmitter transmits an event notification reservation to the image forming apparatus 10. Processing necessary for terminating the event processor 21d, such as canceling all, is performed, and the event processor 21d is terminated.

一方、アプリケーションが残っていれば(ステップS511のYes)、ステップS512で、イベント通知予約取りまとめ用テーブルのイベント通知予約を行ないたい画像形成装置10のIPアドレスに対応付けて記載されているイベント種別のOn/Offについて、ORを取る。   On the other hand, if an application remains (Yes in step S511), in step S512, the event type of the event type described in association with the IP address of the image forming apparatus 10 in the event notification reservation gathering table for which event notification reservation is desired. Take OR for On / Off.

例えば、図15のTable2の例で説明すると、IPアドレスが150.16.100.123の画像形成装置10に対してイベント通知予約を行うアプリケーションは3つであり、各々のアプリケーションに対して、
PID0020 は、D=On,T=Off,J=Off,C=On
PID0021 は、D=Off,T=Off,J=Off,C=On
PID0030 は、D=On,T=On,J=Off,C=Off
であるで、ORを取ると、
D=On,T=On,J=Off,C=On,となる。
For example, in the example of Table 2 in FIG. 15, there are three applications that make an event notification reservation for the image forming apparatus 10 whose IP address is 150.16.100.123.
PID0020 is D = On, T = Off, J = Off, C = On
PID0021 has D = Off, T = Off, J = Off, C = On
PID0030 is D = On, T = On, J = Off, C = Off
So, if you take OR,
D = On, T = On, J = Off, C = On.

次に、ステップS513で、イベント通知予約送信部は、現在、画像形成装置10に設定されているイベントの種別を画像形成装置10に問い合わせる。画像形成装置10には、後述するフローチャート8に示すように、現在、設定されているイベント種別の問合せに対して、返事を返す処理が予め用意されている。   Next, in step S513, the event notification reservation transmission unit inquires of the image forming apparatus 10 about the type of event currently set in the image forming apparatus 10. In the image forming apparatus 10, as shown in a flowchart 8 to be described later, a process for returning a response to an inquiry about the currently set event type is prepared in advance.

そして、ステップS514で、イベント通予約送信部は、現在、画像形成装置10に設定されているイベントの種別と、上記取りまとめ用テーブルからORを取ったイベントの種別とを比較し、ステップS515で、両者が一致していなければ(例えば、画像形成装置10に設定されているイベント種別がD=On,T=Off,J=Off,C=Onのようになっていれば)、ステップS516で、画像形成装置10に対して、イベント通知予約メッセージを送信し、ステップS517で、デバイス送受信テーブル記憶部は、画像形成装置10のIPアドレスとイベント通知メッセージ受信用ポート番号とを対応付けて、図16に示すようなデバイス送受信テーブルに記述する。上記イベント通知予約メッセージは、ユーザアカウント、返信先IPアドレス、イベント通知メッセージを受信するポート番号、取りまとめ用テーブルからORを取ったイベントの種別などで構成することができるが、イベント通知を受け取る制御装置20の通信ネットワーク上の場所情報と、いずれかのアプリケーションに対して通知するイベントの種別とを含んでいればよい。   In step S514, the event serial reservation transmission unit compares the event type currently set in the image forming apparatus 10 with the event type obtained by ORing the above-described summary table, and in step S515, If they do not match (for example, if the event type set in the image forming apparatus 10 is D = On, T = Off, J = Off, C = On), in step S516, In step S517, the device transmission / reception table storage unit associates the IP address of the image forming apparatus 10 with the event notification message reception port number in step S517. Described in the device transmission / reception table as shown in The event notification reservation message can be composed of a user account, a reply destination IP address, a port number for receiving the event notification message, an event type obtained by ORing from the management table, etc., and a control device that receives the event notification 20 location information on the communication network and an event type to be notified to one of the applications may be included.

一方、ステップS515で、両者が一致すれば、イベント通知予約メッセージを送信する必要はないので、ステップS501に戻って同様の処理を繰り返す。   On the other hand, if they match at step S515, there is no need to transmit an event notification reservation message, so the process returns to step S501 and the same processing is repeated.

[イベントプロセッサのイベント通知メッセージ取得処理]
図10のフローチャート6に示すように、ステップS601で、イベントプロセッサ21dのイベント通知受信部は、画像形成装置10の通信メッセージ送受信部から送信されるイベント通知メッセージを待つ。このイベント通知メッセージの送信に関しては、後述する図13のフローチャート9で詳述する。
[Event processor event notification message acquisition processing]
As shown in the flowchart 6 of FIG. 10, in step S601, the event notification receiving unit of the event processor 21d waits for an event notification message transmitted from the communication message transmitting / receiving unit of the image forming apparatus 10. The transmission of the event notification message will be described in detail with reference to the flowchart 9 in FIG.

そして、イベント通知受信部は、メッセージを受信したら(ステップS602のYes)、ステップS603で、受信したメッセージの種別を判別してイベント通知コールバック送信部に送り、ステップS604で、イベント通知コールバック送信部は、図16のデバイス送受信テーブル(Table3)を参照して、イベントメッセージ受信用ポート番号から画像形成装置10のIPアドレスを判別する。   When receiving the message (Yes in step S602), the event notification receiving unit determines the type of the received message and sends it to the event notification callback transmission unit in step S603. In step S604, the event notification callback transmission is performed. The unit refers to the device transmission / reception table (Table 3) in FIG. 16 to determine the IP address of the image forming apparatus 10 from the event message reception port number.

次に、ステップS605で、イベント通知コールバック送信部は、図15のイベント通知予約取りまとめ用テーブル(Table2)を参照して、上記IPアドレスに対応するコールバック受信用ポート番号を判別して、受信したメッセージを必要とするアプリケーションを判別する。   Next, in step S605, the event notification callback transmission unit refers to the event notification reservation gathering table (Table 2) in FIG. 15, determines the callback reception port number corresponding to the IP address, and receives it. The application that needs the message

次に、ステップS606で、イベント通知コールバック送信部は、上記コールバック受信用ポート番号にイベント通知をコールバックする。   Next, in step S606, the event notification callback transmission unit calls back the event notification to the callback reception port number.

[画像形成装置のイベント通知予約登録処理]
図11のフローチャート7に示すように、ステップS701で、画像形成装置10の通信メッセージ送受信部は、制御装置20からのメッセージを待ち、メッセージを受信したら、ステップS702で、通信メッセージ判別部は、受信したメッセージがイベントプロセッサ21dのイベント通信予約送信部からのイベント通知予約メッセージであるかを判断する。
[Event notification reservation registration process of image forming apparatus]
As shown in the flowchart 7 of FIG. 11, in step S701, the communication message transmission / reception unit of the image forming apparatus 10 waits for a message from the control device 20, and when the message is received, in step S702, the communication message determination unit receives the message. It is determined whether the received message is an event notification reservation message from the event communication reservation transmission unit of the event processor 21d.

そして、イベント通知予約メッセージであれば(ステップS702のYes)、ステップS703で、イベント通知設定部は、図17に示すイベント通知送信判別用テーブルに、例えば、ユーザアカウント、返信先IPアドレス、ポート番号、通知するイベントの種別などを登録し、イベント通知設定記憶部はそのテーブルを記憶する。   If it is an event notification reservation message (Yes in step S702), in step S703, the event notification setting unit stores, for example, a user account, a reply destination IP address, and a port number in the event notification transmission determination table shown in FIG. The type of event to be notified is registered, and the event notification setting storage unit stores the table.

[画像形成装置の通知予約状況問い合わせ処理]
図12のフローチャート8に示すように、ステップS801で、画像形成装置10の通信メッセージ送受信部は、制御装置20からのメッセージを待ち、メッセージを受信したら、ステップS802で、通信メッセージ判別部は、受信したメッセージが通知予約状況問い合わせメッセージであるかを判断する。
[Notification reservation status inquiry processing of image forming apparatus]
As shown in the flowchart 8 of FIG. 12, in step S801, the communication message transmission / reception unit of the image forming apparatus 10 waits for a message from the control device 20, and when the message is received, in step S802, the communication message determination unit receives the message. It is determined whether the received message is a notification reservation status inquiry message.

そして、通知予約状況問い合わせメッセージであれば(ステップS802のYes)、ステップS803で、通信メッセージ送受信部は、図17に示すイベント通知送信判別用テーブルから、問い合わせ相手のIPアドレス、ポート番号、ユーザアカウントに対応したイベントの種別を取得し、制御装置20に返信する。   If it is a notification reservation status inquiry message (Yes in step S802), in step S803, the communication message transmission / reception unit determines the IP address, port number, user account of the inquiry partner from the event notification transmission determination table shown in FIG. The event type corresponding to is acquired and returned to the control device 20.

[画像形成装置のイベント通知メッセージ送信処理]
図13のフローチャート9に示すように、ステップS901で、画像形成装置10の制御部11は、画像形成装置10の各部の状態を監視し、状態が変化(すなわち、イベントが発生)したら(ステップS902のYes)、ステップS903で、そのイベントの種別を判断し、ステップS904で、図17に示すイベント通知送信判別用テーブルを参照して、その種別のイベント通知が要求されているかを調べる。
[Event notification message transmission processing of image forming apparatus]
As shown in the flowchart 9 of FIG. 13, in step S901, the control unit 11 of the image forming apparatus 10 monitors the state of each unit of the image forming apparatus 10, and when the state changes (that is, an event occurs) (step S902). Yes), in step S903, the type of the event is determined. In step S904, the event notification transmission determination table shown in FIG.

そして、要求されている場合(ステップS905のYesの場合)は、ステップS906で、通信メッセージ送受信部は、イベント通知送信判別用テーブルから、イベント通知を要求している返信先IPアドレス、ポート番号を取得し、その返信先IPアドレス、ポート番号に対して、イベント通知メッセージを送信する。   If it is requested (Yes in step S905), in step S906, the communication message transmitting / receiving unit determines the return destination IP address and port number requesting the event notification from the event notification transmission determination table. Acquire and send an event notification message to the reply destination IP address and port number.

このように、本実施例の制御装置20では、SDK21cはイベント通知予約関数がコールされると、別プロセス(イベントプロセッサ21d)を起動し、イベントプロセッサ21dは、複数のアプリケーションからのイベント通知予約情報を取りまとめてイベント通知予約メッセージを画像形成装置10に送信して、画像形成装置10にイベント通知の要否を設定させ、また、画像形成装置10からイベント通知メッセージを受信すると、そのイベント通知を必要とするアプリケーションを特定してそのアプリケーションにイベント通知をコールバックする処理を行うため、必要なイベント通知のみを必要なアプリケーションに送ることができ、これにより、トラフィックの増加や画像形成装置10のパフォーマンスの低下を抑制することができ、効率的にイベント通知を行うことができる。   As described above, in the control device 20 of this embodiment, when the event notification reservation function is called, the SDK 21c starts another process (event processor 21d), and the event processor 21d receives event notification reservation information from a plurality of applications. The event notification reservation message is transmitted to the image forming apparatus 10 to cause the image forming apparatus 10 to set the necessity of event notification. When the event notification message is received from the image forming apparatus 10, the event notification is required. Since an application to be identified is identified and an event notification is called back to the application, only the necessary event notification can be sent to the necessary application, thereby increasing traffic and improving the performance of the image forming apparatus 10. Suppress the decline Can, it is possible to efficiently perform the event notification.

なお、上記実施例では、被制御装置として画像形成装置10を例にして説明したが、複数種類のイベントに対応するイベント通知が可能で、種類毎にイベント通知の要否が設定可能な機能を備える任意の装置に対して同様に適用することができる。   In the above-described embodiment, the image forming apparatus 10 is described as an example of the controlled apparatus. However, a function that can perform event notification corresponding to a plurality of types of events and can set necessity of event notification for each type. The present invention can be similarly applied to any device provided.

本発明は、イベントの通知方法及びイベントの通知を制御する制御プログラム並びにイベントの通知を制御する制御装置に利用可能である。   The present invention is applicable to an event notification method, a control program for controlling event notification, and a control apparatus for controlling event notification.

本発明の一実施例に係る制御システムの構成を模式的に示す図である。It is a figure which shows typically the structure of the control system which concerns on one Example of this invention. 本発明の一実施例に係る画像形成装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus according to an embodiment of the present invention. 本発明の一実施例に係る制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the control apparatus which concerns on one Example of this invention. 本発明の一実施例に係る制御装置及び画像形成装置のソフトウェアの機能を示すブロック図である。FIG. 3 is a block diagram illustrating software functions of a control device and an image forming apparatus according to an embodiment of the present invention. 本発明の一実施例に係る制御システムを用いたイベント通知手順(アプリケーションの処理)を示すフローチャート図である。It is a flowchart figure which shows the event notification procedure (application process) using the control system which concerns on one Example of this invention. 本発明の一実施例に係る制御システムを用いたイベント通知手順(SDKでのConnectからDisconnectまでの処理)を示すフローチャート図である。It is a flowchart figure which shows the event notification procedure (process from Connect by SDK in SDK) using the control system which concerns on one Example of this invention. 本発明の一実施例に係る制御システムを用いたイベント通知手順(SDKでの通信バージョン判別処理)を示すフローチャート図である。It is a flowchart figure which shows the event notification procedure (communication version discrimination | determination process in SDK) using the control system which concerns on one Example of this invention. 本発明の一実施例に係る制御システムを用いたイベント通知手順(SDKでのイベント通知関数処理)を示すフローチャート図である。It is a flowchart figure which shows the event notification procedure (event notification function process in SDK) using the control system which concerns on one Example of this invention. 本発明の一実施例に係る制御システムを用いたイベント通知手順(イベントプロセッサの処理)を示すフローチャート図である。It is a flowchart figure which shows the event notification procedure (process of an event processor) using the control system which concerns on one Example of this invention. 本発明の一実施例に係る制御システムを用いたイベント通知手順(イベントプロセッサでのイベント変化メッセージ取得処理)を示すフローチャート図である。It is a flowchart figure which shows the event notification procedure (event change message acquisition process in an event processor) using the control system which concerns on one Example of this invention. 本発明の一実施例に係る制御システムを用いたイベント通知手順(画像形成装置でのイベント通知予約登録処理)を示すフローチャート図である。It is a flowchart figure which shows the event notification procedure (event notification reservation registration process in an image forming apparatus) using the control system which concerns on one Example of this invention. 本発明の一実施例に係る制御システムを用いたイベント通知手順(画像形成装置でのイベント通知予約状況問い合わせ処理)を示すフローチャート図である。It is a flowchart figure which shows the event notification procedure (event notification reservation status inquiry process in an image forming apparatus) using the control system which concerns on one Example of this invention. 本発明の一実施例に係る制御システムを用いたイベント通知手順(画像形成装置でのイベント通知メッセージ送信処理)を示すフローチャート図である。It is a flowchart figure which shows the event notification procedure (event notification message transmission process in an image forming apparatus) using the control system which concerns on one Example of this invention. 本発明の一実施例に係る特定のURLの記載例を示す図である。It is a figure which shows the example of description of specific URL which concerns on one Example of this invention. 本発明の一実施例に係るイベント通知予約まとめ用テーブルの記載例を示す図である。It is a figure which shows the example of description of the table for event notification reservation summary which concerns on one Example of this invention. 本発明の一実施例に係るデバイス送受信テーブルの記載例を示す図である。It is a figure which shows the example of description of the device transmission / reception table based on one Example of this invention. 本発明の一実施例に係るイベント通知送信判別用テーブルの記載例を示す図である。It is a figure which shows the example of description of the table for event notification transmission discrimination | determination concerning one Example of this invention.

符号の説明Explanation of symbols

10 画像形成装置
11 制御部
11a 設定制御部
11b 状態検知制御部
11c 通信制御部
12 記憶部
12a 設定保存メモリ部
12b 画像データ保存メモリ
13 表示・操作部
14 印刷部
15 給排紙ユニット部
20 制御装置
21 制御部
21a SDK関数呼出部
21b イベント通知コールバック処理部
21c SDK
21d イベントプロセッサ
22 記憶部
23 表示部
24 操作部
DESCRIPTION OF SYMBOLS 10 Image forming apparatus 11 Control part 11a Setting control part 11b State detection control part 11c Communication control part 12 Storage part 12a Setting preservation | save memory part 12b Image data preservation | save memory 13 Display / operation part 14 Printing part 15 Feed / discharge unit part 20 Control apparatus 21 Control Unit 21a SDK Function Calling Unit 21b Event Notification Callback Processing Unit 21c SDK
21d event processor 22 storage unit 23 display unit 24 operation unit

Claims (15)

複数種類のイベント通知が可能であり、イベントの種類毎にイベント通知の要否が設定可能な被制御装置と、前記被制御装置からイベント通知を受け取る制御装置と、が通信ネットワークで接続されてなる制御システムにおけるイベント通知方法であって、
前記制御装置では、該制御装置で動作する各々のアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約情報を取得し、前記イベント通知予約情報に基づいて、いずれかのアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約メッセージを作成し、該イベント通知予約メッセージを前記被制御装置に通知し、
前記被制御装置では、受信した前記イベント通知予約メッセージに基づいて、前記制御装置に対するイベント通知の要否を設定することを特徴とするイベント通知方法。
Multiple types of event notifications are possible, and a controlled device that can set the necessity of event notification for each event type and a control device that receives event notifications from the controlled device are connected via a communication network. An event notification method in a control system,
In the control device, each application operating on the control device acquires event notification reservation information that specifies a type of event that requires notification, and any application notifies the event notification reservation information based on the event notification reservation information. Create an event notification reservation message that identifies the type of event that is required, and notify the controlled device of the event notification reservation message,
An event notification method, wherein the controlled device sets necessity of event notification to the control device based on the received event notification reservation message.
前記被制御装置では、前記制御装置に対して通知が必要と設定されたイベントが発生した場合に、前記制御装置にイベント通知メッセージを送信し、
前記制御装置では、予め記憶した前記イベント通知予約情報に基づいて、受信した前記イベント通知メッセージに記述されたイベントの通知を必要とするアプリケーションを特定し、特定したアプリケーションに対してイベント通知を行うことを特徴とする請求項1記載のイベント通知方法。
In the controlled device, when an event that is set to be notified to the control device occurs, an event notification message is transmitted to the control device,
The control device identifies an application that requires notification of the event described in the received event notification message based on the event notification reservation information stored in advance, and notifies the identified application of the event The event notification method according to claim 1.
前記制御装置では、前記被制御装置から通信バージョン情報を取得し、前記制御装置が前記通信バージョン情報に対応している場合は、該通信バージョンの通信モジュールをロードし、前記制御装置が前記通信バージョン情報に対応していない場合は、最新の通信バージョンの通信モジュールをロードすることを特徴とする請求項1又は2に記載のイベント通知方法。   The control device acquires communication version information from the controlled device. If the control device is compatible with the communication version information, the communication device loads the communication version of the communication version, and the control device transmits the communication version information. 3. The event notification method according to claim 1, wherein when the information does not correspond to the information, the communication module of the latest communication version is loaded. 複数種類のイベント通知が可能であり、イベントの種類毎にイベント通知の要否が設定可能な被制御装置と、前記被制御装置からイベント通知を受け取る制御装置と、が通信ネットワークで接続されてなる制御システムにおけるイベント通知方法であって、
前記制御装置で動作するSDK(Software Development Kit)に、前記制御装置で動作する各々のアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約情報を通知するステップと、
前記SDKが起動するプロセスで、前記イベント通知予約情報に基づいて、いずれかのアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約メッセージを作成し、該イベント通知予約メッセージを前記被制御装置に通知するステップと、
前記被制御装置で、受信した前記イベント通知予約メッセージに基づいて、前記制御装置に対するイベント通知の要否を設定するステップと、を少なくとも有することを特徴とするイベント通知方法。
Multiple types of event notifications are possible, and a controlled device that can set the necessity of event notification for each event type and a control device that receives event notifications from the controlled device are connected via a communication network. An event notification method in a control system,
Notifying the SDK (Software Development Kit) operating on the control device of event notification reservation information that identifies the type of event that each application operating on the control device requires notification;
In the process of starting the SDK, based on the event notification reservation information, an event notification reservation message that identifies the type of event that any application needs to be notified is created, and the event notification reservation message is controlled by the controlled event Notifying the device;
An event notification method comprising: at least a step of setting whether or not an event notification is required for the control device based on the received event notification reservation message in the controlled device.
前記プロセスは、アプリケーションを監視し、いずれかのアプリケーションが終了した場合に、終了したアプリケーションに対応するイベント通知予約情報を除いて、前記イベント通知予約メッセージを作成し直すことを特徴とする請求項4記載のイベント通知方法。   5. The process according to claim 4, wherein the process monitors an application, and when any application ends, the event notification reservation message is recreated except for event notification reservation information corresponding to the ended application. The event notification method described. 前記被制御装置で、前記制御装置に対して通知が必要と設定されたイベントが発生した場合に、前記制御装置にイベント通知メッセージを送信するステップと、
前記プロセスで、予め記憶した前記イベント通知予約情報に基づいて、受信した前記イベント通知メッセージに記述されたイベントの通知を必要とするアプリケーションを特定し、特定したアプリケーションに対してイベント通知を行うステップと、を更に有することを特徴とする請求項4又は5に記載のイベント通知方法。
A step of transmitting an event notification message to the control device when an event that is set to be notified to the control device occurs in the controlled device;
Identifying an application that requires notification of the event described in the received event notification message based on the event notification reservation information stored in advance in the process, and performing event notification for the identified application; The event notification method according to claim 4, further comprising:
前記SDKに、前記被制御装置との接続を要求する情報を通知するステップと、
前記SDKが前記被制御装置から通信バージョン情報を取得するステップと、
前記SDKで、前記制御装置が前記通信バージョン情報に対応している場合は、該通信バージョンの通信モジュールをロードし、前記制御装置が前記通信バージョン情報に対応していない場合は、最新の通信バージョンの通信モジュールをロードするステップと、を更に有することを特徴とする請求項4乃至6のいずれか一に記載のイベント通知方法。
Notifying the SDK of information requesting connection with the controlled device;
The SDK obtaining communication version information from the controlled device;
In the SDK, when the control device is compatible with the communication version information, the communication module of the communication version is loaded, and when the control device is not compatible with the communication version information, the latest communication version is loaded. The event notification method according to claim 4, further comprising a step of loading the communication module.
前記イベント通知予約情報は、前記各々のアプリケーションの識別情報と、前記被制御装置の前記通信ネットワーク上の場所情報と、前記各々のアプリケーションが通知を必要とするイベントの種別と、を含み、
前記イベント通知要求メッセージは、前記イベント通知の通知先の前記通信ネットワーク上の場所情報と、いずれかのアプリケーションが通知を必要とするイベントの種別と、を含むことを特徴とする請求項1乃至7のいずれか一に記載のイベント通知方法。
The event notification reservation information includes identification information of each application, location information of the controlled device on the communication network, and a type of event for which each application requires notification,
The event notification request message includes location information on the communication network that is a notification destination of the event notification, and an event type for which any application needs to be notified. The event notification method according to any one of the above.
複数種類のイベント通知が可能であり、イベントの種類毎にイベント通知の要否が設定可能な被制御装置から、通信ネットワークを介してイベント通知を受け取る制御装置で動作するプログラムであって、
コンピュータに、
前記制御装置で動作する各々のアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約情報を取得し、前記イベント通知予約情報に基づいて、いずれかのアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約メッセージを作成し、該イベント通知予約メッセージを前記被制御装置に通知する処理、を実行させることを特徴とする制御プログラム。
A program that is capable of performing multiple types of event notifications and that operates on a control device that receives event notifications via a communication network from a controlled device that can be configured to determine whether event notification is required for each event type,
On the computer,
The event notification reservation information that identifies the type of event for which each application operating on the control device requires notification is acquired, and based on the event notification reservation information, the event of which one of the applications needs notification A control program for generating an event notification reservation message for identifying a type and notifying the controlled device of the event notification reservation message.
コンピュータに、更に、
前記被制御装置から送信されるイベント通知メッセージを受信し、予め記憶した前記イベント通知予約情報に基づいて、受信した前記イベント通知メッセージに記述されたイベントの通知を必要とするアプリケーションを特定し、特定したアプリケーションに対してイベント通知を行う処理、を実行させることを特徴とする請求項9記載の制御プログラム。
To the computer,
An event notification message transmitted from the controlled device is received, and an application that requires notification of the event described in the received event notification message is identified and specified based on the event notification reservation information stored in advance. The control program according to claim 9, wherein a process for notifying an event of an event is executed.
コンピュータに、更に、
前記被制御装置から通信バージョン情報を取得し、前記制御装置が前記通信バージョン情報に対応している場合は、該通信バージョンの通信モジュールをロードし、前記制御装置が前記通信バージョン情報に対応していない場合は、最新の通信バージョンの通信モジュールをロードする処理、を実行させることを特徴とする請求項9又は10に記載の制御プログラム。
To the computer,
If communication version information is acquired from the controlled device, and the control device supports the communication version information, a communication module of the communication version is loaded, and the control device supports the communication version information. 11. The control program according to claim 9, wherein if there is not, a process of loading a communication module of the latest communication version is executed.
前記イベント通知予約情報は、前記各々のアプリケーションの識別情報と、前記被制御装置の前記通信ネットワーク上の場所情報と、前記各々のアプリケーションが通知を必要とするイベントの種別と、を含み、
前記イベント通知要求メッセージは、前記イベント通知の通知先の前記通信ネットワーク上の場所情報と、いずれかのアプリケーションが通知を必要とするイベントの種別と、を含むことを特徴とする請求項9乃至11のいずれか一に記載の制御プログラム。
The event notification reservation information includes identification information of each application, location information of the controlled device on the communication network, and a type of event for which each application requires notification,
12. The event notification request message includes location information on the communication network that is a notification destination of the event notification and an event type for which any application needs to be notified. A control program according to any one of the above.
複数種類のイベント通知が可能であり、イベントの種類毎にイベント通知の要否が設定可能な被制御装置から、通信ネットワークを介してイベント通知を受け取る制御装置であって、
前記制御装置で動作する各々のアプリケーションが通知を必要とするイベントの種別を特定するイベント通知予約情報を取得し、前記イベント通知予約情報に基づいて、いずれかのアプリケーションが通知を必要とするイベントの種別を示すイベント通知予約メッセージを作成し、該イベント通知予約メッセージを前記被制御装置に通知する機能と、
前記被制御装置からイベント通知メッセージを受信する機能と、
予め記憶した前記イベント通知予約情報に基づいて、受信した前記イベント通知メッセージに記述されたイベントの通知を必要とするアプリケーションを特定し、特定したアプリケーションに対してイベント通知を行う機能と、を少なくとも備えることを特徴とする制御装置。
Multiple types of event notifications are possible, and a control device that receives event notifications via a communication network from a controlled device that can set the necessity of event notification for each event type,
The event notification reservation information that identifies the type of event for which each application operating on the control device requires notification is acquired, and based on the event notification reservation information, the event of which one of the applications needs notification Creating an event notification reservation message indicating the type, and notifying the controlled device of the event notification reservation message;
A function of receiving an event notification message from the controlled device;
Based on the event notification reservation information stored in advance, at least a function for specifying an application that needs to be notified of an event described in the received event notification message and performing event notification for the specified application is provided. A control device characterized by that.
前記被制御装置から通信バージョン情報を取得する機能と、
前記制御装置が前記通信バージョン情報に対応している場合は、該通信バージョンの通信モジュールをロードし、前記制御装置が前記通信バージョン情報に対応していない場合は、最新の通信バージョンの通信モジュールをロードする機能と、を更に備えることを特徴とする請求項13記載の制御装置。
A function of acquiring communication version information from the controlled device;
When the control device is compatible with the communication version information, the communication module of the communication version is loaded. When the control device is not compatible with the communication version information, the communication module of the latest communication version is loaded. The control device according to claim 13, further comprising a loading function.
前記イベント通知予約情報は、前記各々のアプリケーションの識別情報と、前記被制御装置の前記通信ネットワーク上の場所情報と、前記各々のアプリケーションが通知を必要とするイベントの種別と、を含み、
前記イベント通知要求メッセージは、前記イベント通知の通知先の前記通信ネットワーク上の場所情報と、いずれかのアプリケーションが通知を必要とするイベントの種別と、を含むことを特徴とする請求項13又は14に記載の制御装置。
The event notification reservation information includes identification information of each application, location information of the controlled device on the communication network, and a type of event for which each application requires notification,
15. The event notification request message includes location information on the communication network that is a notification destination of the event notification and an event type for which any application needs to be notified. The control device described in 1.
JP2007167733A 2007-06-26 2007-06-26 Event notification method, control program, and control apparatus Expired - Fee Related JP5056200B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007167733A JP5056200B2 (en) 2007-06-26 2007-06-26 Event notification method, control program, and control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007167733A JP5056200B2 (en) 2007-06-26 2007-06-26 Event notification method, control program, and control apparatus

Publications (2)

Publication Number Publication Date
JP2009009220A true JP2009009220A (en) 2009-01-15
JP5056200B2 JP5056200B2 (en) 2012-10-24

Family

ID=40324264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007167733A Expired - Fee Related JP5056200B2 (en) 2007-06-26 2007-06-26 Event notification method, control program, and control apparatus

Country Status (1)

Country Link
JP (1) JP5056200B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013115188A1 (en) * 2012-01-30 2013-08-08 京セラドキュメントソリューションズ株式会社 Network-based event notification system
JP2015056034A (en) * 2013-09-12 2015-03-23 株式会社リコー Apparatus, information processing terminal, information processing system, information processing method, and program
JP2015162062A (en) * 2014-02-27 2015-09-07 京セラドキュメントソリューションズ株式会社 event management apparatus and event management method
JP2018005942A (en) * 2017-09-28 2018-01-11 株式会社リコー Apparatus, information processing terminal, information processing system, information processing method, and program

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6276954A (en) * 1985-09-30 1987-04-09 Toshiba Corp Communication controller
JPH07143146A (en) * 1993-06-25 1995-06-02 Matsushita Electric Works Ltd Communication processing system
JPH07297876A (en) * 1994-04-22 1995-11-10 Hitachi Ltd Event report control system
JPH08129536A (en) * 1994-10-28 1996-05-21 Oki Electric Ind Co Ltd Event processing system
JPH10269252A (en) * 1997-03-27 1998-10-09 Hitachi Ltd Integrating method/device for distributed information
JPH11266249A (en) * 1998-01-14 1999-09-28 Nippon Telegr & Teleph Corp <Ntt> Integrated network management system and medium for storing integrated network management program
JP2000040041A (en) * 1998-07-23 2000-02-08 Nippon Telegr & Teleph Corp <Ntt> Method and system for input-output synchronization for internet protocol version conversion, application and server for network packet receiving processing and internet, and recording, medium storing i/o synchronization program for protocol version conversion
JP2000228680A (en) * 1998-10-16 2000-08-15 Siemens Inf & Commun Networks Inc Device and method for providing supplementary service in telephone technology on lan
JP2000242541A (en) * 1999-02-24 2000-09-08 Pfu Ltd Object processor and its program storage medium
JP2001147825A (en) * 1999-11-22 2001-05-29 Toshiba Corp Communication managing device and distributed processing system and computer readable program recording medium
JP2003157155A (en) * 2001-11-20 2003-05-30 Canon Inc Peripheral equipment, information processor, network system, communication method, device control method, storage medium and program
JP2005174028A (en) * 2003-12-11 2005-06-30 Sharp Corp Data-protecting device and image forming apparatus
JP2005267447A (en) * 2004-03-19 2005-09-29 Ricoh Co Ltd Image forming apparatus and image forming method
JP2006024187A (en) * 2004-06-10 2006-01-26 Ricoh Co Ltd Communication device, apparatus message processing program and recording medium
JP2006235831A (en) * 2005-02-23 2006-09-07 Nec Corp Condition management device, method, and program

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6276954A (en) * 1985-09-30 1987-04-09 Toshiba Corp Communication controller
JPH07143146A (en) * 1993-06-25 1995-06-02 Matsushita Electric Works Ltd Communication processing system
JPH07297876A (en) * 1994-04-22 1995-11-10 Hitachi Ltd Event report control system
JPH08129536A (en) * 1994-10-28 1996-05-21 Oki Electric Ind Co Ltd Event processing system
JPH10269252A (en) * 1997-03-27 1998-10-09 Hitachi Ltd Integrating method/device for distributed information
JPH11266249A (en) * 1998-01-14 1999-09-28 Nippon Telegr & Teleph Corp <Ntt> Integrated network management system and medium for storing integrated network management program
JP2000040041A (en) * 1998-07-23 2000-02-08 Nippon Telegr & Teleph Corp <Ntt> Method and system for input-output synchronization for internet protocol version conversion, application and server for network packet receiving processing and internet, and recording, medium storing i/o synchronization program for protocol version conversion
JP2000228680A (en) * 1998-10-16 2000-08-15 Siemens Inf & Commun Networks Inc Device and method for providing supplementary service in telephone technology on lan
JP2000242541A (en) * 1999-02-24 2000-09-08 Pfu Ltd Object processor and its program storage medium
JP2001147825A (en) * 1999-11-22 2001-05-29 Toshiba Corp Communication managing device and distributed processing system and computer readable program recording medium
JP2003157155A (en) * 2001-11-20 2003-05-30 Canon Inc Peripheral equipment, information processor, network system, communication method, device control method, storage medium and program
JP2005174028A (en) * 2003-12-11 2005-06-30 Sharp Corp Data-protecting device and image forming apparatus
JP2005267447A (en) * 2004-03-19 2005-09-29 Ricoh Co Ltd Image forming apparatus and image forming method
JP2006024187A (en) * 2004-06-10 2006-01-26 Ricoh Co Ltd Communication device, apparatus message processing program and recording medium
JP2006235831A (en) * 2005-02-23 2006-09-07 Nec Corp Condition management device, method, and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013115188A1 (en) * 2012-01-30 2013-08-08 京セラドキュメントソリューションズ株式会社 Network-based event notification system
JP2013156809A (en) * 2012-01-30 2013-08-15 Kyocera Document Solutions Inc Event notification system in network
US9367274B2 (en) 2012-01-30 2016-06-14 Kyocera Document Solutions Inc. Network-based event notification system
JP2015056034A (en) * 2013-09-12 2015-03-23 株式会社リコー Apparatus, information processing terminal, information processing system, information processing method, and program
JP2015162062A (en) * 2014-02-27 2015-09-07 京セラドキュメントソリューションズ株式会社 event management apparatus and event management method
JP2018005942A (en) * 2017-09-28 2018-01-11 株式会社リコー Apparatus, information processing terminal, information processing system, information processing method, and program

Also Published As

Publication number Publication date
JP5056200B2 (en) 2012-10-24

Similar Documents

Publication Publication Date Title
US9019543B2 (en) Image processing system and display control method
US9917959B2 (en) System, method and apparatus for managing job processing between a processing apparatus and server
JP6217266B2 (en) Apparatus, information processing terminal, information processing system, information processing method, and program
JP2006235989A (en) Network system, device, and program
JP2007149100A (en) Print server, mobile computing device, system and method for printing using mobile computing device
JP2015207158A (en) Communication system, image processor, method for controlling image processor, and program
EP1895401A1 (en) Communication system and communication apparatus and control method thereof
JP2013258483A (en) Image formation device, control program of image formation device, and image formation system
JP6238711B2 (en) Printing apparatus, printing control method, and program
JP2020140439A (en) Print management program, print management method, and print management device
JP5056200B2 (en) Event notification method, control program, and control apparatus
JP4987770B2 (en) Event notification device, event notification method, and event notification program
JP2014076582A (en) Image formation device, image formation method and program
JP2007230144A (en) Network printer
US11182118B2 (en) Image forming apparatus, control method for the same, image forming system and storage medium
JP2017134702A (en) Server system, control method of server system, and program
JP2008003153A (en) Use situation management system for image forming apparatus, and image forming apparatus
JP2014063386A (en) Printing management server, method for controlling printing management server, and program
JP6700812B2 (en) Processing device, processing method, and program
JP2007213583A (en) Method and apparatus for adaptive configuration of imaging device, and medium
JP5353833B2 (en) Server, print setting file storage control method, and storage control program
JP6340786B2 (en) Information processing system, information processing apparatus, information processing method, and information processing program
JP4533186B2 (en) Image forming apparatus and image forming method
JP6436208B2 (en) Apparatus, information processing terminal, information processing system, information processing method, and program
JP2006190161A (en) Document processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100304

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120330

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120716

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

Free format text: PAYMENT UNTIL: 20150810

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5056200

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees