JP6281248B2 - Printing apparatus, printing apparatus control method, and printing control system - Google Patents
Printing apparatus, printing apparatus control method, and printing control system Download PDFInfo
- Publication number
- JP6281248B2 JP6281248B2 JP2013230943A JP2013230943A JP6281248B2 JP 6281248 B2 JP6281248 B2 JP 6281248B2 JP 2013230943 A JP2013230943 A JP 2013230943A JP 2013230943 A JP2013230943 A JP 2013230943A JP 6281248 B2 JP6281248 B2 JP 6281248B2
- Authority
- JP
- Japan
- Prior art keywords
- unit
- data
- identification information
- printing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 33
- 230000006854 communication Effects 0.000 claims description 191
- 238000004891 communication Methods 0.000 claims description 191
- 238000012545 processing Methods 0.000 claims description 153
- 238000003860 storage Methods 0.000 claims description 20
- 230000007175 bidirectional communication Effects 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 6
- 230000006870 function Effects 0.000 description 58
- 230000008569 process Effects 0.000 description 23
- 230000005540 biological transmission Effects 0.000 description 9
- 230000007246 mechanism Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
- Facsimile Transmission Control (AREA)
Description
本発明は、印刷装置、印刷装置の制御方法、及び、印刷装置制御システムに関する。
The present invention relates to a printing apparatus, a printing apparatus control method, and a printing apparatus control system.
従来、印刷制御装置の制御の下、印刷装置によって印刷媒体に印刷し、レシートを発行する印刷制御システムが知られている(例えば、特許文献1参照)。この種の印刷制御システムでは、印刷装置と、印刷制御装置とがネットワークを介して接続され、当該ネットワークを介して通信する。 2. Description of the Related Art Conventionally, a print control system that prints on a print medium by a printing apparatus and issues a receipt under the control of the printing control apparatus is known (see, for example, Patent Document 1). In this type of print control system, a printing apparatus and a print control apparatus are connected via a network and communicate via the network.
上述した印刷制御システムのように、印刷装置と印刷制御装置とがネットワークを介して通信するシステムを構築する場合、印刷装置、及び、システムを、印刷機能を有する印刷装置と印刷制御装置とがネットワークを介して通信する構成に対応させる必要がある。
本発明は、上述した事情に鑑みてなされたものであり、印刷装置と印刷制御装置とがネットワークを介して通信する印刷制御システムについて、印刷装置、及び、印刷制御システムを、装置間がネットワークを介して通信する構成に対応させることを目的とする。
In the case of constructing a system in which a printing apparatus and a printing control apparatus communicate via a network, such as the above-described printing control system, the printing apparatus and the system are connected to a printing apparatus having a printing function and the printing control apparatus. It is necessary to correspond to the configuration that communicates through the network.
The present invention has been made in view of the above-described circumstances, and relates to a printing control system in which a printing apparatus and a printing control apparatus communicate via a network, the printing apparatus and the printing control system, and a network between the apparatuses. It aims at making it respond | correspond to the structure which communicates via.
上記目的を達成するために、本発明の印刷装置は、印刷を行う印刷部と、印刷データの送受信を行い、前記印刷部を制御する印刷制御部と、前記印刷データと異なる制御データの送受信を行い、制御データに基づく制御を行う機能部と、前記印刷制御部が送信する前記印刷データに、前記印刷制御部の識別情報を付加する通信制御部と、前記通信制御部で前記印刷制御部の識別情報が付加された前記印刷データを送信する通信部と、を有することを特徴とする。
本発明の構成によれば、印刷装置は、印刷データの送受信を行い、印刷部を制御する印刷制御部と、印刷データと異なる制御データの送受信を行い、制御データに基づく処理を行う機能部とを有している。そして、印刷装置の通信制御部は、印刷制御部が送信する印刷データに、印刷制御部の識別情報を付加し、印刷装置の通信部は、識別情報が付加された印刷データを送信する。このため、ネットワークを介して印刷データを受信した印刷制御装置等の外部装置は、印刷データに付加された印刷制御部の識別情報に基づいて、受信した印刷データが、印刷装置が有する複数の機能部のうち、印刷制御部が送信したものであることを判別できる。そして、外部装置は、印刷データが印刷制御部が送信したものであることに基づいた対応する処理を実行できる。つまり、上記構成によれば、印刷制御システムに含まれる印刷装置を、当該印刷装置が印刷制御部、及び、印刷制御部と異なる機能の機能部の複数の機能部を有することに対応させ、また、印刷装置と、印刷制御装置等の外部装置とがネットワークを介して通信する構成に対応させることができる。
In order to achieve the above object, a printing apparatus according to the present invention performs printing data transmission / reception with a printing unit that performs printing, and printing control unit that controls the printing unit, and transmission / reception of control data different from the printing data. A function unit that performs control based on the control data, a communication control unit that adds identification information of the print control unit to the print data transmitted by the print control unit, and the communication control unit configured to And a communication unit that transmits the print data to which the identification information is added.
According to the configuration of the present invention, the printing apparatus transmits and receives print data and controls the printing unit, and a functional unit that transmits and receives control data different from the print data and performs processing based on the control data. have. The communication control unit of the printing apparatus adds the identification information of the print control unit to the print data transmitted by the print control unit, and the communication unit of the printing apparatus transmits the print data to which the identification information is added. For this reason, an external device such as a print control device that has received print data via a network has a plurality of functions that the received print data has based on the identification information of the print control unit added to the print data. It is possible to determine that the print control unit has transmitted the copy. Then, the external device can execute a corresponding process based on the fact that the print data is transmitted by the print control unit. That is, according to the above configuration, the printing apparatus included in the printing control system is made to correspond to the printing apparatus having a plurality of functional units that are different from the printing control unit and the printing control unit. It is possible to correspond to a configuration in which a printing apparatus and an external apparatus such as a printing control apparatus communicate via a network.
また、前記通信制御部は、前記機能部が送信する前記制御データに、前記機能部の識別情報を付加し、前記通信部は、前記機能部の識別情報が付加された前記制御データを送信する。
本発明の構成によれば、印刷装置からネットワークを介して制御データを受信した印刷制御装置等の外部装置は、制御データに付加された機能部の識別情報に基づいて、受信した制御データが、印刷装置が有する複数の機能部のうち、印刷制御部とは異なる機能に係る機能部が送信したものであることを判別できる。そして、外部装置は、制御データが印刷制御部とは異なる機能に係る機能部が送信したものであることに基づいた対応する処理を実行できる。
The communication control unit adds identification information of the functional unit to the control data transmitted by the functional unit, and the communication unit transmits the control data to which the identification information of the functional unit is added. .
According to the configuration of the present invention, the external device such as the print control device that has received the control data from the printing device via the network has the received control data based on the identification information of the functional unit added to the control data. It can be determined that a function unit related to a function different from the print control unit among a plurality of function units included in the printing apparatus is transmitted. Then, the external device can execute a corresponding process based on the fact that the control data is transmitted by a function unit related to a function different from the print control unit.
また、前記印刷装置の識別情報である印刷装置識別情報を記憶する記憶部を有し、前記通信制御部は、前記印刷制御部が送信する前記印刷データに印刷装置識別情報を付加し、前記通信部は、印刷装置識別情報が付加された前記印刷データを送信する。
本発明の構成によれば、印刷装置からネットワークを介して印刷装置識別情報、及び、印刷制御部の識別情報が付加された印刷データを受信した印刷制御装置等の外部装置は、これら識別情報に基づいて、印刷データを送信した印刷装置、及び、印刷データを送信した機能部が印刷制御部であること、を判別できる。そして、外部装置は、上記判別結果に応じて対応する処理を実行できる。
A storage unit that stores printing device identification information that is identification information of the printing device; and the communication control unit adds the printing device identification information to the print data transmitted by the print control unit, and The unit transmits the print data to which the printing apparatus identification information is added.
According to the configuration of the present invention, an external device such as a print control device that has received print data to which print device identification information and print control unit identification information have been added via a network from the printing device is included in the identification information. Based on this, it is possible to determine that the printing apparatus that transmitted the print data and that the functional unit that transmitted the print data is the print control unit. Then, the external device can execute a corresponding process according to the determination result.
また、前記通信部は、非同期の双方向通信で前記印刷データ、及び前記制御データを送信する。
本発明の構成によれば、印刷装置は、必要に応じて、任意のタイミングで、印刷制御部が送信した印刷データを、非同期の双方向通信で印刷制御装置等の外部装置に送信して、外部装置に印刷データに基づく処理を実行させることができる。また、印刷装置は、必要に応じて、任意のタイミングで、非同期の双方向通信により外部装置との間で制御データを送受信して、対応する機能部により制御データに基づく対応する処理を実行できる。
The communication unit transmits the print data and the control data by asynchronous two-way communication.
According to the configuration of the present invention, the printing apparatus transmits the print data transmitted by the print control unit to the external apparatus such as the print control apparatus by asynchronous two-way communication at an arbitrary timing as necessary. An external device can execute processing based on print data. In addition, the printing apparatus can transmit / receive control data to / from an external apparatus by asynchronous two-way communication at an arbitrary timing as needed, and a corresponding function unit can execute a corresponding process based on the control data. .
また、本発明の印刷装置は、印刷を行う印刷部と、印刷データに識別情報を付加し、識別情報を付加した前記印刷データを送信する印刷制御部と、前記印刷データと異なる制御データの送受信を行い、制御データに基づく処理を行う機能部と、前記印刷制御部で前記印刷制御部の識別情報が付加された前記印刷データを送信する通信部と、有することを特徴とする。
本発明の構成によれば、印刷装置は、印刷データの送受信を行い、印刷部を制御する印刷制御部と、印刷データと異なる制御データの送受信を行い、制御データに基づく処理を行う機能部とを有している。そして、印刷装置の印刷制御部は、送信する印刷データに、印刷制御部の識別情報を付加し、印刷装置の通信部は、識別情報が付加された印刷データを送信する。このため、ネットワークを介して印刷データを受信した印刷制御装置等の外部装置は、印刷データに付加された印刷制御部の識別情報に基づいて、受信した印刷データが、印刷装置が有する複数の機能部のうち、印刷制御部が送信したものであることを判別できる。そして、外部装置は、印刷データが印刷制御部が送信したものであることに基づいた対応する処理を実行できる。つまり、上記構成によれば、印刷制御システムに含まれる印刷装置を、当該印刷装置が印刷制御部、及び、印刷制御部と異なる機能の機能部の複数の機能部を有することに対応させ、また、印刷装置と、印刷制御装置等の外部装置とがネットワークを介して通信する構成に対応させることができる。
The printing apparatus of the present invention includes a printing unit that performs printing, a print control unit that adds identification information to print data, and transmits the print data to which identification information is added, and transmission / reception of control data different from the print data. And a function unit that performs processing based on the control data, and a communication unit that transmits the print data to which the identification information of the print control unit is added by the print control unit.
According to the configuration of the present invention, the printing apparatus transmits and receives print data and controls the printing unit, and a functional unit that transmits and receives control data different from the print data and performs processing based on the control data. have. The print control unit of the printing apparatus adds the identification information of the print control unit to the print data to be transmitted, and the communication unit of the printing apparatus transmits the print data to which the identification information is added. For this reason, an external device such as a print control device that has received print data via a network has a plurality of functions that the received print data has based on the identification information of the print control unit added to the print data. It is possible to determine that the print control unit has transmitted the copy. Then, the external device can execute a corresponding process based on the fact that the print data is transmitted by the print control unit. That is, according to the above configuration, the printing apparatus included in the printing control system is made to correspond to the printing apparatus having a plurality of functional units that are different from the printing control unit and the printing control unit. It is possible to correspond to a configuration in which a printing apparatus and an external apparatus such as a printing control apparatus communicate via a network.
また、前記機能部は、送信する前記制御データに前記機能部の識別情報を付加し、前記通信部は、前記機能部で前記機能部の識別情報が付加された前記制御データを送信する。
本発明の構成によれば、印刷装置からネットワークを介して制御データを受信した印刷制御装置等の外部装置は、制御データに付加された機能部の識別情報に基づいて、受信した制御データが、印刷装置が有する複数の機能部のうち、印刷制御部とは異なる機能に係る機能部が送信したものであることを判別できる。そして、外部装置は、制御データが印刷制御部とは異なる機能に係る機能部が送信したものであることに基づいた対応する処理を実行できる。
The function unit adds identification information of the function unit to the control data to be transmitted, and the communication unit transmits the control data to which the function unit identification information is added by the function unit.
According to the configuration of the present invention, the external device such as the print control device that has received the control data from the printing device via the network has the received control data based on the identification information of the functional unit added to the control data. It can be determined that a function unit related to a function different from the print control unit among a plurality of function units included in the printing apparatus is transmitted. Then, the external device can execute a corresponding process based on the fact that the control data is transmitted by a function unit related to a function different from the print control unit.
また、本発明の印刷制御システムは、印刷を行う印刷部、印刷データに基づいて前記印刷部を制御する印刷制御部、前記印刷データと異なる制御データを送受信して制御データに基づく処理を行う機能部、前記印刷制御部が送信する前記印刷データに前記印刷制御部の識別情報を付加する通信制御部、及び前記通信制御部で前記印刷制御部の識別情報が付加された前記印刷データを送信する通信部を有する印刷装置と、送信された前記印刷データに基づいて処理を行う印刷データ処理部、送信された前記制御データに基づいて処理を行う処理部、及び前記印刷データに付加された前記印刷制御部の識別情報に基づいて前記印刷データ処理部へ前記印刷データを送信する通信管理部を有する印刷制御装置と、を備えることを特徴とする。
本発明の構成によれば、印刷装置は、印刷データの送受信を行い、印刷部を制御する印刷制御部と、印刷データと異なる制御データの送受信を行い、制御データに基づく処理を行う機能部とを有している。そして、印刷装置の通信制御部は、印刷制御部が送信する印刷データに、印刷制御部の識別情報を付加し、印刷装置の通信部は、識別情報が付加された印刷データを送信する。印刷データを受信した印刷制御装置の通信管理部は、印刷データに付加された印刷制御部の識別情報に基づいて、受信した印刷データを、対応する印刷データ処理部に送信する。つまり、印刷装置が送信した印刷データは、印刷制御装置において印刷データ処理部に送信され、印刷データ処理部により対応する処理が実行される。つまり、上記構成によれば、印刷制御システムを、当該印刷装置が印刷制御部、及び、印刷制御部と異なる機能の機能部の複数の機能部を有することに対応させ、また、印刷装置と、印刷制御装置とがネットワークを介して通信する構成に対応させることができる。
The print control system of the present invention includes a print unit that performs printing, a print control unit that controls the print unit based on print data, and a function that performs transmission and reception of control data different from the print data and processing based on the control data A communication control unit that adds identification information of the print control unit to the print data transmitted by the print control unit, and the print data in which the identification information of the print control unit is added by the communication control unit. A printing apparatus having a communication unit, a print data processing unit that performs processing based on the transmitted print data, a processing unit that performs processing based on the transmitted control data, and the print added to the print data And a print control device having a communication management unit that transmits the print data to the print data processing unit based on identification information of the control unit.
According to the configuration of the present invention, the printing apparatus transmits and receives print data and controls the printing unit, and a functional unit that transmits and receives control data different from the print data and performs processing based on the control data. have. The communication control unit of the printing apparatus adds the identification information of the print control unit to the print data transmitted by the print control unit, and the communication unit of the printing apparatus transmits the print data to which the identification information is added. The communication management unit of the print control apparatus that has received the print data transmits the received print data to the corresponding print data processing unit based on the identification information of the print control unit added to the print data. That is, the print data transmitted by the printing apparatus is transmitted to the print data processing unit in the print control apparatus, and the corresponding processing is executed by the print data processing unit. That is, according to the above configuration, the printing control system corresponds to the printing apparatus having a plurality of functional units that are functions different from the printing control unit and the printing control unit, and the printing apparatus, It is possible to correspond to a configuration in which the print control apparatus communicates via a network.
また、前記印刷装置の前記通信制御部は、前記機能部が送信する前記制御データに、前記機能部の識別情報を付加し、前記印刷装置の前記通信部は、前記機能部の識別情報が付加された前記制御データを送信し、前記印刷制御装置の前記通信管理部は、前記制御データに付加された前記機能部の識別情報に基づいて前記機能部へ前記制御データを送信する。
本発明の構成によれば、印刷装置が送信した制御データは、印刷制御装置において機能部に送信され、機能部により対応する処理が実行される。
Further, the communication control unit of the printing apparatus adds identification information of the functional unit to the control data transmitted by the functional unit, and the communication unit of the printing apparatus adds identification information of the functional unit. The communication management unit of the print control apparatus transmits the control data to the function unit based on the identification information of the function unit added to the control data.
According to the configuration of the present invention, the control data transmitted from the printing apparatus is transmitted to the function unit in the print control apparatus, and the corresponding process is executed by the function unit.
以下、図面を参照して本発明の実施形態について説明する。
<第1実施形態>
図1は、本実施形態に係る制御システム1(印刷制御システム)の構成を示す図である。
図1に示すように、制御システム1は、制御サーバー10(印刷制御装置)を備え、この制御サーバー10にインターネット等のネットワークGNを介して複数の店舗システム11が接続される。
店舗システム11は、スーパーマーケットや、コンビニエンスストア、デパート、飲食店等の店舗に適用されたシステムである。店舗システム11は、少なくとも、店舗に来店した顧客に対してレシートを発行する機能を備える。
店舗システム11は、印刷媒体に印刷する印刷機能を有し、レシートを発行可能な1又は複数の印刷装置12を備える。印刷装置12は、店舗内に構築されたローカルエリアネットワークLNに接続される。このローカルエリアネットワークLNには、ネットワークルーターや、モデム等の通信機器を含んで構成されたネットワーク通信制御装置13が接続される。印刷装置12は、このネットワーク通信制御装置13を介して、ネットワークGNにアクセスする。例えば、店舗システム11Aは、スーパーマーケットSMに適用されたシステムである。スーパーマーケットSMには、複数のレジカウンターRCが設けられ、各レジカウンターRCには、印刷装置12が設けられる。店舗システム11Aに係る印刷装置12は、ローカルエリアネットワークLNに接続され、ネットワーク通信制御装置13を介して、ネットワークGNにアクセスする。
本実施形態に係る制御システム1では、店舗システム11の印刷装置12が、制御サーバー10との間で通信経路を確立し、制御サーバー10と、通信する。そして、印刷装置12は、制御サーバー10の制御の下、印刷に係る処理を実行する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<First Embodiment>
FIG. 1 is a diagram illustrating a configuration of a control system 1 (printing control system) according to the present embodiment.
As shown in FIG. 1, the
The
The
In the
図2は、制御システム1における制御サーバー10と、印刷装置12との間に確立される通信経路を示す図である。
図2に示すように、制御システム1において、制御サーバー10と、各店舗システム11の印刷装置12との間には、WebSocketのWebSocketコネクションCT(通信経路)が確立される。
なお、WebSocketとは、ネットワークを介して接続されたサーバーと、クライアントとの間で、非同期な双方向通信を可能とする通信規格の1つである。WebSocketでは、サーバーとクライアントがWebSocketコネクションCTを確立した後は、データの送受信を、当該コネクションによりプロトコルを用いて行う。このため、データの送信が発生する度に、コネクションを確立する必要がない。
また、WebSocketコネクションCTとは、当該コネクションで接続された印刷装置12と、制御サーバー10との間で、WebSocketのプロトコル、手続きに従ってデータを送受信する論理的な通信経路のことである。従って、印刷装置12と、制御サーバー10との間で、所定のハンドシェイクが行われ、WebSocketコネクションCTを確立した後は、印刷装置12と、制御サーバー10とは、WebSocketコネクションCTにより、非同期にデータを送受信できる。つまり、制御サーバー10は、任意のタイミングで、WebSocketコネクションCTで印刷装置12にデータを送信でき、また、印刷装置12は、任意のタイミングで、WebSocketコネクションCTで制御サーバー10にデータを送信できる。
また、WebSocket通信とは、WebSocketコネクションCTにより印刷装置12と、制御サーバー10との間で行われる、WebSocketのプロトコル、手続きに従った非同期な双方向通信のことである。
制御サーバー10、及び、印刷装置12は、WebSocketコネクションCTで、非同期で双方向通信する。すなわち、制御サーバー10は、クライアントとしての印刷装置12からリクエストを受けることなく、任意のタイミングで、WebSocketコネクションCTで印刷装置12に対してデータをプッシュ送信できる。従って、制御サーバー10は、任意のタイミングで、印刷装置12を制御して、印刷媒体に印刷させることができる。同様に、印刷装置12は、任意のタイミングで、WebSocketコネクションCTで制御サーバー10に対してデータをプッシュ送信できる。
FIG. 2 is a diagram illustrating a communication path established between the
As shown in FIG. 2, in the
WebSocket is one of the communication standards that enables asynchronous two-way communication between a server and a client connected via a network. In the WebSocket, after the server and the client establish the WebSocket connection CT, data transmission / reception is performed using the protocol using the connection. For this reason, it is not necessary to establish a connection every time data transmission occurs.
The WebSocket connection CT is a logical communication path for transmitting and receiving data according to the WebSocket protocol and procedure between the
WebSocket communication is asynchronous two-way communication according to the WebSocket protocol and procedure, which is performed between the
The
本実施形態において、制御サーバー10は、いわゆるクラウドシステムにおけるクラウドサーバーである。すなわち、制御サーバー10は、演算処理機能を有し、印刷装置12の要求等をトリガーとして所定の演算処理を実行し、演算処理の結果に基づくデータを、WebSocketコネクションCTで印刷装置12に送信する。
なお、図2では、制御サーバー10を、1つのブロックによって表現しているが、これは、制御サーバー10が単一のサーバー装置により構成されることを意味するものではない。例えば、制御サーバー10は、複数のサーバー装置を含んで構成されたものであってもよく、所定のシステムの一部の機能により実現されるサーバーであってもよい。すなわち、後述する各種処理を実現可能な構成であれば、その形態を問わない。
また、本実施形態では、制御サーバー10と、印刷装置12との間で、WebSocket通信を行う。しかしながら、これら装置が、WebSocket通信に代えて、WebSocket通信と同様な非同期な双方向通信を行う構成であってもよい。
In the present embodiment, the
In FIG. 2, the
In the present embodiment, WebSocket communication is performed between the
このように、制御システム1は、印刷機能が実装された印刷装置12が、複数台(例えば、1000台)、WebSocketコネクションCTにより、制御サーバー10との間で通信可能に接続された構成である。
このような構成のため、以下の効果を得ることができる。
すなわち、制御サーバー10は、複数の店舗システム11に接続された複数の印刷装置12から受信したデータに基づく情報を収集し、管理、分析できる。このため、有益な情報を蓄積することができる。蓄積した情報は、いわゆるビッグデータとして活用可能である。
また、店舗システム11の構築の簡易化、及び、低コスト化を図ることが可能となる。すなわち、制御システム1では、印刷装置12がWebSocketコネクションCTで制御サーバー10に接続される。このため、制御サーバー10が提供するサービスを利用して、制御サーバー10の制御の下、印刷装置12に各種処理を実行させることが可能である。従って、店舗システム11を構築する管理者は、店舗システム11の構築に際し、印刷装置12を所望の場所に設置した上で、印刷装置12をネットワークGNに接続する、という簡易な作業を行えばよい。これにより、制御サーバー10が提供するサービスを利用して、印刷装置12に所望の処理、例えば、レシートの発行に係る処理を実行させることが可能となる。
また、制御サーバー10に、異なる店舗システム11の印刷装置12がWebSocketコネクションCTで接続されるため、制御サーバー10は、複数の店舗システム11の複数の印刷装置12を管理できる。また、制御サーバー10は、複数の店舗システム11の複数の印刷装置12を動作させることが可能となる。
As described above, the
Due to such a configuration, the following effects can be obtained.
That is, the
In addition, the construction of the
In addition, since the
図3は、本実施形態に係る印刷装置12、及び、制御サーバー10の機能的構成を示すブロック図である。
図3に示すように、印刷装置12は、通信制御部15と、通信部16と、印刷制御部17と、印刷部18と、ステータス管理部21(機能部)と、ステータス監視機構22と、印刷装置記憶部19と、を備える。
通信制御部15、通信部16、印刷制御部17、及び、ステータス管理部21の機能については後述する。
印刷部18は、印刷媒体に印刷する印刷機構、印刷媒体を搬送する搬送機構、印刷媒体を切断する切断機構等の印刷に係る機構、及び、各機構の制御に係る制御基板等を備える。
ステータス監視機構22は、印刷装置12のカバーの開閉状態を検出するセンサーや、エラーの発生の有無等、印刷装置12の状態を検出するセンサー、機構等を備え、検出結果を、ステータス管理部21に送信する。
印刷装置記憶部19は、不揮発性メモリーを備え、各種データを記憶する。印刷装置記憶部19には、通信先情報データ19aと、印刷装置識別情報データ19bと、機能部管理データベース19cと、が記憶されるが、これらデータについては後述する。
印刷装置12は、印刷制御部17、及び、ステータス管理部21の2つの機能ブロックを備える。これら機能ブロックは、別の機能を有する機能ブロックである。
FIG. 3 is a block diagram illustrating functional configurations of the
As shown in FIG. 3, the
The functions of the
The
The
The printing
The
一方、図3に示すように、制御サーバー10は、通信管理部25と、接続部26と、印刷データ処理部27と、ステータス処理部29(処理部)と、制御サーバー記憶部28と、を備える。
通信管理部25、接続部26、印刷データ処理部27、及び、ステータス処理部29の機能については、後述する。
制御サーバー記憶部28は、不揮発性メモリーを備え、各種データを記憶する。制御サーバー記憶部28には、コネクション管理データベース28aと、処理部管理データベース28bと、が記憶されるが、これについては後述する。
制御サーバー10は、印刷データ処理部27、及び、ステータス処理部29の2つの機能ブロックを備える。これら機能ブロックは、別の機能を有する機能ブロックである。
On the other hand, as shown in FIG. 3, the
The functions of the
The control
The
なお、図3では、制御サーバー10と、制御サーバー10に接続された1つの印刷装置12との関係を示す。制御サーバー10に、複数の印刷装置12が接続される場合は、制御サーバー10は、複数の印刷装置12に対応して複数のWebSocketインターフェースを備え、各印刷装置12との間でWebSocketコネクションCTを確立し、各印刷装置12とWebSocketコネクションCTでWebSocket通信する。
FIG. 3 shows the relationship between the
次に、印刷装置12の電源投入時における、印刷装置12、及び、制御サーバー10の動作について説明する。
図4は、印刷装置12に電源が投入された後の印刷装置12、及び、制御サーバー10の動作を示すフローチャートであり、(A)は印刷装置12の動作を、(B)は制御サーバー10の動作を示す。
なお、図4のフローチャートの処理のトリガーは、電源投入時に限らない。例えば、印刷装置12がネットワークGNに通信可能に接続された場合や、ユーザーから指示があった場合等であってもよい。
また、以下の説明では、印刷装置12は、対応する店舗システム11のローカルエリアネットワークLNに接続され、ネットワークGNにアクセス可能であるものとする。
Next, operations of the
FIG. 4 is a flowchart showing operations of the
The trigger of the process in the flowchart of FIG. 4 is not limited to when the power is turned on. For example, the case where the
In the following description, it is assumed that the
また、以下の説明において、印刷装置12が備える通信制御部15、印刷制御部17、ステータス管理部21、及び、制御サーバー10が備える通信管理部25、印刷データ処理部27、ステータス処理部29の各機能ブロックの機能は、例えば、以下のようにして実現される。
すなわち、例えば、これら機能ブロックは、オブジェクトである。オブジェクトとは、オブジェクト指向プログラミングで生成されるインスタンス、すなわち、データ、及び、メソッドの集合として定義されたソフトウェアの機能ブロックである。そして、これら機能ブロックの機能は、各機能ブロックに実装されたメソッドが呼び出されることによって実現される。
また例えば、これら機能ブロックの機能は、アプリケーションがCPU等のハードウェア資源によって読み出され実行されることによって、実現される。1つのアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよい。また、1つのアプリケーションにより複数の機能ブロックの機能が実現される構成であってもよい。また、複数のアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよい。
すなわち、各機能ブロックは、各機能をブロックとして表現したものであり、特定のアプリケーションや、ハードウェア等を意味するものではない。
In the following description, the
That is, for example, these functional blocks are objects. An object is a functional block of software defined as a collection of instances, that is, data and methods generated by object-oriented programming. And the function of these functional blocks is implement | achieved by calling the method mounted in each functional block.
Further, for example, the functions of these functional blocks are realized by an application being read and executed by a hardware resource such as a CPU. A configuration in which the function of one functional block is realized by one application may be employed. Moreover, the structure by which the function of a some functional block is implement | achieved by one application may be sufficient. Moreover, the structure by which the function of one functional block is implement | achieved by several applications may be sufficient.
That is, each function block represents each function as a block, and does not mean a specific application, hardware, or the like.
図4(A)に示すように、印刷装置12の電源が投入されると(ステップSX1)、通信制御部15は、印刷装置記憶部19にアクセスし、印刷装置記憶部19に記憶される通信先情報データ19aを取得する(ステップSA1)。
通信先情報データ19aとは、WebSocketのWebSocketコネクションCTの確立する際に、アクセスする制御サーバー10のアドレス(ドメイン名や、IPアドレス、パス名等)を示すデータである。ここで、WebSocketでは、WebSocketコネクションCTの確立に当たり、クライアント(本例では、印刷装置12)は、サーバー(本例では、制御サーバー10)に対して、HTTP(Hypertext Transfer Protocol)でハンドシェイクを行う。当該ハンドシェイクにおいて、クライアントは、サーバーにメッセージを送信するが、通信先情報データ19aは、メッセージを送信するアドレスを示すデータである。
次いで、通信制御部15は、通信先情報データ19aが示すドメイン名に基づいて、制御サーバー10の通信管理部25と共に、通信部16と接続部26との間に、WebSocketコネクションCTを確立する(ステップSA2、ステップSB1)。つまり、本実施形態に係る印刷装置12は、ユーザーによる指示や、制御サーバー10からの要求を受けることなく、電源の投入をトリガーとしてWebSocketコネクションCTを確立する。
なお、通信部16、及び、接続部26は、WebSocketの規格、手続きに従ってデータの送受信を行うWebSocketインターフェースである。これら機能ブロックは、例えば、WebSocketのライブラリーを利用して生成される。
通信制御部15は、通信部16にデータを送信すれば、WebSocketコネクションCTにより、WebSocket通信で、データの送信を実行できる。
すなわち、通信部16は、通信制御部15から受信したデータについて、WebSocketに従った処理を行って、WebSocketに従った手続きでWebSocketコネクションCTによりデータを送信する機能を有する。また、通信部16は、WebSocketコネクションCTにより受信したデータについて、WebSocketに従った処理を行って、通信制御部15に送信する機能を有する。接続部26についても同様である。
WebSocketコネクションCTの確立に伴って、印刷装置12、及び、制御サーバー10は、非同期で、双方向通信できる。つまり、制御サーバー10は、クライアントとしての印刷装置12からリクエストを受けることなく、WebSocketコネクションCTによりWebSocket通信で印刷装置12にデータをプッシュ送信できる。
As shown in FIG. 4A, when the
The communication destination information data 19a is data indicating the address (domain name, IP address, path name, etc.) of the
Next, the
The
If the
That is, the
With the establishment of the WebSocket connection CT, the
次いで、印刷装置12の通信制御部15は、印刷装置記憶部19にアクセスし、印刷装置記憶部19に記憶される印刷装置識別情報データ19bを取得する(ステップSA3)。印刷装置識別情報データ19bとは、印刷装置12の識別情報(以下、「印刷装置識別情報」)を示すデータである。印刷装置識別情報は、例えば、印刷装置12の製造段階で、印刷装置12に割り当てられるシリアル番号である。
次いで、通信制御部15は、WebSocketコネクションCTで、印刷装置識別情報データ19bを送信する(ステップSA4)。
図4(B)に示すように、制御サーバー10の通信管理部25は、印刷装置識別情報データ19bを受信する(ステップSB2)。
次いで、通信管理部25は、制御サーバー記憶部28に記憶されたコネクション管理データベース28aにアクセスする(ステップSB3)。コネクション管理データベース28aとは、確立しているWebSocketコネクションCTについて、WebSocketコネクションCTの識別情報であるコネクション識別情報と、上述した印刷装置識別情報とを対応付けて記憶するデータベースである。
次いで、通信管理部25は、コネクション管理データベース28aに1件のレコードを生成する。そして、通信管理部25は、生成したレコードにおいて、ステップSB1で確立したWebSocketコネクションCTのコネクション識別情報と、ステップSB2で受信した印刷装置識別情報データ19bが示す印刷装置識別情報とを対応付けて記憶する(ステップSB4)。なお、通信管理部25は、WebSocketコネクションCTが確立したときに、既に確立しているWebSocketコネクションCTのコネクション識別情報と異なる値のコネクション識別情報を生成する。ステップSB4の処理により、WebSocketコネクションCTと、印刷装置12との対応関係が管理される。
このように、ユーザーによる指示や、制御サーバー10からの要求を受けることなく、電源の投入をトリガーとしてWebSocketコネクションCTを確立する。このような構成のため、ユーザーは、WebSocketコネクションCTを確立するために、煩雑な作業を行う必要がない。また、WebSocketコネクションCTを確立するために、専門的な知識も必要ない。また、電源投入後、すぐに、印刷装置12を、制御サーバー10の制御の下で各種処理を実行できる状態とすることができる。
Next, the
Next, the
As shown in FIG. 4B, the
Next, the
Next, the
In this way, the WebSocket connection CT is established with the power-on as a trigger without receiving an instruction from the user or a request from the
以上のようにして、通信部16と、接続部26との間で、WebSocketコネクションCTが確立する。これに伴って、印刷装置12の印刷制御部17と、制御サーバー10の印刷データ処理部27との間で、WebSocketコネクションCTに基づく第1機能部間通信経路KT1が確立する。第1機能部間通信経路KT1は、WebSocketコネクションCTを含んで構成された論理的な通信経路である。印刷制御部17と、印刷データ処理部27とは、第1機能部間通信経路KT1により、非同期の双方向通信を行うことが可能である。第1機能部間通信経路KT1により行われる非同期の双方向通信については後に詳述する。
また、WebSocketコネクションCTの確立に伴って、印刷装置12のステータス管理部21と、制御サーバー10のステータス処理部29との間で、WebSocketコネクションCTに基づく第2機能部間通信経路KT2が確立する。第2機能部間通信経路KT2は、WebSocketコネクションCTを含んで構成された論理的な通信経路である。ステータス管理部21と、ステータス処理部29とは、第2機能部間通信経路KT2により、非同期の双方向通信を行うことが可能である。第2機能部間通信経路KT2により行われる非同期の双方向通信については後に詳述する。
なお、以下の説明では、印刷装置12の機能部と、制御サーバー10の処理部(後述)との間でデータが送受信される論理的な通信経路を総称して「機能部間通信経路KT」という。
As described above, the WebSocket connection CT is established between the
Further, along with the establishment of the WebSocket connection CT, a communication path KT2 between the second functional units based on the WebSocket connection CT is established between the
In the following description, logical communication paths through which data is transmitted and received between the functional unit of the
ところで、図3に示すように、制御サーバー10は、印刷データ処理部27、及び、ステータス処理部29の2つの機能ブロックを備える。以下、印刷データ処理部27、及び、ステータス処理部29を区別せずに表現する場合、これら機能ブロックを総称して「処理部」と表現する。
また、印刷装置12は、印刷制御部17、及び、ステータス管理部21の2つの機能ブロックを備える。以下、印刷制御部17、及び、ステータス管理部21を区別せずに表現する場合、これら機能ブロックを総称して「機能部」と表現する。
そして、本実施形態に係る制御システム1では、対応関係にある処理部と、機能部とが、WebSocketコネクションCTに基づく機能部間通信経路KTで、非同期な双方向通信を行う。
ここで、機能部と、処理部とが対応するとは、処理部が送信したデータを機能部が処理でき、逆に、機能部が送信したデータを処理部が処理できる関係にあることをいう。従って、処理部は、対応関係にある機能部に対してデータを送信して、当該機能部に、当該機能部の機能に基づく処理を行わせることができる。また、機能部は、対応関係にある処理部に対してデータを送信して、当該処理部に、当該処理部の機能に基づく処理を行わせることができる。本例では、印刷装置12の印刷制御部17と、制御サーバー10の印刷データ処理部27とが対応する。また、印刷装置12のステータス管理部21と、制御サーバー10のステータス処理部29とが対応する。
なお、1つの機能部に対して、1つの処理部が対応する構成のほか、複数の機能部に対して、1つの処理部が対応する構成でもよい。この構成の場合において、1の処理部に対応する複数の機能部は、異なる印刷装置12の機能部であってもよく、また、同一の印刷装置12の機能部であってもよい。
以下、処理部と、機能部との間で行われるWebSocketコネクションCTに基づく機能部間通信経路KTによる非同期な双方向通信について、具体例を挙げて説明する。
Incidentally, as shown in FIG. 3, the
The
In the
Here, the correspondence between the functional unit and the processing unit means that the functional unit can process the data transmitted by the processing unit, and conversely, the processing unit can process the data transmitted by the functional unit. Therefore, the processing unit can transmit data to the functional unit having the correspondence relationship, and cause the functional unit to perform processing based on the function of the functional unit. Further, the functional unit can transmit data to the processing units having a correspondence relationship, and cause the processing unit to perform processing based on the function of the processing unit. In this example, the
In addition to a configuration in which one processing unit corresponds to one functional unit, a configuration in which one processing unit corresponds to a plurality of functional units may be employed. In the case of this configuration, the plurality of functional units corresponding to one processing unit may be functional units of
In the following, a specific example will be described for asynchronous two-way communication using the inter-function unit communication path KT based on the WebSocket connection CT performed between the processing unit and the function unit.
まず、WebSocketコネクションCTの確立後における印刷データ処理部27と、印刷制御部17との通信について、印刷データ処理部27が第1機能部間通信経路KT1でデータを送信し、印刷制御部17が当該データに基づく処理を行った後、第1機能部間通信経路KT1でデータを送信する場合を例にして説明する。
図5、図6は、印刷装置12により印刷媒体に印刷するときの制御サーバー10、及び、印刷装置12の動作を示すフローチャートであり、(A)は制御サーバー10の動作を、(B)は印刷装置12の動作を示す。
図5(A)に示すように、印刷データ処理部27は、印刷装置12の制御に係る印刷制御データ(印刷データ)を生成し、通信管理部25に送信する(ステップSC1)。印刷制御データは、印刷装置12に印刷させる情報が記述されたXML(Extensible Markup Language)ファイルである。印刷制御データには、XMLのフォーマットで、印刷装置12に印刷させる情報、例えば、画像データや、画像の位置を示す情報等が記述される。
また、印刷制御データには、印刷させる印刷装置12の印刷装置識別情報が付加される。印刷データ処理部27は、制御サーバー10に接続された印刷装置12の印刷装置識別情報を管理し、印刷制御データに、印刷をさせる印刷装置12の印刷装置識別情報を付加する。
印刷装置識別情報は、印刷制御データのヘッダー等の制御情報が記述される領域における所定の領域に記述されてもよく、また、印刷制御データ内の所定のタグに記述されてもよい。
通信管理部25は、制御サーバー記憶部28に記憶されたコネクション管理データベース28aにアクセスする(ステップSC2)。
First, regarding communication between the print
5 and 6 are flowcharts showing the operation of the
As shown in FIG. 5A, the print
Further, printing device identification information of the
The printing apparatus identification information may be described in a predetermined area in an area where control information such as a header of the print control data is described, or may be described in a predetermined tag in the print control data.
The
次いで、通信管理部25は、受信した印刷制御データに付加された印刷装置識別情報をキーとして、コネクション管理データベース28aにおいて、当該識別情報と対応付けられたWebSocketコネクションCTのコネクション識別情報を取得する(ステップSC3)。ここで取得されたコネクション識別情報は、印刷させる印刷装置12との間で確立されたWebSocketコネクションCTのコネクション識別情報である。
次いで、通信管理部25は、受信した印刷制御データに、印刷データ処理部27の処理部識別情報を付加する(ステップSC4)。処理部識別情報とは、制御サーバー10が備える処理部の識別情報であり、各処理部に対して、異なる値の処理部識別情報が割り当てられる。従って、印刷データ処理部27と、ステータス処理部29とには、異なる値の処理部識別情報が割り当てられる。
通信管理部25は、通信管理部25に対してデータを送信可能な処理部の処理部識別情報を管理する。従って、通信管理部25は、1の処理部からデータを受信した場合に、当該1の処理部の処理部識別情報を取得し、受信したデータに付加することができる。
次いで、通信管理部25は、印刷制御データを、ステップSC3で取得したコネクション識別情報に対応する接続部26に送信する(ステップSC5)。
次いで、接続部26は、受信した印刷制御データを、WebSocketコネクションCTにより、WebSocket通信で、プッシュ送信する(ステップSC6)。
Next, the
Next, the
The
Next, the
Next, the
図5(B)に示すように、通信部16は、WebSocketで、印刷制御データを受信する(ステップSD1)。
次いで、通信部16は、通信制御部15に、印刷制御データを送信する(ステップSD2)。
通信制御部15は、印刷制御データに付加された処理部識別情報を取得する(ステップSD3)。
次いで、通信制御部15は、機能部管理データベース19cを参照する(ステップSD4)。
機能部管理データベース19cとは、印刷装置12が備える各機能部について、機能部の機能部識別情報と、対応する処理部の処理部識別情報と、を対応付けて記憶するデータベースである。
機能部識別情報とは、印刷装置12が備える機能部を識別する識別情報であり、各機能部に対して、異なる値の機能部識別情報が割り当てられる。従って、印刷制御部17と、ステータス管理部21とには、異なる値の機能部識別情報が割り当てられる。本例では、機能部管理データベース19cにおいて、印刷制御部17の機能部識別情報と、印刷データ処理部27の処理部識別情報とが対応付けて記憶される。また、機能部管理データベース19cにおいて、ステータス管理部21の機能部識別情報と、ステータス処理部29の処理部識別情報とが対応付けて記憶される。
次いで、通信制御部15は、ステップSD3で取得した処理部識別情報をキーとして、機能部管理データベース19cにおいて、当該識別情報と対応付けられた機能部識別情報を取得する(ステップSD5)。ステップSD5で通信制御部15が取得した機能部識別情報が示す機能部は、通信制御部15が受信した印刷制御データを生成した印刷データ処理部27に対応する機能部である。つまり、ステップSD5で通信制御部15が取得した機能部識別情報は、データを送信する機能部を示す機能部識別情報である。
As shown in FIG. 5B, the
Next, the
The
Next, the
The functional unit management database 19c is a database that stores functional unit identification information of a functional unit and processing unit identification information of a corresponding processing unit in association with each functional unit included in the
The functional unit identification information is identification information for identifying a functional unit included in the
Next, using the processing unit identification information acquired in step SD3 as a key, the
次いで、通信制御部15は、ステップSD5で取得した機能部識別情報が示す機能部(本例では、印刷制御部17)に、印刷制御データを送信する(ステップSD6)。なお、通信制御部15は、機能部識別情報と、機能部との関係を管理する。
次いで、印刷制御部17は、受信した印刷制御データを、印刷部18のコマンド体系の制御コマンドに変換する(ステップSD7)。つまり、印刷制御部17は、XMLファイルである印刷制御データを、印刷部18の制御基板が解釈可能なコマンドに変換する。
次いで、印刷制御部17は、制御コマンドを、印刷部18に送信する(ステップSD8)。
次いで、印刷部18は、制御コマンドに基づいて、印刷媒体への印刷を実行する(ステップSD9)。
このように、本実施形態では、印刷データ処理部27は、第1機能部間通信経路KT1により、印刷制御部17にデータを送信可能である。
また、このように、本実施形態では、印刷装置12に印刷を実行させる事象が発生した場合に、印刷装置12からのリクエストを受けることなく、制御サーバー10は、印刷装置12に印刷させることができる。印刷装置12に印刷を実行させる事象が発生した場合とは、例えば、ユーザーからの指示があった場合や、通信可能に接続された外部機器からの要求があった場合、事前に定義した条件が成立した場合等、である。
このため、印刷装置12から制御サーバー10に対して間欠的にリクエストを送り、印刷装置12に印刷をさせたい場合に、当該リクエストに応じて印刷制御データを送信する構成とした場合と比較して、より迅速に印刷を開始させることができる。また、制御サーバー10がリクエストに対する保留状態を作る構成とした場合と比較して、リソースの消費を抑制できる。
以上、印刷データ処理部27から印刷制御部17に対して、第1機能部間通信経路KT1によりデータを送信する場合の処理について説明したが、ステータス処理部29からステータス管理部21に対して第2機能部間通信経路KT2によりデータを送信する場合も同様の処理が行われる。
Next, the
Next, the
Next, the
Next, the
Thus, in the present embodiment, the print
As described above, in the present embodiment, when an event that causes the
For this reason, when a request is intermittently sent from the
The processing in the case where data is transmitted from the print
図6(B)に示すように、印刷装置12の印刷制御部17は、印刷部18の印刷結果に基づいて印刷結果データ(印刷データ)を生成する(ステップSD10)。印刷結果データとは、印刷部18による印刷が成功したこと、又は、失敗したこと、失敗した場合はその原因等を示すデータである。
次いで、印刷制御部17は、生成した印刷結果データを、通信制御部15に送信する(ステップSD11)。
通信制御部15は、受信した印刷結果データに、印刷装置識別情報、及び、印刷制御部17の機能部識別情報を付加する(ステップSD12)。
なお、ステップSD12において、通信制御部15は、印刷装置記憶部19に記憶された印刷装置識別情報データ19bを参照し、当該データに基づいて、印刷結果データに印刷装置識別情報を付加する。また、通信制御部15は、通信制御部15に対してデータを送信可能な機能部の機能部識別情報を管理し、1の機能部からデータを受信した場合、当該1の機能部の機能部識別情報を取得できる。
次いで、通信制御部15は、印刷結果データを、通信部16に送信する(ステップSD13)。
通信部16は、WebSocketコネクションCTにより、受信した印刷結果データを、制御サーバー10にプッシュ送信する(ステップSE6)。
As shown in FIG. 6B, the
Next, the
The
In step SD12, the
Next, the
The
図6(A)に示すように、接続部26は、WebSocketコネクションCTで、印刷結果データを受信する(ステップSC7)。
次いで、接続部26は、受信した印刷結果データを、通信管理部25に送信する(ステップSC8)。
通信管理部25は、印刷結果データに付加された印刷装置識別情報、及び、機能部識別情報を取得する(ステップSC9)。
次いで、通信管理部25は、制御サーバー記憶部28に記憶された処理部管理データベース28bを参照する(ステップSC10)。
処理部管理データベース28bとは、制御サーバー10が備える各処理部について、処理部の処理部識別情報と、印刷装置識別情報、及び、機能部識別情報の組合せと、を対応づけて記憶するデータベースである。
As shown in FIG. 6A, the
Next, the
The
Next, the
The processing unit management database 28b is a database that stores, in association with each processing unit included in the
次いで、通信管理部25は、ステップSC3で取得した印刷装置識別情報、及び、機能部識別情報の組合せをキーとして、処理部管理データベース28bにおいて、当該識別情報の組合せと対応付けられた処理部識別情報を取得する(ステップSC11)。ここで通信管理部25が取得した処理部識別情報は、通信管理部25が受信したデータを送信する処理部の処理部識別情報である。
次いで、通信管理部25は、ステップSC11で取得した処理部識別情報が示す処理部(本例では、印刷データ処理部27)に印刷結果データを送信する(ステップSC12)。なお、通信管理部25は、データを送信可能な処理部について、処理部識別情報を管理する。
次いで、印刷データ処理部27は、受信した印刷結果データに基づいて、対応する処理を実行する(ステップSC13)。例えば、印刷データ処理部27は、印刷結果を示す情報を、表示パネルに表示する。
Next, the
Next, the
Next, the print
このように、本実施形態では、印刷制御部17は、第1機能部間通信経路KT1により、印刷データ処理部27にデータを送信可能である。
また、本実施形態では、印刷装置12の通信制御部15は、印刷制御部17が生成した印刷結果データに、印刷制御部17の機能部識別情報を付加し、制御サーバー10に送信する。制御サーバー10の通信制御部15は、印刷結果データを受信すると、当該データに付加された機能部識別情報に基づいて、当該データを印刷データ処理部27に送信する。このため、印刷結果データは、印刷データ処理部27に送信され、印刷データ処理部27により対応する処理が行われる。
As described above, in the present embodiment, the
In the present embodiment, the
次いで、WebSocketコネクションCTの確立後に、制御サーバー10のステータス処理部29と、印刷装置12のステータス管理部21とが第2機能部間通信経路KT2により行う通信について、ステータス管理部21がデータを送信する場合を例にして説明する。
図7は、印刷装置12の状態に変化があった場合における印刷装置12、及び、制御サーバー10の動作を示すフローチャートであり、(A)は印刷装置12の動作を、(B)は制御サーバー10の動作を示す。
図7(A)に示すように、印刷装置12のステータス管理部21は、ステータス監視機構22の検出値を監視し、印刷装置12の状態に変化があったか否かを監視する(ステップSE1)。ステップSE1において、例えば、ステータス管理部21は、印刷装置12のカバーが開状態から閉状態に変移したこと、または、閉状態から開状態に変移したことを監視する。
印刷装置12の状態に変化があったことを検出した場合(ステップSE1:YES)、ステータス管理部21は、変化後の状態を示す情報を示すステータスデータ(制御データ)を、所定のフォーマットで生成する(ステップSE2)。
次いで、ステータス管理部21は、生成したステータスデータを、通信制御部15に送信する(ステップSE3)。
次いで、通信制御部15は、受信したステータスデータに、印刷装置識別情報、及び、ステータス管理部21の機能部識別情報を付加する(ステップSE4)。
なお、ステップSE4において、通信制御部15は、印刷装置記憶部19に記憶された印刷装置識別情報データ19bを参照し、当該データに基づいて、ステータスデータに印刷装置識別情報を付加する。また、通信制御部15は、通信制御部15にデータを送信可能な機能部の機能部識別情報を管理し、1の機能部からデータを受信した場合、当該1の機能部の機能部識別情報を取得可能である。
次いで、通信制御部15は、ステータスデータを、通信部16に送信する(ステップSE5)。
次いで、通信部16は、WebSocketコネクションCTにより、ステータスデータを制御サーバー10に送信する(ステップSE6)。
Next, after the establishment of the WebSocket connection CT, the
FIG. 7 is a flowchart showing the operation of the
As shown in FIG. 7A, the
When it is detected that the state of the
Next, the
Next, the
In step SE4, the
Next, the
Next, the
図7(B)に示すように、接続部26は、WebSocketコネクションCTにより、ステータスデータを受信する(ステップSF1)。
次いで、接続部26は、受信したステータスデータを、通信管理部25に送信する(ステップSF2)。
通信管理部25は、ステータスデータに付加された印刷装置識別情報、及び、機能部識別情報を取得する(ステップSF3)。
次いで、通信管理部25は、制御サーバー記憶部28に記憶された処理部管理データベース28bを参照する(ステップSF4)。
次いで、通信制御部15は、ステップSF3で取得した印刷装置識別情報、及び、機能部識別情報の組合せをキーとして、処理部管理データベース28bにおいて、当該識別情報の組合せと対応付けられた処理部識別情報を取得する(ステップSF5)。ここで通信制御部15が取得した処理部識別情報は、通信制御部15が受信したデータを送信する処理部の処理部識別情報である。
次いで、通信管理部25は、ステップSF5で取得した処理部識別情報が示す処理部(本例では、ステータス処理部29)にステータスデータを送信する(ステップSF6)。なお、通信管理部25は、データを送信可能な処理部について、処理部識別情報を管理する。
次いで、ステータス処理部29は、受信したステータスデータに基づいて、対応する処理を実行する(ステップSF7)。すなわち、ステータス処理部29は、印刷データ制御データ(印刷データ)と異なる制御データを処理する。
このように、本実施形態では、ステータス管理部21は、第2機能部間通信経路KT2により、ステータス処理部29にデータを送信可能である。
また、このように、本実施形態では、制御サーバー10の通信管理部25は、印刷装置12から受信したデータについて、当該データに含まれる印刷装置識別情報、及び、機能部識別情報に基づいて、送信先の処理部を切り替える。このような構成のため、印刷装置12の機能部が送信したデータは、WebSocketコネクションCTで、制御サーバー10に送信され、制御サーバー10において、対応する処理部に送信される。データを受信した処理部は、対応する処理を実行する。
また、このように、本実施形態では、印刷装置12のステータス管理部21は、印刷装置12の状態の変化があったことをトリガーとして、WebSocketコネクションCTで、ステータス処理部29にステータスデータを送信可能である。
As shown in FIG. 7B, the
Next, the
The
Next, the
Next, the
Next, the
Next, the
Thus, in the present embodiment, the
As described above, in this embodiment, the
As described above, in the present embodiment, the
以上説明したように、本実施形態に係る制御システム1(印刷制御システム)は、印刷装置12と、制御サーバー10(印刷制御装置)と、を備えている。
印刷装置12は、印刷を行う印刷部18と、印刷データ(印刷制御データ)に基づいて印刷部18を制御する印刷制御部17と、印刷制御データと異なる制御データ(ステータスデータ)を送受信して制御データに基づく処理を行う機能部(ステータス管理部21)と、印刷制御部17が送信する印刷データ(印刷結果データ)に印刷制御部17の機能部識別情報を付加する通信制御部15と、通信制御部15で印刷制御部17の機能部識別情報が付加された印刷データを送信する通信部16と、を有する。また、制御サーバー10は、印刷装置12により送信された印刷データ(印刷結果データ)に基づいて処理を行う印刷データ処理部27と、印刷装置12により送信された制御データ(ステータスデータ)に基づいて処理を行う処理部(ステータス処理部29)と、印刷データ(印刷結果データ)に付加された印刷制御部17の機能部識別情報に基づいて印刷データ処理部27へ印刷データ(印刷結果データ)を送信する通信管理部25と、を有する。
この構成によれば、印刷結果データを受信した制御サーバー10の通信管理部25は、印刷結果データに付加された印刷制御部17の機能部識別情報に基づいて、受信した印刷結果データを、対応する印刷データ処理部27に送信する。つまり、印刷装置12が送信した印刷結果データは、制御サーバー10において、機能部識別情報に基づいて、印刷データ処理部27に送信され、印刷データ処理部27により対応する処理が実行される。つまり、上記構成によれば、制御システム1、及び、印刷装置12を、印刷装置12が印刷制御部17、及び、印刷制御部17と異なる機能の機能部(ステータス管理部21)の複数の機能部を有することに対応させ、また、印刷装置12と、制御サーバー10とがネットワークを介して通信する構成に対応させることができる。
As described above, the control system 1 (printing control system) according to the present embodiment includes the
The
According to this configuration, the
また、本発明では、印刷装置12の通信制御部15は、ステータス管理部21(機能部)が送信するステータスデータ(制御データ)に、ステータス管理部21の機能部識別情報を付加し、印刷装置12の通信部16は、機能部識別情報が付加されたステータスデータを送信し、制御サーバー10の通信管理部25は、ステータスデータに付加された機能部識別情報に基づいて、ステータス管理部21へステータスデータを送信する。
この構成によれば、印刷装置12が送信したステータスデータは、制御サーバー10において対応するステータス管理部21に送信され、ステータス管理部21により対応する処理が実行される。
In the present invention, the
According to this configuration, the status data transmitted from the
また、本発明では、印刷装置12は、印刷装置識別情報データ19bを記憶する印刷装置記憶部19を備える。そして、印刷装置12の通信制御部15は、印刷制御部17が送信する印刷結果データに印刷装置識別情報を付加し、通信部16は、印刷装置識別情報が付加された印刷結果データを送信する。
この構成によれば、印刷装置12からネットワークを介して印刷装置識別情報、及び、印刷制御部17の機能部識別情報が付加された印刷結果データを受信した制御サーバー10は、これら識別情報に基づいて、印刷結果データを送信した印刷装置12、及び、印刷結果データを送信した機能部が印刷制御部17であること、を判別できる。そして、制御サーバー10は、上記判別結果に応じて対応する処理を実行できる。
In the present invention, the
According to this configuration, the
また、印刷装置12と、制御サーバー10とは、非同期の双方向通信で通信する。
この構成によれば、印刷装置12は、必要に応じて、任意のタイミングで、印刷制御部17が送信した印刷結果データを、非同期の双方向通信で制御サーバー10に送信して、制御サーバー10に印刷結果データに基づく処理を実行させることができる。また、印刷装置12は、必要に応じて、任意のタイミングで、非同期の双方向通信により制御サーバー10との間で制御データを送受信して、対応する機能部により制御データに基づく対応する処理を実行できる。
Further, the
According to this configuration, the
<第2実施形態>
次いで、第2実施形態について説明する。
以下の説明では、第1実施形態で説明した構成要素に対応する構成要素については、第1実施形態における符号と同一の符号を付し、その詳細な説明を省略する。
図8は、本実施形態に係る印刷装置12、及び、制御サーバー10の機能的構成を示すブロック図である。
上述した第1実施形態では、機能部が送信したデータに、通信制御部15が印刷装置識別情報、及び、機能部識別情報を付加していた。一方で、本実施形態では、機能部が、データに印刷装置識別情報、及び、機能部識別情報を付加する。そして、機能部は、通信部16にデータを送信して、WebSocketコネクションCTで、制御サーバー10にデータを送信する。
具体例を挙げて説明すると、印刷制御部17は、印刷結果データ等のデータを送信する場合、データに、印刷装置識別情報、及び、印刷制御部17の機能部識別情報を付加する。次いで、印刷制御部17は、これら識別情報が付加されたデータを、通信部16に送信する。これにより、これら識別情報が付加されたデータが、WebSocketコネクションCTにより、制御サーバー10に送信される。
同様に、ステータス管理部21は、データを送信する場合、データに、印刷装置識別情報、及び、ステータス管理部21の機能部識別情報を付加する。次いで、ステータス管理部21は、これら識別情報が付加されたデータを、通信部16に送信する。これにより、これら識別情報が付加されたデータが、WebSocketコネクションCTにより、制御サーバー10に送信される。
制御サーバー10の通信管理部25は、上述した第1実施形態と同様、受信したデータに付加された印刷装置識別情報、及び、機能部識別情報の組合せにより、当該データを送信する処理部を切り替える。
このように、印刷装置12の機能部が、送信するデータに、印刷装置識別情報、及び、機能部識別情報を付加する構成であってもよい。なお、上述したように、制御サーバー10に1台の印刷装置12が接続される場合は、機能部が、データに、機能部識別情報を付加する構成であってもよい。
Second Embodiment
Next, a second embodiment will be described.
In the following description, components corresponding to those described in the first embodiment are denoted by the same reference numerals as those in the first embodiment, and detailed description thereof is omitted.
FIG. 8 is a block diagram illustrating functional configurations of the
In the first embodiment described above, the
To explain with a specific example, the
Similarly, when transmitting data, the
As in the first embodiment described above, the
As described above, the functional unit of the
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
上述した実施形態では、印刷装置12は店舗に構築された店舗システム11に設けられていた。しかしながら、印刷装置12は、必ずしも、店舗システム11に設けられたものでなくてもよい。例えば、他のシステムに設けられたものであってもよい。
また、上述した実施形態では、制御サーバー10から、印刷装置12に対して、XMLファイルの印刷制御データを送信していたが、印刷制御データのデータ形式はXMLでなくともよい。例えば、他のマークアップ言語で生成されたデータであってもよく、また、印刷部18のコマンド体系の制御コマンドであってもよい。
また、図3に示す各機能ブロックはハードウェアとソフトウェアにより任意に実現可能であり、特定のハードウェア構成を示唆するものではない。また、印刷装置12の各機能を、当該装置に外部接続される別の装置に持たせるようにしてもよい。また、印刷装置12は、外部接続される記憶媒体に記憶させたプログラムを実行することにより、各種処理を実行してもよい。
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.
In the above-described embodiment, the
In the embodiment described above, the print control data of the XML file is transmitted from the
Each functional block shown in FIG. 3 can be arbitrarily realized by hardware and software, and does not suggest a specific hardware configuration. Further, each function of the
1…制御システム(印刷制御システム)、10…制御サーバー(印刷制御装置)、12…印刷装置、15…通信制御部、16…通信部、17…印刷制御部、18…印刷部、21…ステータス管理部(機能部)、25…通信管理部、27…印刷データ処理部、29…ステータス処理部(処理部)、CT…WebSocketコネクション(通信経路)。
DESCRIPTION OF
Claims (6)
前記制御サーバーから受信した印刷データに基づいて行った印刷結果を示す印刷結果データを生成する印刷制御部と、
前記印刷装置の状態に変化があった場合に、ステータスデータを生成するステータス管理部と、
前記印刷結果データに前記印刷制御部の識別情報を付加し、前記ステータスデータに前記ステータス管理部の識別情報を付加する通信制御部と、
前記印刷制御部の識別情報が付加された前記印刷結果データおよび前記ステータス管理部の識別情報が付加された前記ステータスデータを前記制御サーバーに送信する通信部と、
を有することを特徴とする印刷装置。 A printing device connectable to the control server,
A print control unit that generates print result data indicating a print result performed based on the print data received from the control server;
A status management unit that generates status data when there is a change in the state of the printing apparatus;
A communication control unit which adds the identification information before Symbol print controller to the print result data, adds identification information of the status management unit in the status data,
A communication unit that transmits the print result data to which the identification information of the print control unit is added and the status data to which the identification information of the status management unit is added to the control server;
A printing apparatus comprising:
前記通信制御部は、前記印刷結果データおよび前記ステータスデータに前記印刷装置識別情報を付加し、
前記通信部は、前記印刷装置識別情報が付加された前記印刷結果データおよび前記ステータスデータを前記制御サーバーに送信する請求項1に記載の印刷装置。 A storage unit that stores printing device identification information that is identification information of the printing device;
The communication control unit adds the printing device identification information to the print result data and the status data,
The printing apparatus according to claim 1 , wherein the communication unit transmits the print result data to which the printing apparatus identification information is added and the status data to the control server.
前記制御サーバーから受信した印刷データに基づいて行った印刷結果を示す印刷結果データを印刷制御部により生成し、
前記印刷結果データに前記印刷制御部の識別情報を付加し、
前記印刷装置の状態に変化があった場合に、ステータスデータをステータス管理部により生成し、
前記ステータスデータに前記ステータス管理部の識別情報を付加し、
前記印刷制御部の識別情報が付加された前記印刷結果データおよび前記ステータス管理部の識別情報が付加された前記ステータスデータを前記制御サーバーに送信する印刷装置の制御方法。 A method of controlling a printing device connectable with a control server,
Print result data indicating a print result performed based on the print data received from the control server is generated by the print control unit ,
Adding identification information of the print control unit to the print result data;
When there is a change in the state of the printing apparatus, status data is generated by the status management unit,
Add identification information of the status management unit to the status data,
A control method for a printing apparatus, which transmits the print result data to which the identification information of the print control unit is added and the status data to which identification information of the status management unit is added to the control server.
前記印刷装置は、印刷データに基づいて行った印刷結果を示す印刷結果データを生成する印刷制御部と、前記印刷装置の状態に変化があった場合に、ステータスデータを生成するステータス管理部と、前記印刷結果データに前記印刷制御部の識別情報を付加し、前記ステータスデータに前記ステータス管理部の識別情報を付加する通信制御部と、前記印刷制御部の識別情報が付加された前記印刷結果データおよび前記ステータス管理部の識別情報が付加された前記ステータスデータを送信する通信部とを有し、
前記印刷制御装置は、前記印刷装置から受信した前記印刷結果データに基づいて処理を行う印刷データ処理部と、前記印刷装置から受信した前記ステータスデータに基づいて処理を行うステータス処理部と、前記印刷結果データに付加された前記印刷制御部の識別情報に基づいて前記印刷データ処理部へ前記印刷結果データを出力し、前記ステータスデータに付加された前記ステータス管理部の識別情報に基づいて前記ステータス処理部へ前記ステータスデータを出力する通信管理部とを有する、
印刷制御システム。 A printing control system comprising a printing device and a printing control device,
The printing apparatus includes a print controller that generates a print result data indicating the print results were based on print data, when there is a change in the state of the printing device, and a status management unit for generating status data, the printing result by adding the identification information of the print control unit to the data, the status communication control unit for adding identification information of the status management unit to the data, prior Symbol print identification information of the control unit is added the printing result have a communication unit for transmitting data and the status data with identification information of the status management unit,
The printing control apparatus includes a print data processing unit that performs processing based on the printing result data received from said printing apparatus, and a status processing unit that performs processing on the basis of the status data received from the printing apparatus, before Output the print result data to the print data processing unit based on the identification information of the print control unit added to the print result data, and based on the identification information of the status management unit added to the status data that having a communication management unit which outputs the status data to the status processing unit,
Print control system.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013230943A JP6281248B2 (en) | 2013-11-07 | 2013-11-07 | Printing apparatus, printing apparatus control method, and printing control system |
CN201410584850.0A CN104615388B (en) | 2013-11-01 | 2014-10-27 | Print control system |
US14/525,634 US9348548B2 (en) | 2013-11-01 | 2014-10-28 | Print control system |
US15/131,918 US9804809B2 (en) | 2013-11-01 | 2016-04-18 | Print control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013230943A JP6281248B2 (en) | 2013-11-07 | 2013-11-07 | Printing apparatus, printing apparatus control method, and printing control system |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2015091078A JP2015091078A (en) | 2015-05-11 |
JP2015091078A5 JP2015091078A5 (en) | 2016-12-01 |
JP6281248B2 true JP6281248B2 (en) | 2018-02-21 |
Family
ID=53194416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013230943A Active JP6281248B2 (en) | 2013-11-01 | 2013-11-07 | Printing apparatus, printing apparatus control method, and printing control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6281248B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001105689A (en) * | 1999-10-04 | 2001-04-17 | Canon Inc | Printing system and printing apparatus and its control method |
JP2002351642A (en) * | 2001-05-29 | 2002-12-06 | Matsushita Electric Ind Co Ltd | Printing paper / ink cost reduction device, sending terminal and receiving terminal |
JP4587154B2 (en) * | 2001-08-03 | 2010-11-24 | キヤノン株式会社 | Network system, print management apparatus, and print management method thereof |
JP4881915B2 (en) * | 2008-06-11 | 2012-02-22 | キヤノンソフトウェア株式会社 | Printing system, print management server, control method therefor, and program |
-
2013
- 2013-11-07 JP JP2013230943A patent/JP6281248B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015091078A (en) | 2015-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10091388B2 (en) | Print control system and print control method | |
JP6291846B2 (en) | Print control system, print control method, and printing apparatus | |
CN104765579A (en) | POS Control System, Control Method of POS Control System, and Printing Device | |
EP2953033B1 (en) | Control system and control method for the control system | |
JP6281248B2 (en) | Printing apparatus, printing apparatus control method, and printing control system | |
JP6287215B2 (en) | POS control system, printing apparatus, and control method of POS control system | |
JP2015090643A (en) | Print control apparatus and print control system | |
JP2015130087A (en) | POS control system and control method of POS control system | |
JP2015141569A (en) | Print control system and control method of print control system | |
JP6331337B2 (en) | Print control system and printing apparatus | |
JP6260231B2 (en) | Print control system and print control method | |
JP2015148874A (en) | Print control system control method and print control system | |
JP6268931B2 (en) | Print control apparatus and print control system | |
JP2015088105A (en) | Printer and print control system | |
JP2015089678A (en) | Printing apparatus and printing control system | |
JP2015090646A (en) | Printing control device and printing control system | |
JP2015090644A (en) | Printing control device and printing control system | |
JP6343931B2 (en) | Print control system and print control method | |
JP6252115B2 (en) | Print control system | |
JP6269055B2 (en) | Print control system control method, print control system, and printing apparatus | |
JP2015106366A (en) | Print control system and print control apparatus | |
JP2015146153A (en) | Print control system, and control method of print control system | |
JP6221681B2 (en) | Print control system and print control method | |
JP2015127877A (en) | Print control system and print control method | |
JP2015130080A (en) | POS control system and printing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20160617 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20160627 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161013 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161013 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170724 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170801 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170908 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20171226 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180108 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6281248 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |