JP6572785B2 - Network system, control device, and control method of control device - Google Patents

Network system, control device, and control method of control device Download PDF

Info

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
Application number
JP2016010963A
Other languages
Japanese (ja)
Other versions
JP2017130151A (en
JP2017130151A5 (en
Inventor
明男 高本
明男 高本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2016010963A priority Critical patent/JP6572785B2/en
Priority to CN201611187982.5A priority patent/CN107066215B/en
Priority to EP17150153.9A priority patent/EP3190509B1/en
Priority to US15/398,434 priority patent/US10187534B2/en
Publication of JP2017130151A publication Critical patent/JP2017130151A/en
Publication of JP2017130151A5 publication Critical patent/JP2017130151A5/ja
Application granted granted Critical
Publication of JP6572785B2 publication Critical patent/JP6572785B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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.

特開2011−245791号公報JP 2011-245791 A

制御装置の応答要求に応じて、印刷部の状態に関する情報の応答を行う印刷装置では、印刷装置がこのような処理を実行することを踏まえて、効率的に印刷装置の省電力化を図りたいとするニーズがある。
本発明は、上述した事情に鑑みてなされたものであり、制御装置の応答要求に応じて、印刷部の状態に関する情報の応答を行う印刷装置について、効率的に省電力化を図ることを目的とする。
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.

本実施形態に係るネットワークシステムの構成を示す図。The figure which shows the structure of the network system which concerns on this embodiment. 店舗システムの構成を示す図。The figure which shows the structure of a store system. 管理システムが備える各装置の機能的構成を示すブロック図。The block diagram which shows the functional structure of each apparatus with which a management system is provided. 店舗システムが備える各装置の機能的構成を示すブロック図。The block diagram which shows the functional structure of each apparatus with which a shop system is provided. ネットワークシステムの各装置間のデータの流れを示す図。The figure which shows the data flow between each apparatus of a network system. ネットワークシステムの各装置の動作を示すフローチャート。The flowchart which shows operation | movement of each apparatus of a network system. 印刷装置状態情報データに含まれる情報示す図。FIG. 6 is a diagram illustrating information included in printing apparatus status information data. ステータスデータを示す図。The figure which shows status data. ステータスデータベースのデータ構造を示す図。The figure which shows the data structure of a status database. 印刷装置識別情報入力画面を示す図。The figure which shows a printing apparatus identification information input screen. 情報提供画面を示す図。The figure which shows an information provision screen. POS端末、印刷装置の動作を示すフローチャート。6 is a flowchart showing operations of a POS terminal and a printing apparatus. 印刷装置の要部を示す図。FIG. 3 is a diagram illustrating a main part of a printing apparatus. 印刷装置の動作を示すフローチャート。6 is a flowchart showing the operation of the printing apparatus. 印刷装置の動作を示すフローチャート。6 is a flowchart showing the operation of the printing apparatus. エージェント端末の動作を示すフローチャート。The flowchart which shows operation | movement of an agent terminal. ステータスデータを示す図。The figure which shows status data.

以下、図面を参照して本発明の実施形態について説明する。
図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 network system 1 according to the present embodiment. The network system 1 is a system that is used by companies that provide products, services, etc., such as supermarkets, convenience stores, department stores, restaurants, etc., and operate stores that perform accounting according to the provisions.
As shown in FIG. 1, the network system 1 includes a management system 2 and a plurality of store systems 3. The management system 2 and each of the store systems 3 are communicably connected via a global network GN configured to include the Internet and other networks.

管理システム2は、ネットワークシステム1を利用する企業の本社に設けられたシステムである。図1に示すように、管理システム2は、ローカルネットワークである本社側ローカルネットワークHLNを備える。本社側ローカルネットワークHLNを介して行われる通信の通信規格は何でもよく、また、当該ローカルネットワークを介して行われる通信は有線通信でも無線通信でもよい。   The management system 2 is a system provided at the head office of a company that uses the network system 1. As shown in FIG. 1, the management system 2 includes a head office-side local network HLN that is a local network. Any communication standard may be used for communication performed via the head office-side local network HLN, and communication performed via the local network may be wired communication or wireless communication.

本社側ローカルネットワークHLNには、1又は複数の本社端末5と、メンテナンスサーバー7(情報処理装置)と、通信装置12とが接続される。
本社端末5は、本社において、企業の社員、その他の企業の関係者が利用するコンピューターである。
メンテナンスサーバー7(情報処理装置)は、後述するエージェント端末6(制御装置)と通信し、所定の処理を実行するサーバーである。
メンテナンスサーバー7の構成、機能、及び、機能に基づく処理の詳細については後述する。
One or more head office terminals 5, a maintenance server 7 (information processing device), and a communication device 12 are connected to the head office-side local network HLN.
The head office terminal 5 is a computer that is used by corporate employees and other corporate personnel at the head office.
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 maintenance server 7 will be described later.

通信装置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 communication device 12 is an interface device that connects a local network such as a head office-side local network HLN or a store-side local network TLN described later to the global network GN. The communication device 12 has a function as a modem (or ONU (Optical Network Unit)), a router function, a NAT (Network Address Translation) function, a DHCP (Dynamic Host Configuration Protocol) server function, and the like. The communication device 12 transfers data transmitted / received between devices during communication between a device connected to the local network and a device connected to the global network GN. In FIG. 1, the communication device 12 is represented by one block, but the communication device 12 may have a plurality of devices according to functions.
The maintenance server 7 of the management system 2 communicates with the agent terminal 6 via the head office local network HLN, the global network GN, and a store local network TLN described later, using the function of the communication device 12.

なお、図1では、メンテナンスサーバー7を1つのブロックによって表現するが、これは、メンテナンスサーバー7が単一のサーバー装置により構成されることを意味するものではない。例えば、メンテナンスサーバー7は、複数のサーバー装置を含んで構成されたものでもよい。   In FIG. 1, the maintenance server 7 is expressed by one block, but this does not mean that the maintenance server 7 is configured by a single server device. For example, the maintenance server 7 may be configured to include a plurality of server devices.

図2は、店舗システム3の構成を示す図である。
図2に示すように、店舗システム3は、ローカルネットワークである店舗側ローカルネットワークTLNを備える。店舗側ローカルネットワークTLNを介して行われる通信の通信規格は何でもよく、また、当該ローカルネットワークを介して行われる通信は有線通信でも無線通信でもよい。
FIG. 2 is a diagram illustrating a configuration of the store system 3.
As shown in FIG. 2, the store system 3 includes a store-side local network TLN that is a local network. Any communication standard may be used for communication performed through the store-side local network TLN, and communication performed through the local network may be wired communication or wireless communication.

店舗側ローカルネットワークTLNには、1又は複数の印刷装置9が接続される。
店舗には、顧客が会計を行うレジカウンターが設けられ、レジカウンターには、印刷装置9と、印刷装置9に接続され、印刷装置9を制御するPOS端末8が設けられる。
POS端末8は、POSアプリケーション、及び、プリンタードライバーがインストールされた端末である。POS端末8は、レジカウンターで行われる会計に応じて会計処理を実行し、会計処理に基づいて、印刷装置9にレシートを発行させる。印刷装置9により発行されたレシートは、レジ担当者によって顧客に引き渡される。
印刷装置9、及び、POS端末8の構成、機能、及び、機能に基づく処理の詳細については後述する。
One or a plurality of printing devices 9 are connected to the store-side local network TLN.
The store is provided with a cashier counter for customers to check out. The cashier counter is provided with a printing device 9 and a POS terminal 8 that is connected to the printing device 9 and controls the printing device 9.
The POS terminal 8 is a terminal in which a POS application and a printer driver are installed. The POS terminal 8 executes an accounting process according to the accounting performed at the checkout counter, and causes the printing apparatus 9 to issue a receipt based on the accounting process. The receipt issued by the printing device 9 is delivered to the customer by the cashier.
Details of the configuration, functions, and processing based on the functions of the printing apparatus 9 and the POS terminal 8 will be described later.

また、店舗側ローカルネットワーク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 agent terminals 6 are connected to the store-side local network TLN.
The agent terminal 6 communicates with one or a plurality of printing apparatuses 9 to be monitored via the store-side local network TLN, monitors the state of the printing apparatus 9, and transmits information related to the state of the printing apparatus 9 to the maintenance server 7. It is an apparatus provided with the function to perform.
The agent terminal 6 communicates with the maintenance server 7 via the store-side local network TLN, the global network GN, and the head office-side local network HLN using the function of the communication device 12.
Although a detailed description is omitted, between the maintenance server 7 and the agent terminal 6, encryption technology such as VPN (Virtual Private Network) or a virtual private line (even if it is a physical private line) Secure communication is performed by the technology according to the above.

図3は、管理システム2が備えるメンテナンスサーバー7、及び、本社端末5の機能的構成を示すブロック図である。   FIG. 3 is a block diagram illustrating functional configurations of the maintenance server 7 and the head office terminal 5 included in the management system 2.

図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 maintenance server 7 includes a maintenance server control unit 20, a maintenance server storage unit 21, and a maintenance server communication unit 22.
The maintenance server control unit 20 includes a CPU, ROM, RAM, and other peripheral circuits (not shown), and controls the maintenance server 7.
The maintenance server control unit 20 includes a status data receiving unit 201, a response unit 202, an analysis unit 203, and an information providing unit 204. These functional blocks are processed by the cooperation of hardware and software, such as the CPU reading and executing the corresponding program (for example, an OS (Operating System) or a dedicated program that runs on predetermined server software). To do. The functions of these functional blocks and the processing based on the functions will be described later.
The maintenance server storage unit 21 includes a nonvolatile memory and stores various data.
The maintenance server communication unit 22 accesses the global network GN and communicates with devices (including the agent terminal 6) connected to the network under the control of the maintenance server control unit 20.

図3に示すように、本社端末5は、本社端末制御部30と、本社端末記憶部31と、本社端末通信部32と、本社端末表示部33とを備える。本社端末制御部30は、本社端末5を制御する。本社端末記憶部31は、各種データを記憶する。本社端末通信部32は、本社端末制御部30の制御で通信する。本社端末表示部33は、液晶パネル等の表示パネルを備え、本社端末制御部30の制御で、各種情報を表示する。
本社端末5には、所定のブラウザーがインストールされる。
As shown in FIG. 3, the head office terminal 5 includes a head office terminal control unit 30, a head office terminal storage unit 31, a head office terminal communication unit 32, and a head office terminal display unit 33. The head office terminal control unit 30 controls the head office terminal 5. The head office terminal storage unit 31 stores various data. The head office terminal communication unit 32 communicates under the control of the head office terminal control unit 30. The head office terminal display unit 33 includes a display panel such as a liquid crystal panel, and displays various types of information under the control of the head office terminal control unit 30.
A predetermined browser is installed in the head office terminal 5.

図4は、店舗システム3が備えるPOS端末8、印刷装置9、及び、エージェント端末6の機能的構成を示すブロック図である。   FIG. 4 is a block diagram showing functional configurations of the POS terminal 8, the printing device 9, and the agent terminal 6 provided in the store system 3.

POS端末8は、印刷装置9を制御するホストコンピューターである。特に、POS端末8は、レジカウンターにおいて行われる会計に基づいて会計処理を実行し、会計処理に基づいてPOS端末8を制御して、POS端末8にレシートを発行させる。
図4に示すように、POS端末制御部40と、POS端末記憶部41と、POS端末デバイス通信部42と、を備える。
The POS terminal 8 is a host computer that controls the printing apparatus 9. In particular, the POS terminal 8 performs an accounting process based on the accounting performed at the checkout counter, controls the POS terminal 8 based on the accounting process, and causes the POS terminal 8 to issue a receipt.
As shown in FIG. 4, a POS terminal control unit 40, a POS terminal storage unit 41, and a POS terminal device communication unit 42 are provided.

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 terminal control unit 40 includes a CPU (not shown), ROM, RAM, and other peripheral circuits, and controls each unit of the POS terminal 8. A POS application and a printer driver are installed in the POS terminal 8. The POS terminal control unit 40 controls the printing apparatus 9 by generating a control command for controlling the printing apparatus 9 by using the functions of the POS application and the printer driver, and transmitting the control command to the printing apparatus 9.
The POS terminal storage unit 41 includes a nonvolatile memory and stores various data.
The POS terminal device communication unit 42 includes a port according to the USB standard, a port according to a serial communication standard other than USB (such as RS232C), a port according to a predetermined parallel communication standard (such as IEEE 1284), and other communication standards. An interface board having ports according to The POS terminal device communication unit 42 communicates with devices connected to the port (including the printing apparatus 9) according to the communication standard corresponding to the connected port under the control of the POS terminal control unit 40. The POS terminal device communication unit 42 may have a wireless communication function and wirelessly communicate with the device.

図3の例では、POS端末8に、デバイスとして、印刷装置9、バーコードスキャナーBS、カスタマーディスプレーCD、キャッシュドロアーKS、ディスプレーDPが接続される。   In the example of FIG. 3, a printer 9, a barcode scanner BS, a customer display CD, a cash drawer KS, and a display DP are connected to the POS terminal 8 as devices.

本実施形態において、印刷装置9と、POS端末8とは、USBケーブルKBを介して接続される。POS端末デバイス通信部42は、POS端末制御部40の制御で、USBに従って、印刷装置9と通信する。   In the present embodiment, the printing device 9 and the POS terminal 8 are connected via a USB cable KB. The POS terminal device communication unit 42 communicates with the printing apparatus 9 according to USB under the control of the POS terminal control unit 40.

バーコードスキャナー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 device communication unit 42. The POS terminal device communication unit 42 outputs the data input from the barcode scanner BS to the POS terminal control unit 40.
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 terminal control unit 40. The customer display CD is provided at a position where the information displayed on the customer display CD can be visually recognized by a customer who performs accounting at the checkout counter.
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 terminal control unit 40.
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 terminal control unit 40. The display DP is provided at a position where the information displayed on the display DP can be visually recognized by a cashier in charge of accounting at the cashier counter.

印刷装置9は、ロール紙を収容し、ロール紙にライン型のサーマルヘッドによってドットを形成することにより画像を印刷するラインサーマルプリンターである。
図4に示すように、印刷装置9は、印刷装置制御部60と、印刷部61と、印刷装置記憶部62と、印刷装置ネットワーク通信部63と、印刷装置デバイス通信部64と、を備える。
The printing device 9 is a line thermal printer that stores roll paper and prints an image by forming dots on the roll paper using a line-type thermal head.
As illustrated in FIG. 4, the printing device 9 includes a printing device control unit 60, a printing unit 61, a printing device storage unit 62, a printing device network communication unit 63, and a printing device device communication unit 64.

印刷装置制御部60は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、印刷装置9の各部を制御する。
印刷装置制御部60は、ログ書込部601と、印刷装置状態管理部602と、動作モード制御部603と、印刷制御部604と、を備える。これら機能ブロックは、CPUが、対応するプログラム(例えば、ファームウェア)を読み出して実行する等、ハードウェアとソフトウェアとの連携により処理を実行する。これら機能ブロックの機能、及び、機能に基づく処理については後述する。
印刷部61は、印刷装置9の筐体に収容されたロール紙を搬送する搬送機構や、サーマルヘッドによりロール紙に印刷する印刷機構、カッターによりロール紙を切断する切断機構等を備える。印刷部61は、印刷装置制御部60の制御で、搬送機構によりロール紙を搬送しつつ、サーマルヘッドによりロール紙にレシートに係る情報を印刷し、カッターにより所定の位置でロール紙を切断して、レシートを発行することができる。
The printing apparatus control unit 60 includes a CPU, a ROM, a RAM, and other peripheral circuits (not shown), and controls each unit of the printing apparatus 9.
The printing apparatus control unit 60 includes a log writing unit 601, a printing apparatus state management unit 602, an operation mode control unit 603, and a printing control unit 604. These functional blocks execute processing in cooperation with hardware and software, such as a CPU reading and executing a corresponding program (for example, firmware). The functions of these functional blocks and the processing based on the functions will be described later.
The printing unit 61 includes a transport mechanism that transports roll paper accommodated in the casing of the printing apparatus 9, a printing mechanism that prints on roll paper using a thermal head, a cutting mechanism that cuts roll paper using a cutter, and the like. The printing unit 61 controls the printing apparatus control unit 60 to print information relating to the receipt on the roll paper by the thermal head while conveying the roll paper by the conveyance mechanism, and cut the roll paper at a predetermined position by the cutter. A receipt can be issued.

印刷装置記憶部62は、不揮発性メモリーを備え、各種データを記憶する。印刷装置記憶部62は、少なくとも、ログファイル621を記憶する。   The printing device storage unit 62 includes a nonvolatile memory and stores various data. The printing device storage unit 62 stores at least a log file 621.

印刷装置ネットワーク通信部63は、印刷装置制御部60の制御で、店舗側ローカルネットワークTLNを介して、エージェント端末6と所定の通信規格に従って通信する。また、印刷装置ネットワーク通信部63は、店舗側ローカルネットワークTLNに接続された機器と通信可する。
印刷装置ネットワーク通信部63は、コマンド分析部631を備える。コマンド分析部631については後述する。
The printing device network communication unit 63 communicates with the agent terminal 6 according to a predetermined communication standard via the store-side local network TLN under the control of the printing device control unit 60. The printing apparatus network communication unit 63 can communicate with devices connected to the store-side local network TLN.
The printing apparatus network communication unit 63 includes a command analysis unit 631. The command analysis unit 631 will be described later.

印刷装置デバイス通信部64は、印刷装置制御部60の制御で、POS端末8とUSBに従って通信する。   The printing device device communication unit 64 communicates with the POS terminal 8 according to the USB under the control of the printing device control unit 60.

エージェント端末6は、監視する対象の1又は複数の印刷装置9と店舗側ローカルネットワークTLNを介して通信して1又は複数の印刷装置9の状態を監視し、1又は複数の印刷装置9の状態に関する情報をメンテナンスサーバー7に送信する機能を備える装置である。
図4に示すように、エージェント端末6は、エージェント端末制御部80(制御装置制御部)と、エージェント端末記憶部81と、エージェント端末ネットワーク通信部82とを備える。
The agent terminal 6 communicates with the one or more printing devices 9 to be monitored via the store-side local network TLN to monitor the state of the one or more printing devices 9, and the state of the one or more printing devices 9 This is a device having a function of transmitting information related to the maintenance server 7.
As shown in FIG. 4, the agent terminal 6 includes an agent terminal control unit 80 (control device control unit), an agent terminal storage unit 81, and an agent terminal network communication unit 82.

エージェント端末制御部80は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、エージェント端末6の各部を制御する。
エージェント端末制御部80は、ステータスデータ生成部801と、対応処理実行部802とを備える。これら機能ブロックは、CPUが、対応するプログラム(例えば、メンテナンスサーバー7のサーバーソフトウェアに対応するクライアントソフトウェア)を読み出して実行する等、ハードウェアとソフトウェアとの連携により処理を実行する。これら機能ブロックの機能、及び、機能に基づく処理については後述する。
エージェント端末記憶部81は、不揮発性メモリーを備え、各種データを記憶する。エージェント端末記憶部81は、少なくとも、送信間隔設定ファイル811と、監視対象印刷装置管理ファイル812とを記憶する。
The agent terminal control unit 80 includes a CPU, ROM, RAM, and other peripheral circuits (not shown), and controls each unit of the agent terminal 6.
The agent terminal control unit 80 includes a status data generation unit 801 and a response processing execution unit 802. These functional blocks execute processing in cooperation with hardware and software, such as a CPU reading and executing a corresponding program (for example, client software corresponding to server software of the maintenance server 7). The functions of these functional blocks and the processing based on the functions will be described later.
The agent terminal storage unit 81 includes a nonvolatile memory and stores various data. The agent terminal storage unit 81 stores at least a transmission interval setting file 811 and a monitoring target printing apparatus management file 812.

エージェント端末ネットワーク通信部82は、エージェント端末制御部80の制御で、店舗側ローカルネットワークTLNを介して印刷装置9と通信する。
また、エージェント端末ネットワーク通信部82は、エージェント端末制御部80の制御で、グローバルネットワークGNを介してメンテナンスサーバー7と通信する。
また、エージェント端末ネットワーク通信部82は、エージェント端末制御部80の制御で、店舗側ローカルネットワークTLNに接続された機器、及び、グローバルネットワークGNに接続された機器と通信する。
The agent terminal network communication unit 82 communicates with the printing apparatus 9 via the store-side local network TLN under the control of the agent terminal control unit 80.
The agent terminal network communication unit 82 communicates with the maintenance server 7 through the global network GN under the control of the agent terminal control unit 80.
Further, the agent terminal network communication unit 82 communicates with devices connected to the store-side local network TLN and devices connected to the global network GN under the control of the agent terminal control unit 80.

さて、ネットワークシステム1は、メンテナンスサーバー7を備える。メンテナンスサーバー7は、店舗システム3が備える印刷装置9の状態を管理する機能を有する。また、メンテナンスサーバー7は、店舗システム3の印刷装置9の保守を担当する者(以下、「保守担当者」という。)に対して、印刷装置9の保守に利用可能な情報を提供する。
以下、印刷装置9の状態を管理する際のネットワークシステム1の各装置の動作について説明する。
The network system 1 includes a maintenance server 7. The maintenance server 7 has a function of managing the state of the printing device 9 included in the store system 3. The maintenance server 7 provides information that can be used for maintenance of the printing apparatus 9 to a person in charge of maintenance of the printing apparatus 9 of the store system 3 (hereinafter referred to as “maintenance person”).
Hereinafter, the operation of each device of the network system 1 when managing the state of the printing device 9 will be described.

ここで、エージェント端末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 agent terminal 6 and the maintenance server 7 basically perform communication in the following manner according to HTTP (Hypertext Transfer Protocol). That is, the agent terminal 6 corresponds to a “client” in the client server system, and the maintenance server 7 corresponds to a “server” in the client server system. Then, the agent terminal 6 transmits an HTTP request (response request) to the maintenance server 7. As will be described later, the agent terminal 6 transmits an HTTP request to the maintenance server 7 at a predetermined interval. The maintenance server 7 transmits an HTTP response (response) to the agent terminal 6 in response to the reception of the HTTP request.
As described above, the agent terminal 6 and the maintenance server 7 transmit and receive data between these devices by transmitting a response request from the agent terminal 6 and transmitting a response according to the response request from the maintenance server 7. Therefore, data cannot be transmitted asynchronously from the maintenance server 7 to the specific agent terminal 6. When data is transmitted from the maintenance server 7 to the specific agent terminal 6, the specific agent terminal 6 Data is transmitted in the form of a response to a response request from.

以下、印刷装置9の状態をメンテナンスサーバー7が管理する場合の、印刷装置9、エージェント端末6、及び、メンテナンスサーバー7の処理について説明する。   Hereinafter, processing of the printing apparatus 9, the agent terminal 6, and the maintenance server 7 when the maintenance server 7 manages the state of the printing apparatus 9 will be described.

図5は、印刷装置9の印刷装置制御部60が備える機能ブロック、エージェント端末6のエージェント端末制御部80が備える機能ブロック、及び、メンテナンスサーバー7のメンテナンスサーバー制御部20が備える機能ブロックを、関連するデータと共に示す図である。
以下、図5を用いて、メンテナンスサーバー7が印刷装置9の状態を管理する際に、印刷装置9、エージェント端末6、及び、メンテナンスサーバー7の各機能ブロック間で送受信されるデータの基本的な流れについて説明する。
なお、図5を用いた説明では、機能ブロックの処理の詳細、及び、機能ブロック間で送受信されるデータの内容の詳細については後に説明するため省略する。
FIG. 5 shows the functional blocks provided in the printing device control unit 60 of the printing device 9, the functional blocks provided in the agent terminal control unit 80 of the agent terminal 6, and the functional blocks provided in the maintenance server control unit 20 of the maintenance server 7. It is a figure shown with the data to do.
Hereinafter, with reference to FIG. 5, when the maintenance server 7 manages the state of the printing device 9, basic data transmitted and received among the functional blocks of the printing device 9, the agent terminal 6, and the maintenance server 7 are described. The flow will be described.
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 log writing unit 601 of the printing apparatus 9 writes log information to the log file 621 at a predetermined timing.
The log file 621 is a file in which log information is recorded.
The log information is a log of a plurality of monitoring items.
The monitoring item is an item for which the state of the printing unit 61 is determined in advance to be monitored and logged. In the present embodiment, at least monitoring items: monitoring item: printer error, monitoring item: print head forming line cumulative number, and monitoring item: cutter use cumulative number exist. Note that the monitoring items described in the present embodiment are examples, and other monitoring items may exist in addition to the exemplified monitoring items or instead of at least a part of the exemplified monitoring items. That is, the monitoring item may be anything as long as it is an item relating to the state of the printing unit 61.

監視項目:プリンターエラーのログとして、ログファイル621には、プリンターエラーが発生したことを示す情報、及び、発生したプリンターエラーが解消したことを示す情報が、日時を示す情報と共に、時系列で記録される。プリンターエラーとは、ロール紙の紙切れや、ロール紙の紙詰まり、印刷ヘッドの異常発熱等、正常に印刷を行うことができない状態をいう。
ログ書込部601は、プリンターエラーが発生したか否か、及び、プリンターエラーが解消したか否かを監視し(監視項目:プリンターエラーの状態を監視し)、監視結果に基づいて、ログファイル621に監視項目:プリンターエラーのログを記録する。
Monitoring item: As a printer error log, in the log file 621, information indicating that a printer error has occurred and information indicating that the generated printer error has been resolved are recorded in time series together with information indicating the date and time. Is done. A printer error refers to a state in which printing cannot be performed normally, such as running out of roll paper, paper jam in the roll paper, or abnormal heat generation of the print head.
The log writing unit 601 monitors whether or not a printer error has occurred and whether or not the printer error has been resolved (monitoring item: monitoring the status of the printer error), and based on the monitoring result, the log file In 621, a log of monitoring item: printer error is recorded.

監視項目:印刷ヘッド形成ライン累計数のログとして、ログファイル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 log file 621 in time series together with information indicating the date and time.
The cumulative number of print head formation lines is the cumulative number of lines formed by the thermal head. The printing unit 61 of the printing apparatus 9 according to the present embodiment alternately repeats the formation of dots for one line by the thermal head and the conveyance of the roll paper for one line by the conveyance mechanism, thereby providing information to the roll paper. Print.
The log writing unit 601 acquires the cumulative number of print head lines at a predetermined interval (monitoring item: monitors the cumulative number of print head formation lines), and logs the monitoring item: cumulative number of print head formation lines in the log file 621. Record.

監視項目:カッター使用累計数のログとして、ログファイル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 log file 621 in time series together with information indicating the date and time.
The cumulative number of cutters used is the cumulative number of roll paper cuts made by the cutter.
The log writing unit 601 acquires the cumulative number of cutters used at a predetermined interval (monitoring item: monitors the cumulative number of cutters used) and records a log of the monitoring item: cumulative number of cutters used in the log file 621.

図5に示すように、印刷装置状態管理部602は、エージェント端末6からの応答要求に応じて、ログファイル621に書き込まれたログ情報に基づいて印刷装置状態情報データJDを生成し、エージェント端末6に送信する(矢印Y1)。   As illustrated in FIG. 5, the printing apparatus state management unit 602 generates printing apparatus state information data JD based on the log information written in the log file 621 in response to a response request from the agent terminal 6, and the agent terminal. 6 (arrow Y1).

エージェント端末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 data generation unit 801 of the agent terminal 6 receives the printing apparatus state information data JD from each of the monitored printing apparatuses 9 among the printing apparatuses 9 connected to the store-side local network TLN to which the agent terminal 6 is connected. To do.
The status data generation unit 801 refers to the transmission interval setting file 811 and generates status data ST based on the received printing apparatus state information data JD at intervals indicated by the file.
The status data generation unit 801 transmits the generated status data ST to the maintenance server 7 (arrow Y2). That is, the status data generation unit 801 generates the status data ST and transmits it to the maintenance server 7 at intervals indicated by the transmission interval setting file 811.
Transmission of the status data ST to the maintenance server 7 by the status data generation unit 801 is performed as an HTTP request according to HTTP.

メンテナンスサーバー7のステータスデータ受信部201は、ステータスデータSTを受信する。ステータスデータ受信部201は、ステータスデータSTを応答部202に出力する(矢印Y3)。また、ステータスデータ受信部201は、受信したステータスデータSTを、分析部203に出力する(矢印Y4)。   The status data receiving unit 201 of the maintenance server 7 receives the status data ST. The status data receiving unit 201 outputs the status data ST to the response unit 202 (arrow Y3). Further, the status data receiving unit 201 outputs the received status data ST to the analyzing unit 203 (arrow Y4).

応答部202は、応答データTDを生成し、生成した応答データTDをエージェント端末6に送信する(矢印Y5)。応答部202による応答データTDの送信は、HTTPに従って、HTTPレスポンスとして行われる。   The response unit 202 generates response data TD and transmits the generated response data TD to the agent terminal 6 (arrow Y5). The response data TD is transmitted by the response unit 202 as an HTTP response according to HTTP.

分析部203は、ステータスデータ受信部201から入力されたステータスデータSTに基づいて、ステータスデータベース211を更新する。
また、情報提供部204は、分析部203により更新されるステータスデータベース211に基づいて、保守担当者の指示に基づく本社端末5からの要求に応じて、保守担当者に印刷装置9の保守に関する情報を提供する。
The analysis unit 203 updates the status database 211 based on the status data ST input from the status data reception unit 201.
Further, the information providing unit 204 informs the maintenance staff about the maintenance of the printing apparatus 9 in response to a request from the head office terminal 5 based on the instructions of the maintenance staff based on the status database 211 updated by the analysis section 203. I will provide a.

エージェント端末6の対応処理実行部802は、応答データTDを受信する。対応処理実行部802は、受信した応答データTDに基づく処理を実行する。   The response processing execution unit 802 of the agent terminal 6 receives the response data TD. The corresponding process execution unit 802 executes a process based on the received response data TD.

その後、ステータスデータ生成部801は、送信間隔設定ファイル811を参照し、当該ファイルが示す間隔で、ステータスデータSTを生成して、メンテナンスサーバー7に送信する。   Thereafter, the status data generation unit 801 refers to the transmission interval setting file 811, generates status data ST at an interval indicated by the file, and transmits it to the maintenance server 7.

以上のように、エージェント端末6が間隔をあけてステータスデータSTをメンテナンスサーバー7に送信し、メンテナンスサーバー7が応答データTDをエージェント端末6に送信するというサイクルで、エージェント端末6とメンテナンスサーバー7との間でのデータの送受信が行われる。   As described above, the agent terminal 6 transmits the status data ST to the maintenance server 7 at intervals, and the maintenance server 7 transmits the response data TD to the agent terminal 6. Data is transmitted / received between them.

次に、印刷装置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 printing apparatus 9, the agent terminal 6, and the maintenance server 7 when managing the state of the printing apparatus 9 will be described in detail.
FIG. 6 is a flowchart showing the operations of the printing apparatus 9, the agent terminal 6, and the maintenance server 7.
FIG. 6A shows the operation of the printing apparatus state management unit 602 of the printing apparatus 9. 6B shows the operation of the status data generation unit 801 of the agent terminal 6, and FIG. 6C shows the operation of the corresponding process execution unit 802 of the agent terminal 6. 6D shows the status data receiving unit 201 of the maintenance server 7, FIG. 6E shows the response unit 202 of the maintenance server 7, and FIG. 6F shows the operation of the analysis unit 203 of the maintenance server 7.

以下の図6を用いた説明において、印刷装置9の動作モードは、スリープモード(スリープ状態)ではなく、通常モード(通常状態)であるものとする。   In the following description using FIG. 6, it is assumed that the operation mode of the printing apparatus 9 is not the sleep mode (sleep state) but the normal mode (normal state).

図6の(B)に示すように、エージェント端末6のステータスデータ生成部801は、送信間隔設定ファイル811を参照し、ステータスデータSTを生成するタイミングが到来したか否かを判別する(ステップSB1)。
送信間隔設定ファイル811は、ステータスデータSTを生成し、送信する間隔を示す情報が記録されたファイルである。ステップSB1において、ステータスデータ生成部801は、送信間隔設定ファイル811を参照し、前回、ステータスデータSTを生成して送信した後、送信間隔設定ファイル811が示す間隔が経過した場合、ステータスデータSTを生成するタイミングが到来したと判別する。
As shown in FIG. 6B, the status data generation unit 801 of the agent terminal 6 refers to the transmission interval setting file 811 and determines whether or not the timing for generating the status data ST has come (step SB1). ).
The transmission interval setting file 811 is a file in which information indicating the interval at which the status data ST is generated and transmitted is recorded. In step SB1, the status data generation unit 801 refers to the transmission interval setting file 811, and after generating and transmitting the status data ST last time, if the interval indicated by the transmission interval setting file 811 has elapsed, the status data ST is stored. It is determined that the generation timing has arrived.

ステータスデータ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 data generation unit 801 refers to the monitoring target printing apparatus management file 812 (step SB2).
The monitoring target printing device management file 812 is a file that manages information related to the printing device 9 that is monitored by the agent terminal 6. In the monitoring target printing apparatus management file 812, information regarding the printing apparatus 9 is recorded for each of the monitoring target printing apparatuses 9 in association with the printing apparatus identification information of the printing apparatus 9. Information related to the printing apparatus 9 includes at least information necessary for transmitting response request data DD of printing apparatus status information, which will be described later, to the monitoring target printing apparatus 9, such as an address in the store-side local network TLN of the printing apparatus 9. Is done.
The printing apparatus identification information is identification information for uniquely identifying the printing apparatus 9. For example, the serial number of the printing apparatus 9 (a number uniquely assigned to the printing apparatus 9 when the printing apparatus 9 is manufactured) is identified as the printing apparatus. It can be used as information.

監視対象印刷装置管理ファイル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 apparatus management file 812, the status data generation unit 801 controls the agent terminal network communication unit 82 based on the contents of the monitoring target printing apparatus management file 812, so that the monitoring target printing apparatus 9 Response request data DD of the printing apparatus status information is transmitted to each (step SB3).
The printing apparatus status information response request data DD is data for requesting the printing apparatus 9 to respond to printing apparatus status information data JD described later.
Note that the subject of the processing in the flowchart of FIG. 6A is one of the printing devices 9 to be monitored by the agent terminal 6 that is the subject of the processing of FIG.

図6の(A)に示すように、印刷装置9の印刷装置状態管理部602は、印刷装置ネットワーク通信部63を制御して、エージェント端末6が送信した印刷装置状態情報の応答要求データDDを受信する(ステップSA1)。
次いで、印刷装置状態管理部602は、ログファイル621を参照し、印刷装置状態情報データJDを生成する(ステップSA2)。
As shown in FIG. 6A, the printing device status management unit 602 of the printing device 9 controls the printing device network communication unit 63 to send response request data DD of the printing device status information transmitted by the agent terminal 6. Receive (step SA1).
Next, the printing apparatus state management unit 602 refers to the log file 621 and generates printing apparatus state information data JD (step SA2).

図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 printing unit 61.

印刷装置状態情報データJDを生成した後、印刷装置状態管理部602は、印刷装置ネットワーク通信部63を制御して、ステップSA2で生成した印刷装置状態情報データJDを、エージェント端末6に送信する(ステップSA3)。   After generating the printing apparatus state information data JD, the printing apparatus state management unit 602 controls the printing apparatus network communication unit 63 to transmit the printing apparatus state information data JD generated in step SA2 to the agent terminal 6 ( Step SA3).

なお、エージェント端末6から印刷装置状態情報の応答要求データDDを受信し、当該データに対する応答として印刷装置状態情報データJDを送信するまでの印刷装置9の処理の詳細については後述する。   Details of the processing of the printing apparatus 9 from receiving the response request data DD of the printing apparatus status information from the agent terminal 6 to transmitting the printing apparatus status information data JD as a response to the data will be described later.

図6の(B)に示すように、エージェント端末6のステータスデータ生成部801は、エージェント端末ネットワーク通信部82を制御して、印刷装置状態情報データJDを受信する(ステップSB4)。ステップSB4において、ステータスデータ生成部801は、監視対象の印刷装置9のそれぞれから、印刷装置状態情報データJDを受信する。
次いで、ステータスデータ生成部801は、監視対象の印刷装置9から受信した印刷装置状態情報データJDのそれぞれに基づいて、ステータスデータSTを生成する(ステップSB5)。
As shown in FIG. 6B, the status data generation unit 801 of the agent terminal 6 controls the agent terminal network communication unit 82 to receive the printing apparatus state information data JD (step SB4). In step SB4, the status data generation unit 801 receives the printing apparatus state information data JD from each of the monitoring target printing apparatuses 9.
Next, the status data generation unit 801 generates status data ST based on each of the printing apparatus state information data JD received from the monitoring target printing apparatus 9 (step SB5).

ステータスデータ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 maintenance server 7 as a request.

図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 agent terminal 6 that generated the status data ST is provided. Store identification information indicating the store where the agent terminal 6 is provided is registered in each of the agent terminals 6. In the status data ST illustrated in FIG. 8, store identification information is recorded in the area A81.
The status data ST includes agent terminal identification information of the agent terminal 6 that generated the status data ST. The agent terminal identification information is identification information uniquely assigned to the agent terminal 6. In each of the agent terminals 6, agent terminal identification information indicating the agent terminal 6 is registered. In the status data ST illustrated in FIG. 8, agent terminal identification information is recorded in the area A82.

ステータスデータ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 printing device 9 to be monitored (= each printing device 9 that is the transmission source of the printing device state information data JD). In the status data ST illustrated in FIG. 8, printing device status information for each printing device 9 is recorded in the area A83.
The printing apparatus status information includes printing apparatus identification information of the corresponding printing apparatus 9 and printing apparatus status information of the corresponding printing apparatus 9.
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 printing apparatus 9 is recorded in the area A831. In the printing apparatus status information recorded in the area A831, the printing apparatus identification information of the one printing apparatus 9 is recorded in the area A8311. In the printing apparatus status information recorded in the area A831, the area A8312 includes the printing apparatus status information of the one printing apparatus 9 (log related information of each monitoring item (monitoring item identification information, monitoring item log information, and Combination))) is recorded. In area A 8312, monitoring item: log-related information related to printer error is recorded in area A 83121, monitoring item: log-related information related to the cumulative number of print head formation lines is recorded in area A 83122, and monitoring item is recorded in area A 83123. : Log related information relating to the cumulative number of cutters used is recorded.

