JP5815822B2 - Push notification system - Google Patents
Push notification system Download PDFInfo
- Publication number
- JP5815822B2 JP5815822B2 JP2014178732A JP2014178732A JP5815822B2 JP 5815822 B2 JP5815822 B2 JP 5815822B2 JP 2014178732 A JP2014178732 A JP 2014178732A JP 2014178732 A JP2014178732 A JP 2014178732A JP 5815822 B2 JP5815822 B2 JP 5815822B2
- Authority
- JP
- Japan
- Prior art keywords
- status
- event message
- code
- push notification
- provider
- 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.)
- Active
Links
Images
Description
本発明は、画像形成装置から直接又はプリントサーバーを介し受信したイベントメッセージをプロバイダーが変換してプッシュ通知サーバーへ送信し、該プッシュ通知サーバーがさらにモバイル端末へイベントメッセージをプッシュ通知するプッシュ通知システムに関する。 The present invention relates to a push notification system in which an event message received directly from an image forming apparatus or via a print server is converted by a provider and transmitted to a push notification server, and the push notification server further pushes an event message to a mobile terminal. .
画像形成装置などのネットワークデバイスで発生したイベントを、ネットワークを介しホストに通知する仕様がWS−Eventingとして定められており、これによれば、登録要求したホストに対してのみ、要求に係る種類(Filter要素)のイベントを通知すればよく、また、特別な管理装置を介する必要がない。 A specification for notifying a host of an event that has occurred in a network device such as an image forming apparatus via the network is defined as WS-Eventing. According to this specification, only the type of request ( Filter element) event may be notified, and there is no need to go through a special management device.
一方、iPhone(登録商標)には上記仕様を適用することができず、プロバイダーからAPNS(Apple Push Notification Service)を介してiPhoneにメッセージをプッシュ通知する仕組みとなっている。 On the other hand, the above specifications cannot be applied to iPhone (registered trademark), and a message is pushed from the provider to iPhone via APNS (Apple Push Notification Service).
上記仕組みを利用して、iPhoneに対しても画像形成装置で発生したイベントをプッシュ通知するため、画像形成装置に上記プロバイダーを組み込もうとすると、両仕様が大きく異なるので、画像形成装置のソフトウェア構成が複雑になるとともに、既存の画像形成装置を用いることができない。 Since the above-mentioned mechanism is used to push notifications of events that have occurred in the image forming apparatus to the iPhone, when the provider is incorporated into the image forming apparatus, both specifications differ greatly. The configuration becomes complicated and an existing image forming apparatus cannot be used.
そこで、該プロバイダーを画像形成装置の外部に配置し、該プロバイダーで両仕様の一方から他方へ変換しようとすると、iPhoneに対しては画像形成装置から全て該プロバイダーへ通知メッセージを送信することになるので、デバイス毎に通知先が異なるWS−Eventingの仕様と相性が悪く、画像形成装置側のソフトウェア構成もこれに合わせて変更しなければならない。このため、画像形成装置のソフトウェア構成が複雑になる。また、1つのイベント発生に対し、購読登録された各iPhoneに対応するイベントメッセージをプロバイダーに送ると、通信トラフィックが増大する。 Therefore, when the provider is arranged outside the image forming apparatus and the provider tries to convert from one of the two specifications to the other, the notification message is transmitted from the image forming apparatus to the provider for iPhone. Therefore, it is incompatible with the WS-Eventing specification in which the notification destination is different for each device, and the software configuration on the image forming apparatus side must be changed accordingly. This complicates the software configuration of the image forming apparatus. Further, if an event message corresponding to each iPhone registered for subscription is sent to a provider for one event occurrence, communication traffic increases.
本発明の目的は、このような問題点に鑑み、WS−Eventingとプッシュ通知仕様が異なるモバイル端末に対しても、通信トラフィックの増大を抑制しつつ、画像形成装置側の既存ソフトウェアの変更をできるだけ少なくしてプッシュ通知できるようにすることが可能なプッシュ通知システムを提供することにある。 In view of such a problem, the object of the present invention is to make it possible to change the existing software on the image forming apparatus side as much as possible while suppressing an increase in communication traffic even for mobile terminals having different WS-Eventing and push notification specifications. It is an object of the present invention to provide a push notification system capable of performing push notification with a reduced number.
本発明は、ネットワークに結合された画像形成装置と、アクセスポイントを介して前記ネットワークに結合され、前記画像形成装置に印刷ジョブを送信して印刷を行わせるモバイル端末と、前記ネットワークに結合されたプロバイダーと、前記ネットワークに結合されたプッシュ通知サーバーとを備えたプッシュ通知システムであって、前記画像形成装置は、状態種別コードが含まれた状態コードと該状態コードに対応した関連情報とを含み、前記状態種別コードが印刷ジョブ状態を示す場合には前記印刷ジョブに含まれる前記モバイル端末のデバイストークンを更に含む第1イベントメッセージを生成し、生成した前記第1イベントメッセージを前記プロバイダーに送信し、前記プロバイダーは、前記モバイル端末から送信された購読登録要求に応答して、前記購読登録要求に含まれる状態種別コードとデバイストークンを含むレコードを購読テーブルに登録し、前記画像形成装置から送信された前記第1イベントメッセージに前記デバイストークンが含まれていなければ、前記購読テーブルに登録されている、前記第1イベントメッセージの前記状態コードの前記状態種別コードと一致する前記レコードの前記デバイストークンと、前記第1イベントメッセージの前記状態コードと、前記第1イベントメッセージの前記関連情報とを含む第2イベントメッセージを生成し、前記画像形成装置から送信された前記第1イベントメッセージに前記デバイストークンが含まれていれば、前記購読テーブルに登録されている、前記第1イベントメッセージの前記状態コードの前記状態種別コードと前記第1イベントメッセージの前記デバイストークンと一致する前記レコードの前記デバイストークンと、前記第1イベントメッセージの前記状態コードと、前記第1イベントメッセージの前記関連情報とを含む第2イベントメッセージを生成し、生成した前記第2イベントメッセージを前記プッシュ通知サーバーに送信し、前記プッシュ通知サーバーは、前記プロバイダーから送信された前記第2イベントメッセージに含まれる前記デバイストークンに対応した前記モバイル端末に前記第2イベントメッセージを送信することを特徴とする。
また、前記プロバイダーは、オペレーティングシステムの起動時又は指示入力に応答して、全状態を示す前記状態種別コードと前記プロバイダーのIPアドレスとを含む購読登録要求を前記画像形成装置に送信してもよい。
また、前記プロバイダーは、前記第1イベントメッセージの前記状態コードの前記状態種別コードが前記印刷ジョブ状態を示さない場合、記憶領域における前記第1イベントメッセージの前記状態コードに対応したアドレスに前記第1イベントメッセージの前記関連情報を書き込み、前記第1イベントメッセージの前記状態コードの前記状態種別コードが前記印刷ジョブ状態を示す場合、前記記憶領域における前記第1イベントメッセージに含まれるジョブIDに対応する状態コードを前記第1イベントメッセージの前記状態コードで更新してもよい。
また、前記状態種別コードが前記印刷ジョブ状態を示さない場合、前記状態種別コードは、トナー残量、及び/又は給紙トレイ用紙残量を示してもよい。
また、前記状態種別コードが前記印刷ジョブ状態を示す場合、前記状態コードは、印刷待ち、印刷中、印刷停止、印刷頁数、及び/又は印刷完了を示してもよい。
また、前記状態種別コードが前記印刷ジョブ状態を示さない場合、前記状態コードは、各トナーのトナー残量、及び/又は各給紙トレイの用紙残量を示してもよい。
The present invention relates to an image forming apparatus coupled to a network, a mobile terminal coupled to the network via an access point, and transmitting the print job to the image forming apparatus to perform printing, and the network coupled to the network A push notification system comprising a provider and a push notification server coupled to the network, wherein the image forming apparatus includes a status code including a status type code and related information corresponding to the status code. When the status type code indicates a print job status, a first event message further including a device token of the mobile terminal included in the print job is generated, and the generated first event message is transmitted to the provider. The provider sends a subscription registration sent from the mobile device. In response to the request, a record including a status type code and a device token included in the subscription registration request is registered in a subscription table, and the device token is included in the first event message transmitted from the image forming apparatus. If not, the device token of the record that matches the status type code of the status code of the first event message registered in the subscription table, the status code of the first event message, and the first A second event message including the related information of one event message is generated, and if the device token is included in the first event message transmitted from the image forming apparatus, the second event message is registered in the subscription table. , The state type of the state code of the first event message A second event message including a code and the device token of the record that matches the device token of the first event message, the status code of the first event message, and the related information of the first event message; Generating and transmitting the generated second event message to the push notification server, and the push notification server sends the mobile terminal corresponding to the device token included in the second event message transmitted from the provider to the mobile terminal. A second event message is transmitted.
The provider may transmit a subscription registration request including the status type code indicating all states and the provider's IP address to the image forming apparatus when the operating system is started or in response to an instruction input. .
In addition, when the status type code of the status code of the first event message does not indicate the print job status, the provider sets the first event message to an address corresponding to the status code of the first event message in a storage area. When the related information of the event message is written, and the status type code of the status code of the first event message indicates the print job status, the status corresponding to the job ID included in the first event message in the storage area The code may be updated with the status code of the first event message.
Further, when the status type code does not indicate the print job status, the status type code may indicate the remaining amount of toner and / or the remaining amount of paper in the paper feed tray.
When the status type code indicates the print job status, the status code may indicate printing waiting, printing in progress, printing stop, number of printed pages, and / or printing completion.
Further, when the status type code does not indicate the print job status, the status code may indicate the remaining amount of toner for each toner and / or the remaining amount of paper in each paper feed tray.
本発明によれば、WS−Eventingとプッシュ通知仕様が異なるモバイル端末に対しても、通信トラフィックの増大を抑制しつつ、画像形成装置側の既存ソフトウェアの変更をできるだけ少なくしてプッシュ通知できるようにすることが可能なプッシュ通知システムを提供できる。 According to the present invention, it is possible to perform push notification even for mobile terminals having different push notification specifications from WS-Eventing while suppressing an increase in communication traffic and minimizing changes in existing software on the image forming apparatus side. It is possible to provide a push notification system that can do this.
本発明の他の目的、特徴的な構成及び効果は、以下の説明を特許請求の範囲及び図面の記載と関係づけて読むことにより明らかになる。 Other objects, characteristic configurations and effects of the present invention will become apparent from the following description read in connection with the appended claims and the drawings.
図1は、本発明の実施例1に係るプッシュ通知システムを示す概略ブロック図である。
FIG. 1 is a schematic block diagram illustrating a push notification system according to
このシステムでは、N台のPC(パーソナルコンピュータ)10−1〜10−Nと、これらで使用される画像形成装置20とが、LAN(ローカルエリアネットワーク)30で結合されている。WS−Eventingに従って購読登録しておき、PC10−1〜10−Nの任意の装置から印刷対象のファイルと画像形成装置20とを指定して、このファイルの内容を画像形成装置20で印刷させ、画像形成装置20に関する状態(印刷ジョブ状態を含む)に変化があればこれを、WS−Eventingに従って購読登録した装置のステータスモニタにイベントメッセージをプッシュ通知する。これにより、そのモニタウインドで状態を確認することができる。
In this system, N PCs (personal computers) 10-1 to 10 -N and the
LAN30にはまた、アクセスポイント31を介してモバイル端末32が結合され、モバイル端末32からも上記同様に画像形成装置20で印刷を行わせることができる。画像形成装置20に関する状態の変化をモバイル端末32にプッシュ通知可能にするため、LAN30にプロバイダー40が結合され、画像形成装置20からインターネット41を介してプッシュ通知サーバー42にプッシュ通知を要求することにより、プッシュ通知サーバー42がモバイル端末32にプッシュ通知するように構成している。
A
以下においては、モバイル端末32がiPhoneで、プッシュ通知サーバー42がAPNSである場合を説明するが、本案は他の同様のシステムに適用してもよい。
In the following, a case where the
図2は、図1のプロバイダー40と画像形成装置20とのハードウェア構成を示す概略ブロック図である。
FIG. 2 is a schematic block diagram showing a hardware configuration of the
画像形成装置20では、CPU201がインターフェイス202を介してPROM203、DRAM204、ネットワークインターフェイス205、補助記憶装置206、操作パネル207、スキャナ208、プリンタ209及びファックスモデム210に結合されている。図2では、簡単化の為に、複数種のインターフェイスを1つのブロック202で表している。
In the
PROM203には、BIOS(基本入出力システム)、OS(オペレーティングシステム)、各種ドライバ、及び、画像形成装置として機能させるための各種アプリケーションが格納されている。該アプリケーションには、図3に示す画像形成装置20内のプッシュ通知に関する構成が含まれる。DRAM204は、主記憶装置として用いられる。補助記憶装置206には、印刷用データ、スキャナ208で読み取った画像データ、後述の補助ファイル、及びファクシミリ受信データが保存される。ネットワークインターフェイス205は、LAN30に結合されている。操作パネル207は、入力部及び表示部を供えている。スキャナ208は、画像ファイル生成のために用いられ、このファイルは印刷、ファクシミリ送信又はファイル送信のために用いられる。プリンタ209は、プリントエンジン並びに用紙の給紙部、搬送部及び排紙部を備えている。
The PROM 203 stores a BIOS (basic input / output system), an OS (operating system), various drivers, and various applications for functioning as an image forming apparatus. The application includes a configuration related to push notification in the
プロバイダー40では、CPU401がインターフェイス402を介してPROM403、DRAM404、ネットワークインターフェイス405及び補助記憶装置406に結合されている。図2では、簡単化の為に、複数種のインターフェイスを1つのブロック402で表している。
In the
PROM403は、例えばフラッシュメモリであり、これにBIOSが格納されている。DRAM404は、主記憶装置として用いられる。ネットワークインターフェイス405は、LAN30に結合されている。補助記憶装置406には、OS、各種ドライバ及びアプリケーション並びにデータが格納されている。該アプリケーションには、図3に示すプロバイダー40内のプッシュ通知に関するものが含まれる。
The
図3は、図2のシステムの概略機能ブロック図である。 FIG. 3 is a schematic functional block diagram of the system of FIG.
プロバイダー40において、購読部50は、OSの起動時、すなわち、OSが起動して購読部50が動作可能になった時、又は、指示入力、例えば管理者の操作により、起動され、予め定められた購読登録要求情報を、SOAP処理部51を介しXMLシリアライズしてSOAPリクエストメッセージとし、通信部52内のHTTP/TCP/IPプロトコルスタック及びLAN30を介し画像形成装置20に送信する。このメッセージは、画像形成装置20の通信部60内のHTTP/TCP/IPプロトコルスタックを介しSOAP処理部61に供給されてXMLデシリアライズされ、購読登録要求オブジェクトとしてイベントソース62の購読マネージャ購読マネージャ620に供給される。購読マネージャ購読マネージャ620は、このオブジェクトに基づき、PC10−1〜10−Nからの購読登録要求と同様にして、購読テーブル621に購読登録する。
In the
上記SOAPリクエストメッセージには、ReplyToアドレス(購読部50のアドレス)と、NotifyToアドレス(イベントシンク53のアドレス)と、要求先のIPアドレスを含むToアドレス(購読マネージャ購読マネージャ620のアドレス)と、Filter要素としての状態種別コード(状態種別ID)とが含まれている。この状態種別コード(上記購読登録要求情報に含まれる状態種別コード)は、全状態を示すコードである。 The SOAP request message includes a ReplyTo address (address of the subscription unit 50), a NotifyTo address (address of the event sink 53), a To address (address of the subscription manager subscription manager 620) including the requested IP address, Filter A state type code (state type ID) as an element is included. This state type code (a state type code included in the subscription registration request information) is a code indicating all states.
状態の変化でイベントが発生するので、状態種別は、イベント種別でもある。 Since an event occurs due to a change in state, the state type is also an event type.
図4(A)は、購読テーブル621の構成例を示す。購読マネージャ620は、ユニークな購読IDを生成し、これと、上記購読登録要求オブジェクトに含まれている状態種別コード及びNotifyToのIPアドレスと、現時刻に所定値を加算した期限(通知が有効な期限)とを含むレコードを購読テーブル621に追加することにより、購読登録する。
FIG. 4A shows a configuration example of the subscription table 621. The
図4(B)及び(C)はそれぞれ、状態種別テーブル及び状態テーブルを示す。この例では、状態コードは4桁であり、その上位2桁が状態種別コードとなっている。例えば、図4(C)の状態コード0100〜0104は状態種別が図4(B)のジョブ状態であり、同様に、状態コード0200〜0203は状態種別がトナー残量であることを示している。上記全状態は*で表される。
4B and 4C show a state type table and a state table, respectively. In this example, the status code is four digits, and the upper two digits are the status type code. For example, the
画像形成装置本体部63でイベントが発生すると、その引数(EventArgs)を伴って通知マネージャ622が呼び出される。通知マネージャ622はこれに応答して、購読テーブル621を検索し、後述の通知処理を行う。
When an event occurs in the image forming apparatus
図5は、画像形成装置本体部63での印刷ジョブの処理と通知マネージャ622との関係を示す機能ブロック図である。
FIG. 5 is a functional block diagram showing the relationship between the print job processing in the image forming apparatus
通信部60から受け取った印刷ジョブデータは、図2のDRAM404に一時保存される。このデータには、ジョブデータ本体部に、ジョブID及び通知先IDが含まれている。
The print job data received from the
通知先IDは、通知先がPC10−1〜10−Nのいずれか場合、そのIPアドレスであって、そのプリンタドライバで付加されたものであり、通知先がモバイル端末32の場合、プッシュ通知サーバー42のIPアドレスとモバイル端末32のデバイストークンとの組であって、モバイル端末32内の印刷アプリケーションにより印刷対象のファイルに付加されたものである。
The notification destination ID is the IP address when the notification destination is any of the PCs 10-1 to 10-N and is added by the printer driver. When the notification destination is the
印刷処理部71は、印刷ジョブ状態の変化時である処理開始時、印刷停止時、印刷一時停止時、印刷再開時、印刷した用紙の排出時(印刷頁変化時)及び印刷終了時のそれぞれ時点において、イベントジェネレータ72を呼び出す。イベントジェネレータ72は、このようなジョブ状態の変化の場合、図5(C)に示す状態コード0100〜0104のうち対応したものと、上記通知先IDと、ジョブIDと、必要な関連情報(印刷頁変化時はその頁の値/全頁)とを含む引数(EventArgs)73を伴って、イベントハンドラとしての通知マネージャ622を呼び出す。
The
イベントジェネレータ72は、他の状態(ジョブ状態以外)の変化の場合、その変化を示す状態コードと、関連情報(例えば、トナー残量%又は給紙カセット内用紙残量%など)とを含むイベント引数73を伴って、通知マネージャ622を呼び出す。
In the case of a change in another state (other than the job state), the event generator 72 includes an event code that indicates the change and related information (for example, the remaining amount of toner% or the remaining amount of paper in the paper cassette). The
通知マネージャ622は、これらのそれぞれの呼び出しに応答して、図6に示す処理を開始する。以下、括弧内は図中のステップ識別符号である。
The
(ST0)引数73の状態コードがジョブ状態以外を示していれば(ジョブ状態に属さなければ)、すなわち上位2桁の状態種別コードが"01"以外であれば、ステップST1へ進み、ジョブ状態であることを示していれば、ステップST2へ進む。 (ST0) If the status code of the argument 73 indicates other than the job status (if it does not belong to the job status), that is, if the upper two-digit status type code is other than “01”, the process proceeds to step ST1, and the job status If this is the case, the process proceeds to step ST2.
(ST1)この状態種別コードをキーとして、図4(A)の購読テーブル621を検索し、ヒットした各行について(「全状態」の行はヒット)、現時刻がこの行の期限内であれば、そのIPアドレスを宛先としてイベント情報(状態コード、関連情報)を通知する。すなわちSOAP処理部61を介してこのイベント情報を含むXML形式のSOAPメッセージを生成し、通信部60のHTTP/TCP/IPプロトコルスタックを介して宛先に送信する。次いで図6の処理を終了する。
(ST1) Using this status type code as a key, the subscription table 621 in FIG. 4A is searched, and for each hit line (the “all status” row is hit), if the current time is within the time limit of this row The event information (status code, related information) is notified with the IP address as the destination. In other words, an XML-format SOAP message including this event information is generated via the
(ST2)イベント引数73の通知先IDにデバイストークンが含まれていればステップST3へ進み、そうでなければステップST4へ進む。 (ST2) If a device token is included in the notification destination ID of the event argument 73, the process proceeds to step ST3, and if not, the process proceeds to step ST4.
(ST3)このデバイストークンをイベント通知内容に含める。 (ST3) This device token is included in the event notification content.
(ST4)イベント引数73の状態コードの上位2桁(状態種別コード)とイベント引数73の通知先IDに含まれるIPアドレスとの組をキーとして、図4(A)の購読テーブル621を検索し、現時刻が、ヒットした行(「全状態」の行はIPアドレスが一致すればヒット)の期限内であれば、そのIPアドレスを宛先としてイベント情報(状態コード、ジョブID、デバイストークン、関連情報)を通知し、図7の処理を終了する。 (ST4) The subscription table 621 shown in FIG. 4A is searched using the combination of the upper two digits (state type code) of the status code of the event argument 73 and the IP address included in the notification destination ID of the event argument 73 as a key. If the current time is within the time limit of the hit row (the “all status” row is hit if the IP addresses match), the event information (status code, job ID, device token, related information) is sent to that IP address as the destination. Information) and the process of FIG.
通知先がプロバイダー40である場合、SOAPメッセージが通信部52のHTTP/TCP/IPプロトコルスタックを介しSOAP処理部51に伝達されて、XMLデシリアライズされ、そのイベント情報オブジェクトがイベントシンク53に供給される。
When the notification destination is the
イベントシンク53はこれに応答して、状態記憶部54内の対応する状態をイベント情報で更新する。
In response to this, the
状態記憶部54は、ジョブ状態に関し図10(A)に示すようなテーブルを備えており、イベントシンク53は、状態コードがジョブ状態のコードである場合、このテーブル上の、上記イベント情報に含まれるジョブIDを含む行の「状態」(状態コードが印刷頁数でない場合)を、状態コードで更新し、又は、印刷頁数(状態コードが印刷頁数の場合)を該イベント情報に含まれる印刷頁数で更新する。イベントシンク53は、状態コードがジョブ状態以外のコードである場合、状態記憶部54内の状態コードに対応したアドレスに、関連情報の値を書き込むことにより状態を更新する。
The
イベントシンク53はまた、受信した内容(イベントメッセージ)を引数として通知マネージャ84を呼び出す。
The event sink 53 also calls the
通知マネージャ84はこれに応答して、図7に示す処理を開始する。
In response to this, the
(ST10)該引数の状態コードの上位2桁である状態種別コードが、ジョブ状態であることを示していれば、すなわち上位2桁の状態種別コードが"01"であれば(換言すれば、イベントメッセージにデバイストークンが含まれていれば)、ステップST11へ進み、そうでなければ、ステップST13へ進む。 (ST10) If the status type code that is the upper 2 digits of the status code of the argument indicates that it is a job status, that is, if the upper 2 digits of the status type code is “01” (in other words, If a device token is included in the event message), the process proceeds to step ST11. Otherwise, the process proceeds to step ST13.
(ST11)該状態種別コードと該引数のデバイストークンとの組をキーとして、後述のように作成される図8の購読テーブル83を検索し、現時刻が、ヒットした行の期限内であれば、このデバイストークンと、該引数の状態コード及び関連情報とを含む所定形式のメッセージオブジェクトを生成する。 (ST11) The subscription table 83 of FIG. 8 created as described later is searched using the set of the status type code and the device token of the argument as a key, and if the current time is within the deadline of the hit line A message object of a predetermined format including the device token, the status code of the argument, and related information is generated.
(ST12)該メッセージオブジェクトを引数としてJSON(JavaScript(登録商標) Object Notation)処理部81を呼び出すことにより、このオブジェクトをJSON形式に変換し、それを、通信部80内のHTTP/SSL/TCP/IPプロトコルスタックを介しプッシュ通知サーバー42に送信して、図7の処理を終了する。
(ST12) By calling a JSON (JavaScript (registered trademark) Object Notation)
(ST13)該状態種別コードをキーとして、図7の購読テーブル83を検索し、ヒットした各行について、現時刻がこの行の期限内であれば、この行のデバイストークンと、該引数の状態コード及び関連情報とを含む所定形式のオブジェクトを生成し、ステップステップST12へ進む。 (ST13) The subscription table 83 of FIG. 7 is searched using the status type code as a key, and for each hit line, if the current time is within the time limit of this row, the device token of this row and the status code of the argument And an object of a predetermined format including the related information, the process proceeds to step ST12.
図9は、図1に示すシステムの動作を示す概略シーケンス図である。 FIG. 9 is a schematic sequence diagram showing the operation of the system shown in FIG.
(S0)ユーザ75は、モバイル端末32を操作してステータスモニタ(アプリケーション)をインストールする。
(S0) The
(S1)ユーザ75は、インストールされたステータスモニタのアイコンをタッチしてこれを起動させる。
(S1) The
(S2)このステータスモニタは、ユーザに設定画面を表示させ、ユーザはプッシュ通知対象の状態種別コードや、通知時の表示方法、通知時に音声を鳴らすか否か等の選択設定を行う。 (S2) This status monitor causes the user to display a setting screen, and the user performs selection and setting such as a status type code for push notification, a display method at the time of notification, and whether to sound a sound at the time of notification.
(S3)ユーザの操作によりこの設定が確定すると、ステータスモニタはプッシュ通知サーバー42に対し、通知登録を要求する。
(S3) When this setting is confirmed by the user's operation, the status monitor requests the
(S4)プッシュ通知サーバー42は、UUID(Universally Unique Identifier)であるデバイストークンを生成し、これとモバイル端末32のアドレスとを対応付けて登録を行う。
(S4) The
(S5)プッシュ通知サーバー42は、このデバイストークンをモバイル端末32に返信する。
(S5) The
(S6)ステータスモニタは、このデバイストークンを、ステップS2での状態種別コードとともにプロバイダー40へ送信して、購読登録要求する。
(S6) The status monitor sends this device token together with the status type code in step S2 to the
(S7)この要求は図3において、通信部80及びJSON処理部81を介して購読マネージャ82に通知され、購読マネージャ82は図8に示すような購読テーブル83に、状態種別コードとデバイストークンと、現時刻に所定期間を加算した期限とを含むレコードを追加登録する。状態種別コードが複数ある場合には、それぞれに対応したレコードを追加登録する。
(S7) This request is notified to the
(S8)購読マネージャ82はさらに、このデバイストークンを指定して通知マネージャ84に、状態記憶部54の内容に基づく(状態記憶部54に記憶されている各状態をその状態に変化したイベントメッセージの受信と見なす)イベント通知要求を行う。
(S8) The
通知マネージャ84はこれに応答して、すなわち、通知マネージャ84は、購読マネージャ82が上記追加登録を行ったことに応答して、このデバイストークンをキーとして購読テーブル83を検索し、ヒットしたそれぞれの行(但し、この段階では、ジョブ状態の行を除く)について、その状態種別コードを持つ状態記憶部54内の各状態コード(アドレス)とその値の組をキーとキー値として読み出し、この組にデバイストークンを付加したものを所定形式のメッセージオブジェクトにし、これを引数としてJSON処理部81を呼び出すことにより、このオブジェクトをJSON形式に変換し、それを、通信部80内のHTTP/SSL/TCP/IPプロトコルスタックを介しプッシュ通知サーバー42に送信する。すなわち、状態記憶部54に記憶されている各状態をその状態に変化したイベントメッセージの受信と見なして、これに対応するメッセージを生成しプッシュ通知サーバー42へ送信する。
In response to this, the
(S10)プッシュ通知サーバー42はこれに応答して、このデバイストークンに対応したアドレスのモバイル端末32に対し、受信したジェイソン形式のメッセージをプッシュ通知する。
(S10) In response to this, the
(S11)モバイル端末32では、このメッセージを受け取ると、対応するアプリケーション(上記ステータスモニタ)を起動し、ステップS2での設定に従って、通知をポップアップ表示する。ステータスモニタは、状態記憶部54と同様の状態記憶部を有し、プッシュ通知メッセージに基づきイベントシンク53と同様にしてこの内容を更新する。
(S11) Upon receiving this message, the
ユーザ75は、この状態記憶部の内容に対応した後述の図10(B)、(C)に示すような表示を見て、画像形成装置20で印刷可能であることを確認し、印刷アプリケーションを起動し、このアプリケーションで、印刷対象のファイル及び画像形成装置20を指定して、iOSを介し印刷要求する。このアプリケーションは、該印刷要求の前に、UUIDのジョブIDを生成し、印刷対象のファイルの内容にこれと、該デバイストークンとを付加する。
The
画像形成装置20は、受信したファイルをスプールし、順に印刷する。
The
(S13)印刷を開始すると、図5において印刷処理部71がイベントジェネレータ72を呼び出すことにより印刷開始イベントが発生し、通知マネージャ622が呼び出される。
(S13) When printing is started, the
(S14)通知マネージャ622はこれに応答して、上記のようにしてイベント通知処理を行う。これにより、この通知が図3においてSOAP処理部61、通信部60、通信部52及びSOAP処理部51を介してイベントシンク53に伝達される。
(S14) In response to this, the
(S15)イベントシンク53はこれに応答して、上記のように、状態記憶部54内の対応する状態をイベント情報で更新すると共に、受信内容を引数として通知マネージャ84を呼び出す。
(S15) In response to this, the
(S16)通知マネージャ84により、図7の上記処理が行われて、プッシュ通知サーバー42にJSON形式のメッセージが通知される。
(S16) The
(S17)プッシュ通知サーバー42は、上記ステップS10と同様にしてこのメッセージをモバイル端末32にプッシュ通知する。
(S17) The
(S18)上記ステータスモニタにより、例えば図11(A)に示すようなポップアップ表示が行われる。この表示の際、図10(B)に示すようなテーブルが用いられて、プッシュ通知メッセージに含まれるジョブIDが文書名に変更される。 (S18) A pop-up display as shown in FIG. In this display, a table as shown in FIG. 10B is used, and the job ID included in the push notification message is changed to the document name.
図10(A)の「表示」ボタンをタッチすると、例えば図10(B)に示すような全ジョブ状態の詳細が表示される。この表示は、モバイル端末32から複数の印刷要求をした場合の各文書のジョブ状態と全印刷頁数に対する現在の印刷頁が示されている。文書名doc1.doc〜doc5.docの左側のアイコンはそれぞれ、ジョブ状態が印刷停止、印刷中、印刷待、印刷待、印刷待であることを示している。
When the “display” button in FIG. 10A is touched, details of all job states as shown in FIG. 10B are displayed. This display shows the current print page with respect to the job status of each document and the total number of print pages when a plurality of print requests are made from the
各印刷ジョブにおいて、印刷頁数が変化する毎にイベントが発生してプッシュ通知される。但し、印刷頁数の変化に対しては上記ステータスモニタが図10(A)に示すようなポップアップ表示を行わない。 In each print job, every time the number of printed pages changes, an event occurs and a push notification is sent. However, the status monitor does not perform pop-up display as shown in FIG.
図10(B)の状態で画面を左へスライドさせると、図10(C)に示すトナー残量の状態が表示される。CMYK各色のトナー残量は、25%刻みで表示され、その値が変化すると、画像形成装置20においてイベントが発生する。
When the screen is slid to the left in the state of FIG. 10B, the remaining toner state shown in FIG. 10C is displayed. The remaining amount of toner of each color of CMYK is displayed in increments of 25%, and an event occurs in the
なお、購読テーブル621の期限の更新や購読の解除等は、WS−Eventingの仕様に従って行われ、これは、APNSが直接関与しない購読テーブル83についても同様である。 Note that the update of the time limit of the subscription table 621, the cancellation of the subscription, and the like are performed in accordance with the WS-Eventing specification, and the same applies to the subscription table 83 in which APNS is not directly involved.
本実施例1によれば、WS−Eventingとプッシュ通知仕様が異なるモバイル端末に対してもプッシュ通知可能に構成する場合に、画像形成装置20においては、図6に示すように、状態種別コードが印刷ジョブ状態であることを示す場合(ST0)、印刷ジョブデータにデバイストークンが含まれていれば(ST2)、これもイベントメッセージに含ませる(ST3)という、従来構成に対する簡単な変更でよいという効果を奏する。
According to the first embodiment, when the push notification is configured to be possible even for a mobile terminal having a different push notification specification from WS-Eventing, in the
また、プロバイダー40がこのイベントメッセージの受信に応答して、図7に示すように、
イベントメッセージにデバイストークンが含まれていなければ、すなわちジョブ状態でないと判定されれば(ST10)、図8の購読テーブルに登録されている、イベントメッセージに含まれている状態IDが属する状態種別IDと一致する各レコードのデバイストークンと、このイベントメッセージに含まれている状態IDとこれに関係した値との組とを含むそれぞれのイベントメッセージを生成して(ST13)、プッシュ通知サーバー40へ送信し(ST12)、
イベントメッセージにデバイストークンが含まれ、すなわちジョブ状態と判定され(ST10)、且つ、該状態種別コードと該デバイストークンとを含むレコードが図8の購読テーブルに登録されていれば、該デバイストークンと該イベントメッセージに含まれている該組とを含むイベントメッセージを生成して(ST11)、プッシュ通知サーバー40へ送信する(ST12)ので、画像形成装置20での1つのイベント発生に対し、1つのイベントメッセージをプロバイダー40に送信すればよく、各モバイル端末32に対応するイベントメッセージをプロバイダー40に送信する必要がないので、通信トラフィック量の増大を抑制することができるという効果を奏する。
Further, in response to the reception of this event message, the
If the device token is not included in the event message, that is, if it is determined that the event is not in the job state (ST10), the state type ID to which the state ID included in the event message belongs is registered in the subscription table of FIG. Each event message that includes a device token of each record that matches and a set of a state ID included in the event message and a value related thereto is generated (ST13) and transmitted to the
If the event message includes a device token, that is, it is determined as a job state (ST10) and a record including the state type code and the device token is registered in the subscription table of FIG. An event message including the set included in the event message is generated (ST11) and transmitted to the push notification server 40 (ST12). Therefore, one event occurs in the
また、プロバイダー40において、オペレーティングシステムの起動時又は指示入力に応答して、画像形成装置20に対し、通知先アドレスとしての自装置のIPアドレスと通知対象としての全状態種別を示すコードとを伴って購読登録要求するので、画像形成装置20は状態変化が有った場合、そのイベントメッセージをプロバイダー40に通知するだけで、個々のモバイル端末32へプッシュ通知することができるという効果を奏する。
In addition, in the
さらに、プロバイダー40において、受信したイベントメッセージに基づき画像形成装置20の現在の状態を状態記憶部54に記憶しておき、モバイル端末32からの購読登録要求時に購読登録のみならず(図7のステップS7)、状態記憶部54に記憶されている各状態をその状態に変化したイベントメッセージの受信と見なしてイベントメッセージを生成しプッシュ通知サーバー42へ送信するので(S8、S9)、モバイル端末ユーザは購読登録後直ぐに画像形成装置20の現在の状態を把握することができるという効果を奏する。
Further, the
また、プロバイダー40をPC10−1〜10−Nと同様に取り扱うことができ、しかも、LAN30に複数のプロバイダー40が結合されていても問題が生じない。
Further, the
さらに、プロバイダー40を複数のLAN30で共通に用いることができる。この場合、図3において、通信部52の代わりに通信部80を用い、通信部60についても通信部80と同様に構成する。
Furthermore, the
以上において、プッシュ通知システムの第1態様では、画像形成装置から直接又はプリントサーバーを介し受信した第1イベントメッセージを第2イベントメッセージに変換してプッシュ通知サーバーへ送信するプロバイダーと、該画像形成装置又は該プリントサーバーである送信元装置とを含み、該プッシュ通知サーバーは該第2イベントメッセージに基づいて、該第2イベントメッセージに含まれるデバイストークンに対応したモバイル端末へイベントメッセージをプッシュ通知するプッシュ通知システムであって、該送信元装置は、少なくとも状態IDとこれに関係した値との組を該第1イベントメッセージに含ませ、該状態が示す状態種別IDが印刷ジョブ状態であることを示す場合、印刷ジョブデータにデバイストークンが含まれていればこれも該第1イベントメッセージに含ませ、該プロバイダーは、購読テーブルと、該モバイル端末からの状態種別とデバイストークンとを伴った購読登録要求に応答して、該状態種別と該デバイストークンとを含むレコードを該購読テーブルに登録する購読マネージャと、該第1イベントメッセージの受信に応答して、該第1イベントメッセージにデバイストークンが含まれていなければ、該購読テーブルに登録されている、該第1イベントメッセージに含まれている状態IDが属する状態種別IDと一致(例えば、状態IDの一部が状態種別IDと一致)する各レコードのデバイストークンと該第1イベントメッセージに含まれている該組とを含むそれぞれの第2イベントメッセージを生成して該プッシュ通知サーバーへ送信する通知マネージャとを有する。 As described above, in the first aspect of the push notification system, the provider that converts the first event message received from the image forming apparatus directly or via the print server into the second event message and transmits the second event message to the push notification server, and the image forming apparatus Or a transmission source device that is the print server, and the push notification server pushes the event message to the mobile terminal corresponding to the device token included in the second event message based on the second event message. In the notification system, the transmission source device includes at least a set of a state ID and a value related thereto in the first event message, and indicates that the state type ID indicated by the state is a print job state. The device token is included in the print job data. If this is included in the first event message, the provider responds to a subscription registration request with a subscription table, a status type and a device token from the mobile terminal, and the status type and the device token. In response to receiving the first event message, if a device token is not included in the first event message, it is registered in the subscription table. , The device token of each record that matches the state type ID to which the state ID included in the first event message belongs (for example, a part of the state ID matches the state type ID), and is included in the first event message. Generating and sending each second event message including the set to the push notification server And a knowledge manager.
また、プッシュ通知システムの第2態様では、第1態様において、該通知マネージャは、該第1イベントメッセージにデバイストークンが含まれ、且つ、該状態種別IDと該デバイストークンとを含むレコードが該購読テーブルに登録されていれば、該デバイストークンと該イベントメッセージに含まれている該組とを含む該第2イベントメッセージを生成して該プッシュ通知サーバーへ送信する。 In the second aspect of the push notification system, in the first aspect, the notification manager includes a device token included in the first event message, and a record including the state type ID and the device token is included in the subscription. If registered in the table, the second event message including the device token and the pair included in the event message is generated and transmitted to the push notification server.
また、プッシュ通知システムの第3態様では、第2態様において、該プロバイダーはさらに、オペレーティングシステムの起動時又は指示入力に応答して、該送信元装置に対し、通知先アドレスとしての自装置のIPアドレスと通知対象としての全状態種別を示す情報とを伴って購読登録要求する購読部を有する。 Further, in the third aspect of the push notification system, in the second aspect, the provider further provides the IP address of the own apparatus as a notification destination address to the transmission source apparatus when the operating system is started or in response to an instruction input. It has a subscription unit that requests subscription registration with an address and information indicating all status types as a notification target.
また、プッシュ通知システムの第4態様では、第3態様において、該プロバイダーはさらに、状態記憶部と、該第1イベントメッセージの受信に応答して、該第1イベントメッセージに含まれる該状態IDがジョブ状態の変化を示していなければ、該状態記憶部内の、該第1イベントメッセージに含まれる状態IDに対応したアドレスに、該状態IDに関係した該値を書き込むことにより該状態を更新し、該状態IDがジョブ状態の変化を示していれば、該状態記憶部内の、該第1イベントメッセージに含まれる該ジョブIDに対応するデータを、該第1イベントメッセージの内容に基づいて更新するイベントシンクと、を有し、該通知マネージャは、該購読マネージャが該登録を行ったことに応答して、該状態記憶部に記憶されている各状態をその状態に変化した該第1イベントメッセージの受信と見なして該第2イベントメッセージを生成し該プッシュ通知サーバーへ送信する。 Further, in the fourth aspect of the push notification system, in the third aspect, the provider further includes a state storage unit and the state ID included in the first event message in response to the reception of the first event message. If the change in the job status is not indicated, the status is updated by writing the value related to the status ID in an address corresponding to the status ID included in the first event message in the status storage unit, If the status ID indicates a change in job status, an event for updating the data corresponding to the job ID included in the first event message in the status storage unit based on the content of the first event message The notification manager, in response to the registration being performed by the subscription manager, each status stored in the state storage unit. The regarded as receiving the first event message and changed to its state generates a second event message transmitted to said push notification server.
また、プッシュ通知システムの第5態様では、第2乃至4態様のいずれか1つにおいて、該送信元装置は、印刷ジョブの状態変化に応答して、該印刷ジョブのジョブデータに含まれるIPアドレスをキーとして送信元装置側購読テーブルを検索し、ヒットすれば、該状態変化の変化後の状態IDと該ジョブIDとを含む第1イベントメッセージを、該IPアドレスを宛先として送信し、この際、該ジョブデータにデバイストークンが含まれていれば、該デバイストークンも該第1イベントメッセージに含ませる。 In the fifth aspect of the push notification system, in any one of the second to fourth aspects, the transmission source device responds to a change in the state of the print job and the IP address included in the job data of the print job. If the source device side subscription table is searched using the key as a key and hits, the first event message including the state ID after the change in the state change and the job ID is transmitted with the IP address as the destination. If the device token is included in the job data, the device token is also included in the first event message.
上記第1態様の構成によれば、WS−Eventingとプッシュ通知仕様が異なるモバイル端末に対してもプッシュ通知可能に構成する場合に、プロバイダーが該第1イベントメッセージの受信に応答して、例えば図7に示すように、該第1イベントメッセージにデバイストークンが含まれていなければ、すなわちステップST10でジョブ状態でないと判定されれば、例えば図8の購読テーブルに登録されている、該第1イベントメッセージに含まれている状態IDが属する状態種別IDと一致する各レコードのデバイストークンと、該第1イベントメッセージに含まれている状態IDとこれに関係した値との組とを含むそれぞれの第2イベントメッセージを生成して(ST13)、該プッシュ通知サーバーへ送信する(ST12)ので、該送信元装置での1つのイベント発生に対し、1つの第1イベントメッセージを該プロバイダーに送信すればよく、各モバイル端末に対応するイベントメッセージを該プロバイダーに送信する必要がないので、通信トラフィック量の増大を抑制することができるという効果を奏する。 According to the configuration of the first aspect, when the push notification is configured to be possible even for a mobile terminal having different WS-Eventing and push notification specifications, the provider responds to the reception of the first event message, for example, as shown in FIG. As shown in FIG. 7, if the device token is not included in the first event message, that is, if it is determined in step ST10 that it is not in the job state, the first event registered in the subscription table of FIG. Each record including a device token of each record that matches the state type ID to which the state ID included in the message belongs, and a set of the state ID included in the first event message and a value related thereto. 2 Event message is generated (ST13) and sent to the push notification server (ST12) In response to the occurrence of one event at the transmission source device, it is only necessary to transmit one first event message to the provider, and it is not necessary to transmit an event message corresponding to each mobile terminal to the provider. There is an effect that an increase in the amount can be suppressed.
上記第2態様の構成によれば、送信元装置において、例えば図6に示すように、状態IDが属する状態種別IDが印刷ジョブ状態であることを示す場合(ST0)、印刷ジョブデータにデバイストークンが含まれていれば(ST2)これも第1イベントメッセージに含ませる(ST3)という、従来構成に対する簡単な変更でよいという効果を奏する。 According to the configuration of the second aspect, in the transmission source device, for example, as shown in FIG. 6, when the status type ID to which the status ID belongs indicates the print job status (ST0), the device token is included in the print job data. Is included (ST2), this is also included in the first event message (ST3), which is an effect that a simple change to the conventional configuration is sufficient.
上記第3態様の構成によれば、該プロバイダーにおいて、オペレーティングシステムの起動時又は指示入力に応答して、該送信元装置に対し、通知先アドレスとしての自装置のIPアドレスと通知対象としての全状態種別を示す情報とを伴って購読登録要求するので、該送信元装置は状態変化が有った場合、そのイベントメッセージを該プロバイダーに通知するだけで、個々のモバイル端末へプッシュ通知することができるという効果を奏する。 According to the configuration of the third aspect, in the provider, when the operating system is started or in response to an instruction input, the IP address of the own device as the notification destination address and all the notification targets are sent to the transmission source device. Since the subscription registration request is made with the information indicating the status type, the transmission source device can send a push notification to each mobile terminal only by notifying the provider of the event message when there is a status change. There is an effect that can be done.
上記第4態様の構成によれば、該プロバイダーにおいて、各第1イベントメッセージに基づき該送信元装置の現在の状態を状態記憶部に記憶しておき、該モバイル端末からの購読登録要求時に購読登録のみならず(図7のS7)、該状態記憶部に記憶されている各状態をその状態に変化した該第1イベントメッセージの受信と見なして該第2イベントメッセージを生成し該プッシュ通知サーバーへ送信するので(S8、S9)、モバイル端末ユーザは購読登録後直ぐに該送信元装置の現在の状態を把握することができるという効果を奏する。 According to the configuration of the fourth aspect, the provider stores the current state of the transmission source device in the state storage unit based on each first event message, and subscribes when a subscription registration request is made from the mobile terminal. Not only (S7 in FIG. 7), each state stored in the state storage unit is regarded as reception of the first event message changed to that state, and the second event message is generated and sent to the push notification server. Since transmission is performed (S8, S9), the mobile terminal user has an effect of being able to grasp the current state of the transmission source device immediately after subscription registration.
上記第5態様の構成によれば、該送信元装置が、印刷ジョブの状態変化に応答して、該印刷ジョブのジョブデータに含まれるIPアドレスをキーとして送信元装置側購読テーブルを検索し、ヒットすれば、該状態変化の変化後の状態IDと該ジョブIDとを含む第1イベントメッセージを、該IPアドレスを宛先として送信するので、簡単な構成で、印刷ジョブについてはその依頼元のみプッシュ通知することができ、また、イベントメッセージにジョブIDが含まれるので、同一文書名の印刷ジョブであっても印刷ジョブ依頼元においてそれらを区別することができるという効果を奏する。 According to the configuration of the fifth aspect, in response to a change in the status of the print job, the transmission source device searches the transmission source device side subscription table using the IP address included in the job data of the print job as a key, If there is a hit, the first event message including the changed state ID and the job ID is transmitted with the IP address as the destination, so only the request source of the print job is pushed with a simple configuration. Since the job ID is included in the event message, the print job requester can distinguish between print jobs having the same document name.
以上において、本発明の好適な実施例を説明したが、本発明には他にも種々の変形例が含まれ、上記実施例で述べた各構成要素の機能を実現する他の構成を用いたもの、当業者であればこれらの構成又は機能から想到するであろう他の構成も、本発明に含まれる。 In the above, preferred embodiments of the present invention have been described. However, the present invention includes various modifications, and other configurations that realize the functions of the respective components described in the above embodiments are used. However, other configurations that would be conceived by those skilled in the art from these configurations or functions are also included in the present invention.
例えば、図3の構成要素60〜62をプリントサーバーに備え、プリントサーバーで購読登録し、これとローカル接続又はネットワーク接続された画像形成装置からのイベント通知を、プリントサーバーの通知マネージャを介してイベント通知する構成であってもよい。
For example, the
また、図8の購読テーブルは、期限を含まない構成であってもよい。 Further, the subscription table of FIG. 8 may be configured not to include a time limit.
10−1〜10−N クライアントPC
20 画像形成装置
201、401 CPU
202、402 インターフェイス
203、403 PROM
204、404 DRAM
205、405 ネットワークインターフェイス
206、406 補助記憶装置
207 操作パネル
208 スキャナ
209 プリンタ
210 ファックスモデム
30 LAN
31 アクセスポイント
32 モバイル端末
40 プロバイダー
41 インターネット
42 プッシュ通知サーバー
50 購読部
51、61 SOAP処理部
52、60、80 通信部
53 イベントシンク
54 状態記憶部
62 イベントソース
620、82 購読マネージャ
621、83 購読テーブル
622、84 通知マネージャ
63 画像形成装置本体部
70 ジョブデータ
71 印刷処理部
72 イベントジェネレータ
73 イベント引数
81 JSON処理部
10-1 to 10-N Client PC
20
202, 402
204, 404 DRAM
205, 405
31
Claims (6)
前記画像形成装置は、
状態種別コードが含まれた状態コードと該状態コードに対応した関連情報とを含み、前記状態種別コードが印刷ジョブ状態を示す場合には前記印刷ジョブに含まれる前記モバイル端末のデバイストークンを更に含む第1イベントメッセージを生成し、
生成した前記第1イベントメッセージを前記プロバイダーに送信し、
前記プロバイダーは、
前記モバイル端末から送信された購読登録要求に応答して、前記購読登録要求に含まれる状態種別コードとデバイストークンを含むレコードを購読テーブルに登録し、
前記画像形成装置から送信された前記第1イベントメッセージに前記デバイストークンが含まれていなければ、前記購読テーブルに登録されている、前記第1イベントメッセージの前記状態コードの前記状態種別コードと一致する前記レコードの前記デバイストークンと、前記第1イベントメッセージの前記状態コードと、前記第1イベントメッセージの前記関連情報とを含む第2イベントメッセージを生成し、
前記画像形成装置から送信された前記第1イベントメッセージに前記デバイストークンが含まれていれば、前記購読テーブルに登録されている、前記第1イベントメッセージの前記状態コードの前記状態種別コードと前記第1イベントメッセージの前記デバイストークンと一致する前記レコードの前記デバイストークンと、前記第1イベントメッセージの前記状態コードと、前記第1イベントメッセージの前記関連情報とを含む第2イベントメッセージを生成し、
生成した前記第2イベントメッセージを前記プッシュ通知サーバーに送信し、
前記プッシュ通知サーバーは、
前記プロバイダーから送信された前記第2イベントメッセージに含まれる前記デバイストークンに対応した前記モバイル端末に前記第2イベントメッセージを送信する
ことを特徴とするプッシュ通知システム。 An image forming apparatus coupled to a network, a mobile terminal coupled to the network via an access point, sending a print job to the image forming apparatus to perform printing, a provider coupled to the network, and A push notification system comprising a push notification server coupled to a network,
The image forming apparatus includes:
A status code including a status type code and related information corresponding to the status code, and further including a device token of the mobile terminal included in the print job when the status type code indicates a print job status. Generate a first event message,
Sending the generated first event message to the provider;
The provider
In response to the subscription registration request transmitted from the mobile terminal, a record including a status type code and a device token included in the subscription registration request is registered in a subscription table.
If the device token is not included in the first event message transmitted from the image forming apparatus, it matches the state type code of the state code of the first event message registered in the subscription table. Generating a second event message including the device token of the record, the status code of the first event message, and the related information of the first event message;
If the device token is included in the first event message transmitted from the image forming apparatus, the status type code of the status code of the first event message registered in the subscription table and the first event message are registered. Generating a second event message including the device token of the record that matches the device token of an event message, the status code of the first event message, and the related information of the first event message;
Sending the generated second event message to the push notification server;
The push notification server
The push notification system, wherein the second event message is transmitted to the mobile terminal corresponding to the device token included in the second event message transmitted from the provider.
オペレーティングシステムの起動時又は指示入力に応答して、全状態を示す前記状態種別コードと前記プロバイダーのIPアドレスとを含む購読登録要求を前記画像形成装置に送信する
ことを特徴とする請求項1に記載のプッシュ通知システム。 The provider
The subscription registration request including the state type code indicating all states and the IP address of the provider is transmitted to the image forming apparatus when the operating system is started or in response to an instruction input. The described push notification system.
前記第1イベントメッセージの前記状態コードの前記状態種別コードが前記印刷ジョブ状態を示さない場合、記憶領域における前記第1イベントメッセージの前記状態コードに対応したアドレスに前記第1イベントメッセージの前記関連情報を書き込み、
前記第1イベントメッセージの前記状態コードの前記状態種別コードが前記印刷ジョブ状態を示す場合、前記記憶領域における前記第1イベントメッセージに含まれるジョブIDに対応する状態コードを前記第1イベントメッセージの前記状態コードで更新する
ことを特徴とする請求項1に記載のプッシュ通知システム。 The provider
When the status type code of the status code of the first event message does not indicate the print job status, the related information of the first event message is stored in an address corresponding to the status code of the first event message in a storage area. Write
When the status type code of the status code of the first event message indicates the print job status, the status code corresponding to the job ID included in the first event message in the storage area is set as the status code of the first event message. It updates with a status code. The push notification system according to claim 1 characterized by things.
ことを特徴とする請求項1に記載のプッシュ通知システム。 The push notification system according to claim 1, wherein when the status type code does not indicate the print job status, the status type code indicates a remaining amount of toner and / or a remaining amount of paper in a paper feed tray.
ことを特徴する請求項1に記載のプッシュ通知システム。 2. The push notification according to claim 1, wherein when the status type code indicates the print job status, the status code indicates print waiting, printing in progress, print stop, number of printed pages, and / or print completion. system.
ことを特徴とする請求項1に記載のプッシュ通知システム。 2. The apparatus according to claim 1, wherein when the status type code does not indicate the print job status, the status code indicates a remaining amount of toner of each toner and / or a remaining amount of paper of each paper feed tray. Push notification system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014178732A JP5815822B2 (en) | 2014-09-03 | 2014-09-03 | Push notification system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014178732A JP5815822B2 (en) | 2014-09-03 | 2014-09-03 | Push notification system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012170450A Division JP5612036B2 (en) | 2012-07-31 | 2012-07-31 | Push notification system and provider constituting the same |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015028792A JP2015028792A (en) | 2015-02-12 |
JP5815822B2 true JP5815822B2 (en) | 2015-11-17 |
Family
ID=52492425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014178732A Active JP5815822B2 (en) | 2014-09-03 | 2014-09-03 | Push notification system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5815822B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6531599B2 (en) | 2015-09-30 | 2019-06-19 | ブラザー工業株式会社 | Information processing apparatus program and information processing apparatus |
JP6561827B2 (en) | 2015-12-24 | 2019-08-21 | ブラザー工業株式会社 | Image processing apparatus and information processing apparatus program |
CN112187844B (en) * | 2019-12-30 | 2023-04-21 | 美恒通智能电子(广州)股份有限公司 | Message pushing method, device and equipment based on printing equipment |
-
2014
- 2014-09-03 JP JP2014178732A patent/JP5815822B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015028792A (en) | 2015-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5612036B2 (en) | Push notification system and provider constituting the same | |
EP2365431B1 (en) | Printer discovery within a web page | |
US8848210B2 (en) | Event notification system in which a terminal is notified of events generated in devices via a network | |
JP5378554B2 (en) | Network event notification system | |
JP5728896B2 (en) | Printing system and program | |
JP5815822B2 (en) | Push notification system | |
JP5170141B2 (en) | Printer and terminal device | |
JP2009116874A (en) | Approach for managing print error using print agent | |
JP5450678B2 (en) | Network event notification system | |
JP2014041599A (en) | Program, information processing apparatus, and system | |
JP6179200B2 (en) | Information processing apparatus, device, information processing system, information processing method, and information processing program | |
JP2007058408A (en) | Serial number output system | |
US8902442B2 (en) | Image forming system and method in which client apparatuses are notified via print server of event generated in image forming apparatus | |
JPWO2006006302A1 (en) | Print system, printer server, print execution program, and print document management system | |
US9009244B2 (en) | Image forming apparatus, and control method thereof | |
JP5937030B2 (en) | Image forming system | |
JP5378553B2 (en) | Network event notification system | |
JP5623465B2 (en) | Image forming system and print server thereof | |
JP6127586B2 (en) | Information processing system and information processing method | |
JP2020004239A (en) | System, management server system, and control method | |
JP6115253B2 (en) | Print system, spool server, spool method, and program | |
US10795628B2 (en) | Information processing system, information processing apparatus, and log information management method | |
EP2680127B1 (en) | Image forming system and method in which client apparatuses are notified via print server of event generated in image forming apparatus | |
JP5623464B2 (en) | Image forming system and print server thereof | |
JP2009282588A (en) | Image forming system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150731 |
|
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: 20150825 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150924 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5815822 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |