JP2007316985A - Device, event registration method and event notification system - Google Patents

Device, event registration method and event notification system Download PDF

Info

Publication number
JP2007316985A
JP2007316985A JP2006146609A JP2006146609A JP2007316985A JP 2007316985 A JP2007316985 A JP 2007316985A JP 2006146609 A JP2006146609 A JP 2006146609A JP 2006146609 A JP2006146609 A JP 2006146609A JP 2007316985 A JP2007316985 A JP 2007316985A
Authority
JP
Japan
Prior art keywords
event
registered
information processing
expiration date
registration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006146609A
Other languages
Japanese (ja)
Inventor
Norihito Sako
律人 佐光
Hidenori Yokokura
秀則 横倉
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2006146609A priority Critical patent/JP2007316985A/en
Publication of JP2007316985A publication Critical patent/JP2007316985A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device that can efficiently manage event registrations even when registering a plurality of events requested by the same information processing apparatus. <P>SOLUTION: When receiving an event registration notification from a host computer 21, a printer 10 retrieves an event registration table 121 stored in a RAM 103. If the source host computer 21 has not been registered, a new event ID is issued and the event is registered in the event registration table 121 (S5). If the host computer 21 has been registered, on the other hand, the new event type is added to registered events (S2). If the notified expiration date is later than the original expiration date, the expiration date of the registered events stored in the event registration table 121 is updated to the new expiration date (S4). <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、情報処理装置に通知されるイベントを登録可能なデバイス装置、イベント登録方法およびイベント通知システムに関する。   The present invention relates to a device apparatus capable of registering an event notified to an information processing apparatus, an event registration method, and an event notification system.

近年、デジタル複合機等のデバイス装置は、ホストコンピュータからイベント登録要求を受けると、そのイベントをデバイス装置内部のメモリに登録することが一般的に行われている。この種のイベントとしては、「エラー発生」や「ジョブ終了」等、さまざまな種類のものが存在する。   In recent years, when a device device such as a digital multifunction peripheral receives an event registration request from a host computer, it is generally performed to register the event in a memory inside the device device. There are various types of events such as “error occurrence” and “job end”.

また、特許文献1には、デバイス装置に登録されているポートが存在する場合、そこに通知されるイベントを要求元のクライアントに変更(リダイレクト)して通知することが示されており、この場合、ホストコンピュータ側でイベント制御が行われる。
特開2003−131845号公報
Patent Document 1 discloses that when a port registered in a device apparatus exists, an event notified to the port is changed (redirected) and notified to the requesting client. Event control is performed on the host computer side.
JP 2003-131845 A

しかしながら、上記従来のデバイス装置では、以下に掲げる問題があった。デバイス装置側でイベント登録が行われる場合、イベントの種類が多いことから、デバイス装置内部では1つのホストコンピュータに対し、多数のイベントを登録することが必要であった。この場合、デバイス装置において、一つのコンピュータに対して複数の異なるイベント登録を行ってしまうことにより、デバイス装置におけるイベント登録内容の管理の効率が悪くなってしまう。例えば、一般的にデジタル複合機等のデバイス装置では、メモリリソースが限られているので、イベント登録用として使用できるメモリが不足するおそれがあった。   However, the conventional device apparatus has the following problems. When event registration is performed on the device apparatus side, since there are many types of events, it is necessary to register a large number of events in one host computer in the device apparatus. In this case, if the device apparatus performs a plurality of different event registrations for one computer, the efficiency of managing event registration contents in the device apparatus deteriorates. For example, in general, a device device such as a digital multi-function peripheral has a limited memory resource, which may cause a shortage of memory that can be used for event registration.

そこで、本発明は、同一の情報処理装置から要求される複数のイベントを登録する際にも、効率よくイベント登録内容を管理することができるデバイス装置、イベント登録方法およびイベント通知システムを提供することを目的とする。   Therefore, the present invention provides a device apparatus, an event registration method, and an event notification system that can efficiently manage event registration contents even when registering a plurality of events requested from the same information processing apparatus. With the goal.

上記目的を達成するために、本発明のデバイス装置は、情報処理装置に接続され、登録されているイベントが発生した場合、当該発生したイベントを前記情報処理装置に通知するデバイス装置であって、前記情報処理装置からのイベント登録要求に従って、前記情報処理装置に通知されるイベントを登録するイベント登録手段と、前記イベント登録要求の応答として、前記イベントに関する情報を通知する応答通知手段と、前記通知されるイベントを登録する際、既に同一の情報処理装置に通知されるイベントが登録されている場合、当該登録されているイベントの種類および前記登録が要求されたイベントの種類を合わせた1つのイベントに統合し、前記登録されたイベントを前記統合されたイベントに更新する登録更新手段とを備えたことを特徴とする。   In order to achieve the above object, a device apparatus of the present invention is a device apparatus that is connected to an information processing apparatus and notifies the information processing apparatus of the generated event when a registered event occurs, Event registration means for registering an event to be notified to the information processing apparatus according to an event registration request from the information processing apparatus, response notification means for notifying information about the event as a response to the event registration request, and the notification When an event to be notified to the same information processing apparatus has already been registered, one event combining the type of the registered event and the type of the event for which the registration is requested is registered. And a registration / update means for updating the registered event to the integrated event. The features.

本発明のデバイス装置は、前記デバイス装置で発生する第1のイベントを該イベントの通知先と該イベント通知の有効期限と対応付けて記憶する記憶手段と、前記デバイス装置で発生する第2のイベントに関するイベント登録要求を受信する受信手段と、前記受信手段で受信したイベント登録要求によって指定された通知先が、前記記憶手段に記憶されているか否かを判定する判定手段と、前記判定手段によって記憶されていると判定された場合、前記記憶手段に記憶された前記第1のイベントに対応する有効期限を、前記受信手段によって受信したイベント登録要求によって指定された有効期限に更新する更新手段と、 を有することを特徴とする。   The device apparatus of the present invention includes a storage unit that stores a first event that occurs in the device apparatus in association with a notification destination of the event and an expiration date of the event notification, and a second event that occurs in the device apparatus A receiving means for receiving an event registration request relating to, a determining means for determining whether or not a notification destination designated by the event registration request received by the receiving means is stored in the storage means, and storing by the determining means An update means for updating the expiration date corresponding to the first event stored in the storage means to the expiration date specified by the event registration request received by the reception means, It is characterized by having.

本発明のイベント登録方法は、情報処理装置に接続されたデバイス装置で発生し、前記情報処理装置に通知されるイベントを前記デバイス装置に登録するイベント登録方法であって、前記情報処理装置からのイベント登録要求に従って、前記情報処理装置に通知されるイベントを登録するイベント登録ステップと、前記イベント登録要求の応答として、前記イベントに関する情報を通知する応答通知ステップと、前記通知されるイベントを登録する際、既に同一の情報処理装置に通知されるイベントが登録されている場合、当該登録されているイベントの種類および前記登録が要求されたイベントの種類を合わせた1つのイベントに統合し、前記登録されたイベントを前記統合されたイベントに更新する登録更新ステップとを有することを特徴とする。   An event registration method of the present invention is an event registration method for registering an event that occurs in a device connected to an information processing apparatus and is notified to the information processing apparatus in the device apparatus. In accordance with an event registration request, an event registration step for registering an event to be notified to the information processing apparatus, a response notification step for notifying information related to the event as a response to the event registration request, and registering the notified event When an event to be notified to the same information processing apparatus has already been registered, the registered event type and the event type for which registration is requested are integrated into one event, and the registration is performed. And a registration update step for updating a registered event to the integrated event. To.

本発明のイベント登録方法は、情報処理装置に接続されたデバイス装置で発生し、前記情報処理装置に通知されるイベントを前記デバイス装置に登録するイベント登録方法であって、前記デバイス装置で発生する第1のイベントを該イベントの通知先と該イベント通知の有効期限と対応付けて記憶媒体に記憶する記憶ステップと、前記デバイス装置で発生する第2のイベントに関するイベント登録要求を受信する受信ステップと、前記受信ステップで受信したイベント登録要求によって指定された通知先が、前記記憶媒体に記憶されているか否かを判定する判定ステップと、前記判定ステップによって記憶されていると判定された場合、前記記憶媒体に記憶された前記第1のイベントに対応する有効期限を、前記受信ステップで受信したイベント登録要求によって指定された有効期限に更新する更新ステップと、を有することを特徴とする。   An event registration method of the present invention is an event registration method for registering an event that occurs in a device device connected to an information processing apparatus and is notified to the information processing apparatus in the device apparatus, and that occurs in the device apparatus. A storage step of storing a first event in a storage medium in association with a notification destination of the event and an expiration date of the event notification; a receiving step of receiving an event registration request relating to a second event generated in the device device; , If it is determined that the notification destination specified by the event registration request received in the reception step is stored in the storage medium, and if it is determined that the notification destination is stored in the determination step, The expiration date corresponding to the first event stored in the storage medium is stored in the event received in the receiving step. An updating step of updating the specified expiration date by preparative registration request, and having a.

本発明のイベント通知システムは、情報処理装置およびデバイス装置がネットワークに接続され、前記デバイス装置で登録されているイベントが発生した場合、当該発生したイベントを前記情報処理装置に通知するイベント通知システムであって、前記情報処理装置からのイベント登録要求に従って、前記情報処理装置に通知されるイベントを前記デバイス装置に登録するイベント登録手段と、前記イベント登録要求の応答として、前記イベントに関する情報を前記情報処理装置に通知する応答通知手段と、前記通知されるイベントを登録する際、既に同一の情報処理装置に通知されるイベントが登録されている場合、当該登録されているイベントの種類および前記登録が要求されたイベントの種類を合わせた1つのイベントに統合し、前記デバイス装置に登録されたイベントを前記統合されたイベントに更新する登録更新手段とを備えたことを特徴とする。   The event notification system according to the present invention is an event notification system that, when an information processing apparatus and a device apparatus are connected to a network, and an event registered in the device apparatus occurs, notifies the information processing apparatus of the event that has occurred. In accordance with an event registration request from the information processing apparatus, event registration means for registering an event notified to the information processing apparatus in the device apparatus, and information on the event as the response to the event registration request When registering a response notification means for notifying a processing device and the notified event, if an event to be notified to the same information processing device has already been registered, the type of the registered event and the registration are Combine the requested event types into one event, Characterized in that a registered in vise assembly event and a registration update means for updating said integration event.

本発明のイベント通知システムは、情報処理装置およびデバイス装置がネットワークに接続され、前記デバイス装置で登録されているイベントが発生した場合、当該発生したイベントを前記情報処理装置に通知するイベント通知システムであって、前記デバイス装置で発生する第1のイベントを該イベントの通知先と該イベント通知の有効期限と対応付けて記憶する記憶手段と、前記デバイス装置で発生する第2のイベントに関するイベント登録要求を受信する受信手段と、前記受信手段で受信したイベント登録要求によって指定された通知先が、前記記憶手段に記憶されているか否かを判定する判定手段と、前記判定手段によって記憶されていると判定された場合、前記記憶手段に記憶された前記第1のイベントに対応する有効期限を、前記受信手段によって受信したイベント登録要求によって指定された有効期限に更新する更新手段と、を有することを特徴とする。   The event notification system according to the present invention is an event notification system that, when an information processing apparatus and a device apparatus are connected to a network, and an event registered in the device apparatus occurs, notifies the information processing apparatus of the event that has occurred. Storage means for storing a first event generated in the device device in association with a notification destination of the event and an expiration date of the event notification, and an event registration request relating to a second event generated in the device device Receiving means, determining means for determining whether or not the notification destination specified by the event registration request received by the receiving means is stored in the storage means, and stored by the determining means If determined, the expiration date corresponding to the first event stored in the storage means And having updating means for updating the specified expiration date, the by event registration request received by the receiving means.

本発明に係るデバイス装置によれば、同一の情報処理装置から要求される複数のイベントを登録する際にも、効率よくイベント登録内容を管理することができる。これにより、例えばイベント登録数がオーバーしたり、重複したイベントが登録された場合、同じ情報処理装置に対して同様のイベントが複数送信されてしまう無駄を省くことができる。   The device apparatus according to the present invention can efficiently manage event registration contents when registering a plurality of events requested from the same information processing apparatus. Thereby, for example, when the number of event registrations exceeds or when duplicate events are registered, it is possible to eliminate wasteful transmission of a plurality of similar events to the same information processing apparatus.

本発明のデバイス装置、イベント登録方法およびイベント通知システムの実施の形態について図面を参照しながら説明する。本実施形態のデバイス装置は、ネットワーク印刷システムを構築する印刷装置に適用される。図1は実施の形態におけるネットワーク印刷システムの構成を示す図である。   Embodiments of a device device, an event registration method, and an event notification system of the present invention will be described with reference to the drawings. The device apparatus of this embodiment is applied to a printing apparatus that constructs a network printing system. FIG. 1 is a diagram illustrating a configuration of a network printing system according to an embodiment.

このネットワーク印刷システムは、ホストコンピュータ21、22およびデバイス装置である印刷装置10がLAN等のネットワーク50を介して接続された構成を有する。なお、ネットワーク50に接続されるホストコンピュータ、デバイス装置の数は特に限定されない。   This network printing system has a configuration in which host computers 21 and 22 and a printing apparatus 10 as a device apparatus are connected via a network 50 such as a LAN. The number of host computers and device devices connected to the network 50 is not particularly limited.

ホストコンピュータ21、22は、それぞれネットワーク50を介して印刷装置10にイベント登録を要求する。印刷装置10は、イベント発生時、ネットワーク50経由でホストコンピュータ21、22にイベントを通知する。   The host computers 21 and 22 request event registration from the printing apparatus 10 via the network 50, respectively. When an event occurs, the printing apparatus 10 notifies the event to the host computers 21 and 22 via the network 50.

図2は印刷装置10のハードウェア構成を示すブロック図である。CPU101は、制御プログラムを実行し、印刷装置全体を制御する。ROM102には、ブートプログラム、固定パラメータ、後述するイベント登録処理プログラムを含む制御プログラム等が格納されている。RAM103は、CPU101が制御プログラムを実行する際、一時的なデータの格納などに使用される。また、RAM103には、後述するイベント登録テーブル121が格納されている。ハードディスクドライブ(HDD)108は、印刷データの格納など、様々なデータの格納に使用される。タイマ112は、タイマ処理における経過時刻の管理を行う。   FIG. 2 is a block diagram illustrating a hardware configuration of the printing apparatus 10. The CPU 101 executes a control program and controls the entire printing apparatus. The ROM 102 stores a boot program, fixed parameters, a control program including an event registration processing program described later, and the like. The RAM 103 is used for temporarily storing data when the CPU 101 executes a control program. The RAM 103 stores an event registration table 121 described later. A hard disk drive (HDD) 108 is used for storing various data such as print data. The timer 112 manages the elapsed time in the timer process.

プリンタI/F制御部104は、プリンタ部110を制御する。不揮発性メモリ(NVRAM)105は、印刷装置の各種設定値を保持する。パネル制御部106は、オペレーションパネル109を制御し、オペレーションパネル109における各種情報の表示や使用者からの指示入力を行う。ネットワークI/F制御部107は、LAN50を介してデータの送受信を制御する。   The printer I / F control unit 104 controls the printer unit 110. A non-volatile memory (NVRAM) 105 holds various setting values of the printing apparatus. The panel control unit 106 controls the operation panel 109 to display various information on the operation panel 109 and to input instructions from the user. The network I / F control unit 107 controls data transmission / reception via the LAN 50.

バス115には、CPU101、ROM102、RAM103、HDD108、タイマ112、プリンタI/F制御部104、NVRAM105、パネル制御部106およびネットワークI/F制御部107が接続される。CPU101からの制御信号や各装置間のデータ信号は、バス115を介して送受信される。   CPU 101, ROM 102, RAM 103, HDD 108, timer 112, printer I / F control unit 104, NVRAM 105, panel control unit 106 and network I / F control unit 107 are connected to bus 115. Control signals from the CPU 101 and data signals between the devices are transmitted and received via the bus 115.

図3はホストコンピュータ21および印刷装置10間のメッセージシーケンスを示す図である。なお、ここでは、ホストコンピュータ21について示すが、ホストコンピュータ22においても同様である。ホストコンピュータ21は、自身のイベント登録用URLとして、“http://172.24.160.230:1024/event”を有する。   FIG. 3 is a diagram showing a message sequence between the host computer 21 and the printing apparatus 10. Although the host computer 21 is shown here, the same applies to the host computer 22. The host computer 21 has “http://172.24.160.230:1024/event” as its event registration URL.

まず、ホストコンピュータ21は、デバイス装置である印刷装置10に、“Subscribe”メッセージを送信し、エラーイベントの登録を要求する(T1)。印刷装置10は、これに応答し、ホストコンピュータ21に、“Subscribe Response”メッセージを送信し、イベントのID(ここでは、ID=5)、および有効期限(ここでは、2005/12/15)を通知する(T2)。   First, the host computer 21 transmits a “Subscribe” message to the printing apparatus 10 which is a device apparatus, and requests registration of an error event (T1). In response to this, the printing apparatus 10 sends a “Subscribe Response” message to the host computer 21, and the event ID (here, ID = 5) and the expiration date (here, 2005/12/15). Notify (T2).

そして、印刷装置10でエラーイベントが発生すると(T3)、印刷装置10は、“Notification”メッセージをホストコンピュータ21に通知する(T4)。この“Notification”メッセージには、ID=5、有効期限(2005/12/15)が設定されている。ホストコンピュータ21は、“Notification”メッセージの応答として、“Notification Response”メッセージを送信する(T5)。この“Notification Response”メッセージには、“OK”が含まれている。   When an error event occurs in the printing apparatus 10 (T3), the printing apparatus 10 notifies the host computer 21 of a “Notification” message (T4). In this “Notification” message, ID = 5 and expiration date (2005/12/15) are set. The host computer 21 transmits a “Notification Response” message as a response to the “Notification” message (T5). This “Notification Response” message includes “OK”.

つぎに、ホストコンピュータ21は、印刷装置10に、“Subscribe”メッセージを送信し、ジョブ終了イベントの登録を要求する(T6)。印刷装置10は、ホストコンピュータ21に“Subscribe Response”メッセージを送信し、イベントのID=5、有効期限(2005/12/30)を通知する(T7)。ここで通知されるイベントIDは、エラーイベント用に既に登録されているIDである。印刷装置10は、ホストコンピュータ21のイベントが既に登録されていることを検知し、既に登録されているIDと同じID=5を通知する。   Next, the host computer 21 transmits a “Subscribe” message to the printing apparatus 10 and requests registration of a job end event (T6). The printing apparatus 10 transmits a “Subscribe Response” message to the host computer 21 and notifies the event ID = 5 and the expiration date (2005/12/30) (T7). The event ID notified here is an ID already registered for the error event. The printing apparatus 10 detects that the event of the host computer 21 has already been registered, and notifies ID = 5, which is the same as the already registered ID.

そして、印刷装置10でエラーイベントが発生すると(T8)、“Notification”メッセージをホストコンピュータ21に通知する(T9)。この“Notification”メッセージには、ID=5、ステップT7で通知された新しい有効期限(2005/12/30)が設定されている。   When an error event occurs in the printing apparatus 10 (T8), a “Notification” message is notified to the host computer 21 (T9). In this “Notification” message, ID = 5 and a new expiration date (2005/12/30) notified in step T7 is set.

ホストコンピュータ21は、“Notification”メッセージの応答として、“Notification Response”メッセージを送信する(T10)。この“Notification Response”メッセージには、“OK”が含まれている。   The host computer 21 transmits a “Notification Response” message as a response to the “Notification” message (T10). This “Notification Response” message includes “OK”.

そして、印刷装置10でジョブ終了イベントが発生すると(T11)、印刷装置10は、“Notification”メッセージをホストコンピュータ21に通知する(T12)。この“Notification”メッセージには、ステップT7の“Subscription Response”メッセージで通知されたデータ(ID=5、有効期限2005/12/30)が設定されている。ホストコンピュータ21は、“Notification”メッセージの応答して、“Notification Response”メッセージを送信する(T13)。この“Notification Response”メッセージには、“OK”が含まれている。   When a job end event occurs in the printing apparatus 10 (T11), the printing apparatus 10 notifies the host computer 21 of a “Notification” message (T12). In this “Notification” message, the data (ID = 5, expiration date 2005/12/30) notified by the “Subscription Response” message in step T7 is set. In response to the “Notification” message, the host computer 21 transmits a “Notification Response” message (T13). This “Notification Response” message includes “OK”.

図4は“Subscribe”パケットを示す図である。“Subscribe”パケットは、ホストコンピュータからデバイス装置に送られるイベント登録要求であり、本実施形態では、XML形式で記述される。<wsa:Address>タグで指定されている部分には、ホストコンピュータ21のURLがセットされる。本実施形態では、“http://172.24.160.230:1024/event”がセットされている。<wsa:Type>タグで指定されている部分には、イベントタイプがセットされる。本実施形態では、エラーイベントを意味する“error”がセットされている。<wea:Expires>タグで指定されている部分には、イベント通知の有効期限をセットする。即ち、デバイスにおいてエラーが生じた際にホストコンピュータに通知する有効期限をセットする。本実施形態では、“2005/12/15”をセットしている。尚、イベントタイプや有効期限の情報は、ホストコンピュータの操作部を通してユーザによって入力可能であってもよい。また、有効期限の情報に関しては、ホストコンピュータで動作するオペレーティングシステムが予め決められた有効期限を自動的にセットするようにしてもよい。   FIG. 4 is a diagram showing a “Subscribe” packet. The “Subscribe” packet is an event registration request sent from the host computer to the device apparatus, and is described in the XML format in this embodiment. The URL of the host computer 21 is set in the portion specified by the <wsa: Address> tag. In the present embodiment, “http://172.24.160.230:1024/event” is set. An event type is set in the portion specified by the <wsa: Type> tag. In the present embodiment, “error” indicating an error event is set. The expiration date of the event notification is set in the portion specified by the <we: Expires> tag. That is, an expiration date to be notified to the host computer when an error occurs in the device is set. In the present embodiment, “2005/12/15” is set. The event type and expiration date information may be input by the user through the operation unit of the host computer. As for information on the expiration date, an operating system operating on the host computer may automatically set a predetermined expiration date.

図5は“Subscribe Response”パケットを示す図である。“Subscribe Response”パケットは、ホストコンピュータから送られたイベント登録要求に対する応答であり、デバイス装置からホストコンピュータに送られる。“Subscribe Response”パケットは、本実施形態では、XML形式で記述される。<wse:Id>タグで指定されている部分には、イベントのIDがセットされる。本実施形態では、“5”がセットされている。<wse:Expires>タグで指定されている部分には、有効期限がセットされる。本実施形態では、“2005/12/15”がセットされている。   FIG. 5 is a diagram showing a “Subscribe Response” packet. The “Subscribe Response” packet is a response to the event registration request sent from the host computer, and is sent from the device apparatus to the host computer. In this embodiment, the “Subscribe Response” packet is described in the XML format. An event ID is set in a portion specified by the <wse: Id> tag. In this embodiment, “5” is set. An expiration date is set in the portion specified by the <wse: Expires> tag. In the present embodiment, “2005/12/15” is set.

図6は“Notification”パケットを示す図である。“Notification”パケットは、デバイス装置からホストコンピュータに送られるイベント通知であり、本実施形態では、XML形式で記述される。<wse:Id>タグで指定されている部分には、イベントのIDがセットされる。本実施形態では、“5”がセットされている。<wse:Type>タグで指定されている部分には、イベントタイプがセットされる。本実施形態では、エラーイベントを示す“error”がセットされている。<wse:Expires>タグで指定されている部分には、有効期限がセットされる。本実施形態では、“2005/12/15”がセットされている。   FIG. 6 is a diagram showing a “Notification” packet. The “Notification” packet is an event notification sent from the device apparatus to the host computer, and is described in the XML format in this embodiment. An event ID is set in a portion specified by the <wse: Id> tag. In this embodiment, “5” is set. The event type is set in the portion specified by the <wse: Type> tag. In the present embodiment, “error” indicating an error event is set. An expiration date is set in the portion specified by the <wse: Expires> tag. In the present embodiment, “2005/12/15” is set.

図7は“Notification Response”パケットを示す図である。“Notification Response”パケットは、デバイス装置から送られたイベント通知に対する応答であり、ホストコンピュータからデバイス装置に送られる。<wse:Status>タグで指定されている部分には、イベントの受信ステータスがセットされる。本実施形態では、“OK”がセットされている。   FIG. 7 is a diagram showing a “Notification Response” packet. The “Notification Response” packet is a response to the event notification sent from the device apparatus, and is sent from the host computer to the device apparatus. An event reception status is set in a portion specified by a <wse: Status> tag. In the present embodiment, “OK” is set.

図8はデバイス装置である印刷装置10におけるイベント登録処理手順を示すフローチャートである。この処理プログラムはROM102に格納されており、CPU101によって実行される。印刷装置10がホストコンピュータ21からイベント登録通知を受信すると、このイベント登録処理を開始する。   FIG. 8 is a flowchart showing an event registration processing procedure in the printing apparatus 10 as a device apparatus. This processing program is stored in the ROM 102 and executed by the CPU 101. When the printing apparatus 10 receives an event registration notification from the host computer 21, this event registration process is started.

まず、RAM103に格納されているイベント登録テーブル121を検索し、受信したイベント登録通知の送信元であるホストコンピュータ21が既に登録されているか否かを判別する(ステップS1)。イベント登録通知の送信元であるホストコンピュータ21が未登録である場合、新しいイベントIDを発行し、イベントをイベント登録テーブル121に登録する(ステップS5)。この後、本処理を終了する。   First, the event registration table 121 stored in the RAM 103 is searched to determine whether or not the host computer 21 that is the transmission source of the received event registration notification has already been registered (step S1). If the host computer 21 that is the transmission source of the event registration notification has not been registered, a new event ID is issued and the event is registered in the event registration table 121 (step S5). Thereafter, this process is terminated.

一方、ステップS1でホストコンピュータ21が既に登録されている場合、既に登録済みのイベントに新しいイベントタイプを追加する(ステップS2)。つまり、登録済みのイベントタイプと新しいイベントタイプを合わせて1つのイベントに統合する。さらに、ホストコンピュータから通知された有効期限が元の有効期限より長いか否かを判別する(ステップS3)。具体的には、ホストコンピュータから送信された“Subscribe”パケットで指定された有効期限が、イベント登録テーブル121に記憶されている同一通知先のイベントに対応する有効期限とを比較することによって、判別する。通知された有効期限が元の有効期限より長い場合、イベント登録テーブル121に存在する既に登録済みのイベントの有効期限を新しい有効期限に置き換える(ステップS4)。この後、本処理を終了する。一方、通知された有効期限が元の有効期限と同じかもしくは短い場合、有効期限を更新することなく、本処理を終了する。このように、イベント登録を統合するにあたって、イベント登録の有効期限を、より長い有効期限に合わせることで、イベント登録の有効期限をより長く維持できる。   On the other hand, if the host computer 21 has already been registered in step S1, a new event type is added to the already registered event (step S2). In other words, the registered event type and the new event type are combined into one event. Further, it is determined whether or not the expiration date notified from the host computer is longer than the original expiration date (step S3). Specifically, the expiration date specified by the “Subscribe” packet transmitted from the host computer is determined by comparing the expiration date corresponding to the event of the same notification destination stored in the event registration table 121. To do. When the notified expiration date is longer than the original expiration date, the expiration date of the already registered event existing in the event registration table 121 is replaced with a new expiration date (step S4). Thereafter, this process is terminated. On the other hand, when the notified expiration date is the same as or shorter than the original expiration date, this process is terminated without updating the expiration date. In this way, when integrating event registration, the event registration expiration date can be maintained longer by matching the event registration expiration date to a longer expiration date.

図9はイベント登録テーブル121を示す図である。このイベント登録テーブル121には、イベントID、URL、有効期限、イベントタイプの入力項目(エントリ)が設けられている。イベント登録テーブル121には、各イベントID毎に、イベント発生時の通知先を示すURLとイベント通知の有効期限と、イベント通知するイベントのタイプがそれぞれ対応付けて記憶されている。また、同一のURLに対するイベントは、同一のエントリとして登録されている。本実施形態では、イベントID5のエントリには、エラーイベントを示す“error”、およびジョブ終了通知を示す“job−end”イベントタイプが登録されている。   FIG. 9 is a diagram showing the event registration table 121. This event registration table 121 is provided with input items (entries) of event ID, URL, expiration date, and event type. In the event registration table 121, for each event ID, a URL indicating a notification destination when an event occurs, an expiration date of the event notification, and an event type for event notification are stored in association with each other. Also, events for the same URL are registered as the same entry. In the present embodiment, an “error” indicating an error event and a “job-end” event type indicating a job end notification are registered in the event ID 5 entry.

図10はイベント削除処理手順を示すフローチャートである。この処理プログラムは、印刷装置10内のROM102に格納されており、CPU101によって所定の周期毎に実行される。まず、イベント登録テーブル121を参照し(ステップS11)、有効期限の切れているイベントが登録されているか否かを判別する(ステップS12)。有効期限の切れているイベントが登録されている場合、このイベントが登録されているエントリをイベント登録テーブル121から削除する(ステップS13)。この後、本処理を終了する。一方、ステップS12で有効期限の切れているイベントが登録されていない場合、そのまま本処理を終了する。   FIG. 10 is a flowchart showing an event deletion processing procedure. This processing program is stored in the ROM 102 in the printing apparatus 10 and is executed by the CPU 101 at predetermined intervals. First, the event registration table 121 is referred to (step S11), and it is determined whether or not an expired event is registered (step S12). When an event whose expiration date has expired is registered, the entry in which this event is registered is deleted from the event registration table 121 (step S13). Thereafter, this process is terminated. On the other hand, if an event whose expiration date has expired is not registered in step S12, the present process ends.

このように、本実施形態のデバイス装置によれば、同一のホストコンピュータから要求される複数のイベントを登録する際、1つのイベントに統合することで、印刷装置10の内部メモリであるRAM103を効率良く使用することができる。   As described above, according to the device apparatus of the present embodiment, when registering a plurality of events requested from the same host computer, the RAM 103 that is the internal memory of the printing apparatus 10 is efficiently integrated by integrating the events into one event. Can be used well.

なお、本発明は、上記実施形態の構成に限られるものではなく、特許請求の範囲で示した機能、または本実施形態の構成が持つ機能が達成できる構成であればどのようなものであっても適用可能である。   The present invention is not limited to the configuration of the above-described embodiment, and any configuration can be used as long as the functions shown in the claims or the functions of the configuration of the present embodiment can be achieved. Is also applicable.

例えば、上記実施形態では、既に登録済みのイベントに新しいイベントタイプを追加する際、通知された有効期限が元の有効期限より長い場合に置き換えていたが、短い場合に置き換えるようにしてもよい。図11は他の実施形態におけるイベント登録処理手順を示すフローチャートである。図8と同一のステップ処理については同一の符号を付すことにより、その説明を省略する。   For example, in the above embodiment, when a new event type is added to an already registered event, it is replaced when the notified expiration date is longer than the original expiration date, but may be replaced when it is shorter. FIG. 11 is a flowchart showing an event registration processing procedure in another embodiment. The same step processes as those in FIG. 8 are denoted by the same reference numerals, and the description thereof is omitted.

ステップS2で既に登録済みのイベントに新しいイベントタイプを追加する際、通知された有効期限が元の有効期限より短いか否かを判別する(ステップS3A)。通知された有効期限が元の有効期限より短い場合、ステップS4でイベント登録テーブル121に存在する既に登録済みのイベントの有効期限を新しい有効期限に置き換える。このように、複数のイベントタイプの中から、最短の有効期限に合わせることで、登録されているイベントの有効期限を短くすることができる。これにより、RAM103の使用量を抑えることができる。   When adding a new event type to the event already registered in step S2, it is determined whether or not the notified expiration date is shorter than the original expiration date (step S3A). If the notified expiration date is shorter than the original expiration date, the expiration date of the already registered event existing in the event registration table 121 is replaced with a new expiration date in step S4. In this way, by matching the shortest validity period among a plurality of event types, the validity period of the registered event can be shortened. Thereby, the usage amount of the RAM 103 can be suppressed.

上記実施形態では、既に登録済みのイベントに新しいイベントタイプを追加する際、通知された有効期限が元の有効期限より長いか、短いかを判定し、何れかの有効期限に合わせていた。しかし、その判断を行わず、新しい有効期限が元の有効期限より長いか短いかに関わらず、イベント登録テーブル121に存在する既に登録済みのイベントの有効期限を新しい有効期限に置き換えるようにしてもよい。   In the above-described embodiment, when a new event type is added to an already registered event, it is determined whether the notified expiration date is longer or shorter than the original expiration date, and any expiration date is matched. However, without making this determination, the validity period of an already registered event existing in the event registration table 121 may be replaced with a new validity period regardless of whether the new validity period is longer or shorter than the original validity period. .

また、上記実施形態では、登録済みのイベントと新しいイベントを統合する際、印刷装置10はホストコンピュータ21の承認を得ていなかったが、承認を得るようにしてもよい。図12は他の実施形態におけるホストコンピュータ40および印刷装置10間のメッセージシーケンスを示す図である。ここで、ホストコンピュータ40は、自身のイベント登録用URLとして、“http://172.24.160.231:1024/event”を有する。   In the above embodiment, when the registered event and the new event are integrated, the printing apparatus 10 does not obtain approval from the host computer 21, but may obtain approval. FIG. 12 is a diagram illustrating a message sequence between the host computer 40 and the printing apparatus 10 according to another embodiment. Here, the host computer 40 has “http://172.24.160.231:1024/event” as its event registration URL.

まず、ホストコンピュータ40は、デバイス装置である印刷装置10に、“Subscribe”メッセージを送信し、エラーイベントの登録を要求する(T21)。印刷装置10は、これに応答し、ホストコンピュータ40に、“Subscribe Response”メッセージを送信し、イベントのID(ここでは、ID=5)、および有効期限(ここでは、2005/11/15)を通知する(T22)。   First, the host computer 40 transmits a “Subscribe” message to the printing apparatus 10 which is a device apparatus, and requests registration of an error event (T21). In response to this, the printing apparatus 10 transmits a “Subscribe Response” message to the host computer 40, and the event ID (here, ID = 5) and the expiration date (here, 2005/11/15). Notification is made (T22).

さらに、ホストコンピュータ40は、印刷装置10に、“Subscribe”メッセージを送信し、ジョブ終了イベントの登録を要求する(T23)。印刷装置10は、ホストコンピュータ40に“Subscribe Response”メッセージを送信し、イベントのID=5、有効期限(2005/11/30)を通知する(T24)。ここで通知されるイベントIDは、エラーイベント用に既に登録されているIDである。   Further, the host computer 40 transmits a “Subscribe” message to the printing apparatus 10 and requests registration of a job end event (T23). The printing apparatus 10 transmits a “Subscribe Response” message to the host computer 40 and notifies the event ID = 5 and the expiration date (2005/11/30) (T24). The event ID notified here is an ID already registered for the error event.

そして、印刷装置10は、イベントタイプをまとめて1つのイベントに統合(マージ)する。そして、“Notification”メッセージをホストコンピュータ40に通知し、イベントを統合したことの承認を請う(T25)。この“Notification”メッセージには、ID=5、イベント種類:エラー、ジョブ終了、有効期限(2005/11/30)が設定されている。   Then, the printing apparatus 10 collectively integrates (merges) the event types into one event. Then, a “Notification” message is notified to the host computer 40, and the approval of event integration is requested (T25). In this “Notification” message, ID = 5, event type: error, job end, expiration date (2005/11/30) are set.

ホストコンピュータ40は、“Notification”メッセージの応答として、“Notification Response”メッセージを送信する(T26)。この“Notification Response”メッセージには、ホストコンピュータ40が承認する場合、“OK”が含まれ、承認しない場合、“NG”が含まれる。具体的には、T25において、ホストコンピュータ40が“Notification”メッセージを受信すると、ホストコンピュータ40の表示画面上に、ユーザに判断を促す画面が表示される。例えば、「イベントを統合してもよいですか?」という旨を表示し、ホストコンピュータを操作するユーザにOK又はNGの判断を促す。ホストコンピュータ40は、ユーザがOKを選択した場合には、OKを含む“Notification Response”を送信し、ユーザがNGを選択した場合には、NGを含む“Notification Response”を送信する。ホストコンピュータ40からNGを含む“Notification Response”を受信した場合、印刷装置10は、別々のイベントとして登録し直す。   The host computer 40 transmits a “Notification Response” message as a response to the “Notification” message (T26). This “Notification Response” message includes “OK” when the host computer 40 approves, and “NG” when it does not approve. Specifically, when the host computer 40 receives a “Notification” message at T25, a screen prompting the user to make a determination is displayed on the display screen of the host computer 40. For example, a message “Do you want to integrate events?” Is displayed and the user operating the host computer is prompted to make an OK or NG decision. The host computer 40 transmits “Notification Response” including OK when the user selects OK, and transmits “Notification Response” including NG when the user selects NG. When “Notification Response” including NG is received from the host computer 40, the printing apparatus 10 re-registers it as a separate event.

これにより、ホストコンピュータ40を操作するユーザは、イベントの登録状態を把握することができ、イベントを統合するか否かを選択することができる。なお、ここでは、印刷装置10は、イベントを統合した後に、ホストコンピュータ40から承認を得ていたが、承認を得てからイベントを統合するようにしてもよい。   Thereby, the user who operates the host computer 40 can grasp the registration state of the event, and can select whether or not to integrate the event. Here, the printing apparatus 10 obtains approval from the host computer 40 after integrating the events. However, the event may be integrated after obtaining approval.

また、上記実施形態では、デバイス装置として、印刷装置が用いられたが、印刷装置に限らず、ファクシミリ装置、スキャナ装置、複合機、複写機などであってもよい。また、イベントが通知される情報処理装置としては、ホストコンピュータに限らず、デバイス装置と同様の構成を有したものでもよい。   In the above embodiment, a printing apparatus is used as the device apparatus. However, the printing apparatus is not limited to a printing apparatus, and may be a facsimile apparatus, a scanner apparatus, a multifunction machine, a copying machine, or the like. Further, the information processing apparatus to which the event is notified is not limited to the host computer, and may have the same configuration as the device apparatus.

また、本発明の目的は、以下によっても達成される。即ち、前述した各実施の形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システム或いは装置に供給する。そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して実行する。   The object of the present invention is also achieved by the following. That is, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus. The computer (or CPU, MPU, etc.) of the system or apparatus reads out and executes the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した各実施の形態の機能を実現することになる。また、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments. The program code and a storage medium storing the program code constitute the present invention.

また、プログラムコードを供給するための記憶媒体として、例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RWを用いることができる。また、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW等の光ディスク、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。または、ネットワークを介してプログラムコードをダウンロードしてもよい。   Further, for example, a floppy (registered trademark) disk, a hard disk, a magneto-optical disk, a CD-ROM, a CD-R, or a CD-RW can be used as a storage medium for supplying the program code. Further, an optical disc such as a DVD-ROM, a DVD-RAM, a DVD-RW, a DVD + RW, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used. Alternatively, the program code may be downloaded via a network.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した各実施の形態の機能が実現されるだけではなく、以下の場合も含まれる。即ち、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行う。このような処理によって前述した各実施の形態の機能が実現される場合も含まれる。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the following cases are included. That is, based on the instruction of the program code, an OS (operating system) running on the computer performs part or all of the actual processing. The case where the functions of the above-described embodiments are realized by such processing is also included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。この後、そのプログラムコードの指示に基づき、その拡張機能を拡張ボードや拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う。このような処理によって前述した各実施の形態の機能が実現される場合も含まれる。   Further, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on an instruction of the program code, a CPU or the like provided with the extension function in the extension board or the extension unit performs part or all of the actual processing. The case where the functions of the above-described embodiments are realized by such processing is also included.

実施の形態におけるネットワーク印刷システムの構成を示す図である。It is a figure which shows the structure of the network printing system in embodiment. 印刷装置10のハードウェア構成を示すブロック図である。2 is a block diagram illustrating a hardware configuration of the printing apparatus 10. FIG. ホストコンピュータ21および印刷装置10間のメッセージシーケンスを示す図である。2 is a diagram illustrating a message sequence between a host computer 21 and a printing apparatus 10. FIG. “Subscribe”パケットを示す図である。It is a figure which shows a "Subscribe" packet. “Subscribe Response”パケットを示す図である。It is a figure which shows a "Subscribe Response" packet. “Notification”パケットを示す図である。It is a figure which shows a "Notification" packet. “Notification Response”パケットを示す図である。It is a figure which shows a "Notification Response" packet. デバイス装置である印刷装置10におけるイベント登録処理手順を示すフローチャートである。6 is a flowchart illustrating an event registration processing procedure in the printing apparatus 10 which is a device apparatus. イベント登録テーブル121を示す図である。It is a figure which shows the event registration table. イベント削除処理手順を示すフローチャートである。It is a flowchart which shows an event deletion process procedure. 他の実施形態におけるイベント登録処理手順を示すフローチャートである。It is a flowchart which shows the event registration process sequence in other embodiment. 他の実施形態におけるホストコンピュータ40および印刷装置10間のメッセージシーケンスを示す図である。It is a figure which shows the message sequence between the host computer 40 and the printing apparatus 10 in other embodiment.

符号の説明Explanation of symbols

10 印刷装置
21、22、40 ホストコンピュータ
50 ネットワーク
101 CPU
102 ROM
103 RAM
121 イベント登録テーブル
10 Printing device 21, 22, 40 Host computer 50 Network 101 CPU
102 ROM
103 RAM
121 Event registration table

Claims (11)

情報処理装置に接続され、登録されているイベントが発生した場合、当該発生したイベントを前記情報処理装置に通知するデバイス装置であって、
前記情報処理装置からのイベント登録要求に従って、前記情報処理装置に通知されるイベントを登録するイベント登録手段と、
前記イベント登録要求の応答として、前記イベントに関する情報を通知する応答通知手段と、
前記通知されるイベントを登録する際、既に同一の情報処理装置に通知されるイベントが登録されている場合、当該登録されているイベントの種類および前記登録が要求されたイベントの種類を合わせた1つのイベントに統合し、前記登録されたイベントを前記統合されたイベントに更新する登録更新手段とを備えたことを特徴とするデバイス装置。
A device device that is connected to an information processing apparatus and notifies the information processing apparatus of the event that has occurred when a registered event occurs,
Event registration means for registering an event to be notified to the information processing device according to an event registration request from the information processing device;
As a response to the event registration request, response notification means for notifying information about the event;
When an event to be notified to the same information processing apparatus has already been registered when registering the notified event, the registered event type and the event type for which registration is requested are combined 1 A device apparatus comprising: a registration updating unit that integrates the event into one event and updates the registered event to the integrated event.
前記応答通知手段は、前記イベントに関する情報として、イベントの識別情報、イベントの種類および有効期限を通知し、
前記登録更新手段は、前記登録されたイベントを更新する際、前記有効期限を最も長いイベントの種類に応じて設定することを特徴とする請求項1記載のデバイス装置。
The response notifying means notifies the event identification information, the event type and the expiration date as information related to the event,
The device according to claim 1, wherein the registration updating unit sets the expiration date according to a type of the longest event when updating the registered event.
前記応答通知手段は、前記イベントに関する情報として、イベントの識別情報、イベントの種類および有効期限を通知し、
前記登録更新手段は、前記登録されたイベントを更新する際、前記有効期限を最も短いイベントの種類に応じて設定することを特徴とする請求項1記載のデバイス装置。
The response notifying means notifies the event identification information, the event type and the expiration date as information related to the event,
2. The device apparatus according to claim 1, wherein when the registered event is updated, the registration update unit sets the expiration date according to a type of the shortest event.
前記有効期限が切れた場合、前記登録されているイベントを削除する削除手段を備えたことを特徴とする請求項2または3記載のデバイス装置。   4. The device apparatus according to claim 2, further comprising a deletion unit that deletes the registered event when the expiration date has expired. 承認を得るべく、前記1つのイベントに統合したことを前記情報処理装置に通知する承認通知手段を備えたことを特徴とする請求項1記載のデバイス装置。   The device apparatus according to claim 1, further comprising an approval notification unit that notifies the information processing apparatus that the information has been integrated into the one event in order to obtain approval. デバイス装置であって、
前記デバイス装置で発生する第1のイベントを該イベントの通知先と該イベント通知の有効期限と対応付けて記憶する記憶手段と、
前記デバイス装置で発生する第2のイベントに関するイベント登録要求を受信する受信手段と、
前記受信手段で受信したイベント登録要求によって指定された通知先が、前記記憶手段に記憶されているか否かを判定する判定手段と、
前記判定手段によって記憶されていると判定された場合、前記記憶手段に記憶された前記第1のイベントに対応する有効期限を、前記受信手段によって受信したイベント登録要求によって指定された有効期限に更新する更新手段と、
を有することを特徴とするデバイス装置。
A device device,
Storage means for storing a first event generated in the device device in association with a notification destination of the event and an expiration date of the event notification;
Receiving means for receiving an event registration request relating to a second event occurring in the device device;
Determining means for determining whether the notification destination specified by the event registration request received by the receiving means is stored in the storage means;
When it is determined that the information is stored by the determination unit, the expiration date corresponding to the first event stored in the storage unit is updated to the expiration date specified by the event registration request received by the reception unit. Updating means to
A device apparatus comprising:
情報処理装置に接続されたデバイス装置で発生し、前記情報処理装置に通知されるイベントを前記デバイス装置に登録するイベント登録方法であって、
前記情報処理装置からのイベント登録要求に従って、前記情報処理装置に通知されるイベントを登録するイベント登録ステップと、
前記イベント登録要求の応答として、前記イベントに関する情報を通知する応答通知ステップと、
前記通知されるイベントを登録する際、既に同一の情報処理装置に通知されるイベントが登録されている場合、当該登録されているイベントの種類および前記登録が要求されたイベントの種類を合わせた1つのイベントに統合し、前記登録されたイベントを前記統合されたイベントに更新する登録更新ステップとを有することを特徴とするイベント登録方法。
An event registration method for registering an event that occurs in a device device connected to an information processing device and is notified to the information processing device in the device device,
In accordance with an event registration request from the information processing device, an event registration step of registering an event to be notified to the information processing device;
As a response to the event registration request, a response notification step for notifying information about the event;
When an event to be notified to the same information processing apparatus has already been registered when registering the notified event, the registered event type and the event type for which registration is requested are combined 1 And a registration update step of updating the registered event to the integrated event.
情報処理装置に接続されたデバイス装置で発生し、前記情報処理装置に通知されるイベントを前記デバイス装置に登録するイベント登録方法であって、
前記デバイス装置で発生する第1のイベントを該イベントの通知先と該イベント通知の有効期限と対応付けて記憶媒体に記憶する記憶ステップと、
前記デバイス装置で発生する第2のイベントに関するイベント登録要求を受信する受信ステップと、
前記受信ステップで受信したイベント登録要求によって指定された通知先が、前記記憶媒体に記憶されているか否かを判定する判定ステップと、
前記判定ステップによって記憶されていると判定された場合、前記記憶媒体に記憶された前記第1のイベントに対応する有効期限を、前記受信ステップで受信したイベント登録要求によって指定された有効期限に更新する更新ステップと、
を有することを特徴とするイベント登録方法。
An event registration method for registering an event that occurs in a device device connected to an information processing device and is notified to the information processing device in the device device,
Storing a first event generated in the device device in a storage medium in association with a notification destination of the event and an expiration date of the event notification;
A receiving step of receiving an event registration request relating to a second event occurring in the device device;
A determination step of determining whether the notification destination specified by the event registration request received in the reception step is stored in the storage medium;
When it is determined that it is stored in the determination step, the expiration date corresponding to the first event stored in the storage medium is updated to the expiration date specified by the event registration request received in the reception step. An update step to
An event registration method characterized by comprising:
情報処理装置およびデバイス装置がネットワークに接続され、前記デバイス装置で登録されているイベントが発生した場合、当該発生したイベントを前記情報処理装置に通知するイベント通知システムであって、
前記情報処理装置からのイベント登録要求に従って、前記情報処理装置に通知されるイベントを前記デバイス装置に登録するイベント登録手段と、
前記イベント登録要求の応答として、前記イベントに関する情報を前記情報処理装置に通知する応答通知手段と、
前記通知されるイベントを登録する際、既に同一の情報処理装置に通知されるイベントが登録されている場合、当該登録されているイベントの種類および前記登録が要求されたイベントの種類を合わせた1つのイベントに統合し、前記デバイス装置に登録されたイベントを前記統合されたイベントに更新する登録更新手段とを備えたことを特徴とするイベント通知システム。
When an information processing apparatus and a device apparatus are connected to a network and an event registered in the device apparatus occurs, the event notification system notifies the information processing apparatus of the event that has occurred,
Event registration means for registering an event notified to the information processing apparatus in the device apparatus in accordance with an event registration request from the information processing apparatus;
As a response to the event registration request, response notification means for notifying the information processing apparatus of information related to the event;
When an event to be notified to the same information processing apparatus has already been registered when registering the notified event, the registered event type and the event type for which registration is requested are combined 1 An event notification system, comprising: a registration updating unit that integrates an event registered into the device device and updates the event registered in the device device into the integrated event.
情報処理装置およびデバイス装置がネットワークに接続され、前記デバイス装置で登録されているイベントが発生した場合、当該発生したイベントを前記情報処理装置に通知するイベント通知システムであって、
前記デバイス装置で発生する第1のイベントを該イベントの通知先と該イベント通知の有効期限と対応付けて記憶する記憶手段と、
前記デバイス装置で発生する第2のイベントに関するイベント登録要求を受信する受信手段と、
前記受信手段で受信したイベント登録要求によって指定された通知先が、前記記憶手段に記憶されているか否かを判定する判定手段と、
前記判定手段によって記憶されていると判定された場合、前記記憶手段に記憶された前記第1のイベントに対応する有効期限を、前記受信手段によって受信したイベント登録要求によって指定された有効期限に更新する更新手段と、
を有することを特徴とするイベント通知システム。
When an information processing apparatus and a device apparatus are connected to a network and an event registered in the device apparatus occurs, the event notification system notifies the information processing apparatus of the event that has occurred,
Storage means for storing a first event generated in the device device in association with a notification destination of the event and an expiration date of the event notification;
Receiving means for receiving an event registration request relating to a second event occurring in the device device;
Determining means for determining whether the notification destination specified by the event registration request received by the receiving means is stored in the storage means;
When it is determined that the information is stored by the determination unit, the expiration date corresponding to the first event stored in the storage unit is updated to the expiration date specified by the event registration request received by the reception unit. Updating means to
An event notification system comprising:
請求項1乃至6のいずれかに記載のデバイス装置を実現するためのコンピュータ読み取り可能なプログラムコードを有するプログラム。   The program which has a computer-readable program code for implement | achieving the device apparatus in any one of Claims 1 thru | or 6.
JP2006146609A 2006-05-26 2006-05-26 Device, event registration method and event notification system Pending JP2007316985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006146609A JP2007316985A (en) 2006-05-26 2006-05-26 Device, event registration method and event notification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006146609A JP2007316985A (en) 2006-05-26 2006-05-26 Device, event registration method and event notification system

Publications (1)

Publication Number Publication Date
JP2007316985A true JP2007316985A (en) 2007-12-06

Family

ID=38850780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006146609A Pending JP2007316985A (en) 2006-05-26 2006-05-26 Device, event registration method and event notification system

Country Status (1)

Country Link
JP (1) JP2007316985A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009230477A (en) * 2008-03-24 2009-10-08 Ricoh Co Ltd Device, method and program for notifying event
JP2013134528A (en) * 2011-12-26 2013-07-08 Canon Inc Distribution device, control method, and computer program
JP2013200626A (en) * 2012-03-23 2013-10-03 Fuji Xerox Co Ltd Control device, image output apparatus, image output system, and program
KR101360190B1 (en) * 2012-03-23 2014-02-11 김호연지기 Apparatus for management event in Social Networking Service and method for the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009230477A (en) * 2008-03-24 2009-10-08 Ricoh Co Ltd Device, method and program for notifying event
JP2013134528A (en) * 2011-12-26 2013-07-08 Canon Inc Distribution device, control method, and computer program
JP2013200626A (en) * 2012-03-23 2013-10-03 Fuji Xerox Co Ltd Control device, image output apparatus, image output system, and program
KR101360190B1 (en) * 2012-03-23 2014-02-11 김호연지기 Apparatus for management event in Social Networking Service and method for the same

Similar Documents

Publication Publication Date Title
JP5522080B2 (en) Printing system and image forming apparatus
US7392299B2 (en) Configuration setting system for network system
JP5786613B2 (en) Management device
JP5019867B2 (en) Server device, network device, data providing location providing method, data providing location providing program, and recording medium
JP2007274588A (en) Electronic apparatus and control method in the apparatus
KR101337151B1 (en) Information processing apparatus that identifies transmission source, and control method therefor
JP2009296128A (en) Information processor, control method for information processor, and computer program
JP2007316985A (en) Device, event registration method and event notification system
JPH11212793A (en) Picture processor
US9575695B2 (en) Image recording apparatus having an improve usability of the apparatus in the event of an occurrence of an error
US7634552B2 (en) Communication system, information-processing device, and program
JP5786612B2 (en) Management device
JP2009271827A (en) Management device, management method, and program
US11108668B2 (en) Server, non-transitory computer-readable medium storing computer-readable instructions for server and non-transitory computer-readable medium storing computer-readable instructions for terminal device
JPH11161443A (en) Network printer system
JP4652092B2 (en) Frame relay device
JP4552575B2 (en) Image forming apparatus
JP2008152428A (en) Management device, management method, storage medium and program
US20210142131A1 (en) Server, non-transitory computer-readable recording medium storing computer-readable instructions for server, and method executed by server
JP2014182412A (en) Information processor, information processing method and program
US11880616B2 (en) Information processing system, control method therefor, and computer-readable storage medium
JP4394054B2 (en) Image forming apparatus and control program
JP2008198172A (en) Image formation system
JP2006209704A (en) Information processing system
JP2021164154A (en) Image processing device and computer programs for the same