以上のように、エージェント端末6に係るステータスデータSTには、店舗識別情報と、エージェント端末識別情報とが含まれる。また、エージェント端末6に係るステータスデータSTには、監視対象の印刷装置9のそれぞれの印刷装置ステータス情報(印刷装置識別情報と、印刷装置状態情報との組み合わせ)が含まれる。   As described above, the status data ST related to the agent terminal 6 includes store identification information and agent terminal identification information. In addition, the status data ST related to the agent terminal 6 includes printing device status information (a combination of printing device identification information and printing device status information) of each monitored printing device 9.

図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 data generating unit 801 controls the agent terminal network communication unit 82 to send the generated status data ST to the maintenance server 7. Transmit (step SB6).
In step SB5, the status data generation unit 801 transmits an HTTP request in which the status data ST is recorded in the request body to the maintenance server 7 according to HTTP. Information necessary for transmitting the status data ST to the maintenance server 7 as a response request, such as the URL of the maintenance server 7 that transmits the status data ST and the protocol to be used, is registered in the agent terminal 6. After the process of step SB6, the status data generation unit 801 returns the process procedure to step SB1.

図6の(D)に示すように、メンテナンスサーバー7のステータスデータ受信部201は、メンテナンスサーバー通信部22を制御して、ステータスデータSTを受信する(ステップSD1)。
次いで、ステータスデータ受信部201は、受信したステータスデータSTを、応答部202に出力し(ステップSD2)、分析部203に出力する(ステップSD3)。
As shown in FIG. 6D, the status data receiving unit 201 of the maintenance server 7 controls the maintenance server communication unit 22 to receive the status data ST (step SD1).
Next, the status data receiving unit 201 outputs the received status data ST to the response unit 202 (step SD2) and outputs it to the analysis unit 203 (step SD3).

図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 response unit 202 acquires the status data ST output from the status data receiving unit 201 (step SE1).
Next, the response unit 202 generates response data TD based on the status data ST acquired in step SE1 (step SE2).
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 printing apparatus 9 based on the response data TD, and information instructing change of an interval for transmitting the status data ST.

次いで、応答部202は、メンテナンスサーバー通信部22を制御して、生成した応答データTDを、応答として、エージェント端末6に送信する(ステップSE3)。
例えば、応答部202は、レスポンスボディーに応答データTDが記録されたHTTPレスポンスを、HTTPに従って、エージェント端末6に送信する。
Next, the response unit 202 controls the maintenance server communication unit 22 to transmit the generated response data TD to the agent terminal 6 as a response (step SE3).
For example, the response unit 202 transmits an HTTP response in which the response data TD is recorded in the response body to the agent terminal 6 according to HTTP.

図6の(B)に示すように、エージェント端末6の対応処理実行部802は、エージェント端末ネットワーク通信部82を制御して、応答データTDを受信する(ステップSC1)。
次いで、対応処理実行部802は、応答データTDに基づいて、対応する処理を実行する(ステップSC2)。
As shown in FIG. 6B, the response processing execution unit 802 of the agent terminal 6 controls the agent terminal network communication unit 82 to receive the response data TD (step SC1).
Next, the corresponding process execution unit 802 executes a corresponding process based on the response data TD (step SC2).

一方、図6の(F)に示すように、分析部203は、ステータスデータ受信部201が出力したステータスデータSTを取得する(ステップSF1)。
次いで、分析部203は、取得したステータスデータSTに基づいて、ステータスデータベース211を更新する(ステップSF2)。以下、ステップSF2の処理について詳述する。
On the other hand, as shown in FIG. 6F, the analysis unit 203 acquires the status data ST output from the status data reception unit 201 (step SF1).
Next, the analysis unit 203 updates the status database 211 based on the acquired status data ST (step SF2). Hereinafter, the process of step SF2 will be described in detail.

図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 status database 211.
The status database 211 has a record for each printing device 9. As shown in FIG. 9, one record in the status database 211 includes at least printing apparatus identification information, printer error presence / absence information, print head error presence / absence information, and cutter error presence / absence information.
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 analysis unit 203 acquires each of the printing apparatus status information recorded in the status data ST. As described above, the printing apparatus status information includes printing apparatus identification information and printing apparatus status information.
Next, the analysis unit 203 determines one piece of printing device status information as a processing target among unprocessed printing device status information. Next, the analysis unit 203 identifies a record having printing device identification information having the same value as the value of the printing device identification information included in the printing device status information to be processed among the records in the status database 211. Next, the analysis unit 203 converts the values of the printer error presence / absence information, the print head error presence / absence information, and the cutter error presence / absence information of the identified record into the printing device status information included in the processing target printing device status information. Update based on.

ステップSF2において、分析部203は、ステータスデータSTに含まれる印刷装置ステータス情報のそれぞれを処理対象とし、処理対象とした印刷装置ステータス情報に基づいて、ステータスデータベース211における対応するレコードを更新する。   In step SF2, the analysis unit 203 sets each printing device status information included in the status data ST as a processing target, and updates a corresponding record in the status database 211 based on the printing device status information as a processing target.

次に、保守担当者(上述したように、店舗システム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 printing apparatus 9 to a maintenance person (meaning a person in charge of maintenance of the printing apparatus 9 of the store system 3 as described above). The operation of the maintenance server 7 will be described.
In the following description, it is assumed that the maintenance staff works at the head office and uses the head office terminal 5.
First, a maintenance person who desires to acquire information related to a specific printing device 9 starts up a browser of the head office terminal 5 and accesses a predetermined URL of a predetermined maintenance server 7.
The information providing unit 204 of the maintenance server 7 generates an HTML file for displaying the printing apparatus identification information input screen G101 (FIG. 10) in response to access to a predetermined URL, and transmits the HTML file to the head office terminal 5.
The head office terminal control unit 30 of the head office terminal 5 receives the HTML file by the browser function, controls the head office terminal display unit 33 based on the received HTML file, and displays the printing apparatus identification information input screen G101 on the display panel. Display.

図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 printing device 9 whose information is desired to be acquired in the printing device identification information input field R101, and confirms the input by operating the confirmation button B101. In response to the confirmation of the input, the input printing device identification information is transmitted to the maintenance server 7 by the function of the script implemented in the HTML file.

メンテナンスサーバー7の情報提供部204は、印刷装置識別情報を受信する。次いで、情報提供部204は、受信した印刷装置識別情報に基づいて、ステータスデータベース211の対応するレコードを特定する。対応するレコードとは、受信した印刷装置識別情報の値と同一の値の印刷装置識別情報を有するレコードのことである。次いで、情報提供部204は、特定したレコードに基づいて、情報提供画面G111(図11)を表示させるHTMLファイルを生成し、本社端末5に送信する。
本社端末5の本社端末制御部30は、ブラウザーの機能により、HTMLファイルを受信し、受信したHTMLファイルに基づいて本社端末表示部33を制御して、表示パネルに情報提供画面G111を表示させる。
The information providing unit 204 of the maintenance server 7 receives the printing apparatus identification information. Next, the information providing unit 204 specifies a corresponding record in the status database 211 based on the received printing apparatus identification information. The corresponding record is a record having printing device identification information having the same value as the value of the received printing device identification information. Next, the information providing unit 204 generates an HTML file for displaying the information providing screen G111 (FIG. 11) based on the identified record, and transmits the HTML file to the head office terminal 5.
The head office terminal control unit 30 of the head office terminal 5 receives the HTML file by the browser function, controls the head office terminal display unit 33 based on the received HTML file, and displays the information providing screen G111 on the display panel.

図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 printing device 9 of the printing device identification information input by the maintenance staff is displayed. In the example of FIG. 11, basic information about the printing device 9 includes information indicating the model number of the printing device 9, information indicating the version of firmware installed in the printing device 9, and the name of the store where the printing device 9 is provided. The information indicating the address of the store, the information indicating the telephone number of the store, and the information indicating the lane number of the cashier counter provided with the printing device 9. The basic information regarding the printing apparatus 9 is not limited to the exemplified information.
Here, the maintenance server storage unit 21 of the maintenance server 7 stores a database that stores the printing apparatus 9 in association with the printing apparatus identification information and basic information about the printing apparatus 9. The information providing unit 204 acquires basic information about the printing apparatus 9 based on the database.
The maintenance staff can obtain basic information about the printing apparatus 9 by referring to the information displayed in the area A111 of the information provision screen G111, and can perform work such as telephone to the store as necessary. It can be performed.

図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 POS terminal 8 and the printing device 9 when a transaction is made at the register counter of the store will be described.

図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 POS terminal 8 and the printing device 9 when accounting is performed. (A) shows the operation of the POS terminal 8, and (B) shows the operation of the printing device 9. Show.
As shown in FIG. 12A, the POS terminal control unit 40 of the POS terminal 8 executes transaction processing according to customer transaction (step SG1).
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 terminal control unit 40 acquires the product code of the product based on the reading result of the barcode scanner BS, and refers to the product master of a POS server (not shown) as necessary, and is necessary for accounting processing such as the unit price of the product. Get information about the product. The POS terminal control unit 40 displays information about the product on the customer display CD or the display DP based on the acquired information about the product. In addition, the POS terminal control unit 40 calculates the total amount and calculates the change based on the information related to the acquired product, confirms the accounting, and displays information indicating the calculation result on the customer display CD and the display DP. In addition, the cash drawer KS is controlled.

ステップ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 terminal control unit 40 has printed information relating to accounting (information relating to merchandise, information relating to the total amount, information relating to change, etc.) on the printing device 9 based on the accounting process. A control command for issuing a receipt is generated (step SG2). A POS application and a printer driver are installed in the POS terminal 8, and the POS terminal control unit 40 generates a control command using the functions of these programs.
Next, the POS terminal control unit 40 controls the POS terminal device communication unit 42 and transmits the generated control command to the printing apparatus 9 (step SG3).

図12の(B)に示すように、印刷装置9の印刷装置制御部60の印刷制御部604は、印刷装置ネットワーク通信部63を制御して、制御コマンドを受信する(ステップSH1)。
次いで、印刷制御部604は、受信した制御コマンドに基づいて、印刷部61を制御して、レシートを発行する(ステップSH2)。発行されたレシートは、レジ担当者によって、顧客に引き渡される。
As shown in FIG. 12B, the print control unit 604 of the printing device control unit 60 of the printing device 9 controls the printing device network communication unit 63 to receive a control command (step SH1).
Next, the print control unit 604 controls the printing unit 61 based on the received control command to issue a receipt (step SH2). The issued receipt is delivered to the customer by the cashier.

ところで、印刷装置9は、動作モードとして、通常モード(通常状態)と、スリープモード(スリープ状態)とを備える。
通常モードでは、図示しない電源から、印刷装置9における電力供給先の各部へ電力が通常の態様で供給され、印刷装置9は、印刷部61による印刷に関する処理を含む各処理を実行可能である。
スリープモードでは、図示しない電源からの、印刷装置9における電力供給先の各部への電力の供給が所定の態様で制限され、印刷装置9が実行可能な処理が制限される。このスリープモードでは、印刷装置9は、印刷部61による印刷に関する処理を実行できない。スリープモードでは、通常モードと比較し、消費電力が抑制される。
そして、本実施形態では、印刷装置9が、エージェント端末6からの印刷装置状態情報の応答要求データDDを受信した場合、当該データに対する応答として印刷装置状態情報データJDを送信する構成を踏まえて、スリープモードが継続する期間が不必要に低減することを抑制し、印刷装置9における効率的な省電力化が図られている。
以下、印刷装置9の効率的な省電力化の実現に関する印刷装置9、及び、エージェント端末6の処理について詳述する。
Incidentally, the printing apparatus 9 includes a normal mode (normal state) and a sleep mode (sleep state) as operation modes.
In the normal mode, power is supplied from a power source (not shown) to each unit of the power supply destination in the printing apparatus 9 in a normal manner, and the printing apparatus 9 can execute each process including a process related to printing by the printing unit 61.
In the sleep mode, power supply from a power source (not shown) to each unit of the power supply destination in the printing apparatus 9 is restricted in a predetermined manner, and processing that can be executed by the printing apparatus 9 is restricted. In this sleep mode, the printing apparatus 9 cannot execute processing related to printing by the printing unit 61. In the sleep mode, power consumption is suppressed compared to the normal mode.
In the present embodiment, when the printing apparatus 9 receives the response request data DD for the printing apparatus status information from the agent terminal 6, the printing apparatus status information data JD is transmitted as a response to the data. The period during which the sleep mode continues is suppressed from being unnecessarily reduced, and efficient power saving in the printing apparatus 9 is achieved.
Hereinafter, the processing of the printing apparatus 9 and the agent terminal 6 relating to the realization of efficient power saving of the printing apparatus 9 will be described in detail.

図13は、印刷装置9の要部を説明に適した態様で模式的に示す図である。
図13では、説明の便宜を考慮して、物理的な構成要素と、機能ブロックとを、同一の図にブロックによって表した状態である。
図13に示すように、印刷装置9は、筐体に収納された基板として、通信インターフェース基板B1と、制御基板B2とを備える。
通信インターフェース基板B1は、印刷装置9が対応する各種通信プロトコルに係る通信インターフェースが実装された基板である。
通信インターフェース基板B1は、ネットワークインターフェースB11と、デバイス通信インターフェースB12とを備える。
FIG. 13 is a diagram schematically showing the main part of the printing apparatus 9 in a mode suitable for explanation.
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 printing apparatus 9 includes a communication interface board B1 and a control board B2 as boards housed in a housing.
The communication interface board B1 is a board on which communication interfaces related to various communication protocols supported by the printing apparatus 9 are mounted.
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 network communication unit 63. The printing apparatus network communication unit 63 includes a command analysis unit 631 as a functional block.
The device communication interface B12 includes at least a communication interface related to USB. The device communication interface B12 functions as the printing apparatus device communication unit 64.

通常モードでは、通信インターフェース基板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 apparatus control unit 60 is limited. Therefore, while the operation mode is the sleep mode, printing by the printing unit 61 under the control of the printing control unit 604 and information on the log file 621 by the log writing unit 601 are limited.

また、制御基板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 printing apparatus 9 are mounted. The control board B2 includes a CPU, a dedicated chip, and other control circuits, and functions as the printing apparatus control unit 60. As described above, the printing apparatus control unit 60 includes the log writing unit 601, the printing apparatus state management unit 602, the operation mode control unit 603, and the printing control unit 604.

次に、動作モード制御部603について説明する。
動作モード制御部603は、印刷装置9の動作モードについて、上述した通常モードと、スリープモードとの間での移行を制御する。
図14は、動作モード制御部603の動作を示すフローチャートである。
なお、図14のフローチャートの開始時点では、動作モードは、通常モードである。
Next, the operation mode control unit 603 will be described.
The operation mode control unit 603 controls transition between the normal mode and the sleep mode described above with respect to the operation mode of the printing apparatus 9.
FIG. 14 is a flowchart showing the operation of the operation mode control unit 603.
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 mode control unit 603 monitors whether or not a condition for shifting the operation mode to the sleep mode is satisfied while the operation mode is the normal mode (step SI1).
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 agent terminal 6 and the POS terminal 8) for a predetermined period. The processing was not performed.
When the condition for shifting to the sleep mode is satisfied (step SI1: YES), the operation mode control unit 603 shifts the operation mode from the normal mode to the sleep mode (step SI2).

スリープモードへ移行した後、動作モード制御部603は、スリープモードから通常モードへ移行する条件が成立したか否かを監視する(ステップSI3)。
なお、動作モードがスリープモードの間、動作モード制御部603は、動作が制限された状態である。ステップSI3では、動作モード制御部603は、印刷装置ネットワーク通信部63、又は、印刷装置デバイス通信部64から、CPUに対して、後述する割込信号が入力された場合に、そのことを検出し、スリープモードから通常モードへ移行する条件が成立したと判別する。
After shifting to the sleep mode, the operation mode control unit 603 monitors whether a condition for shifting from the sleep mode to the normal mode is satisfied (step SI3).
Note that while the operation mode is the sleep mode, the operation mode control unit 603 is in a state where the operation is restricted. In step SI3, the operation mode control unit 603 detects that when an interrupt signal to be described later is input to the CPU from the printing device network communication unit 63 or the printing device device communication unit 64. It is determined that the condition for shifting from the sleep mode to the normal mode is satisfied.

通常モードへ移行する条件が成立した場合(ステップSI3:YES)、動作モード制御部603は、動作モードをスリープモードから通常モードへ移行する(ステップSI4)。通常モードへの移行に伴って、印刷装置制御部60が備える各種機能ブロックによる処理が可能となる。
ステップSI4の処理後、動作モード制御部603は、処理手順をステップSI1へ移行する。
When the condition for shifting to the normal mode is satisfied (step SI3: YES), the operation mode control unit 603 shifts the operation mode from the sleep mode to the normal mode (step SI4). Along with the transition to the normal mode, processing by various functional blocks provided in the printing apparatus control unit 60 becomes possible.
After the process of step SI4, the operation mode control unit 603 shifts the processing procedure to step SI1.

次に、印刷装置デバイス通信部64について説明する。
まず、動作モードが通常モードの場合の印刷装置デバイス通信部64について説明する。
動作モードが通常モードの間、印刷装置デバイス通信部64は、USBケーブルKBを介して接続されたPOS端末8から制御コマンドを受信したか否かを監視する。
制御コマンドを受信した場合、印刷装置デバイス通信部64は、図示しない受信バッファーに受信した制御コマンドを順次格納すると共に、印刷装置制御部60に対して所定の信号を出力して、制御コマンドを受信したことを通知する。
印刷装置制御部60は、当該通知に応じて、受信バッファーに格納された制御コマンドを処理する。例えば、制御コマンドがレシートの発行を指示する制御コマンドである場合、印刷制御部604は、受信バッファーから制御コマンドを、読み出して実行して、印刷部61を制御して、レシートを発行させる。
Next, the printing apparatus device communication unit 64 will be described.
First, the printer device communication unit 64 when the operation mode is the normal mode will be described.
While the operation mode is the normal mode, the printing apparatus device communication unit 64 monitors whether a control command is received from the POS terminal 8 connected via the USB cable KB.
When the control command is received, the printing apparatus device communication unit 64 sequentially stores the received control commands in a reception buffer (not shown) and outputs a predetermined signal to the printing apparatus control unit 60 to receive the control command. Notify you.
In response to the notification, the printing apparatus control unit 60 processes the control command stored in the reception buffer. For example, when the control command is a control command for instructing issuance of a receipt, the print control unit 604 reads and executes the control command from the reception buffer and controls the printing unit 61 to issue a receipt.

次に、動作モードがスリープモードの場合の印刷装置デバイス通信部64について説明する。
動作モードがスリープモードの間、印刷装置デバイス通信部64は、USBケーブルKBを介して接続されたPOS端末8から制御コマンドを受信したか否かを監視する。
制御コマンドを受信した場合、印刷装置デバイス通信部64は、図示しない受信バッファーに受信した制御コマンドを順次格納すると共に、印刷装置制御部60の動作モード制御部603に対して割込信号を出力して、制御コマンドを受信したことを通知する。
上述したように、動作モード制御部603は、印刷装置デバイス通信部64からの割込信号の入力に応じて、動作モードをスリープモードから通常モードへ移行する。通常モードへの移行後、印刷装置制御部60は、受信バッファーに格納された制御コマンドを処理する。例えば、制御コマンドがレシートの発行を指示する制御コマンドである場合、印刷制御部604は、受信バッファーから制御コマンドを、読み出して実行して、印刷部61を制御して、レシートを発行させる。
Next, the printer device communication unit 64 when the operation mode is the sleep mode will be described.
While the operation mode is the sleep mode, the printing apparatus device communication unit 64 monitors whether a control command is received from the POS terminal 8 connected via the USB cable KB.
When the control command is received, the printing apparatus device communication unit 64 sequentially stores the received control commands in a reception buffer (not shown) and outputs an interrupt signal to the operation mode control unit 603 of the printing apparatus control unit 60. To notify that the control command has been received.
As described above, the operation mode control unit 603 shifts the operation mode from the sleep mode to the normal mode in response to the input of the interrupt signal from the printing apparatus device communication unit 64. After shifting to the normal mode, the printing apparatus control unit 60 processes the control command stored in the reception buffer. For example, when the control command is a control command for instructing issuance of a receipt, the print control unit 604 reads and executes the control command from the reception buffer and controls the printing unit 61 to issue a receipt.

次に、印刷装置ネットワーク通信部63のコマンド分析部631について説明する。
まず、動作モードが通常モード場合のコマンド分析部631について説明する。
動作モードが通常モードの間、コマンド分析部631は、店舗側ローカルネットワークTLNを介して、外部装置(エージェント端末6を含む。)からデータを受信したか否かを監視する。
データを受信した場合、コマンド分析部631は、図示しない受信バッファーに受信したデータを順次格納すると共に、印刷装置制御部60に対して所定の信号を出力して、データを受信したことを通知する。
印刷装置制御部60は、当該通知に応じて、受信バッファーに格納されたデータを処理する。例えば、データが、エージェント端末6が送信した印刷装置状態情報の応答要求データDDの場合、印刷装置状態管理部602は、受信バッファーから印刷装置状態情報の応答要求データDDを読み出して、当該データに対応する応答として、印刷装置状態情報データJDをエージェント端末6に送信する。
Next, the command analysis unit 631 of the printing apparatus network communication unit 63 will be described.
First, the command analysis unit 631 when the operation mode is the normal mode will be described.
While the operation mode is the normal mode, the command analysis unit 631 monitors whether data is received from an external device (including the agent terminal 6) via the store-side local network TLN.
When the data is received, the command analysis unit 631 sequentially stores the received data in a reception buffer (not shown) and outputs a predetermined signal to the printing apparatus control unit 60 to notify that the data has been received. .
In response to the notification, the printing device control unit 60 processes the data stored in the reception buffer. For example, when the data is the response request data DD of the printing apparatus status information transmitted by the agent terminal 6, the printing apparatus status management unit 602 reads the response request data DD of the printing apparatus status information from the reception buffer, and stores the response request data DD in the data. As a corresponding response, the printer status information data JD is transmitted to the agent terminal 6.

次に、動作モードがスリープモードの場合のコマンド分析部631について説明する。
図15は、動作モードがスリープモードの場合のコマンド分析部631の動作を示すフローチャートである。
図15に示すように、動作モードがスリープモードの間、コマンド分析部631は、店舗側ローカルネットワークTLNを介して、外部装置(エージェント端末6を含む。)からデータを受信したか否かを監視する(ステップSJ1)。
データを受信した場合(ステップSJ1:YES)、コマンド分析部631は、受信したデータを分析し、受信したデータが、印刷装置状態情報の応答要求データDDであるか否かを判別する(ステップSJ2)。
Next, the command analysis unit 631 when the operation mode is the sleep mode will be described.
FIG. 15 is a flowchart showing the operation of the command analysis unit 631 when the operation mode is the sleep mode.
As shown in FIG. 15, while the operation mode is the sleep mode, the command analysis unit 631 monitors whether data is received from an external device (including the agent terminal 6) via the store-side local network TLN. (Step SJ1).
When data is received (step SJ1: YES), the command analysis unit 631 analyzes the received data and determines whether or not the received data is response request data DD of the printing apparatus status information (step SJ2). ).

受信したデータが、印刷装置状態情報の応答要求データ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 command analysis unit 631 determines whether or not the received data is power status response request data (step SJ3). ). When the received data is power state response request data (step SJ3: YES), the command analysis unit 631 transmits power state response data as a response to the data (step SJ4). If the received data is not power supply state response request data (step SJ3: NO), the command analysis unit 631 shifts the processing procedure to step SJ6.
The power status response request data is data that the status data generation unit 801 of the agent terminal 6 transmits to the monitoring target printing apparatus 9 in order to confirm whether the printing apparatus 9 is turned on or off.
The status data generation unit 801 of the agent terminal 6 transmits power supply state response request data to the monitoring target printing apparatus 9 at regular intervals. When the status data generation unit 801 receives the power status response data within a predetermined period as a response to the power status response request data, the status data generation unit 801 determines that the power of the printing apparatus 9 is on. On the other hand, if the status data generation unit 801 does not receive the power status response data within a predetermined period after transmitting the power status response request data, the status data generation unit 801 determines that the power of the printing apparatus 9 is off.
Note that the command analysis unit 631 executes the response of the power state response data regardless of the operation mode.

ステップSJ4で電源状態応答データを送信した場合、コマンド分析部631は、動作モード制御部603への割込信号の出力を行わない(ステップSJ5)。
この結果、動作モードは通常モードへ移行せず、動作モードがスリープモードである状態が維持される。
When the power supply state response data is transmitted in step SJ4, the command analysis unit 631 does not output an interrupt signal to the operation mode control unit 603 (step SJ5).
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 command analysis unit 631 sequentially stores the received data in the reception buffer (step SJ6), and outputs an interrupt signal to the operation mode control unit 603 to notify that the control command has been received. (Step SJ7).
As described above, the operation mode control unit 603 shifts the operation mode from the sleep mode to the normal mode in response to the input of the interrupt signal from the command analysis unit 631. After shifting to the normal mode, the printing apparatus control unit 60 processes the data stored in the reception buffer.

受信したデータが、印刷装置状態情報の応答要求データ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 command analysis unit 631 stores the response request data DD for the printing apparatus status information in the reception buffer, and the operation mode. The interrupt signal is not output to the control unit 603 (step SJ8).
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 command analysis unit 631 is as follows.
That is, when the operation mode is the sleep mode, processing by the printing unit 61 is limited, and thus the state of the printing unit 61 does not change. Specifically, the monitoring items exemplified in this embodiment are monitoring item: printer error, monitoring item: cumulative number of print head formation lines, and monitoring item: cumulative number of cutters used, but the operation mode is sleep mode. Basically, the status of these monitoring items does not change. Here, the agent terminal 6 transmits the response request data DD of the printing apparatus status information to the printing apparatus 9 at intervals. The interval at which the agent terminal 6 transmits the response request data DD of the printing apparatus status information is sufficient compared to the average value during the period in which the sleep mode is maintained when the printing apparatus 9 shifts to the sleep mode. Small. For this reason, when the printing apparatus 9 receives the response request data DD of one printing apparatus status information and then receives the response request data DD of the next printing apparatus status information, the operation mode shifts to the sleep mode. The state of the printing unit 61 when the response request data DD of the first printing device state information is received and the state of the printing unit 61 when the response request data DD of the next printing device state information is received are: Very likely not changed.
Based on the above, when the printing apparatus 9 receives the response request data DD for the printing apparatus status information when the operation mode is the sleep mode, the printing apparatus 9 responds to the data without shifting the operation mode to the normal mode. The printer status information data JD is not transmitted as a response. As a result, an unnecessary reduction in the period during which the sleep mode continues is suppressed, and efficient power saving in the printing apparatus 9 can be realized.
As will be described later, when the agent terminal 6 does not receive the printing apparatus state information data JD in response to the response request data DD of the transmitted printing apparatus state information, the agent terminal 6 performs a corresponding process, so that the printing apparatus 9 Does not respond to the problem.

次に、エージェント端末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 agent terminal 6 will be described.
FIG. 16 is a flowchart showing details of processing of the agent terminal 6 when the response request data DD of the printing apparatus status information is transmitted.
As shown in FIG. 16, the status data generation unit 801 of the agent terminal 6 transmits response request data DD of the printing apparatus status information to the monitoring target printing apparatus 9 (step SK1). The process of step SK1 is a process corresponding to step SG3 of FIG.
In the following description with reference to FIG. 16, for convenience of explanation, it is assumed that the status data generation unit 801 transmits response request data DD of printing apparatus status information to one printing apparatus 9 in step SK1. .

印刷装置状態情報の応答要求データ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 data generation unit 801 monitors whether or not a predetermined period has elapsed (step SK3), and before the predetermined period has elapsed, the printing apparatus status. It is monitored whether or not the information data JD has been received (step SK2).
The predetermined period is the maximum period required until the printing apparatus 9 that has received the printing apparatus status information response request data DD transmits the printing apparatus status information data JD when the operation mode of the printing apparatus 9 is the normal mode. It is a predetermined period.
When the printing apparatus state information data JD is received before the predetermined period has elapsed (step SK2: YES), the status data generation unit 801 executes the processing after step SG4 in FIG. SK4).

印刷装置状態情報データ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 data generation unit 801 supplies the power of the printing apparatus 9 that has transmitted the response request data DD of the printing apparatus state information. Is determined to be on or not (step SK5).
As described above, the status data generation unit 801 periodically transmits power supply state response request data to the monitoring target printing device 9 at intervals, and based on the response state corresponding to the data, The power supply state of the printing apparatus 9 is monitored.

電源がオンの状態ではない場合(ステップ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 data generation unit 801 sets the printing device status information of the printing device 9 as unconnected information when generating the status data ST (step SK6).
The unconnected information is information indicating that the printing device 9 to be monitored is not connected to the agent terminal 6. The fact that the monitoring target printing apparatus 9 is not connected to the agent terminal 6 means that the agent terminal 6 cannot communicate with the monitoring target printing apparatus 9.
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 monitoring device 9 to be monitored is not connected to one agent terminal 6, the status data ST generated by the one agent terminal 6 includes the one printing device 9. As the printing apparatus status information, unconnected information is recorded instead of the log related information of each monitoring item.

電源がオンの状態である場合(ステップSK5:YES)、ステータスデータ生成部801は、印刷装置9の動作モードがスリープモードであると判別する(ステップSK7)。上述したように、印刷装置9は、電源がオンの場合であっても、動作モードがスリープモードの場合は、印刷装置状態情報の応答要求データDDに対応する応答として印刷装置状態情報データJDを送信しないからである。   When the power is on (step SK5: YES), the status data generation unit 801 determines that the operation mode of the printing apparatus 9 is the sleep mode (step SK7). As described above, even if the printing apparatus 9 is powered on, if the operation mode is the sleep mode, the printing apparatus status information data JD is sent as a response corresponding to the response request data DD of the printing apparatus status information. It is because it does not transmit.

次いで、ステータスデータ生成部801は、ステータスデータSTを生成する際に、印刷装置9の印刷装置状態情報を、直近で送信した対応するステータスデータSTに記録した印刷装置状態情報と同一の内容とする(ステップSK8)。上述したように、印刷装置9の動作モードがスリープモードであるため、印刷部61の状態は変化してない可能性が非常に高いからである。   Next, when the status data generating unit 801 generates the status data ST, the status information ST of the printing apparatus 9 has the same content as the printing apparatus status information recorded in the corresponding status data ST transmitted most recently. (Step SK8). As described above, since the operation mode of the printing apparatus 9 is the sleep mode, it is very likely that the state of the printing unit 61 has not changed.

以上説明したように、ネットワークシステム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 network system 1 includes the printing unit 61, the printing device 9 that prints on the roll paper (recording medium) by the printing unit 61, and the agent terminal 6 (control device) that can communicate with the printing device 9. With.
When the printing device 9 is in a normal mode (normal state) that is not a sleep mode (sleep state) in which the operation of the printing unit 61 is restricted, a response of information regarding the state of the printing unit 61 is received from the agent terminal 6 (control device). When the response request data DD of the printing apparatus status information requesting the printing apparatus 61 is received, the printing apparatus status information data JD including information related to the status of the printing unit 61 is transmitted to the agent terminal 6. Further, when the printing apparatus 9 receives the response request data DD for the printing apparatus state information in the sleep mode, the printing apparatus 9 does not transmit the printing apparatus state information data JD. The agent terminal 6 monitors the power state of the printing apparatus), and when response request data DD of the printing apparatus state information is transmitted to the printing apparatus 9 when the printing apparatus 9 is turned on, as a response corresponding to the data If the printer status information data JD has not been received, it is determined that the printer 9 is in the sleep mode.
According to this configuration, when the printing apparatus 9 receives the response request data DD of the printing apparatus status information from the agent terminal 6, it is based on the configuration in which the printing apparatus status information data JD is transmitted as a response to the data. The period during which the mode continues can be prevented from being unnecessarily reduced, and efficient power saving in the printing apparatus 9 can be achieved.

また、本実施形態では、印刷装置9は、スリープ状態のときに、エージェント端末6から、電源状態の確認に利用する電源状態応答要求データを受信した場合、スリープモードから通常モードへ移行することなく、電源がオンされた状態であることを示す電源状態応答データをエージェント端末6に送信する。エージェント端末6は、印刷装置9に対して電源状態応答要求データを送信し、電源状態応答要求データに対応する応答の状態に基づいて、印刷装置9の電源状態を監視する。
この構成によれば、エージェント端末6は、印刷装置9の動作モードにかかわらず、印刷装置9の電源状態を的確に監視できる。
In the present embodiment, when the printing apparatus 9 receives the power state response request data used for confirming the power state from the agent terminal 6 in the sleep state, the printing apparatus 9 does not shift from the sleep mode to the normal mode. Then, power state response data indicating that the power is on is transmitted to the agent terminal 6. The agent terminal 6 transmits power state response request data to the printing device 9 and monitors the power state of the printing device 9 based on the response state corresponding to the power state response request data.
According to this configuration, the agent terminal 6 can accurately monitor the power state of the printing apparatus 9 regardless of the operation mode of the printing apparatus 9.

また、本実施形態では、エージェント端末6は、印刷装置9から受信した印刷装置状態情報データJDに基づいて、印刷部61の状態に関する印刷装置状態情報をメンテナンスサーバー7(情報処理装置)に送信する。一方、エージェント端末6は、印刷装置9がスリープ状態であると判別した場合、直近で送信した印刷装置状態情報と同一の内容の印刷装置状態情報をメンテナンスサーバー7に送信する。メンテナンスサーバー7は、エージェント端末6から受信した印刷装置状態情報を管理する。
この構成によれば、エージェント端末6は、印刷装置9の動作モードがスリープモードの場合に、動作モードを通常モードへ移行させることなく省電力化を実現した上で、適切な内容の印刷装置状態情報を制御サーバー15に送信することができる。
Further, in the present embodiment, the agent terminal 6 transmits printing device state information regarding the state of the printing unit 61 to the maintenance server 7 (information processing device) based on the printing device state information data JD received from the printing device 9. . On the other hand, when the agent terminal 6 determines that the printing apparatus 9 is in the sleep state, the agent terminal 6 transmits to the maintenance server 7 printing apparatus state information having the same contents as the printing apparatus state information transmitted most recently. The maintenance server 7 manages the printing apparatus status information received from the agent terminal 6.
According to this configuration, when the operation mode of the printing apparatus 9 is in the sleep mode, the agent terminal 6 realizes power saving without shifting the operation mode to the normal mode, and the printing apparatus state having an appropriate content Information can be sent to the control server 15.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述したエージェント端末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 agent terminal 6 or an external device connected to the agent terminal 6, the present invention is It is also possible to configure the program executed by a computer to realize the control method of the terminal 6, a recording medium in which the program is recorded so as to be readable by the computer, or a transmission medium for transmitting the program. As the recording medium, a magnetic or optical recording medium or a semiconductor memory device can be used. Specifically, flexible disk, HDD (Hard Disk Drive), CD-ROM (Compact Disk Read Only Memory), DVD (Digital Versatile Disk), Blu-ray (registered trademark) Disc, magneto-optical disk, flash memory, card Examples thereof include portable or fixed recording media such as mold recording media. The recording medium is a nonvolatile memory such as a RAM (Random Access Memory), a ROM (Read Only Memory), or an HDD that is an internal storage device of a computer included in the agent terminal 6 or an external device connected to the agent terminal 6. It may be a storage device.
Further, for example, in the above-described embodiment, the invention has been described by exemplifying the case where the store system 3 is applied to a store, but the facility to which the store system 3 is applied is not limited to a store.
Further, for example, any method may be used as a communication method for each device constituting the network system 1.
Further, for example, in the above-described embodiment, the recording method of the printing apparatus 9 is the thermal method, but any recording method may be used.
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 SYMBOLS 1 ... Network system, 3 ... Store system, 6 ... Agent terminal, 8 ... POS terminal, 9 ... Printing apparatus, 12 ... Communication apparatus, 60 ... Printing apparatus control part, 80 ... Agent terminal control part (control apparatus control part), GN ... Global network, TLN ... Store side local network.

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.
JP2016010963A 2016-01-07 2016-01-22 Network system, control device, and control method of control device Active JP6572785B2 (en)

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)

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