JP6331337B2 - Print control system and printing apparatus - Google Patents
Print control system and printing apparatus Download PDFInfo
- Publication number
- JP6331337B2 JP6331337B2 JP2013227827A JP2013227827A JP6331337B2 JP 6331337 B2 JP6331337 B2 JP 6331337B2 JP 2013227827 A JP2013227827 A JP 2013227827A JP 2013227827 A JP2013227827 A JP 2013227827A JP 6331337 B2 JP6331337 B2 JP 6331337B2
- Authority
- JP
- Japan
- Prior art keywords
- printing
- communication
- printing apparatus
- unit
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、印刷制御装置と印刷装置とを備える印刷制御システム、及び、印刷装置に関する。 The present invention relates to a printing control system including a printing control apparatus and a printing apparatus, and a printing apparatus.
従来、印刷制御装置の制御の下、印刷装置によって印刷媒体に印刷し、レシートを発行する印刷制御システムが知られている(例えば、特許文献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 like the above-described printing control system, the system and the printing apparatus 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, and relates to a printing control system and a printing apparatus. It aims at making it respond | correspond to the structure which communicates via.
上記目的を達成するために、本発明の印刷制御システムは、制御データを送信する印刷制御装置と、印刷を行う印刷部、非同期の双方向通信を行う通信経路で前記印刷制御装置と通信する通信制御部、及び前記通信経路で前記印刷制御装置が送信した前記制御データに基づいて前記印刷部を制御する印刷制御部を有する印刷装置と、を備えることを特徴とする。
本発明の構成によれば、印刷制御システムにおいて、印刷制御装置と、印刷装置とが非同期の双方向通信を行う通信経路で通信する。このため、印刷制御装置は任意のタイミングで通信経路により印刷装置にデータを送信でき、また、印刷装置は任意のタイミングで印刷制御装置にデータを送信できる。従って、印刷制御装置は、印刷装置に印刷させるトリガーが発生したときに、通信経路により制御データを印刷装置に送信し、制御データに基づく印刷を印刷装置に実行させることができ、また、印刷装置は、印刷結果を示すデータや、各種データを必要に応じて印刷制御装置に送信し、データに基づく処理を印刷制御装置に実行させることができる。つまり、上記構成によれば、印刷制御システムを、印刷装置と、印刷制御装置とがネットワークを介して通信する構成に対応させることができる。
In order to achieve the above object, a print control system of the present invention includes a print control apparatus that transmits control data, a printing unit that performs printing, and communication that communicates with the print control apparatus via a communication path that performs asynchronous bidirectional communication. And a printing device having a printing control unit that controls the printing unit based on the control data transmitted by the printing control device via the communication path.
According to the configuration of the present invention, in the print control system, the print control apparatus and the printing apparatus communicate with each other through a communication path that performs asynchronous bidirectional communication. For this reason, the printing control apparatus can transmit data to the printing apparatus through a communication path at an arbitrary timing, and the printing apparatus can transmit data to the printing control apparatus at an arbitrary timing. Therefore, the print control apparatus can transmit control data to the printing apparatus through the communication path when a trigger for causing the printing apparatus to print is generated, and can cause the printing apparatus to execute printing based on the control data. Can transmit data indicating the print result and various data to the print control apparatus as necessary, and cause the print control apparatus to execute processing based on the data. That is, according to the above configuration, the print control system can correspond to a configuration in which the printing apparatus and the print control apparatus communicate via the network.
また、前記非同期の双方向通信は、WebSocket通信である。
本発明の構成によれば、印刷制御装置と、印刷装置との間で、WebSocket通信により、非同期の双方向通信を実行できる。
The asynchronous bidirectional communication is WebSocket communication.
According to the configuration of the present invention, asynchronous two-way communication can be performed between the print control apparatus and the printing apparatus by WebSocket communication.
また、前記印刷装置は、前記印刷制御装置のアドレスを示すアドレス情報を記憶する記憶部を有し、前記印刷装置の前記通信制御部は、前記記憶部が記憶する前記アドレス情報に基づいて前記印刷制御装置との間で前記通信経路を確立する。
本発明の構成によれば、印刷装置は、記憶部が記憶する印刷制御装置のアドレスを示すアドレス情報に基づいて、通信経路の確立を実行できる。
The printing apparatus includes a storage unit that stores address information indicating an address of the print control apparatus, and the communication control unit of the printing apparatus performs the printing based on the address information stored in the storage unit. The communication path is established with the control device.
According to the configuration of the present invention, the printing apparatus can establish the communication path based on the address information indicating the address of the printing control apparatus stored in the storage unit.
また、前記通信制御部は、電源投入時に前記通信経路の確立を行う。
本発明の構成によれば、電源投入時に、印刷装置により自動で通信経路が確立されるため、ユーザーによる通信経路の確立のための作業が必要なく、また、電源投入後、通信経路によるデータの通信により印刷装置を制御できる。
The communication control unit establishes the communication path when power is turned on.
According to the configuration of the present invention, since the communication path is automatically established by the printing apparatus when the power is turned on, there is no need for the user to establish a communication path. The printing apparatus can be controlled by communication.
また、前記印刷装置の前記記憶部は、前記印刷装置の識別情報を記憶し、前記通信制御部は、前記通信経路の確立時に、前記印刷装置の識別情報を送信する。
本発明の構成によれば、識別情報を受信した印刷制御装置は、識別情報に基づいて通信経路を確立した印刷装置を識別可能であり、また、印刷制御装置は、識別情報を利用して、確立した通信経路の管理が可能となる。
The storage unit of the printing apparatus stores identification information of the printing apparatus, and the communication control unit transmits the identification information of the printing apparatus when the communication path is established.
According to the configuration of the present invention, the printing control apparatus that has received the identification information can identify the printing apparatus that has established the communication path based on the identification information, and the printing control apparatus can use the identification information to The established communication path can be managed.
また、本発明の印刷装置は、非同期の双方向通信を行う通信経路で制御データを受信する通信制御部と、印刷を行う印刷部と、前記通信経路で受信した前記制御データに基づいて、前記印刷部を制御する印刷制御部と、を有することを特徴とする。
本発明の構成によれば、印刷装置は、印刷制御装置等の外部装置から任意のタイミングで通信経路によりデータを受信でき、また、印刷装置は、任意のタイミングで印刷制御装置等の外部装置にデータを送信できる。従って、印刷装置は、通信経路により制御データを受信して、制御データに基づく印刷を実行することができ、また、印刷装置は、印刷結果を示すデータや、各種データを、必要に応じて印刷制御装置等の外部装置に送信して、外部装置にデータに基づく処理を実行させることができる。つまり、上記構成によれば、印刷制御システムに含まれる印刷装置を、印刷装置と、印刷制御装置等の外部装置とがネットワークを介して通信する構成に対応させることができる。
Further, the printing apparatus of the present invention is based on the communication control unit that receives control data through a communication path that performs asynchronous two-way communication, the printing unit that performs printing, and the control data received through the communication path. And a printing control unit that controls the printing unit.
According to the configuration of the present invention, the printing apparatus can receive data from an external apparatus such as a print control apparatus via a communication path at an arbitrary timing, and the printing apparatus can be transferred to an external apparatus such as a print control apparatus at an arbitrary timing. Can send data. Therefore, the printing apparatus can receive control data via the communication path and execute printing based on the control data. The printing apparatus can also print data indicating the printing result and various data as necessary. The data can be transmitted to an external device such as a control device, and the external device can execute processing based on the data. In other words, according to the above configuration, the printing device included in the printing control system can correspond to a configuration in which the printing device and an external device such as the printing control device communicate via the network.
また、非同期の双方向通信は、WebSocket通信である。
本発明の構成によれば、印刷装置は、WebSocket通信により、非同期の双方向通信を実行できる。
In addition, asynchronous bidirectional communication is WebSocket communication.
According to the configuration of the present invention, the printing apparatus can execute asynchronous two-way communication by WebSocket communication.
また、前記制御データを送信する外部装置のアドレス情報を記憶する記憶部を有し、前記通信制御部は、前記記憶部が記憶する前記アドレス情報に基づいて前記外部装置との間で前記通信経路を確立する。
本発明の構成によれば、印刷装置は、記憶部が記憶する印刷制御装置のアドレスを示すアドレス情報に基づいて、通信経路の確立を実行できる。
A storage unit configured to store address information of an external device that transmits the control data, wherein the communication control unit communicates with the external device based on the address information stored in the storage unit; Establish.
According to the configuration of the present invention, the printing apparatus can establish the communication path based on the address information indicating the address of the printing control apparatus stored in the storage unit.
以下、図面を参照して本発明の実施形態について説明する。
図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.
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 control system 1 includes a control server 10 (printing control device, external device), and a plurality of
The
The
In the control system 1 according to the present embodiment, 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により、非同期で双方向通信(WebSocket通信)する。すなわち、制御サーバー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 control system 1, a WebSocket connection CT (communication path for performing asynchronous two-way communication) related to WebSocket is established between 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 WebSocket, after a server and a client establish a WebSocket connection CT, data transmission / reception is performed using a dedicated protocol by 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は、印刷機能が実装された印刷装置が、複数台(例えば、1000台)、WebSocketの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は、複数の印刷装置12を連動して動作させることが可能となる。
As described above, the control system 1 has a configuration in which a plurality of printing apparatuses (for example, 1000) on which a printing function is implemented are connected so as to be communicable with 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と、印刷装置記憶部19と、を備える。
通信制御部15、通信部16、及び、印刷制御部17の機能については後述する。
印刷部18は、印刷媒体に印刷を行う印刷機構、印刷媒体を搬送する搬送機構、印刷媒体を切断する切断機構等の印刷に係る機構、及び、各機構の制御に係る制御基板等を備える。
印刷装置記憶部19は、不揮発性メモリーを備え、各種データを記憶する。印刷装置記憶部19には、通信先情報データ19aと、識別情報データ19bとが記憶されるが、これらデータについては後述する。
一方、制御サーバー10は、通信管理部25と、接続部26と、印刷データ処理部27と、制御サーバー記憶部28と、を備える。
通信管理部25、接続部26、及び、印刷データ処理部27の機能については後述する。
制御サーバー記憶部28は、不揮発性メモリーを備え、各種データを記憶する。制御サーバー記憶部28には、コネクション管理データベース28aが記憶されるが、これについては後述する。
FIG. 3 is a block diagram illustrating functional configurations of the
As illustrated in FIG. 3, the
The functions of the
The
The printing
On the other hand, the
Functions of the
The control
なお、図3では、制御サーバー10と、制御サーバー10に接続された1つの印刷装置12との関係を示す。制御サーバー10に、複数の印刷装置12が接続される場合は、制御サーバー10は、複数の印刷装置12に対応して複数のWebSocketインターフェースを備え、各印刷装置12との間でWebSocketコネクションCTを確立し、各印刷装置12と当該コネクションでWebSocket通信する。
FIG. 3 shows the relationship between the
次に、印刷装置12の電源投入時における、印刷装置12、及び、制御サーバー10の動作について説明する。
図4は、印刷装置12に電源が投入された後の印刷装置12、及び、制御サーバー10の動作を示すフローチャートであり、(A)は印刷装置12の動作を、(B)は制御サーバー10の動作を示す。
なお、以下の説明では、印刷装置12は、対応する店舗システム11のローカルエリアネットワークLNに接続され、ネットワークGNにアクセス可能であるものとする。
また、図4のフローチャートの処理のトリガーは、電源投入時に限らない。例えば、印刷装置12がネットワークGNに通信可能に接続された場合や、ユーザーから指示があった場合等であってもよい。
Next, operations of the
FIG. 4 is a flowchart showing operations of the
In the following description, it is assumed that the
Further, the trigger of the processing in the flowchart of FIG. 4 is not limited to when the power is turned on. For example, the case where the
また、以下の説明において、印刷装置12が備える通信制御部15、印刷制御部17、及び、制御サーバー10が備える印刷データ処理部27の各機能ブロックの機能は、例えば、以下のようにして実現される。
すなわち、例えば、これら機能ブロックは、オブジェクトである。オブジェクトとは、オブジェクト指向プログラミングで生成されるインスタンス、すなわち、データ、及び、メソッドの集合として定義されたソフトウェアの機能ブロックである。そして、これら機能ブロックの機能は、各機能ブロックに実装されたメソッドが呼び出されることによって実現される。
また例えば、これら機能ブロックの機能は、アプリケーションがCPU等のハードウェア資源によって読み出され実行されることによって、実現される。1つのアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよく、1つのアプリケーションにより複数の機能ブロックの機能が実現される構成であってもよく、また、複数のアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよい。
すなわち、各機能ブロックは、各機能をブロックとして表現したものであり、特定のアプリケーションや、ハードウェア等を意味するものではない。
In the following description, the functions of the functional blocks of 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. The configuration may be such that the function of one functional block is realized by one application, the function of a plurality of functional blocks may be realized by one application, and one function block may be realized by a plurality of applications. A configuration in which the function of the function block is realized may be used.
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のドメイン名等のアドレスを示すアドレス情報のデータである。ここで、WebSocketでは、WebSocketコネクションCTの確立に当たり、クライアント(本例では、印刷装置12)は、サーバー(本例では、制御サーバー10)に対して、HTTP(Hypertext Transfer Protocol)に基づくハンドシェイクを行う。当該ハンドシェイクにおいて、クライアントは、サーバーのドメイン名が記述されたメッセージを送信するが、通信先情報データ19aは、ドメイン名を示すデータである。
次いで、通信制御部15は、通信先情報データ19aが示すドメイン名に基づいて、制御サーバー10の通信管理部25と、通信部16と接続部26との間に、WebSocketコネクションCTを確立する(ステップSA2、ステップSB1)。つまり、本実施形態に係る印刷装置12は、ユーザーによる指示や、制御サーバー10からの要求を受けることなく、電源の投入をトリガーとしてWebSocketコネクションCTを確立する。
WebSocketコネクションCTの確立に伴って、印刷装置12、及び、制御サーバー10は、非同期で、双方向通信できる。つまり、制御サーバー10は、クライアントとしての印刷装置12からリクエストを受けることなく、WebSocketコネクションCTで制御サーバー10から印刷装置12にデータを送信できる。
なお、通信部16、及び、接続部26は、WebSocketの規格、手続きに従ってデータの送受信を行うWebSocketインターフェースである。これら機能ブロックは、例えば、WebSocketに係るSocketライブラリーを利用して生成される。
通信制御部15は、通信部16にデータを送信すれば、WebSocketコネクションCTにより、WebSocketに従ってデータの送信を実行できる。
すなわち、通信部16は、受信したデータについて、WebSocketに従った処理を行って、WebSocketに従った手続きでWebSocketコネクションCTによりデータを送信する機能を有する。また、通信部16は、WebSocketコネクションCTにより受信したデータについて、WebSocketに従った処理を行って、通信制御部15に送信する機能を有する。接続部26についても同様である。
As shown in FIG. 4A, when the
The communication destination information data 19a is address information data indicating an address such as a domain name of the
Next, the
With the establishment of the WebSocket connection CT, the
The
If the
That is, 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とは、確立している1又は複数のWebSocketコネクションCTについて、WebSocketコネクションCTを示すコネクション識別番号と、上述した印刷装置識別情報とを対応付けて記憶するデータベースである。
次いで、通信管理部25は、コネクション管理データベース28aに1件のレコードを生成する。そして、通信管理部25は、生成したレコードにおいて、ステップSB1で確立したWebSocketコネクションCTのコネクション識別番号と、ステップSB2で受信した識別情報データ19bが示す印刷装置識別情報とを対応付けて記憶する(ステップSB4)。なお、通信管理部25は、WebSocketコネクションCTが確立したときに、既に確立しているWebSocketコネクションCTのコネクション識別番号と異なる値のコネクション識別番号を生成する。ステップSB4の処理により、WebSocketコネクションCTと、印刷装置12との対応関係が管理される。
このように、印刷装置12の通信制御部15は、ユーザーによる指示や、制御サーバー10からの要求を受けることなく、電源の投入をトリガーとしてWebSocketコネクションCTを確立する。このような構成のため、ユーザーは、WebSocketコネクションCTを確立するために、煩雑な作業を行う必要がない。また、WebSocketコネクションCTを確立するために、専門的な知識も必要ない。また、電源投入後、印刷装置12を、制御サーバー10の制御の下で各種処理を実行できる状態とすることができる。
Next, the
Next, the
As shown in FIG. 4B, the
Next, the
Next, the
As described above, the
次に、制御サーバー10の制御の下、印刷装置12が印刷媒体に印刷するときの、制御サーバー10、及び、印刷装置12の動作について説明する。
図5は、印刷装置12が印刷媒体に印刷を行うときの制御サーバー10、及び、印刷装置12の動作を示すフローチャートであり、(A)は制御サーバー10の動作を、(B)は印刷装置12の動作を示す。
図5(A)に示すように、印刷データ処理部27は、印刷装置12の制御に係る制御データを生成し、通信管理部25に送信する(ステップSC1)。制御データは、印刷装置12に印刷させる情報が記述されたXML(Extensible Markup Language)ファイルである。制御データには、XMLに係るフォーマットに基づいて、印刷装置12に印刷させる情報、例えば、印刷する画像データや、画像の位置を示す情報等が記述される。また、制御データには、印刷させる印刷装置12の印刷装置識別情報がタグとして記述される。
次いで、通信管理部25は、制御サーバー記憶部28に記憶されたコネクション管理データベース28aにアクセスする(ステップSC2)。次いで、通信管理部25は、受信した制御データに記述された印刷装置識別情報をキーとして、コネクション管理データベース28aにおいて、当該印刷装置識別情報と対応付けられたWebSocketコネクションCTのコネクション識別番号を取得する(ステップSC3)。ここで取得されたコネクション識別番号は、印刷させる印刷装置12との間で確立されたWebSocketコネクションCTのコネクション識別番号である。
次いで、通信管理部25は、ステップSC3で取得したコネクション識別番号に係るWebSocketコネクションCTに対応する接続部26に制御データを送信する(ステップSC4)。
次いで、接続部26は、受信した制御データを、WebSocketコネクションCTで、WebSocket通信により、プッシュ送信する(ステップSC5)。
Next, operations of the
FIG. 5 is a flowchart showing the operation of the
As shown in FIG. 5A, the print
Next, the
Next, the
Next, the
図5(B)に示すように、通信部16は、WebSocket通信により制御データを受信する(ステップSD1)。次いで、通信部16は、受信した制御データを通信制御部15に送信する(ステップSD2)。次いで、通信制御部15は、受信した制御データを、印刷制御部17に送信する(ステップSD3)。次いで、印刷制御部17は、受信した制御データを、印刷部18のコマンド体系の制御コマンドに変換する(ステップSD4)。つまり、印刷制御部17は、XMLファイルである制御データを、印刷部18の制御基板が解釈可能なコマンドに変換する。
次いで、印刷制御部17は、制御コマンドを、印刷部18に送信する(ステップSD5)。次いで、印刷部18は、制御コマンドに基づいて、印刷媒体への印刷を実行する(ステップSD6)。
このように、本実施形態では、印刷装置12からのリクエストを受けることなく、制御サーバー10は、印刷装置12に印刷を実行させる事象が発生した場合に、印刷装置12に印刷させることができる。印刷装置12に印刷を実行させる事象が発生した場合とは、例えば、ユーザーからの指示があった場合や、通信可能に接続された外部機器からの要求があった場合、事前に定義した条件が成立した場合等、である。
このため、印刷装置12から制御サーバー10に対して間欠的にリクエストを送り、印刷装置12に印刷をさせたい場合に、当該リクエストに応じて制御データを送信する構成とした場合と比較して、より迅速に印刷を開始させることができる。また、制御サーバー10がリクエストに対する保留状態を作る構成とした場合と比較して、リソースの消費を抑制できる。
As shown in FIG. 5B, the
Next, the
As described above, in this embodiment, the
For this reason, when a request is intermittently sent from the
以上説明したように、本実施形態によれば、制御システム1(印刷制御システム)は、制御データを送信する制御サーバー10(印刷制御装置)と、制御データに基づいて印刷を行う印刷部18、非同期の双方向通信を行うWebSocketコネクションCTで制御サーバー10と通信する通信制御部15、及びWebSocketコネクションCTで制御サーバー10が送信した制御データに基づいて印刷部18を制御する印刷制御部17を有する印刷装置12と、備える。
この構成によれば、制御システム1において、制御サーバー10と、印刷装置12とが非同期の双方向通信を行う通信経路(WebSocketコネクションCT)で通信する。このため、制御サーバー10は任意のタイミングでWebSocketコネクションCTにより印刷装置12にデータを送信でき、また、印刷装置12は任意のタイミングで制御サーバー10にデータを送信できる。従って、制御サーバー10は、印刷装置12に印刷させるトリガーが発生したときに、WebSocketコネクションCTにより制御データを印刷装置12に送信し、制御データに基づく印刷を印刷装置12に実行させることができる。また、印刷装置12は、印刷結果を示すデータや、各種データを必要に応じて制御サーバー10に送信し、データに基づく処理を制御サーバー10に実行させることができる。つまり、上記構成によれば、制御システム1を、印刷装置12と、制御サーバー10とがネットワークを介して通信する構成に対応させることができる。
As described above, according to the present embodiment, the control system 1 (printing control system) includes the control server 10 (printing control apparatus) that transmits control data, the
According to this configuration, in the control system 1, the
また、本実施形態では、非同期の双方向通信は、WebSocket通信である。
本発明の構成によれば、制御サーバー10と、印刷装置12との間で、WebSocket通信により、非同期の双方向通信を実行できる。
In the present embodiment, the asynchronous bidirectional communication is WebSocket communication.
According to the configuration of the present invention, asynchronous two-way communication can be executed between the
また、本実施形態では、印刷装置12は、制御サーバー10のアドレスを示すアドレス情報を記憶する印刷装置記憶部19を有し、印刷装置12の通信制御部15は、印刷装置記憶部19が記憶するアドレス情報に基づいて制御サーバー10との間でWebSocketコネクションCTを確立する。
本発明の構成によれば、印刷装置12は、印刷装置記憶部19が記憶する制御サーバー10のアドレスを示すアドレス情報に基づいて、WebSocketコネクションCTの確立を実行できる。
In the present embodiment, the
According to the configuration of the present invention, the
また、本実施形態では、通信制御部15は、電源投入時にWebSocketコネクションCTの確立を行う。
この構成によれば、電源投入時に、印刷装置12により自動でWebSocketコネクションCTが確立されるため、ユーザーによるWebSocketコネクションCTの確立のための作業が必要なく、また、電源投入後、WebSocketコネクションCTによるデータの通信により印刷装置12を制御できる。
In the present embodiment, the
According to this configuration, since the WebSocket connection CT is automatically established by the
また、本実施形態では、印刷装置12の印刷装置記憶部19は、印刷装置12の識別情報(識別情報データ19b)を記憶し、通信制御部15は、WebSocketコネクションCTの確立時に、印刷装置12の識別情報を送信する。
この構成によれば、制御サーバー10は、受信した印刷装置12の識別情報に基づいて印刷装置12を識別可能であり、さらに、制御サーバー10は、識別情報を利用して、確立したWebSocketコネクションCTの管理が可能となる。
In the present embodiment, the printing
According to this configuration, the
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
上述した実施形態では、印刷装置12は店舗に構築された店舗システム11に設けられていた。しかしながら、印刷装置12は、必ずしも、店舗システム11に設けられたものでなくてもよい。例えば、他のシステムに設けられたものであってもよい。
また、上述した実施形態では、制御サーバー10から、印刷装置12に対して、XMLファイルの制御データを送信していたが、制御データのデータ形式はXMLでなくともよい。例えば、他のマークアップ言語で生成されたデータであってもよく、また、印刷部18のコマンド体系の制御コマンドであってもよい。
また、上述した実施形態では、通信先情報データ19aとは、アクセスする制御サーバー10のドメイン名(通信先情報)を示すデータであったが、ドメイン名でなくともよい。例えば、IPアドレスであってもよい。
また、図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 above-described embodiment, the control data of the XML file is transmitted from the
In the above-described embodiment, the communication destination information data 19a is data indicating the domain name (communication destination information) of 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…通信制御部、17…印刷制御部、19…印刷装置記憶部(記憶部)、19a…通信先情報データ、19b…識別情報データ(印刷装置の識別情報)、CT…WebSocketコネクション。 DESCRIPTION OF SYMBOLS 1 ... Control system (printing control system) 10 ... Control server (printing control apparatus, external device), 12 ... Printing apparatus, 15 ... Communication control part, 17 ... Printing control part, 19 ... Printing apparatus memory | storage part (memory | storage part) , 19a ... Communication destination information data, 19b ... Identification information data (printing device identification information), CT ... WebSocket connection.
Claims (5)
印刷を行う印刷部、前記通信経路を介して前記印刷制御装置との間の通信を制御する通信制御部、前記印刷部を制御する印刷制御部、および、前記印刷制御装置のアドレスを示すアドレス情報を記憶する記憶部を有する印刷装置と、を備え、
複数の前記印刷装置がローカルネットワークに接続され、前記印刷制御装置は、ネットワークを介して前記ローカルネットワークに接続され、
前記印刷装置の前記記憶部は、前記印刷装置の識別情報を記憶し、
前記印刷装置の前記通信制御部は、前記記憶部が記憶する前記アドレス情報に基づいて、前記ローカルネットワークおよび前記ネットワークを介して前記印刷制御装置にアクセスし、前記印刷装置の識別情報を前記印刷制御装置へ送信して、前記印刷制御装置との間で前記通信経路を介する通信を確立し、
前記印刷制御装置は、前記通信経路を介して前記印刷装置へマークアップ言語に係るフォーマットに基づいて記述されたデータをプッシュ送信し、
前記印刷装置は前記通信経路を介して前記通信制御部により前記データを受信し、前記印刷制御部は前記マークアップ言語に係るフォーマットに基づいて記述された前記データを前記印刷装置のコマンド体系の制御コマンドに変換し、前記印刷部を制御して印刷させる印刷制御システム。 A print control device that communicates via a communication path that performs asynchronous bidirectional communication;
A printing unit that performs printing, a communication control unit that controls communication with the print control device via the communication path, a print control unit that controls the printing unit, and address information indicating an address of the print control device A printing device having a storage unit for storing
A plurality of the printing devices are connected to a local network, and the printing control device is connected to the local network via a network;
The storage unit of the printing apparatus stores identification information of the printing apparatus;
The communication control unit of the printing apparatus accesses the print control apparatus via the local network and the network based on the address information stored in the storage unit, and prints identification information of the printing apparatus. To the device, establish communication with the print control device via the communication path,
The print control device pushes data described based on a format related to a markup language to the printing device via the communication path,
The printing apparatus receives the data by the communication control unit via the communication path, and the print control unit controls the data described based on the format according to the markup language to control a command system of the printing apparatus. A print control system that converts commands into commands and controls the printing unit to print.
印刷制御装置と非同期の双方向通信を行う通信経路を介して通信を制御する通信制御部と、
印刷を行う印刷部と、
前記通信経路を介して前記通信制御部により受信したデータに基づいて、前記印刷部を制御して前記データを印刷させる印刷制御部と、
前記印刷制御装置のアドレスを示すアドレス情報を記憶する記憶部と、を備え、
前記記憶部は、前記印刷装置の識別情報を記憶し、
他の前記印刷装置とともにローカルネットワークに接続され、前記ローカルネットワークに接続するネットワークを介して前記印刷制御装置に接続可能であり、
前記通信制御部は、前記記憶部が記憶する前記アドレス情報に基づいて、前記印刷制御装置にアクセスし、前記印刷装置の識別情報を前記印刷制御装置へ送信して、前記印刷制御装置との間で前記通信経路を介する通信を確立し、前記印刷制御装置がプッシュ送信した、マークアップ言語に係るフォーマットに基づいて記述された前記データを受信し、
前記印刷制御部は、前記マークアップ言語に係るフォーマットに基づいて記述された前記データを前記印刷装置のコマンド体系の制御コマンドに変換し、前記印刷部を制御して印刷させる印刷装置。 A printing device,
A communication control unit that controls communication via a communication path that performs asynchronous bidirectional communication with the print control device;
A printing section for printing;
A printing control unit that controls the printing unit to print the data based on data received by the communication control unit via the communication path;
A storage unit for storing address information indicating an address of the print control apparatus,
The storage unit stores identification information of the printing apparatus,
Connected to a local network together with the other printing device, and connectable to the print control device via a network connected to the local network;
The communication control unit accesses the print control device based on the address information stored in the storage unit , transmits identification information of the print device to the print control device, and communicates with the print control device. The communication via the communication path is established, and the print control device push-transmits the data described based on the markup language format,
The printing control unit converts the data described based on the format related to the markup language into a control command of a command system of the printing device, and controls the printing unit to print.
Priority Applications (11)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013227827A JP6331337B2 (en) | 2013-11-01 | 2013-11-01 | Print control system and printing apparatus |
IN2931DE2014 IN2014DE02931A (en) | 2013-11-01 | 2014-10-13 | |
CA2868692A CA2868692C (en) | 2013-11-01 | 2014-10-24 | Print control system and print control method |
CN201410589906.1A CN104615389B (en) | 2013-11-01 | 2014-10-28 | Print control system and print control program |
TW103137481A TWI569981B (en) | 2013-11-01 | 2014-10-29 | Print control system, print control method and print device |
US14/527,614 US9195418B2 (en) | 2013-11-01 | 2014-10-29 | Print control system and print control method |
EP14190997.8A EP2869187B1 (en) | 2013-11-01 | 2014-10-30 | Print control system and print control method |
KR1020140149340A KR101630280B1 (en) | 2013-11-01 | 2014-10-30 | Print control system, print control method, and printing device |
BR102014027344A BR102014027344A2 (en) | 2013-11-01 | 2014-10-31 | print control system and print control method |
US14/885,658 US9542133B2 (en) | 2013-11-01 | 2015-10-16 | Print control system and print control method |
US15/363,457 US10091388B2 (en) | 2013-11-01 | 2016-11-29 | Print control system and print control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013227827A JP6331337B2 (en) | 2013-11-01 | 2013-11-01 | Print control system and printing apparatus |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2015088077A JP2015088077A (en) | 2015-05-07 |
JP2015088077A5 JP2015088077A5 (en) | 2016-12-08 |
JP6331337B2 true JP6331337B2 (en) | 2018-05-30 |
Family
ID=53050760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013227827A Active JP6331337B2 (en) | 2013-11-01 | 2013-11-01 | Print control system and printing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6331337B2 (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003108449A (en) * | 2001-10-02 | 2003-04-11 | Seiko Epson Corp | Intermediary device connected to network |
JP2012160992A (en) * | 2011-02-02 | 2012-08-23 | Renesas Electronics Corp | Clock synchronous serial communication device and communication control method thereof |
JP2012220945A (en) * | 2011-04-13 | 2012-11-12 | Technomate Co Ltd | Cleaner for 3d spectacles |
JP2013103477A (en) * | 2011-11-16 | 2013-05-30 | Canon Inc | Image forming apparatus, print control method, and program |
JP5817545B2 (en) * | 2012-01-18 | 2015-11-18 | セイコーエプソン株式会社 | Print trial device, print trial program, print trial method, print control server |
JP6053364B2 (en) * | 2012-07-19 | 2016-12-27 | キヤノン株式会社 | Information processing system, server device, client device, and control method |
JP6039339B2 (en) * | 2012-10-03 | 2016-12-07 | キヤノン株式会社 | Image forming apparatus, control method, and computer program |
-
2013
- 2013-11-01 JP JP2013227827A patent/JP6331337B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015088077A (en) | 2015-05-07 |
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 | |
JP6331337B2 (en) | Print control system and printing apparatus | |
JP2015130087A (en) | Pos control system, and control method of pos control system | |
JP6268931B2 (en) | Print control apparatus and print control system | |
JP2015141569A (en) | Print control system and control method of the same | |
JP6287215B2 (en) | POS control system, printing apparatus, and control method of POS control system | |
JP6281248B2 (en) | Printing apparatus, printing apparatus control method, and printing control system | |
JP6260231B2 (en) | Print control system and print control method | |
JP2015088105A (en) | Printer and print control system | |
JP6343931B2 (en) | Print control system and print control method | |
JP2015089678A (en) | Printer and printing control system | |
JP2015090643A (en) | Printing control device and printing control system | |
JP6252115B2 (en) | Print control system | |
JP6221681B2 (en) | Print control system and print control method | |
JP2015146153A (en) | Print control system, and control method of print control system | |
JP2015090644A (en) | Printing control device and printing control system | |
JP2015148874A (en) | Print control system control method and print control system | |
JP2015090646A (en) | Printing control device and printing control system | |
JP6269055B2 (en) | Print control system control method, print control system, and printing apparatus | |
JP2014142802A (en) | Network print relaying device and system, and network print relaying method | |
JP2015127877A (en) | Print control system and print control method | |
JP2015106245A (en) | Print control system and print control method | |
JP2015106366A (en) | Print control system and print controller | |
JP2015148873A (en) | Control system and control system control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161024 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161024 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170712 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170718 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170907 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20171219 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180312 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20180319 |
|
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: 20180403 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180416 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6331337 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |