JP2017130152A - Network system, printer, and control method of printer - Google Patents

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

Info

Publication number
JP2017130152A
JP2017130152A JP2016010964A JP2016010964A JP2017130152A JP 2017130152 A JP2017130152 A JP 2017130152A JP 2016010964 A JP2016010964 A JP 2016010964A JP 2016010964 A JP2016010964 A JP 2016010964A JP 2017130152 A JP2017130152 A JP 2017130152A
Authority
JP
Japan
Prior art keywords
printing apparatus
printing
monitoring
response
information
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.)
Withdrawn
Application number
JP2016010964A
Other languages
Japanese (ja)
Other versions
JP2017130152A5 (en
Inventor
明男 高本
Akio Takamoto
明男 高本
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 JP2016010964A priority Critical patent/JP2017130152A/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 JP2017130152A publication Critical patent/JP2017130152A/en
Publication of JP2017130152A5 publication Critical patent/JP2017130152A5/ja
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a network system which can easily perform setting so that monitoring on the same printer does not overlap when a plurality of monitoring devices monitor the states of the plurality of printers, a printer and a control method of the printer.SOLUTION: A network system 1 includes: a printer 9; a plurality of agent terminals 6 which can monitor the state of the printer; and a maintenance server which can communicate with the agent terminals. The agent terminal requests a response of printer state information on the state of the printer with an interval for the printer being the monitoring object, and transmits the printer state information received according to the request to the maintenance server. The maintenance server manages the state of the printer on the basis of the received printer state information. The printer stops the request for the response by the agent terminal other than the prescribed agent terminal when receiving the request for the response of printer state information from a different agent terminal.SELECTED DRAWING: Figure 2

Description

本発明は、ネットワークシステム、印刷装置、及び、印刷装置の制御方法に関する。   The present invention relates to a network system, a printing apparatus, and a printing apparatus control method.

従来、印刷装置(非監視デバイス)と、印刷装置の状態を監視する監視装置とを備えるネットワークシステムが知られている(例えば、特許文献1参照。)。特許文献1のネットワークシステムにおいて、監視装置は、情報処理装置(サーバー)に印刷装置の状態に関する情報を送信し、また、情報処理装置は、受信した印刷装置の状態に関する情報に基づいて、印刷装置の状態を管理する。   Conventionally, a network system including a printing apparatus (non-monitoring device) and a monitoring apparatus that monitors the state of the printing apparatus is known (see, for example, Patent Document 1). In the network system of Patent Literature 1, the monitoring device transmits information related to the state of the printing device to the information processing device (server), and the information processing device prints the printing device based on the received information related to the state of the printing device. Manage the status of

特開2007−293470号公報JP 2007-293470 A

上述した特許文献1のネットワークシステムのように、監視装置が印刷装置の状態を監視するシステムでは、監視装置が複数の印刷装置の状態を監視する機能を有する場合がある。この場合、ネットワークシステムにおいて、複数の監視装置が複数の印刷装置の状態を監視する場合に、同一の印刷装置に対する監視が重複しないように設定する必要があるが、その設定は、煩雑である。
本発明は、上述した事情に鑑みてなされたものであり、監視装置が印刷装置の状態を監視し、情報処理装置に対して印刷装置の状態に関する情報を送信するネットワークシステム、及び、当該ネットワークシステムの印刷装置について、複数の監視装置が複数の印刷装置の状態を監視する場合に、同一の印刷装置に対する監視が重複しないように簡易に設定可能とすることを目的とする。
In a system in which the monitoring device monitors the state of the printing device as in the network system of Patent Document 1 described above, the monitoring device may have a function of monitoring the state of a plurality of printing devices. In this case, in a network system, when a plurality of monitoring devices monitor the states of a plurality of printing devices, it is necessary to make settings so that monitoring for the same printing device does not overlap, but this setting is complicated.
The present invention has been made in view of the circumstances described above, and a network system in which a monitoring device monitors the state of a printing device and transmits information related to the state of the printing device to an information processing device, and the network system It is an object of the present invention to enable easy setting so that monitoring of the same printing device does not overlap when a plurality of monitoring devices monitor the state of the plurality of printing devices.

上記目的を達成するために、本発明は、印刷装置と、前記印刷装置の状態を監視可能な複数の監視装置と、前記監視装置と通信可能な情報処理装置とを備えるネットワークシステムにおいて、前記監視装置は、複数の前記印刷装置と通信して複数の前記印刷装置の状態を監視する機能を有し、監視する対象の1又は複数の前記印刷装置について、間隔をあけて前記印刷装置の状態に関する印刷装置状態情報の応答を要求し、要求に応じて前記印刷装置状態情報を受信し、受信した前記印刷装置状態情報を前記情報処理装置に送信し、前記情報処理装置は、前記監視装置から受信した前記印刷装置状態情報に基づいて前記印刷装置の状態を管理し、前記印刷装置は、異なる前記監視装置から前記印刷装置状態情報の応答の要求があった場合、所定の前記監視装置以外の前記監視装置による前記印刷装置状態情報の応答の要求を停止させることを特徴とする。
本発明の構成によれば、異なる複数の監視装置から印刷装置に対して印刷装置状態情報の応答の要求があった場合、印刷装置の機能により、自動で、所定の監視装置以外の監視装置による印刷装置状態情報の応答の要求が停止する。このため、同一の印刷装置に対する監視が重複しないように設定するために作業が必要なく、簡易にこのような設定をできる。
In order to achieve the above object, the present invention provides a network system comprising: a printing apparatus; a plurality of monitoring apparatuses capable of monitoring a state of the printing apparatus; and an information processing apparatus capable of communicating with the monitoring apparatus. The apparatus has a function of communicating with a plurality of the printing apparatuses and monitoring a state of the plurality of printing apparatuses, and relates to the state of the printing apparatus at intervals with respect to one or a plurality of the printing apparatuses to be monitored. Requests a response of the printing apparatus status information, receives the printing apparatus status information in response to the request, transmits the received printing apparatus status information to the information processing apparatus, and the information processing apparatus receives from the monitoring apparatus And managing the status of the printing device based on the printing device status information, and when the printing device receives a response to the printing device status information from a different monitoring device, Wherein characterized by said monitoring device other than the monitoring apparatus to stop the request of response of the printer status information.
According to the configuration of the present invention, when there is a request for a response to the printing apparatus status information from a plurality of different monitoring apparatuses to the printing apparatus, the monitoring apparatus other than the predetermined monitoring apparatus automatically uses the function of the printing apparatus. The printer device status information response request stops. For this reason, no work is required for setting so that monitoring for the same printing apparatus does not overlap, and such setting can be easily performed.

また、本発明は、前記印刷装置は、異なる前記監視装置のうち、前記印刷装置状態情報の応答の要求を停止させる前記監視装置を所定の優先度に従って決定することを特徴とする。
本発明の構成によれば、印刷装置は、優先度を利用して、印刷装置状態情報の応答の要求を停止させる監視装置を適切に決定できる。
In the invention, it is preferable that the printing apparatus determines the monitoring apparatus that stops a request for a response to the printing apparatus status information among the different monitoring apparatuses according to a predetermined priority.
According to the configuration of the present invention, the printing apparatus can appropriately determine a monitoring apparatus that stops a request for a response to the printing apparatus status information using the priority.

また、本発明は、前記監視装置は、ネットワークを介して前記印刷装置と通信して前記印刷装置の状態を監視する機能、又は、前記ネットワークを介さずに前記印刷装置と直接通信して前記印刷装置の状態を監視する機能を有し、前記印刷装置は、異なる複数の前記監視装置のうち、前記ネットワークを介さずに直接通信して前記印刷装置状態情報の応答の要求を行う前記監視装置を、前記ネットワークを介して通信して前記印刷装置状態情報の応答の要求を行う前記監視装置よりも、高い優先度で、前記印刷装置状態情報の応答の要求を停止させることを特徴とする。
本発明の構成によれば、ネットワークを介して、効率的に印刷装置の監視を行うことができる。
Further, according to the present invention, the monitoring device communicates with the printing device via a network to monitor the state of the printing device, or directly communicates with the printing device without going through the network. The printing apparatus has a function of monitoring a status of the apparatus, and the printing apparatus is configured to perform a request for a response of the printing apparatus status information by directly communicating without using the network among the plurality of different monitoring apparatuses. The printing apparatus status information response request is stopped at a higher priority than the monitoring apparatus that communicates via the network and requests the printing apparatus status information response.
According to the configuration of the present invention, it is possible to efficiently monitor the printing apparatus via the network.

また、本発明は、前記印刷装置は、異なる前記監視装置のうち、通信に使用する通信プロトコルの種類によって優先順位が定められた優先度に従って、前記印刷装置状態情報の応答の要求を停止させる前記監視装置を決定することを特徴とする。
本発明の構成によれば、印刷装置は、通信に使用する通信プロトコルの種類によって優先順位が定められた優先度を利用して、印刷装置状態情報の応答の要求を停止させる監視装置を適切に決定できる。
According to the present invention, the printing apparatus stops the request for a response to the printing apparatus status information in accordance with a priority determined by a communication protocol type used for communication among the different monitoring apparatuses. A monitoring device is determined.
According to the configuration of the present invention, the printing apparatus appropriately uses a priority that is determined according to the type of communication protocol used for communication, and appropriately monitors the monitoring apparatus that stops the response request for the printing apparatus status information. Can be determined.

また、本発明は、前記印刷装置は、異なる前記監視装置のうち、通信に使用する通信インターフェースの種類によって優先順位が定められた優先度に従って、前記印刷装置状態情報の応答の要求を停止させる前記監視装置を決定することを特徴とする。
本発明の構成によれば、印刷装置は、通信に使用する通信インターフェースの種類によって優先順位が定められた優先度を利用して、印刷装置状態情報の応答の要求を停止させる監視装置を適切に決定できる。
According to the present invention, the printing apparatus stops the request for a response to the printing apparatus status information according to a priority determined according to a type of a communication interface used for communication among the different monitoring apparatuses. A monitoring device is determined.
According to the configuration of the present invention, the printing apparatus appropriately uses a monitoring apparatus that stops a request for a response to the printing apparatus status information by using a priority determined by the type of the communication interface used for communication. Can be determined.

また、本発明は、前記印刷装置は、有線通信する前記通信インターフェースに係る前記監視装置よりも、無線通信する前記通信インターフェースに係る前記監視装置を、高い優先度で、前記印刷装置状態情報の応答の要求を停止させることを特徴とする。
本発明の構成によれば、印刷装置は、安定性の低い通信を行う監視装置を優先的に送信停止装置として決定することができる。
Further, according to the present invention, the printing apparatus sends a response of the printing apparatus status information to the monitoring apparatus related to the communication interface that performs wireless communication with higher priority than the monitoring apparatus related to the communication interface that performs wired communication. The request is stopped.
According to the configuration of the present invention, the printing apparatus can preferentially determine a monitoring apparatus that performs communication with low stability as a transmission stop apparatus.

また、本発明は、前記印刷装置は、異なる前記監視装置のうち、状態を監視する対象の前記印刷装置の個数が多い前記監視装置ほど高い優先度で、前記印刷装置状態情報の応答の要求を停止させることを特徴とする。
本発明の構成によれば、監視装置が監視対象とする印刷装置の個数の平準化を図ることができる。また、特定の監視装置の処理負荷が偏って大きくなることを防止できる。また、監視装置が情報処理装置に対して送信する印刷装置状態情報に係るデータのデータ量の平準化を図ることができる。
Further, according to the present invention, the printing apparatus requests the response of the printing apparatus status information with a higher priority as the number of the printing apparatuses whose statuses are to be monitored is higher among the different monitoring apparatuses. It is characterized by being stopped.
According to the configuration of the present invention, the number of printing apparatuses to be monitored by the monitoring apparatus can be leveled. In addition, it is possible to prevent the processing load of a specific monitoring device from becoming unduly large. Further, the data amount of the data related to the printing apparatus status information transmitted from the monitoring apparatus to the information processing apparatus can be leveled.

また、本発明は、前記印刷装置は、いずれの前記監視装置からも前記印刷装置状態情報の応答の要求が無い場合、前記情報処理装置に前記印刷装置状態情報を送信することを特徴とする。
本発明の構成によれば、印刷装置がいずれの監視装置からも印刷装置状態情報の応答の要求を受信しない状態の場合であっても、印刷装置が印刷装置状態情報を情報処理装置に送信し、情報処理装置において、印刷装置の状態が継続して管理される。
Further, the present invention is characterized in that the printing apparatus transmits the printing apparatus status information to the information processing apparatus when there is no request for a response of the printing apparatus status information from any of the monitoring apparatuses.
According to the configuration of the present invention, the printing apparatus transmits the printing apparatus status information to the information processing apparatus even when the printing apparatus does not receive a request for the response of the printing apparatus status information from any monitoring apparatus. In the information processing apparatus, the state of the printing apparatus is continuously managed.

また、上記目的を達成するために、本発明は、監視装置と通信可能な印刷装置であって、記録媒体に印刷する印刷部と、異なる前記監視装置から、前記印刷部の状態に関する印刷装置状態情報の応答の要求があった場合、所定の前記監視装置以外の前記監視装置による前記印刷装置状態情報の応答の要求を停止させる制御部と、を備えることを特徴とする。
本発明の構成によれば、同一の印刷装置に対する監視装置の監視が重複しないように簡易に設定可能である。
In order to achieve the above object, the present invention is a printing apparatus capable of communicating with a monitoring apparatus, and a printing apparatus state relating to the state of the printing section from a printing section that prints on a recording medium, and a different monitoring apparatus. A control unit that stops a request for a response to the printing apparatus status information by the monitoring device other than the predetermined monitoring device when an information response is requested.
According to the configuration of the present invention, it is possible to easily set so that monitoring of the monitoring device for the same printing device does not overlap.

また、上記目的を達成するために、本発明は、監視装置と通信可能な印刷装置の制御方法であって、異なる前記監視装置から、前記印刷部の状態に関する印刷装置状態情報の応答の要求があった場合、所定の前記監視装置以外の前記監視装置による前記印刷装置状態情報の応答の要求を停止させることを特徴とする。
本発明の構成によれば、同一の印刷装置に対する監視装置の監視が重複しないように簡易に設定可能である。
In order to achieve the above object, the present invention provides a printing apparatus control method capable of communicating with a monitoring apparatus, wherein a request for a response of printing apparatus status information relating to the status of the printing unit is received from a different monitoring apparatus. If there is, the request for the response of the printing apparatus status information by the monitoring apparatus other than the predetermined monitoring apparatus is stopped.
According to the configuration of the present invention, it is possible to easily set so that monitoring of the monitoring device for the same printing device does not overlap.

本実施形態に係るネットワークシステムの構成を示す図。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. 4 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 the data flow between each apparatus of a network system. ネットワークシステムの各装置の動作を示すフローチャート。The flowchart which shows operation | movement of each apparatus of a network system. ステータスデータを示す図。The figure which shows status data. 印刷装置識別情報入力画面を示す図。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. 印刷装置の動作を示すフローチャート。6 is a flowchart showing the operation of the printing apparatus. 印刷装置の動作を示すフローチャート。6 is a flowchart showing the operation of the printing apparatus.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係るネットワークシステム1の構成を示す図である。ネットワークシステム1は、スーパーマーケットや、コンビニエンスストア、デパート、飲食店等の商品や、サービス等を提供し、当該提供に応じて会計が行われる店舗を運営する企業が利用するシステムである。
図1に示すように、ネットワークシステム1は、管理システム2と、複数の店舗システム3とを備える。管理システム2と、店舗システム3のそれぞれとは、インターネット、その他のネットワークを含んで構成されたグローバルネットワークGNを介して通信可能に接続される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing a configuration of a 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 protocol 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 is a server that communicates with an agent terminal 6 (monitoring device) 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を介して、印刷装置9、及び、エージェント端末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 uses the function of the communication device 12 to print the printer 9 and the agent terminal via the head office local network HLN, the global network GN, and a store local network TLN described later. 6 can communicate.

なお、図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 protocol may be used for communication performed via the store-side local network TLN, and communication performed via the local network may be wired communication or wireless communication.

店舗側ローカルネットワークTLNには、1又は複数の印刷装置9が接続される。
店舗には、顧客が会計を行うレジカウンターが設けられ、レジカウンターには、印刷装置9と、印刷装置9に接続され、印刷装置9を制御するPOS端末8が設けられる。
印刷装置9は、印刷する機能を有する装置である。後述するように、印刷装置9は、所定の場合に、印刷装置9の状態に関する情報をメンテナンスサーバー7に送信する機能を備える。
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 connected to the printing device 9 and controlling the printing device 9.
The printing device 9 is a device having a printing function. As will be described later, the printing apparatus 9 has a function of transmitting information related to the state of the printing apparatus 9 to the maintenance server 7 in a predetermined case.
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と通信し、印刷装置9から、印刷装置9の状態に関する情報を受信して、印刷装置9の状態を監視し、印刷装置9の状態に関する情報をメンテナンスサーバー7に送信する機能を備える。
エージェント端末6は、店舗側ローカルネットワークTLNを介して印刷装置9と通信して、印刷装置9から、印刷装置9の状態に関する情報を受信することが可能である。また、エージェント端末6は、店舗側ローカルネットワークTLNを介さずに印刷装置9と直接通信して、印刷装置9から、印刷装置9の状態に関する情報を受信することが可能である。
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 devices 9 to be monitored, receives information on the status of the printing device 9 from the printing device 9, monitors the status of the printing device 9, and A function of transmitting information on the state to the maintenance server 7 is provided.
The agent terminal 6 can communicate with the printing device 9 via the store-side local network TLN and receive information regarding the state of the printing device 9 from the printing device 9. Further, the agent terminal 6 can directly communicate with the printing apparatus 9 without passing through the store-side local network TLN, and can receive information regarding the state of the printing apparatus 9 from the printing apparatus 9.

詳細な説明は省略するが、メンテナンスサーバー7と、エージェント端末6及び印刷装置9との間では、VPN(Virtual Private Network)等の、暗号化に係る技術や、仮想専用線(物理的な専用線であってもよい。)に係る技術によりセキュアな通信が行われる。   Although a detailed description is omitted, between the maintenance server 7 and the agent terminal 6 and the printing device 9, encryption technology such as VPN (Virtual Private Network), virtual dedicated line (physical dedicated line) Secure communication is performed by the technique according to FIG.

図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は、不揮発性メモリーを備え、各種データ(ステータスデータベース211を含む。)を記憶する。
メンテナンスサーバー通信部22は、メンテナンスサーバー制御部20の制御で、グローバルネットワークGNにアクセスし、当該ネットワークと接続する機器(エージェント端末6、及び、印刷装置9を含む。)と通信する。
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 (including the status database 211).
The maintenance server communication unit 22 accesses the global network GN and communicates with devices (including the agent terminal 6 and the printing device 9) 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は、レジカウンターにおいて行われる会計に基づいて会計処理を実行し、会計処理に基づいて印刷装置9を制御して、印刷装置9にレシートを発行させる。
図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 executes an accounting process based on the accounting performed at the checkout counter, controls the printing apparatus 9 based on the accounting process, and causes the printing apparatus 9 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 conforming to the USB standard, a port conforming to a serial communication protocol other than USB (such as RS232C), a port conforming to a predetermined parallel communication protocol (such as IEEE 1284), and other communication protocols. An interface board having ports according to The POS terminal device communication unit 42 communicates with a device (including the printing apparatus 9) connected to the port according to a communication protocol 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 apparatus 9 includes a printing apparatus control unit 60 (control unit), a printing unit 61, a printing apparatus storage unit 62, a printing apparatus network communication unit 63, and a printing apparatus device communication unit 64. .

印刷装置制御部60は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、印刷装置9の各部を制御する。
印刷装置制御部60は、ログ書込部601と、印刷装置状態管理部602と、印刷装置ステータスデータ生成部603と、印刷装置対応処理実行部604と、印刷制御部605とを備える。これら機能ブロックは、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, a printing apparatus status data generation unit 603, a printing apparatus corresponding process execution unit 604, and a printing control unit 605. 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、及び、印刷装置送信間隔設定ファイル622を記憶する。   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 and a printing device transmission interval setting file 622.

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

印刷装置デバイス通信部64は、通信インターフェースとして、シリアルインターフェースと、パラレルインターフェースと、USBインターフェースと、ブルートゥースインターフェースと、を備える。   The printing apparatus device communication unit 64 includes a serial interface, a parallel interface, a USB interface, and a Bluetooth interface as communication interfaces.

シリアルインターフェースは、RS232等の所定のシリアル通信プロトコルに係るポートを有するインターフェースボード、その他の所定のシリアル通信プロトコルに従った通信に関する構成を備え、印刷装置制御部60の制御で、対応するポートにケーブルを介して有線接続された外部装置との間で、所定のシリアル通信プロトコルに従って通信する。
パラレルインターフェースは、IEEE1284等の所定のパラレル通信プロトコルに係るポートを有するインターフェースボード、その他の所定のパラレル通信プロトコルに従った通信に関する構成を備え、印刷装置制御部60の制御で、対応するポートにケーブルを介して有線接続された外部装置との間で、当該パラレル通信に従って通信する。
USBインターフェースは、USBに係るUSBポートを有するインターフェースボード、その他のUSB通信に従った通信に関する構成を備え、印刷装置制御部60の制御で、USBポートにUSBケーブルを介して有線接続された外部装置との間で、USBに従って通信する。
ブルートゥースインターフェースは、ブルートゥース(登録商標)に係る無線通信モジュール、その他のブルートゥースに従った通信に関する構成を備え、印刷装置制御部60の制御で、外部装置との間で、ブルートゥースに従って無線通信する。
The serial interface includes an interface board having a port related to a predetermined serial communication protocol such as RS232, and a configuration related to communication according to another predetermined serial communication protocol, and a cable is connected to the corresponding port under the control of the printing apparatus control unit 60. The communication is performed according to a predetermined serial communication protocol with an external device connected via a wire.
The parallel interface has an interface board having a port related to a predetermined parallel communication protocol such as IEEE1284, and other communication configuration according to a predetermined parallel communication protocol, and a cable is connected to the corresponding port under the control of the printing apparatus control unit 60. Communication is performed according to the parallel communication with an external device connected via a wire.
The USB interface includes an interface board having a USB port related to USB, and other configurations related to communication according to USB communication, and is externally connected to the USB port via a USB cable under the control of the printing apparatus control unit 60 Communicate with each other according to USB.
The Bluetooth interface includes a wireless communication module according to Bluetooth (registered trademark) and other configurations related to communication according to Bluetooth, and wirelessly communicates with an external device according to Bluetooth under the control of the printing apparatus control unit 60.

以下の説明では、エージェント端末6が、印刷装置9に、店舗側ローカルネットワークTLNを介さずに、USB、その他の通信プロトコルに従って接続されることを「エージェント端末6と印刷装置9とが直接接続される」という。また、エージェント端末6と、印刷装置9とが、店舗側ローカルネットワークTLNを介さずに通信することを「エージェント端末6と、印刷装置9とが直接通信する」という。
印刷装置デバイス通信部64は、エージェント端末6が直接接続された状態の場合、印刷装置制御部60の制御で、エージェント端末6と通信する。
In the following description, the agent terminal 6 is connected to the printing apparatus 9 according to USB or other communication protocol without going through the store-side local network TLN. “The agent terminal 6 and the printing apparatus 9 are directly connected. " The communication between the agent terminal 6 and the printing device 9 without going through the store-side local network TLN is referred to as “the agent terminal 6 and the printing device 9 communicate directly”.
When the agent terminal 6 is directly connected, the printing device device communication unit 64 communicates with the agent terminal 6 under the control of the printing device control unit 60.

エージェント端末6は、監視する対象の1又は複数の印刷装置9と通信して1又は複数の印刷装置9の状態を監視し、1又は複数の印刷装置9の状態に関する情報をメンテナンスサーバー7に送信する機能を備える装置である。
エージェント端末6は、店舗側ローカルネットワークTLNを介して印刷装置9と通信することも可能であり、店舗側ローカルネットワークTLNを介さずに印刷装置9と直接通信することも可能である。
図4に示すように、エージェント端末6は、エージェント端末制御部80(制御装置制御部)と、エージェント端末記憶部81と、エージェント端末ネットワーク通信部82と、エージェント端末デバイス通信部83と、を備える。
The agent terminal 6 communicates with one or a plurality of printing devices 9 to be monitored to monitor the status of the one or more printing devices 9 and transmits information regarding the status of the one or more printing devices 9 to the maintenance server 7. It is an apparatus provided with the function to perform.
The agent terminal 6 can also communicate with the printing device 9 via the store-side local network TLN, and can also communicate directly with the printing device 9 without going through the store-side local network TLN.
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, an agent terminal network communication unit 82, and an agent terminal device communication unit 83. .

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

エージェント端末デバイス通信部83は、USBの規格に従ったポートや、USB以外のシリアル通信プロトコル(RS232C等)に従ったポート、所定のパラレル通信プロトコル(IEEE1284等)に従ったポート、その他の通信プロトコルに従ったポートを有するインターフェースボードを備える。エージェント端末デバイス通信部83は、エージェント端末制御部80の制御で、ポートに接続されたデバイス(印刷装置9を含む。)と、接続されたポートに対応する通信プロトコルに従って通信する。   The agent terminal device communication unit 83 includes a port conforming to the USB standard, a port conforming to a serial communication protocol other than USB (such as RS232C), a port conforming to a predetermined parallel communication protocol (such as IEEE 1284), and other communication protocols. An interface board having ports according to The agent terminal device communication unit 83 communicates with a device (including the printing apparatus 9) connected to the port according to a communication protocol corresponding to the connected port 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からの応答要求に対する応答という形でデータの送信が行われる。
以上のことは、後述するように、印刷装置9がメンテナンスサーバー7に対して、印刷装置9の状態に関する情報を送信する場合に、印刷装置9とメンテナンスサーバー7との間で行われる通信についても同様である。
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.
As described later, when the printing apparatus 9 transmits information related to the state of the printing apparatus 9 to the maintenance server 7, as described later, communication performed between the printing apparatus 9 and the maintenance server 7 is also performed. It is the same.

以下、印刷装置9の状態をメンテナンスサーバー7が管理する場合の、印刷装置9、エージェント端末6、及び、メンテナンスサーバー7の処理について説明する。
ここで、メンテナンスサーバー7による印刷装置9の状態の管理に際し、エージェント端末6は、監視する対象の印刷装置9の状態に関する情報をメンテナンスサーバー7に送信する機能(以下、「エージェント端末送信機能」という。)を有する。また、印刷装置9は、自身の状態に関する情報をメンテナンスサーバー7に送信する機能(以下、「印刷装置送信機能」という。)を有し、後述する所定の場合には、印刷装置送信機能により、自身の状態に関する情報をメンテナンスサーバー7に送信する。
以下、エージェント端末6のエージェント端末送信機能に基づいてメンテナンスサーバー7が印刷装置9の状態を管理する場合の各装置の処理と、印刷装置9の印刷装置送信機能に基づいてメンテナンスサーバー7が印刷装置9の状態を管理する場合の各装置の処理とを、順に、説明する。
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.
Here, when managing the state of the printing apparatus 9 by the maintenance server 7, the agent terminal 6 transmits information related to the state of the printing apparatus 9 to be monitored to the maintenance server 7 (hereinafter referred to as “agent terminal transmission function”). .) In addition, the printing device 9 has a function of transmitting information related to its own state to the maintenance server 7 (hereinafter referred to as “printing device transmission function”). Information on its own state is transmitted to the maintenance server 7.
Hereinafter, the processing of each device when the maintenance server 7 manages the state of the printing device 9 based on the agent terminal transmission function of the agent terminal 6 and the maintenance server 7 based on the printing device transmission function of the printing device 9 The processing of each device when managing the state 9 will be described in order.

<エージェント端末6のエージェント端末送信機能に基づいてメンテナンスサーバー7が印刷装置9の状態を管理する場合の各装置の処理>
図5は、印刷装置9の印刷装置制御部60が備える機能ブロック、エージェント端末6のエージェント端末制御部80が備える機能ブロック、及び、メンテナンスサーバー7のメンテナンスサーバー制御部20が備える機能ブロックを、関連するデータと共に示す図である。
以下、図5を用いて、メンテナンスサーバー7が印刷装置9の状態を管理する際に、印刷装置9、エージェント端末6、及び、メンテナンスサーバー7の各機能ブロック間で送受信されるデータの基本的な流れについて説明する。
なお、図5を用いた説明では、機能ブロックの処理の詳細、及び、機能ブロック間で送受信されるデータの内容の詳細については後に説明するため省略する。
<Processing of each apparatus when the maintenance server 7 manages the state of the printing apparatus 9 based on the agent terminal transmission function of the agent terminal 6>
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は、監視対象の印刷装置9のそれぞれと通信し、監視対象の印刷装置9のそれぞれから、印刷装置状態情報データJDを受信する。上述したように、エージェント端末6は、印刷装置9と店舗側ローカルネットワークTLNを介して通信する場合と、印刷装置9と店舗側ローカルネットワークTLNを介さずに直接通信する場合とがある。   The status data generation unit 801 of the agent terminal 6 communicates with each of the monitoring target printing apparatuses 9 and receives the printing apparatus state information data JD from each of the monitoring target printing apparatuses 9. As described above, the agent terminal 6 may communicate with the printing device 9 via the store-side local network TLN or directly communicate with the printing device 9 without going through the store-side local network TLN.

ステータスデータ生成部801は、送信間隔設定ファイル811を参照し、当該ファイルが示す間隔で、受信した印刷装置状態情報データJDに基づいてステータスデータSTを生成する。
ステータスデータ生成部801は、生成したステータスデータSTを、メンテナンスサーバー7に送信する(矢印Y2)。つまり、ステータスデータ生成部801は、送信間隔設定ファイル811が示す間隔で、ステータスデータSTの生成、及び、メンテナンスサーバー7への送信を実行する。
ステータスデータ生成部801によるステータスデータSTのメンテナンスサーバー7への送信は、HTTPに従って、HTTPリクエストとして行われる。
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の(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. The information related to the printing device 9 includes at least information necessary for transmitting response request data DD, which will be described later, to the monitoring target printing device 9, such as an address in the store-side local network TLN of the printing device 9.
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は、印刷装置状態情報(印刷装置9の状態に関する情報、印刷部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.
The printing apparatus state information data JD includes printing apparatus state information.
The printing apparatus status information includes log related information for each monitoring item. That is, the printing apparatus status information 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 printing apparatus state information (information about the state of the printing apparatus 9 and information about the state of the printing unit 61).

印刷装置状態情報データJDを生成した後、印刷装置状態管理部602は、印刷装置ネットワーク通信部63を制御して、生成した印刷装置状態情報データJDを、エージェント端末6に送信する(ステップSA3)。   After generating the printing device status information data JD, the printing device status management unit 602 controls the printing device network communication unit 63 to transmit the generated printing device status information data JD 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.
As described above, the printing apparatus status information includes log-related information (a combination of monitoring item identification information and monitoring item log information) of 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に送信する(ステップSB5)。
ステップ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 SB5).
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 receiving 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.

ステップSA2において、分析部203は、ステータスデータSTに含まれる印刷装置ステータス情報のそれぞれを処理対象とし、処理対象とした印刷装置ステータス情報に基づいて、ステータスデータベース211における対応するレコードを更新する。   In step SA2, 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 set as a processing target.

<印刷装置9の印刷装置送信機能に基づいてメンテナンスサーバー7が印刷装置9の状態を管理する場合の各装置の処理>
次に、印刷装置9の印刷装置送信機能に基づいてメンテナンスサーバー7が印刷装置9の状態を管理する場合の各装置の処理について説明する。
なお、後述するように、印刷装置9は、後述する所定の場合に、印刷装置送信機能に基づいて以下の処理を行って、メンテナンスサーバー7に対して、印刷装置9の状態に関する情報を送信する。
<Processing of each apparatus when the maintenance server 7 manages the state of the printing apparatus 9 based on the printing apparatus transmission function of the printing apparatus 9>
Next, processing of each device when the maintenance server 7 manages the state of the printing device 9 based on the printing device transmission function of the printing device 9 will be described.
As will be described later, the printing apparatus 9 performs the following processing based on the printing apparatus transmission function in a predetermined case described later, and transmits information regarding the state of the printing apparatus 9 to the maintenance server 7. .

図10は、印刷装置9の印刷装置制御部60が備える機能ブロック、及び、メンテナンスサーバー7のメンテナンスサーバー制御部20が備える機能ブロックを、関連するデータと共に示す図である。
以下、図10を用いて、メンテナンスサーバー7が印刷装置9の状態を管理する際に、印刷装置9、及び、メンテナンスサーバー7の各機能ブロック間で送受信されるデータの基本的な流れについて説明する。
なお、図10を用いた説明では、機能ブロックの処理の詳細、及び、機能ブロック間で送受信されるデータの内容の詳細については省略する。
FIG. 10 is a diagram illustrating the functional blocks included in the printing device control unit 60 of the printing device 9 and the functional blocks included in the maintenance server control unit 20 of the maintenance server 7 together with related data.
Hereinafter, a basic flow of data transmitted and received between the functional blocks of the printing apparatus 9 and the maintenance server 7 when the maintenance server 7 manages the state of the printing apparatus 9 will be described with reference to FIG. .
In the description using FIG. 10, the details of the processing of the functional blocks and the details of the contents of data transmitted / received between the functional blocks are omitted.

図10に示すように、印刷装置9のログ書込部601は、所定のタイミングでログファイル621にログ情報を書き込む。   As illustrated in FIG. 10, the log writing unit 601 of the printing apparatus 9 writes log information to the log file 621 at a predetermined timing.

図10に示すように、印刷装置9の印刷装置ステータスデータ生成部603は、印刷装置送信間隔設定ファイル622を参照し、当該ファイルが示す間隔で、ログファイル621に基づいてステータスデータSTを生成する。印刷装置ステータスデータ生成部603は、生成したステータスデータSTを、メンテナンスサーバー7に送信する(矢印Y6)。つまり、印刷装置ステータスデータ生成部603は、印刷装置送信間隔設定ファイル622が示す間隔で、ステータスデータSTの生成、及び、メンテナンスサーバー7への送信を実行する。   As illustrated in FIG. 10, the printing apparatus status data generation unit 603 of the printing apparatus 9 refers to the printing apparatus transmission interval setting file 622 and generates status data ST based on the log file 621 at an interval indicated by the file. . The printing apparatus status data generation unit 603 transmits the generated status data ST to the maintenance server 7 (arrow Y6). In other words, the printing apparatus status data generation unit 603 generates the status data ST and transmits it to the maintenance server 7 at intervals indicated by the printing apparatus transmission interval setting file 622.

メンテナンスサーバー7のステータスデータ受信部201は、ステータスデータSTを受信する。
ステータスデータ受信部201は、ステータスデータSTを応答部202に出力する(矢印Y7)。また、ステータスデータ受信部201は、受信したステータスデータSTを、分析部203に出力する(矢印Y8)。
応答部202は、応答データTDを生成し、生成した応答データTDを印刷装置9に送信する(矢印Y9)。応答部202による応答データTDの送信は、HTTPに従って、HTTPレスポンスとして行われる。
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 Y7). Further, the status data receiving unit 201 outputs the received status data ST to the analyzing unit 203 (arrow Y8).
The response unit 202 generates response data TD and transmits the generated response data TD to the printing apparatus 9 (arrow Y9). 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に基づいて、保守担当者からの要求に応じて、保守担当者に印刷装置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 provides information related to maintenance of the printing apparatus 9 to the maintenance staff in response to a request from the maintenance staff based on the status database 211 updated by the analysis unit 203.

印刷装置9の印刷装置対応処理実行部604は、応答データTDを受信する。印刷装置対応処理実行部604は、受信した応答データTDに基づく処理を実行する。   The printing apparatus corresponding process execution unit 604 of the printing apparatus 9 receives the response data TD. The printing apparatus corresponding process execution unit 604 executes a process based on the received response data TD.

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

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

次に、印刷装置9の状態を管理する際の印刷装置9、及び、メンテナンスサーバー7の動作について詳細に説明する。
図11は、印刷装置9、及び、メンテナンスサーバー7の動作を示すフローチャートである。
図11の(A)は印刷装置9の印刷装置ステータスデータ生成部603の動作を示し、(B)は印刷装置9の印刷装置対応処理実行部604の動作を示す。図11の(C)はメンテナンスサーバー7のステータスデータ受信部201の動作を示し、(D)はメンテナンスサーバー7の応答部202の動作を示し、(E)はメンテナンスサーバー7の分析部203の動作を示す。
Next, operations of the printing apparatus 9 and the maintenance server 7 when managing the state of the printing apparatus 9 will be described in detail.
FIG. 11 is a flowchart showing operations of the printing apparatus 9 and the maintenance server 7.
11A shows the operation of the printing apparatus status data generation unit 603 of the printing apparatus 9, and FIG. 11B shows the operation of the printing apparatus corresponding process execution unit 604 of the printing apparatus 9. 11C shows the operation of the status data receiving unit 201 of the maintenance server 7, FIG. 11D shows the operation of the response unit 202 of the maintenance server 7, and FIG. 11E shows the operation of the analysis unit 203 of the maintenance server 7. Indicates.

図11の(A)に示すように、印刷装置9の印刷装置ステータスデータ生成部603は、印刷装置送信間隔設定ファイル622を参照し、ステータスデータSTを生成するタイミングが到来したか否かを監視する(ステップSG1)。
印刷装置送信間隔設定ファイル622は、ステータスデータSTを生成し、送信する間隔を示す情報が記録されたファイルである。ステップSG1において、印刷装置ステータスデータ生成部603は、印刷装置送信間隔設定ファイル622を参照し、前回、ステータスデータSTを生成して送信した後、印刷装置送信間隔設定ファイル622が示す間隔が経過した場合、ステータスデータSTを生成するタイミングが到来したと判別する。
As shown in FIG. 11A, the printing apparatus status data generation unit 603 of the printing apparatus 9 refers to the printing apparatus transmission interval setting file 622 and monitors whether the timing for generating the status data ST has come. (Step SG1).
The printing apparatus transmission interval setting file 622 is a file in which information indicating the interval for generating and transmitting the status data ST is recorded. In step SG1, the printing apparatus status data generation unit 603 refers to the printing apparatus transmission interval setting file 622. After generating and transmitting the status data ST last time, the interval indicated by the printing apparatus transmission interval setting file 622 has elapsed. In this case, it is determined that the timing for generating the status data ST has come.

ステータスデータSTを生成するタイミングが到来した場合(ステップSG1:YES)、印刷装置ステータスデータ生成部603は、ログファイル621に基づいて、印刷装置状態情報データJDを生成し、生成した印刷装置状態情報データJDに基づいてステータスデータSTを生成する(ステップSG2)。   When it is time to generate the status data ST (step SG1: YES), the printing apparatus status data generation unit 603 generates the printing apparatus status information data JD based on the log file 621, and generates the generated printing apparatus status information. Status data ST is generated based on the data JD (step SG2).

図12は、ステータスデータSTの内容を説明に適した態様で模式的に示す図である。
ステータスデータSTは、ステータスデータSTを生成する印刷装置9が設けられた店舗を示す店舗識別情報を含む。店舗識別情報とは、店舗に一意に割り振られた識別情報である。印刷装置9のそれぞれには、印刷装置9が設けられた店舗を示す店舗識別情報が登録される。図12で例示するステータスデータSTでは、領域A81に、店舗識別情報が記録される。
ステータスデータSTは、ステータスデータSTを生成した印刷装置9を示す印刷装置識別情報を含む。図12で例示するステータスデータSTでは、領域A82に、印刷装置識別情報が記録される。
ステータスデータSTは、印刷装置状態情報を含む。
図12で例示するステータスデータSTでは、領域A83に印刷装置状態情報が記録される。また、領域A831に監視項目:プリンターエラーに係るログ関連情報が記録され、領域A832に監視項目:印刷ヘッド形成ライン累計数に係るログ関連情報が記録され、領域A833に監視項目:カッター使用累計数に係るログ関連情報が記録される。
FIG. 12 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 a store in which the printing apparatus 9 that generates the status data ST is provided. Store identification information is identification information uniquely assigned to a store. Store identification information indicating a store in which the printing apparatus 9 is provided is registered in each of the printing apparatuses 9. In the status data ST illustrated in FIG. 12, store identification information is recorded in the area A81.
The status data ST includes printing device identification information indicating the printing device 9 that generated the status data ST. In the status data ST illustrated in FIG. 12, printing apparatus identification information is recorded in the area A82.
The status data ST includes printing apparatus status information.
In the status data ST illustrated in FIG. 12, the printing apparatus status information is recorded in the area A83. Also, monitoring item: log related information related to printer error is recorded in area A831, log related information related to monitoring item: print head formation line cumulative number is recorded in area A832, and monitoring item: cumulative number of cutters used in area A833. Log related information is recorded.

以上のように、印刷装置9が生成するステータスデータSTには、店舗識別情報と、印刷装置識別情報とが含まれる。また、印刷装置9が生成するステータスデータSTには、印刷装置9に係る印刷装置状態情報(監視項目のそれぞれのログ関連情報)が記録される。   As described above, the status data ST generated by the printing apparatus 9 includes store identification information and printing apparatus identification information. Further, in the status data ST generated by the printing apparatus 9, printing apparatus status information (each log related information of monitoring items) related to the printing apparatus 9 is recorded.

ステップSG2でステータスデータSTを生成した後、印刷装置ステータスデータ生成部603は、印刷装置ネットワーク通信部63を制御して、生成したステータスデータSTをメンテナンスサーバー7に送信する(ステップSG3)。
ステップSG3において、印刷装置ステータスデータ生成部603は、リクエストボディーにステータスデータSTが記録されたHTTPリクエストを、HTTPに従って、メンテナンスサーバー7に送信する。なお、ステータスデータSTを送信するメンテナンスサーバー7のURLや、使用するプロトコル等の、ステータスデータSTを応答要求としてメンテナンスサーバー7に送信するために必要な情報は、印刷装置9に登録される。ステップSG3の処理後、印刷装置ステータスデータ生成部603は、処理手順をステップSG1に戻す。
After generating the status data ST in step SG2, the printing apparatus status data generation unit 603 controls the printing apparatus network communication unit 63 to transmit the generated status data ST to the maintenance server 7 (step SG3).
In step SG3, the printing apparatus status data generation unit 603 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 printing apparatus 9. After the processing in step SG3, the printing apparatus status data generation unit 603 returns the processing procedure to step SG1.

図11の(C)に示すように、メンテナンスサーバー7のステータスデータ受信部201は、メンテナンスサーバー通信部22を制御して、ステータスデータSTを受信する(ステップSI1)。
次いで、ステータスデータ受信部201は、受信したステータスデータSTを、応答部202に出力し(ステップSI2)、分析部203に出力する(ステップSI3)。
As shown in FIG. 11C, 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 SI1).
Next, the status data receiving unit 201 outputs the received status data ST to the response unit 202 (step SI2) and outputs it to the analysis unit 203 (step SI3).

図11の(D)に示すように、応答部202は、ステータスデータ受信部201が出力したステータスデータSTを取得する(ステップSJ1)。
次いで、応答部202は、応答データTDを生成する(ステップSJ2)。
次いで、応答部202は、メンテナンスサーバー通信部22を制御して、生成した応答データTDを、応答として、印刷装置9に送信する(ステップSJ3)。例えば、応答部202は、レスポンスボディーに応答データTDが記録されたHTTPレスポンスを、HTTPに従って、印刷装置9に送信する。
As shown in FIG. 11D, the response unit 202 acquires the status data ST output from the status data receiving unit 201 (step SJ1).
Next, the response unit 202 generates response data TD (step SJ2).
Next, the response unit 202 controls the maintenance server communication unit 22 and transmits the generated response data TD to the printing apparatus 9 as a response (step SJ3). For example, the response unit 202 transmits an HTTP response in which the response data TD is recorded in the response body to the printing apparatus 9 according to HTTP.

図11の(B)に示すように、印刷装置9の印刷装置対応処理実行部604は、印刷装置ネットワーク通信部63を制御して、応答データTDを受信する(ステップSH1)。
次いで、印刷装置対応処理実行部604は、応答データTDに基づいて、対応する処理を実行する(ステップSH2)。例えば、印刷装置9は、1のステータスデータSTを送信した後、当該1のステータスデータSTに対する応答として応答データTDを受信した場合に、当該1のステータスデータSTの次のステータスデータSTの送信が可能な状態となる構成とされる。そして、ステップSH2において、印刷装置対応処理実行部604は、応答データTDの受信に応じて、次にステータスデータSTの送信を可能な状態とする。
As shown in FIG. 11B, the printing apparatus corresponding process execution unit 604 of the printing apparatus 9 controls the printing apparatus network communication unit 63 to receive the response data TD (step SH1).
Next, the printing apparatus corresponding process execution unit 604 executes a corresponding process based on the response data TD (step SH2). For example, when the printing apparatus 9 receives the response data TD as a response to the first status data ST after transmitting the first status data ST, the printing apparatus 9 transmits the status data ST next to the first status data ST. It is configured to be in a possible state. In step SH2, the printing apparatus corresponding process execution unit 604 makes the status data ST ready for transmission next in response to the reception of the response data TD.

一方、図11の(E)に示すように、分析部203は、ステータスデータ受信部201が出力したステータスデータSTを取得する(ステップSK1)。
次いで、分析部203は、取得したステータスデータSTに基づいて、ステータスデータベース211を更新する(ステップSK2)。
On the other hand, as shown in FIG. 11E, the analysis unit 203 acquires the status data ST output from the status data reception unit 201 (step SK1).
Next, the analysis unit 203 updates the status database 211 based on the acquired status data ST (step SK2).

次に、保守担当者(上述したように、店舗システム3の印刷装置9の保守を担当する者を意味する。)に対して、印刷装置9の保守のために有益な情報を提供するときのメンテナンスサーバー7の動作について説明する。
なお、以下の説明では、保守担当者は、本社に勤務し、本社端末5を利用するものとする。
まず、特定の印刷装置9に関する情報を取得することを望む保守担当者は、本社端末5のブラウザーを立ち上げ、予め定められたメンテナンスサーバー7の所定のURLにアクセスさせる。
メンテナンスサーバー7の情報提供部204は、所定のURLへのアクセスに応じて、印刷装置識別情報入力画面G131(図13)を表示させるHTMLファイルを生成し、本社端末5に送信する。
本社端末5の本社端末制御部30は、ブラウザーの機能により、HTMLファイルを受信し、受信したHTMLファイルに基づいて本社端末表示部33を制御して、表示パネルに印刷装置識別情報入力画面G131を表示させる。
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 G131 (FIG. 13) 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 G131 on the display panel. Display.

図13は、印刷装置識別情報入力画面G131を示す図である。
図13に示すように、印刷装置識別情報入力画面G131は、印刷装置識別情報を入力可能な印刷装置識別情報入力欄R131を備える。保守担当者は、印刷装置識別情報入力欄R131に、情報を取得することを望む印刷装置9の印刷装置識別情報を入力し、確定ボタンB131を操作することにより、入力を確定する。入力の確定に応じて、HTMLファイルに実装されたスクリプトの機能により、入力された印刷装置識別情報が、メンテナンスサーバー7に送信される。
FIG. 13 is a diagram showing a printing apparatus identification information input screen G131.
As illustrated in FIG. 13, the printing apparatus identification information input screen G131 includes a printing apparatus identification information input field R131 in which printing apparatus identification information can be input. The maintenance staff inputs the printing apparatus identification information of the printing apparatus 9 that desires to acquire information in the printing apparatus identification information input field R131, and confirms the input by operating the confirm button B131. 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は、特定したレコードに基づいて、情報提供画面G141(図14)を表示させるHTMLファイルを生成し、本社端末5に送信する。
本社端末5の本社端末制御部30は、ブラウザーの機能により、HTMLファイルを受信し、受信したHTMLファイルに基づいて本社端末表示部33を制御して、表示パネルに情報提供画面G141を表示させる。
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 G141 (FIG. 14) 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 G141 on the display panel.

図14は、情報提供画面G141を示す図である。
図14に示すように、情報提供画面G141は、領域A141と、領域A112とを有する。
領域A141には、保守担当者が入力した印刷装置識別情報の印刷装置9に関する基礎的な情報が表示される。図14の例では、印刷装置9に関する基礎的な情報は、印刷装置9の型番を示す情報、印刷装置9にインストールされたファームウェアのバージョンを示す情報、印刷装置9が設けられた店舗の名称を示す情報、当該店舗の住所を示す情報、当該店舗の電話番号を示す情報、及び、印刷装置9が設けられたレジカウンターのレーンの番号を示す情報である。印刷装置9に関する基礎的な情報は例示した情報に限らない。
ここで、メンテナンスサーバー7のメンテナンスサーバー記憶部21には、印刷装置9について、印刷装置識別情報と、印刷装置9に関する基礎的な情報とを対応付けて記憶するデータベースが記憶される。情報提供部204は、当該データベースに基づいて、印刷装置9に関する基礎的な情報を取得する。
保守担当者は、情報提供画面G141の領域A141に表示された情報を参照することにより、印刷装置9に関する基礎的な情報を取得することができ、必要に応じて、店舗への電話等の作業を行うことができる。
FIG. 14 is a diagram showing an information provision screen G141.
As illustrated in FIG. 14, the information provision screen G141 includes a region A141 and a region A112.
In the area A141, 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. 14, 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 A141 of the information provision screen G141, and can perform work such as telephone to the store as necessary. It can be performed.

図14に示すように、領域A142には、プリンターエラーの発生の有無を示す情報、印刷ヘッドエラーの発生の有無を示す情報、及び、カッターエラーの発生の有無を示す情報が表示される。
保守担当者は、領域A142に表示された情報を参照することにより、プリンターエラー、印刷ヘッドエラー、及び、カッターエラーのそれぞれについて、発生しているか否かを認識でき、当該認識に基づいて対応する作業を行うことができる。対応する作業とは、例えば、エラーが発生している場合に、店舗の責任者に、エラーが発生していること、及び、エラーに対応して行うべき作業を連絡することである。
As shown in FIG. 14, in the area A142, 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 A142, 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.

図15は、会計が行われた場合のPOS端末8、及び、印刷装置9の動作を示すフローチャートであり、(A)はPOS端末8の動作を示し、(B)は印刷装置9の動作を示す。
図15の(A)に示すように、POS端末8のPOS端末制御部40は、顧客の会計に応じて、会計処理を実行する(ステップSL1)。
会計処理において、レジ担当者は、顧客が購入した商品に付されたバーコードをバーコードスキャナーBSにより読み取る。POS端末制御部40は、バーコードスキャナーBSの読み取り結果に基づいて、商品の商品コードを取得し、適宜、図示しないPOSサーバーの商品マスターを参照して、商品の単価等の会計処理に必要な商品に関する情報を取得する。POS端末制御部40は、取得した商品に関する情報に基づいて、カスタマーディスプレーCDや、ディスプレーDPに商品に関する情報を表示する。また、POS端末制御部40は、取得した商品に関する情報に基づいて、合計金額の計算や、釣銭の計算を行って会計を確定し、カスタマーディスプレーCDや、ディスプレーDPに計算結果を示す情報を表示し、また、キャッシュドロアーKSを制御する。
FIG. 15 is a flowchart showing the operations of the POS terminal 8 and the printing apparatus 9 when accounting is performed. (A) shows the operation of the POS terminal 8, and (B) shows the operation of the printing apparatus 9. Show.
As shown in FIG. 15A, the POS terminal control unit 40 of the POS terminal 8 executes transaction processing according to customer transaction (step SL1).
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.

