JP2015148874A - Print control system control method and print control system - Google Patents
Print control system control method and print control system Download PDFInfo
- Publication number
- JP2015148874A JP2015148874A JP2014020185A JP2014020185A JP2015148874A JP 2015148874 A JP2015148874 A JP 2015148874A JP 2014020185 A JP2014020185 A JP 2014020185A JP 2014020185 A JP2014020185 A JP 2014020185A JP 2015148874 A JP2015148874 A JP 2015148874A
- Authority
- JP
- Japan
- Prior art keywords
- control
- printing
- unit
- printing apparatus
- control program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 23
- 230000008859 change Effects 0.000 claims abstract description 43
- 230000006854 communication Effects 0.000 claims description 106
- 238000004891 communication Methods 0.000 claims description 106
- 230000004044 response Effects 0.000 claims description 18
- 230000007175 bidirectional communication Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 abstract description 40
- 230000006870 function Effects 0.000 description 28
- 238000003860 storage Methods 0.000 description 21
- 230000008569 process Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 101100309712 Arabidopsis thaliana SD11 gene Proteins 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、印刷装置を備える印刷制御システムの制御方法、及び印刷制御システムに関する。 The present invention relates to a control method for a print control system including a printing apparatus, and a print 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 printing control system, there is a printing apparatus and a printing control apparatus that are connected via a network, and these apparatuses communicate via the network. In addition, a control program such as firmware is installed in the printing apparatus, and various processes such as printing are executed by the function of the control program.
上述した印刷制御システムのように、印刷装置と、印刷制御装置とがネットワークを介して通信するシステムでは、印刷装置と印刷制御装置とがネットワークを介して通信する構成を用いて、印刷制御装置により、印刷装置の制御プログラムのバージョンを管理する必要が生じる場合がある。
本発明は、上述した事情に鑑みてなされたものであり、印刷装置と印刷制御装置とがネットワークを介して通信する印刷制御システムについて、印刷装置と印刷制御装置とがネットワークを介して通信する構成を用いて、印刷制御装置により、印刷装置の制御プログラムのバージョンを管理できるようにすることを目的とする。
As in the above-described print control system, in a system in which a printing apparatus and the print control apparatus communicate via a network, a configuration in which the printing apparatus and the print control apparatus communicate via a network is used. In some cases, it is necessary to manage the version of the control program of the printing apparatus.
The present invention has been made in view of the circumstances described above, and relates to a print control system in which a printing apparatus and a print control apparatus communicate via a network, and a configuration in which the printing apparatus and the print control apparatus communicate via a network. Is used to manage the version of the control program of the printing apparatus by the print control apparatus.
上記目的を達成するために、本発明の印刷制御システムの制御方法は、印刷を制御する制御プログラムを有する印刷装置と印刷制御装置との間でネットワークを介した通信経路を確立し、前記通信経路の確立後、前記印刷制御装置から前記印刷装置に、前記制御プログラムのバージョンを問い合わせ、前記問い合わせに応じて、前記印刷装置から前記印刷装置へ前記制御プログラムのバージョン情報を通知し、通知された前記制御プログラムのバージョン情報に応じて、異なるバージョンの制御プログラムへの変更が必要か否かを前記印刷制御装置で判断し、前記異なるバージョンの制御プログラムへの変更が必要であると判断された場合、前記異なるバージョンの制御プログラムへの変更を前記印刷装置に実行させる制御データを前記印刷装置に送信し、前記制御データに基づいて前記印刷装置で前記異なるバージョンの制御プログラムへの変更を実行することを特徴とする。
本発明の構成によれば、印刷装置と、印刷制御装置との間でネットワークを介した通信経路の確立後、印刷制御装置は、印刷装置の制御プログラムのバージョンを取得し、管理することができる。
In order to achieve the above object, a printing control system control method according to the present invention establishes a communication path via a network between a printing apparatus having a control program for controlling printing and the printing control apparatus, and the communication path. After the establishment, the printing control apparatus inquires the printing apparatus about the version of the control program, and in response to the inquiry, the printing apparatus notifies the printing apparatus of the version information of the control program, and the notified In accordance with the version information of the control program, the print control device determines whether or not a change to a different version of the control program is necessary, and if it is determined that a change to the different version of the control program is necessary, Control data for causing the printing apparatus to execute a change to the control program of the different version Transmitted to the location, and executes the change to the different versions of the control program in the printing device based on the control data.
According to the configuration of the present invention, after establishing a communication path via the network between the printing apparatus and the printing control apparatus, the printing control apparatus can acquire and manage the version of the control program of the printing apparatus. .
また、前記印刷装置の電源が投入されたときに、前記印刷装置は前記印刷制御装置との間で前記通信経路を確立する。
本発明の構成によれば、電源投入時に、印刷装置により通信経路が確立されるため、ユーザーによる通信経路の確立のための作業が必要なく、また、電源投入に応じた通信経路の確立後、印刷制御装置により、必要に応じて、印刷装置の制御プログラムのバージョンを変更できる。
Further, when the printing apparatus is powered on, the printing apparatus establishes the communication path with the print control apparatus.
According to the configuration of the present invention, since the communication path is established by the printing apparatus when the power is turned on, there is no need for a user to establish a communication path, and after establishing the communication path in response to power-on, The print control apparatus can change the version of the control program of the printing apparatus as necessary.
また、前記問い合わせがあったときに、前記印刷装置で前記異なるバージョンの制御プログラムへの変更中である場合は、前記異なるバージョンの制御プログラムのバージョン情報を通知し、前記印刷制御装置は、通知された前記異なるバージョンの制御プログラムのバージョン情報に応じて、前記異なるバージョンの制御プログラムへの変更を継続して実行させるか否かを判断し、前記異なるバージョンの制御プログラムへの変更を継続して実行させる場合はそのことを通知する。
本発明の構成によれば、印刷制御装置は、印刷装置が、バージョンの異なる制御プログラムに変更中である場合に、バージョンの変更を継続して実行さるか否かを判断し、継続して実行させると判断した場合に、そのことを印刷装置に通知して、印刷装置に継続してバージョンの変更を実行させることができる。
Further, when the inquiry is made, if the printing apparatus is changing to the different version of the control program, the version information of the different version of the control program is notified, and the print control apparatus is notified. Further, according to the version information of the different version of the control program, it is determined whether or not to continuously execute the change to the different version of the control program, and the change to the different version of the control program is continuously executed. If so, notify that.
According to the configuration of the present invention, when the printing apparatus is changing to a control program with a different version, the printing control apparatus determines whether or not to continue to change the version and continues to execute it. If it is determined that the printing apparatus is to be used, this can be notified to the printing apparatus, and the printing apparatus can continue to execute version changes.
また、前記印刷装置と前記印刷制御装置との間で確立された前記通信経路は、非同期の双方向通信を行う。
本発明の構成によれば、印刷装置と、印刷制御装置とは、任意のタイミングで、バージョンの更新に係るデータの送受信を実行できる。
The communication path established between the printing apparatus and the print control apparatus performs asynchronous bidirectional communication.
According to the configuration of the present invention, the printing apparatus and the printing control apparatus can execute transmission / reception of data related to version update at an arbitrary timing.
また、本発明の印刷制御システムは、印刷を行う印刷部、前記印刷部を制御する制御プログラムを動作させる印刷制御部、前記制御プログラムのバージョン情報を取得して前記制御プログラムを管理する制御プログラム管理部、及び通信を行う通信部を有する印刷装置と、前記印刷装置の前記通信部と通信経路を確立して通信を行う接続部、前記印刷装置の前記制御プログラムのバージョン情報を問い合わせる第1のデータ及び前記第1のデータを送信したときに受信した情報に基づいて異なるバージョンの制御プログラムへの変更を要求する第2のデータを前記接続部に送信させる制御部を有する印刷制御装置と、を備えることを特徴とする。
本発明の構成によれば、印刷装置と、印刷制御装置との間でネットワークを介した通信経路の確立後、印刷制御装置は、印刷装置の制御プログラムのバージョンを取得し、管理することができる。
The printing control system of the present invention includes a printing unit that performs printing, a printing control unit that operates a control program that controls the printing unit, and control program management that acquires version information of the control program and manages the control program And a printing device having a communication unit for performing communication, a connection unit for establishing communication with the communication unit of the printing device and performing communication, and first data for inquiring version information of the control program of the printing device And a print control apparatus having a control unit that causes the connection unit to transmit second data that requests a change to a different version of the control program based on information received when the first data is transmitted. It is characterized by that.
According to the configuration of the present invention, after establishing a communication path via the network between the printing apparatus and the printing control apparatus, the printing control apparatus can acquire and manage the version of the control program of the printing apparatus. .
また、前記印刷装置の前記通信部と前記印刷制御装置の前記接続部とは、前記印刷装置の電源が投入されたときに、前記通信経路を確立する。
本発明の構成によれば、電源投入時に、印刷装置により通信経路が確立されるため、ユーザーによる通信経路の確立のための作業が必要なく、また、電源投入に応じた通信経路の確立後、印刷制御装置により、必要に応じて、印刷装置の制御プログラムのバージョンを変更できる。
The communication unit of the printing apparatus and the connection unit of the print control apparatus establish the communication path when the printing apparatus is powered on.
According to the configuration of the present invention, since the communication path is established by the printing apparatus when the power is turned on, there is no need for a user to establish a communication path, and after establishing the communication path in response to power-on, The print control apparatus can change the version of the control program of the printing apparatus as necessary.
また、前記印刷装置の前記制御プログラム管理部は、前記印刷制御部で動作する前記制御プログラムを異なるバージョンの制御プログラムに変更する。
本発明の構成によれば、印刷装置は、制御プログラム管理部の機能により、制御プログラムのバージョンを変更可能である。
Further, the control program management unit of the printing apparatus changes the control program operating in the print control unit to a different version of the control program.
According to the configuration of the present invention, the printing apparatus can change the version of the control program by the function of the control program management unit.
また、前記印刷装置の前記制御プログラム管理部は、前記印刷制御装置の前記接続部で送信される前記第1のデータ及び前記第2のデータを取得し、前記第2のデータを取得したときに前記印刷制御部で動作する前記制御プログラムを異なるバージョンの制御プログラムに変更する。
本発明の構成によれば、印刷装置は、制御プログラム管理部の機能により、印刷制御装置で送信された第2のデータに基づいて、制御プログラムのバージョンの変更を実行できる。
The control program management unit of the printing apparatus acquires the first data and the second data transmitted from the connection unit of the print control apparatus, and acquires the second data. The control program operating in the print control unit is changed to a different version control program.
According to the configuration of the present invention, the printing apparatus can change the version of the control program based on the second data transmitted from the printing control apparatus by the function of the control program management unit.
以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係る印刷制御システム1の構成を示す図である。
図1に示すように、印刷制御システム1は、制御サーバー10(印刷制御装置)を備え、制御サーバー10にインターネット等のネットワークGNを介して複数の店舗システム11と接続する。また、複数の管理装置14が、ネットワークGNに接続する。
店舗システム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の制御に従って、印刷に係る処理を実行する。
管理装置14は、後述するように1又は複数の店舗システム11を管理する装置である。例えば、管理装置14は、店舗を運営する企業の本社に設けられ、当該店舗を運営する企業のグループに属する複数の店舗に設けられた店舗システム11を管理する。後述するように、管理装置14は、制御サーバー10の機能を用いて、管理する店舗システム11の所定の印刷装置12を制御して、当該所定の印刷装置12に印刷を実行させることができる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration of a
As shown in FIG. 1, the
The
The
The
In the
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のプロトコル、手続きに従った非同期な双方向通信である。
WebSocketコネクションCTの確立により、印刷装置12、及び、制御サーバー10は、非同期で双方向通信できる。つまり、制御サーバー10は、クライアントとしての印刷装置12からリクエストを受けることなく、任意のタイミングで、WebSocketコネクションCTによりWebSocket通信で印刷装置12にデータをプッシュ送信できる。同様に、印刷装置12は、任意のタイミングで、WebSocketコネクションCTで制御サーバー10に対してデータをプッシュ送信できる。
また、制御サーバー10は、複数の管理装置14と通信可能に接続する。後述するように、管理装置14は、制御サーバー10を介して、所定の印刷装置12に印刷制御データを送信し、当該所定の印刷装置12に印刷を実行させることができる。
FIG. 2 is a diagram illustrating a communication path established between the
As illustrated in FIG. 2, a WebSocket connection CT (communication path) for performing communication using WebSocket is established between the
WebSocket is one of the communication standards that enables asynchronous two-way communication. 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 between the
The WebSocket communication is an asynchronous two-way communication according to the WebSocket protocol and procedure, which is performed between the
By establishing the WebSocket connection CT, the
Further, the
本実施形態において、制御サーバー10は、印刷装置12をクライアントとする、クラウドシステムのクラウドサーバーである。制御サーバー10は、演算処理機能を有し、印刷装置12の要求や、管理装置14の要求、所定の条件の成立等をトリガーとして所定の演算処理を実行し、演算処理の結果に基づくデータを、WebSocketコネクションCTで印刷装置12に送信する。
なお、図2では、制御サーバー10を、1つのブロックによって表現するが、これは、制御サーバー10が単一のサーバー装置により構成されることを意味するものではない。例えば、制御サーバー10は、複数のサーバー装置を含んで構成されたものであってもよく、所定のシステムの一部の機能により実現されるサーバーであってもよい。制御サーバー10は、後述する各種処理を実行可能な構成であれば、その形態を問わない。
また、本実施形態では、制御サーバー10と印刷装置12との間で、WebSocket通信を行う。しかしながら、これら装置が、WebSocket通信に代えて、WebSocket通信と同様な非同期な双方向通信を行う構成であってもよい。
また、図2での詳細な図示は省略したが、本実施形態では、印刷装置12が備える機能部(後述)に応じて、印刷装置12と制御サーバー10との間で、複数のWebSocketコネクションCTが確立する。
In the present embodiment, the
In FIG. 2, the
In the present embodiment, WebSocket communication is performed between the
Further, although detailed illustration in FIG. 2 is omitted, in the present embodiment, a plurality of WebSocket connections CT between the
このように、印刷制御システム1は、印刷機能を有する印刷装置12を、複数台(例えば、1000台)、WebSocketコネクションCTで、制御サーバー10との間で通信可能に接続する。
制御サーバー10は、複数の店舗システム11に接続された複数の印刷装置12から受信したデータに基づく情報を収集し、管理、分析できる。このため、制御サーバー10は、情報を蓄積することができる。蓄積した情報は、いわゆるビッグデータとして用いることができる。
また、店舗システム11の構築の簡易化、及び、低コスト化を図ることが可能となる。すなわち、印刷制御システム1では、印刷装置12がWebSocketコネクションCTにより制御サーバー10に接続される。このため、印刷装置12は、制御サーバー10が提供するサービスを用いて、制御サーバー10の制御で、各種処理を実行できる。従って、店舗システム11を構築する管理者は、店舗システム11の構築に際し、印刷装置12を所望の場所に設置し、印刷装置12をネットワークGNに接続する、という簡易な作業を行えばよい。これにより、制御サーバー10が提供するサービスを用いて、印刷装置12に所望の処理、例えば、レシートの発行に係る処理を実行させることが可能となる。
また、管理装置14は、制御サーバー10にアクセスし、制御サーバー10が提供するサービスを用いることによって、制御サーバー10に接続された印刷装置12を制御できる。従って、店舗システム11を構築する管理者は、1又は複数の店舗システム11を管理する管理装置14について、制御サーバー10にアクセスし、制御サーバー10通信する機能を実装すればよい。このため、店舗システム11の構築の簡易化、及び、低コスト化を図ることが可能となる。
また、制御サーバー10に、異なる店舗システム11の印刷装置12がWebSocketコネクションCTで接続されるため、制御サーバー10は、複数の店舗システム11に接続された複数の印刷装置12を管理できる。また、制御サーバー10は、複数の店舗システム11に接続された複数の印刷装置12を動作させることが可能となる。
As described above, the
The
In addition, the construction of the
The
Further, since the
図3は、本実施形態に係る印刷装置12、制御サーバー10、及び、管理装置14の機能的構成を示すブロック図である。
図3に示すように、印刷装置12は、装置制御部12Sと、第1通信部16と、第2通信部20(通信部)と、印刷部18と、印刷装置記憶部19と、を備える。
第1通信部16、及び、第2通信部20の機能については後述する。
装置制御部12Sは、CPUや、ROM、RAM、その他の周辺回路等を備える。装置制御部12Sは、CPUが、ファームウェア等の制御プログラムを読み出して実行する等して、印刷装置12を制御する。装置制御部12Sは、機能ブロックとして、印刷制御部17と、制御プログラム管理部21とを備える。制御プログラム管理部21については後述する。印刷制御部17は、印刷装置12にインストールされたファームウェアを含むプログラムの機能により、印刷部18を制御する。印刷制御部17の機能については、後に詳述する。
印刷部18は、印刷媒体に印刷する印刷機構、印刷媒体を搬送する搬送機構、印刷媒体を切断する切断機構等の印刷に係る機構、及び、各機構の制御に係る制御基板等を備える。
印刷装置記憶部19は、不揮発性メモリーを備え、各種データを記憶する。印刷装置記憶部19が記憶するデータについては後述する。
以下の説明では、印刷制御部17、及び制御プログラム管理部21を区別せずに表現する場合、これら機能ブロックを総称して「機能部」と表現する。
FIG. 3 is a block diagram showing a functional configuration of the
As illustrated in FIG. 3, the
The functions of the
The
The
The printing
In the following description, when the
図3に示すように、制御サーバー10は、サーバー制御部10Sと、第1接続部26と、第2接続部27(接続部)と、第3接続部28と、制御サーバー記憶部31と、を備える。
第1接続部26、及び、第2接続部27の機能については後述する。
サーバー制御部10Sは、CPUや、ROM、RAM、その他の周辺回路等を備える。サーバー制御部10Sは、機能ブロックとして、印刷データ処理部29と、制御プログラム更新部30とを備える。これら機能ブロックについては後述する。
制御サーバー記憶部31は、不揮発性メモリーを備え、各種データを記憶する。制御サーバー記憶部31が記憶するデータについては後述する。
第3接続部28は、サーバー制御部10Sの制御で、管理装置14との間で、HTTP通信を行う。管理装置14にウェブブラウザーがインストールされており、第3接続部28は、管理装置14との間で、制御サーバー10をサーバーとし、管理装置14をクライアントとするHTTP通信をコネクションにより行う。
以下の説明では、印刷データ処理部29、及び、制御プログラム更新部30を区別せずに表現する場合、これら機能ブロックを総称して「処理部」と表現する。
As shown in FIG. 3, the
The functions of the
The
The control
The
In the following description, when the print
また、管理装置14は、管理装置制御部40と、通信インターフェース41と、表示部42と、を備える。
管理装置制御部40は、CPUや、ROM、RAM、その他の周辺回路等を備え、管理装置14を制御する。管理装置制御部40は、機能ブロックとして、ブラウザー実行部40aを備える。ブラウザー実行部40aは、ウェブブラウザーを実行することによって処理を実行する機能ブロックである。
通信インターフェース41は、管理装置制御部40の制御で、コネクションにより制御サーバー10とHTTP通信を行う。
表示部42は、液晶表示パネル等の表示パネルを備え、管理装置制御部40の制御で、表示パネルに画像を表示する。
In addition, the
The management
The
The
図3では、制御サーバー10と、制御サーバー10に接続された1つの印刷装置12との関係を示す。制御サーバー10に、複数の印刷装置12が接続される場合は、制御サーバー10は、複数の印刷装置12に対応して複数のWebSocketコネクションCTを確立し、印刷装置12とWebSocketコネクションCTでWebSocket通信する。
また、図3では、制御サーバー10と、制御サーバー10に接続された1つの管理装置14との関係を示す。制御サーバー10に、複数の管理装置14が接続される場合は、制御サーバー10は、複数の管理装置14に対応して複数のコネクションを確立し、管理装置14との間で当該コネクションにより通信する。
FIG. 3 shows the relationship between the
Further, FIG. 3 shows the relationship between the
次に、印刷装置12の電源投入時における、印刷装置12、及び、制御サーバー10の動作について説明する。
図4は、印刷装置12に電源が投入された後の印刷装置12、及び、制御サーバー10の動作を示すフローチャートであり、(A)は印刷装置12の動作を、(B)は制御サーバー10の動作を示す。
図4では、印刷装置12の電源の投入に応じて、第1WebSocketコネクションCT1を確立するときの各装置の動作を説明し、その次に、図5で、第2WebSocketコネクションCT2を確立するときの各装置の動作を説明する。
なお、図4のフローチャートの処理のトリガーは、電源投入時に限らない。例えば、印刷装置12がネットワークGNに通信可能に接続された場合や、ユーザーから指示があった場合等であってもよい。
Next, operations of the
FIG. 4 is a flowchart showing operations of the
FIG. 4 illustrates the operation of each apparatus when establishing the first WebSocket connection CT1 in response to power-on 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
以下の説明において、印刷装置12が備える印刷制御部17、制御プログラム管理部21、及び、制御サーバー10が備える印刷データ処理部29、制御プログラム更新部30の機能は、例えば、以下のようにして実現される。
これら機能ブロックは、オブジェクトである。オブジェクトは、オブジェクト指向プログラミングで生成されるインスタンス、すなわち、データ及びメソッドの集合として定義された機能ブロックである。そして、これら機能ブロックの機能は、機能ブロックに実装されたメソッドが呼び出されることによって実現される。
また例えば、これら機能ブロックの機能は、アプリケーションがCPU等のハードウェアによって読み出され実行されることによって実現される。1つのアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよい。また、1つのアプリケーションにより複数の機能ブロックの機能が実現される構成であってもよい。また、複数のアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよい。
機能ブロックは、機能をブロックとして表現したものであり、特定のアプリケーションや、ハードウェア等を意味するものではない。
In the following description, the functions of the
These functional blocks are objects. An object is an instance generated by object-oriented programming, that is, a functional block defined as a collection of data and methods. And the function of these functional blocks is implement | achieved by calling the method mounted in the functional block.
Further, for example, the functions of these functional blocks are realized by an application being read and executed by hardware 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.
A functional block represents a function as a block, and does not mean a specific application, hardware, or the like.
図4(A)に示すように、印刷装置12の電源が投入されると(ステップSX1)、印刷制御部17は、印刷装置記憶部19にアクセスし、印刷装置記憶部19が記憶する第1通信先情報データを取得する(ステップSA1)。
第1通信先情報データは、WebSocketコネクションCTである第1WebSocketコネクションCT1を確立する際に、アクセスする制御サーバー10のアドレス(ドメイン名、IPアドレス、パス名、ポート情報等。)を示すデータである。WebSocketでは、WebSocketコネクションCTの確立時に、クライアント(本例では、印刷装置12)は、サーバー(本例では、制御サーバー10)に対して、HTTP(Hypertext Transfer Protocol)に基づくハンドシェイクを行う。ハンドシェイクで、クライアントは、サーバーのアドレスが含まれるメッセージ等を送信するが、第1通信先情報データは、アクセス先のアドレス等のWebSocketコネクションCTを確立に用いる情報を含むデータである。
印刷装置12の機能部に応じて、WebSocketコネクションCTを確立するときのアクセス先のアドレスが異なる。本例では、印刷装置12は、印刷制御部17と制御プログラム管理部21との2つの機能部を有する。そして、印刷制御部17が、第1WebSocketコネクションCT1を確立するときにアクセスするアドレスと、制御プログラム管理部21が、第2WebSocketコネクションCT2を確立するときにアクセスするアドレスとは異なる。印刷装置記憶部19は、第1通信先情報データ、及び、第2通信先情報データを記憶する。第1通信先情報データは、上述したように、第1WebSocketコネクションCT1を確立するときにアクセスするアドレスを含み、第2通信先情報データは、第2WebSocketコネクションCT2を確立するときにアクセスするアドレスを含む。
As shown in FIG. 4A, when the
The first communication destination information data is data indicating the address (domain name, IP address, path name, port information, etc.) of the
The address of the access destination when establishing the WebSocket connection CT differs depending on the function unit of the
次いで、印刷制御部17は、第1通信先情報データが示すアドレスに基づいて制御サーバー10にアクセスする。そして、印刷制御部17は、制御サーバー10の印刷データ処理部29と通信してコネクションの確立に必要な情報を送受信し、第1通信部16と第1接続部26との間に、第1WebSocketコネクションCT1を確立する(ステップSA2、ステップSB1)。印刷装置12の印刷制御部17は、制御サーバー10からの要求を受けることなく、印刷装置12の電源が投入されたことをトリガーとして第1WebSocketコネクションCT1を確立する。
第1通信部16、及び、第1接続部26は、WebSocketの規格、手続きに従ってデータの送受信を行うWebSocketインターフェースである。これら機能ブロックは、例えば、WebSocketのSocketライブラリーを用いて生成される。
第1通信部16は、印刷制御部17から受信したデータについて、WebSocketの規格に従って処理を行い、WebSocketの手続きで第1WebSocketコネクションCT1によりデータを送信する機能を有する。また、第1通信部16は、第1WebSocketコネクションCT1で制御サーバー10から受信したデータについて、WebSocketに従った処理を行って、印刷制御部17に送信する機能を有する。第1接続部26、第2通信部20、第2接続部27についても同様である。
第1WebSocketコネクションCT1の確立に伴って、印刷装置12、及び、制御サーバー10は、非同期で、双方向通信できる。制御サーバー10は、クライアントとしての印刷装置12からリクエストを受けることなく、第1WebSocketコネクションCT1によりプッシュ送信で印刷装置12にデータを送信できる。同様に、印刷装置12は、第1WebSocketコネクションCT1によりプッシュ送信で制御サーバー10にデータを送信できる。
また、第1WebSocketコネクションCT1の確立により、印刷装置12の印刷制御部17と、制御サーバー10の印刷データ処理部29との間で、第1WebSocketコネクションCT1に基づく第1機能部間通信経路KT1が確立する。第1機能部間通信経路KT1は、印刷制御部17と、印刷データ処理部29との間で通信するデータを送受信する論理的な通信経路である。印刷制御部17と印刷データ処理部29とは、第1機能部間通信経路KT1により、非同期な双方向通信を行う。第1機能部間通信経路KT1により行われる非同期な双方向通信については後述する。
Next, the
The
The
With the establishment of the first WebSocket connection CT1, the
In addition, the establishment of the first WebSocket connection CT1 establishes the first functional unit communication path KT1 based on the first WebSocket connection CT1 between the
次いで、印刷制御部17は、印刷装置記憶部19にアクセスし、印刷装置記憶部19が記憶する印刷装置識別情報データを取得する(ステップSA3)。印刷装置識別情報データは、印刷装置12の識別情報(以下、「印刷装置識別情報」という。)を示すデータである。印刷装置識別情報は、例えば、印刷装置12の製造段階で、印刷装置12に割り当てられるシリアル番号である。
次いで、印刷制御部17は、印刷装置識別情報データを第1通信部16に送信する(ステップSA4)。
第1通信部16は、受信した印刷装置識別情報データを、第1WebSocketコネクションCT1で、制御サーバー10に送信する(ステップSA5)。
Next, the
Next, the
The
図4(B)に示すように、制御サーバー10の第1接続部26は、第1WebSocketコネクションCT1で、印刷装置識別情報データを受信する(ステップSB2)。次いで、第1接続部26は、受信した印刷装置識別情報データを印刷データ処理部29に送信する(ステップSB3)。
印刷データ処理部29は、制御サーバー記憶部31が記憶するコネクション管理データベースにアクセスする(ステップSB4)。コネクション管理データベースは、制御サーバー10と接続する印刷装置12との間で確立しているWebSocketコネクションCTについて、WebSocketコネクションCTの識別情報であるコネクション識別情報と、印刷装置12の印刷装置識別情報とを対応付けて記憶するデータベースである。次いで、印刷データ処理部29は、コネクション管理データベースに1件のレコードを生成する。そして、印刷データ処理部29は、生成したレコードにおいて、ステップSB1で確立したWebSocketコネクションCT(本例では、第1WebSocketコネクションCT1)のコネクション識別情報と、受信した印刷装置識別情報データが示す印刷装置識別情報とを対応付けて記憶する(ステップSB5)。印刷データ処理部29は、WebSocketコネクションCTが確立したときに、既に確立しているWebSocketコネクションCTのコネクション識別情報と異なる値のコネクション識別情報を生成する。ステップSB5の処理により、WebSocketコネクションCTと、印刷装置12との対応関係が管理される。
このように、印刷装置12の印刷制御部17は、制御サーバー10からの要求を受けることなく、印刷装置12の電源が投入されたことをトリガーとして第1WebSocketコネクションCT1を確立する。このような構成のため、ユーザーは、第1WebSocketコネクションCT1を確立するために、煩雑な作業を行う必要がない。また、ユーザーは、第1WebSocketコネクションCT1を確立するために、専門的な知識も必要ない。
As shown in FIG. 4B, the
The print
As described above, the
次に、印刷装置12の電源の投入に応じて第2WebSocketコネクションCT2を確立するときの各装置の動作について説明する。
図5は、電源投入後の第2WebSocketコネクションCT2の確立時の印刷装置12、及び、制御サーバー10の動作を示すフローチャートである。(A)は印刷装置12の動作を、(B)は制御サーバー10の動作を示す。
図5(A)に示すように、印刷装置12の電源が投入されると(ステップSY1)、制御プログラム管理部21は、印刷装置記憶部19にアクセスし、印刷装置記憶部19が記憶する第2通信先情報データを取得する(ステップSC1)。
第2通信先情報データは、第2WebSocketコネクションCT2を確立する際に、アクセスする制御サーバー10のアドレスを示す情報、その他の必要な情報を含むデータである。
次いで、制御プログラム管理部21は、第2通信先情報データが示すアドレスに基づいて制御サーバー10にアクセスする。そして、制御プログラム管理部21は、制御サーバー10の制御プログラム更新部30と通信してコネクションの確立に用いる情報を送受信し、第2通信部20と第2接続部27との間に、第2WebSocketコネクションCT2を確立する(ステップSC2、ステップSD1)。印刷装置12の制御プログラム管理部21は、制御サーバー10からの要求を受けることなく、印刷装置12の電源が投入されたことをトリガーとして第2WebSocketコネクションCT2を確立する。
第2WebSocketコネクションCT2の確立により、印刷装置12の制御プログラム管理部21と、制御サーバー10の制御プログラム更新部30との間で、第2WebSocketコネクションCT2に基づく第2機能部間通信経路KT2が確立する。第2機能部間通信経路KT2は、制御プログラム管理部21と、制御プログラム更新部30との間で通信するデータを送受信する論理的な通信経路である。制御プログラム管理部21と制御プログラム更新部30とは、第2機能部間通信経路KT2により、非同期な双方向通信を行う。第2機能部間通信経路KT2により行われる非同期な双方向通信については後述する。
Next, the operation of each device when establishing the second WebSocket connection CT2 in response to power-on of the
FIG. 5 is a flowchart showing the operation of the
As shown in FIG. 5A, when the
The second communication destination information data is data including information indicating the address of the
Next, the control
By establishing the second WebSocket connection CT2, a communication path KT2 between the second functional units based on the second WebSocket connection CT2 is established between the control
次いで、制御プログラム管理部21は、印刷装置記憶部19にアクセスし、印刷装置記憶部19が記憶する印刷装置識別情報データを取得する(ステップSC3)。次いで、制御プログラム管理部21は、印刷装置識別情報データを第2通信部20に送信する(ステップSC4)。第2通信部20は、受信した印刷装置識別情報データを、第2WebSocketコネクションCT2で、制御サーバー10に送信する(ステップSC5)。
図5(B)に示すように、制御サーバー10の第2接続部27は、第2WebSocketコネクションCT2で、印刷装置識別情報データを受信する(ステップSD2)。次いで、第2接続部27は、受信した印刷装置識別情報データを制御プログラム更新部30に送信する(ステップSD3)。制御プログラム更新部30は、制御サーバー記憶部31が記憶するコネクション管理データベースにアクセスする(ステップSD4)。次いで、制御プログラム更新部30は、コネクション管理データベースで、ステップSD1で確立したWebSocketコネクションCT(本例では、第2WebSocketコネクションCT2)のコネクション識別情報と、受信した印刷装置識別情報データが示す印刷装置識別情報とを対応付けて記憶する(ステップSD5)。
Next, the control
As shown in FIG. 5B, the
次いで、制御プログラム更新部30は、第2接続部27を制御して、印刷装置12のファームウェアのバージョンを問い合わせる所定フォーマットのデータ(第1のデータ。以下、「バージョン要求データ」という。)を第2WebSocketコネクションCT2で印刷装置12に送信する(ステップSD6)。
図5(A)に示すように、印刷装置12の制御プログラム管理部21は、第2通信部20を制御して、第2WebSocketコネクションCT2でバージョン要求データを受信する(ステップSC6)。次いで、制御プログラム管理部21は、ファームウェアのバージョンを取得し、取得したバージョンを示す情報を含むデータ(以下、「バージョン通知データ」という。)を送信する(ステップSC7)。ファームウェアのバージョンを示す情報は、所定の記憶領域に記憶される。
バージョン通知データの送信後、制御プログラム管理部21は、当該データに基づく応答を制御サーバー10から受信したか否かを監視する(ステップSC8)。
Next, the control
As shown in FIG. 5A, the control
After transmitting the version notification data, the control
図5(B)に示すように、制御プログラム更新部30は、第2接続部27を制御して、バージョン通知データを受信する(ステップSD7)。次いで、制御プログラム更新部30は、制御サーバー記憶部31が記憶するバージョン更新データベースを参照する(ステップSD8)。
バージョン更新データベースとは、制御サーバー10と接続する印刷装置12について、印刷装置識別情報と、ユーザーが指定したファームウェアのバージョンを示す情報と、を対応付けて記憶するデータベースである。ユーザーは、バージョン更新データベースのレコードの内容を書き換えることが可能であり、書き換えることにより、印刷装置識別情報と、ファームウェアのバージョンとの対応関係を設定できる。書き換えは、例えば、ユーザーによる所定のユーザーインターフェースに対する情報の入力に基づいて、管理装置14からの指示によって行われる。
As shown in FIG. 5B, the control
The version update database is a database that stores printing device identification information and information indicating the firmware version designated by the user in association with each other for the
次いで、制御プログラム更新部30は、バージョン更新データベースで、ステップSD2で取得した印刷装置識別情報データが示す印刷装置識別情報と対応付けて記憶された情報が示すバージョンを取得する(ステップSD9)。
次いで、制御プログラム更新部30は、印刷装置12のファームウェアのバージョンの変更が必要か否か判断する(ステップSD10)。ステップSD10で、制御プログラム更新部30は、ステップSD7で受信したバージョン通知データが示すバージョンと、ステップSD9で取得したバージョンとが一致する場合は、バージョンの変更が必要ないと判断する。一方、一致しない場合、制御プログラム更新部30は、バージョンの変更が必要であると判断する。
バージョンの変更が必要でない場合(ステップSD10:NO)、制御プログラム更新部30は、以下の処理を行う。制御プログラム更新部30は、第2接続部27を制御して、第2WebSocketコネクションCT2で、ファームウェアのバージョンの変更が必要でない旨を示すデータ(以下、「バージョン維持通知データ」という。)を送信する(ステップSD11)。
バージョンの変更が必要である場合(ステップSD10:YES)、制御プログラム更新部30は、バージョンの変更を実行させる制御データ(第2のデータ)を生成する(ステップSD12)。制御サーバー記憶部31は、バージョンに応じて、バージョンに対応するプログラムファイルを記憶し、ステップSD10は、ステップSD9で取得したバージョンに対応するプログラムファイルに基づいて制御データを生成する。次いで、制御プログラム更新部30は、第2接続部27を制御して、第2WebSocketコネクションCT2で、制御データを印刷装置12に送信する(ステップSD13)。
Next, the control
Next, the control
When the version change is not necessary (step SD10: NO), the control
When the version change is necessary (step SD10: YES), the control
図5(A)に示すように、ステップSC8で制御サーバー10から応答があった場合(ステップSC8:YES)、印刷装置12の制御プログラム管理部21は、応答したデータが制御データであるか否かを判別する(ステップSC9)。制御データではない場合(ステップSC9:NO)、制御プログラム管理部21は、処理を終了する。
一方、制御データである場合(ステップSC9:YES)、制御プログラム管理部21は、制御データに基づいて、対応するバージョンのファームウェアをインストールし、バージョンの変更を実行する(ステップSC10)。
以上のように、印刷装置12は、電源の投入をトリガーとして、第2WebSocketコネクションCT2を確立する。当該コネクションの確立後、印刷装置12は、当該コネクションで、制御サーバー10と通信し、ファームウェアのバージョンが、ユーザーが指定したバージョンでない場合、ファームウェアのバージョンを対応するバージョンへと変更する。このため、電源投入後、自動で、印刷装置12のファームウェアのバージョンが、ユーザーの指定したバージョンとなる。ユーザーは、ファームウェアのバージョンを変更するための作業を実行する必要がなく、また、専門知識も必要ない。
As shown in FIG. 5A, when there is a response from the
On the other hand, if it is control data (step SC9: YES), the control
As described above, the
以上、印刷装置12の電源投入時に、印刷装置12でのファームウェアのバージョンの変更が行われる場合の処理について説明した。
一方、ファームウェアのバージョンの変更が行われるタイミングは、印刷装置12の電源投入時に限らない。例えば、印刷装置12の電源が投入された後、制御サーバー10とWebSocketコネクションCTが確立している状態のときに、制御サーバー10が、管理装置14からの指示や、所定の条件の成立等をトリガーとして、バージョンを問い合わせ、問い合わせに基づいてバージョンの変更を指示する構成であってもよい。管理装置14は、所定のUIに対してユーザーから指示があった場合に、制御サーバー10に対して、バージョンの変更に係る処理を実行させる構成であってもよい。
The processing when the firmware version of the
On the other hand, the timing at which the firmware version is changed is not limited to when the
なお、制御サーバー10からファームウェアのバージョンの問い合わせがあったときに、印刷装置12がファームウェアのバージョンの異なるファームウェアに変更中である場合がある。例えば、印刷装置12がバージョンの異なるファームウェアへの変更中に電源がオフされ、その後、電源が投入され、電源投入に応じて上記処理を再開した場合である。この場合、印刷装置12及び制御サーバー10は以下の処理を実行する。
印刷装置12の制御プログラム管理部21は、電源の投入をトリガーとした第2WebSocketコネクションCT2の確立に応じて、ファームウェアのバージョンの問い合わせがあった場合に、変更中のバージョンを制御サーバー10に通知する。制御サーバー10の制御プログラム更新部30は、バージョン更新データベースを参照し、変更中のバージョンが、ユーザーが指示したバージョンであるか否かを判断する。ユーザーが指示したバージョンである場合、制御サーバー10の制御プログラム更新部30は、バージョンの異なるファームウェアへの変更を継続して実行させる旨の通知を行う。当該通知に応じて、印刷装置12の制御プログラム管理部21は、継続してバージョンの異なるファームウェアの変更を実行する。一方、ユーザーが指示したバージョンではない場合、制御サーバー10の制御プログラム更新部30は、ユーザーが指示したバージョンのファームウェアへの変更を実行させる制御データを送信する。印刷装置12の制御プログラム管理部21は、制御データに基づいて、ユーザーが指示したバージョンのファームウェアへの変更を実行する。この構成のため、制御サーバー10は、印刷装置12が、ファームウェアの変更中である場合に、変更中のファームウェアのバージョンがユーザーが指示したバージョンであるか否かに応じて、変更を中止させて、対応する他のバージョンへの変更を実行させることができる。
Note that when there is an inquiry about the firmware version from the
The control
次に、管理装置14の指示に応じて、制御サーバー10が印刷装置12の印刷を制御する場合における管理装置14、制御サーバー10、及び、印刷装置12の動作について説明する。図6は、印刷制御システム1の各装置の動作を示すフローチャートであり、(A)は管理装置14の動作を、(B)は制御サーバー10の動作を、(C)は印刷装置12の動作を示す。
また、図6のフローチャートを用いて、制御サーバー10の印刷データ処理部29と、印刷装置12の印刷制御部17との間で行われる第1機能部間通信経路KT1による非同期な双方向通信について説明する。
また、以下の説明において、管理装置14の管理装置制御部40のブラウザー実行部40aの機能は、例えば、ブラウザーで動作するアプリケーションや、描画ファイル(後述)に含まれるスクリプトの機能により実行される。
Next, operations of the
In addition, with reference to the flowchart of FIG. 6, asynchronous two-way communication using the first inter-function unit communication path KT <b> 1 performed between the print
In the following description, the function of the
図6(A)に示すように、印刷装置12による印刷に際し、ユーザー(管理装置14の管理者等)は、管理装置14のブラウザーを立ち上げ、所定のURLへのアクセスを指示する(ステップSZ1)。当該URLは、後述する印刷情報入力用ユーザーインターフェース(以下、「印刷UI」と表現する。)を、ブラウザーウィンドーに表示する場合にアクセスするURLである。当該所定のURLは、ユーザーに対して予め通知される。URLは、制御サーバー10が管理するURLであってもよく、他のサーバーが管理するURLであってもよい。
ステップSZ1の指示に応じて、管理装置14の管理装置制御部40のブラウザー実行部40aは、指定されたURLへアクセスし、印刷UIの表示に係る描画ファイルを要求する(ステップSE1)。描画ファイルは、HTML(HyperText Markup Language)等のマークアップ言語のファイルであり、管理装置14のブラウザーウィンドーにウェブページを表示させるファイルである。
As shown in FIG. 6A, when printing by the
In response to the instruction in step SZ1, the
次いで、ブラウザー実行部40aは、ステップSE1の要求に応じて取得した描画ファイルに基づいて、印刷UIを表示する(ステップSE2)。
印刷UIは、印刷情報、及び、印刷装置識別情報をユーザーが入力するユーザーインターフェースである。印刷情報は、画像データが格納されたファイル名や、印刷媒体での画像の位置に関する情報等である。印刷UIでは、制御サーバー10の印刷データ処理部29が、後述の印刷制御データの生成に用いる情報を入力可能である。
印刷UIには、印刷情報、及び、印刷装置識別情報を入力する欄が設けられ、ユーザーは、当該欄に印刷情報、及び、印刷装置識別情報を入力する。
Next, the
The print UI is a user interface through which a user inputs print information and printing apparatus identification information. The print information is a file name in which image data is stored, information on the position of the image on the print medium, and the like. In the print UI, the print
The printing UI is provided with a column for inputting printing information and printing device identification information, and the user inputs the printing information and the printing device identification information in the column.
ユーザーが印刷UIに対して印刷情報、及び、印刷装置識別情報を入力し、入力を確定すると(ステップSZ2)、ブラウザー実行部40aは、以下の処理を実行する。ブラウザー実行部40aは、印刷指示データを生成する(ステップSE3)。印刷指示データは、印刷UIに入力された情報に基づく印刷情報、及び、印刷装置識別情報が含まれた所定のフォーマットのデータである。
次いで、ブラウザー実行部40aは、通信インターフェース41を制御して、制御サーバー10に印刷指示データを送信する(ステップSE4)。
When the user inputs print information and printing device identification information to the print UI and confirms the input (step SZ2), the
Next, the
図6(B)に示すように、制御サーバー10の印刷データ処理部29は、第3接続部28を制御して、印刷指示データを受信する(ステップSF1)。
次いで、印刷データ処理部29は、受信した印刷指示データに基づいて、印刷制御データを生成する(ステップSF2)。印刷制御データは、印刷装置12に印刷させる印刷情報を有するXML(Extensible Markup Language)ファイルである。印刷制御データは、XMLのプロトコル(第1のプロトコル)に従って、印刷装置12に印刷させる印刷情報、例えば、画像データや、画像の位置を示す情報等が記録される。
次いで、印刷データ処理部29は、生成した印刷制御データを、第1接続部26に送信する(ステップSF3)。ステップSF3で、印刷データ処理部29は、コネクション管理データベースを参照し、当該データベースで印刷指示データに含まれる印刷装置識別情報と対応付けられたコネクション識別情報を取得する。次いで、印刷データ処理部29は、取得したコネクション識別情報に対応する第1接続部26に、印刷制御データを送信する。
第1接続部26は、第1WebSocketコネクションCT1で、受信した印刷制御データを、印刷装置12に送信する(ステップSF4)。
As shown in FIG. 6B, the print
Next, the print
Next, the print
The
図6(C)に示すように、印刷装置12の第1通信部16は、第1WebSocketコネクションCT1で印刷制御データを受信する(ステップSG1)。次いで、第1通信部16は、受信した印刷制御データを、印刷制御部17に送信する(ステップSG2)。
印刷制御部17は、受信した印刷制御データを、印刷部18のコマンド体系の印刷制御コマンドに変換する(ステップSG3)。印刷制御部17は、XMLファイルである印刷制御データを、印刷部18が解釈可能なコマンドに変換する。次いで、印刷制御部17は、印刷制御コマンドを、印刷部18に送信する(ステップSG4)。
印刷部18は、印刷制御コマンドに基づいて、印刷媒体への印刷を実行する(ステップSG5)。
As shown in FIG. 6C, the
The
The
このように、制御サーバー10は、印刷装置12に印刷を実行させる事象が発生した場合に、印刷装置12からのリクエストを受けることなく、印刷装置12に印刷制御データを送信して、印刷装置12に印刷させることができる。印刷装置12に印刷を実行させる事象が発生した場合とは、例えば、上記例のように通信可能に接続された外部機器からの要求があった場合、ユーザーからの指示があった場合、もしくは予め定めた条件が成立した場合等、である。
このため、印刷装置12から制御サーバー10に対して間欠的にリクエストを送り、印刷装置12に印刷をさせたい場合に、当該リクエストに応じて印刷制御データを送信する構成とした場合と比較して、印刷を実行させる事象の発生後、より迅速に印刷を開始させることができる。
また、上記のように、制御サーバー10の印刷データ処理部29と、印刷装置12の印刷制御部17とは、第1WebSocketコネクションCT1に基づく第1機能部間通信経路KT1により、非同期の双方向通信を行う。
As described above, when an event that causes the
For this reason, when a request is intermittently sent from the
In addition, as described above, the print
なお、印刷部18による印刷が行われた後は、印刷装置12、制御サーバー10、及び、管理装置14は、以下の処理を実行する。
すなわち、印刷制御部17は、印刷部18による印刷の結果に基づいて、印刷結果データを生成する。印刷結果データは、印刷部18による印刷が成功したか失敗したかを示す情報、及び、失敗した場合はその原因を示す情報を含むデータである。次いで、印刷制御部17は、第1WebSocketコネクションCT1に基づく第1機能部間通信経路KT1により、印刷データ処理部29に印刷結果データを送信する。印刷データ処理部29は、受信した印刷結果データを、印刷指示データを送信した管理装置14に対して送信する。例えば、印刷データ処理部29は、印刷指示データの受信に用いたコネクションを管理し、当該コネクションを用いて、印刷結果データを管理装置14に送信する。管理装置14の管理装置制御部40のブラウザー実行部40aは、受信した印刷結果データに基づいて対応する処理を実行する。例えば、管理装置制御部40は、印刷結果を示す情報を表示部42に表示し、印刷結果をユーザーに報知する処理を行う。
Note that after printing by the
That is, the
以上説明したように、本実施形態に係る印刷制御システム1は、印刷装置12と、制御サーバー10(印刷制御装置)と、を備える。
印刷装置12は、印刷を行う印刷部18、ファームウェア(制御プログラム)の機能により印刷部18を制御する印刷制御部17(印刷部を制御する制御プログラムを動作させる印刷制御部)、及び第2WebSocketコネクションCT2(通信経路)を確立し、当該コネクションが確立したときに、問い合わせに応じてファームウェアのバージョンを通知し、当該通知に応じて受信した制御データに基づいてファームウェアの変更を実行する制御プログラム管理部21を有する。
また、制御サーバー10は、第2WebSocketコネクションCT2が確立したときに、当該コネクションでファームウェアのバージョンを問い合わせ、当該問い合わせに応じて通知を受けたファームウェアのバージョンに応じて、ファームウェアのバージョンの変更が必要か否かを判断し、必要な場合、ファームウェアのバージョンの変更を実行させる制御データを送信するサーバー制御部10S(制御部)を有する。
この構成によれば、印刷装置12と、制御サーバー10との間でネットワークGNを介した第2WebSocketコネクションCT2の確立後、制御サーバー10は、印刷装置12のファームウェアのバージョンを取得し、管理することができる。
As described above, the
The
In addition, when the second WebSocket connection CT2 is established, the
According to this configuration, after the second WebSocket connection CT2 is established between the
また、本実施形態では、印刷装置12の制御プログラム管理部21は、印刷装置12の電源が投入されたときに、第2WebSocketコネクションCT2を確立する。
この構成によれば、電源投入時に、印刷装置12により第2WebSocketコネクションCT2が確立されるため、ユーザーによるWebSocketコネクションCTの確立のための作業が必要なく、また、電源投入に応じたWebSocketコネクションCTの確立後、制御サーバー10により、必要に応じて、印刷装置12のファームウェアのバージョンを変更できる。
In the present embodiment, the control
According to this configuration, since the second WebSocket connection CT2 is established by the
また、本実施形態では、印刷装置12の制御プログラム管理部21は、ファームウェアのバージョンの問い合わせがあったときに、ファームウェアのバージョンの変更中である場合は、変更中のファームウェアのバージョンを通知する。制御サーバー10のサーバー制御部10Sは、通知を受けた変更中のファームウェアのバージョンに応じて、ファームウェアのバージョンの変更を継続して実行させるか否かを判断し、継続して実行させる場合はその旨通知し、他のバージョンに変更させる場合は、バージョンの変更を中止させ、当該他のバージョンへの変更を実行させる制御データを送信する。
この構成によれば、制御サーバー10は、印刷装置12が、ファームウェアのバージョンの変更中である場合に、変更中のバージョンに応じて、変更を中止させて、対応する他のバージョンへの変更を実行させることができる。
In the present embodiment, when the firmware version is being inquired, the control
According to this configuration, when the
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
上述した実施形態では、印刷装置12は店舗に用いる店舗システム11に設けられていた。しかしながら、印刷装置12は、必ずしも、店舗システム11に設けられたものでなくてもよい。例えば、他のシステムに設けられたものであってもよい。
また、図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
Each functional block shown in FIG. 3 can be arbitrarily realized by hardware and software, and does not suggest a specific hardware configuration. Further, the function of the
1…印刷制御システム、10…制御サーバー(印刷制御装置)、10S…サーバー制御部(制御部)、12…印刷装置、17…印刷制御部、18…印刷部、20…第2通信部(通信部)、21…制御プログラム管理部、27…第2接続部(接続部)、GN…ネットワーク、CT2…第2WebSocketコネクション(通信経路)。
DESCRIPTION OF
Claims (8)
前記通信経路の確立後、前記印刷制御装置から前記印刷装置に、前記制御プログラムのバージョンを問い合わせ、
前記問い合わせに応じて、前記印刷装置から前記印刷装置へ前記制御プログラムのバージョン情報を通知し、
通知された前記制御プログラムのバージョン情報に応じて、異なるバージョンの制御プログラムへの変更が必要か否かを前記印刷制御装置で判断し、
前記異なるバージョンの制御プログラムへの変更が必要であると判断された場合、前記異なるバージョンの制御プログラムへの変更を前記印刷装置に実行させる制御データを前記印刷装置に送信し、
前記制御データに基づいて前記印刷装置で前記異なるバージョンの制御プログラムへの変更を実行することを特徴とする印刷制御システムの制御方法。 Establishing a communication path via a network between a printing apparatus having a control program for controlling printing and the printing control apparatus;
After establishing the communication path, the printing control device inquires of the printing device about the version of the control program,
In response to the inquiry, the printing apparatus notifies the printing apparatus of version information of the control program,
According to the notified version information of the control program, the print control device determines whether or not a change to a different version of the control program is necessary,
If it is determined that a change to the different version of the control program is necessary, control data for causing the printing apparatus to execute the change to the different version of the control program is transmitted to the printing apparatus;
A control method for a print control system, wherein a change to the different version of the control program is executed by the printing apparatus based on the control data.
前記印刷制御装置は、通知された前記異なるバージョンの制御プログラムのバージョン情報に応じて、前記異なるバージョンの制御プログラムへの変更を継続して実行させるか否かを判断し、
前記異なるバージョンの制御プログラムへの変更を継続して実行させる場合はそのことを通知する請求項1又は2に記載の印刷制御システムの制御方法。 When there is a change to the control program of the different version at the printing device when the inquiry is made, the version information of the control program of the different version is notified,
The printing control apparatus determines whether to continuously execute the change to the control program of the different version according to the notified version information of the control program of the different version,
The control method of the print control system according to claim 1 or 2, wherein when the change to the control program of the different version is continuously executed, the change is notified.
前記印刷装置の前記通信部と通信経路を確立して通信を行う接続部、前記印刷装置の前記制御プログラムのバージョン情報を問い合わせる第1のデータ及び前記第1のデータを送信したときに受信した情報に基づいて異なるバージョンの制御プログラムへの変更を要求する第2のデータを前記接続部に送信させる制御部を有する印刷制御装置と、
を備えることを特徴とする印刷制御システム。 A printing unit that performs printing; a printing control unit that operates a control program that controls the printing unit; a control program management unit that acquires version information of the control program and manages the control program; and a communication unit that performs communication A printing device;
A connection unit that establishes a communication path with the communication unit of the printing apparatus and performs communication, first data that inquires about version information of the control program of the printing apparatus, and information that is received when the first data is transmitted A print control apparatus having a control unit that causes the connection unit to transmit second data requesting a change to a control program of a different version based on
A printing control system comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014020185A JP2015148874A (en) | 2014-02-05 | 2014-02-05 | Print control system control method and print control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014020185A JP2015148874A (en) | 2014-02-05 | 2014-02-05 | Print control system control method and print control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2015148874A true JP2015148874A (en) | 2015-08-20 |
Family
ID=53892203
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014020185A Pending JP2015148874A (en) | 2014-02-05 | 2014-02-05 | Print control system control method and print control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2015148874A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019192064A (en) * | 2018-04-27 | 2019-10-31 | 京セラドキュメントソリューションズ株式会社 | Image forming system |
-
2014
- 2014-02-05 JP JP2014020185A patent/JP2015148874A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019192064A (en) * | 2018-04-27 | 2019-10-31 | 京セラドキュメントソリューションズ株式会社 | Image forming system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| 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 | |
| TW201405415A (en) | Printing system and printer | |
| JP2015141569A (en) | Print control system and control method of print control system | |
| JP2015148874A (en) | Print control system control method and print control system | |
| JP6287215B2 (en) | POS control system, printing apparatus, and control method of POS control system | |
| KR101917547B1 (en) | Network system and communication method | |
| JP6268931B2 (en) | Print control apparatus and print control system | |
| JP6260231B2 (en) | Print control system and print control method | |
| JP2015130087A (en) | POS control system and control method of POS control system | |
| JP2015146153A (en) | Print control system, and control method of print control system | |
| JP6221681B2 (en) | Print control system and print control method | |
| JP6252114B2 (en) | Print control system | |
| JP6343931B2 (en) | Print control system and print control method | |
| JP6331337B2 (en) | Print control system and printing apparatus | |
| JP6281248B2 (en) | Printing apparatus, printing apparatus control method, and printing control system | |
| JP6252115B2 (en) | Print control system | |
| JP6269055B2 (en) | Print control system control method, print control system, and printing apparatus | |
| JP2015148873A (en) | Control system and control system control method | |
| JP2015127877A (en) | Print control system and print control method | |
| JP2015090646A (en) | Printing control device and printing control system | |
| JP2015090644A (en) | Printing control device and printing control system | |
| JP2015088105A (en) | Printer and print control system | |
| JP2015090643A (en) | Print control apparatus and print control system |