JP6572785B2 - Network system, control device, and control method of control device - Google Patents
Network system, control device, and control method of control device Download PDFInfo
- Publication number
- JP6572785B2 JP6572785B2 JP2016010963A JP2016010963A JP6572785B2 JP 6572785 B2 JP6572785 B2 JP 6572785B2 JP 2016010963 A JP2016010963 A JP 2016010963A JP 2016010963 A JP2016010963 A JP 2016010963A JP 6572785 B2 JP6572785 B2 JP 6572785B2
- Authority
- JP
- Japan
- Prior art keywords
- printing
- printing apparatus
- state
- information
- status
- 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
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Description
本発明は、ネットワークシステム、制御装置、及び、制御装置の制御方法に関する。 The present invention relates to a network system, a control device , and a control method for the control device.
印刷装置(画像形成装置)の消費電力の低減化に関する技術が提案されている(例えば、特許文献1参照)。
また、印刷装置に通信可能な制御装置であって、適宜、印刷装置に、印刷部の状態に関する情報の応答を要求し、当該情報を取得する装置がある。
A technique relating to reduction in power consumption of a printing apparatus (image forming apparatus) has been proposed (see, for example, Patent Document 1).
In addition, there is a control device that can communicate with the printing apparatus, and appropriately requests the printing apparatus for a response to information regarding the state of the printing unit, and acquires the information.
制御装置の応答要求に応じて、印刷部の状態に関する情報の応答を行う印刷装置では、印刷装置がこのような処理を実行することを踏まえて、効率的に印刷装置の省電力化を図りたいとするニーズがある。
本発明は、上述した事情に鑑みてなされたものであり、制御装置の応答要求に応じて、印刷部の状態に関する情報の応答を行う印刷装置について、効率的に省電力化を図ることを目的とする。
In a printing apparatus that responds to information related to the status of the printing unit in response to a response request from the control apparatus, it is desirable to efficiently reduce the power consumption of the printing apparatus based on the fact that the printing apparatus executes such processing. There is a need to.
The present invention has been made in view of the above-described circumstances, and an object thereof is to efficiently save power in a printing apparatus that responds to information on the state of a printing unit in response to a response request from a control apparatus. And
上記目的を達成するために、本発明は、印刷部を有し、前記印刷部により記録媒体に印刷する印刷装置と、前記印刷装置と通信可能な制御装置とを備えるネットワークシステムであって、前記印刷装置は、前記印刷部の動作が制限されるスリープ状態ではない通常状態のときに、前記制御装置から、前記印刷部の状態に関する情報の応答を要求する応答要求データを受信した場合、前記印刷部の状態に関する情報を含む印刷装置状態情報データを前記制御装置に送信し、前記スリープ状態のときに、前記応答要求データを受信した場合、前記印刷装置状態情報データを送信せず、前記制御装置は、前記印刷装置の電源状態を監視し、前記印刷装置の電源がオンのときに前記印刷装置に前記応答要求データを送信した場合に、前記応答要求データに対応する応答として前記印刷装置状態情報データを受信しなった場合、前記印刷装置が前記スリープ状態であると判別することを特徴とする。
本発明の構成によれば、スリープ状態が継続する期間が不必要に低減することを抑制し、印刷装置における効率的な省電力化を図ることができる。
In order to achieve the above object, the present invention is a network system including a printing unit that has a printing unit and that prints on a recording medium by the printing unit, and a control device that can communicate with the printing device, When the printing apparatus receives response request data requesting a response of information related to the status of the printing unit from the control device in a normal state that is not a sleep state in which the operation of the printing unit is restricted, the printing device Printing apparatus status information data including information relating to the status of the printing unit is transmitted to the control apparatus, and the control apparatus does not transmit the printing apparatus status information data when the response request data is received in the sleep state. Monitors the power status of the printing apparatus, and transmits the response request data to the printing apparatus when the printing apparatus is powered on. When it becomes received the printing apparatus status information data as a response corresponding to, wherein said printing apparatus is determined to the a sleep state.
According to the configuration of the present invention, it is possible to suppress unnecessary reduction of the period during which the sleep state continues, and to achieve efficient power saving in the printing apparatus.
また、本発明は、前記印刷装置は、前記スリープ状態のときに、前記制御装置から、電源状態の確認に利用する電源状態応答要求データを受信した場合、前記スリープ状態から前記通常状態へ移行することなく、電源がオンされた状態であることを示す電源状態応答データを前記制御装置に送信し、前記制御装置は、前記印刷装置に対して前記電源状態応答要求データを送信し、前記電源状態応答要求データに対応する応答の状態に基づいて、前記印刷装置の電源状態を監視することを特徴とする。
本発明の構成によれば、制御装置は、印刷装置がスリープ状態であるか否かにかかわらず、印刷装置の電源状態を的確に監視できる。
Further, according to the present invention, when the printing apparatus receives power state response request data used for checking a power state from the control device in the sleep state, the printing apparatus shifts from the sleep state to the normal state. Without transmitting power state response data indicating that the power is on to the control device, the control device transmitting the power state response request data to the printing device, the power state The power supply state of the printing apparatus is monitored based on a response state corresponding to the response request data.
According to the configuration of the present invention, the control device can accurately monitor the power state of the printing apparatus regardless of whether the printing apparatus is in the sleep state or not.
また、本発明は、前記制御装置とネットワークを介して通信可能な情報処理装置をさらに備え、前記制御装置は、前記印刷装置から受信した前記印刷装置状態情報データに基づいて、前記印刷部の状態に関する印刷装置状態情報を前記情報処理装置に送信する一方、前記印刷装置が前記スリープ状態であると判別した場合、直近で送信した前記印刷装置状態情報と同一の内容の前記印刷装置状態情報を前記情報処理装置に送信し、前記情報処理装置は、前記制御装置から受信した前記印刷装置状態情報を管理することを特徴とする。
本発明の構成によれば、制御装置は、印刷装置がスリープ状態の場合に、通常状態へ移行させることなく省電力化を実現した上で、適切な内容の印刷装置状態情報を情報処理装置に送信することができる。
The present invention further includes an information processing device capable of communicating with the control device via a network, and the control device is configured to check the status of the printing unit based on the printing device status information data received from the printing device. When the printing apparatus status information is transmitted to the information processing apparatus, and the printing apparatus is determined to be in the sleep state, the printing apparatus status information having the same content as the most recently transmitted printing apparatus status information is The information processing apparatus transmits the information to the information processing apparatus, and the information processing apparatus manages the printing apparatus status information received from the control apparatus.
According to the configuration of the present invention, when the printing apparatus is in the sleep state, the control apparatus realizes power saving without shifting to the normal state, and then transmits the printing apparatus state information with appropriate contents to the information processing apparatus. Can be sent.
また、上記目的を達成するために、本発明は、印刷部を有し、前記印刷部により記録媒体に印刷する印刷装置と通信可能な制御装置であって、前記印刷装置の電源状態を監視し、前記印刷装置の電源がオンのときに前記印刷装置に前記印刷部の状態に関する情報の応答を要求する応答要求データを送信した場合に、前記応答要求データに対応する応答として前記印刷部の状態に関する情報を含む印刷装置状態情報データを受信しなった場合、前記印刷装置が前記印刷部の動作が制限されるスリープ状態であると判別する制御装置制御部を備えることを特徴とする。
本発明の構成によれば、スリープ状態が継続する期間が不必要に低減することを抑制し、印刷装置における効率的な省電力化を図ることができる。
In order to achieve the above object, the present invention is a control device having a printing unit and capable of communicating with a printing device that prints on a recording medium by the printing unit, and monitors a power supply state of the printing device. When the response request data for requesting a response of information related to the status of the printing unit is transmitted to the printing device when the printing device is powered on, the status of the printing unit as a response corresponding to the response request data And a control device controller that determines that the printing device is in a sleep state in which the operation of the printing unit is restricted when it does not receive the printing device state information data including the information regarding the printing device.
According to the configuration of the present invention, it is possible to suppress unnecessary reduction of the period during which the sleep state continues, and to achieve efficient power saving in the printing apparatus.
また、上記目的を達成するために、本発明は、制御装置と通信可能な印刷装置であって、記録媒体に印刷する印刷部の動作が制限されるスリープ状態ではない通常状態のときに、前記制御装置から、前記印刷部の状態に関する情報の応答を要求する応答要求データを受信した場合、前記印刷部の状態に関する情報を含む印刷装置状態情報データを前記制御装置に送信し、前記スリープ状態のときに、前記応答要求データを受信した場合、前記印刷装置状態情報データを送信しない印刷装置制御部を備えることを特徴とする。
本発明の構成によれば、スリープ状態が継続する期間が不必要に低減することを抑制し、印刷装置における効率的な省電力化を図ることができる。
In order to achieve the above object, the present invention provides a printing apparatus that can communicate with a control apparatus, and is in a normal state that is not a sleep state in which an operation of a printing unit that prints on a recording medium is restricted. When response request data requesting a response of information related to the state of the printing unit is received from the control device, printing device state information data including information related to the state of the printing unit is transmitted to the control device, and the sleep state When the response request data is received, a printing apparatus control unit that does not transmit the printing apparatus status information data is provided.
According to the configuration of the present invention, it is possible to suppress unnecessary reduction of the period during which the sleep state continues, and to achieve efficient power saving in the printing apparatus.
また、上記目的を達成するために、本発明は、印刷部を有し、前記印刷部により記録媒体に印刷する印刷装置と通信可能な制御装置の制御方法であって、前記印刷装置の電源状態を監視し、前記印刷装置の電源がオンのときに前記印刷装置に前記印刷部の状態に関する情報の応答を要求する応答要求データを送信した場合に、前記応答要求データに対応する応答として前記印刷部の状態に関する情報を含む印刷装置状態情報データを受信しなった場合、前記印刷装置が前記印刷部の動作が制限されるスリープ状態であると判別することを特徴とする。
本発明の構成によれば、スリープ状態が継続する期間が不必要に低減することを抑制し、印刷装置における効率的な省電力化を図ることができる。
In order to achieve the above object, the present invention provides a control method for a control device having a printing unit and capable of communicating with a printing device that prints on a recording medium by the printing unit, the power state of the printing device When response request data requesting a response of information related to the state of the printing unit is transmitted to the printing apparatus when the printing apparatus is powered on, the printing is performed as a response corresponding to the response request data. When printing apparatus state information data including information regarding the state of the printing unit is not received, the printing apparatus determines that the printing apparatus is in a sleep state in which the operation of the printing unit is restricted.
According to the configuration of the present invention, it is possible to suppress unnecessary reduction of the period during which the sleep state continues, and to achieve efficient power saving in the printing apparatus.
以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係るネットワークシステム1の構成を示す図である。ネットワークシステム1は、スーパーマーケットや、コンビニエンスストア、デパート、飲食店等の商品や、サービス等を提供し、当該提供に応じて会計が行われる店舗を運営する企業が利用するシステムである。
図1に示すように、ネットワークシステム1は、管理システム2と、複数の店舗システム3とを備える。管理システム2と、店舗システム3のそれぞれとは、インターネット、その他のネットワークを含んで構成されたグローバルネットワークGNを介して通信可能に接続される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing a configuration of a
As shown in FIG. 1, the
管理システム2は、ネットワークシステム1を利用する企業の本社に設けられたシステムである。図1に示すように、管理システム2は、ローカルネットワークである本社側ローカルネットワークHLNを備える。本社側ローカルネットワークHLNを介して行われる通信の通信規格は何でもよく、また、当該ローカルネットワークを介して行われる通信は有線通信でも無線通信でもよい。
The
本社側ローカルネットワークHLNには、1又は複数の本社端末5と、メンテナンスサーバー7(情報処理装置)と、通信装置12とが接続される。
本社端末5は、本社において、企業の社員、その他の企業の関係者が利用するコンピューターである。
メンテナンスサーバー7(情報処理装置)は、後述するエージェント端末6(制御装置)と通信し、所定の処理を実行するサーバーである。
メンテナンスサーバー7の構成、機能、及び、機能に基づく処理の詳細については後述する。
One or more
The
The maintenance server 7 (information processing apparatus) is a server that communicates with an agent terminal 6 (control apparatus) described later and executes predetermined processing.
Details of the configuration, functions, and processing based on the functions of the
通信装置12は、本社側ローカルネットワークHLNや、後述する店舗側ローカルネットワークTLN等のローカルネットワークと、グローバルネットワークGNとを接続するインターフェース装置である。通信装置12は、モデム(又は、ONU(Optical Network Unit))としての機能、ルーター機能、NAT(Network Address Translation)機能、及び、DHCP(Dynamic Host Configuration Protocol)サーバー機能等を有する。通信装置12は、ローカルネットワークに接続された機器と、グローバルネットワークGNに接続された機器との間で行われる通信に際し、機器間で送受信されるデータを転送する。なお、図1では、通信装置12を1つのブロックで表現するが、通信装置12は、機能に応じた複数の装置を有する構成でもよい。
管理システム2のメンテナンスサーバー7は、通信装置12の機能を利用して、本社側ローカルネットワークHLN、グローバルネットワークGN、及び、後述する店舗側ローカルネットワークTLNを介して、エージェント端末6と通信する。
The
The
なお、図1では、メンテナンスサーバー7を1つのブロックによって表現するが、これは、メンテナンスサーバー7が単一のサーバー装置により構成されることを意味するものではない。例えば、メンテナンスサーバー7は、複数のサーバー装置を含んで構成されたものでもよい。
In FIG. 1, the
図2は、店舗システム3の構成を示す図である。
図2に示すように、店舗システム3は、ローカルネットワークである店舗側ローカルネットワークTLNを備える。店舗側ローカルネットワークTLNを介して行われる通信の通信規格は何でもよく、また、当該ローカルネットワークを介して行われる通信は有線通信でも無線通信でもよい。
FIG. 2 is a diagram illustrating a configuration of the
As shown in FIG. 2, the
店舗側ローカルネットワークTLNには、1又は複数の印刷装置9が接続される。
店舗には、顧客が会計を行うレジカウンターが設けられ、レジカウンターには、印刷装置9と、印刷装置9に接続され、印刷装置9を制御するPOS端末8が設けられる。
POS端末8は、POSアプリケーション、及び、プリンタードライバーがインストールされた端末である。POS端末8は、レジカウンターで行われる会計に応じて会計処理を実行し、会計処理に基づいて、印刷装置9にレシートを発行させる。印刷装置9により発行されたレシートは、レジ担当者によって顧客に引き渡される。
印刷装置9、及び、POS端末8の構成、機能、及び、機能に基づく処理の詳細については後述する。
One or a plurality of
The store is provided with a cashier counter for customers to check out. The cashier counter is provided with a
The
Details of the configuration, functions, and processing based on the functions of the
また、店舗側ローカルネットワークTLNには、1又は複数のエージェント端末6が接続される。
エージェント端末6は、監視する対象の1又は複数の印刷装置9と店舗側ローカルネットワークTLNを介して通信し、印刷装置9の状態を監視し、印刷装置9の状態に関する情報をメンテナンスサーバー7に送信する機能を備える装置である。
エージェント端末6は、通信装置12の機能を利用して、店舗側ローカルネットワークTLN、グローバルネットワークGN、及び、本社側ローカルネットワークHLNを介して、メンテナンスサーバー7と通信する。
詳細な説明は省略するが、メンテナンスサーバー7と、エージェント端末6との間では、VPN(Virtual Private Network)等の、暗号化に係る技術や、仮想専用線(物理的な専用線であってもよい。)に係る技術によりセキュアな通信が行われる。
One or a plurality of
The
The
Although a detailed description is omitted, between the
図3は、管理システム2が備えるメンテナンスサーバー7、及び、本社端末5の機能的構成を示すブロック図である。
FIG. 3 is a block diagram illustrating functional configurations of the
図3に示すように、メンテナンスサーバー7は、メンテナンスサーバー制御部20と、メンテナンスサーバー記憶部21と、メンテナンスサーバー通信部22とを備える。
メンテナンスサーバー制御部20は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、メンテナンスサーバー7を制御する。
メンテナンスサーバー制御部20は、ステータスデータ受信部201、応答部202、分析部203、及び、情報提供部204を備える。これら機能ブロックは、CPUが、対応するプログラム(例えば、OS(Operating System)や所定のサーバーソフトウェア上で動作する専用のプログラム)を読み出して実行する等、ハードウェアとソフトウェアとの連携により処理を実行する。これら機能ブロックの機能、及び、機能に基づく処理については後述する。
メンテナンスサーバー記憶部21は、不揮発性メモリーを備え、各種データを記憶する。
メンテナンスサーバー通信部22は、メンテナンスサーバー制御部20の制御で、グローバルネットワークGNにアクセスし、当該ネットワークと接続する機器(エージェント端末6を含む。)と通信する。
As shown in FIG. 3, the
The maintenance
The maintenance
The maintenance
The maintenance
図3に示すように、本社端末5は、本社端末制御部30と、本社端末記憶部31と、本社端末通信部32と、本社端末表示部33とを備える。本社端末制御部30は、本社端末5を制御する。本社端末記憶部31は、各種データを記憶する。本社端末通信部32は、本社端末制御部30の制御で通信する。本社端末表示部33は、液晶パネル等の表示パネルを備え、本社端末制御部30の制御で、各種情報を表示する。
本社端末5には、所定のブラウザーがインストールされる。
As shown in FIG. 3, the
A predetermined browser is installed in the
図4は、店舗システム3が備えるPOS端末8、印刷装置9、及び、エージェント端末6の機能的構成を示すブロック図である。
FIG. 4 is a block diagram showing functional configurations of the
POS端末8は、印刷装置9を制御するホストコンピューターである。特に、POS端末8は、レジカウンターにおいて行われる会計に基づいて会計処理を実行し、会計処理に基づいてPOS端末8を制御して、POS端末8にレシートを発行させる。
図4に示すように、POS端末制御部40と、POS端末記憶部41と、POS端末デバイス通信部42と、を備える。
The
As shown in FIG. 4, a POS
POS端末制御部40は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、POS端末8の各部を制御する。POS端末8には、POSアプリケーション、及び、プリンタードライバーがインストールされる。POS端末制御部40は、POSアプリケーション、及び、プリンタードライバーの機能により、印刷装置9を制御する制御コマンドを生成して印刷装置9に送信し、印刷装置9を制御する。
POS端末記憶部41は、不揮発性メモリーを備え、各種データを記憶する。
POS端末デバイス通信部42は、USBの規格に従ったポートや、USB以外のシリアル通信規格(RS232C等)に従ったポート、所定のパラレル通信規格(IEEE1284等)に従ったポート、その他の通信規格に従ったポートを有するインターフェースボードを備える。POS端末デバイス通信部42は、POS端末制御部40の制御で、ポートに接続されたデバイス(印刷装置9を含む。)と、接続されたポートに対応する通信規格に従って通信する。なお、POS端末デバイス通信部42が無線通信機能を備え、デバイスと無線通信する構成でもよい。
The POS
The POS
The POS terminal
図3の例では、POS端末8に、デバイスとして、印刷装置9、バーコードスキャナーBS、カスタマーディスプレーCD、キャッシュドロアーKS、ディスプレーDPが接続される。
In the example of FIG. 3, a
本実施形態において、印刷装置9と、POS端末8とは、USBケーブルKBを介して接続される。POS端末デバイス通信部42は、POS端末制御部40の制御で、USBに従って、印刷装置9と通信する。
In the present embodiment, the
バーコードスキャナーBSは、商品や、商品の包装等に付されたバーコードを読み取り、読取結果を示すデータをPOS端末デバイス通信部42に出力する。POS端末デバイス通信部42は、バーコードスキャナーBSから入力されたデータを、POS端末制御部40に出力する。
カスタマーディスプレーCDは、液晶ディスプレー等の表示装置であり、POS端末制御部40の制御で、各種情報を表示する。カスタマーディスプレーCDは、カスタマーディスプレーCDに表示された情報が、レジカウンターで会計を行う顧客により視認できる位置に設けられる。
キャッシュドロアーKSは、現金を収容するトレイや、トレイをロックし、ロックを解除する機構、トレイを引き出す機構等を備え、POS端末制御部40の制御で、ロックを解除し、トレイを引き出す。
ディスプレーDPは、液晶表示パネル等の表示パネルを備え、POS端末制御部40の制御で、各種情報を表示する。ディスプレーDPは、ディスプレーDPに表示された情報が、レジカウンターで会計を担当するレジ担当者により視認できる位置に設けられる。
The barcode scanner BS reads a barcode attached to a product or product packaging, and outputs data indicating the read result to the POS terminal
The customer display CD is a display device such as a liquid crystal display, and displays various types of information under the control of the POS
The cash drawer KS includes a tray that stores cash, a mechanism that locks and unlocks the tray, a mechanism that pulls out the tray, and the like, and the lock is released and the tray is pulled out under the control of the POS
The display DP includes a display panel such as a liquid crystal display panel, and displays various types of information under the control of the POS
印刷装置9は、ロール紙を収容し、ロール紙にライン型のサーマルヘッドによってドットを形成することにより画像を印刷するラインサーマルプリンターである。
図4に示すように、印刷装置9は、印刷装置制御部60と、印刷部61と、印刷装置記憶部62と、印刷装置ネットワーク通信部63と、印刷装置デバイス通信部64と、を備える。
The
As illustrated in FIG. 4, the
印刷装置制御部60は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、印刷装置9の各部を制御する。
印刷装置制御部60は、ログ書込部601と、印刷装置状態管理部602と、動作モード制御部603と、印刷制御部604と、を備える。これら機能ブロックは、CPUが、対応するプログラム(例えば、ファームウェア)を読み出して実行する等、ハードウェアとソフトウェアとの連携により処理を実行する。これら機能ブロックの機能、及び、機能に基づく処理については後述する。
印刷部61は、印刷装置9の筐体に収容されたロール紙を搬送する搬送機構や、サーマルヘッドによりロール紙に印刷する印刷機構、カッターによりロール紙を切断する切断機構等を備える。印刷部61は、印刷装置制御部60の制御で、搬送機構によりロール紙を搬送しつつ、サーマルヘッドによりロール紙にレシートに係る情報を印刷し、カッターにより所定の位置でロール紙を切断して、レシートを発行することができる。
The printing
The printing
The
印刷装置記憶部62は、不揮発性メモリーを備え、各種データを記憶する。印刷装置記憶部62は、少なくとも、ログファイル621を記憶する。
The printing
印刷装置ネットワーク通信部63は、印刷装置制御部60の制御で、店舗側ローカルネットワークTLNを介して、エージェント端末6と所定の通信規格に従って通信する。また、印刷装置ネットワーク通信部63は、店舗側ローカルネットワークTLNに接続された機器と通信可する。
印刷装置ネットワーク通信部63は、コマンド分析部631を備える。コマンド分析部631については後述する。
The printing device
The printing apparatus
印刷装置デバイス通信部64は、印刷装置制御部60の制御で、POS端末8とUSBに従って通信する。
The printing device
エージェント端末6は、監視する対象の1又は複数の印刷装置9と店舗側ローカルネットワークTLNを介して通信して1又は複数の印刷装置9の状態を監視し、1又は複数の印刷装置9の状態に関する情報をメンテナンスサーバー7に送信する機能を備える装置である。
図4に示すように、エージェント端末6は、エージェント端末制御部80(制御装置制御部)と、エージェント端末記憶部81と、エージェント端末ネットワーク通信部82とを備える。
The
As shown in FIG. 4, the
エージェント端末制御部80は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、エージェント端末6の各部を制御する。
エージェント端末制御部80は、ステータスデータ生成部801と、対応処理実行部802とを備える。これら機能ブロックは、CPUが、対応するプログラム(例えば、メンテナンスサーバー7のサーバーソフトウェアに対応するクライアントソフトウェア)を読み出して実行する等、ハードウェアとソフトウェアとの連携により処理を実行する。これら機能ブロックの機能、及び、機能に基づく処理については後述する。
エージェント端末記憶部81は、不揮発性メモリーを備え、各種データを記憶する。エージェント端末記憶部81は、少なくとも、送信間隔設定ファイル811と、監視対象印刷装置管理ファイル812とを記憶する。
The agent
The agent
The agent
エージェント端末ネットワーク通信部82は、エージェント端末制御部80の制御で、店舗側ローカルネットワークTLNを介して印刷装置9と通信する。
また、エージェント端末ネットワーク通信部82は、エージェント端末制御部80の制御で、グローバルネットワークGNを介してメンテナンスサーバー7と通信する。
また、エージェント端末ネットワーク通信部82は、エージェント端末制御部80の制御で、店舗側ローカルネットワークTLNに接続された機器、及び、グローバルネットワークGNに接続された機器と通信する。
The agent terminal
The agent terminal
Further, the agent terminal
さて、ネットワークシステム1は、メンテナンスサーバー7を備える。メンテナンスサーバー7は、店舗システム3が備える印刷装置9の状態を管理する機能を有する。また、メンテナンスサーバー7は、店舗システム3の印刷装置9の保守を担当する者(以下、「保守担当者」という。)に対して、印刷装置9の保守に利用可能な情報を提供する。
以下、印刷装置9の状態を管理する際のネットワークシステム1の各装置の動作について説明する。
The
Hereinafter, the operation of each device of the
ここで、エージェント端末6と、メンテナンスサーバー7とは、HTTP(Hypertext Transfer Protocol)に従って、基本的に、以下の態様で通信を行う。すなわち、エージェント端末6は、クライアントサーバーシステムにおける「クライアント」に相当し、メンテナンスサーバー7は、クライアントサーバーシステムにおける「サーバー」に相当する。そして、エージェント端末6は、HTTPリクエスト(応答要求)を、メンテナンスサーバー7に送信する。後述するように、エージェント端末6は、HTTPリクエストを所定の間隔でメンテナンスサーバー7に送信する。メンテナンスサーバー7は、HTTPリクエストの受信に応じて、HTTPレスポンス(応答)をエージェント端末6に送信する。
このように、エージェント端末6と、メンテナンスサーバー7とは、エージェント端末6による応答要求の送信、及び、メンテナンスサーバー7による応答要求に応じた応答の送信により、これら装置間でデータを送受信する。従って、メンテナンスサーバー7から特定のエージェント端末6に対して非同期でデータを送信することはできず、メンテナンスサーバー7から特定のエージェント端末6に対してデータを送信する場合は、当該特定のエージェント端末6からの応答要求に対する応答という形でデータの送信が行われる。
Here, the
As described above, the
以下、印刷装置9の状態をメンテナンスサーバー7が管理する場合の、印刷装置9、エージェント端末6、及び、メンテナンスサーバー7の処理について説明する。
Hereinafter, processing of the
図5は、印刷装置9の印刷装置制御部60が備える機能ブロック、エージェント端末6のエージェント端末制御部80が備える機能ブロック、及び、メンテナンスサーバー7のメンテナンスサーバー制御部20が備える機能ブロックを、関連するデータと共に示す図である。
以下、図5を用いて、メンテナンスサーバー7が印刷装置9の状態を管理する際に、印刷装置9、エージェント端末6、及び、メンテナンスサーバー7の各機能ブロック間で送受信されるデータの基本的な流れについて説明する。
なお、図5を用いた説明では、機能ブロックの処理の詳細、及び、機能ブロック間で送受信されるデータの内容の詳細については後に説明するため省略する。
FIG. 5 shows the functional blocks provided in the printing
Hereinafter, with reference to FIG. 5, when the
In the description using FIG. 5, the details of the processing of the functional blocks and the details of the contents of data transmitted / received between the functional blocks will be omitted because they will be described later.
図5に示すように、印刷装置9のログ書込部601は、所定のタイミングでログファイル621にログ情報を書き込む。
ログファイル621とは、ログ情報が記録されたファイルである。
ログ情報とは、複数の監視項目のログである。
監視項目とは、印刷部61の状態について、状態を監視し、ログを取る対象とすることが事前に定められた項目のことである。本実施形態では、監視項目として、監視項目:プリンターエラー、監視項目:印刷ヘッド形成ライン累計数、及び、監視項目:カッター使用累計数が少なくとも存在する。なお、本実施形態で説明する監視項目は一例であり、例示した監視項目に加えて、又は、例示した監視項目の少なくとも一部に代えて、他の監視項目が存在してもよい。すなわち、監視項目は、印刷部61の状態に関する項目であれば何でもよい。
As illustrated in FIG. 5, the
The
The log information is a log of a plurality of monitoring items.
The monitoring item is an item for which the state of the
監視項目:プリンターエラーのログとして、ログファイル621には、プリンターエラーが発生したことを示す情報、及び、発生したプリンターエラーが解消したことを示す情報が、日時を示す情報と共に、時系列で記録される。プリンターエラーとは、ロール紙の紙切れや、ロール紙の紙詰まり、印刷ヘッドの異常発熱等、正常に印刷を行うことができない状態をいう。
ログ書込部601は、プリンターエラーが発生したか否か、及び、プリンターエラーが解消したか否かを監視し(監視項目:プリンターエラーの状態を監視し)、監視結果に基づいて、ログファイル621に監視項目:プリンターエラーのログを記録する。
Monitoring item: As a printer error log, in the
The
監視項目:印刷ヘッド形成ライン累計数のログとして、ログファイル621には、印刷ヘッド形成ライン累計数を示す情報が、日時を示す情報と共に、時系列で記録される。
印刷ヘッド形成ライン累計数とは、サーマルヘッドにより形成したラインの累計数のことである。本実施形態に係る印刷装置9の印刷部61は、サーマルヘッドによる1ライン分のドットの形成、及び、搬送機構による1ライン分のロール紙の搬送を交互に繰り返し行って、ロール紙に情報を印刷する。
ログ書込部601は、所定の間隔で印刷ヘッドライン累計数を取得し(監視項目:印刷ヘッド形成ライン累計数を監視し)、ログファイル621に監視項目:印刷ヘッド形成ライン累計数のログを記録する。
Monitoring item: As a log of the total number of print head formation lines, information indicating the total number of print head formation lines is recorded in the
The cumulative number of print head formation lines is the cumulative number of lines formed by the thermal head. The
The
監視項目:カッター使用累計数のログとして、ログファイル621には、カッター使用累計数を示す情報が、日時を示す情報と共に、時系列で記録される。
カッター使用累計数とは、カッターが行ったロール紙の切断の累計数のことである。
ログ書込部601は、所定の間隔でカッター使用累計数を取得し(監視項目:カッター使用累計数を監視し)、ログファイル621に監視項目:カッター使用累計数のログを記録する。
As a log of monitoring item: cumulative number of cutters used, information indicating the cumulative number of cutters used is recorded in the
The cumulative number of cutters used is the cumulative number of roll paper cuts made by the cutter.
The
図5に示すように、印刷装置状態管理部602は、エージェント端末6からの応答要求に応じて、ログファイル621に書き込まれたログ情報に基づいて印刷装置状態情報データJDを生成し、エージェント端末6に送信する(矢印Y1)。
As illustrated in FIG. 5, the printing apparatus
エージェント端末6のステータスデータ生成部801は、エージェント端末6が接続された店舗側ローカルネットワークTLNと接続する印刷装置9のうち、監視対象の印刷装置9のそれぞれから、印刷装置状態情報データJDを受信する。
ステータスデータ生成部801は、送信間隔設定ファイル811を参照し、当該ファイルが示す間隔で、受信した印刷装置状態情報データJDに基づいてステータスデータSTを生成する。
ステータスデータ生成部801は、生成したステータスデータSTを、メンテナンスサーバー7に送信する(矢印Y2)。つまり、ステータスデータ生成部801は、送信間隔設定ファイル811が示す間隔で、ステータスデータSTの生成、及び、メンテナンスサーバー7への送信を実行する。
ステータスデータ生成部801によるステータスデータSTのメンテナンスサーバー7への送信は、HTTPに従って、HTTPリクエストとして行われる。
The status
The status
The status
Transmission of the status data ST to the
メンテナンスサーバー7のステータスデータ受信部201は、ステータスデータSTを受信する。ステータスデータ受信部201は、ステータスデータSTを応答部202に出力する(矢印Y3)。また、ステータスデータ受信部201は、受信したステータスデータSTを、分析部203に出力する(矢印Y4)。
The status
応答部202は、応答データTDを生成し、生成した応答データTDをエージェント端末6に送信する(矢印Y5)。応答部202による応答データTDの送信は、HTTPに従って、HTTPレスポンスとして行われる。
The
分析部203は、ステータスデータ受信部201から入力されたステータスデータSTに基づいて、ステータスデータベース211を更新する。
また、情報提供部204は、分析部203により更新されるステータスデータベース211に基づいて、保守担当者の指示に基づく本社端末5からの要求に応じて、保守担当者に印刷装置9の保守に関する情報を提供する。
The
Further, the
エージェント端末6の対応処理実行部802は、応答データTDを受信する。対応処理実行部802は、受信した応答データTDに基づく処理を実行する。
The response
その後、ステータスデータ生成部801は、送信間隔設定ファイル811を参照し、当該ファイルが示す間隔で、ステータスデータSTを生成して、メンテナンスサーバー7に送信する。
Thereafter, the status
以上のように、エージェント端末6が間隔をあけてステータスデータSTをメンテナンスサーバー7に送信し、メンテナンスサーバー7が応答データTDをエージェント端末6に送信するというサイクルで、エージェント端末6とメンテナンスサーバー7との間でのデータの送受信が行われる。
As described above, the
次に、印刷装置9の状態を管理する際の印刷装置9、エージェント端末6、及び、メンテナンスサーバー7の動作について詳細に説明する。
図6は、印刷装置9、エージェント端末6、及び、メンテナンスサーバー7の動作を示すフローチャートである。
図6の(A)は印刷装置9の印刷装置状態管理部602の動作を示す。図6の(B)はエージェント端末6のステータスデータ生成部801の動作を示し、(C)はエージェント端末6の対応処理実行部802の動作を示す。図6の(D)はメンテナンスサーバー7のステータスデータ受信部201を示し、(E)はメンテナンスサーバー7の応答部202を示し、(F)はメンテナンスサーバー7の分析部203の動作を示す。
Next, operations of the
FIG. 6 is a flowchart showing the operations of the
FIG. 6A shows the operation of the printing apparatus
以下の図6を用いた説明において、印刷装置9の動作モードは、スリープモード(スリープ状態)ではなく、通常モード(通常状態)であるものとする。
In the following description using FIG. 6, it is assumed that the operation mode of the
図6の(B)に示すように、エージェント端末6のステータスデータ生成部801は、送信間隔設定ファイル811を参照し、ステータスデータSTを生成するタイミングが到来したか否かを判別する(ステップSB1)。
送信間隔設定ファイル811は、ステータスデータSTを生成し、送信する間隔を示す情報が記録されたファイルである。ステップSB1において、ステータスデータ生成部801は、送信間隔設定ファイル811を参照し、前回、ステータスデータSTを生成して送信した後、送信間隔設定ファイル811が示す間隔が経過した場合、ステータスデータSTを生成するタイミングが到来したと判別する。
As shown in FIG. 6B, the status
The transmission
ステータスデータSTを生成するタイミングが到来した場合(ステップSB1:YES)、ステータスデータ生成部801は、監視対象印刷装置管理ファイル812を参照する(ステップSB2)。
監視対象印刷装置管理ファイル812は、エージェント端末6が監視対象とする印刷装置9に関する情報を管理するファイルである。監視対象印刷装置管理ファイル812には、監視対象の印刷装置9のそれぞれについて、印刷装置9の印刷装置識別情報と対応付けて、印刷装置9に関する情報が記録される。印刷装置9に関する情報は、少なくとも、印刷装置9の店舗側ローカルネットワークTLNにおけるアドレス等、後述する印刷装置状態情報の応答要求データDDを監視対象の印刷装置9に送信するために必要な情報が記録される。
印刷装置識別情報とは、印刷装置9を一意に識別する識別情報であり、例えば、印刷装置9のシリアル番号(印刷装置9の製造時に、印刷装置9に一意に割り振られる番号)を印刷装置識別情報として用いることができる。
When it is time to generate the status data ST (step SB1: YES), the status
The monitoring target printing
The printing apparatus identification information is identification information for uniquely identifying the
監視対象印刷装置管理ファイル812を参照した後、ステータスデータ生成部801は、監視対象印刷装置管理ファイル812の内容に基づいて、エージェント端末ネットワーク通信部82を制御して、監視対象の印刷装置9のそれぞれに、印刷装置状態情報の応答要求データDDを送信する(ステップSB3)。
印刷装置状態情報の応答要求データDDは、印刷装置9に対して、後述する印刷装置状態情報データJDの応答を要求するデータである。
なお、図6の(A)のフローチャートの処理の主体は、図6の(B)の処理の主体のエージェント端末6による監視対象の印刷装置9のうちの1つの印刷装置9である。
After referring to the monitoring target printing
The printing apparatus status information response request data DD is data for requesting the
Note that the subject of the processing in the flowchart of FIG. 6A is one of the
図6の(A)に示すように、印刷装置9の印刷装置状態管理部602は、印刷装置ネットワーク通信部63を制御して、エージェント端末6が送信した印刷装置状態情報の応答要求データDDを受信する(ステップSA1)。
次いで、印刷装置状態管理部602は、ログファイル621を参照し、印刷装置状態情報データJDを生成する(ステップSA2)。
As shown in FIG. 6A, the printing device
Next, the printing apparatus
図7は、印刷装置状態情報データJDに含まれる情報を模式的に示す図である。
図7に示すように、印刷装置状態情報データJDは、印刷装置識別情報を含む。
また、印刷装置状態情報データJDは、監視項目ごとに、ログ関連情報を備える。すなわち、印刷装置状態情報データJDは、監視項目:プリンターエラーのログ関連情報、監視項目:印刷ヘッド形成ライン累計数のログ関連情報、及び、監視項目:カッター使用累計数のログ関連情報を備える。
ログ関連情報は、対応する監視項目を識別する識別情報である監視項目識別情報と、対応する監視項目のログである監視項目ログ情報とを備える。すなわち、監視項目:プリンターエラーのログ関連情報は、監視項目:プリンターエラーを識別する監視項目識別情報(以下、「プリンターエラー識別情報」という。)と、監視項目:プリンターエラーの監視項目ログ情報(以下、「プリンターエラーログ情報」という。)とを備える。監視項目:印刷ヘッド形成ライン累計数のログ関連情報は、監視項目:印刷ヘッド形成ライン累計数を識別する監視項目識別情報(以下、「印刷ヘッド形成ライン累計数識別情報」という。)と、監視項目:印刷ヘッド形成ライン累計数の監視項目ログ情報(以下、「印刷ヘッド形成ライン累計数ログ情報」という。)とを備える。監視項目:カッター使用累計数のログ関連情報は、監視項目:カッター使用累計数を識別する監視項目識別情報(以下、「カッター使用累計数識別情報」という。)と、監視項目:カッター使用累計数の監視項目ログ情報(以下、「カッター使用累計数ログ情報」という。)とを備える。
以上のように、印刷装置状態情報データJDは、印刷部61の状態に関する情報を含む。
FIG. 7 is a diagram schematically illustrating information included in the printing apparatus state information data JD.
As shown in FIG. 7, the printing apparatus state information data JD includes printing apparatus identification information.
Further, the printing apparatus state information data JD includes log related information for each monitoring item. That is, the printing apparatus state information data JD includes monitoring item: log related information of printer error, monitoring item: log related information of cumulative number of print head formation lines, and monitoring item: log related information of cumulative number of cutter use.
The log related information includes monitoring item identification information that is identification information for identifying a corresponding monitoring item, and monitoring item log information that is a log of the corresponding monitoring item. That is, monitoring item: printer error log related information includes monitoring item: monitoring item identification information for identifying printer error (hereinafter referred to as “printer error identification information”) and monitoring item: monitoring item log information for printer error ( Hereinafter referred to as “printer error log information”). The log-related information of monitoring item: print head formation line cumulative number includes monitoring item: monitoring item identification information for identifying the print head formation line cumulative number (hereinafter referred to as “print head formation line cumulative number identification information”), and monitoring. Item: Monitor item log information (hereinafter referred to as “print head formation line cumulative number log information”) of the cumulative number of print head formation lines. The log related information of monitoring item: cumulative cutter usage count includes monitoring item: monitoring item identification information for identifying the cumulative cutter usage count (hereinafter referred to as “cutter cumulative usage number identification information”) and monitoring item: cumulative cutter usage count. Monitoring item log information (hereinafter referred to as “cutter use cumulative number log information”).
As described above, the printing apparatus state information data JD includes information regarding the state of the
印刷装置状態情報データJDを生成した後、印刷装置状態管理部602は、印刷装置ネットワーク通信部63を制御して、ステップSA2で生成した印刷装置状態情報データJDを、エージェント端末6に送信する(ステップSA3)。
After generating the printing apparatus state information data JD, the printing apparatus
なお、エージェント端末6から印刷装置状態情報の応答要求データDDを受信し、当該データに対する応答として印刷装置状態情報データJDを送信するまでの印刷装置9の処理の詳細については後述する。
Details of the processing of the
図6の(B)に示すように、エージェント端末6のステータスデータ生成部801は、エージェント端末ネットワーク通信部82を制御して、印刷装置状態情報データJDを受信する(ステップSB4)。ステップSB4において、ステータスデータ生成部801は、監視対象の印刷装置9のそれぞれから、印刷装置状態情報データJDを受信する。
次いで、ステータスデータ生成部801は、監視対象の印刷装置9から受信した印刷装置状態情報データJDのそれぞれに基づいて、ステータスデータSTを生成する(ステップSB5)。
As shown in FIG. 6B, the status
Next, the status
ステータスデータSTは、階層化されたキー(項目)と値との組み合わせによって、情報を階層化して記録可能なテキストデータ(例えば、XML(Extensible Markup Language)形式や、JSON(JavaScript(登録商標) Object Notation)形式のデータ)であり、メンテナンスサーバー7にリクエストとして送信可能なデータである。
The status data ST is text data (for example, XML (Extensible Markup Language) format or JSON (JavaScript (registered trademark) Object) that can record information by hierarchizing information by combining hierarchized keys (items) and values. Notation) format data) that can be transmitted to the
図8は、ステータスデータSTの内容を説明に適した態様で模式的に示す図である。
ステータスデータSTは、ステータスデータSTを生成したエージェント端末6が設けられた店舗を示す店舗識別情報を含む。エージェント端末6のそれぞれには、エージェント端末6が設けられた店舗を示す店舗識別情報が登録される。図8で例示するステータスデータSTでは、領域A81に、店舗識別情報が記録される。
ステータスデータSTは、ステータスデータSTを生成したエージェント端末6のエージェント端末識別情報を含む。エージェント端末識別情報とは、エージェント端末6に一意に割り振られた識別情報である。エージェント端末6のそれぞれには、エージェント端末6を示すエージェント端末識別情報が登録される。図8で例示するステータスデータSTでは、領域A82に、エージェント端末識別情報が記録される。
FIG. 8 is a diagram schematically showing the contents of the status data ST in a mode suitable for explanation.
The status data ST includes store identification information indicating the store where the
The status data ST includes agent terminal identification information of the
ステータスデータSTは、監視対象の印刷装置9のそれぞれ(=印刷装置状態情報データJDの送信元の印刷装置9のそれぞれ)の印刷装置ステータス情報を含む。図8で例示するステータスデータSTでは、領域A83に、印刷装置9ごとの印刷装置ステータス情報が記録される。
印刷装置ステータス情報は、対応する印刷装置9の印刷装置識別情報と、対応する印刷装置9の印刷装置状態情報とを含む。
印刷装置状態情報は、監視項目のそれぞれのログ関連情報(監視項目識別情報と監視項目ログ情報との組み合わせ)を含む。
図8で例示するステータスデータSTは、領域A831に、1の印刷装置9に係る印刷装置ステータス情報が記録される。領域A831に記録された印刷装置ステータス情報において、領域A8311には、当該1の印刷装置9の印刷装置識別情報が記録される。また、領域A831に記録された印刷装置ステータス情報において、領域A8312には、当該1の印刷装置9の印刷装置状態情報(監視項目のそれぞれのログ関連情報(監視項目識別情報と監視項目ログ情報との組み合わせ))が記録される。領域A8312において、領域A83121には監視項目:プリンターエラーに係るログ関連情報が記録され、領域A83122には監視項目:印刷ヘッド形成ライン累計数に係るログ関連情報が記録され、領域A83123には監視項目:カッター使用累計数に係るログ関連情報が記録される。
The status data ST includes the printing device status information of each
The printing apparatus status information includes printing apparatus identification information of the corresponding
The printing apparatus status information includes log-related information (a combination of monitoring item identification information and monitoring item log information) for each monitoring item.
In the status data ST illustrated in FIG. 8, printing apparatus status information related to one
以上のように、エージェント端末6に係るステータスデータSTには、店舗識別情報と、エージェント端末識別情報とが含まれる。また、エージェント端末6に係るステータスデータSTには、監視対象の印刷装置9のそれぞれの印刷装置ステータス情報(印刷装置識別情報と、印刷装置状態情報との組み合わせ)が含まれる。
As described above, the status data ST related to the
図6の(B)に示すように、ステップSB4でステータスデータSTを生成した後、ステータスデータ生成部801は、エージェント端末ネットワーク通信部82を制御して、生成したステータスデータSTをメンテナンスサーバー7に送信する(ステップSB6)。
ステップSB5において、ステータスデータ生成部801は、リクエストボディーにステータスデータSTが記録されたHTTPリクエストを、HTTPに従って、メンテナンスサーバー7に送信する。なお、ステータスデータSTを送信するメンテナンスサーバー7のURLや、使用するプロトコル等の、ステータスデータSTを応答要求としてメンテナンスサーバー7に送信するために必要な情報は、エージェント端末6に登録される。ステップSB6の処理後、ステータスデータ生成部801は、処理手順をステップSB1に戻す。
As shown in FIG. 6B, after generating the status data ST in step SB4, the status
In step SB5, the status
図6の(D)に示すように、メンテナンスサーバー7のステータスデータ受信部201は、メンテナンスサーバー通信部22を制御して、ステータスデータSTを受信する(ステップSD1)。
次いで、ステータスデータ受信部201は、受信したステータスデータSTを、応答部202に出力し(ステップSD2)、分析部203に出力する(ステップSD3)。
As shown in FIG. 6D, the status
Next, the status
図6の(E)に示すように、応答部202は、ステータスデータ受信部201が出力したステータスデータSTを取得する(ステップSE1)。
次いで、応答部202は、ステップSE1で取得したステータスデータSTに基づいて応答データTDを生成する(ステップSE2)。
応答データTDは、少なくともステータスデータSTの受信が正常に完了したことを示す情報を含むデータである。応答データTDに含まれる情報は、ステータスデータSTの受信が正常に完了したことを示す情報に限らない。例えば、応答データTDに、応答データTDに基づいて印刷装置9に実行させる処理に関する情報や、ステータスデータSTを送信する間隔の変更を指示する情報が含まれる構成でもよい。
As shown in FIG. 6E, the
Next, the
The response data TD is data including at least information indicating that the reception of the status data ST has been normally completed. The information included in the response data TD is not limited to information indicating that reception of the status data ST has been normally completed. For example, the response data TD may include information related to processing to be executed by the
次いで、応答部202は、メンテナンスサーバー通信部22を制御して、生成した応答データTDを、応答として、エージェント端末6に送信する(ステップSE3)。
例えば、応答部202は、レスポンスボディーに応答データTDが記録されたHTTPレスポンスを、HTTPに従って、エージェント端末6に送信する。
Next, the
For example, the
図6の(B)に示すように、エージェント端末6の対応処理実行部802は、エージェント端末ネットワーク通信部82を制御して、応答データTDを受信する(ステップSC1)。
次いで、対応処理実行部802は、応答データTDに基づいて、対応する処理を実行する(ステップSC2)。
As shown in FIG. 6B, the response
Next, the corresponding
一方、図6の(F)に示すように、分析部203は、ステータスデータ受信部201が出力したステータスデータSTを取得する(ステップSF1)。
次いで、分析部203は、取得したステータスデータSTに基づいて、ステータスデータベース211を更新する(ステップSF2)。以下、ステップSF2の処理について詳述する。
On the other hand, as shown in FIG. 6F, the
Next, the
図9は、ステータスデータベース211のデータ構造を模式的に示す図である。
ステータスデータベース211は、印刷装置9ごとにレコードを有する。図9に示すように、ステータスデータベース211の1件のレコードは、少なくとも、印刷装置識別情報と、プリンターエラー有無情報と、印刷ヘッドエラー有無情報と、カッターエラー有無情報とを備える。
プリンターエラー有無情報とは、プリンターエラーが発生しているか否かを示す情報であり、発生していることを示す値(図9では「有」と表現。)、又は、発生していないことを示す値(図9では「無」と表現。)のいずれかの値を有する。
印刷ヘッドエラー有無情報とは、印刷ヘッドエラーが発生しているか否かを示す情報であり、発生していることを示す値(図9では「有」と表現。)、又は、発生していないことを示す値(図9では「無」と表現。)のいずれかの値を有する。印刷ヘッドエラーとは、サーマルヘッドによる印刷ヘッド形成ライン累計数が、サーマルヘッドの寿命を判定する基準となる所定の閾値を上回っている状態のことである。
カッターエラー有無情報とは、カッターエラーが発生しているか否かを示す情報であり、発生していることを示す値(図9では「有」と表現。)、又は、発生していないことを示す値(図9では「無」と表現。)の何れかの値を有する。カッターエラーとは、カッターによるカッター使用累計数が、カッターの寿命を判定する基準となる所定の閾値を上回っている状態のことである。
FIG. 9 is a diagram schematically showing the data structure of the
The
The printer error presence / absence information is information indicating whether or not a printer error has occurred. A value indicating that a printer error has occurred (expressed as “present” in FIG. 9), or that no printer error has occurred. It has one of the values shown (represented as “none” in FIG. 9).
The print head error presence / absence information is information indicating whether or not a print head error has occurred, and is a value indicating that the print head error has occurred (represented as “present” in FIG. 9) or has not occurred. It has one of the values (represented as “None” in FIG. 9) indicating this. The print head error is a state in which the cumulative number of print head formation lines by the thermal head exceeds a predetermined threshold value that serves as a reference for determining the life of the thermal head.
The cutter error presence / absence information is information indicating whether or not a cutter error has occurred, a value indicating that it has occurred (represented as “present” in FIG. 9), or that it has not occurred. It has one of the values shown (represented as “none” in FIG. 9). A cutter error is a state in which the cumulative number of cutters used by the cutter exceeds a predetermined threshold value that serves as a reference for determining the life of the cutter.
ステップSF2において、分析部203は、ステータスデータSTに記録された印刷装置ステータス情報のそれぞれを取得する。上述したように、印刷装置ステータス情報は、印刷装置識別情報、及び、印刷装置状態情報を含む。
次いで、分析部203は、未処理の印刷装置ステータス情報のうち、1つの印刷装置ステータス情報を処理対象として決定する。次いで、分析部203は、ステータスデータベース211のレコードのうち、処理対象の印刷装置ステータス情報に含まれる印刷装置識別情報の値と同一の値の印刷装置識別情報を有するレコードを特定する。次いで、分析部203は、特定したレコードのプリンターエラー有無情報、印刷ヘッドエラー有無情報、及び、カッターエラー有無情報の各情報の値を、処理対象の印刷装置ステータス情報に含まれる印刷装置状態情報に基づいて更新する。
In step SF2, the
Next, the
ステップSF2において、分析部203は、ステータスデータSTに含まれる印刷装置ステータス情報のそれぞれを処理対象とし、処理対象とした印刷装置ステータス情報に基づいて、ステータスデータベース211における対応するレコードを更新する。
In step SF2, the
次に、保守担当者(上述したように、店舗システム3の印刷装置9の保守を担当する者を意味する。)に対して、印刷装置9の保守のために有益な情報を提供するときのメンテナンスサーバー7の動作について説明する。
なお、以下の説明では、保守担当者は、本社に勤務し本社端末5を利用するものとする。
まず、特定の印刷装置9に関する情報を取得することを望む保守担当者は、本社端末5のブラウザーを立ち上げ、予め定められたメンテナンスサーバー7の所定のURLにアクセスさせる。
メンテナンスサーバー7の情報提供部204は、所定のURLへのアクセスに応じて、印刷装置識別情報入力画面G101(図10)を表示させるHTMLファイルを生成し、本社端末5に送信する。
本社端末5の本社端末制御部30は、ブラウザーの機能により、HTMLファイルを受信し、受信したHTMLファイルに基づいて本社端末表示部33を制御して、表示パネルに印刷装置識別情報入力画面G101を表示させる。
Next, when providing useful information for maintenance of the
In the following description, it is assumed that the maintenance staff works at the head office and uses the
First, a maintenance person who desires to acquire information related to a
The
The head office
図10は、印刷装置識別情報入力画面G101を示す図である。
図10に示すように、印刷装置識別情報入力画面G101は、印刷装置識別情報を入力可能な印刷装置識別情報入力欄R101を備える。保守担当者は、印刷装置識別情報入力欄R101に、情報を取得することを望む印刷装置9の印刷装置識別情報を入力し、確定ボタンB101を操作することにより、入力を確定する。入力の確定に応じて、HTMLファイルに実装されたスクリプトの機能により、入力された印刷装置識別情報が、メンテナンスサーバー7に送信される。
FIG. 10 is a diagram showing a printing apparatus identification information input screen G101.
As illustrated in FIG. 10, the printing apparatus identification information input screen G101 includes a printing apparatus identification information input field R101 in which printing apparatus identification information can be input. The maintenance staff inputs the printing device identification information of the
メンテナンスサーバー7の情報提供部204は、印刷装置識別情報を受信する。次いで、情報提供部204は、受信した印刷装置識別情報に基づいて、ステータスデータベース211の対応するレコードを特定する。対応するレコードとは、受信した印刷装置識別情報の値と同一の値の印刷装置識別情報を有するレコードのことである。次いで、情報提供部204は、特定したレコードに基づいて、情報提供画面G111(図11)を表示させるHTMLファイルを生成し、本社端末5に送信する。
本社端末5の本社端末制御部30は、ブラウザーの機能により、HTMLファイルを受信し、受信したHTMLファイルに基づいて本社端末表示部33を制御して、表示パネルに情報提供画面G111を表示させる。
The
The head office
図11は、情報提供画面G111を示す図である。
図11に示すように、情報提供画面G111は、領域A111と、領域A112とを有する。
領域A111には、保守担当者が入力した印刷装置識別情報の印刷装置9に関する基礎的な情報が表示される。図11の例では、印刷装置9に関する基礎的な情報は、印刷装置9の型番を示す情報、印刷装置9にインストールされたファームウェアのバージョンを示す情報、印刷装置9が設けられた店舗の名称を示す情報、当該店舗の住所を示す情報、当該店舗の電話番号を示す情報、及び、印刷装置9が設けられたレジカウンターのレーンの番号を示す情報である。印刷装置9に関する基礎的な情報は例示した情報に限らない。
ここで、メンテナンスサーバー7のメンテナンスサーバー記憶部21には、印刷装置9について、印刷装置識別情報と、印刷装置9に関する基礎的な情報とを対応付けて記憶するデータベースが記憶される。情報提供部204は、当該データベースに基づいて、印刷装置9に関する基礎的な情報を取得する。
保守担当者は、情報提供画面G111の領域A111に表示された情報を参照することにより、印刷装置9に関する基礎的な情報を取得することができ、必要に応じて、店舗への電話等の作業を行うことができる。
FIG. 11 is a diagram showing an information provision screen G111.
As shown in FIG. 11, the information provision screen G111 includes an area A111 and an area A112.
In the area A111, basic information related to the
Here, the maintenance
The maintenance staff can obtain basic information about the
図11に示すように、領域A112には、プリンターエラーの発生の有無を示す情報、印刷ヘッドエラーの発生の有無を示す情報、及び、カッターエラーの発生の有無を示す情報が表示される。
保守担当者は、領域A112に表示された情報を参照することにより、プリンターエラー、印刷ヘッドエラー、及び、カッターエラーのそれぞれについて、発生しているか否かを認識でき、当該認識に基づいて対応する作業を行うことができる。対応する作業とは、例えば、エラーが発生している場合に、店舗の責任者に、エラーが発生していること、及び、エラーに対応して行うべき作業を連絡することである。
As shown in FIG. 11, in the area A112, information indicating whether or not a printer error has occurred, information indicating whether or not a print head error has occurred, and information indicating whether or not a cutter error has occurred are displayed.
The maintenance staff can recognize whether or not each of the printer error, the print head error, and the cutter error has occurred by referring to the information displayed in the area A112, and responds based on the recognition. Work can be done. Corresponding work means, for example, when an error has occurred, to notify the person in charge of the store of the occurrence of the error and the work to be performed in response to the error.
次に、店舗のレジカウンターにおいて、会計が行われた場合のPOS端末8、及び、印刷装置9の動作について説明する。
Next, operations of the
図12は、会計が行われた場合のPOS端末8、及び、印刷装置9の動作を示すフローチャートであり、(A)はPOS端末8の動作を示し、(B)は印刷装置9の動作を示す。
図12の(A)に示すように、POS端末8のPOS端末制御部40は、顧客の会計に応じて、会計処理を実行する(ステップSG1)。
会計処理において、レジ担当者は、顧客が購入した商品に付されたバーコードをバーコードスキャナーBSにより読み取る。POS端末制御部40は、バーコードスキャナーBSの読み取り結果に基づいて、商品の商品コードを取得し、適宜、図示しないPOSサーバーの商品マスターを参照して、商品の単価等の会計処理に必要な商品に関する情報を取得する。POS端末制御部40は、取得した商品に関する情報に基づいて、カスタマーディスプレーCDや、ディスプレーDPに商品に関する情報を表示する。また、POS端末制御部40は、取得した商品に関する情報に基づいて、合計金額の計算や、釣銭の計算を行って会計を確定し、カスタマーディスプレーCDや、ディスプレーDPに計算結果を示す情報を表示し、また、キャッシュドロアーKSを制御する。
FIG. 12 is a flowchart showing the operations of the
As shown in FIG. 12A, the POS
In the accounting process, the cashier in charge reads the barcode attached to the product purchased by the customer with the barcode scanner BS. The POS
ステップSG1の会計処理を実行した後、POS端末制御部40は、会計処理に基づいて、印刷装置9に会計に関する情報(商品に関する情報や、合計金額に関する情報、釣銭に関する情報等)が印刷されたレシートを発行させる制御コマンドを生成する(ステップSG2)。POS端末8には、POSアプリケーション、及び、プリンタードライバーがインストールされており、POS端末制御部40は、これらプログラムの機能により、制御コマンドを生成する。
次いで、POS端末制御部40は、POS端末デバイス通信部42を制御して、生成した制御コマンドを印刷装置9に送信する(ステップSG3)。
After executing the accounting process in step SG1, the POS
Next, the POS
図12の(B)に示すように、印刷装置9の印刷装置制御部60の印刷制御部604は、印刷装置ネットワーク通信部63を制御して、制御コマンドを受信する(ステップSH1)。
次いで、印刷制御部604は、受信した制御コマンドに基づいて、印刷部61を制御して、レシートを発行する(ステップSH2)。発行されたレシートは、レジ担当者によって、顧客に引き渡される。
As shown in FIG. 12B, the
Next, the
ところで、印刷装置9は、動作モードとして、通常モード(通常状態)と、スリープモード(スリープ状態)とを備える。
通常モードでは、図示しない電源から、印刷装置9における電力供給先の各部へ電力が通常の態様で供給され、印刷装置9は、印刷部61による印刷に関する処理を含む各処理を実行可能である。
スリープモードでは、図示しない電源からの、印刷装置9における電力供給先の各部への電力の供給が所定の態様で制限され、印刷装置9が実行可能な処理が制限される。このスリープモードでは、印刷装置9は、印刷部61による印刷に関する処理を実行できない。スリープモードでは、通常モードと比較し、消費電力が抑制される。
そして、本実施形態では、印刷装置9が、エージェント端末6からの印刷装置状態情報の応答要求データDDを受信した場合、当該データに対する応答として印刷装置状態情報データJDを送信する構成を踏まえて、スリープモードが継続する期間が不必要に低減することを抑制し、印刷装置9における効率的な省電力化が図られている。
以下、印刷装置9の効率的な省電力化の実現に関する印刷装置9、及び、エージェント端末6の処理について詳述する。
Incidentally, the
In the normal mode, power is supplied from a power source (not shown) to each unit of the power supply destination in the
In the sleep mode, power supply from a power source (not shown) to each unit of the power supply destination in the
In the present embodiment, when the
Hereinafter, the processing of the
図13は、印刷装置9の要部を説明に適した態様で模式的に示す図である。
図13では、説明の便宜を考慮して、物理的な構成要素と、機能ブロックとを、同一の図にブロックによって表した状態である。
図13に示すように、印刷装置9は、筐体に収納された基板として、通信インターフェース基板B1と、制御基板B2とを備える。
通信インターフェース基板B1は、印刷装置9が対応する各種通信プロトコルに係る通信インターフェースが実装された基板である。
通信インターフェース基板B1は、ネットワークインターフェースB11と、デバイス通信インターフェースB12とを備える。
FIG. 13 is a diagram schematically showing the main part of the
In FIG. 13, for convenience of explanation, physical components and functional blocks are represented by blocks in the same diagram.
As shown in FIG. 13, the
The communication interface board B1 is a board on which communication interfaces related to various communication protocols supported by the
The communication interface board B1 includes a network interface B11 and a device communication interface B12.
ネットワークインターフェースB11は、イーサネット(登録商標)等の有線LANに係る通信プロトコルに対応するインターフェースボード、Wi−Fi(登録商標)等の無線LANに係る通信プロトコルに対応する無線通信モジュール、その他のLANに係る通信プロトコルに従った通信インターフェースを備える。ネットワークインターフェースB11は、CPU、専用のチップ、その他の制御回路を有し、印刷装置ネットワーク通信部63として機能する。印刷装置ネットワーク通信部63は、機能ブロックとして、コマンド分析部631を有する。
デバイス通信インターフェースB12は、少なくとも、USBに係る通信インターフェースを備える。デバイス通信インターフェースB12は、印刷装置デバイス通信部64として機能する。
The network interface B11 is an interface board corresponding to a communication protocol related to a wired LAN such as Ethernet (registered trademark), a wireless communication module corresponding to a communication protocol related to a wireless LAN such as Wi-Fi (registered trademark), and other LANs. A communication interface according to the communication protocol is provided. The network interface B11 includes a CPU, a dedicated chip, and other control circuits, and functions as the printing apparatus
The device communication interface B12 includes at least a communication interface related to USB. The device communication interface B12 functions as the printing apparatus
通常モードでは、通信インターフェース基板B1、及び、制御基板B2のそれぞれに、通常の態様で電力が供給される。
一方、スリープモードでは、制御基板B2に対する電力の供給が所定の態様で制限される。このため、スリープモードでは、制御基板B2のCPUの動作周波数が下げられ、印刷装置制御部60が有する各機能ブロックの処理が制限される。従って、動作モードがスリープモードの間は、印刷制御部604の制御による印刷部61による印刷や、ログ書込部601によるログファイル621への情報が制限される。
In the normal mode, power is supplied to the communication interface board B1 and the control board B2 in a normal manner.
On the other hand, in the sleep mode, power supply to the control board B2 is restricted in a predetermined manner. For this reason, in the sleep mode, the operating frequency of the CPU of the control board B2 is lowered, and the processing of each functional block included in the printing
また、制御基板B2は、印刷装置9の制御に係る各種回路が実装される基板である。制御基板B2は、CPU、専用のチップ、その他の制御回路を有し、印刷装置制御部60として機能する。上述したように、印刷装置制御部60は、ログ書込部601、印刷装置状態管理部602、動作モード制御部603、及び、印刷制御部604を備える。
The control board B2 is a board on which various circuits related to the control of the
次に、動作モード制御部603について説明する。
動作モード制御部603は、印刷装置9の動作モードについて、上述した通常モードと、スリープモードとの間での移行を制御する。
図14は、動作モード制御部603の動作を示すフローチャートである。
なお、図14のフローチャートの開始時点では、動作モードは、通常モードである。
Next, the operation
The operation
FIG. 14 is a flowchart showing the operation of the operation
Note that at the start of the flowchart of FIG. 14, the operation mode is the normal mode.
図14に示すように、動作モード制御部603は、動作モードが通常モードの間、動作モードをスリープモードへと移行する条件が成立したか否かを監視する(ステップSI1)。
動作モードを通常モードからスリープモードへ移行する条件とは、所定期間の間、外部機器(エージェント端末6、及び、POS端末8を含む。)から制御データを受信しておらず、制御データに基づく処理が行われなかったことである。
スリープモードへと移行する条件が成立した場合(ステップSI1:YES)、動作モード制御部603は、動作モードを通常モードからスリープモードへ移行する(ステップSI2)。
As shown in FIG. 14, the operation
The condition for shifting the operation mode from the normal mode to the sleep mode is based on the control data not received from the external device (including the
When the condition for shifting to the sleep mode is satisfied (step SI1: YES), the operation
スリープモードへ移行した後、動作モード制御部603は、スリープモードから通常モードへ移行する条件が成立したか否かを監視する(ステップSI3)。
なお、動作モードがスリープモードの間、動作モード制御部603は、動作が制限された状態である。ステップSI3では、動作モード制御部603は、印刷装置ネットワーク通信部63、又は、印刷装置デバイス通信部64から、CPUに対して、後述する割込信号が入力された場合に、そのことを検出し、スリープモードから通常モードへ移行する条件が成立したと判別する。
After shifting to the sleep mode, the operation
Note that while the operation mode is the sleep mode, the operation
通常モードへ移行する条件が成立した場合(ステップSI3:YES)、動作モード制御部603は、動作モードをスリープモードから通常モードへ移行する(ステップSI4)。通常モードへの移行に伴って、印刷装置制御部60が備える各種機能ブロックによる処理が可能となる。
ステップSI4の処理後、動作モード制御部603は、処理手順をステップSI1へ移行する。
When the condition for shifting to the normal mode is satisfied (step SI3: YES), the operation
After the process of step SI4, the operation
次に、印刷装置デバイス通信部64について説明する。
まず、動作モードが通常モードの場合の印刷装置デバイス通信部64について説明する。
動作モードが通常モードの間、印刷装置デバイス通信部64は、USBケーブルKBを介して接続されたPOS端末8から制御コマンドを受信したか否かを監視する。
制御コマンドを受信した場合、印刷装置デバイス通信部64は、図示しない受信バッファーに受信した制御コマンドを順次格納すると共に、印刷装置制御部60に対して所定の信号を出力して、制御コマンドを受信したことを通知する。
印刷装置制御部60は、当該通知に応じて、受信バッファーに格納された制御コマンドを処理する。例えば、制御コマンドがレシートの発行を指示する制御コマンドである場合、印刷制御部604は、受信バッファーから制御コマンドを、読み出して実行して、印刷部61を制御して、レシートを発行させる。
Next, the printing apparatus
First, the printer
While the operation mode is the normal mode, the printing apparatus
When the control command is received, the printing apparatus
In response to the notification, the printing
次に、動作モードがスリープモードの場合の印刷装置デバイス通信部64について説明する。
動作モードがスリープモードの間、印刷装置デバイス通信部64は、USBケーブルKBを介して接続されたPOS端末8から制御コマンドを受信したか否かを監視する。
制御コマンドを受信した場合、印刷装置デバイス通信部64は、図示しない受信バッファーに受信した制御コマンドを順次格納すると共に、印刷装置制御部60の動作モード制御部603に対して割込信号を出力して、制御コマンドを受信したことを通知する。
上述したように、動作モード制御部603は、印刷装置デバイス通信部64からの割込信号の入力に応じて、動作モードをスリープモードから通常モードへ移行する。通常モードへの移行後、印刷装置制御部60は、受信バッファーに格納された制御コマンドを処理する。例えば、制御コマンドがレシートの発行を指示する制御コマンドである場合、印刷制御部604は、受信バッファーから制御コマンドを、読み出して実行して、印刷部61を制御して、レシートを発行させる。
Next, the printer
While the operation mode is the sleep mode, the printing apparatus
When the control command is received, the printing apparatus
As described above, the operation
次に、印刷装置ネットワーク通信部63のコマンド分析部631について説明する。
まず、動作モードが通常モード場合のコマンド分析部631について説明する。
動作モードが通常モードの間、コマンド分析部631は、店舗側ローカルネットワークTLNを介して、外部装置(エージェント端末6を含む。)からデータを受信したか否かを監視する。
データを受信した場合、コマンド分析部631は、図示しない受信バッファーに受信したデータを順次格納すると共に、印刷装置制御部60に対して所定の信号を出力して、データを受信したことを通知する。
印刷装置制御部60は、当該通知に応じて、受信バッファーに格納されたデータを処理する。例えば、データが、エージェント端末6が送信した印刷装置状態情報の応答要求データDDの場合、印刷装置状態管理部602は、受信バッファーから印刷装置状態情報の応答要求データDDを読み出して、当該データに対応する応答として、印刷装置状態情報データJDをエージェント端末6に送信する。
Next, the
First, the
While the operation mode is the normal mode, the
When the data is received, the
In response to the notification, the printing
次に、動作モードがスリープモードの場合のコマンド分析部631について説明する。
図15は、動作モードがスリープモードの場合のコマンド分析部631の動作を示すフローチャートである。
図15に示すように、動作モードがスリープモードの間、コマンド分析部631は、店舗側ローカルネットワークTLNを介して、外部装置(エージェント端末6を含む。)からデータを受信したか否かを監視する(ステップSJ1)。
データを受信した場合(ステップSJ1:YES)、コマンド分析部631は、受信したデータを分析し、受信したデータが、印刷装置状態情報の応答要求データDDであるか否かを判別する(ステップSJ2)。
Next, the
FIG. 15 is a flowchart showing the operation of the
As shown in FIG. 15, while the operation mode is the sleep mode, the
When data is received (step SJ1: YES), the
受信したデータが、印刷装置状態情報の応答要求データDDではない場合(ステップSJ2:NO)、コマンド分析部631は、受信したデータが電源状態応答要求データであるか否かを判別する(ステップSJ3)。受信したデータが電源状態応答要求データである場合(ステップSJ3:YES)、コマンド分析部631は、当該データに対する応答として、電源状態応答データを送信する(ステップSJ4)。受信したデータが電源状態応答要求データでない場合(ステップSJ3:NO)、コマンド分析部631は、処理手順をステップSJ6へ移行する。
電源状態応答要求データとは、エージェント端末6のステータスデータ生成部801が、印刷装置9の電源がオンかオフかを確認するために、監視対象の印刷装置9に送信するデータである。
エージェント端末6のステータスデータ生成部801は、監視対象の印刷装置9に対して、間隔をあけて定期的に、電源状態応答要求データを送信する。ステータスデータ生成部801は、電源状態応答要求データに対する応答として所定の期間内に電源状態応答データを受信した場合、印刷装置9の電源がオンであると判別する。一方、ステータスデータ生成部801は、電源状態応答要求データを送信した後、所定の期間内に電源状態応答データを受信しなかった場合、印刷装置9の電源がオフであると判別する。
なお、コマンド分析部631は、電源状態応答データの応答を、動作モードにかかわらず、実行する。
If the received data is not the response request data DD of the printing apparatus status information (step SJ2: NO), the
The power status response request data is data that the status
The status
Note that the
ステップSJ4で電源状態応答データを送信した場合、コマンド分析部631は、動作モード制御部603への割込信号の出力を行わない(ステップSJ5)。
この結果、動作モードは通常モードへ移行せず、動作モードがスリープモードである状態が維持される。
When the power supply state response data is transmitted in step SJ4, the
As a result, the operation mode does not shift to the normal mode, and the state where the operation mode is the sleep mode is maintained.
ステップSJ6において、コマンド分析部631は、受信したデータを受信バッファーに順次格納すると共に(ステップSJ6)、動作モード制御部603に対して割込信号を出力して、制御コマンドを受信したことを通知する(ステップSJ7)。
上述したように、動作モード制御部603は、コマンド分析部631からの割込信号の入力に応じて、動作モードをスリープモードから通常モードへ移行する。通常モードへの移行後、印刷装置制御部60は、受信バッファーに格納されたデータを処理する。
In step SJ6, the
As described above, the operation
受信したデータが、印刷装置状態情報の応答要求データDDである場合(ステップSJ2:YES)、コマンド分析部631は、印刷装置状態情報の応答要求データDDの受信バッファーへの格納、及び、動作モード制御部603への割込信号の出力を行わない(ステップSJ8)。
この結果、動作モードは通常モードへ移行せず、動作モードがスリープモードである状態が維持される。また、上記の結果、印刷装置状態情報の応答要求データDDは処理されず、従って、当該データに対応する応答として印刷装置状態情報データJDの送信は行われない。
When the received data is the response request data DD for the printing apparatus status information (step SJ2: YES), the
As a result, the operation mode does not shift to the normal mode, and the state where the operation mode is the sleep mode is maintained. Further, as a result of the above, the response request data DD for the printing apparatus status information is not processed, and therefore the printing apparatus status information data JD is not transmitted as a response corresponding to the data.
コマンド分析部631により、このような処理が行われる理由は以下である。
すなわち、動作モードがスリープモードの場合、印刷部61による処理は制限され、従って、印刷部61の状態は変化しない。具体的には、本実施形態で例示する監視項目は、監視項目:プリンターエラー、監視項目:印刷ヘッド形成ライン累計数、及び、監視項目:カッター使用累計数であるが、動作モードがスリープモードの間、基本的には、これら監視項目の状態は、変化しない。ここで、エージェント端末6は、間隔をあけて、印刷装置状態情報の応答要求データDDを印刷装置9に送信する。そして、エージェント端末6が印刷装置状態情報の応答要求データDDを送信する間隔は、印刷装置9がスリープモードへ移行した場合に、スリープモードが維持される期間の平均的な値と比較して十分に小さい。このため、印刷装置9について、1の印刷装置状態情報の応答要求データDDを受信した後、次の印刷装置状態情報の応答要求データDDを受信する前に、動作モードがスリープモードへ移行した場合、当該1の印刷装置状態情報の応答要求データDDを受信したときの印刷部61の状態と、当該次の印刷装置状態情報の応答要求データDDを受信したときの印刷部61の状態とは、変化してない可能性が非常に高い。
以上を踏まえ、印刷装置9は、動作モードがスリープモードのときに、印刷装置状態情報の応答要求データDDを受信した場合、動作モードを通常モードへ移行することなく、また、当該データに対応する応答としての印刷装置状態情報データJDの送信を行わない。これにより、スリープモードが継続する期間が不必要に低減することが抑制され、印刷装置9における効率的な省電力化を実現できる。
なお、後述するように、エージェント端末6は、送信した印刷装置状態情報の応答要求データDDに対して、印刷装置状態情報データJDを受信しなかった場合、対応する処理を行うため、印刷装置9が応答しないことにより不具合が生じることはない。
The reason why such processing is performed by the
That is, when the operation mode is the sleep mode, processing by the
Based on the above, when the
As will be described later, when the
次に、エージェント端末6の処理の詳細について説明する。
図16は、印刷装置状態情報の応答要求データDDを送信したときのエージェント端末6の処理の詳細を示すフローチャートである。
図16に示すように、エージェント端末6のステータスデータ生成部801は、監視対象の印刷装置9に対して、印刷装置状態情報の応答要求データDDを送信する(ステップSK1)。ステップSK1の処理は、図6の(B)のステップSG3に対応する処理である。
以下の図16を用いた説明では、説明の便宜のため、ステップSK1でステータスデータ生成部801は、1つの印刷装置9に対して、印刷装置状態情報の応答要求データDDを送信したものとする。
Next, details of the processing of the
FIG. 16 is a flowchart showing details of processing of the
As shown in FIG. 16, the status
In the following description with reference to FIG. 16, for convenience of explanation, it is assumed that the status
印刷装置状態情報の応答要求データDDを送信した後、ステータスデータ生成部801は、所定の期間が経過したか否かを監視しつつ(ステップSK3)、所定の期間が経過する前に印刷装置状態情報データJDを受信したか否かを監視する(ステップSK2)。
所定の期間は、印刷装置9の動作モードが通常モードの場合に、印刷装置状態情報の応答要求データDDを受信した印刷装置9が印刷装置状態情報データJDを送信するまでに要する最大の期間として予め定められた期間である。
所定の期間が経過する前に、印刷装置状態情報データJDを受信した場合(ステップSK2:YES)、ステータスデータ生成部801は、図6の(B)のステップSG4以下の処理を実行する(ステップSK4)。
After transmitting the response request data DD of the printing apparatus status information, the status
The predetermined period is the maximum period required until the
When the printing apparatus state information data JD is received before the predetermined period has elapsed (step SK2: YES), the status
印刷装置状態情報データJDを受信することなく、所定の期間が経過した場合(ステップSK3:YES)、ステータスデータ生成部801は、印刷装置状態情報の応答要求データDDを送信した印刷装置9の電源がオンの状態か否かを判別する(ステップSK5)。
上述したように、ステータスデータ生成部801は、監視対象の印刷装置9に対して間隔をあけて定期的に、電源状態応答要求データを送信し、当該データに対応する応答の状態に基づいて、印刷装置9の電源状態を監視する。
When the predetermined period has elapsed without receiving the printing apparatus state information data JD (step SK3: YES), the status
As described above, the status
電源がオンの状態ではない場合(ステップSK5:NO)、ステータスデータ生成部801は、ステータスデータSTを生成する際に、印刷装置9の印刷装置状態情報を未接続情報とする(ステップSK6)。
未接続情報とは、監視対象の印刷装置9がエージェント端末6に接続されてないことを示す情報である。監視対象の印刷装置9がエージェント端末6に接続されてないとは、エージェント端末6が、監視対象の印刷装置9と通信できない状態をいう。
図17は、未接続情報の印刷装置状態情報が記録されたステータスデータSTを示す図である。
図17に示すように、1のエージェント端末6に、監視対象の1の印刷装置9が接続されてない場合、当該1のエージェント端末6が生成するステータスデータSTには、当該1の印刷装置9の印刷装置状態情報として、各監視項目のログ関連情報に代えて、未接続情報が記録される。
When the power is not on (step SK5: NO), the status
The unconnected information is information indicating that the
FIG. 17 is a diagram showing status data ST in which printing apparatus state information of unconnected information is recorded.
As illustrated in FIG. 17, when one
電源がオンの状態である場合(ステップSK5:YES)、ステータスデータ生成部801は、印刷装置9の動作モードがスリープモードであると判別する(ステップSK7)。上述したように、印刷装置9は、電源がオンの場合であっても、動作モードがスリープモードの場合は、印刷装置状態情報の応答要求データDDに対応する応答として印刷装置状態情報データJDを送信しないからである。
When the power is on (step SK5: YES), the status
次いで、ステータスデータ生成部801は、ステータスデータSTを生成する際に、印刷装置9の印刷装置状態情報を、直近で送信した対応するステータスデータSTに記録した印刷装置状態情報と同一の内容とする(ステップSK8)。上述したように、印刷装置9の動作モードがスリープモードであるため、印刷部61の状態は変化してない可能性が非常に高いからである。
Next, when the status
以上説明したように、ネットワークシステム1は、印刷部61を有し、印刷部61によりロール紙(記録媒体)に印刷する印刷装置9と、印刷装置9と通信可能なエージェント端末6(制御装置)とを備える。
印刷装置9は、印刷部61の動作が制限されるスリープモード(スリープ状態)ではない通常モード(通常状態)のときに、エージェント端末6(制御装置)から、印刷部61の状態に関する情報の応答を要求する印刷装置状態情報の応答要求データDDを受信した場合、印刷部61の状態に関する情報を含む印刷装置状態情報データJDをエージェント端末6に送信する。また、印刷装置9は、スリープモードのときに、印刷装置状態情報の応答要求データDDを受信した場合、印刷装置状態情報データJDを送信しない。エージェント端末6は、印刷装置)の電源状態を監視し、印刷装置9の電源がオンのときに印刷装置9に印刷装置状態情報の応答要求データDDを送信した場合に、データに対応する応答として印刷装置状態情報データJDを受信しなかった場合、印刷装置9がスリープモードであると判別する。
この構成によれば、印刷装置9が、エージェント端末6からの印刷装置状態情報の応答要求データDDを受信した場合、当該データに対する応答として印刷装置状態情報データJDを送信する構成を踏まえて、スリープモードが継続する期間が不必要に低減することを抑制し、印刷装置9における効率的な省電力化を図ることができる。
As described above, the
When the
According to this configuration, when the
また、本実施形態では、印刷装置9は、スリープ状態のときに、エージェント端末6から、電源状態の確認に利用する電源状態応答要求データを受信した場合、スリープモードから通常モードへ移行することなく、電源がオンされた状態であることを示す電源状態応答データをエージェント端末6に送信する。エージェント端末6は、印刷装置9に対して電源状態応答要求データを送信し、電源状態応答要求データに対応する応答の状態に基づいて、印刷装置9の電源状態を監視する。
この構成によれば、エージェント端末6は、印刷装置9の動作モードにかかわらず、印刷装置9の電源状態を的確に監視できる。
In the present embodiment, when the
According to this configuration, the
また、本実施形態では、エージェント端末6は、印刷装置9から受信した印刷装置状態情報データJDに基づいて、印刷部61の状態に関する印刷装置状態情報をメンテナンスサーバー7(情報処理装置)に送信する。一方、エージェント端末6は、印刷装置9がスリープ状態であると判別した場合、直近で送信した印刷装置状態情報と同一の内容の印刷装置状態情報をメンテナンスサーバー7に送信する。メンテナンスサーバー7は、エージェント端末6から受信した印刷装置状態情報を管理する。
この構成によれば、エージェント端末6は、印刷装置9の動作モードがスリープモードの場合に、動作モードを通常モードへ移行させることなく省電力化を実現した上で、適切な内容の印刷装置状態情報を制御サーバー15に送信することができる。
Further, in the present embodiment, the
According to this configuration, when the operation mode of the
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述したエージェント端末6の制御方法(制御装置の制御方法)が、エージェント端末6が備えるコンピューター、又は、エージェント端末6に接続される外部装置を用いて実現される場合、本発明を、エージェント端末6の制御方法を実現するためにコンピューターが実行するプログラム、このプログラムをコンピューターで読み取り可能に記録した記録媒体、或いは、このプログラムを伝送する伝送媒体の態様で構成することも可能である。上記記録媒体としては、磁気的、光学的記録媒体又は半導体メモリーデバイスを用いることができる。具体的には、フレキシブルディスク、HDD(Hard Disk Drive)、CD−ROM(Compact Disk Read Only Memory)、DVD(Digital Versatile Disk)、Blu−ray(登録商標)Disc、光磁気ディスク、フラッシュメモリー、カード型記録媒体等の可搬型の、或いは固定式の記録媒体が挙げられる。また、上記記録媒体は、エージェント端末6が備えるコンピューターや、エージェント端末6に接続された外部装置が備える内部記憶装置であるRAM(Random Access Memory)、ROM(Read Only Memory)、HDD等の不揮発性記憶装置であってもよい。
また例えば、上述した実施形態では、店舗システム3が、店舗に適用される場合を例示して発明を説明したが、店舗システム3が適用される施設は、店舗に限らない。
また例えば、ネットワークシステム1を構成する各装置の通信方法はどのような方法でもよい。
また例えば、上述した実施形態では、印刷装置9の記録方式は、サーマル式としたが、記録方式は何でもよい。
また例えば、上述した実施形態における各機能ブロックはハードウェアとソフトウェアにより任意に実現可能であり、特定のハードウェア構成を示唆するものではない。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
For example, when the above-described control method of the agent terminal 6 (control method of the control device) is realized using a computer included in the
Further, for example, in the above-described embodiment, the invention has been described by exemplifying the case where the
Further, for example, any method may be used as a communication method for each device constituting the
Further, for example, in the above-described embodiment, the recording method of the
Further, for example, each functional block in the above-described embodiment can be arbitrarily realized by hardware and software, and does not suggest a specific hardware configuration.
1…ネットワークシステム、3…店舗システム、6…エージェント端末、8…POS端末、9…印刷装置、12…通信装置、60…印刷装置制御部、80…エージェント端末制御部(制御装置制御部)、GN…グローバルネットワーク、TLN…店舗側ローカルネットワーク。
DESCRIPTION OF
Claims (4)
前記印刷装置は、
通常状態のときに、前記制御装置から、前記印刷部の状態に関する情報の応答を要求する応答要求データを受信した場合、前記印刷部の状態に関する情報を含む印刷装置状態情報データを前記制御装置に送信し、
前記通常状態と異なる状態であって、前記印刷部の動作が制限されるスリープ状態のときに、前記印刷装置状態情報データを変化させず、前記応答要求データを受信した場合であっても、前記スリープ状態から前記通常状態に移行させることなく、前記印刷装置状態情報データを送信せず、
前記制御装置は、
前記印刷装置の電源状態を監視し、前記印刷装置の電源がオンのときに前記印刷装置に前記応答要求データを送信した場合に、前記応答要求データに対応する応答として前記印刷装置状態情報データを受信しなかった場合、前記印刷装置が前記スリープ状態であると判別し、
前記印刷装置から受信した前記印刷装置状態情報データに基づいて、前記印刷部の状態に関する印刷装置状態情報を前記情報処理装置に送信する一方、
前記印刷装置が前記スリープ状態であると判別した場合、直近で送信した前記印刷装置状態情報と同一の内容の前記印刷装置状態情報を前記情報処理装置に送信し、
前記情報処理装置は、
前記制御装置から受信した前記印刷装置状態情報を管理する
ことを特徴とするネットワークシステム。 A network system comprising: a printing device that has a printing unit, and that prints on a recording medium by the printing unit; a control device that can communicate with the printing device; and an information processing device that can communicate with the control device via a network Because
The printing apparatus includes:
When response request data requesting a response of information related to the status of the printing unit is received from the control device in a normal state, printing device status information data including information related to the status of the printing unit is transmitted to the control device. Send
Even when the response request data is received without changing the printing apparatus state information data when the printing unit is in a sleep state in which the operation of the printing unit is restricted, the state being different from the normal state, Without shifting from the sleep state to the normal state, the printer status information data is not transmitted,
The controller is
The power status of the printing apparatus is monitored, and when the response request data is transmitted to the printing apparatus when the printing apparatus is turned on, the printing apparatus status information data is used as a response corresponding to the response request data. If not, determine that the printing device is in the sleep state ;
Based on the printing device status information data received from the printing device, while transmitting printing device status information relating to the status of the printing unit to the information processing device,
If it is determined that the printing apparatus is in the sleep state, the printing apparatus status information having the same content as the printing apparatus status information transmitted most recently is transmitted to the information processing apparatus,
The information processing apparatus includes:
A network system that manages the printing apparatus status information received from the control apparatus .
前記スリープ状態のときに、前記制御装置から、電源状態の確認に利用する電源状態応答要求データを受信した場合、前記スリープ状態から前記通常状態へ移行することなく、電源がオンされた状態であることを示す電源状態応答データを前記制御装置に送信し、
前記制御装置は、
前記印刷装置に対して前記電源状態応答要求データを送信し、前記電源状態応答要求データに対応する応答の状態に基づいて、前記印刷装置の電源状態を監視する
ことを特徴とする請求項1に記載のネットワークシステム。 The printing apparatus includes:
When the power supply state response request data used for checking the power supply state is received from the control device in the sleep state, the power supply is turned on without shifting from the sleep state to the normal state. Power state response data indicating that to the control device,
The controller is
The power status response request data is transmitted to the printing apparatus, and the power status of the printing apparatus is monitored based on a response status corresponding to the power status response request data. The network system described.
前記印刷装置の電源状態を監視し、前記印刷装置の電源がオンのときに前記印刷装置に前記応答要求データを送信した場合に、前記印刷装置状態情報データを受信しなかった場合、前記印刷装置が前記スリープ状態であると判別し、
前記印刷装置から受信した前記印刷装置状態情報データに基づいて、前記印刷装置状態情報を前記情報処理装置に送信する一方、
前記印刷装置が前記スリープ状態であると判別した場合、直近で送信した前記印刷装置状態情報と同一の内容の前記印刷装置状態情報を前記情報処理装置に送信する制御装置制御部を備える
ことを特徴とする制御装置。 A normal state in which the printing unit has a printing unit, prints on a recording medium by the printing unit, and is capable of operating the printing unit, and is in a state different from the normal state and in which the operation of the printing unit is restricted And when the printer is in the sleep state, the printer status information data relating to the status of the printing unit is not changed, and even when response request data for the printer status information data is received, A control device capable of communicating with a printing device that does not transmit the printing device state information data without shifting to the normal state, an information processing device that manages printing device state information regarding the state of the printing unit , and
When the power supply state of the printing apparatus is monitored, and the response request data is transmitted to the printing apparatus when the printing apparatus is turned on, the printing apparatus state information data is not received. Is in the sleep state ,
While transmitting the printing device status information to the information processing device based on the printing device status information data received from the printing device,
A control device control unit configured to transmit the printing device status information having the same content as the printing device status information transmitted most recently to the information processing device when it is determined that the printing device is in the sleep state; Control device.
前記印刷装置の電源状態を監視し、前記印刷装置の電源がオンのときに前記印刷装置に前記応答要求データを送信した場合に、前記印刷装置状態情報データを受信しなかった場合、前記印刷装置が前記スリープ状態であると判別し、
前記印刷装置から受信した前記印刷装置状態情報データに基づいて、前記印刷部の状態に関する印刷装置状態情報を前記情報処理装置に送信する一方、
前記印刷装置が前記スリープ状態であると判別した場合、直近で送信した前記印刷装置状態情報と同一の内容の前記印刷装置状態情報を前記情報処理装置に送信する、
ことを特徴とする制御装置の制御方法。 A normal state in which the printing unit has a printing unit, prints on a recording medium by the printing unit, and is capable of operating the printing unit, and is in a state different from the normal state and in which the operation of the printing unit is restricted And when the printer is in the sleep state, the printer status information data relating to the status of the printing unit is not changed, and even when response request data for the printer status information data is received, A control method of a control device capable of communicating with a printing device that does not transmit the printing device state information data without shifting to the normal state, an information processing device that manages printing device state information related to the state of the printing unit, and the like. And
When the power supply state of the printing apparatus is monitored, and the response request data is transmitted to the printing apparatus when the printing apparatus is turned on, the printing apparatus state information data is not received. Is in the sleep state ,
Based on the printing device status information data received from the printing device, while transmitting printing device status information relating to the status of the printing unit to the information processing device,
When it is determined that the printing apparatus is in the sleep state, the printing apparatus state information having the same content as the printing apparatus state information transmitted most recently is transmitted to the information processing apparatus.
The control method of the control apparatus characterized by the above-mentioned.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016010963A JP6572785B2 (en) | 2016-01-22 | 2016-01-22 | Network system, control device, and control method of control device |
CN201611187982.5A CN107066215B (en) | 2016-01-07 | 2016-12-21 | Network system, printing apparatus, information processing apparatus, and control method |
EP17150153.9A EP3190509B1 (en) | 2016-01-07 | 2017-01-03 | Network system |
US15/398,434 US10187534B2 (en) | 2016-01-07 | 2017-01-04 | Information processing device, plural printers, plural monitoring devices and control method of a printer to acquire status of a selected printer through a selected monitoring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016010963A JP6572785B2 (en) | 2016-01-22 | 2016-01-22 | Network system, control device, and control method of control device |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2017130151A JP2017130151A (en) | 2017-07-27 |
JP2017130151A5 JP2017130151A5 (en) | 2019-02-28 |
JP6572785B2 true JP6572785B2 (en) | 2019-09-11 |
Family
ID=59395816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016010963A Active JP6572785B2 (en) | 2016-01-07 | 2016-01-22 | Network system, control device, and control method of control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6572785B2 (en) |
-
2016
- 2016-01-22 JP JP2016010963A patent/JP6572785B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017130151A (en) | 2017-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3190509B1 (en) | Network system | |
JP6485250B2 (en) | Network system and network system control method | |
EP3109815A1 (en) | Network system, control method of a network system and control device | |
EP3154237B1 (en) | Network system and communication control method | |
JP6540444B2 (en) | Network system and server | |
JP2014085863A (en) | Control system and control method of control system | |
JP6572785B2 (en) | Network system, control device, and control method of control device | |
JP6623661B2 (en) | Network system and communication control method | |
JP6439368B2 (en) | Information processing apparatus, accounting system, and recording apparatus | |
JP6561622B2 (en) | Network system, network system control method, and control apparatus | |
JP2016212491A (en) | Network system, network system control method, and control device | |
JP2017077660A (en) | Printer, fan motor replacement period calculating method, and network system | |
JP6686377B2 (en) | Network system | |
JP6531606B2 (en) | Network system | |
JP2017130152A (en) | Network system, printer, and control method of printer | |
JP6634832B2 (en) | Network system, information processing apparatus, and control method for information processing apparatus | |
JP2017011660A (en) | Network system and control method for the same | |
JP2017130044A (en) | Pos system, printer and control method of printer | |
JP2019117532A (en) | Printer program, terminal, and method of controlling terminal | |
JP2017092683A (en) | Network system, printer, and control method of printer | |
JP6578895B2 (en) | Network system and control device | |
JP6503905B2 (en) | Network system and control method of network system | |
JP2017107358A (en) | Control device, control method for the same, server, and network system | |
JP6428191B2 (en) | Printing apparatus and printing system | |
JP2017087522A (en) | Network system, printer and control method of printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190110 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190110 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190507 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190426 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190704 |
|
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: 20190716 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190729 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6572785 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |