JP2021120197A - Printer and communication processing program - Google Patents
Printer and communication processing program Download PDFInfo
- Publication number
- JP2021120197A JP2021120197A JP2020013940A JP2020013940A JP2021120197A JP 2021120197 A JP2021120197 A JP 2021120197A JP 2020013940 A JP2020013940 A JP 2020013940A JP 2020013940 A JP2020013940 A JP 2020013940A JP 2021120197 A JP2021120197 A JP 2021120197A
- Authority
- JP
- Japan
- Prior art keywords
- information
- printer
- state information
- program
- management server
- 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
Links
Images
Abstract
Description
本発明は、被印刷媒体に印刷を行う印刷装置、及び、電子機器において実行される通信処理プログラムに関する。 The present invention relates to a printing apparatus that prints on a printing medium and a communication processing program executed in an electronic device.
インターネット上の管理サーバが、モバイルデバイスと通信を行ってそのモバイルデバイスを管理する、MDM(Mobile Device Management)システムが知られている(例えば、特許文献1参照)。この従来技術では、プリンタを管理する管理サーバに対し、外部仲介装置(Device Conductor)がインターネットを介して通信可能に接続されている。この外部仲介装置に対し内部仲介装置が通信可能に接続されており、その内部仲介装置に対し、モバイルデバイスであるプリンタがローカルネットワークを通じて通信可能に構成されている。 An MDM (Mobile Device Management) system is known in which a management server on the Internet communicates with a mobile device and manages the mobile device (see, for example, Patent Document 1). In this prior art, an external mediator is connected to the management server that manages the printer so as to be able to communicate with the management server via the Internet. An internal mediator is communicably connected to the external mediator, and a printer, which is a mobile device, is configured to communicate with the internal mediator via a local network.
近年、電子機器である印刷装置と外部仲介装置との間の情報伝達に内部仲介装置を介在させる上記従来技術の構成に代え、印刷装置が、外部仲介装置に対し直接接続される構成が提唱されつつある。この構成では、管理サーバによって印刷装置の管理が行われる際、例えば、印刷装置における各種設定の変更、エラー発生等、印刷装置の状態が変化した場合には、当該変化した状態に係わる状態情報が外部仲介装置へと送信される。これにより、外部仲介装置に接続されている外部サーバにおいてその状態情報に対応した適宜の表示が行われ、管理者は、印刷装置において何らかの状態変化が生じたことを認識することができる。 In recent years, a configuration in which a printing device is directly connected to an external mediator has been proposed in place of the configuration of the above-mentioned conventional technique in which an internal mediator is interposed in information transmission between a printing device which is an electronic device and an external mediator. It's starting. In this configuration, when the printing device is managed by the management server, for example, when the state of the printing device changes due to a change in various settings in the printing device, an error occurs, or the like, the state information related to the changed state is displayed. It is sent to an external mediator. As a result, an appropriate display corresponding to the state information is performed on the external server connected to the external intermediary device, and the administrator can recognize that some state change has occurred in the printing device.
このとき、管理サーバにおける表示態様は、管理サーバの仕様によって種々異なる場合がある。そのため、印刷装置から外部仲介装置への上記状態情報の送信時において、単純に、状態変化が生じる都度対応する状態情報を順次送信する手法とすると、表示を見る管理者にとって利便性が悪い場合が生じ得る。 At this time, the display mode on the management server may differ depending on the specifications of the management server. Therefore, when the above state information is transmitted from the printing device to the external intermediary device, if the method of simply transmitting the corresponding state information sequentially each time a state change occurs, it may not be convenient for the administrator who sees the display. Can occur.
例えば、管理サーバにおいて、最新の状態情報を、その前の状態情報の上に被さるようにポップアップ表示する場合があり得る。このような仕様の場合、印刷装置から複数の状態情報が順次送信されたとき、その送信された順に沿って、後発の状態情報が先発の状態情報の上に順次覆いかぶさるように表示される。そのため、先発の状態情報の内容の重要度が高く、後発の状態情報の内容の重要度が低い場合等には、重要度の低い後発の状態情報が表示されることで重要度の高い先発の状態情報が隠蔽されて管理者が見逃しやすくなり、不便である。したがって、この場合には印刷装置から外部仲介装置への状態情報の送信時に、上記弊害を回避するための何らかの工夫が望ましい。 For example, in the management server, the latest status information may be popped up so as to cover the previous status information. In the case of such specifications, when a plurality of state information is sequentially transmitted from the printing apparatus, the later state information is displayed so as to sequentially cover the first state information in the order of transmission. Therefore, when the importance of the content of the starting status information is high and the importance of the content of the later status information is low, the low-importance status information of the starting lineup is displayed, so that the starting lineup with high importance is displayed. It is inconvenient because the status information is hidden and easily overlooked by the administrator. Therefore, in this case, it is desirable to take some measures to avoid the above-mentioned adverse effects when transmitting the state information from the printing device to the external intermediary device.
これに対して、管理サーバにおいて、印刷装置から複数の状態情報が送信されたときにそれら複数の状態情報を一覧表示する場合もある。この仕様の場合には、印刷装置が、単純に、状態変化が生じる都度、対応する状態情報を順次送信する手法であったとしても、上記のような管理者にとっての見にくさの問題は生じない。 On the other hand, in the management server, when a plurality of status information is transmitted from the printing device, the plurality of status information may be displayed in a list. In the case of this specification, even if the printing device simply transmits the corresponding state information in sequence each time a state change occurs, the above-mentioned problem of obscurity for the administrator does not occur. ..
本発明の目的は、管理サーバにおいて常に最適な態様で状態情報を表示し、管理者にとっての利便性を向上することができる、印刷装置及び通信処理プログラムを提供することにある。 An object of the present invention is to provide a printing device and a communication processing program capable of always displaying status information in an optimum manner on a management server and improving convenience for an administrator.
上記目的を達成するために、本願発明は、被印刷媒体に印刷を行う印刷手段と、制御手段と、を有し、所望の表示を行う表示手段を備えた管理サーバとインターネットを通じて通信する外部仲介装置と通信する印刷装置であって、前記制御手段は、前記管理サーバの前記表示手段における、表示仕様情報又は当該表示仕様情報に関連する仕様関連情報を取得する仕様情報取得処理;前記印刷装置の状態が変化した場合に送信する当該変化した状態に係わる状態情報の送信態様を、前記仕様情報取得処理で取得された前記表示仕様情報又は前記仕様関連情報に応じて可変に設定する態様設定処理;前記印刷装置の前記状態の変化に対応した前記状態情報を、前記態様設定処理で設定された態様で前記外部仲介装置へ送信する状態情報送信処理;を実行することを特徴とする。 In order to achieve the above object, the present invention is an external intermediary that has a printing means for printing on a print medium and a control means, and communicates with a management server provided with a display means for performing a desired display via the Internet. A printing device that communicates with the device, wherein the control means acquires display specification information or specification-related information related to the display specification information in the display means of the management server; a specification information acquisition process of the printing device. A mode setting process for variably setting the transmission mode of the state information related to the changed state to be transmitted when the state changes according to the display specification information acquired by the specification information acquisition process or the specification-related information; It is characterized in that the state information transmission process of transmitting the state information corresponding to the change of the state of the printing device to the external intermediary device in the mode set in the mode setting process; is executed.
本願発明の印刷装置は、いわゆるMDM(Mobile Device Management)システムにおいて使用される。すなわち、この印刷装置を管理する管理サーバに対し、外部仲介装置(いわゆるDevice Conductor)がインターネットを介して通信可能に接続されており、さらにその外部仲介装置に対し、当該印刷装置が通信可能に接続されている。 The printing apparatus of the present invention is used in a so-called MDM (Mobile Device Management) system. That is, an external mediator (so-called Device Conductor) is communicably connected to the management server that manages the printing device via the Internet, and the printing device is communicably connected to the external mediator. Has been done.
そして、管理サーバによる印刷装置の管理は外部仲介装置を介して行われる。その際、例えば、印刷装置における各種設定の変更、エラー発生等、印刷装置の状態が変化した場合には、制御手段の制御により、当該変化した状態に係わる状態情報が外部仲介装置へと送信される。これにより、外部仲介装置に接続されている外部サーバの表示手段においてその状態情報に対応した適宜の表示が行われ、管理者は、印刷装置において何らかの状態変化が生じたことを認識することができる。 Then, the management server manages the printing device via an external intermediary device. At that time, for example, when the state of the printing device changes due to a change in various settings in the printing device, an error occurs, or the like, the state information related to the changed state is transmitted to the external intermediary device by the control of the control means. NS. As a result, the display means of the external server connected to the external intermediary device performs appropriate display corresponding to the state information, and the administrator can recognize that some state change has occurred in the printing device. ..
そして、本願発明の印刷装置においては、制御手段が、仕様情報取得処理と、態様設定処理と、状態情報送信処理と、を実行する。すなわちまず、仕様情報取得処理において、制御手段は、表示手段における表示仕様情報又は仕様関連情報を取得する。その後、制御手段は、態様設定処理において、外部仲介装置に送信するときの状態情報の送信態様を、その取得した表示仕様情報又は仕様関連情報に応じて可変に設定する。そして、状態情報送信処理では、制御手段は、その設定した態様に沿って外部仲介装置へ送信する。 Then, in the printing apparatus of the present invention, the control means executes the specification information acquisition process, the mode setting process, and the state information transmission process. That is, first, in the specification information acquisition process, the control means acquires the display specification information or the specification-related information in the display means. After that, in the mode setting process, the control means variably sets the transmission mode of the state information at the time of transmission to the external intermediary device according to the acquired display specification information or specification-related information. Then, in the state information transmission process, the control means transmits to the external intermediary device according to the set mode.
このような流れで処理を実行することで、管理サーバの表示手段での表示仕様がどのようなものであっても、印刷装置から外部仲介装置へと送信する状態情報を、その表示仕様に対応した送信態様で送信することができる。その結果、管理サーバの表示手段では、前述のような不便を回避しつつ、常に最適な態様で状態情報を表示することができ、管理者にとっての利便性を向上することができる。 By executing the process in such a flow, regardless of the display specifications of the display means of the management server, the status information transmitted from the printing device to the external intermediary device corresponds to the display specifications. It is possible to transmit in the transmission mode. As a result, the display means of the management server can always display the state information in the optimum mode while avoiding the inconvenience as described above, and the convenience for the administrator can be improved.
本発明によれば、管理サーバにおいて常に最適な態様で状態情報を表示し、管理者にとっての利便性を向上することができる。 According to the present invention, the state information can always be displayed in the optimum mode on the management server, and the convenience for the administrator can be improved.
本発明の一実施形態を図面を参照しつつ説明する。 An embodiment of the present invention will be described with reference to the drawings.
<システム概要>
図1において、本実施形態に係わる管理システム10は、いわゆるモバイルデバイス管理(Mobile Device Management)システムを利用してプリンタ14の管理を行うシステムである。プリンタ14の管理者は、ブラウザを用いて管理サーバ11に記憶されたプリンタ14の管理情報を閲覧し、あるいは、管理サーバ11を通じて、プリンタ14に対して設定情報の変更等の指示を行う。
<System overview>
In FIG. 1, the
また、管理システム10は、管理サーバ11と直接通信を行う機能を有さないプリンタ14の管理を行うシステムである。管理サーバ11と直接通信を行う機能を有さないプリンタ14を管理サーバ11で管理できるように、外部仲介装置12が利用される。プリンタ14は、印刷装置の一例である。
Further, the
管理システム10は、インターネット15に接続された管理サーバ11及び外部仲介装置12と、ローカルネットワーク16に接続された上記プリンタ14と、を備える。
The
管理サーバ11は、例えば、モバイルデバイスを管理するサービスを提供する会社が有するサーバである。外部仲介装置12は、例えば、モバイルデバイスを管理するサービスの提供を受ける会社が有するサーバである。ローカルネットワーク16は、例えば、モバイルデバイスを管理するサービスの提供を受ける会社の各支店ごとに構築される。各支店は、1台又は複数台のプリンタ14をそれぞれ有し、各支店のプリンタ14は、各支店のローカルネットワーク16にそれぞれ接続される。
The management server 11 is, for example, a server owned by a company that provides a service for managing mobile devices. The external
図示例では、3つのローカルネットワーク16が構築され、各ローカルネットワーク16に、2台又は3台のプリンタ14が接続されている。但し、管理システム10が有するローカルネットワーク16の数や、各ローカルネットワーク16にそれぞれ接続されるプリンタ14の台数は、図示例に限られない。
In the illustrated example, three
管理サーバ11と外部仲介装置12とは、インターネット15を通じて相互に通信することができる。具体的には、管理サーバ11及び外部仲介装置12は、グローバルIPアドレスをそれぞれ有しており、グローバルIPアドレスを用いたインターネットプロトコルを用いて相互に通信する。
The management server 11 and the external
ローカルネットワーク16は、いわゆるイントラネットであり、例えば、有線LAN、無線LAN、WAN、あるいはこれらの組み合わせである。ローカルネットワーク16に接続されたプリンタ14同士は、TCP/IPなどの通信プロトコルを用いて相互に通信可能である。具体的には、プリンタ14同士は、プライベートIPアドレスやMACアドレスを用いて相互に通信する。
The
ローカルネットワーク16は、ルータなどの不図示の中継装置を有している。中継装置は、グローバルIPアドレスを有しており、インターネット15と接続されている。ローカルネットワーク16に接続されたプリンタ14は、中継装置を介して外部仲介装置12と通信を行う。具体的には、プリンタ14と外部仲介装置12とは、中継装置が構築するファイアウォールを通じて相互に通信を行う。なお、ファイアウォールは必須ではなく、必要性がない又は少ない場合は中継装置がファイアウォールを備えなくてもよい。
The
管理システム10は、管理サーバ11と直接通信を行う機能を有さないプリンタ14の管理を、上述の構成を有する外部仲介装置12を利用して、管理サーバ11で実現可能とするシステムである。具体的には、外部仲介装置12にインストールされて実行される第1プログラム24と、プリンタ14にインストールされて実行される第2プログラム34とを用いて、管理サーバ11と直接通信を行う機能を有さないプリンタ14の管理が実現される。すなわち、管理サーバ11と直接通信を行う機能を有さないプリンタ14の管理サーバ11による管理は、第1プログラム24及び第2プログラム34によって実現される。以下、外部仲介装置12及びプリンタ14の構成について、詳しく説明する。
The
<外部仲介装置(その1)>
外部仲介装置12は、CPU21と、メモリ22と、通信インタフェース25(以下適宜、「通信I/F25」と記載)と、ユーザI/F26と、通信バス27とを備える。CPU21、メモリ22、通信I/F25、及びユーザI/F26は、通信バス27と接続されている。
<External mediator (1)>
The external
メモリ22は、ROM、RAM、EEPROM、HDD、USBメモリ等の可搬記憶媒体、若しくは、CPU21が備えるバッファ等である。メモリ22は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non−transitoryな媒体である。non−transitoryな媒体には、上記の例の他に、CD−ROM、DVD−ROM等の記録媒体も含まれる。また、non−transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non−transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。後述するプリンタ14のメモリ42についても同様である。
The
メモリ22は、プログラム記憶領域28及びデータ記憶領域29を有している。プログラム記憶領域28は、OS23や第1プログラム24等のプログラムを記憶している。
The
OS23は、外部仲介装置12の基本プログラムである。OS23は、例えば、MacOS(登録商標)、Windows(登録商標)、Linux(登録商標)、Android(登録商標)OS等のオペレーティングシステムである。
OS23 is a basic program of the external
第1プログラム24は、OS23と協働して、通信I/F25を通じた管理サーバ11及びプリンタ14との通信を制御するプログラムである。第1プログラム24は、単一のプログラムであってもよいし、複数のプログラムの集合体であってもよい。第1プログラム24が実行する処理については後述する。
The
データ記憶領域29は、プログラムの実行に必要なデータを記憶する。また、データ記憶領域29は、図2に示される対応データベースを記憶する。
The
<対応データベース>
図2において、対応データベースは、複数の項目と、複数のレコードとを有する。この例では、複数の項目には、項目「デバイスID」、「GUID」、「ロケーション情報」、「ファームバージョン」、「設定情報」、「更新日時」、「管理状況情報」が含まれる。なお、対応データベースに、前述の項目以外の項目が含まれていてもよい。
<Corresponding database>
In FIG. 2, the corresponding database has a plurality of items and a plurality of records. In this example, the plurality of items include the items "device ID", "GUID", "location information", "farm version", "setting information", "update date", and "management status information". In addition, the corresponding database may include items other than the above-mentioned items.
項目「デバイスID」は、プリンタ14に付与されたIDである。デバイスIDは、例えば、プリンタ14のMACアドレスやIPアドレスやシリアル番号などである。各レコードは、デバイスIDによって区別される。すなわち、一のプリンタ14に対して一のレコードが生成される。
The item "device ID" is an ID assigned to the
項目「GUID」は、プリンタ14に備えられる第2プログラム34(後述)に対して付与されたGUIDを示す。なお、GUIDは、数字や文字、その他、第2プログラム34を識別可能なものであれば、どのようなものがGUIDとして用いられてもよい。デバイスIDについても同様である。
The item "GUID" indicates a GUID assigned to the second program 34 (described later) provided in the
項目「ロケーション情報」は、項目「GUID」で示される第2プログラム34を備えたプリンタ14が属するローカルネットワーク16を示す。項目「ロケーション情報」は、例えば、支店名や、支部名などである。
The item "location information" indicates the
項目「ファームバージョン」は、プリンタ14にインストールされている後述の第2プログラム34のバージョンを示す。なお、項目「ファームバージョン」の数字が大きい方が、より新しいバージョンである。
The item "farm version" indicates the version of the
項目「設定情報」は、項目「フォント」、項目「フォントサイズ」、項目「濃度」などの複数の細分化された項目を有する。項目「フォント」は、プリンタ14が印刷する文字のフォントを意味する。項目「フォントサイズ」は、プリンタ14が印刷する文字のサイズを意味する。項目「濃度」は、プリンタ14が印刷する文字や図形のインクの濃度を意味する。項目「設定情報」は、前記の項目に加え、自動電源オフ機能が有効か無効かを示す項目や、印刷速度を示す項目や、通信の設定パラメータを示す項目などの他の項目を有していてもよい。
The item "setting information" has a plurality of subdivided items such as the item "font", the item "font size", and the item "density". The item "font" means a font of characters printed by the
項目「更新日時」は、レコードにおける各項目が示す内容が変更された日時を示す。 The item "update date and time" indicates the date and time when the content indicated by each item in the record was changed.
項目「管理状況情報」は、各レコードのプリンタ14が、管理システム10による管理の対象であるか否かを示す。「管理中」は、管理システム10による管理の対象であることを意味する。「待機中」は、管理システム10による管理の対象でないことを意味する。
The item "management status information" indicates whether or not the
<外部仲介装置(その2)>
図1に戻り、外部仲介装置12の通信I/F25は、管理サーバ11及びプリンタ14と通信可能なインタフェースである。通信I/F25は、LAN I/Fや無線LAN I/Fである。外部仲介装置12とプリンタ14とは、通信I/F25、インターネット15、ファイアウォール(中継装置)、ローカルネットワーク16、通信I/F45を通じて通信する。
<External intermediary device (2)>
Returning to FIG. 1, the communication I /
ユーザI/F26は、例えばキーボードやマウスなどであり、管理者による入力を受け付ける。 The user I / F26 is, for example, a keyboard or a mouse, and accepts input by the administrator.
<プリンタ>
プリンタ14は、CPU41と、メモリ42と、通信I/F45と、バッテリ50と、印刷エンジン51と、通信バス47とを備える。なお、印刷エンジンは印刷手段の一例であり、CPU41は制御手段の一例である。CPU41、メモリ42、通信I/F45、及び通信バス47の構成は、外部仲介装置12のCPU21、メモリ22、通信I/F25、及び通信バス27の構成と同様である。
<Printer>
The
メモリ42は、プログラム記憶領域48及びデータ記憶領域49を有している。プログラム記憶領域48は、OS43、第2プログラム34等のプログラムを記憶している。データ記憶領域49は、プログラムの実行に必要なデータを記憶する。また、データ記憶領域49は、デバイスID及びGUID(Globally Unique Identifier)を記憶する。デバイスIDは、例えば、プリンタ14のMACアドレスや、プライベートIPアドレスや、シリアル番号などである。
The
OS43は、プリンタ14の基本プログラムである。第2プログラム34は、OS43と協働して、印刷エンジン51に適宜の被印刷媒体への印刷を実行させるとともに、通信I/F45を通じた外部仲介装置12との通信を制御するプログラムである。第2プログラム34は、単一のプログラムであってもよいし、複数のプログラムの集合体であってもよい。第2プログラム34が実行する処理については後述する。
OS43 is a basic program of the
通信I/F45は、外部仲介装置12と通信可能なインタフェースである。通信I/F45は、外部仲介装置12が送信したコマンドを受信し、当該コマンドに対する応答を外部仲介装置12に送信する。
The communication I /
バッテリ50は、例えば充放電が可能な2次電池である。バッテリ50は、プリンタ14が商用電源と接続されている場合に、商用電源によって充電され、商用電源と接続されていない場合に放電を行って、印刷エンジン51やCPU41に駆動電力を供給する。
The
<プログラムの処理>
以下、第1プログラム24及び第2プログラム34が実行する処理を説明する。
<Program processing>
Hereinafter, the processes executed by the
なお、本明細書では、基本的に、プログラムに記述された命令に従ったCPUの処理を説明する。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」、「設定」等の処理は、CPUの処理を表している。CPUによる処理は、OSなどのコントローラを介したハードウェア制御も含む。なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPUが要求することなくデータを受信するという処理も、「CPUがデータを取得する」という概念に含まれる。「命令」「応答」「要求」等の処理は、「命令」「応答」「要求」等を示す情報を通信することにより行われる。また、「命令」「応答」「要求」等の文言を、「命令」「応答」「要求」等を示す情報そのものという意味でも記載することがある。 In this specification, basically, the processing of the CPU according to the instruction described in the program will be described. That is, the processes such as "judgment", "extraction", "selection", "calculation", "decision", "specification", "acquisition", "acceptance", "control", and "setting" in the following description are It represents the processing of the CPU. The processing by the CPU also includes hardware control via a controller such as an OS. Note that "acquisition" is used in a concept that does not require a request. That is, the process of receiving data without the CPU requesting is also included in the concept of "the CPU acquires the data". Processing such as "command", "response", and "request" is performed by communicating information indicating "command", "response", "request", and the like. In addition, words such as "command", "response", and "request" may also be described in the sense of information itself indicating "command", "response", "request", and the like.
また、プログラムに記述された命令に従ったCPUの処理を、省略した文言で記載することがある。例えば、「CPU21が行う」「プログラム24が行う」「外部仲介装置12が行う」のように記載することがある。CPU41についても同様である。また、通信I/F、ユーザI/Fを通じてプログラムが情報の入出力を行うことを、省略した文言で記載することがある。例えば、「CPU21が受信する」、「プログラム24が送信する」、「外部仲介装置12が取得する」のように記載することがある。
In addition, the processing of the CPU according to the instruction described in the program may be described in abbreviated wording. For example, it may be described as "performed by the CPU 21", "performed by the
また、本明細書中の「データ」と「情報」とは、コンピュータによって取り扱い可能なビットあるいはビット列である点において共通する。「データ」とは、各ビットが示す意味内容をコンピュータが考慮することなく取り扱えるものを指す。これに対して、「情報」とは、各ビットが示す意味内容によってコンピュータの動作が分岐するものを指す。なお、実質的な意味内容が同じでフォーマットが異なる「データ」は、同一のデータとして扱われるものとする。「情報」についても同様である。さらに、「指示」は、送信先の装置に対して次の動作を促すための制御信号であって、情報を含んでいることもあるし、それ自体が情報としての性質を有していることもある。 Further, "data" and "information" in the present specification are common in that they are bits or bit strings that can be handled by a computer. "Data" refers to data that can be handled without the computer considering the meaning and content of each bit. On the other hand, "information" refers to information in which the operation of a computer branches depending on the meaning and content indicated by each bit. It should be noted that "data" having the same substantial meaning and content but different formats shall be treated as the same data. The same applies to "information". Further, the "instruction" is a control signal for prompting the destination device to perform the next operation, may include information, and has the property of information itself. There is also.
また、「データ」及び「情報」は、形式(例えば、テキスト形式、バイナリ形式、フラグ形式等)がコンピュータ毎に変更されたとしても、同一の意味内容と認識される限り、同一のデータ及び情報として取り扱われる。例えば、「2つ」であることを示す情報が、あるコンピュータではASCIIコードで”0x32”というテキスト形式の情報として保持され、別のコンピュータでは二進数表記で”10”というバイナリ形式の情報として保持されてもよい。 Further, "data" and "information" are the same data and information as long as they are recognized as having the same meaning even if the format (for example, text format, binary format, flag format, etc.) is changed for each computer. Treated as. For example, information indicating that there are "two" is retained as text format information "0x32" in ASCII code on one computer, and as binary format information "10" in binary notation on another computer. May be done.
但し、上記の「データ」及び「情報」の区別は厳密なものではなく、例外的な取り扱いも許容される。例えば、データが一時的に情報として扱われてもよいし、情報が一時的にデータとして扱われてもよい。また、ある装置ではデータとして扱われるものが、他の装置では情報として扱われてもよい。さらには、データの中から情報が取り出されてもよいし、情報の中からデータが取り出されてもよい。 However, the above distinction between "data" and "information" is not strict, and exceptional handling is permitted. For example, the data may be temporarily treated as information, or the information may be temporarily treated as data. Further, what is treated as data in one device may be treated as information in another device. Furthermore, information may be extracted from the data, or data may be extracted from the information.
<プログラムの基本的な処理内容>
以下、図3〜図6を参照して、外部仲介装置12の第1プログラム24、及び、プリンタ14の第2プログラム34が実行する処理について説明する。なお、詳しくは後述するが、外部仲介装置12とプリンタ14との情報送受信においては、外部仲介装置12は、基本的に、指示などの情報を、プリンタ14から受信したHTTPリクエストに対するHTTPレスポンスに含める形で、プリンタ14へと送信する。そのため、プリンタ14は、定期的にHTTPリクエストを外部仲介装置12に送信している。なお、ファイアウォールは、プリンタ14からのHTTPリクエストに対するHTTPレスポンス以外は、外部仲介装置12からプリンタ14への送信を遮断する。
<Basic processing contents of the program>
Hereinafter, the processes executed by the
<プリンタの登録>
まず、プリンタ14のデバイスIDを外部仲介装置12のメモリ22に記憶された対応データベースに登録し、管理システム10の管理を開始する処理について、図3を参照して説明する。
<Printer registration>
First, a process of registering the device ID of the
まず、プリンタ14の第2プログラム34は、例えば、第2プログラム34が初回起動されて第2プログラム34の初期設定が実行された場合、若しくは、担当者が入力した、管理対象とするプリンタ14を管理システム10に登録することを指示する登録指示にしたがって、若しくは、外部仲介装置12の第1プログラム24から送信された登録指示を受信した場合に、自己のデバイスID及びメモリ32に記憶された自己のGUIDを含むHTTPリクエストを外部仲介装置12に送信する(ステップS14)。なお、本願明細書において、「担当者」とは、例えば、各支店においてプリンタ14の管理を行う者であって、外部仲介装置12を操作する管理者とは相違する者である。
First, the
プリンタ14の第2プログラム34が送信したデバイスID及びGUIDを含むHTTPリクエストは、外部仲介装置12により受信される(ステップS14)。外部仲介装置12の第1プログラム24は、デバイスID及びGUIDを受信すると、受信したデバイスIDが対応データベースに既に登録されているか否かを判断し、登録されていないと判断すると、受信したデバイスID及びGUIDを用いて新たなレコードを対応データベースに登録する(ステップS15)。
The HTTP request including the device ID and GUID transmitted by the
なお、このフローチャートでは図示を省略しているが、外部仲介装置12の第1プログラム24は、デバイスIDを受信したことを示す応答を含むHTTPレスポンスを、ステップS14で受信したHTTPリクエストの応答として、プリンタ14に返信する。あるいは、外部仲介装置12の第1プログラム24は、対応データベースに登録したデバイスIDを含むHTTPレスポンスを、ステップS14で受信したHTTPリクエストの応答として、プリンタ14に返信してもよい。
Although not shown in this flowchart, the
このとき、上記のようにしてデータベースに新たに追加されたレコードにおいては、項目「管理状況情報」には、初期値の「待機中」が記憶される。図2の例では、デバイスID「009」のプリンタ14を示すレコードが、新たに追加されたレコードである。「待機中」であるレコードが示すプリンタ14は、まだ管理サーバ11には登録されていない。すなわち、管理システム10の管理対象とはなっていない、仮の登録状態であると言える。なお、管理対象となったプリンタ14を示すレコードは、「管理状況情報」が「待機中」から「管理中」に変更されている。
At this time, in the record newly added to the database as described above, the initial value "waiting" is stored in the item "management status information". In the example of FIG. 2, the record indicating the
なお、外部仲介装置12の第1プログラム24は、受信したデバイスIDが既に対応データベースに登録されていると判断すると、受信したデバイスIDが対応データベースに登録済みである旨を示す応答を、プリンタ14に返信する。
When the
図3に戻り、次に、外部仲介装置12の第1プログラム24は、削除指示が入力されたか否かを判断する(ステップS16)。削除指示は、例えば、管理者が外部仲介装置12に入力する指示である。例えば、第1プログラム24は、レコードを生成して対応データベースに登録したことを外部仲介装置12のディスプレイに表示させる。ディスプレイを確認した管理者は、対応データベースを外部仲介装置12のディスプレイに表示させ、「待機中」のデバイスIDが示すプリンタ14が、管理すべき対象のプリンタ14であるか否かを判断する。管理者は、管理システム10によって管理すべき対象でないプリンタ14のデバイスIDを対象に削除指示を入力する。すなわち、対応データベースに登録されるデバイスIDが適正か否かは、外部仲介装置12において管理者によって確認される。
Returning to FIG. 3, the
外部仲介装置12の第1プログラム24は、削除指示が入力されたと判断すると(ステップS16:Yes)、削除指示がされたレコードを対応データベースから削除する(ステップS17)。一方、外部仲介装置12の第1プログラム24は、削除指示が入力されていないと判断すると、ステップS17の処理をスキップする。
When the
次に、外部仲介装置12の第1プログラム24は、管理システム10の管理を開始する管理開始指示が入力されるまで待機する(ステップS18:No)。第1プログラム24は、管理開始指示が入力されたと判断すると(ステップS18:Yes)、コマンドを管理サーバ11に送信する(ステップS19)。当該コマンドは、対応データベースに登録されたデバイスIDを付帯情報として含む。また、当該コマンドは、付帯するデバイスIDを管理対象のプリンタ14のデバイスIDとして登録することを管理サーバ11に要求するコマンドである。
Next, the
なお、外部仲介装置12の第1プログラム24は、ステップS18において、管理の開始を拒否する旨の指示の入力を受け付けてもよい。その場合、第1プログラム24は、ステップS22において、管理の開始を拒否する旨の指示が入力されたことを示すHTTPレスポンスをプリンタ14の第2プログラム34に送信する。第2プログラム34は、当該HTTPレスポンスを受信した場合に、管理の開始を拒否する旨の指示が外部仲介装置12において入力されたことを示す情報を、例えばプリンタ14に設けたディスプレイに表示させる。担当者は、ディスプレイに表示された情報により、管理の開始を拒否する旨の指示が外部仲介装置12において入力されたことを確認することができる。
The
外部仲介装置12が送信した上記コマンドは、管理サーバ11によって受信される(ステップS19)。コマンドを受信した管理サーバ11は、受信したコマンドに含まれるデバイスIDを不図示のメモリに記憶する。すなわち、管理サーバ11は、受信したコマンドに含まれるデバイスIDを、管理対象のプリンタ14のデバイスIDとして登録する。その後、管理サーバ11は、コマンドに含まれるデバイスIDを登録した旨を示す応答を、インターネット15を通じて外部仲介装置12に返信する(ステップS20)。
The command transmitted by the
管理サーバ11が返信した応答は、外部仲介装置12によって受信される(ステップS20)。外部仲介装置12の第1プログラム24は、管理サーバ11からの応答を受信した場合に、管理システム10の管理を開始する(ステップS21)。具体的には、図2に示されるデータベースの項目「管理状況情報」を、「待機中」から「管理中」に変更する。
The response returned by the management server 11 is received by the external mediator 12 (step S20). When the
次に、外部仲介装置12の第1プログラム24は、プリンタ14が定期的に送信するHTTPリクエストに対するHTTPレスポンスとして、「管理中」であるデバイスID、すなわち、管理を開始したプリンタ14のデバイスIDを、プリンタ14に送信する(ステップS22)。このとき、S17で削除されたデバイスIDは、送信されない。
Next, the
なお、外部仲介装置12の第1プログラム24は、ステップS14で受信したHTTPリクエストの応答として、ステップS22のHTTPレスポンスをプリンタ14に送信してもよい。その場合、タイムアウトが生じないように、ステップS16及びステップS17の処理が省略されることが望ましい。
The
なお、このフローチャートでは図示を省略しているが、プリンタ14の第2プログラム34は、管理を開始したデバイスIDを受信すると(ステップS22)、管理を開始したデバイスIDをメモリ42に記憶する。第2プログラム34は、管理を開始したデバイスIDを受信したことを、例えばプリンタ14に設けたディスプレイに表示させるなどして、担当者に認識させる。担当者は、メモリ42に記憶されたデバイスIDをプリンタ14のディスプレイに表示させ、当該プリンタ14への管理が開始されたこと確認することができる。なお、外部仲介装置12の管理者は、メモリ22に記憶された対応データベースを外部仲介装置12のディスプレイに表示させることにより、管理を開始されたプリンタ14を確認することができる。また、外部仲介装置12の管理者は、ブラウザを用いて、管理サーバ11に記憶されたデータをディスプレイに表示させることにより、管理を開始されたプリンタ14を確認することもできる。
Although not shown in this flowchart, when the
<管理サーバからの指示で実行する処理(ステータス報告以外)>
次に、項目「管理状況情報」が「管理中」であるレコードのデバイスIDを有するプリンタ14に対しては、管理サーバ11からの指示に応じたコマンドが入力される。すなわち、管理サーバ11によってプリンタ14の管理が行われる。この管理の詳細を、図4及び図5を参照して詳しく説明する。なお、管理サーバ11への指示は、ブラウザを用いて管理者が管理サーバ11に入力する。
<Processes executed according to instructions from the management server (other than status report)>
Next, a command corresponding to an instruction from the management server 11 is input to the
まず、管理サーバ11は、インターネット15を通じて、第1指示コマンドを外部仲介装置12に送信する(ステップS31)。第1指示コマンドは、プリンタ14に実行させる指示に応じた指示を外部仲介装置12に実行させるコマンドである。第1指示コマンドは、指示を実行させるプリンタ14を特定するためのデバイスIDを付帯情報として含む。
First, the management server 11 transmits the first instruction command to the external
第1指示コマンドは、例えば、この例では、プリンタ14に所望の印刷を行わせる旨の指示、設定情報(図2)の「フォント」「フォントサイズ」「濃度」などの各項目についてプリンタ14の設定値を変更する旨の指示、プリンタ14の第2プログラム34のファームバージョン(図2)を更新する旨の指示、等の実行を外部仲介装置12に指示するコマンドである。なお、プリンタ14の現在のステータス情報を返信することを要求する指示である場合については、別途後述する。ただし、第1指示コマンドが指示する内容は、これらの例に限られない。
The first instruction command is, for example, in this example, an instruction to cause the
外部仲介装置12の第1プログラム24は、管理サーバ11が送信した第1指示コマンドを受信する(ステップS31)。
The
外部仲介装置12の第1プログラム24は、第1指示コマンドを受信した場合に(ステップS31)、第1指示コマンドを受信した旨を示す通知を管理サーバ11に送信する(ステップS32)。
When the
外部仲介装置12の第1プログラム24は、第1指示コマンドを受信すると(ステップS31)、第1指示コマンドに含まれるデバイスIDと対応付けられたGUIDを、対応データベースから特定する(ステップS33)。すなわち、第1プログラム24は、指示を送信すべきプリンタ14の第2プログラム34をGUIDによって特定する。具体的には、第1プログラム24は、第1指示コマンドに含まれるデバイスIDを有するレコードを対応データベース上で特定し、特定したレコードにおける項目「GUID」のGUIDを、対応するGUIDとして特定する。
When the
次に、外部仲介装置12の第1プログラム24は、第1指示コマンドの指示に応じた第2指示コマンドを生成する(ステップS34)。第2指示コマンドは、プリンタ14に入力可能なコマンドであって、第1指示コマンドが指示する内容に応じて生成されるコマンドである。第2指示コマンドは、第1指示コマンドに含まれるデバイスIDを付帯情報として含む。
Next, the
なお、図2では図示省略しているが、外部仲介装置12のメモリ22のデータ記憶領域29は、第1コマンドリストを記憶している。第1コマンドリストは、第1指示コマンドと第2指示コマンドとの対応が示されている。外部仲介装置12の第1プログラム24は、ステップS31で受信した第1指示コマンドに対応する第2指示コマンドを第1コマンドリストから決定し、決定した第2指示コマンドに、第1指示コマンドに含まれるデバイスIDを付帯情報として含ませて、第2指示コマンドを生成する(ステップS34)。
Although not shown in FIG. 2, the
また、上記同様図示省略しているが、外部仲介装置12の第1プログラム24は、第1指示コマンドが示す指示が、プリンタ14へのファイル送信である場合、送信対象のファイルを管理サーバ11に要求する。要求を受信した管理サーバ11は、ファイルを外部仲介装置12に送信する。第1プログラム24は、ファイルを受信し、メモリ22に記憶する。例えば、プリンタ14に設定変更を指示するテキストが含まれるファイル、新しいバージョンの第2プログラム34のプログラムファイル、等が送信対象のファイルの例である。第1プログラム24は、管理サーバ11からファイルを受信した場合、ステップS34にて、フィルのダウンロードをプリンタ14の第2プログラムに指示する第2指示コマンドを生成する。
Further, although not shown above, the
外部仲介装置12の第1プログラム24は、第2指示コマンドの生成後、プリンタ14からのHTTPリクエストを受信するまで待機する。
The
一方、プリンタ14の第2プログラム34は、予めメモリ32に記憶された送信タイミングになったか否かを判断する(ステップS35)。なお、送信タイミングは、例えば、10秒間隔や15秒間隔や、20秒間隔など、数秒間隔から数十秒間隔に設定される。
On the other hand, the
プリンタ14の第2プログラム34は、送信タイミングになったと判断すると(ステップS35:Yes)、自己のGUIDを含むHTTPリクエストを外部仲介装置12に送信する(ステップS36)。このリクエストは「GetAction」とも称され、後述のように、プリンタ14へ所望の処理の実行を指示する処理実行指示の有無を外部仲介装置12に問い合わせるものである。
When the
外部仲介装置12の第1プログラム24は、プリンタ14が送信したHTTPリクエストを受信する(ステップS36)。第1プログラム24は、受信したHTTPリクエストに含まれるGUIDが、ステップS3で決定したGUIDと一致するか否かを判断する(ステップS37)。すなわち、第1プログラム24は、HTTPリクエストを送信したプリンタ14が、ステップS34で生成した第2指示コマンドを送信すべきプリンタ14であるか否かを判断する。
The
外部仲介装置12の第1プログラム24は、ステップS36で受信したHTTPリクエストに含まれるGUIDとステップS33で決定したGUIDとが一致しないと判断すると(ステップS37:No)、第2指示コマンドを含まないHTTPレスポンスを送信する(ステップS38)。このステップS38で送信されるHTTPレスポンスは、ステップS36で送信されたHTTPリクエストを受信できたことのみを示す。
If the
一方、外部仲介装置12の第1プログラム24は、ステップS36で受信したHTTPリクエストに含まれるGUIDとステップS33で決定したGUIDとが一致すると判断すると(ステップS37:Yes)、第2指示コマンドを含むHTTPレスポンスを送信する(ステップS39)。すなわち、外部仲介装置12は、プリンタ14からのHTTPリクエストに対するHTTPレスポンスに上記第2指示コマンドを含ませることにより、ファイアウォールを通じて第2指示コマンドをプリンタ14に送信する。このレスポンスは「BrActionInfo」とも称される。またこのとき、外部仲介装置12には、処理の実行を指示済であることを記録するリストを備えている。外部仲介装置12の第1プログラム24は、上記のように第2指示コマンドを送信したとき、上記リストに、当該第2指示コマンドにより対応する処理の実行が指示されたことを記録する。
On the other hand, when the
プリンタ14の第2プログラム34は、外部仲介装置12が送信したHTTPレスポンスを受信する(ステップS38,S39)。第2プログラム34は、受信したHTTPレスポンスに第2指示コマンドが含まれているか否かを判断する(ステップS40)。第2プログラム34は、受信したHTTPレスポンスに第2指示コマンドが含まれていないと判断すると(ステップS40:No)、ステップS35に戻って定期的なHTTPリクエストの送信を継続する。
The
なお、このフローチャートでは図示を省略しているが、ステップS39で受信した第2指示コマンドがファイルのダウンロードを示すコマンドである場合、プリンタ14の第2プログラム34は、ファイルの送信要求を含むHTTPリクエストを外部仲介装置12に送信する。当該HTTPリクエストを受信した外部仲介装置12の第1プログラム24は、HTTPリクエストに含まれるコマンドに応じて、ファイルを含むHTTPレスポンスをプリンタ14に送信する。プリンタ14の第2プログラム34は、HTTPレスポンスに含まれるファイルを受信する。なお、ファイルは、第2指示コマンドに含めて送信されてもよい。この場合、第2プログラム34から第1プログラム24へ、ファイルの送信要求は送信されない。
Although not shown in this flowchart, when the second instruction command received in step S39 is a command indicating file download, the
なお、プリンタ14の第2プログラム34は、ステップS39で受信した第2指示コマンドが示す指示が、設定情報の変更やファームバージョンの更新であるか、ステータス情報の取得であるか(後述の例の場合)を、第2指示コマンドに付帯されたステータス要求フラグで判断してもよい。例えば、外部仲介装置12の第1プログラム24は、ステップS31で受信した第1指示コマンドがステータス情報を要求する指示である場合、「ON」に設定されたステータス要求フラグを第2指示コマンドに付帯させる。
In the
一方、プリンタ14の第2プログラム34は、受信したHTTPレスポンスに第2指示コマンドが含まれていると判断すると(ステップS40:Yes)、第2指示コマンドを受信したことを示す通知(以下、「受信通知」とも記載する)を含むHTTPリクエストを外部仲介装置12に送信する(ステップS41)。このレスポンスは「DeleteDevice」とも称される。外部仲介装置12の第1プログラム24は、受信通知を含む、上記HTTPリクエストを受信する(ステップS41)。すなわち、第2プログラム34は、第2指示コマンドを受信したことを外部仲介装置12に通知する。この通知の意義は、以下のとおりである。
On the other hand, when the
すなわち、このフローチャートでは図示を省略しているが、第1プログラム24は、受信通知を含むHTTPリクエストを所定の時間内に受信しないと判断すると、プリンタ14から定期的に送信されるHTTPリクエストのHTTPレスポンスとして、第2指示コマンドをプリンタ14に再送する。そして、第1プログラム24は、受信通知を含むHTTPリクエストを受信した場合に、受信通知を受信したことを示すHTTPレスポンスをプリンタ14に返信する。
That is, although not shown in this flowchart, if the
すなわち、プリンタ14の第2プログラム34は、上記受信通知を受信しなければ、第2指示コマンドに対応する応答(後述のステップS55,S62参照)を受信するまで、プリンタ14が第2指示コマンドを受信できたか否かを判断することができない。その結果、第2指示コマンドに対応する応答を受信するまでの時間が、第2指示コマンドを再送信するまでの時間として決められた所定の時間を超え、プリンタ14が第2指示コマンドを受信しているにも拘わらず、外部仲介装置12が第2指示コマンドを再送してしまうことが生じ得る。そこで、プリンタ14の第2プログラム34は、第2指示コマンドに対応する応答(ステップS55,S62)を送信するより前に、受信通知を外部仲介装置12に送信する(ステップS41)。これにより、プリンタ14が第2指示コマンドを受信しているにも拘わらず、外部仲介装置12が第2指示コマンドを再送してしまうことが防止される。
That is, if the
なお、このフローチャートでは図示を省略しているが、外部仲介装置12の第1プログラム24は、プリンタ14が送信したこのHTTPリクエストを受信すると、前述のリストから、対応する第2指示コマンドの記録を削除する。そして、第1プログラム24は、上記第2指示コマンドの記録を削除したことを示す通知をプリンタ14に送信する。このレスポンスは「BrResponseBasicInfo」とも称される。
Although not shown in this flowchart, when the
プリンタ14の第2プログラム34は、ステップS41の処理の実行後、第2指示コマンドが示す指示を実行する(ステップS52)。例えば、第2指示コマンドがプリンタ14に所望の印刷を行わせる旨の指示である場合、第2プログラム34は、印刷エンジン51により、被印刷媒体への印刷を実行する。また、第2指示コマンドが設定情報(図2)の「フォント」や「フォントサイズ」や「濃度」などの各項目についてプリンタ14の設定を変更する旨の指示である場合、第2プログラム34は、「フォント」や「フォントサイズ」や「濃度」などの設定値を、第2指示コマンドに含まれる設定値で変更する。また、第2指示コマンドが、ファームバージョンを更新する旨の指示である場合、第2プログラム34は、第2指示コマンドに含まれるプログラムで自己を更新する。このステップS52での処理は「Actionの実行」とも称され、前述のように受信した処理実行指示に対応する処理を実行するものである。
The
次に、プリンタ14の第2プログラム34は、第2指示コマンドが示す指示を自らが実行できたか否かを判断する(ステップS54)。
Next, the
第2指示コマンドが示す指示を実行できなかったと判断した場合(ステップS54:No)は、第2プログラム34は、第1エラー情報を含むHTTPリクエストを外部仲介装置12に送信する(ステップS55)。このとき送信されるHTTPリクエストは、プリンタ14が外部仲介装置12に定期的に送信するHTTPリクエストであってもよいし、定期的に送信するHTTPリクエストとは別に送信するHTTPリクエストであってもよい。
When it is determined that the instruction indicated by the second instruction command cannot be executed (step S54: No), the
なお、前述の図2では図示を省略したが、プリンタ14のメモリ42のデータ記憶領域49は、上記第1エラーコードと、エラーの内容との対応が示された第1エラー対応リストが記憶されている。プリンタ14の第2プログラム34は、エラーの内容と対応する第1エラーコードを第1エラー対応リストから決定し、決定した第1エラーコードと、デバイスIDとを含む第1エラー情報を生成し、生成した第1エラー情報をHTTPリクエストに含めて送信する(ステップS55)。
Although not shown in FIG. 2, the
送信された第1エラー情報は、外部仲介装置12によって受信される(ステップS55)。外部仲介装置12の第1プログラム24は、受信した第1エラー情報に基づいて、第2エラー情報を生成する(ステップS56)。第2エラー情報は、管理サーバ11が認識できる形式の第2エラーコードを含む。前述の図2では図示を省略したが、外部仲介装置12のメモリ22のデータ記憶領域29は、第1エラーコードと、第2エラーコードとの対応を示す第2エラー対応リストを記憶する。第1プログラム24は、第1エラーコードと対応する第2エラーコードを第2エラー対応リストから決定し、決定した第2エラーコードと、第1エラー情報に含まれるデバイスIDとを含む第2エラー情報を生成する(ステップS56)。
The transmitted first error information is received by the external mediator 12 (step S55). The
外部仲介装置12の第1プログラム24は、ステップS56で生成した第2エラー情報を、受信した第1指示コマンド(ステップS31)の応答として、管理サーバ11に送信する(ステップS57)。送信された第2エラー情報は、管理サーバ11によって受信される(ステップS57)。管理サーバ11は、第2エラー情報を受信すると、第2エラー情報を受信したことを示す受信応答を送信する。送信された受信応答は、外部仲介装置12によって受信される(ステップS58)。
The
一方、上記ステップS54において、プリンタ14の第2プログラム34は、第2指示コマンドが指示する内容をプリンタ14が実行できたと判断した場合(ステップS54:Yes)は、HTTPリクエストを定期的に送信する送信タイミングになるまで待機する(ステップS61:No)。送信タイミングになったと判断すると(ステップS61:Yes)、第2プログラム34は、第2指示コマンドが指示する内容をステップS52で実行した後の、ステータス情報を含むHTTPリクエストを、ステップS39で受信した第2指示コマンドの応答として、外部仲介装置12に送信する(ステップS62)。なお、このときのステータス情報は、設定情報やファームバージョンなどである。このリクエストは「EnrollNotification」とも称され、前述の実行処理での処理実行結果を送信するものである。
On the other hand, in step S54, when the
なお、このフローチャートでは図示を省略しているが、外部仲介装置12の第1プログラム24は、ステータス情報を含むHTTPリクエストを受信した後(ステップS62)、当該HTTPリクエストを受信したことを示す旨を、当該HTTPリクエストのHTTPレスポンスとして、プリンタ14に送信する。このレスポンスは「BrResponseBasicInfo」とも称される。
Although not shown in this flowchart, it indicates that the
上記のようにプリンタ14から外部仲介装置12へ定期的に送信するHTTPリクエストにステータス情報を含ませることにより、定期的に送信するHTTPリクエストとは別にステータス情報を送信する場合に比べ、プリンタ14と外部仲介装置12との間の通信回数を低減することができる。なお、第2プログラム34は、定期的に送信するHTTPリクエストとは別のHTTPリクエストに、変更後のステータス情報を含ませて外部仲介装置12に送信してもよい。その場合、定期的に送信するHTTPリクエストにステータス情報を含ませる場合よりも、ステータス情報を迅速に外部仲介装置12に送信することができる。
By including the status information in the HTTP request that is periodically transmitted from the
外部仲介装置12の第1プログラム24は、変更後のステータス情報を、第2指示コマンドの応答として受信する(ステップS62)。第1プログラム24は、ステータス情報を受信すると、対応データベース(図2)の設定情報やファームバージョンなどの値を、受信したステータス情報で上書きする(ステップS63)。
The
次に、外部仲介装置12の第1プログラム24は、第1指示コマンドが示す指示をプリンタ14が実行したこと、及び、ステップS62で受信したステータス情報、を含む設定完了情報を生成する。そして、生成した設定完了情報を、ステップS31で受信した第1指示コマンドの応答として、管理サーバ11に送信する(ステップS64)。設定完了情報は、例えば、管理サーバ11に入力可能なコマンドであって、ステータス情報を付帯情報として有するコマンドである。なお、外部仲介装置12の第1プログラム24は、設定完了情報とは別に、S62で受信したステータス情報を管理サーバ11に送信してもよい。すなわち、設定を行った旨と、設定後のステータス情報とが、別個に管理サーバ11に送信されてもよい。
Next, the
管理サーバ11は、設定完了情報をインターネット15を通じて受信すると(ステップS64)、設定完了情報を受信したことを示す受信応答を外部仲介装置12に送信する(ステップS65)。外部仲介装置12の第1プログラム24は、管理サーバ11が送信した受信応答を受信し(ステップS65)、処理を終了する。
When the management server 11 receives the setting completion information via the Internet 15 (step S64), the management server 11 transmits a reception response indicating that the setting completion information has been received to the external intermediary device 12 (step S65). The
<管理サーバからの指示なしで定期的にステータス報告>
上述では、管理サーバ11からの第1指示コマンドに応じて、外部仲介装置12の第1プログラム24及びプリンタ14の第2プログラム34が実行する処理について説明した。以下では、外部仲介装置12の第1プログラム24及びプリンタ14の第2プログラム34が、管理サーバ11からの指示に拠らず、プリンタ14のステータス情報を定期的に送信する処理について、図6を参照して説明する。
<Regular status report without instructions from the management server>
In the above description, the processing executed by the
まず、プリンタ14の第2プログラム34は、定期のステータス取得タイミングになるまで待機する(ステップS71:No)。定期のステータス取得タイミングは、例えば、1時間ごとや、12時間ごとや、24時間ごとなどである。すなわち、定期のステータスタイミングは、前述した、HTTPリクエストを定期的に送信する送信タイミングよりも、長い期間となっている。この理由は、以下のとおりである。すなわち、プリンタ14にステータス情報を返信させる処理を実行させると、プリンタ14において電力が消費される。したがって、定期のステータス取得タイミングが秒単位や分単位であると、バッテリ50の消耗が増大する。定期のステータス取得タイミングを1時間や12時間や24時間などの時間単位とすることにより、バッテリ50の消耗を抑えることができる。
First, the
また、定期のステータス取得タイミングを時間単位とすることは、以下のような別の意義もある。すなわち、プリンタ14の第2プログラム34は、電源回路の駆動を停止させる休眠化機能、いわゆるスリープ機能を有する場合がある。定期のステータス取得タイミングを1時間や12時間や24時間などの時間単位とすることにより、スリープ機能で休眠状態になっているプリンタ14が、駆動回路が直流電圧を出力する駆動状態に頻繁に復帰させられることを抑えることができる。その結果、バッテリ50の消耗が抑えられ、プリンタの使用者の違和感を抑制することができる。プリンタ14の使用者の違和感とは、プリンタ14を休眠状態にしてもすぐに駆動状態になってしまうことを意味する。
In addition, setting the periodic status acquisition timing as an hour unit has the following other significance. That is, the
プリンタ14の第2プログラム34は、定期のステータス取得タイミングになったと判断すると(ステップS71:Yes)、HTTPリクエストを外部仲介装置12に送信する送信タイミングになったか否かを判断する(ステップS74)。第2プログラム34は、送信タイミングになっていないと判断すると(ステップS74:No)、ステップS71の処理を再度実行する。一方、第2プログラム34は、送信タイミングになったと判断すると(ステップS74:Yes)、定期的に取得することを試みるステータス情報を、プリンタ14内の各部から取得できているか否かを判断する(ステップS75)。
When the
プリンタ14の第2プログラム34は、ステータス情報を取得できていないと判断すると(ステップS75:No)、ステータス情報を取得できなかったことを示す第3エラー情報を生成し、生成した第3エラー情報を含むHTTPリクエストを外部仲介装置12に送信する(ステップS76)。なお、第3エラー情報は状態情報の一例である。このステップS76での処理内容については、後に詳細に説明する。
なお、このとき送信される第3エラー情報を含むHTTPリクエストは、定期的に送信されるHTTPリクエストとは別のHTTPリクエストに含められてもよい。すなわち、第2プログラム34は、ステータス情報を取得できていないと判断すると、送信タイミングを待たずに、第3エラー情報を含むHTTPリクエストを外部仲介装置12に送信してもよい。なお、第1プログラム24は、第3エラー情報を含むHTTPリクエストを受信すると(ステップS76)、当該HTTPリクエストを受信したことを示す応答をプリンタ14に送信する(ステップS78)。
When the
The HTTP request including the third error information transmitted at this time may be included in an HTTP request different from the HTTP request transmitted periodically. That is, if the
また、外部仲介装置12の第1プログラム24は、第3エラー情報を含むHTTPリクエストを受信すると(ステップS76)、対応データベースを更新しないことに決定し、また、第3エラー情報に応じた情報を管理サーバ11に送信しないことに決定する(ステップS77)。すなわち、第1プログラム24は、管理サーバ11から入力された第1指示コマンドに応じた指示をプリンタ14が実行しない場合は前述のように第2エラー情報を生成し管理サーバ11に送信する一方で、定期的に取得することを試みるステータス情報を取得できない場合は第3エラー情報を管理サーバ11に送信しない。これにより、エラー情報が管理サーバ11に頻繁に送信されることが抑制される。
Further, when the
一方、上記ステップS75において、プリンタ14の第2プログラム34がステータス情報を取得できていると判断すると(ステップS75:No)、当該ステータス情報を含むHTTPリクエストを外部仲介装置12に送信する(ステップS79)。このリクエストは「UpdateDevice」とも称され、プリンタ14の状態が変化した場合に、当該変化した状態に関わる上記ステータス情報を、外部仲介装置12へ送信するものである。このステップS79での処理内容については、後に詳細に説明する。なお、このときのステータス情報は状態情報の一例である。なお、ステータス情報を含む上記HTTPリクエストは、定期的に送信されるHTTPリクエストとは別のHTTPリクエストに含められてもよい。すなわち、第2プログラム34は、ステータス情報を受信したと判断すると、送信タイミングを待たずに、ステータス情報を含むHTTPリクエストを外部仲介装置12に送信してもよい。
On the other hand, in step S75, when it is determined that the
外部仲介装置12の第1プログラム24は、プリンタ14が送信したステータス情報を含むHTTPリクエストを受信すると(ステップS79)、HTTPリクエストを受信したことを示すHTTPレスポンスをプリンタ14に送信する(ステップS80)。このレスポンスは「BrResponseBasicInfo」とも称される。
When the
また、外部仲介装置12の第1プログラム24は、ステータス情報を含むHTTPリクエストを受信すると(ステップS79)、受信したステータス情報で対応データベースの項目を更新する(ステップS81)。また、第1プログラム24は、ステータス情報を含むHTTPリクエストを受信した日時で、対応データベースの項目「更新日時」の日時を更新する。これにより、外部仲介装置12の管理者は、対応データベースを外部仲介装置12のディスプレイに表示させることにより、項目「更新日時」を確認し、ステータス情報が更新された日時、及び、プリンタ14と通信を行えた最新の日時を認識することができる。
When the
そして、外部仲介装置12の第1プログラム24は、更新したステータス情報及び更新日時を付帯情報とするコマンドを管理サーバ11に送信する(ステップS82)。管理サーバ11は、ステータス情報及び更新日時を付帯情報とするコマンドを受信すると(ステップS82)、受信したステータス情報及び更新日時を不図示のメモリに記憶し、ステータス情報及び更新日時を受信したことを示す応答を外部仲介装置12に送信する(ステップS83)。したがって、管理者は、管理サーバ11に記憶された情報をブラウザを用いて外部仲介装置12のディスプレイに表示させることにより、あるいは、外部仲介装置12のメモリ22に記憶された対応データベースをディスプレイに表示させることにより、ステータス情報を受信した最新の日時を確認することができる。
Then, the
<管理サーバからの指示でステータス報告>
すなわち、管理サーバ11が送信する第1指示コマンドによるプリンタ14への指示が、プリンタ14のステータス情報の送信を要求する指示である場合である。この場合、外部仲介装置12の第1プログラム24は、定期的に取得するステータス情報を、第1指示コマンドに対する応答として管理サーバ11に送信する。このような例を、前述の図4及び図6を参照して説明する。
<Status report according to instructions from the management server>
That is, the instruction to the
すなわち、前述した図4において、前述したステップS31〜ステップS38の実行を経た後、プリンタ14の第2プログラム34は、プリンタ14のステータス情報を返信することを要求する第2指示コマンドを外部仲介装置12から受信する(ステップS39)。このレスポンスは「StatusCode」とも称される。その後、第2プログラム34は、第2指示コマンドを受信したことを示す通知を含むHTTPリクエストを外部仲介装置12に送信する(ステップS41)。
That is, in FIG. 4 described above, after the execution of steps S31 to S38 described above, the
その後、図6に移り、第2プログラム34は、定期のステータス取得タイミングになるまで待機する(ステップS71:No)。
After that, the process proceeds to FIG. 6, and the
プリンタ14の第2プログラム34は、定期のステータス取得タイミングになったと判断すると(ステップS71:Yes)、前述同様、HTTPリクエストを外部仲介装置12に送信する送信タイミングになったか否かを判断し、送信タイミングになったと判断すると(ステップS74:Yes)、プリンタ14内の各部から取得したステータス情報を含むHTTPリクエストを、第2指示コマンドの応答として外部仲介装置12に送信する(ステップS76,S79)。
When the
外部仲介装置12の第1プログラム24は、ステータス情報を含むHTTPリクエストを受信してHTTPレスポンスを返信(ステップS80)した後、受信したステータス情報で対応データベースを更新するとともに(ステップS81)、第1指示コマンドの応答として、ステータス情報を管理サーバ11に送信する(ステップS82)。
The
管理サーバ11は、送信した第1指示コマンドの応答として、ステータス情報を受信し(ステップS82)、ステータス情報を受信したことを示す応答をインターネット15を通じて外部仲介装置12に送信する(ステップS83)。
The management server 11 receives the status information as a response of the transmitted first instruction command (step S82), and transmits a response indicating that the status information has been received to the external
外部仲介装置12の第1プログラム24は、ステータス情報を受信したことを示す応答を受信し(ステップS83)、処理を終了する。
The
<状態情報の送信態様を可変に設定>
以上の基本構成及び動作において、第2プログラム34は、前述したステップS76及びステップS79において、状態情報としての第3エラー情報及びステータス情報を送信する際、その送信態様を可変とする。その詳細を順を追って説明する。なお、ステップS76及びステップS79に限らず、前述のステップS62において同様の手法を実行するようにしてもよい。
<Variable setting of status information transmission mode>
In the above basic configuration and operation, the
例えば、ステップS79で外部仲介装置12へ送信したステータス情報がそれ以前に送信した内容と異なっていた場合、すなわちプリンタ14の状態に何らかの変化が生じていた場合がある。このような場合には、外部仲介装置12に接続されている管理サーバ11においてその変化後のステータス情報に対応した適宜の表示が行われる。ステップS76で第3エラー情報が外部仲介装置12へ送信された場合も、同様に、管理サーバ11において当該エラーに対応した適宜の表示が行われる。なお、以下適宜、上記ステータス情報及び第3エラー情報等を総称して、単に「状態情報」という。上記の表示により、管理者は、プリンタ14において何らかの状態変化が生じたことを認識することができる。
For example, there is a case where the status information transmitted to the external
このとき、管理サーバ11における表示態様は、管理サーバ11の仕様、言い換えれば当該モバイル管理システムの仕様、によって種々異なる場合がある。そのため、プリンタ14から外部仲介装置12への上記状態情報の送信時において、単純に、状態変化が生じる都度対応する状態情報を外部仲介装置12へ順次送信する手法とすると、管理サーバ11での表示を見る管理者にとって利便性が悪い場合が生じ得る。以下、このことを図7及び図8に示す比較例により説明する。
At this time, the display mode on the management server 11 may differ depending on the specifications of the management server 11, in other words, the specifications of the mobile management system. Therefore, when the
<第1比較例>
例えば、管理サーバ11が、最新の状態情報を、その前の状態情報の上に被さるようにポップアップ表示する仕様である場合があり得る。このような仕様の場合、プリンタ14から複数の状態情報が順次送信されたとき、その送信された順に沿って、後発の状態情報が先発の状態情報の上に順次覆いかぶさるように表示される。例えば、図7(a)に示すように、まず、被印刷媒体としての用紙の残量が少ないことを表すステータス情報がプリンタ14の第2プログラム34によって取得され、プリンタ14から外部仲介装置12へ送信された場合を想定する。この場合、管理サーバ11に備えられた表示部11Aに、上記ステータス情報に対応した「もうすぐ用紙なくなります」のメッセージのポップアップ表示が行われる。表示部11Aは、表示手段の一例である。なお、本願明細書では、ポップアップ表示は、一度表示部11A上に表示されると、例えば管理者が管理サーバ11において適宜の確認操作又は解除操作等を行わない限り、消失することなく継続表示される場合を例示して説明する。
<First comparative example>
For example, the management server 11 may have a specification of popping up and displaying the latest state information so as to cover the previous state information. In the case of such specifications, when a plurality of state information is sequentially transmitted from the
その後、図7(b)に示すように、印刷エンジン51の印刷機能等に障害が生じたことを表すシステムエラーのステータス情報が第2プログラム34によって取得されプリンタ14から送信された場合、表示部11Aには「システムエラー」のメッセージのポップアップ表示が行われる。その際、上述のように、後発のステータス情報に対応した「システムエラー」のメッセージが、先発のステータス情報に対応した「もうすぐ用紙なくなります」のメッセージ上に覆いかぶさるように表示される。この場合は、先発の用紙残量少というステータス情報の内容の重要度が低く、後発のシステムエラーというステータス情報の内容の重要度が高い。したがって、図7(b)に示すように重要度の高い後発のステータス情報が表示されることで重要度の低い先発のステータス情報が隠蔽されても、あまり問題はない。
After that, as shown in FIG. 7B, when the status information of the system error indicating that the printing function of the
<第2比較例>
これに対して、上記とは逆に、図8(a)及び図8(b)に示すように、先にシステムエラーのステータス情報が取得されて送信され、その後に用紙残量少のステータス情報が取得されて送信された場合を想定する。この場合、図示のように、後発のステータス情報に対応した「もうすぐ用紙なくなります」のメッセージが、先発のステータス情報に対応した「システムエラー」のメッセージ上に覆いかぶさるように表示される。しかしながら、この場合は、先発のシステムエラーというステータス情報の内容の重要度が高く、後発の用紙残量少というステータス情報の内容の重要度が低い。したがって、図8(b)に示すように重要度の低い後発のステータス情報が表示されることで重要度の高い先発のステータス情報が隠蔽されて管理者が見逃しやすくなり、不便である。したがって、この場合にはプリンタ14から外部仲介装置12への情報送信時に、上記弊害を回避するための何らかの工夫が望ましい。
<Second comparative example>
On the other hand, contrary to the above, as shown in FIGS. 8A and 8B, the system error status information is first acquired and transmitted, and then the status information of the remaining amount of paper is low. Is acquired and sent. In this case, as shown in the figure, the message "Soon to run out of paper" corresponding to the later status information is displayed so as to cover the "System error" message corresponding to the earlier status information. However, in this case, the content of the status information such as the system error of the starting lineup is highly important, and the content of the status information of the low remaining amount of paper is low. Therefore, as shown in FIG. 8B, displaying the status information of the latecomers with low importance hides the status information of the starting pitchers with high importance, which is inconvenient for the administrator to easily overlook. Therefore, in this case, it is desirable to take some measures to avoid the above-mentioned adverse effects when transmitting information from the
<その他比較例>
一方、上記とは異なり、管理サーバ11が、プリンタ14から複数の状態情報が順次送信されたときにそれら複数の状態情報を一覧表示する場合もある(図示省略)。この仕様の場合には、上記のように第2プログラム34が、単純に、状態変化が生じる都度、対応する状態情報を取得して順次外部仲介装置12へ送信する手法であったとしても、上記のような管理者にとっての見にくさの問題は生じない。
<Other comparative examples>
On the other hand, unlike the above, the management server 11 may display a list of the plurality of status information when the plurality of status information is sequentially transmitted from the printer 14 (not shown). In the case of this specification, even if the
<本実施形態における送信態様の設定>
上記に対応するために、前述したステップS76及びステップS79において、本実施形態の第2プログラム34により実行される、状態情報の送信態様の可変設定を含む処理の詳細を、図9に示すフローチャートにより説明する。なお、この図9に示す処理は、図4〜図6に示す処理とは別に、同時並行してプリンタ14の第2プログラム34によって実行される。
<Setting of transmission mode in this embodiment>
In order to correspond to the above, in step S76 and step S79 described above, the details of the process including the variable setting of the state information transmission mode executed by the
すなわち、まず、プリンタ14の第2プログラム34は、管理サーバ11の表示部11Aの表示仕様に関する仕様情報を、外部仲介装置12を介し取得する(ステップS110)。このステップS110は仕様情報取得手順の一例であり、ステップS110で実行する処理は仕様情報取得処理の一例である。その後、第2プログラム34は、取得された表示部11Aの仕様情報の内容が「最新の状態情報を、その前の状態情報の上に被さるようにポップアップ表示する仕様」であるか否かを判断する(ステップS111)。
That is, first, the
<ポップアップ表示の仕様であった場合(その1)>
表示部11Aの仕様情報が、上記「最新の状態情報を、その前の状態情報の上に被さるようにポップアップ表示する仕様」であった場合(ステップS111:Yes)の処理の一例を図10に示す。
<If the specifications are for pop-up display (1)>
FIG. 10 shows an example of processing when the specification information of the
図10において、プリンタ14の第2プログラム34は、前述のようにこの時点でプリンタ14内各部から取得された上記状態情報を、重要度に応じて分類する(ステップS120)。重要度の高い状態情報とは、管理者又は担当者がただちにプリンタ14に対し適宜の処置を行う必要がある状態を表すものであり、前述したシステムエラーのほか、被印刷媒体がなくなったこと、等がある。重要度の低い状態情報とは、管理者又は担当者がただちにプリンタ14に対し処置を行うほどではないものの、その後の状況に注意しておくべき状態を表すものであり、前述した被印刷媒体の残量が少なくなったことのほか、バッテリ50の充電切れ、等がある。このステップS120では、取得された状態情報を、例えば、重要度高、重要度低、を含む複数区分に分類する。なお、このステップS120で実行する処理は状態情報分類処理の一例である。
In FIG. 10, the
その後、プリンタ14の第2プログラム34は、上記ステップS120における分類結果が「重要度高」への分類であったか否かを判断する(ステップS130)。なお、ステップS130が態様設定手順の一例であり、ステップS130で実行する処理が態様設定処理の一例である。プリンタ14の第2プログラム34は、「重要度高」への分類であった場合は(ステップS130:Yes)当該状態情報を外部仲介装置12へ送信し(ステップS170)、その後、このフローを終了する。「重要度高」への分類でなかった場合は(ステップS130:No)状態情報の送信を行うことなくそのままこのフローを終了する。なお、ステップS170が状態情報送信手順の一例であり、ステップS170で実行する処理が状態情報送信処理の一例である。
After that, the
<管理サーバの表示遷移>
上記図10の処理が行われる場合に管理サーバ11の表示部11Aで行われる表示の一例を、前述の図7及び図8にそれぞれ対応する図11及び図12を用いて、前述の比較例と対比しつつ説明する。
<Display transition of management server>
An example of the display performed by the
まず、前述の図7(a)と同様、用紙残量少のステータス情報が取得された場合を図11(a)に示す。この場合、用紙残量少のステータス情報の内容は前述のように重要度が低いため(ステップS103:No)、第2プログラム34によって外部仲介装置12へ送信されることはない。したがって、管理サーバ11の表示部11Aにはポップアップ表示は特に表示されない。
First, as in the case of FIG. 7A described above, the case where the status information of the low remaining amount of paper is acquired is shown in FIG. 11A. In this case, since the content of the status information of the low remaining amount of paper is of low importance as described above (step S103: No), it is not transmitted to the external
その後、前述の図7(b)と同様、システムエラーのステータス情報が取得された場合を図11(b)に示す。この場合、システムエラーのステータス情報の内容は前述のように重要度が高いため(ステップS103:Yes)、第2プログラム34によって外部仲介装置12へ送信される(ステップS170)。この結果、管理サーバ11の表示部11Aには、「システムエラー」のメッセージのポップアップ表示が行われる。その際、図7(b)のように重なった2つのポップアップ表示において「システムエラー」のメッセージが手前側に表示されるのとは異なり、「システムエラー」のメッセージが単独でポップアップ表示される。
After that, as in FIG. 7 (b) described above, the case where the system error status information is acquired is shown in FIG. 11 (b). In this case, since the content of the system error status information is of high importance as described above (step S103: Yes), it is transmitted to the external
一方、前述の図8(a)と同様、先にシステムエラーのステータス情報が取得された場合を図12(a)に示す。この場合、上述したようにシステムエラーのステータス情報は重要度が高いため(ステップS103:Yes)外部仲介装置12へ送信され(ステップS170)、表示部11Aは「システムエラー」のポップアップ表示が行われる。
On the other hand, as in FIG. 8 (a) described above, the case where the system error status information is acquired first is shown in FIG. 12 (a). In this case, since the status information of the system error is of high importance as described above (step S103: Yes), it is transmitted to the external intermediary device 12 (step S170), so that the
その後、前述の図8(b)と同様、用紙残量少のステータス情報が取得された場合を図12(b)に示す。この場合、上述したように用紙残量少のステータス情報の内容は重要度が低いため(ステップS103:No)外部仲介装置12へ送信されない。したがって、管理サーバ11の表示部11Aでは、上記「システムエラー」のポップアップ表示のみが引き続き行われることとなる。
After that, as in FIG. 8 (b) described above, the case where the status information of the low remaining amount of paper is acquired is shown in FIG. 12 (b). In this case, as described above, the content of the status information of the low remaining amount of paper is not transmitted to the external
<ポップアップ表示の仕様であった場合(その2)>
表示部11Aの仕様情報が、上記「最新の状態情報を、その前の状態情報の上に被さるようにポップアップ表示する仕様」であった場合(ステップS111:Yes)の処理の別の例を図13に示す。すなわち、上記図10に示した処理の例では、ステップS76又はステップS79で状態情報を送信する際、1つの状態を表す状態情報のみが取得されていた場合の処理の例を説明した。すなわち、図6の処理の実行開始後ステップS79で用紙残量少のステータス情報が送信され各処理を経てその回のシーケンスが終了した後、次の回のシーケンスのステップS79でシステムエラーのステータス情報が送信された。このような処理とは異なり、ステップS76又はステップS79で状態情報を送信する際、複数の状態情報が取得されていた場合に、それら複数の状態情報について、内容に応じて順番調整を行ってもよい。
<If the specifications are for pop-up display (Part 2)>
Another example of the process in the case where the specification information of the
図13において、プリンタ14の第2プログラム34は、前述と同様、取得されている状態情報を重要度に応じて分類する(ステップS120)。
In FIG. 13, the
その後、第2プログラム34は、上記の分類結果が「重要度高」への分類であった場合(ステップS130:Yes)は、状態情報の送信態様を「高優先度態様で送信する」に設定する(ステップS140)。上記の分類結果が「重要度低」への分類であった場合(ステップS130:No)は、第2プログラム34は、状態情報の送信態様を「低優先度態様で送信する」に設定する(ステップS150)。この例では、高優先度態様の送信態様とは、低優先度の状態情報よりも後の順序で送信する態様を表しであり、低優先度態様の送信態様とは、高優先度の状態情報よりも先の順序で送信する態様を表す。なお、この例では、ステップS130、ステップS140、ステップS150が態様設定手順の一例であり、ステップS130、ステップS140、ステップS150で実行する処理が態様設定処理の一例である。
After that, in the
プリンタ14の第2プログラム34は、この時点で取得している複数の状態情報すべてについて、上記ステップS140又はステップS150による送信態様の設定が完了したか否かを判断する(ステップS160)。すべての状態情報についての送信態様の設定が完了したら(ステップS160:Yes)、第2プログラム34は、低優先度の状態情報を先の順番、高優先度の状態情報を後の順番で外部仲介装置12へと送信する(ステップS171)。なお、この例では、ステップS171が状態情報送信手順の一例であり、ステップS171で実行する処理が状態情報送信処理の一例である。その後、このフローを終了する。
The
<管理サーバの表示遷移>
上記図13の処理が行われる場合に管理サーバ11の表示部11Aで行われる表示の一例を、図14及び図15を用いて説明する。
<Display transition of management server>
An example of the display performed by the
図14において、この例では、ステップS76又はステップS79で送信を実行する段階で、2つの状態情報、すなわち、用紙残量少のステータス情報とシステムエラーのステータス情報とが、この順番で取得されている。この場合、用紙残量少のステータス情報の内容は前述のように重要度が低い一方(ステップS130:No)、システムエラーのステータス情報の内容は前述のように重要度が高いため(ステップS130:Yes)。したがって、第2プログラム34によって、用紙残量少のステータス情報が先の順番で送信されるよう設定され(ステップS150)、システムエラーのステータス情報が後の順番で送信されるように設定される(ステップS140)。すなわちこの場合は、取得した順番と同じ順番で送信されるよう、セットされる。その結果、まず用紙残量少のステータス情報がプリンタ14から外部仲介装置12へ送信され、表示部11Aにおいて「もうすぐ用紙なくなります」のメッセージがポップアップ表示される。その後、システムエラーのステータス情報がプリンタ14から外部仲介装置12へ送信されて、「システムエラー」のメッセージが先の「もうすぐ用紙なくなります」のメッセージ上に覆いかぶさるようにポップアップ表示される。
In FIG. 14, in this example, at the stage of executing the transmission in step S76 or step S79, two status information, that is, the status information of the low remaining amount of paper and the status information of the system error are acquired in this order. There is. In this case, the content of the status information of low paper remaining is of low importance as described above (step S130: No), while the content of the status information of the system error is of high importance as described above (step S130: No). Yes). Therefore, the
一方、図15に示す例では、ステップS76又はステップS79で送信を実行する段階で、2つの状態情報、すなわち、システムエラーのステータス情報と用紙残量少のステータス情報とが、この順番で取得されている。前述のように、用紙残量少のステータス情報の内容は重要度が低くシステムエラーのステータス情報の内容は重要度が高い。そのため、用紙残量少のステータス情報が先の順番で送信されるよう設定され(ステップS150)、システムエラーのステータス情報が後の順番で送信されるように設定される(ステップS140)。すなわちこの場合は、取得した順番と逆の順番で送信されるよう、セットされる。その結果、前述と同様、用紙残量少のステータス情報が送信されて「もうすぐ用紙なくなります」のメッセージが表示され、システムエラーのステータス情報が送信されて「システムエラー」のメッセージが覆いかぶさるように表示される。 On the other hand, in the example shown in FIG. 15, at the stage of executing transmission in step S76 or step S79, two status information, that is, system error status information and low paper remaining status information are acquired in this order. ing. As described above, the content of the status information of low paper capacity is low in importance, and the content of the status information of system error is high in importance. Therefore, the status information of the low remaining amount of paper is set to be transmitted in the first order (step S150), and the status information of the system error is set to be transmitted in the latter order (step S140). That is, in this case, it is set so that it is transmitted in the reverse order of acquisition. As a result, as described above, the status information of low paper capacity is sent and the message "Soon to run out of paper" is displayed, and the status information of system error is sent so that the message of "System error" is overlaid. Is displayed.
図9に戻り、ステップS111において表示部11Aの仕様情報についてNo判定された場合、第2プログラム34は、当該仕様情報の内容が「複数の状態情報を重要度別に切替表示する仕様」であるか否かを判断する(ステップS112)。
Returning to FIG. 9, when No is determined for the specification information of the
<重要度別切替表示の仕様であった場合>
表示部11Aの仕様情報が、上記「複数の状態情報を重要度別に切替表示する仕様」であった場合(ステップS112:Yes)の処理の一例を図16に示す。
<When the specifications are for switching display by importance>
FIG. 16 shows an example of processing when the specification information of the
図16において、プリンタ14の第2プログラム34は、前述と同様、取得されている状態情報を重要度に応じて分類する(ステップS120)。その後、第2プログラム34は、上記の分類結果が「重要度高」への分類であった場合(ステップS130:Yes)は、状態情報の送信態様を「重要度高を付して送信する」に設定する(ステップS142)。上記の分類結果が「重要度低」への分類であった場合(ステップS130:No)は、第2プログラム34は、状態情報の送信態様を「重要度低を付して送信する」に設定する(ステップS152)。なお、この例では、ステップS130、ステップS142、ステップS152が態様設定手順の一例であり、ステップS130、ステップS142、ステップS152で実行する処理が態様設定処理の一例である。
In FIG. 16, the
その後、プリンタ14の第2プログラム34は、この時点で取得している全状態情報について送信態様の設定が完了したら(ステップS160:Yes)、それらの状態情報を外部仲介装置12へと同時送信する(ステップS172)。なお、同時送信でなく、適宜の順番で送信してもよい。なお、この例では、ステップS172が状態情報送信手順の一例であり、ステップS172で実行する処理が状態情報送信処理の一例である。その後、このフローを終了する。
After that, when the setting of the transmission mode for all the state information acquired at this time is completed (step S160: Yes), the
<管理サーバの表示遷移>
上記図16の処理が行われる場合に管理サーバ11の表示部11Aで行われる表示の一例を、図17を用いて説明する。
<Display transition of management server>
An example of the display performed by the
図17において、この例では、ステップS76又はステップS79で送信を実行する段階で、2つの状態情報、すなわち、用紙残量少のステータス情報とシステムエラーのステータス情報とが取得されている。なお、取得された順番は、どちらが先でどちらが後でもよい。この場合、用紙残量少のステータス情報の内容は重要度が低いため(ステップS130:No)、第2プログラム34によって、「重要度低」の情報が付されて送信されるよう設定される(ステップS152)。システムエラーのステータス情報の内容は重要度が高いため(ステップS130:Yes)、「重要度高」の情報が付されて送信されるように設定される(ステップS142)。なお、「重要度低」の情報及び「重要度高」の情報が、区分情報の一例である。
In FIG. 17, in this example, at the stage of executing the transmission in step S76 or step S79, two status information, that is, the status information of the low remaining amount of paper and the status information of the system error are acquired. It should be noted that the order of acquisition may be which comes first and which comes later. In this case, since the content of the status information of low paper remaining is of low importance (step S130: No), the
管理サーバ11の表示部11Aは、重要度別に複数の、この例では2つの表示画面を切り替え可能に備えている。すなわち、タブ11pを有する低重要度画面11aとタブ11qを有する高重要度画面11bとが備えられ、タブ11p,11qのいずれかを操作することでそれら低重要度画面11a及び高重要度画面11bを表示切替可能である。タブ11pを操作して表示される低重要度画面11aでは、「重要度低」の情報が付されて送信された用紙残量少のステータス情報に対応し、「もうすぐ用紙なくなります」のメッセージが表示される。タブ11qを操作して表示される高重要度画面11bでは、「重要度高」の情報が付されて送信されたシステムエラーのステータス情報に対応し、「システムエラー」のメッセージが表示される。
The
図9に戻り、ステップS112において表示部11Aの仕様情報についてNo判定された場合、第2プログラム34は、当該仕様情報の内容が「複数の状態情報すべてを一覧可能に並べて表示する仕様」であるか否かを判断する(ステップS113)。
Returning to FIG. 9, when No is determined for the specification information of the
<一覧表示の仕様であった場合>
表示部11Aの仕様情報が、上記「複数の状態情報すべてを一覧可能に並べて表示する仕様」であった場合(ステップS113:Yes)の処理の一例を図18に示す。なお、ステップS113がNo判定であった場合はプリンタ14の第2プログラム34は所定のエラー処理を行い(ステップS115)、このフローを終了する。
<If the specifications are for list display>
FIG. 18 shows an example of processing when the specification information of the
図18において、プリンタ14の第2プログラム34は、状態情報の送信態様を「発生順に送信する」に設定する(ステップS180)。なお、本変形例では、ステップS180が態様設定手順の一例であり、ステップS180で実行する処理が態様設定処理の一例である。
In FIG. 18, the
その後、プリンタ14の第2プログラム34は、この時点で取得している状態情報について発生順に外部仲介装置12へと順次送信する(ステップS190)。なお、本変形例では、ステップS190が状態情報送信手順の一例であり、ステップS190で実行する処理が状態情報送信処理の一例である。その後、このフローを終了する。
After that, the
<管理サーバの表示遷移>
上記図18の処理が行われる場合に管理サーバ11の表示部11Aが前述の一覧表示機能を備えている場合の表示の一例を、図19を用いて説明する。
<Display transition of management server>
An example of display when the
図19において、この例では、ステップS76又はステップS79で送信を実行する段階で、2つの状態情報、すなわち、用紙残量少のステータス情報とシステムエラーのステータス情報とが取得されている。なお、取得された順番は、どちらが先でどちらが後でもよい。この場合、表示部11Aには、用紙残量少のステータス情報に対応する「もうすぐ用紙なくなります」のメッセージと、システムエラーのステータス情報に対応する「システムエラー」のメッセージとが、横並びで一覧表示される。
In FIG. 19, in this example, at the stage of executing the transmission in step S76 or step S79, two state information, that is, the status information of the low remaining amount of paper and the status information of the system error are acquired. It should be noted that the order of acquisition may be which comes first and which comes later. In this case, the
上記図19の状態において、上記確認操作等が行われないまま、さらに次の回のシーケンスが再び実行され、ステップS76,S79で送信を実行する段階でさらにバッテリ50の充電量少のステータス情報が取得された場合を想定する。この場合表示部11Aには、上記「もうすぐ用紙なくなります」「システムエラー」のメッセージに加え、さらにバッテリ充電量少のステータス情報に対応する「もうすぐ充電切れます」のメッセージが横並びで一覧表示されることとなる
In the state of FIG. 19, the next sequence is executed again without performing the confirmation operation and the like, and the status information of the low charge amount of the
<実施形態の効果>
以上説明したように、本実施形態においては、ステップS110において、管理サーバ11の表示部11Aにおける表示仕様情報が取得される。その後、ステップS111、ステップS112、ステップS113での判断結果に応じて、外部仲介装置12に送信するときの状態情報の送信態様が可変に設定される。すなわち、ステップS111でYes判定の場合は図10又は図13で説明した態様、ステップS112でYes判定の場合は図13で説明した態様、ステップS113でYes判定の場合は図18で説明した態様で送信設定される。これにより、管理サーバ11の表示部11Aでの表示仕様がどのようなものであっても、プリンタ14から外部仲介装置12へと送信する状態情報を、その表示仕様に対応した送信態様で送信することができる。その結果、管理サーバ11の表示部11Aでは、前述のような不便を回避しつつ、常に最適な態様で状態情報を表示することができ、管理者にとっての利便性を向上することができる。
<Effect of embodiment>
As described above, in the present embodiment, the display specification information in the
また、本実施形態では特に、図10を用いて前述したように、プリンタ14の状態が変化した場合、変化した状態に係わる状態情報が重要度に応じた複数区分、前述の例では重要度高と重要度低とに分類される(ステップS120)。このように状態情報が複数区分に分類されることにより、各区分の重要度に応じて、個別に処理を変えることができる。
Further, in the present embodiment, as described above with reference to FIG. 10, when the state of the
また、本実施形態では特に、ステップS111がYes判定の場合、表示部11Aの表示仕様は、プリンタ14から順次送信された複数の状態情報に基づき最新の状態情報をそれ以前の状態情報よりも優先する仕様となっている。具体的には、前述の例では、最新の状態情報を、その前の状態情報の上に被さるようにポップアップ表示する仕様である。この場合、単純に、状態変化が生じる都度対応する状態情報をプリンタ14から順次外部仲介装置12へと送信する手法とすると、図8を用いて前述した比較例のように高い重要度の状態情報の見逃しの弊害が生じ得る。したがって、ステップS120、ステップS130、ステップS170において前述したような、状態情報を重要度に応じた複数区分に分類して各区分の重要度に応じ個別に処理を変える手法が、特に効果的となる。
Further, in the present embodiment, particularly when step S111 is a Yes determination, the display specification of the
また、本実施形態では特に、図10のステップS130及びステップS170に示したように、上記複数区分のうち特定の区分、前述の例では重要度高の区分に分類された状態情報を、外部仲介装置12へ送信する。これにより、少なくとも上記特定区分すなわち重要度高の区分に分類された状態情報については確実に管理サーバ11へ届くようにすることができる。
Further, in the present embodiment, as shown in steps S130 and S170 of FIG. 10, state information classified into a specific category among the above-mentioned plurality of categories and a category of high importance in the above-mentioned example is externally mediated. It is transmitted to the
また本実施形態では特に、図10に示したように、重要度が最も高い区分の状態情報(ステップS130:Yes)を外部仲介装置12へ送信し(ステップS170)、それ以外の状態情報(ステップS130:No)は送信しない。これにより、管理サーバ11の表示部11Aにおいて、重要度が高い最も高い区分に分類された状態情報を、それ以外の区分に分類された情報に邪魔されることなく、確実に表示することができる(図11(b)、図12(b))。この結果、当該重要度が最も高い区分の状態情報を確実に管理者に視認させて、その内容を認識させることができる。
Further, in the present embodiment, as shown in FIG. 10, the state information (step S130: Yes) of the category having the highest importance is transmitted to the external intermediary device 12 (step S170), and the other state information (step S170). S130: No) is not transmitted. As a result, on the
また、本実施形態では特に、図16を用いて前述したように、管理サーバ11は、各状態情報に対し、対応する区分を表す、重要度高の情報又は重要度低の情報を付して外部仲介装置12へ送信する。これにより、管理サーバ11は、表示部11Aにおいて、各状態情報を、付加されているのが重要度高の情報であるか重要度低の情報であるかに応じて個別に処理することができる。その結果、常に最適な態様で状態情報を表示することができ、利便性を向上することができる。
Further, in the present embodiment, as described above with reference to FIG. 16, the management server 11 attaches high-importance information or low-importance information indicating the corresponding classification to each state information. It is transmitted to the external
なお、上記図16を用いて前述した例では、各状態情報に付加されているのが重要度高の情報であるか重要度低の情報であるかに応じて、対応するメッセージを低重要度画面11aで表示するか高重要度画面11aで表示するのか、を切り替えたが、これに限られない。例えば、管理サーバ11が、重要度高の情報が付加された状態情報では表示部11Aで対応するメッセージの表示を行い、重要度低が情報が付加された情報ではメッセージの表示を行わない機能を備えるようにしてもよい。この場合、前述の例に沿えば、上記図11(a)で示した例と同様、用紙残量少のステータス情報が取得された場合には表示部11Aで表示は行われず、システムエラーのステータス情報が取得された場合には「システムエラー」のメッセージが表示される。すなわち、付加された情報に応じて、表示部11Aでの表示を行うか否か、表示するならどのような態様で表示するか、等を個別に切り替え可能となる。
In the above-described example using FIG. 16 above, the corresponding message has a low importance depending on whether the information with high importance or the information with low importance is added to each state information. It was switched between displaying on the
また本実施形態では特に、ステップS113がYes判定の場合、管理サーバ11の表示部11Aが複数の状態情報を一覧表示する機能を持つことにより、プリンタ14から複数の状態情報が順次送信されたとき、それらすべてを、漏れなく表示することができる。表示部11Aがこのように複数の状態情報を一覧表示する機能を備える場合には、図18に示すように、状態変化が生じた都度、対応する状態情報を外部仲介装置12へ順次送信するという、シンプルな手法とすることができる。
Further, in the present embodiment, particularly when the step S113 is a Yes determination, the
なお、本発明は、上記実施形態に限られるものではなく、その趣旨及び技術的思想を逸脱しない範囲内で種々の変形が可能である。以下、そのような変形例を順を追って説明する。 The present invention is not limited to the above embodiment, and various modifications can be made without departing from the spirit and technical idea. Hereinafter, such modification examples will be described step by step.
(1)過去の状態量の重要度に応じて送信を中止する場合
すなわち、本変形例では、今から送信しようとする状態情報の重要度よりも高い重要度の状態情報が既に外部仲介装置12へ送信済であった場合に、当該状態情報の外部仲介装置12への送信が中止される。
(1) When the transmission is stopped according to the importance of the past state quantity That is, in this modification, the state information having a higher importance than the state information to be transmitted from now on is already in the
例えば図13で示した処理においては、重要度が低い状態情報(S130:NO)と重要度が高い状態情報(S130:Yes)とが取得されているときに、低重要度の状態情報→高重要度の状態情報の順で送信した(ステップS171)。これに限られず、例えば直前回のフローの実行時にステップS171で送信済の状態情報の重要度が高かった場合には、今回の低重要度の状態情報については送信を中止して高重要度の状態情報のみを外部仲介装置12へ送信してもよい。
For example, in the process shown in FIG. 13, when the low importance state information (S130: NO) and the high importance state information (S130: Yes) are acquired, the low importance state information → high. It was transmitted in the order of importance status information (step S171). Not limited to this, for example, if the status information transmitted in step S171 is of high importance during the execution of the immediately preceding flow, the transmission of the status information of this low importance is stopped and the status information of high importance is high. Only the state information may be transmitted to the
あるいは、例えば図10で示した処理において、重要度が高いランクAと判断される状態情報(S130:Yes)が、詳細にはランクA1とランクA2とに分かれる場合を考える。この場合に、例えば直前回のフローのステップS170で送信済の状態情報がランクA1で、今回のフローでステップS170で送信しようとする状態情報がランクA2であった場合には、今回の状態情報については送信を中止してもよい。 Alternatively, for example, in the process shown in FIG. 10, a case where the state information (S130: Yes) determined to be rank A with high importance is divided into rank A1 and rank A2 in detail is considered. In this case, for example, if the status information transmitted in step S170 of the immediately preceding flow is rank A1 and the status information to be transmitted in step S170 in this flow is rank A2, the status information of this time is present. May be canceled.
上記の手法とすることで、本変形例においては、管理サーバ11の表示部11Aにおいて、先に発生した、より重要度の高い状態情報を、その後に発生した、それほど重要でない状態情報に邪魔されることなく、確実に表示することができる。この結果、当該重要度の高い状態情報を確実に管理者に視認させて、その内容を認識させることができる。
By adopting the above method, in this modification, in the
(2)表示部仕様情報に代えて仕様関連情報を用いる場合
すなわち、以上では、第2プログラム34が、管理サーバ11の表示部11Aの表示仕様情報をステップS110で取得し、それに応じて状態情報の送信態様を切り替えたが、これに限られない。すなわち、表示部11Aの仕様情報そのものではなく、間接的にその仕様情報を推測できる仕様関連情報をステップS1110で取得し、これに応じて状態情報の送信態様を切り替えるようにしてもよい。この仕様関連情報の例としては、例えば、管理サーバ11のURL、管理サーバ11に備えられた接続ポートのポート番号、管理サーバ11を使用する使用者ID等がある。これらのうちいずれか1つがわかれば、管理サーバ11の機種、性能等を特定でき、その結果、表示部11Aの表示仕様を間接的に検知することができる。あるいは、これらのうちのいくつかを組み合わせて使用してもよく、その場合は表示部11Aの表示仕様をより確実に検知することができる。これにより、前述の表示仕様情報の取得時と同様、その取得結果に応じて状態情報の態様を可変に設定し、常に最適な態様で状態情報を表示することができる。
(2) When the specification-related information is used instead of the display unit specification information That is, in the above, the
(3)その他
また、以上においては、プリンタ14がHTTPリクエストを送信し、外部仲介装置12がHTTPレスポンスを返信することにより、外部仲介装置12からプリンタ14へファイアウォールを通じて第2指示コマンドが送信される例を説明した。しかしながら、外部仲介装置12からプリンタ14へファイアウォールを通じて第2指示コマンドを送信可能であれば、他の通信プロトコルが用いられてもよい。例えば、外部仲介装置12とプリンタ14との間で、XMPPoverBOSHにしたがった通信プロトコルが用いられてもよい。外部仲介装置12からプリンタ14へ、XMPPoverBOSHのセッション開始リクエストを送信し、外部仲介装置12がセッション開始レスポンスを返信することで成立したセッション内の通信により、外部仲介装置12からプリンタ14へファイアウォールを通じて第2指示コマンドを送信することができる。
(3) Others In addition, in the above, the
また、以上においては、管理サーバ11による管理対象の電子機器として、印刷装置であるプリンタ14を例にとって説明したが、これに限られない。すなわち、外部仲介装置12に対して通信可能な電子機器であれば、例えば、デジタルカメラ、パーソナルコンピュータ、計測機器、時計、バーコードリーダ、スキャナ、ミシン、その他情報機器・通信機器・制御機器・各種機械等、に対しても本発明は適用でき、この場合も同様の効果を得る。
Further, in the above description, the
なお、以上において、図3〜図6、図9、図10、図13、図16、図18等に示すシーケンス及びフローチャートは本発明を上記フローに示す手順に限定するものではなく、発明の趣旨及び技術的思想を逸脱しない範囲内で手順の追加・削除又は順番の変更等をしてもよい。 In the above, the sequences and flowcharts shown in FIGS. 3 to 6, 9, 9, 10, 13, 16, 18, etc. do not limit the present invention to the procedure shown in the above flow, and the gist of the invention. And, the procedure may be added / deleted or the order may be changed within a range that does not deviate from the technical idea.
また、以上既に述べた以外にも、上記実施形態や各変形例による手法を適宜組み合わせて利用しても良い。 In addition to the above, the methods according to the above-described embodiment and each modification may be appropriately combined and used.
その他、一々例示はしないが、本発明は、その趣旨を逸脱しない範囲内において、種々の変更が加えられて実施されるものである。 In addition, although not illustrated one by one, the present invention is carried out with various modifications within a range not deviating from the gist thereof.
10 管理システム
11 管理サーバ
12 外部仲介装置
14 プリンタ(印刷装置の一例)
21 CPU
24 第1プログラム
34 第2プログラム
41 CPU(制御手段の一例)
51 印刷エンジン(印刷手段の一例)
10 Management system 11
21 CPU
24
51 Printing engine (an example of printing means)
Claims (12)
制御手段と、
を有し、
所望の表示を行う表示手段を備えた管理サーバとインターネットを通じて通信する外部仲介装置と通信する印刷装置であって、
前記制御手段は、
前記管理サーバの前記表示手段における、表示仕様情報又は当該表示仕様情報に関連する仕様関連情報を取得する仕様情報取得処理;
前記印刷装置の状態が変化した場合に送信する当該変化した状態に係わる状態情報の送信態様を、前記仕様情報取得処理で取得された前記表示仕様情報又は前記仕様関連情報に応じて可変に設定する態様設定処理;
前記印刷装置の前記状態の変化に対応した前記状態情報を、前記態様設定処理で設定された態様で前記外部仲介装置へ送信する状態情報送信処理;
を実行する
ことを特徴とする印刷装置。 A printing means for printing on a printing medium and
Control means and
Have,
A printing device that communicates with an external intermediary device that communicates with a management server equipped with a display means for performing a desired display via the Internet.
The control means
Specification information acquisition process for acquiring display specification information or specification-related information related to the display specification information in the display means of the management server;
The transmission mode of the state information related to the changed state to be transmitted when the state of the printing device changes is variably set according to the display specification information or the specification-related information acquired in the specification information acquisition process. Aspect setting process;
A state information transmission process for transmitting the state information corresponding to the change in the state of the printing device to the external intermediary device in the mode set in the mode setting process;
A printing device characterized by performing.
前記制御手段は、さらに、
前記印刷装置の状態が変化した場合に、当該変化した状態に係わる状態情報を、重要度に応じて複数区分に分類する状態情報分類処理;
を実行する
ことを特徴とする印刷装置。 In the printing apparatus according to claim 1,
The control means further
When the state of the printing device changes, the state information classification process for classifying the state information related to the changed state into a plurality of categories according to the importance;
A printing device characterized by performing.
前記仕様情報取得処理では、
前記状態情報送信処理によって前記印刷装置から順次送信された複数の前記状態情報に基づき最新の前記状態情報をそれ以前の前記状態情報よりも優先する仕様を表す、前記表示仕様情報を取得する
ことを特徴とする印刷装置。 In the printing apparatus according to claim 2.
In the specification information acquisition process,
Acquiring the display specification information representing a specification in which the latest state information is prioritized over the previous state information based on a plurality of the state information sequentially transmitted from the printing apparatus by the state information transmission process. A featured printing device.
前記態様設定処理では、
前記状態情報分類処理で用いられる前記複数区分のうち特定の区分に分類される前記状態情報を前記外部仲介装置へ送信する、前記送信態様を設定する
ことを特徴とする印刷装置。 In the printing apparatus according to claim 3,
In the mode setting process,
A printing apparatus for setting the transmission mode, which transmits the state information classified into a specific category among the plurality of categories used in the state information classification process to the external intermediary device.
前記態様設定処理では、
前記重要度が最も高い前記特定の区分に分類される前記状態情報のみを前記外部仲介装置へ送信し、前記特定の区分以外に分類される前記状態情報は前記外部仲介装置へ送信しない、前記送信態様を設定する
ことを特徴とする印刷装置。 In the printing apparatus according to claim 4,
In the mode setting process,
Only the state information classified into the specific category having the highest importance is transmitted to the external intermediary device, and the state information classified to other than the specific category is not transmitted to the external intermediary device. A printing apparatus characterized by setting an aspect.
前記態様設定処理では、
送信しようとする状態情報が分類される前記区分よりも重要度が高い前記区分に分類される前記状態情報が過去に発生している場合は、当該送信しようとする状態情報は前記外部仲介装置へ送信しない、前記送信態様を設定する
ことを特徴とする印刷装置。 In the printing apparatus according to any one of claims 3 to 5.
In the mode setting process,
If the state information classified into the category, which is more important than the category in which the state information to be transmitted is classified, has occurred in the past, the state information to be transmitted is sent to the external intermediary device. A printing apparatus that does not transmit and sets the transmission mode.
前記態様設定処理では、
前記状態情報に対し、対応する前記区分を表す区分情報を付加して前記外部仲介装置へ送信する、前記送信態様を設定する
ことを特徴とする印刷装置。 In the printing apparatus according to claim 2.
In the mode setting process,
A printing apparatus characterized in that the transmission mode is set, in which classification information representing the corresponding classification is added to the state information and transmitted to the external intermediary device.
前記仕様情報取得処理では、
前記状態情報送信処理によって前記印刷装置から順次送信された複数の前記状態情報に基づき前記状態情報に付された前記区分情報に応じて表示切替を行う仕様を表す、前記表示仕様情報を取得する
ことを特徴とする印刷装置。 In the printing apparatus according to claim 7.
In the specification information acquisition process,
Acquiring the display specification information representing a specification for switching the display according to the classification information attached to the state information based on a plurality of the state information sequentially transmitted from the printing apparatus by the state information transmission process. A printing device characterized by.
前記仕様情報取得処理では、
前記状態情報送信処理によって前記印刷装置から順次送信された複数の前記状態情報に基づきそれら複数の状態情報を一覧可能に表示する仕様を表す、前記表示仕様情報を取得する
ことを特徴とする印刷装置。 In the printing apparatus according to claim 1,
In the specification information acquisition process,
A printing apparatus characterized by acquiring the display specification information, which represents a specification for displaying a plurality of status information in a list based on a plurality of the status information sequentially transmitted from the printing apparatus by the status information transmission process. ..
前記態様設定処理では、
前記印刷装置の状態が変化した都度、対応する前記状態情報を前記外部仲介装置へ送信する、前記送信態様を設定する
ことを特徴とする印刷装置。 In the printing apparatus according to claim 9.
In the mode setting process,
A printing apparatus characterized in that the transmission mode is set, in which the corresponding state information is transmitted to the external intermediary device each time the state of the printing apparatus changes.
前記仕様関連情報は、
前記管理サーバのURL、前記管理サーバに備えられた接続ポートのポート番号、及び、前記管理サーバを使用する使用者IDのうちいずれか1つ、又はこれらの組み合わせである
ことを特徴とする印刷装置。 In the printing apparatus according to any one of claims 1 to 10.
The specification-related information is
A printing apparatus characterized in that it is any one of the URL of the management server, the port number of the connection port provided in the management server, and the user ID that uses the management server, or a combination thereof. ..
前記管理サーバの前記表示手段における、表示仕様情報又は当該表示仕様情報に関連する仕様関連情報を取得する仕様情報取得手順と、
前記電子機器の状態が変化した場合に送信する当該変化した状態に係わる状態情報の送信態様を、前記仕様情報取得手順で取得された前記表示仕様情報又は前記仕様関連情報に応じて可変に設定する態様設定手順と、
前記電子機器の前記状態の変化に対応した前記状態情報を、前記態様設定手順で設定された態様で前記外部仲介装置へ送信する状態情報送信手順と、
を実行させるための、通信処理プログラム。 For the computing means provided in the electronic device that communicates with the external intermediary device that communicates with the management server equipped with the display means that performs the desired display via the Internet.
A specification information acquisition procedure for acquiring display specification information or specification-related information related to the display specification information in the display means of the management server, and
The transmission mode of the state information related to the changed state to be transmitted when the state of the electronic device changes is variably set according to the display specification information or the specification-related information acquired in the specification information acquisition procedure. Aspect setting procedure and
A state information transmission procedure for transmitting the state information corresponding to the change in the state of the electronic device to the external intermediary device in the mode set in the mode setting procedure, and a state information transmission procedure.
Communication processing program to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020013940A JP2021120197A (en) | 2020-01-30 | 2020-01-30 | Printer and communication processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020013940A JP2021120197A (en) | 2020-01-30 | 2020-01-30 | Printer and communication processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021120197A true JP2021120197A (en) | 2021-08-19 |
Family
ID=77270192
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020013940A Pending JP2021120197A (en) | 2020-01-30 | 2020-01-30 | Printer and communication processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021120197A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024009642A1 (en) * | 2022-07-08 | 2024-01-11 | キヤノン株式会社 | Printing device, control method, and program |
-
2020
- 2020-01-30 JP JP2020013940A patent/JP2021120197A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024009642A1 (en) * | 2022-07-08 | 2024-01-11 | キヤノン株式会社 | Printing device, control method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10356254B2 (en) | Method of using a print server | |
CN103279182B (en) | Information processing system and information processing method | |
US9538472B2 (en) | Function performing apparatus | |
US8810819B2 (en) | Image forming system, image forming device, image forming method, and non-transitory computer readable medium | |
JP7081273B2 (en) | Programs and communication systems | |
EP2296316B1 (en) | Device management apparatus, device management system, device management program, and storage medium | |
CN110321086A (en) | Non-transitory computer readable recording medium and the method for controlling information processing unit | |
JP7131044B2 (en) | Program and communication system | |
JP7172108B2 (en) | Program and communication system | |
US20240086129A1 (en) | Server, control method, storage medium, and printing system | |
JP2021120197A (en) | Printer and communication processing program | |
EP2608520A1 (en) | Performing error notification and error recovery in an image forming apparatus | |
JP3501138B2 (en) | Data communication program, computer-readable recording medium recording data communication program, data communication device, and data communication method | |
US20110010718A1 (en) | Electronic device, information processing method, and computer program product having computer-readable information processing program | |
US11360722B2 (en) | Printing apparatus and non-transitory computer-readable storage medium | |
JP2021109356A (en) | Printing device and communication processing program | |
US9207886B2 (en) | Relaying device, relaying method, image processing apparatus, and image processing system | |
JP6417806B2 (en) | Image forming apparatus and program | |
JP2021111065A (en) | Printing device and communication processing program | |
JP2021109355A (en) | Printing device | |
JP6249114B2 (en) | Image forming system and program | |
US20220138011A1 (en) | Non-transitory computer-readable medium, management apparatus, relay apparatus and display control method | |
JP2023080737A (en) | Server system and computer program | |
JP2019133209A (en) | Image formation apparatus and backup system | |
JP2013006383A (en) | Printing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20200228 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20200228 |