ステップSL1の会計処理を実行した後、POS端末制御部40は、会計処理に基づいて、印刷装置9に会計に関する情報(商品に関する情報や、合計金額に関する情報、釣銭に関する情報等)が印刷されたレシートを発行させる制御コマンドを生成する(ステップSL2)。POS端末8には、POSアプリケーション、及び、プリンタードライバーがインストールされており、POS端末制御部40は、これらプログラムの機能により、制御コマンドを生成する。
次いで、POS端末制御部40は、POS端末デバイス通信部42を制御して、生成した制御コマンドを印刷装置9に送信する(ステップSL3)。
After executing the accounting process of step SL1, 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 SL2). 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 SL3).

図15の(B)に示すように、印刷装置9の印刷装置制御部60の印刷制御部605は、印刷装置ネットワーク通信部63を制御して、制御コマンドを受信する(ステップSM1)。
次いで、印刷制御部605は、受信した制御コマンドに基づいて、印刷部61を制御して、レシートを発行する(ステップSM2)。発行されたレシートは、レジ担当者によって、顧客に引き渡される。
As shown in FIG. 15B, the print control unit 605 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 SM1).
Next, the print control unit 605 controls the printing unit 61 based on the received control command and issues a receipt (step SM2). The issued receipt is delivered to the customer by the cashier.

ところで、上述のとおり、エージェント端末6は、複数の印刷装置9を監視対象とする機能(複数の印刷装置9の状態を監視する機能)を有する。
このように、エージェント端末6が複数の印刷装置9を監視対象とする機能を有することに起因して、以下の事態が生じ得る。
なお、上述したように、監視対象印刷装置管理ファイル812には、監視対象の印刷装置9ごとに、印刷装置9の印刷装置識別情報と、印刷装置9に関する情報(印刷装置9に印刷装置状態情報の応答要求データDDを送信するために必要な情報を含む。)と、が記録される。以下、監視対象印刷装置管理ファイル812に記録される1つの印刷装置9の印刷装置識別情報と、印刷装置9に関する情報との組み合わせを、「監視対象印刷装置情報」という。
Incidentally, as described above, the agent terminal 6 has a function of monitoring a plurality of printing apparatuses 9 (a function of monitoring the states of the plurality of printing apparatuses 9).
As described above, due to the agent terminal 6 having the function of monitoring a plurality of printing apparatuses 9, the following situation may occur.
Note that, as described above, the monitoring target printing device management file 812 includes, for each printing device 9 to be monitored, the printing device identification information of the printing device 9 and information about the printing device 9 (the printing device status information on the printing device 9). Including the information necessary for transmitting the response request data DD.). Hereinafter, the combination of the printing apparatus identification information of one printing apparatus 9 recorded in the monitoring target printing apparatus management file 812 and the information related to the printing apparatus 9 is referred to as “monitoring target printing apparatus information”.

すなわち、上述したように、エージェント端末6は、監視対象印刷装置管理ファイル812により監視対象の印刷装置9として管理される印刷装置9を、監視対象とする。この監視対象印刷装置管理ファイル812には、所定の手段により、監視対象の印刷装置9のそれぞれについて、監視対象印刷装置情報が記録される。
そして、異なるエージェント端末6の異なる監視対象印刷装置管理ファイル812に、同一の印刷装置9に係る監視対象印刷装置情報が記録される可能性がある。例えば、監視対象印刷装置管理ファイル812への監視対象印刷装置情報の記録が、人為的な手段によって行われる場合に、誤って、異なるエージェント端末6の異なる監視対象印刷装置管理ファイル812に、同一の印刷装置9に係る監視対象印刷装置情報が記録される場合がある。
That is, as described above, the agent terminal 6 sets the printing device 9 managed as the monitoring target printing device 9 by the monitoring target printing device management file 812 as the monitoring target. In this monitoring target printing device management file 812, monitoring target printing device information is recorded for each of the monitoring target printing devices 9 by a predetermined means.
Then, there is a possibility that monitoring target printing apparatus information relating to the same printing apparatus 9 may be recorded in different monitoring target printing apparatus management files 812 of different agent terminals 6. For example, when the monitoring target printing apparatus information is recorded in the monitoring target printing apparatus management file 812 by human means, the same information is mistakenly stored in different monitoring target printing apparatus management files 812 of different agent terminals 6. In some cases, monitoring target printing apparatus information related to the printing apparatus 9 is recorded.

このように、異なるエージェント端末6の異なる監視対象印刷装置管理ファイル812に、同一の1の印刷装置9に係る監視対象印刷装置情報が記録された場合、当該1の印刷装置9に係る印刷装置状態情報が、異なるエージェント端末6から重複してメンテナンスサーバー7に送信される事態が生じる。この場合、メンテナンスサーバー7は、同一の印刷装置9の同一の内容の印刷装置状態情報に基づく処理(ステータスデータベース211の対応するレコードの更新)を、複数回、実行することになり、メンテナンスサーバー7の処理負荷の増大につながる可能性がある。また、エージェント端末6と、メンテナンスサーバー7との間で送受信されるデータのデータ量の増大、及び、データ量の増大に伴う通信負荷の増大につながる可能性がある。
以上を踏まえ、印刷装置9は、以下の処理を実行する。
As described above, when monitoring target printing device information relating to the same one printing device 9 is recorded in different monitoring target printing device management files 812 of different agent terminals 6, the printing device state relating to the one printing device 9 is recorded. A situation occurs in which information is redundantly transmitted from different agent terminals 6 to the maintenance server 7. In this case, the maintenance server 7 executes the processing (update of the corresponding record in the status database 211) based on the printing device status information of the same content of the same printing device 9 a plurality of times. May lead to an increase in the processing load. In addition, there is a possibility that the amount of data transmitted / received between the agent terminal 6 and the maintenance server 7 will increase and the communication load accompanying the increase in data amount may increase.
Based on the above, the printing apparatus 9 executes the following processing.

図16は、印刷装置9の動作を示すフローチャートである。
図16に示すように、印刷装置9の印刷装置状態管理部602は、所定の期間内に、異なるエージェント端末6から、印刷装置状態情報の応答要求データDDを受信したか否かを監視する(ステップSN1)。
所定の期間は、エージェント端末6がステータスデータSTをメンテナンスサーバー7に送信する間隔(=エージェント端末6が印刷装置状態情報の応答要求データDDを印刷装置9に送信する間隔)に対応する期間である。例えば、エージェント端末6のそれぞれについて、メンテナンスサーバー7にステータスデータSTを送信する間隔が同一の場合、所定の期間は、メンテナンスサーバー7にステータスデータSTを送信する間隔に所定のマージンを反映させた期間である。また、所定の期間は、メンテナンスサーバー7にステータスデータSTを送信する間隔がエージェント端末6によって異なる場合、異なるエージェント端末6が、同一の印刷装置9を監視対象としているか否かを判別するという観点の下、事前のテストやシミュレーションによって適切に定められる。
FIG. 16 is a flowchart showing the operation of the printing apparatus 9.
As shown in FIG. 16, the printing apparatus status management unit 602 of the printing apparatus 9 monitors whether or not response request data DD for printing apparatus status information has been received from different agent terminals 6 within a predetermined period. Step SN1).
The predetermined period is a period corresponding to an interval at which the agent terminal 6 transmits the status data ST to the maintenance server 7 (= an interval at which the agent terminal 6 transmits the response request data DD of the printing apparatus status information to the printing apparatus 9). . For example, when the interval for transmitting the status data ST to the maintenance server 7 is the same for each agent terminal 6, the predetermined period is a period in which a predetermined margin is reflected in the interval for transmitting the status data ST to the maintenance server 7. It is. Further, in the predetermined period, when the interval at which the status data ST is transmitted to the maintenance server 7 varies depending on the agent terminal 6, it is possible to determine whether different agent terminals 6 monitor the same printing apparatus 9. Below, it is determined appropriately by prior tests and simulations.

以下の説明では、印刷装置9が異なるエージェント端末6から印刷装置状態情報の応答要求データDDを所定の期間内に受信した場合において、印刷装置状態情報の応答要求データDDの送信元の異なるエージェント端末6のそれぞれを「対象エージェント端末」という。   In the following description, when the printing apparatus 9 receives the response request data DD for the printing apparatus status information from the different agent terminals 6 within a predetermined period, the agent terminal with a different transmission source of the response request data DD for the printing apparatus status information is used. Each of 6 is referred to as a “target agent terminal”.

ステップSN1において、異なるエージェント端末6から印刷装置状態情報の応答要求データDDを受信したと判別した場合(ステップSN1:YES)、印刷装置状態管理部602は、送信停止装置決定処理を実行する。以下、ステップSN4の送信停止装置決定処理について詳述する。   When it is determined in step SN1 that the response request data DD for the printing apparatus status information has been received from the different agent terminal 6 (step SN1: YES), the printing apparatus status management unit 602 executes a transmission stop apparatus determination process. Hereinafter, the transmission stop apparatus determination process in step SN4 will be described in detail.

ステップSN4の送信停止装置決定処理は、対象エージェント端末の中から、印刷装置状態情報の応答要求データDDの送信を停止させるエージェント端末6を決定し、印刷装置状態情報の応答要求データDDを送信するエージェント端末6を「1つ」にする処理である。
以下の説明では、印刷装置状態情報の応答要求データDDの送信を停止させる対象エージェント端末を「送信停止装置」という。
In the transmission stop device determination process at step SN4, the agent terminal 6 for stopping the transmission of the response request data DD for the printing device status information is determined from the target agent terminals, and the response request data DD for the printing device status information is transmitted. This is a process of setting the agent terminal 6 to “one”.
In the following description, a target agent terminal that stops transmission of response request data DD for printing apparatus status information is referred to as a “transmission stop apparatus”.

送信停止装置決定処理において、印刷装置状態管理部602は、以下の優先度に従って、対象処理装置の中から、送信停止装置を決定する。   In the transmission stop device determination process, the printing device state management unit 602 determines a transmission stop device from the target processing devices according to the following priorities.

すなわち、店舗側ローカルネットワークTLNを介して通信するエージェント端末6と、店舗側ローカルネットワークTLNを介さずに直接通信するエージェント端末6とから印刷装置状態情報の応答要求データDDを受信した場合、印刷装置状態管理部602は、以下の優先度に従って、対象処理装置の中から、送信停止装置を決定する。印刷装置状態管理部602は、店舗側ローカルネットワークTLNを介して通信して印刷装置状態情報応の応答要求データDDを送信するエージェント端末6よりも、店舗側ローカルネットワークTLNを介さずに直接通信して印刷装置状態情報の応答要求データDDを送信するエージェント端末6を、を、高い優先度で、送信停止装置として決定する。
これは、以下の理由による。
すなわち、上述したように、エージェント端末6は、ネットワーク(本例では、店舗側ローカルネットワークTLN)を介して、複数の印刷装置9の状態を監視することも、ネットワークを介さずに印刷装置9と直接通信して複数の印刷装置9の状態を監視することも可能である。そして、ネットワークを介した通信と、ネットワークを介さない直接通信とでは、通信の特性上、ネットワークを介した通信の方が、ネットワークを介さずに直接通信する場合と比較して、効率よく、複数の印刷装置9と通信して複数の印刷装置9の状態を監視できる。従って、上述した優先度で送信停止装置を決定することによって、ネットワークを介さずに直接通信して印刷装置9の状態を監視するエージェント端末6は、優先的に、送信停止装置として決定され、より多くのエージェント端末6がネットワークを介して効率的に印刷装置9を監視する状態を確立できる。
That is, when the response request data DD of the printing device status information is received from the agent terminal 6 that communicates via the store-side local network TLN and the agent terminal 6 that communicates directly without passing through the store-side local network TLN, The state management unit 602 determines a transmission stop device from the target processing devices according to the following priorities. The printing apparatus state management unit 602 communicates directly via the store-side local network TLN rather than through the store-side local network TLN, rather than the agent terminal 6 that communicates via the store-side local network TLN and transmits response request data DD corresponding to the printing apparatus state information. Then, the agent terminal 6 that transmits the response request data DD of the printing apparatus status information is determined as a transmission stop apparatus with a high priority.
This is due to the following reason.
That is, as described above, the agent terminal 6 can monitor the states of the plurality of printing devices 9 via the network (in this example, the store-side local network TLN), and can also communicate with the printing devices 9 without using the network. It is also possible to monitor the states of a plurality of printing apparatuses 9 by directly communicating. In communication via a network and direct communication not via a network, communication via a network is more efficient than direct communication via a network due to the characteristics of communication. It is possible to monitor the status of a plurality of printing apparatuses 9 by communicating with the printing apparatuses 9. Therefore, by determining the transmission stop device with the above-described priority, the agent terminal 6 that directly communicates without monitoring the network and monitors the state of the printing device 9 is preferentially determined as the transmission stop device. It is possible to establish a state in which many agent terminals 6 efficiently monitor the printing device 9 via the network.

また、店舗側ローカルネットワークTLNを介して通信する複数のエージェント端末6から印刷装置状態情報の応答要求データDDを受信した場合、印刷装置状態管理部602は、通信に使用する通信プロトコルの種類によって優先順位が定められた優先度に従って、送信停止装置を決定する。
優先順位は、通信プロトコルの通信に関する信頼性や、エージェント端末6が行う通信と通信プロトコルとの親和性、エージェント端末6が通信プロトコルで通信を行った場合の処理効率の良さ等が反映されて適切に事前に設定される。
Also, when receiving response request data DD for printing apparatus status information from a plurality of agent terminals 6 communicating via the store-side local network TLN, the printing apparatus status management unit 602 gives priority to the type of communication protocol used for communication. The transmission stop device is determined according to the priority order.
The priority order is appropriate to reflect the reliability related to the communication of the communication protocol, the affinity between the communication performed by the agent terminal 6 and the communication protocol, the good processing efficiency when the agent terminal 6 communicates using the communication protocol, and the like. Set in advance.

また、店舗側ローカルネットワークTLNを介さずに直接通信する複数のエージェント端末6から印刷装置状態情報の応答要求データDDを受信した場合、印刷装置状態管理部602は、通信に使用する通信インターフェースの種類によって優先順位が定められた優先度に従って、送信停止装置を決定する。
特に、通信に使用する通信インターフェースの種類によって優先順位が定められた優先度は、有線通信する通信インターフェースよりも、無線通信する通信インターフェースの方が、優先度が高く設定される。
本実施形態では、ブルートゥースインターフェース→USBインターフェース→パラレルインターフェース→シリアルインターフェースの順番で、優先度が高い。
これは、以下の理由による。
すなわち、無線通信は、他の電子機器の電波、電磁波による電波干渉や、障害物等に起因した電波障害、送信元及び送信先の各アンテナの位置、方向の関係により生じる受信強度の低下等が発生し得るため、有線通信と比較して通信の安定性が低い。以上を踏まえ、上述した優先度で送信停止装置を決定することによって、安定性の低い通信を行うエージェント端末6を優先的に送信停止装置として決定することができる。
Further, when receiving response request data DD for printing apparatus status information from a plurality of agent terminals 6 that communicate directly without using the store-side local network TLN, the printing apparatus status management unit 602 determines the type of communication interface used for communication. The transmission stop device is determined in accordance with the priority determined by the priority order.
In particular, the priority determined by the type of communication interface used for communication is set higher in the communication interface for wireless communication than in the communication interface for wired communication.
In this embodiment, the priority is high in the order of Bluetooth interface → USB interface → parallel interface → serial interface.
This is due to the following reason.
In other words, wireless communication involves radio interference from other electronic devices, radio wave interference due to electromagnetic waves, radio interference due to obstacles, etc., and a decrease in reception intensity caused by the relationship between the position and direction of each antenna at the source and destination. Since it may occur, the stability of communication is lower than that of wired communication. Based on the above, by determining the transmission stop device with the above-described priority, it is possible to preferentially determine the agent terminal 6 that performs communication with low stability as the transmission stop device.

また、印刷装置状態管理部602は、監視対象の印刷装置9の個数が多いエージェント端末6ほど、高い優先度で、送信停止装置として決定する。例えば、対象エージェント端末に1のエージェント端末6と、他のエージェント端末6とが含まれる場合において、当該1のエージェント端末6の監視対象の印刷装置9の個数が「10個」であり、当該他のエージェント端末6の監視対象の印刷装置9の個数が「5個」の場合、印刷装置状態管理部602は、当該1のエージェント端末6を、送信停止装置として決定する。印刷装置状態管理部602は、所定の手段で、印刷装置状態情報の応答要求データDDの送信元のエージェント端末6が監視対象とする印刷装置9の個数を取得可能である。例えば、印刷装置状態管理部602は、適宜、エージェント端末6に対して、監視対象の印刷装置9の個数の応答を要求し、当該個数を取得する。
このように、監視対象の印刷装置9の個数が多いエージェント端末6ほど、高い優先度で、送信停止装置とする理由は以下である。
すなわち、監視対象の印刷装置9の個数が多いエージェント端末6ほど、高い優先度で、送信停止装置とすることにより、エージェント端末6が監視対象とする印刷装置9の個数の平準化を図ることができる。これにより、特定のエージェント端末6の処理負荷が偏って大きくなることを防止できる。また、監視対象の印刷装置9の個数が多いエージェント端末6ほど、高い優先度で、送信停止装置とすることにより、エージェント端末6が送信するステータスデータSTのデータ量の平準化を図ることができる。
Further, the printing apparatus state management unit 602 determines the agent terminal 6 having a larger number of monitoring target printing apparatuses 9 as a transmission stop apparatus with a higher priority. For example, when the target agent terminal includes one agent terminal 6 and another agent terminal 6, the number of printing devices 9 to be monitored by the one agent terminal 6 is “10”, and the other When the number of printing apparatuses 9 to be monitored by the agent terminal 6 is “5”, the printing apparatus state management unit 602 determines the one agent terminal 6 as a transmission stop apparatus. The printing apparatus status management unit 602 can acquire the number of printing apparatuses 9 to be monitored by the agent terminal 6 that is the transmission source of the response request data DD of the printing apparatus status information by a predetermined means. For example, the printing apparatus status management unit 602 appropriately requests the agent terminal 6 for a response of the number of printing apparatuses 9 to be monitored, and acquires the number.
As described above, the reason why the agent terminal 6 having a larger number of monitored printing apparatuses 9 has a higher priority and is a transmission stop apparatus is as follows.
That is, the agent terminal 6 having a larger number of printing devices 9 to be monitored is set as a transmission stop device with a higher priority so that the number of printing devices 9 to be monitored by the agent terminal 6 can be leveled. it can. Thereby, it is possible to prevent the processing load of the specific agent terminal 6 from becoming unduly large. Further, by setting the agent terminal 6 having a larger number of monitoring target printing apparatuses 9 to a transmission stop apparatus with a higher priority, the data amount of the status data ST transmitted from the agent terminal 6 can be leveled. .

ステップSN2の送信停止装置決定処理において、印刷装置状態管理部602は、上述した優先度に従って、優先度の高い順に送信停止装置として決定し、最も優先度の低い対象エージェント端末を印刷装置状態情報の応答要求データDDの送信を停止しない装置として決定する。   In the transmission stop device determination process at step SN2, the printing device state management unit 602 determines the transmission stop device in descending order of priority according to the priority described above, and sets the target agent terminal with the lowest priority in the printing device state information. It is determined as a device that does not stop transmission of response request data DD.

ステップSN2の送信停止装置決定処理を実行した後、印刷装置状態管理部602は、送信停止装置と決定したエージェント端末6について、印刷装置状態情報の応答要求データDDの送信を停止させる(ステップSN3)。
ステップSN3において、印刷装置状態管理部602は、印刷装置状態情報の応答要求データDDの送信の停止を指示する制御コマンドを生成し、送信停止装置と決定したエージェント端末6のそれぞれに送信する。当該制御コマンドを受信したエージェント端末6は、監視対象印刷装置管理ファイル812を更新して、当該ファイルから、対応する印刷装置9の監視対象印刷装置情報を削除する。
After executing the transmission stop device determination process in step SN2, the printing device state management unit 602 stops the transmission of the response request data DD of the printing device state information for the agent terminal 6 determined to be a transmission stop device (step SN3). .
In step SN3, the printing apparatus state management unit 602 generates a control command instructing to stop the transmission of the printing apparatus state information response request data DD, and transmits the control command to each of the agent terminals 6 determined as the transmission stopping apparatus. The agent terminal 6 that has received the control command updates the monitoring target printing apparatus management file 812 and deletes the monitoring target printing apparatus information of the corresponding printing apparatus 9 from the file.

以上の処理が行われる結果、印刷装置9に対して、印刷装置状態情報の応答要求データDDを送信するエージェント端末6は「1つ」となる。これにより、1つの印刷装置9に係る印刷装置状態情報が、異なるエージェント端末6から重複してメンテナンスサーバー7に送信される事態が防止される。これにより、メンテナンスサーバー7の処理負荷の増大の抑制、エージェント端末6とメンテナンスサーバー7との間で送受信されるデータのデータ量の増大の抑制、及び、データ量の増大に伴う通信負荷の増大の抑制を実現できる。   As a result of the above processing, the agent terminal 6 that transmits the response request data DD of the printing apparatus status information to the printing apparatus 9 becomes “one”. As a result, a situation in which the printing apparatus status information relating to one printing apparatus 9 is redundantly transmitted from different agent terminals 6 to the maintenance server 7 is prevented. As a result, an increase in the processing load of the maintenance server 7 is suppressed, an increase in the amount of data transmitted / received between the agent terminal 6 and the maintenance server 7 is suppressed, and an increase in the communication load accompanying the increase in the data amount is suppressed. Suppression can be realized.

次に、印刷装置9の別の処理について説明する。
図17は、印刷装置9の動作を示すフローチャートである。
図17に示すように、印刷装置9の印刷装置状態管理部602は、所定の期間を超えて、いずれのエージェント端末6からも印刷装置状態情報の応答要求データDDを受信しなかったか否かを監視する(ステップSO1)。
所定の期間は、エージェント端末6がステータスデータSTをメンテナンスサーバー7に送信する間隔(=エージェント端末6が印刷装置状態情報の応答要求データDDを印刷装置9に送信する間隔)に対応する期間である。例えば、エージェント端末6のそれぞれについて、メンテナンスサーバー7にステータスデータSTを送信する間隔が同一の場合、所定の期間は、メンテナンスサーバー7にステータスデータSTを送信する間隔に所定のマージンを反映させた期間である。また、所定の期間は、メンテナンスサーバー7にステータスデータSTを送信する間隔がエージェント端末6によって異なる場合、異なるエージェント端末6が、同一の印刷装置9を監視対象としているか否かを判別するという観点の下、事前のテストやシミュレーションによって適切に定められる。
なお、例えば、1の印刷装置9について、いずれのエージェント端末6の監視対象印刷装置管理ファイル812にも当該1の印刷装置9の監視対象印刷装置情報が記録されてない場合、当該1の印刷装置9は、いずれのエージェント端末6からも、所定の期間を超えて、印刷装置状態情報の応答要求データDDを受信しない。
また例えば、通信障害、エージェント端末6の故障等によって、エージェント端末6から監視対象の印刷装置9に対して、所定の期間を超えて、印刷装置状態情報の応答要求データDDの送信が行われず、これに伴って、印刷装置9が、いずれのエージェント端末6からも、所定の期間を超えて、印刷装置状態情報の応答要求データDDを受信しない場合もある。
Next, another process of the printing apparatus 9 will be described.
FIG. 17 is a flowchart showing the operation of the printing apparatus 9.
As shown in FIG. 17, the printing apparatus status management unit 602 of the printing apparatus 9 determines whether or not the response request data DD of the printing apparatus status information has been received from any agent terminal 6 beyond a predetermined period. Monitor (step SO1).
The predetermined period is a period corresponding to an interval at which the agent terminal 6 transmits the status data ST to the maintenance server 7 (= an interval at which the agent terminal 6 transmits the response request data DD of the printing apparatus status information to the printing apparatus 9). . For example, when the interval for transmitting the status data ST to the maintenance server 7 is the same for each agent terminal 6, the predetermined period is a period in which a predetermined margin is reflected in the interval for transmitting the status data ST to the maintenance server 7. It is. Further, in the predetermined period, when the interval at which the status data ST is transmitted to the maintenance server 7 varies depending on the agent terminal 6, it is possible to determine whether different agent terminals 6 monitor the same printing apparatus 9. Below, it is determined appropriately by prior tests and simulations.
For example, when the monitoring target printing device information of the one printing device 9 is not recorded in the monitoring target printing device management file 812 of any agent terminal 6 for one printing device 9, the one printing device 9 9 does not receive the response request data DD of the printing apparatus status information from any agent terminal 6 beyond a predetermined period.
Further, for example, due to a communication failure, a failure of the agent terminal 6 or the like, the response request data DD of the printing apparatus status information is not transmitted from the agent terminal 6 to the monitoring printing apparatus 9 over a predetermined period. Accordingly, the printing apparatus 9 may not receive the response request data DD for the printing apparatus status information from any agent terminal 6 beyond a predetermined period.

ステップSO1において、所定の期間を超えて、いずれのエージェント端末6からも印刷装置状態情報の応答要求データDDを受信しなかったと判別した場合(ステップSO1:YES)、印刷装置状態管理部602は、上述した印刷装置送信機能をオンにする。
印刷装置送信機能がオンの場合、図10〜図12を用いて説明した処理が行われて、印刷装置9が、自ら、印刷装置状態情報が記録されたステータスデータSTを、メンテナンスサーバー7に送信する。
If it is determined in step SO1 that the response request data DD for the printing apparatus status information has not been received from any agent terminal 6 beyond the predetermined period (step SO1: YES), the printing apparatus status management unit 602 Turn on the printing device transmission function described above.
When the printing apparatus transmission function is on, the processing described with reference to FIGS. 10 to 12 is performed, and the printing apparatus 9 itself transmits status data ST in which the printing apparatus state information is recorded to the maintenance server 7. To do.

以上の処理が行われる結果、印刷装置9が、いずれのエージェント端末6からも印刷装置状態情報の応答要求データDDを受信しない状態の場合であっても、印刷装置9は印刷装置状態情報が記録されたステータスデータSTをメンテナンスサーバー7に送信し、メンテナンスサーバー7において、印刷装置9の状態が継続して管理される。   As a result of the above processing, even if the printing apparatus 9 is in a state where it does not receive the response request data DD for the printing apparatus status information from any agent terminal 6, the printing apparatus 9 records the printing apparatus status information. The status data ST thus transmitted is transmitted to the maintenance server 7, and the maintenance server 7 continuously manages the state of the printing apparatus 9.

以上説明したように、本実施形態に係るネットワークシステム1は、印刷装置9と、印刷装置9の状態を監視可能なエージェント端末6(監視装置)と、エージェント端末6と通信可能なメンテナンスサーバー7(情報処理装置)とを備える。エージェント端末6は、複数の印刷装置9と通信して複数の印刷装置9の状態を監視する機能を有し、監視する対象の1又は複数の印刷装置9について、間隔をあけて印刷装置9の状態に関する印刷装置状態情報の応答を要求し、要求に応じて印刷装置状態情報を受信し、受信した印刷装置状態情報をメンテナンスサーバー7に送信する。メンテナンスサーバー7は、エージェント端末6から受信した印刷装置状態情報に基づいて印刷装置9の状態を管理する。印刷装置9は、異なる複数のエージェント端末6から印刷装置状態情報の応答の要求があった場合、所定のエージェント端末6以外のエージェント端末6による印刷装置状態情報の応答の要求を停止させる。
この構成によれば、異なる複数のエージェント端末6から印刷装置9に対して印刷装置状態情報の応答の要求があった場合、印刷装置9の機能により、自動で、所定のエージェント端末6以外のエージェント端末6による印刷装置状態情報の応答の要求が停止する。このため、同一の印刷装置9に対する監視が重複しないように設定するために作業が必要なく、簡易にこのような設定をできる。また、同一の印刷装置9の印刷装置状態情報が重複してメンテナンスサーバー7に送信されることを防止でき、メンテナンスサーバー7の処理負荷の増大の抑制、エージェント端末6とメンテナンスサーバー7との間で送受信されるデータのデータ量の増大の抑制、及び、データ量の増大に伴う通信負荷の増大の抑制を実現できる。すなわち、上記構成によれば、エージェント端末6が印刷装置9の状態を監視し、メンテナンスサーバー7に対して印刷装置9の状態に関する情報を送信するネットワークシステム1について、エージェント端末6が複数の印刷装置9の状態を監視する機能を有することに対応する処理を実行できる。
As described above, the network system 1 according to the present embodiment includes the printing device 9, the agent terminal 6 (monitoring device) that can monitor the state of the printing device 9, and the maintenance server 7 (communication with the agent terminal 6). Information processing apparatus). The agent terminal 6 has a function of communicating with a plurality of printing apparatuses 9 and monitoring the states of the plurality of printing apparatuses 9, and with respect to one or a plurality of printing apparatuses 9 to be monitored, the agent terminals 6 A response of the printing apparatus status information regarding the status is requested, the printing apparatus status information is received in response to the request, and the received printing apparatus status information is transmitted to the maintenance server 7. The maintenance server 7 manages the state of the printing apparatus 9 based on the printing apparatus state information received from the agent terminal 6. When there is a request for a response to the printing apparatus status information from a plurality of different agent terminals 6, the printing apparatus 9 stops the request for a response to the printing apparatus status information from an agent terminal 6 other than the predetermined agent terminal 6.
According to this configuration, when there is a request for a response to the printing apparatus status information from a plurality of different agent terminals 6 to the printing apparatus 9, an agent other than the predetermined agent terminal 6 is automatically set by the function of the printing apparatus 9. The request for the response of the printing apparatus status information by the terminal 6 stops. For this reason, no operation is required to set the monitoring for the same printing apparatus 9 so as not to overlap, and such setting can be easily performed. In addition, it is possible to prevent duplicate printing device status information of the same printing device 9 from being transmitted to the maintenance server 7, suppress an increase in the processing load of the maintenance server 7, and between the agent terminal 6 and the maintenance server 7. It is possible to suppress the increase in the amount of data transmitted and received and the increase in the communication load accompanying the increase in the data amount. That is, according to the above configuration, for the network system 1 in which the agent terminal 6 monitors the state of the printing device 9 and transmits information related to the state of the printing device 9 to the maintenance server 7, the agent terminal 6 has a plurality of printing devices. The processing corresponding to having the function of monitoring the state of 9 can be executed.

また、本実施形態では、印刷装置9は、異なる複数のエージェント端末6のうち、印刷装置状態情報の応答の要求を停止させるエージェント端末6を所定の優先度に従って決定する。
この構成によれば、印刷装置9は、優先度を利用して、印刷装置状態情報の応答の要求を停止させるエージェント端末6を適切に決定できる。
In the present embodiment, the printing apparatus 9 determines an agent terminal 6 that stops a response request for printing apparatus status information among a plurality of different agent terminals 6 according to a predetermined priority.
According to this configuration, the printing apparatus 9 can appropriately determine the agent terminal 6 that stops the request for a response to the printing apparatus status information using the priority.

また、本実施形態では、エージェント端末6は、店舗側ローカルネットワークTLN(ネットワーク)を介して印刷装置9と通信して印刷装置9の状態を監視する機能、又は、店舗側ローカルネットワークTLNを介さずに印刷装置9と直接通信して印刷装置9の状態を監視する機能を有する。印刷装置9は、異なる複数のエージェント端末6のうち、店舗側ローカルネットワークTLNを介して通信して印刷装置状態情報の応答の要求を行うエージェント端末6よりも、店舗側ローカルネットワークTLNを介さずに直接通信して印刷装置状態情報の応答の要求を行うエージェント端末6を、高い優先度で、印刷装置状態情報の応答の要求を停止させる。
この構成によれば、店舗側ローカルネットワークTLNを介して、効率的に印刷装置の監視を行うことができる。
In the present embodiment, the agent terminal 6 communicates with the printing device 9 via the store-side local network TLN (network) to monitor the state of the printing device 9, or without using the store-side local network TLN. In addition, it has a function of monitoring the state of the printing apparatus 9 by directly communicating with the printing apparatus 9. The printing device 9 communicates via a store-side local network TLN among a plurality of different agent terminals 6 rather than via the store-side local network TLN than the agent terminal 6 that requests a response to the printing device status information. The agent terminal 6 that directly communicates and requests a response to the printing apparatus status information is stopped with a high priority at the request for the response to the printing apparatus status information.
According to this configuration, the printing apparatus can be efficiently monitored via the store-side local network TLN.

また、本実施形態では、印刷装置9は、異なる複数のエージェント端末6のうち、通信に使用する通信プロトコルの種類によって優先順位が定められた優先度に従って、印刷装置状態情報の応答の要求を停止させるエージェント端末6を決定する。
この構成によれば、印刷装置9は、通信に使用する通信プロトコルの種類によって優先順位が定められた優先度を利用して、印刷装置状態情報の応答の要求を停止させるエージェント端末6を適切に決定できる。
Further, in the present embodiment, the printing apparatus 9 stops the response request for the printing apparatus status information in accordance with the priority determined by the type of communication protocol used for communication among the different agent terminals 6. The agent terminal 6 to be determined is determined.
According to this configuration, the printing apparatus 9 appropriately uses the priority determined in accordance with the type of communication protocol used for communication, and appropriately sets the agent terminal 6 that stops the response request for the printing apparatus status information. Can be determined.

また、本実施形態では、印刷装置9は、異なる複数のエージェント端末6のうち、通信に使用する通信インターフェースの種類によって優先順位が定められた優先度に従って、印刷装置状態情報の応答の要求を停止させるエージェント端末6を決定する。
この構成によれば、印刷装置9は、通信に使用する通信インターフェースの種類によって優先順位が定められた優先度を利用して、印刷装置状態情報の応答の要求を停止させるエージェント端末6を適切に決定できる。
Further, in the present embodiment, the printing apparatus 9 stops the response request for the printing apparatus status information in accordance with the priority determined by the type of the communication interface used for communication among the different agent terminals 6. The agent terminal 6 to be determined is determined.
According to this configuration, the printing apparatus 9 appropriately uses the priority that is determined by the type of communication interface used for communication, and appropriately uses the agent terminal 6 that stops the response request for the printing apparatus status information. Can be determined.

また、本実施形態では、印刷装置9は、有線通信する通信インターフェースに係るエージェント端末6よりも、無線通信する通信インターフェースに係るエージェント端末6を、高い優先度で、印刷装置状態情報の応答の要求を停止させる。
この構成によれば、印刷装置9は、安定性の低い通信を行うエージェント端末6を優先的に送信停止装置として決定することができる。
In the present embodiment, the printing apparatus 9 requests the agent terminal 6 related to the communication interface for wireless communication with a higher priority than the agent terminal 6 related to the communication interface for wired communication to request the response of the printing apparatus status information. Stop.
According to this configuration, the printing apparatus 9 can preferentially determine the agent terminal 6 that performs communication with low stability as the transmission stop apparatus.

また、本実施形態では、印刷装置9は、異なる複数のエージェント端末6のうち、状態を監視する対象の印刷装置9の個数が多いエージェント端末6ほど高い優先度で、印刷装置状態情報の応答の要求を停止させる。
この構成によれば、エージェント端末6が監視対象とする印刷装置9の個数の平準化を図ることができる。また、特定のエージェント端末6の処理負荷が偏って大きくなることを防止できる。また、エージェント端末6が送信するステータスデータSTのデータ量の平準化を図ることができる。
In the present embodiment, the printing apparatus 9 responds to the response of the printing apparatus status information with a higher priority as the agent terminal 6 having a larger number of printing apparatuses 9 whose statuses are to be monitored among a plurality of different agent terminals 6. Stop the request.
According to this configuration, it is possible to level the number of printing apparatuses 9 to be monitored by the agent terminal 6. In addition, it is possible to prevent the processing load of a specific agent terminal 6 from becoming unevenly large. Further, the data amount of the status data ST transmitted from the agent terminal 6 can be leveled.

また、本実施形態では、印刷装置9は、いずれのエージェント端末6からも印刷装置状態情報の応答の要求が無い場合、メンテナンスサーバー7に印刷装置状態情報を送信する。
この構成によれば、印刷装置9がいずれのエージェント端末6からも印刷装置状態情報の応答の要求を受信しない状態の場合であっても、印刷装置9が印刷装置状態情報をメンテナンスサーバー7に送信し、メンテナンスサーバー7において、印刷装置9の状態が継続して管理される。
In the present embodiment, the printing apparatus 9 transmits the printing apparatus status information to the maintenance server 7 when no response of the printing apparatus status information is requested from any agent terminal 6.
According to this configuration, the printing apparatus 9 transmits the printing apparatus status information to the maintenance server 7 even when the printing apparatus 9 does not receive a response request for the printing apparatus status information from any agent terminal 6. In the maintenance server 7, the state of the printing apparatus 9 is continuously managed.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述した印刷装置9の制御方法(制御装置の制御方法)が、印刷装置9が備えるコンピューター、又は、印刷装置9に接続される外部装置を用いて実現される場合、本発明を、印刷装置9の制御方法を実現するためにコンピューターが実行するプログラム、このプログラムをコンピューターで読み取り可能に記録した記録媒体、或いは、このプログラムを伝送する伝送媒体の態様で構成することも可能である。上記記録媒体としては、磁気的、光学的記録媒体又は半導体メモリーデバイスを用いることができる。具体的には、フレキシブルディスク、HDD(Hard Disk Drive)、CD−ROM(Compact Disk Read Only Memory)、DVD(Digital Versatile Disk)、Blu−ray(登録商標)Disc、光磁気ディスク、フラッシュメモリー、カード型記録媒体等の可搬型の、或いは固定式の記録媒体が挙げられる。また、上記記録媒体は、印刷装置9が備えるコンピューターや、印刷装置9に接続された外部装置が備える内部記憶装置である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 printing apparatus 9 (control method of the control apparatus) is realized using a computer included in the printing apparatus 9 or an external apparatus connected to the printing apparatus 9, the present invention is printed. It is also possible to configure in the form of a program executed by a computer to realize the control method of the apparatus 9, a recording medium in which this program is recorded so as to be readable by the computer, or a transmission medium for transmitting this 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 which is an internal storage device provided in a computer provided in the printing device 9 or an external device connected to the printing device 9. 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…エージェント端末(監視装置)、7…メンテナンスサーバー(情報処理装置)、8…POS端末、9…印刷装置、12…通信装置、60…印刷装置制御部(制御部)、61…印刷部、GN…グローバルネットワーク、TLN…店舗側ローカルネットワーク。   DESCRIPTION OF SYMBOLS 1 ... Network system, 3 ... Store system, 6 ... Agent terminal (monitoring device), 7 ... Maintenance server (information processing device), 8 ... POS terminal, 9 ... Printing device, 12 ... Communication device, 60 ... Printing device control part (Control part), 61 ... printing part, GN ... global network, TLN ... store side local network.

Claims (10)

印刷装置と、前記印刷装置の状態を監視可能な複数の監視装置と、前記監視装置と通信可能な情報処理装置とを備えるネットワークシステムにおいて、
前記監視装置は、
複数の前記印刷装置と通信して複数の前記印刷装置の状態を監視する機能を有し、監視する対象の1又は複数の前記印刷装置について、間隔をあけて前記印刷装置の状態に関する印刷装置状態情報の応答を要求し、要求に応じて前記印刷装置状態情報を受信し、受信した前記印刷装置状態情報を前記情報処理装置に送信し、
前記情報処理装置は、
前記監視装置から受信した前記印刷装置状態情報に基づいて前記印刷装置の状態を管理し、
前記印刷装置は、
異なる前記監視装置から前記印刷装置状態情報の応答の要求があった場合、所定の前記監視装置以外の前記監視装置による前記印刷装置状態情報の応答の要求を停止させる
ことを特徴とするネットワークシステム。
In a network system comprising a printing device, a plurality of monitoring devices capable of monitoring the status of the printing device, and an information processing device capable of communicating with the monitoring device,
The monitoring device
A printing apparatus state having a function of communicating with a plurality of the printing apparatuses and monitoring a state of the plurality of printing apparatuses, with respect to one or a plurality of the printing apparatuses to be monitored with respect to the state of the printing apparatus at intervals; Requesting a response of information, receiving the printing apparatus status information in response to the request, transmitting the received printing apparatus status information to the information processing apparatus,
The information processing apparatus includes:
Managing the status of the printing device based on the printing device status information received from the monitoring device;
The printing apparatus includes:
When there is a request for a response to the printing apparatus status information from a different monitoring apparatus, the request for a response to the printing apparatus status information by the monitoring apparatus other than the predetermined monitoring apparatus is stopped.
前記印刷装置は、
異なる前記監視装置のうち、前記印刷装置状態情報の応答の要求を停止させる前記監視装置を所定の優先度に従って決定する
ことを特徴とする請求項1に記載のネットワークシステム。
The printing apparatus includes:
The network system according to claim 1, wherein, among the different monitoring apparatuses, the monitoring apparatus that stops a request for a response to the printing apparatus status information is determined according to a predetermined priority.
前記監視装置は、
ネットワークを介して前記印刷装置と通信して前記印刷装置の状態を監視する機能、又は、前記ネットワークを介さずに前記印刷装置と直接通信して前記印刷装置の状態を監視する機能を有し、
前記印刷装置は、
異なる前記監視装置のうち、前記ネットワークを介さずに直接通信して前記印刷装置状態情報の応答の要求を行う前記監視装置を、前記ネットワークを介して通信して前記印刷装置状態情報の応答の要求を行う前記監視装置よりも、高い優先度で、前記印刷装置状態情報の応答の要求を停止させる
ことを特徴とする請求項2に記載のネットワークシステム。
The monitoring device
A function of communicating with the printing device via a network and monitoring the state of the printing device, or a function of directly communicating with the printing device without monitoring the network and monitoring the state of the printing device;
The printing apparatus includes:
Among the different monitoring devices, the monitoring device that directly communicates without requesting the network to request the response of the printing device status information is communicated via the network, and the response request of the printing device status information is communicated with the network. The network system according to claim 2, wherein a request for a response to the printing apparatus status information is stopped with a higher priority than the monitoring apparatus that performs the operation.
前記印刷装置は、
異なる前記監視装置のうち、通信に使用する通信プロトコルの種類によって優先順位が定められた優先度に従って、前記印刷装置状態情報の応答の要求を停止させる前記監視装置を決定する
ことを特徴とする請求項2又は3に記載のネットワークシステム。
The printing apparatus includes:
The monitoring device that stops a request for a response to the printing device status information is determined according to a priority that is determined according to a type of communication protocol used for communication, among the different monitoring devices. Item 4. The network system according to Item 2 or 3.
前記印刷装置は、
異なる複数の前記監視装置のうち、通信に使用する通信インターフェースの種類によって優先順位が定められた優先度に従って、前記印刷装置状態情報の応答の要求を停止させる前記監視装置を決定する
ことを特徴とする請求項2乃至4のいずれか1項に記載のネットワークシステム。
The printing apparatus includes:
The monitoring device that stops a request for a response to the printing device status information is determined according to a priority determined in accordance with a type of communication interface used for communication among the plurality of different monitoring devices. The network system according to any one of claims 2 to 4.
前記印刷装置は、
有線通信する前記通信インターフェースに係る前記監視装置よりも、無線通信する前記通信インターフェースに係る前記監視装置を、高い優先度で、前記印刷装置状態情報の応答の要求を停止させる
ことを特徴とする請求項5に記載のネットワークシステム。
The printing apparatus includes:
The monitoring device related to the communication interface that performs wireless communication is stopped with a higher priority than the monitoring device related to the communication interface that performs wired communication with a higher priority. Item 6. The network system according to Item 5.
前記印刷装置は、
異なる前記監視装置のうち、状態を監視する対象の前記印刷装置の個数が多い前記監視装置ほど高い優先度で、前記印刷装置状態情報の応答の要求を停止させる
ことを特徴とする請求項2乃至6のいずれか1項に記載のネットワークシステム。
The printing apparatus includes:
The request for a response to the printing apparatus status information is stopped with a higher priority as the number of the printing apparatuses whose statuses are to be monitored among the different monitoring apparatuses is higher. 7. The network system according to any one of 6.
前記印刷装置は、
いずれの前記監視装置からも前記印刷装置状態情報の応答の要求が無い場合、前記情報処理装置に前記印刷装置状態情報を送信する
ことを特徴とする請求項1乃至7のいずれか1項に記載のネットワークシステム。
The printing apparatus includes:
8. The printing apparatus status information is transmitted to the information processing apparatus when there is no request for a response of the printing apparatus status information from any of the monitoring apparatuses. Network system.
複数の監視装置と通信可能な印刷装置であって、
記録媒体に印刷する印刷部と、
異なる前記監視装置から、前記印刷部の状態に関する印刷装置状態情報の応答の要求があった場合、所定の前記監視装置以外の前記監視装置による前記印刷装置状態情報の応答の要求を停止させる制御部と、
を備えることを特徴とする印刷装置。
A printing device capable of communicating with a plurality of monitoring devices,
A printing section for printing on a recording medium;
A control unit that stops a response request for the printing apparatus status information by the monitoring apparatus other than the predetermined monitoring apparatus when a different monitoring apparatus requests a response for the printing apparatus status information regarding the status of the printing unit. When,
A printing apparatus comprising:
監視装置と通信可能な印刷装置の制御方法であって、
異なる前記監視装置から、前記印刷部の状態に関する印刷装置状態情報の応答の要求があった場合、所定の前記監視装置以外の前記監視装置による前記印刷装置状態情報の応答の要求を停止させることを特徴とする印刷装置の制御方法。
A control method of a printing apparatus capable of communicating with a monitoring apparatus,
When there is a request for a response to printing apparatus status information related to the status of the printing unit from a different monitoring apparatus, the request for a response to the printing apparatus status information by the monitoring apparatus other than the predetermined monitoring apparatus is stopped. A control method for a printing apparatus.
JP2016010964A 2016-01-07 2016-01-22 Network system, printer, and control method of printer Withdrawn JP2017130152A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2016010964A JP2017130152A (en) 2016-01-22 2016-01-22 Network system, printer, and control method of printer
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
JP2016010964A JP2017130152A (en) 2016-01-22 2016-01-22 Network system, printer, and control method of printer

Publications (2)

Publication Number Publication Date
JP2017130152A true JP2017130152A (en) 2017-07-27
JP2017130152A5 JP2017130152A5 (en) 2019-02-28

Family

ID=59395598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016010964A Withdrawn JP2017130152A (en) 2016-01-07 2016-01-22 Network system, printer, and control method of printer

Country Status (1)

Country Link
JP (1) JP2017130152A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001290720A (en) * 2000-01-31 2001-10-19 Fujitsu Ltd Communication controller, computer-readable recording medium with communication control program recorded thereon, and communication control program
JP2004062441A (en) * 2002-07-26 2004-02-26 Ntt Docomo Inc Service management system and method, server management device, communication terminal, and server device
JP2004118629A (en) * 2002-09-27 2004-04-15 Toshiba Corp Load distributor and load distributing method
JP2006263963A (en) * 2005-03-22 2006-10-05 Brother Ind Ltd Image forming device, information processing terminal unit for management, status information managing program, and status information managing system
JP2007293470A (en) * 2006-04-24 2007-11-08 Seiko Epson Corp Device to be monitored and method for controlling device to be monitored
JP2009223371A (en) * 2008-03-13 2009-10-01 Nec Corp Computer link method and system
JP2010219611A (en) * 2009-03-13 2010-09-30 Seiko Epson Corp Mobile terminal and program
JP2010282274A (en) * 2009-06-02 2010-12-16 Konica Minolta Business Technologies Inc Image printing system, image forming device, printer selection device, terminal device, and printer driver
JP2012029139A (en) * 2010-07-26 2012-02-09 Brother Ind Ltd Device to be connected to network
JP2012118692A (en) * 2010-11-30 2012-06-21 Hitachi Ltd Monitoring system and monitoring method
JP2013037655A (en) * 2011-08-11 2013-02-21 Fujitsu Ltd Information processing program and information processing device
JP2013161252A (en) * 2012-02-03 2013-08-19 Fujitsu Ltd Redundant computer control program, method, and device
JP2015069324A (en) * 2013-09-27 2015-04-13 サイレックス・テクノロジー株式会社 Device server and control method for the same

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001290720A (en) * 2000-01-31 2001-10-19 Fujitsu Ltd Communication controller, computer-readable recording medium with communication control program recorded thereon, and communication control program
JP2004062441A (en) * 2002-07-26 2004-02-26 Ntt Docomo Inc Service management system and method, server management device, communication terminal, and server device
JP2004118629A (en) * 2002-09-27 2004-04-15 Toshiba Corp Load distributor and load distributing method
JP2006263963A (en) * 2005-03-22 2006-10-05 Brother Ind Ltd Image forming device, information processing terminal unit for management, status information managing program, and status information managing system
JP2007293470A (en) * 2006-04-24 2007-11-08 Seiko Epson Corp Device to be monitored and method for controlling device to be monitored
JP2009223371A (en) * 2008-03-13 2009-10-01 Nec Corp Computer link method and system
JP2010219611A (en) * 2009-03-13 2010-09-30 Seiko Epson Corp Mobile terminal and program
JP2010282274A (en) * 2009-06-02 2010-12-16 Konica Minolta Business Technologies Inc Image printing system, image forming device, printer selection device, terminal device, and printer driver
JP2012029139A (en) * 2010-07-26 2012-02-09 Brother Ind Ltd Device to be connected to network
JP2012118692A (en) * 2010-11-30 2012-06-21 Hitachi Ltd Monitoring system and monitoring method
JP2013037655A (en) * 2011-08-11 2013-02-21 Fujitsu Ltd Information processing program and information processing device
JP2013161252A (en) * 2012-02-03 2013-08-19 Fujitsu Ltd Redundant computer control program, method, and device
JP2015069324A (en) * 2013-09-27 2015-04-13 サイレックス・テクノロジー株式会社 Device server and control method for the same

Similar Documents

Publication Publication Date Title
EP3190509B1 (en) Network system
EP3109804A1 (en) Control device, network system, and server
US10153953B2 (en) Network system, control method of a network system and control device
EP3154237B1 (en) Network system and communication control method
JP2017010492A (en) Network system and control method for the same
JP6540444B2 (en) Network system and server
JP6623661B2 (en) Network system and communication control method
JP2017130152A (en) Network system, printer, and control method of printer
JP2016212491A (en) Network system, network system control method, and control device
JP6686377B2 (en) Network system
JP6572785B2 (en) Network system, control device, and control method of control device
JP6634832B2 (en) Network system, information processing apparatus, and control method for information processing apparatus
JP6561622B2 (en) Network system, network system control method, and control apparatus
JP6531606B2 (en) Network system
JP2017016178A (en) Network system, server, and network system control method
JP2017016177A (en) Network system, server, and network system control method
JP6493017B2 (en) Network system, server, and network system control method
JP6596973B2 (en) Network system and network system control method
JP2017092683A (en) Network system, printer, and control method of printer
JP6578894B2 (en) Network system and control device
JP6578895B2 (en) Network system and control device
JP2017107358A (en) Control device, control method for the same, server, and network system
JP2017078997A (en) Network system, control method of network system, and client
JP2017100335A (en) Printer and control method of printer
JP2017016179A (en) Control device, network system, and control device control method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200131

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20200309