JP6003252B2 - POS system, POS system control method, and printing apparatus - Google Patents

POS system, POS system control method, and printing apparatus Download PDF

Info

Publication number
JP6003252B2
JP6003252B2 JP2012129446A JP2012129446A JP6003252B2 JP 6003252 B2 JP6003252 B2 JP 6003252B2 JP 2012129446 A JP2012129446 A JP 2012129446A JP 2012129446 A JP2012129446 A JP 2012129446A JP 6003252 B2 JP6003252 B2 JP 6003252B2
Authority
JP
Japan
Prior art keywords
input
data
output
information
pos
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012129446A
Other languages
Japanese (ja)
Other versions
JP2013254343A5 (en
JP2013254343A (en
Inventor
和弘 ▲高▼栖
和弘 ▲高▼栖
浩一郎 堤
浩一郎 堤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to JP2012129446A priority Critical patent/JP6003252B2/en
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to CN201380012359.4A priority patent/CN104144793B/en
Priority to EP13757838.1A priority patent/EP2796295A4/en
Priority to IN5813DEN2014 priority patent/IN2014DN05813A/en
Priority to US14/375,051 priority patent/US9342264B2/en
Priority to PCT/JP2013/001284 priority patent/WO2013132809A1/en
Priority to KR1020147027796A priority patent/KR101643074B1/en
Priority to RU2014140163/12A priority patent/RU2598820C2/en
Publication of JP2013254343A publication Critical patent/JP2013254343A/en
Publication of JP2013254343A5 publication Critical patent/JP2013254343A5/ja
Application granted granted Critical
Publication of JP6003252B2 publication Critical patent/JP6003252B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

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

従来、バーコードスキャナーが接続されたプリンター等の記録装置と、この装置に接続されたPOSコントローラー等の処理装置とを備え、これら装置が協働して、各種処理を実行するPOSシステムが知られている(例えば、特許文献1参照)。
一般に、特許文献1に記載されたシステムのように、記録装置と処理装置とが協働して各種処理を実行するシステムでは、処理装置に、記録装置を制御するためのプリンタードライバーのほか所定のアプリケーションがインストールされ、これらアプリケーション、及び、プリンタードライバーの機能により、バーコードスキャナー等の入力デバイスから入力された情報の処理を含む各種処理が実行される。
2. Description of the Related Art Conventionally, there has been known a POS system that includes a recording device such as a printer to which a barcode scanner is connected and a processing device such as a POS controller connected to the device, and these devices cooperate to execute various processes. (For example, refer to Patent Document 1).
In general, in a system in which a recording apparatus and a processing apparatus cooperate to execute various processes, such as the system described in Patent Document 1, the processing apparatus includes a printer driver for controlling the recording apparatus and a predetermined process. Applications are installed, and various processes including processing of information input from an input device such as a barcode scanner are executed by the functions of these applications and the printer driver.

特開平5−73769号公報JP-A-5-73769

ところで、特許文献1に記載されたシステムのように、POSシステムではバーコードスキャナー等の各種の入力デバイスが用いられ、入力デバイスが接続される装置には各入力装置に対応したデバイスドライバーがインストールされる。このため、入力デバイスの数や種類が多くなるにつれて必要なデバイスドライバーも多くなり、デバイスドライバーのインストールに関する管理の手間が増えるといった問題があった。この問題を解消するため汎用のデバイスドライバーを利用することが考えられるが、POSシステムで使用される入力デバイスは商取引に係る各種のデータを入力するものであるから、どの種類の入力デバイスが入力したデータかを明確に区別して処理する必要がある。一般的な汎用のデバイスドライバーは、汎用性を確保するため、制御対象のデバイスを同種のデバイスとして制御する。このため、異なる種類の入力デバイスを種類毎に制御するためには、入力デバイスの種類毎にデバイスドライバーを用意する必要があり、汎用のデバイスドライバーを利用するメリットが損なわれるという問題があった。
本発明は、上述した事情に鑑みてなされたものであり、異なる種類の複数の入力デバイスを備えたPOSシステムにおいて入力デバイスを制御するデバイスドライバーの管理の手間を軽減し、効率よく入力デバイスを制御できるようにすることを目的とする。
By the way, as in the system described in Patent Document 1, various input devices such as a barcode scanner are used in the POS system, and a device driver corresponding to each input device is installed in an apparatus to which the input device is connected. The For this reason, as the number and types of input devices increase, the number of necessary device drivers increases, and there is a problem that the management effort related to device driver installation increases. It is conceivable to use a general-purpose device driver to solve this problem. However, since the input device used in the POS system inputs various data related to commerce, which type of input device is used for input. It is necessary to clearly distinguish the data. A general general-purpose device driver controls a device to be controlled as the same type of device in order to ensure versatility. For this reason, in order to control different types of input devices for each type, it is necessary to prepare a device driver for each type of input device, and there is a problem that the merit of using a general-purpose device driver is impaired.
The present invention has been made in view of the above-described circumstances, and reduces the labor of managing a device driver for controlling an input device in a POS system having a plurality of different types of input devices, thereby efficiently controlling the input devices. The purpose is to be able to.

上記目的を達成するために、本発明のPOSシステムは、取引情報を処理するPOSアプリケーションを動作させる処理装置と、データを出力する入力デバイスと、前記入力デバイスと接続して前記入力デバイスから出力されたデータが入力される入力部、前記入力デバイスからの前記データに基づき入力データを生成しデバイス情報を取得するデバイスドライバーを実行させるとともに前記デバイス情報に基づいて前記入力データを出力するか否かを判定するフィルタードライバーを動作させる制御部、前記フィルタードライバーで出力すると判定された前記入力データ及び前記デバイス情報を前記処理装置に出力する出力部、印刷を実行する印刷部、及び前記処理装置と通信する通信部を有し、前記処理装置の制御に基づいて前記印刷部で印刷を実行する印刷装置と、を備えることを特徴とする。
本発明によれば、デバイスドライバーにより入力データが生成され、この入力データに対応する入力デバイスがフィルタードライバーによって特定されるので、入力データを入力デバイスの種類に基づいて処理することが可能となり、POSシステムにおいて入力データを適切に処理できる。そして、入力デバイスを特定するデータをデバイスドライバーが処理する必要がないため、汎用のデバイスドライバーを利用することができ、デバイスドライバーの管理の手間を軽減し、効率よく入力デバイスを制御できる。
In order to achieve the above object, a POS system of the present invention includes a processing device that operates a POS application that processes transaction information, an input device that outputs data, and an output device connected to the input device. Whether or not to output the input data based on the device information while executing a device driver that generates input data based on the data from the input device and acquires device information. A control unit that operates a filter driver to be determined , an output unit that outputs the input data and device information determined to be output by the filter driver to the processing device, a printing unit that executes printing, and a communication with the processing device A printing unit based on the control of the processing device; Characterized in that it and a printing apparatus for executing printing.
According to the present invention, the input data is generated by the device driver, and the input device corresponding to the input data is specified by the filter driver. Therefore, the input data can be processed based on the type of the input device, and the POS. Input data can be processed appropriately in the system. Since the device driver does not need to process data for specifying the input device, a general-purpose device driver can be used, and the input device can be efficiently controlled by reducing the trouble of managing the device driver.

また、本発明は、上記POSシステムにおいて、前記処理装置は、前記POSアプリケーションを動作させるウェブページに基づく画面を生成するウェブブラウザー、及び前記ウェブブラウザーで生成された画面を表示する表示部を備えるものであってもよい。
この場合、ウェブページに基づくウェブブラウザーを利用してPOSアプリケーションを動作させ、取引情報を処理できる。
In the POS system according to the present invention, the processing device includes a web browser that generates a screen based on a web page that operates the POS application, and a display unit that displays the screen generated by the web browser. It may be.
In this case, the transaction information can be processed by operating the POS application using a web browser based on the web page.

また、本発明は、上記POSシステムにおいて、前記入力デバイスで出力されるデータは前記POSアプリケーションで処理される取引情報に関するデータであり、前記処理装置は、前記入力データと、前記デバイス情報とに基づいて、前記POSアプリケーションで取引情報を処理するものであってもよい。
この場合、入力デバイスで出力されるデータに基づきPOSアプリケーションを動作させ、取引情報を処理することができる。
In the POS system, the data output from the input device is data related to transaction information processed by the POS application, and the processing apparatus is based on the input data and the device information. The transaction information may be processed by the POS application.
In this case, the transaction information can be processed by operating the POS application based on the data output from the input device.

また、本発明は、上記POSシステムにおいて、前記フィルタードライバーは、前記デバイスドライバーで前記入力データが生成されたのち、前記POSアプリケーションで指定された条件に該当する入力データを取得するものであってもよい。
この場合、POSアプリケーションの機能によって、フィルタードライバーが取得する入力データに関する条件を指定できる。このため、処理装置や印刷装置においてフィルタードライバーを管理する機能を持たせる必要が無く、汎用的な装置を処理装置として使用できる。また、例えば使用する入力デバイスを変更する場合に、フィルタードライバーが動作する条件をPOSアプリケーションによって変更することが可能となるので、入力デバイスの管理がより容易になる。
In the POS system according to the present invention, the filter driver may acquire input data corresponding to a condition specified by the POS application after the input data is generated by the device driver. Good.
In this case, the condition regarding the input data acquired by the filter driver can be specified by the function of the POS application. For this reason, it is not necessary to provide a function for managing the filter driver in the processing device or the printing device, and a general-purpose device can be used as the processing device. In addition, for example, when changing the input device to be used, the conditions for operating the filter driver can be changed by the POS application, so that the management of the input device becomes easier.

また、上記目的を達成するために、本発明のPOSシステムの制御方法は、入力デバイスで読み取られた情報が印刷装置に出力され、前記入力デバイスからの前記データに基づき前記印刷装置で入力データを生成しデバイス情報を取得し、前記デバイス情報に基づいて前記入力データを出力するか否かをフィルタードライバーで判定し、前記フィルタードライバーで出力すると判定された前記入力データ及び前記デバイス情報を印刷装置から処理装置に出力し、前記処理装置で前記入力データ及び前記デバイス情報に基づいて、POSアプリケーションで処理し、前記POSアプリケーションで処理された取引情報を前記印刷装置に送信し、送信された前記取引情報に基づいて、前記印刷装置で印刷することを特徴とする。
本発明の制御方法によれば、デバイスドライバーにより入力データが生成され、この入力データに対応する入力デバイスがフィルタードライバーによって特定されるので、入力データを入力デバイスの種類に基づいて処理することが可能となり、POSシステムにおいて入力データを適切に処理できる。そして、入力デバイスを特定するデータをデバイスドライバーが処理する必要がないため、汎用のデバイスドライバーを利用することができ、デバイスドライバーの管理の手間を軽減し、効率よく入力デバイスを制御できる。
また、本発明は、上記POSシステムの制御方法において、前記処理装置は、OSアプリケーションを動作させるウェブページに基づく画面を生成するウェブブラウザー、及び前記ウェブブラウザーで生成された画面を表示してもよい。
また、本発明は、上記POSシステムの制御方法において、前記入力デバイスで出力されるデータは前記POSアプリケーションで処理される取引情報に関するデータであり、前記処理装置は、前記入力データと、前記デバイス情報とに基づいて、前記POSアプリケーションで取引情報を処理してもよい。
また、本発明は、上記POSシステムの制御方法において、前記フィルタードライバーは、前記入力データが生成されたのち、前記POSアプリケーションで指定された条件に該当する入力データを取得してもよい。
In order to achieve the above object, according to the POS system control method of the present invention, information read by an input device is output to a printing apparatus, and input data is output by the printing apparatus based on the data from the input device. generated acquires device information, whether to output the input data determined by the filter driver, the input data and the device information is determined to be output by the filter driver from the printing device based on the device information Output to the processing apparatus, processed by the POS application based on the input data and the device information in the processing apparatus, and transmitted the transaction information processed by the POS application to the printing apparatus, and the transmitted transaction information Based on the above, printing is performed by the printing apparatus.
According to the control method of the present invention, the input data is generated by the device driver, and the input device corresponding to the input data is specified by the filter driver, so that the input data can be processed based on the type of the input device. Thus, the input data can be appropriately processed in the POS system. Since the device driver does not need to process data for specifying the input device, a general-purpose device driver can be used, and the input device can be efficiently controlled by reducing the trouble of managing the device driver.
In the POS system control method according to the present invention, the processing device may display a web browser that generates a screen based on a web page that runs an OS application, and a screen generated by the web browser. .
In the POS system control method according to the present invention, the data output from the input device is data related to transaction information processed by the POS application, and the processing apparatus includes the input data, the device information, and the like. And transaction information may be processed by the POS application.
In the POS system control method according to the present invention, the filter driver may acquire input data corresponding to a condition specified by the POS application after the input data is generated.

また、本発明の印刷装置は、入力デバイスと接続して前記入力デバイスから出力されたデータが入力される入力部と、前記入力デバイスからの前記データに基づき入力データを生成しデバイス情報を取得するデバイスドライバーを実行させるとともに前記デバイス情報に基づいて前記入力データを出力するか否かを判定するフィルタードライバーを動作させる制御部と、前記フィルタードライバーで出力すると判定された前記入力データ及び前記デバイス情報を出力する出力部と、印刷を実行する印刷部と、処理装置と通信する通信部と、を有し、前記処理装置の制御に基づいて前記印刷部で印刷を実行することを特徴とする。
本発明によれば、印刷装置が、デバイスドライバーが生成した入力データをフィルタードライバーによって取得し、入力データに対応する入力デバイスを特定するので、処理装置は、入力データを入力デバイスの種類に基づいて処理できる。これにより、POSシステムにおいて入力データを適切に処理できる。そして、デバイスドライバーが入力デバイスを特定するデータを処理する必要がないため、汎用のデバイスドライバーを利用できる。また、デバイスドライバーの管理の手間を軽減し、効率よく入力デバイスを制御できる。
In addition, the printing apparatus of the present invention is connected to an input device to input data output from the input device, generates input data based on the data from the input device, and acquires device information A control unit that operates a filter driver that determines whether or not to output the input data based on the device information while executing the device driver, and the input data and the device information that are determined to be output by the filter driver. An output unit that outputs data, a printing unit that executes printing, and a communication unit that communicates with a processing device, and the printing unit executes printing based on control of the processing device.
According to the present invention, the printing apparatus acquires the input data generated by the device driver by the filter driver, and specifies the input device corresponding to the input data. Therefore, the processing apparatus determines the input data based on the type of the input device. It can be processed. Thereby, input data can be appropriately processed in the POS system. Since the device driver does not need to process data for specifying the input device, a general-purpose device driver can be used. In addition, the management of device drivers can be reduced and input devices can be controlled efficiently.

本実施形態に係る制御システムの概略構成ブロック図である。It is a schematic block diagram of the control system which concerns on this embodiment. 制御システムの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of a control system. 制御システムのソフトウェア構成を模式的に示す図である。It is a figure which shows the software structure of a control system typically. プリンターの動作を示すフローチャートである。3 is a flowchart illustrating an operation of a printer. タブレット端末に表示されるユーザーインターフェイスを示す図である。It is a figure which shows the user interface displayed on a tablet terminal.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係る制御システム1の概略構成ブロック図である。
制御システム1は、ショッピングセンターや、百貨店等の店舗に適用され、店舗における商品の販売の状況や、商品の在庫の状況、売り上げの状況等を管理するいわゆるPOSシステムの一部であり、少なくとも、店舗に複数設けられたレジカウンターLにおいて、顧客が購入した商品に応じた会計をする機能、及び、顧客の代金の支払いに応じてレシートを発行する機能を有している。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic block diagram of a control system 1 according to the present embodiment.
The control system 1 is applied to a shopping center, a store such as a department store, and is a part of a so-called POS system that manages the state of sales of products in a store, the status of inventory of products, the status of sales, and the like. A plurality of cashier counters L provided in the store have a function of accounting according to the products purchased by the customer and a function of issuing a receipt according to payment of the customer's price.

制御システム1が適用された店舗では、複数のレジカウンターLが設けられており、レジカウンターLごとに、タブレット端末10(処理装置)と、このタブレット端末10に接続されたプリンター11(印刷装置)とが設けられている。タブレット端末10と、プリンター11とは、Ethernet(登録商標)の規格に準拠した無線LAN5(ネットワーク)を介して通信可能に接続されている。
タブレット端末10は、タブレット型(板状)のコンピューターである。本実施形態では、タブレット端末10は、前面のほぼ全域にタッチパネル10a(表示部。図2参照。)が設けられ、各種情報をタッチパネル10aに表示する。また、タッチパネル10aは接触操作を検出する静電容量式や感圧式のセンサー(図示略)を備え、このセンサーによってタッチパネル10aに対するタッチ操作を検出して入力を受け付ける構成であり、外付けのキーボードや表示パネル等が接続されていない。
In a store to which the control system 1 is applied, a plurality of cashier counters L are provided. For each cashier counter L, a tablet terminal 10 (processing device) and a printer 11 (printing device) connected to the tablet terminal 10 are provided. And are provided. The tablet terminal 10 and the printer 11 are communicably connected via a wireless LAN 5 (network) conforming to the Ethernet (registered trademark) standard.
The tablet terminal 10 is a tablet (plate-shaped) computer. In the present embodiment, the tablet terminal 10 is provided with a touch panel 10a (display unit; see FIG. 2) on almost the entire front surface, and displays various information on the touch panel 10a. In addition, the touch panel 10a includes a capacitance type or pressure sensitive sensor (not shown) that detects a touch operation, detects a touch operation on the touch panel 10a by the sensor, and receives an input. The display panel is not connected.

プリンター11は、少なくともレシートを発行する機能を有している。プリンター11には、商品や、商品の包装に付されたバーコードを読み取るバーコードスキャナー12(入力デバイス)、顧客の会員カード等を読み取るカードリーダー13(入力デバイス)、紙幣や、貨幣、金券等を収納するキャッシュドロワー14、会計に関する情報を顧客に提示するカスタマーディスプレイ15等が外部デバイスとして接続されている(いずれも図2参照)。これら外部デバイスのうち、バーコードスキャナー12及びカードリーダー13は、USB規格に準拠したケーブルによってプリンター11に有線接続され、プリンター11との間でUSB規格に準拠した通信プロトコルを実行する。また、カスタマーディスプレイ15はRS−232C規格に準拠したケーブルによってプリンター11に有線接続され、プリンター11との間でシリアル通信を実行する。なお、これら外部デバイスの一部または全部を、Bluetooth(登録商標)やワイヤレスUSB等の近距離無線通信方式によってプリンター11に接続することも可能である。
無線LAN5には、POSサーバー17(サーバー)が接続されている。POSサーバー17は、商品を管理するデータベースや、売り上げを管理するデータベース、在庫を管理するデータベース等を備え、これらデータベースを利用して、制御システム1全体を統括的に管理する。POSサーバー17と、タブレット端末10との関係については、後に詳述する。
The printer 11 has at least a function of issuing a receipt. The printer 11 includes a barcode scanner 12 (input device) that reads a product and a barcode attached to the package of the product, a card reader 13 (input device) that reads a customer's membership card, bills, money, cash vouchers, and the like. Are connected as external devices (see FIG. 2). Among these external devices, the barcode scanner 12 and the card reader 13 are connected to the printer 11 by a cable compliant with the USB standard, and execute a communication protocol compliant with the USB standard with the printer 11. The customer display 15 is connected to the printer 11 by a cable conforming to the RS-232C standard, and executes serial communication with the printer 11. Note that some or all of these external devices can be connected to the printer 11 by a short-range wireless communication method such as Bluetooth (registered trademark) or wireless USB.
A POS server 17 (server) is connected to the wireless LAN 5. The POS server 17 includes a database for managing merchandise, a database for managing sales, a database for managing inventory, and the like, and comprehensively manages the control system 1 using these databases. The relationship between the POS server 17 and the tablet terminal 10 will be described in detail later.

図2は、制御システム1を構成するタブレット端末10、プリンター11、及び、POSサーバー17の機能的構成を模式的に示すブロック図である。
図2に示すように、プリンター11は、プリンター制御部20と、プリンターユニット21と、プリンター側インターフェイス23(I/F)と、USBインターフェイス25a(入力部)と、シリアルインターフェイス25bとを備えている。
プリンター制御部20は、プリンター11の各部を中枢的に制御するものであり、CPU、RAM、ROM、その他の周辺回路等を備えている。プリンター11には、プリンターユニット21を制御するプリンタードライバー、USBインターフェイス25aに接続されたバーコードスキャナー12及びカードリーダー13を含む機器を制御するデバイスドライバー、シリアルインターフェイス25bに接続されたカスタマーディスプレイ15を制御するデバイスドライバー、タブレット端末10との間で所定の規格に準拠して通信を行う通信ドライバー、及び、これらのドライバープログラムの機能を利用してプリンター11を制御するオペレーティングシステム(OS)がインストールされている。さらに、プリンター11には、デバイスドライバー実行部20fが実行するデバイスドライバーの機能により生成される入力データを検出して取得するフィルタードライバーがインストールされている。プリンター11のソフトウェア構成については図3を参照して後述する。
プリンター制御部20は、プリンタードライバーを実行するプリンタードライバー実行部20a、通信用ドライバーを実行する通信用ドライバー実行部20b、フィルタードライバーを実行するフィルタードライバー実行部20g、及びデバイスドライバーを実行するデバイスドライバー実行部20fを有している。
FIG. 2 is a block diagram schematically illustrating functional configurations of the tablet terminal 10, the printer 11, and the POS server 17 that configure the control system 1.
As shown in FIG. 2, the printer 11 includes a printer control unit 20, a printer unit 21, a printer-side interface 23 (I / F), a USB interface 25a (input unit), and a serial interface 25b. .
The printer control unit 20 centrally controls each unit of the printer 11 and includes a CPU, a RAM, a ROM, other peripheral circuits, and the like. The printer 11 controls a printer driver that controls the printer unit 21, a device driver that controls devices including the barcode scanner 12 and the card reader 13 connected to the USB interface 25a, and a customer display 15 that is connected to the serial interface 25b. A device driver that communicates with the tablet terminal 10 in accordance with a predetermined standard, and an operating system (OS) that controls the printer 11 using the functions of these driver programs. Yes. Further, the printer 11 is installed with a filter driver that detects and acquires input data generated by the function of the device driver executed by the device driver execution unit 20f. The software configuration of the printer 11 will be described later with reference to FIG.
The printer control unit 20 includes a printer driver execution unit 20a that executes a printer driver, a communication driver execution unit 20b that executes a communication driver, a filter driver execution unit 20g that executes a filter driver, and a device driver execution that executes a device driver. It has a portion 20f.

プリンターユニット21は、ロール紙に画像を記録して、切断することによりレシートを発行するユニットであり、各機構を制御する制御回路のほか、ロール紙を所定方向に搬送する搬送機構や、記録ヘッドによってロール紙に画像を記録する記録機構、ロール紙を切断する切断機構等を備えている。本実施形態では、プリンター制御部20、特にプリンタードライバー実行部20aと、プリンターユニット21とが協働して印刷部として機能する。
USBインターフェイス25aは、複数のUSBコネクター(図示略)、及び、これらのUSBコネクターを介して、入力デバイスを含む各種デバイスを制御するUSBホストコントローラー(図示略)を備えている。USBインターフェイス25aの各USBコネクターには、バーコードスキャナー12及びカードリーダー13がそれぞれ接続されている。USBインターフェイス25aは、デバイスがUSBコネクターに接続されたことを検出した場合に、接続されたデバイスを識別する識別情報を付与し、プリンター制御部20のデバイスドライバー実行部20fに対して接続検出を通知する。また、USBインターフェイス25aは、バーコードスキャナー12またはカードリーダー13からデータ出力要求を受けた場合に、このデータ出力要求に応答してバーコードスキャナー12またはカードリーダー13が出力するデータを受信し、識別情報とともにデバイスドライバー実行部20fに出力する。
The printer unit 21 is a unit that records an image on roll paper and issues a receipt by cutting it. In addition to a control circuit that controls each mechanism, a transport mechanism that transports roll paper in a predetermined direction, a recording head, and the like Are provided with a recording mechanism for recording an image on roll paper, a cutting mechanism for cutting roll paper, and the like. In the present embodiment, the printer control unit 20, particularly the printer driver execution unit 20a, and the printer unit 21 cooperate to function as a printing unit.
The USB interface 25a includes a plurality of USB connectors (not shown) and a USB host controller (not shown) that controls various devices including input devices via these USB connectors. A barcode scanner 12 and a card reader 13 are connected to each USB connector of the USB interface 25a. When the USB interface 25a detects that a device is connected to the USB connector, the USB interface 25a gives identification information for identifying the connected device, and notifies the device driver execution unit 20f of the printer control unit 20 of connection detection. To do. Further, when the USB interface 25a receives a data output request from the barcode scanner 12 or the card reader 13, the USB interface 25a receives the data output from the barcode scanner 12 or the card reader 13 in response to the data output request, and identifies it. The information is output to the device driver execution unit 20f together with the information.

ここで、プリンタードライバー実行部20aに接続されるバーコードスキャナー12やカードリーダー13等のデバイスの識別情報は、例えば、各デバイスが有するベンダーID及びプロダクトIDをUSBインターフェイス25aが取得して、このベンダーID及びプロダクトIDを識別情報として用いることができる。また、USBインターフェイス25aが備える各コネクターに固有の識別情報が付されており、USBインターフェイス25aにデバイスが接続された場合に、そのデバイスが接続されたコネクターの識別情報を、そのデバイスの識別情報として用いてもよい。さらに、USBインターフェイス25aによりデバイスの接続が検出され、デバイスドライバー実行部20fに対し接続検出が通知された場合に、デバイスドライバー実行部20fの機能によりデバイスの識別情報が付与され、付与された識別情報をデバイスドライバー実行部20f及びUSBインターフェイス25aが記憶する構成としてもよい。   Here, as the identification information of the devices such as the barcode scanner 12 and the card reader 13 connected to the printer driver execution unit 20a, the USB interface 25a obtains the vendor ID and product ID of each device, for example, and this vendor The ID and product ID can be used as identification information. Further, each connector included in the USB interface 25a has unique identification information. When a device is connected to the USB interface 25a, the identification information of the connector to which the device is connected is used as the identification information of the device. It may be used. Further, when the connection of the device is detected by the USB interface 25a and the connection detection is notified to the device driver execution unit 20f, the device identification information is given by the function of the device driver execution unit 20f. May be stored in the device driver execution unit 20f and the USB interface 25a.

デバイスドライバー実行部20fは、マスストレージクラス、HID(Human Interface Device)クラス等の各デバイスクラスに対応したUSBデバイスドライバーを実行可能である。デバイスドライバー実行部20fは、プリンタードライバー実行部20aから接続検出が通知されると、接続されたデバイスのクラスを識別して、このデバイスのクラスに対応するデバイスドライバーを実行する。例えば、デバイスドライバー実行部20fは、プリンタードライバー実行部20aにバーコードスキャナー12またはカードリーダー13が接続された場合、HIDクラスに対応するHIDクラスドライバーを実行する。バーコードスキャナー12によってバーコードが読み取られた場合、或いは、カードリーダー13によりカードが読み取られた場合に、USBインターフェイス25aが入力データとともに識別情報をデバイスドライバー実行部20fに出力する。デバイスドライバー実行部20fは、入力された入力データ及び識別情報を取得する。ここで、デバイスドライバー実行部20fは、各デバイスクラスに対応したUSBデバイスドライバーを実行するので、プリンタードライバー実行部20aに接続された各デバイスをクラスにより分類するが、各デバイスの種類は識別しない。例えば、バーコードスキャナー12及びカードリーダー13は、いずれもHIDクラスに属するデバイスである。このため、デバイスドライバー実行部20fは、バーコードスキャナー12及びカードリーダー13により読み取られたデータを、HIDデバイスから入力されたデータとして同様に処理する。
デバイスドライバー実行部20fは、USBインターフェイス25aから入力されたデータに、このデータを入力したデバイスの識別情報を付加して、後述するプリンター11のオペレーティングシステムに出力する。
The device driver execution unit 20f can execute a USB device driver corresponding to each device class such as a mass storage class and an HID (Human Interface Device) class. When connection detection is notified from the printer driver execution unit 20a, the device driver execution unit 20f identifies the class of the connected device and executes the device driver corresponding to this device class. For example, when the barcode scanner 12 or the card reader 13 is connected to the printer driver execution unit 20a, the device driver execution unit 20f executes an HID class driver corresponding to the HID class. When the barcode is read by the barcode scanner 12, or when the card is read by the card reader 13, the USB interface 25a outputs identification information together with input data to the device driver execution unit 20f. The device driver execution unit 20f acquires the input data and identification information that have been input. Here, since the device driver execution unit 20f executes the USB device driver corresponding to each device class, each device connected to the printer driver execution unit 20a is classified by class, but the type of each device is not identified. For example, the barcode scanner 12 and the card reader 13 are both devices belonging to the HID class. Therefore, the device driver execution unit 20f similarly processes the data read by the barcode scanner 12 and the card reader 13 as data input from the HID device.
The device driver execution unit 20f adds the identification information of the device that has input this data to the data input from the USB interface 25a, and outputs it to the operating system of the printer 11 to be described later.

フィルタードライバー実行部20gは、グラフィックディスプレイ、プリンターやイーサネット(登録商標)ボードなど、ある特定の入出力デバイス(拡張カードや周辺機器などのハードウェア)を制御し、アプリケーションソフトウェアに対して抽象化したインターフェイスを提供するソフトウェアであるフィルタードライバーと称されるプログラムを実行する。フィルタードライバー実行部20gは、デバイスドライバー実行部20fがオペレーティングシステムに出力する入力データと識別情報とをフックして取得する。フィルタードライバー実行部20gは、取得した識別情報が、予め指定された条件に該当する場合に、取得した識別情報と入力データとを、通信用ドライバー実行部20bの機能によりプリンター側インターフェイス23を介してタブレット端末10に送信する。   The filter driver execution unit 20g controls a specific input / output device (hardware such as an expansion card or a peripheral device) such as a graphic display, a printer, or an Ethernet (registered trademark) board, and is an interface abstracted to application software. A program called a filter driver is executed. The filter driver execution unit 20g hooks and acquires input data output from the device driver execution unit 20f to the operating system and identification information. When the acquired identification information satisfies a predesignated condition, the filter driver execution unit 20g sends the acquired identification information and input data via the printer-side interface 23 by the function of the communication driver execution unit 20b. It transmits to the tablet terminal 10.

また、シリアルインターフェイス25bは、デバイスドライバー実行部20fからカスタマーディスプレイ15に表示する文字データが入力されると、入力された文字データをカスタマーディスプレイ15に出力して表示を実行させる。   Further, when the character data to be displayed on the customer display 15 is input from the device driver execution unit 20f, the serial interface 25b outputs the input character data to the customer display 15 to execute the display.

プリンター側インターフェイス23(I/F)は、プリンター制御部20の制御の下、タブレット端末10と通信規格に準拠した通信を行う。本実施形態では、プリンター制御部20(特に、通信用ドライバー実行部20b)と、プリンター側インターフェイス23とが協働して出力部として機能する。   The printer-side interface 23 (I / F) communicates with the tablet terminal 10 in accordance with a communication standard under the control of the printer control unit 20. In the present embodiment, the printer control unit 20 (particularly the communication driver execution unit 20b) and the printer-side interface 23 cooperate to function as an output unit.

タブレット端末10は、図2に示すように、端末制御部26と、タッチパネル10aと、端末側インターフェイス27(I/F)と、を備えている。
端末制御部26は、タブレット端末10の各部を中枢的に制御するものであり、CPUや、ROM、RAM、その他の周辺回路等を備えている。端末制御部26は、所定のブラウザーを実行する機能ブロックであるブラウザー実行部26aを備えている。
タッチパネル10aは、端末制御部26の制御の下、液晶表示パネル等の表示パネルに各種情報を表示すると共に、タッチパネル10aに対するタッチ操作を検出し、端末制御部26に出力する。
As shown in FIG. 2, the tablet terminal 10 includes a terminal control unit 26, a touch panel 10 a, and a terminal-side interface 27 (I / F).
The terminal control unit 26 centrally controls each unit of the tablet terminal 10 and includes a CPU, a ROM, a RAM, and other peripheral circuits. The terminal control unit 26 includes a browser execution unit 26a that is a functional block for executing a predetermined browser.
The touch panel 10a displays various information on a display panel such as a liquid crystal display panel under the control of the terminal control unit 26, detects a touch operation on the touch panel 10a, and outputs the detected touch operation to the terminal control unit 26.

ブラウザー実行部26a(制御手段)は、後述するウェブブラウザーを実行する。
端末制御部26は、ブラウザー実行部26aが実行するウェブブラウザーの機能により生成された表示データに基づき、タッチパネル10aにブラウザー画面を表示する。
端末側インターフェイス27(I/F)は、端末制御部26の制御の下、プリンター11、及び、POSサーバー17と通信規格に準拠した通信を行う。
The browser execution unit 26a (control means) executes a web browser to be described later.
The terminal control unit 26 displays a browser screen on the touch panel 10a based on display data generated by a web browser function executed by the browser execution unit 26a.
The terminal side interface 27 (I / F) communicates with the printer 11 and the POS server 17 in accordance with the communication standard under the control of the terminal control unit 26.

POSサーバー17(外部の装置)は、商品に関する情報を格納したデータベース、売り上げを管理するデータベース、在庫を管理するデータベース等を備え、これらデータベースを利用して、制御システム1全体を統括的に管理する。
POSサーバー17は、図2に示すように、サーバー制御部30と、サーバー記憶部31と、サーバー側インターフェイス32(I/F)と、を備えている。
サーバー制御部30は、POSサーバー17の各部を中枢的に制御するものであり、CPUや、ROM、RAM、その他の周辺回路等を備えている。サーバー記憶部31は、ハードディスクや、EEPROM等の不揮発性メモリーを備え、各種データを書き換え可能に記憶する。サーバー側インターフェイス32は、サーバー制御部30の制御の下、タブレット端末10との間で通信規格に準拠した通信を行う。
サーバー記憶部31には、ウェブアプリケーション35(POSアプリケーション)がロード可能に記憶されている。そして、サーバー制御部30のアプリケーション実行部30aは、ウェブアプリケーション35を実行する機能ブロックである。
The POS server 17 (external device) includes a database that stores information related to merchandise, a database that manages sales, a database that manages inventory, and the like, and manages the entire control system 1 using these databases. .
As illustrated in FIG. 2, the POS server 17 includes a server control unit 30, a server storage unit 31, and a server-side interface 32 (I / F).
The server control unit 30 centrally controls each unit of the POS server 17 and includes a CPU, a ROM, a RAM, other peripheral circuits, and the like. The server storage unit 31 includes a hard disk and a nonvolatile memory such as an EEPROM, and stores various data in a rewritable manner. The server-side interface 32 performs communication based on the communication standard with the tablet terminal 10 under the control of the server control unit 30.
The server storage unit 31 stores a web application 35 (POS application) so that it can be loaded. The application execution unit 30 a of the server control unit 30 is a functional block that executes the web application 35.

図3は、制御システム1を構成するPOSサーバー17、タブレット端末10、及びプリンター11のソフトウェア構成を模式的に示す図である。なお図3には各装置を構成するソフトウェアの概略構成を示しており、各装置の機能のうち図3に示していないソフトウェアにより実現される機能があることは勿論である。
POSサーバー17は、サーバー制御部30(図2)が実行するオペレーティングシステム171と、このオペレーティングシステム171上で動作するPOSアプリケーションプログラム172とを有する。POSアプリケーションプログラム172はアプリケーション実行部30a(図2)により実行されるプログラムであり、サーバー記憶部31(図2)にウェブアプリケーション35として記憶されている。
FIG. 3 is a diagram schematically illustrating software configurations of the POS server 17, the tablet terminal 10, and the printer 11 that constitute the control system 1. Note that FIG. 3 shows a schematic configuration of software constituting each device, and of course, there is a function realized by software not shown in FIG. 3 among the functions of each device.
The POS server 17 includes an operating system 171 executed by the server control unit 30 (FIG. 2) and a POS application program 172 operating on the operating system 171. The POS application program 172 is a program executed by the application execution unit 30a (FIG. 2), and is stored as the web application 35 in the server storage unit 31 (FIG. 2).

POSアプリケーションプログラム172は、制御システム1がPOSを管理する処理を実行するプログラムである。
POSアプリケーションプログラム172は、タブレット端末10から要求されたウェブページのデータを生成し、或いはサーバー記憶部31(図2)から読み出して、タブレット端末10に送信する。また、POSアプリケーションプログラム172は、タブレット端末10から、POSアプリケーションプログラム172の実行を要求するデータと、POSアプリケーションプログラム172で処理するデータが送信された場合に、これらのデータをオペレーティングシステム171の機能により受信する。POSアプリケーションプログラム172は、タブレット端末10から送信されるデータに基づく会計処理を実行し、処理結果をタブレット端末10に送信する。
The POS application program 172 is a program for executing processing for managing the POS by the control system 1.
The POS application program 172 generates web page data requested from the tablet terminal 10, or reads it from the server storage unit 31 (FIG. 2) and transmits it to the tablet terminal 10. The POS application program 172 receives the data for requesting the execution of the POS application program 172 and the data processed by the POS application program 172 from the tablet terminal 10 according to the function of the operating system 171. Receive. The POS application program 172 executes an accounting process based on data transmitted from the tablet terminal 10 and transmits a processing result to the tablet terminal 10.

タブレット端末10は、オペレーティングシステム101と、オペレーティングシステム101上で動作するアプリケーションプログラムであるウェブブラウザー102と、オペレーティングシステム101の制御の下にタッチパネル10aを制御するディスプレイドライバー103とを有する。オペレーティングシステム101、ディスプレイドライバー103はタブレット端末10の端末制御部26(図2)により実行され、ウェブブラウザー102はブラウザー実行部26a(図2)により実行される。   The tablet terminal 10 includes an operating system 101, a web browser 102 that is an application program that runs on the operating system 101, and a display driver 103 that controls the touch panel 10 a under the control of the operating system 101. The operating system 101 and the display driver 103 are executed by the terminal control unit 26 (FIG. 2) of the tablet terminal 10, and the web browser 102 is executed by the browser execution unit 26a (FIG. 2).

ウェブブラウザー102は、HTML等のマークアップ言語やスクリプト言語で記述されたウェブページを、POSサーバー17からダウンロードする。ダウンロードされたウェブページのデータは、例えば図示しないRAMに記憶される。ウェブブラウザー102は、ダウンロードされたウェブページのデータを読み込み、このウェブページを表示する表示データを生成して、オペレーティングシステム101に出力する。オペレーティングシステム101は、ウェブブラウザー102が生成した表示データをディスプレイドライバー103に出力し、この表示データに基づいてディスプレイドライバー103がタッチパネル10aを駆動し、画面を表示する。   The web browser 102 downloads a web page described in a markup language such as HTML or a script language from the POS server 17. The downloaded web page data is stored in a RAM (not shown), for example. The web browser 102 reads the downloaded web page data, generates display data for displaying the web page, and outputs the display data to the operating system 101. The operating system 101 outputs display data generated by the web browser 102 to the display driver 103, and the display driver 103 drives the touch panel 10a based on this display data to display a screen.

また、ウェブブラウザー102は、POSサーバー17からダウンロードしたウェブページに、POSアプリケーションプログラム172を実行させるスクリプト等が記述されている場合には、このスクリプト等を実行して、POSサーバー17のPOSアプリケーションプログラム172を実行させる。   If the web page downloaded from the POS server 17 describes a script or the like for executing the POS application program 172, the web browser 102 executes the script or the like to execute the POS application program of the POS server 17. 172 is executed.

オペレーティングシステム101は、タッチパネル10aへのタッチ操作を検出すると、タッチ操作の操作位置を示す座標データを取得し、このタッチ操作により入力された内容を特定し、タッチ操作による入力内容をウェブブラウザー102に出力する。ウェブブラウザー102は、オペレーティングシステム101から入力されたタッチ操作の入力内容に基づいて会計処理用のデータを生成し、このデータをPOSサーバー17へ送信し、POSアプリケーションプログラム172によって当該データに基づく処理を実行させる。ウェブブラウザー102は、POSアプリケーションプログラム172の実行結果をPOSサーバー17から受信して、受信したデータを反映した表示データを生成する。   When the operating system 101 detects a touch operation on the touch panel 10a, the operating system 101 acquires coordinate data indicating the operation position of the touch operation, specifies the content input by the touch operation, and transmits the input content by the touch operation to the web browser 102. Output. The web browser 102 generates accounting processing data based on the input content of the touch operation input from the operating system 101, transmits this data to the POS server 17, and performs processing based on the data by the POS application program 172. Let it run. The web browser 102 receives the execution result of the POS application program 172 from the POS server 17 and generates display data reflecting the received data.

また、プリンター11に接続されたバーコードスキャナー12がバーコードを読み取り、或いは、カードリーダー13が磁気カードを読み取ってデータがプリンター11に入力されると、入力データがプリンター11からタブレット端末10に入力される。このデータには、後述するように、データを入力したデバイスの識別情報を示すデータが付加されている。オペレーティングシステム101は、プリンター11から入力された入力データと識別情報を取得して、ウェブブラウザー102に出力する。
ウェブブラウザー102は、オペレーティングシステム101から入力された入力データを、識別情報とともにオペレーティングシステム101の機能によりPOSサーバー17に送信する。
When the barcode scanner 12 connected to the printer 11 reads the barcode, or when the card reader 13 reads the magnetic card and data is input to the printer 11, the input data is input from the printer 11 to the tablet terminal 10. Is done. As will be described later, data indicating identification information of the device that has input the data is added to this data. The operating system 101 acquires input data and identification information input from the printer 11 and outputs them to the web browser 102.
The web browser 102 transmits the input data input from the operating system 101 to the POS server 17 by the function of the operating system 101 together with the identification information.

POSアプリケーションプログラム172は、タブレット端末10から送信された入力データにデバイスの識別情報が付されている場合、この識別情報に基づいて、入力データを入力したデバイスの種類を特定する。本実施形態では、POSアプリケーションプログラム172は、タブレット端末10から受信した入力データがバーコードスキャナー12により入力されたデータである場合、この入力データを、顧客が購入する商品を特定する商品コードのデータとして処理する。また、タブレット端末10から受信した入力データがカードリーダー13により入力されたデータである場合、このデータが、顧客の会員カードから読み取った会員番号のデータか、顧客が決済に使用するクレジットカードのデータかを判別する。会員番号のデータとクレジットカードのデータとは、データの桁数、データの先頭部分の値が特定の値、POSアプリケーションプログラム172による会計処理の状態等に基づき判別できる。POSアプリケーションプログラム172は、判別結果に基づいて、タブレット端末10から受信した入力データを用いて会計処理を行う。   When device identification information is attached to the input data transmitted from the tablet terminal 10, the POS application program 172 specifies the type of the device that has input the input data based on this identification information. In the present embodiment, when the input data received from the tablet terminal 10 is data input by the barcode scanner 12, the POS application program 172 uses the input data as product code data for specifying a product purchased by the customer. Process as. Further, when the input data received from the tablet terminal 10 is data input by the card reader 13, this data is the member number data read from the customer's member card or the data of the credit card used by the customer for settlement. Is determined. The membership number data and the credit card data can be discriminated based on the number of digits of the data, the value of the head portion of the data being a specific value, the status of the accounting process by the POS application program 172, and the like. The POS application program 172 performs an accounting process using the input data received from the tablet terminal 10 based on the determination result.

プリンター11は、プリンター制御部20が実行するオペレーティングシステム113に加え、デバイスドライバー実行部20f(図2)により実行されるHIDクラスドライバー111と、フィルタードライバー実行部20gにより実行されるフィルタードライバー112とを有する。また、プリンター制御部20は、フィルタードライバー112によりデータを取得するフックデータ要求アプリケーション114を実行する。
HIDクラスドライバー111は、USBインターフェイス25aに接続されたデバイスのうちHIDクラスに属するデバイスを制御し、これらのデバイスから入力される入力データを、オペレーティングシステム113に出力する。HIDクラスドライバー111は、制御対象のデバイスの種類をHIDデバイスとして認識し、HIDデバイスに共通する機能について制御する。すなわち、HIDクラスドライバー111は、USBインターフェイス25aを介して制御対象のデバイスに対して一定時間毎にポーリングを行い、制御対象のデバイスからデータ送信要求がなされた場合にデータ送信を許可して、そのデバイスから出力される入力データを取得する。本実施形態ではHIDクラスドライバー111によりバーコードスキャナー12及びカードリーダー13が制御される。バーコードスキャナー12が読み取ったバーコードのデータ、及び、カードリーダー13がカードの磁気情報を読み取った読取データは、いずれもHIDデバイスからの入力データとして、オペレーティングシステム113の入力インターフェイスに対して出力される。この入力データは、オペレーティングシステム113によって、例えばプリンター11の機能に関する入力データとして処理される。
In addition to the operating system 113 executed by the printer control unit 20, the printer 11 includes an HID class driver 111 executed by the device driver execution unit 20f (FIG. 2) and a filter driver 112 executed by the filter driver execution unit 20g. Have. Further, the printer control unit 20 executes a hook data request application 114 that acquires data by the filter driver 112.
The HID class driver 111 controls devices belonging to the HID class among the devices connected to the USB interface 25a, and outputs input data input from these devices to the operating system 113. The HID class driver 111 recognizes the type of device to be controlled as an HID device, and controls functions common to the HID device. That is, the HID class driver 111 polls the device to be controlled at regular intervals via the USB interface 25a, and permits data transmission when a data transmission request is made from the device to be controlled. Get input data output from the device. In this embodiment, the barcode scanner 12 and the card reader 13 are controlled by the HID class driver 111. Both the barcode data read by the barcode scanner 12 and the read data read by the card reader 13 from the magnetic information of the card are output to the input interface of the operating system 113 as input data from the HID device. The This input data is processed by the operating system 113 as input data relating to the function of the printer 11, for example.

ここで、HIDクラスドライバー111は、HIDデバイスからデータが入力された場合に、データを入力したHIDデバイスの識別情報を、入力データとともにオペレーティングシステム113に出力する。この識別情報は上述したものである。
また、HIDクラスドライバー111がオペレーティングシステム113に入力データと識別情報とを出力する場合、フィルタードライバー112を経由する。
Here, when data is input from the HID device, the HID class driver 111 outputs identification information of the HID device that has input the data to the operating system 113 together with the input data. This identification information is as described above.
Further, when the HID class driver 111 outputs input data and identification information to the operating system 113, it passes through the filter driver 112.

フィルタードライバー112は、HIDクラスドライバー111がオペレーティングシステム113に出力するデータを監視し、予め指定された条件に該当する入力データを取得する機能を有する。上記のようにHIDクラスドライバー111がオペレーティングシステム113に出力するデータはフィルタードライバー112を経由する構成となっているので、フィルタードライバー112は、HIDクラスドライバー111が出力するデータの全て、或いは、少なくともHIDデバイスからの入力データを取得し、データに付されているデバイスの識別情報が指定された条件に該当するか否かを判定する。フィルタードライバー112は、指定された条件に該当するデバイスの識別情報が付されたデータをフックデータ要求アプリケーション114に出力する。
フックデータ要求アプリケーション114は、フィルタードライバー112から入力される入力データを取得し、取得した入力データに付されている識別情報とともに、タブレット端末10に送信する。この入力データと識別情報は、タブレット端末10のオペレーティングシステム101により受信され、ウェブブラウザー102が実行するスクリプトによって会計処理に供される。
さらに、フィルタードライバー112は、HIDクラスドライバー111が出力した入力データが指定された条件に該当するデータである場合、この入力データのオペレーティングシステム113への出力を停止させる。これにより、バーコードスキャナー12やカードリーダー13によって入力された取引情報である商品のバーコードや磁気カードの読取データが、他の用途のデータとして処理されるのを防止できる。
The filter driver 112 has a function of monitoring data output from the HID class driver 111 to the operating system 113 and acquiring input data corresponding to a predetermined condition. Since the data output to the operating system 113 by the HID class driver 111 is configured to pass through the filter driver 112 as described above, the filter driver 112 can perform all of the data output by the HID class driver 111 or at least the HID. Input data from the device is acquired, and it is determined whether or not the device identification information attached to the data satisfies the specified condition. The filter driver 112 outputs data to which the device identification information corresponding to the designated condition is attached to the hook data request application 114.
The hook data request application 114 acquires the input data input from the filter driver 112 and transmits it to the tablet terminal 10 together with the identification information attached to the acquired input data. The input data and the identification information are received by the operating system 101 of the tablet terminal 10 and used for accounting processing by a script executed by the web browser 102.
Furthermore, if the input data output by the HID class driver 111 is data that satisfies the specified condition, the filter driver 112 stops outputting the input data to the operating system 113. Thereby, it is possible to prevent the bar code of the product, which is the transaction information input by the bar code scanner 12 or the card reader 13, or the read data of the magnetic card from being processed as data for other purposes.

図4は、プリンター11の動作を示すフローチャートであり、特に、バーコードスキャナー12及びカードリーダー13を用いてデータを入力する場合の動作を示す。図4中、(A)はHIDクラスドライバー111を実行するデバイスドライバー実行部20fの動作を示し、(B)はフィルタードライバー112を実行するフィルタードライバー実行部20gの動作を示し、(C)はフックデータ要求アプリケーション114を実行するプリンター制御部20の動作を示す。   FIG. 4 is a flowchart showing the operation of the printer 11, and particularly shows the operation when data is input using the barcode scanner 12 and the card reader 13. 4, (A) shows the operation of the device driver execution unit 20f that executes the HID class driver 111, (B) shows the operation of the filter driver execution unit 20g that executes the filter driver 112, and (C) shows the hook. The operation of the printer control unit 20 that executes the data request application 114 is shown.

この図4に示す動作に先立って、フィルタードライバー112がHIDクラスドライバー111の出力データをフックする条件であるフィルタリング条件が、タブレット端末10によって指定される。具体的には、POSアプリケーションプログラム172の機能によってフィルタリング条件が指定され、このフィルタリング条件がウェブブラウザー102からフックデータ要求アプリケーション114に対して指定される。
フックデータ要求アプリケーション114は、フィルタードライバー112に対してフィルタリング条件を指定し(図4(C)のステップS11)、フィルタードライバー112は指定されたフィルタリング条件を設定する(図4(B)のステップS21)。フィルタリング条件は、例えば、プリンター11に接続されている入力デバイスのうち、POSシステムで使用する取引情報を入力する入力デバイスの識別情報である。
Prior to the operation shown in FIG. 4, a filtering condition that is a condition for the filter driver 112 to hook output data of the HID class driver 111 is specified by the tablet terminal 10. Specifically, a filtering condition is specified by the function of the POS application program 172, and this filtering condition is specified from the web browser 102 to the hook data request application 114.
The hook data request application 114 designates a filtering condition to the filter driver 112 (step S11 in FIG. 4C), and the filter driver 112 sets the designated filtering condition (step S21 in FIG. 4B). ). The filtering condition is, for example, identification information of an input device that inputs transaction information used in the POS system among input devices connected to the printer 11.

その後、バーコードスキャナー12またはカードリーダー13により読み取りが行われ、USBインターフェイス25aが読取データを取得して識別情報とともにHIDクラスドライバー111に出力すると、HIDクラスドライバー111は、この読取データと識別情報とを取得する(図4(A)のステップS31)。HIDクラスドライバー111は、読取データに基づいて、HIDクラスのデバイスの入力データを生成し(ステップS32)、生成した入力データと識別情報とをオペレーティングシステム113に対して出力する(ステップS33)。   Thereafter, reading is performed by the barcode scanner 12 or the card reader 13, and when the USB interface 25a acquires the read data and outputs the read data together with the identification information to the HID class driver 111, the HID class driver 111 reads the read data and the identification information. Is acquired (step S31 in FIG. 4A). The HID class driver 111 generates HID class device input data based on the read data (step S32), and outputs the generated input data and identification information to the operating system 113 (step S33).

ここで、フィルタードライバー112は、HIDクラスドライバー111が生成した入力データと識別情報とを検出し(ステップS22)、この識別情報をステップS21で設定したフィルタリング条件と比較する(ステップS23)。フィルタードライバー112は、識別情報がフィルタリング条件に該当するか否かを判定し(ステップS24)、フィルタリング条件に該当する場合は(ステップS24;Yes)、検出した入力データがHIDクラスドライバー111からオペレーティングシステム113への入力データの出力を停止させる(ステップS25)。次いで、フィルタードライバー112は、HIDクラスドライバー111から取得した入力データと識別情報とをフックデータ要求アプリケーション114に出力する(ステップS26)。フックデータ要求アプリケーション114は、フィルタードライバー112から入力される入力データと識別情報とを取得して(ステップS12)、ウェブブラウザー102に出力する(ステップS13)。
また、HIDクラスドライバー111が生成した入力データと識別情報とがフィルタリング条件に該当しない場合には(ステップS24;No)、そのまま本処理を終了する。これにより、この入力データと識別情報はオペレーティングシステム113に出力される。
Here, the filter driver 112 detects the input data and identification information generated by the HID class driver 111 (step S22), and compares this identification information with the filtering condition set in step S21 (step S23). The filter driver 112 determines whether or not the identification information meets the filtering condition (step S24). When the filtering information meets the filtering condition (step S24; Yes), the detected input data is transferred from the HID class driver 111 to the operating system. The output of input data to 113 is stopped (step S25). Next, the filter driver 112 outputs the input data and identification information acquired from the HID class driver 111 to the hook data request application 114 (step S26). The hook data request application 114 acquires input data and identification information input from the filter driver 112 (step S12), and outputs them to the web browser 102 (step S13).
If the input data generated by the HID class driver 111 and the identification information do not meet the filtering condition (step S24; No), the process is terminated as it is. As a result, the input data and identification information are output to the operating system 113.

この図4に示す動作によって、プリンター11に接続された入力デバイスのうち、取引情報の入力に使用される入力デバイスについては、入力データがウェブブラウザー102に入力される。
プリンター11は、デバイスクラス毎の汎用のデバイスドライバーを有し、プリンター11に接続されている入力デバイスをデバイスクラスにより区別するが、それ以上の各デバイスの種類を区別しない。このため、HIDクラスドライバー111は、取引情報に関する入力データであっても、プリンター11の動作に係る設定データ等のプリンター11が処理すべき入力データであっても、同様にオペレーティングシステム113に出力する。本実施形態では、HIDクラスドライバー111が出力するデータをフィルタリングするフィルタードライバー112が、指定されたフィルタリング条件に基づいて入力データを検出することで、取引情報に関する入力データをタブレット端末10に送信するとともに、オペレーティングシステム113への出力を停止させる。このため、取引情報に関する入力データを確実に取得してPOSアプリケーションプログラム172によって処理することができ、取引情報に関するデータが想定されていない処理に供されることもない。そして、この構成を、入力デバイス毎の専用のデバイスドライバーを用いることなく、汎用のHIDクラスドライバー111を用いて実現しているので、デバイスドライバーの管理の手間を軽減できる。
With the operation shown in FIG. 4, among the input devices connected to the printer 11, input data is input to the web browser 102 for input devices used for inputting transaction information.
The printer 11 has a general-purpose device driver for each device class, and distinguishes input devices connected to the printer 11 according to the device class, but does not distinguish the types of devices beyond that. For this reason, the HID class driver 111 similarly outputs to the operating system 113 whether input data relating to transaction information or input data to be processed by the printer 11 such as setting data relating to the operation of the printer 11. . In the present embodiment, the filter driver 112 that filters the data output by the HID class driver 111 detects input data based on the specified filtering condition, thereby transmitting input data related to transaction information to the tablet terminal 10. The output to the operating system 113 is stopped. For this reason, input data relating to transaction information can be reliably acquired and processed by the POS application program 172, and data relating to transaction information is not subjected to processing that is not assumed. Since this configuration is realized by using the general-purpose HID class driver 111 without using a dedicated device driver for each input device, it is possible to reduce the trouble of managing the device driver.

図5は、タブレット端末10によりタッチパネル10a上に表示される画面の一例として、画面4aを示す図である。この図5に示す画面4aは、POS用の専用ユーザーインターフェイスUIの一例である。
画面4aには、タブレット端末10が商品販売に係る会計処理を行うPOS端末として動作するために必要な情報が表示される表示エリア、及び、必要なデータを入力するための入力フィールドが配置されている。
表示エリアとしては、顧客が購入した商品の名称、商品の単価、及び、商品の数量が一覧表示される一覧表示エリア39がある。
また、入力フィールドとしては、金額入力フィールド40、バーコード情報入力フィールド41、会員番号入力フィールド42、及び、アドレス入力フィールド44が配置されている。これらの入力フィールドには、会計処理時にデータが入力され、入力された各種情報が表示される。
さらに、画面4aには、各入力フィールドに数値を入力するためのソフトウェアテンキー43が表示されている。入力フィールドへのタッチ操作によって入力対象の入力フィールドが選択され、ソフトウェアテンキー43へのタッチ操作により、選択された入力フィールドに数値が入力される。
FIG. 5 is a diagram illustrating a screen 4 a as an example of a screen displayed on the touch panel 10 a by the tablet terminal 10. The screen 4a shown in FIG. 5 is an example of a dedicated user interface UI for POS.
On the screen 4a, a display area for displaying information necessary for the tablet terminal 10 to operate as a POS terminal for performing accounting processing related to product sales, and an input field for inputting necessary data are arranged. Yes.
As the display area, there is a list display area 39 in which the name of the product purchased by the customer, the unit price of the product, and the quantity of the product are displayed in a list.
As input fields, an amount input field 40, a barcode information input field 41, a member number input field 42, and an address input field 44 are arranged. In these input fields, data is input at the time of accounting processing, and various input information is displayed.
Further, a software numeric keypad 43 for inputting a numerical value in each input field is displayed on the screen 4a. An input field to be input is selected by a touch operation on the input field, and a numerical value is input to the selected input field by a touch operation on the software numeric keypad 43.

金額入力フィールド40には、ソフトウェアテンキー43の操作によって、顧客が購入した商品の合計金額、会計に際して顧客から受け取った預かり金額、顧客に渡すべき釣り銭額、及び、会計に適用される割引の態様を示す情報がそれぞれ入力される。
バーコード情報入力フィールド41には、バーコードスキャナー12によって読み取られたバーコードが表す情報(以下、「バーコード情報」という。)が入力され、表示される。
会員番号入力フィールド42には、カードリーダー13によって顧客の会員カードが読み取られた場合に、当該読み取りによって取得される会員番号が入力され、表示される。
アドレス入力フィールド44には、画面4aの表示中にブラウザー実行部26aがブラウザー機能によってアクセスしているサーバーのURL(アドレス)が表示される。ブラウザー実行部26aがアクセスするURLは通常、予め設定されているので、ソフトウェアテンキー43等により入力する機会は少ない。
In the amount input field 40, the total amount of products purchased by the customer by the operation of the software numeric keypad 43, the deposit amount received from the customer at the time of accounting, the amount of change to be given to the customer, and the mode of discount applied to the accounting Each piece of information is input.
In the barcode information input field 41, information represented by the barcode read by the barcode scanner 12 (hereinafter referred to as “barcode information”) is input and displayed.
In the membership number input field 42, when the customer's membership card is read by the card reader 13, the membership number acquired by the reading is input and displayed.
In the address input field 44, the URL (address) of the server accessed by the browser execution unit 26a by the browser function during display of the screen 4a is displayed. Since the URL accessed by the browser execution unit 26a is normally set in advance, there are few opportunities for input using the software numeric keypad 43 or the like.

この画面4aが表示された状態で、タブレット端末10を操作するユーザーは、カードリーダー13により会員カードを読み込み、バーコードスキャナー12により商品のバーコードを読み取り、ソフトウェアテンキー43の操作によって金額等を入力して、ソフトウェアテンキー43の確定キー等を操作することで、レジの会計処理業務を行う。   With this screen 4a displayed, the user operating the tablet terminal 10 reads the membership card with the card reader 13, reads the barcode of the product with the barcode scanner 12, and inputs the amount by operating the software numeric keypad 43. Then, the cashier accounting process is performed by operating the confirmation key of the software numeric keypad 43 and the like.

つまり、タブレット端末10のブラウザー実行部26aは、POSサーバー17からダウンロードしたウェブページのスクリプトの機能により、カードリーダー13によって顧客の会員カードから読み取られた会員番号を示すデータ、バーコードスキャナー12により読み取られた商品のバーコードを示すデータを取得する。ブラウザー実行部26aは、取得した情報を画面4aの各入力フィールドに表示するとともに、アプリケーション実行部30aに対し、バーコードに対応する商品の名称及び単価を問い合わせる。この問い合わせを受けたアプリケーション実行部30aは、ウェブアプリケーション35の機能により、データベースから必要な情報を取得し、取得した情報をタブレット端末10に送信する。
ブラウザー実行部26aは、スクリプトの機能により、顧客が購入した商品の名称、商品の単価、及び、商品の数量を一覧表示エリア39に表示するとともに、金額入力フィールド40の所定の欄に、購入商品の合計金額を表示する。
That is, the browser execution unit 26 a of the tablet terminal 10 reads the data indicating the membership number read from the customer's membership card by the card reader 13 by the barcode scanner 12 by the script function of the web page downloaded from the POS server 17. Data indicating the bar code of the selected product is acquired. The browser execution unit 26a displays the acquired information in each input field of the screen 4a, and inquires the application execution unit 30a about the name and unit price of the product corresponding to the barcode. Upon receiving this inquiry, the application execution unit 30 a acquires necessary information from the database by the function of the web application 35, and transmits the acquired information to the tablet terminal 10.
The browser execution unit 26a displays the name of the product purchased by the customer, the unit price of the product, and the quantity of the product in the list display area 39 by the function of the script, and the purchased product is displayed in a predetermined column of the amount input field 40. Displays the total amount of.

その後、ユーザーによって、ソフトウェアテンキー43を介して会計すべき商品を確定する旨の操作が行われる。この操作に応じて、ブラウザー実行部26aは、スクリプトの機能により顧客が支払うべき合計金額を算出して、合計金額を金額入力フィールド40の適切な欄に入力する。さらに,ブラウザー実行部26aは、ユーザーが顧客から代金を預かって預かり金額をソフトウェアテンキー43により入力すると、釣り銭の金額を算出して金額入力フィールド40に入力して表示する。次いで、ブラウザー実行部26aは、レシートを印刷するための印刷データを生成して、プリンター11に送信する。プリンター11のプリンタードライバー実行部20aは、タブレット端末10から入力される印刷データに従って、プリンターユニット21を制御し、レシートを印刷する。   Thereafter, the user performs an operation for confirming a product to be checked through the software numeric keypad 43. In response to this operation, the browser execution unit 26a calculates the total amount to be paid by the customer by the function of the script, and inputs the total amount in an appropriate column of the amount input field 40. Further, when the user deposits the price from the customer and inputs the deposit amount with the software numeric keypad 43, the browser execution unit 26a calculates the amount of change and inputs it to the amount input field 40 and displays it. Next, the browser execution unit 26 a generates print data for printing a receipt and transmits the print data to the printer 11. The printer driver execution unit 20a of the printer 11 controls the printer unit 21 according to the print data input from the tablet terminal 10 and prints a receipt.

このように、制御システム1は、タブレット端末10がPOSサーバー17からウェブページをダウンロードして、画面4aを表示するとともにスクリプトを実行することで、ウェブアプリケーション35の機能を用いてPOSシステムとして機能する。このため、タブレット端末10自体に、いわゆるPOSアプリケーションが実装されている必要がない。この構成により、各タブレット端末10が実行するアプリケーションの同一性を維持できると共に、例えば、アプリケーションのバージョンアップに際し、各タブレット端末10に対して、バージョンアップに係る作業を行う必要が無くなり、メンテナンス性が向上する。さらに、タブレット端末10に特別な機能を実装する必要がなく、特別な外付けの機器を接続する必要もないので、少なくともブラウザーがインストールされた汎用品のタブレット端末10を使用できる。   As described above, the control system 1 functions as a POS system using the function of the web application 35 by the tablet terminal 10 downloading the web page from the POS server 17, displaying the screen 4 a and executing the script. . For this reason, it is not necessary to mount a so-called POS application on the tablet terminal 10 itself. With this configuration, the identity of the application executed by each tablet terminal 10 can be maintained, and, for example, when upgrading the application, it is not necessary to perform work related to the upgrade for each tablet terminal 10, and maintainability is improved. improves. Furthermore, since it is not necessary to implement a special function in the tablet terminal 10 and to connect a special external device, it is possible to use a general-purpose tablet terminal 10 in which at least a browser is installed.

以上説明したように、本実施形態における制御システム1は、ウェブブラウザー102の機能により、取引情報を処理するPOSアプリケーションプログラム172を動作させるタブレット端末10と、入力デバイスとしてデータを出力するバーコードスキャナー12、カードリーダー13と、これら入力デバイスに接続され、入力デバイスから入力されたデータが入力されるシリアルインターフェイス25b、USBインターフェイス25a、入力デバイスの出力に基づき入力データを生成するHIDクラスドライバー111を実行させるとともに入力データと入力データに対応する入力デバイスを特定するデバイス情報を取得するフィルタードライバー112を動作させるプリンター制御部20、フィルタードライバー112で取得されたデータをタブレット端末10に出力するプリンター側インターフェイス23、印刷を実行するプリンターユニット21、及びタブレット端末10と通信する通信用ドライバー実行部20b(通信部)を有し、タブレット端末10の制御に基づいてプリンターユニット21で印刷を実行するプリンター11と、を備える。
これにより、汎用のHIDクラスドライバー111を用いて、各入力デバイスが例えばHIDクラスのデバイスとして同一に処理される構成であっても、各入力デバイスの入力データを、POSアプリケーションプログラム172が入力デバイスの種類に基づいて処理できる。これにより、取引情報に係る入力データをPOSシステムとして適切に処理することができる。そして、汎用のデバイスドライバーであるHIDクラスドライバー111を利用することで、デバイスドライバーの管理の手間を軽減し、効率よく入力デバイスを制御できる。
As described above, the control system 1 according to the present embodiment uses the function of the web browser 102 to operate the POS application program 172 that processes transaction information, and the barcode scanner 12 that outputs data as an input device. The card reader 13 is connected to these input devices, and the serial interface 25b to which data input from the input device is input, the USB interface 25a, and the HID class driver 111 that generates input data based on the output of the input device are executed. Acquired by the filter driver 112 and the filter driver 112 that operate the filter driver 112 that acquires the input data and device information that identifies the input device corresponding to the input data. Based on the control of the tablet terminal 10, the printer side interface 23 that outputs data to the tablet terminal 10, the printer unit 21 that executes printing, and the communication driver execution unit 20 b (communication unit) that communicates with the tablet terminal 10 are included. And a printer 11 that performs printing with the printer unit 21.
Thus, even if each input device is processed in the same way as a device of the HID class, for example, using the general-purpose HID class driver 111, the POS application program 172 stores the input data of each input device. Can be processed based on type. Thereby, the input data concerning transaction information can be appropriately processed as a POS system. By using the HID class driver 111, which is a general-purpose device driver, it is possible to reduce the labor of managing the device driver and to control the input device efficiently.

また、タブレット端末10は、POSアプリケーションプログラム172を動作させるウェブページをPOSサーバー17からダウンロードして実行し、ダウンロードしたウェブページに基づく画面を生成するウェブブラウザー102、及び、ウェブブラウザー102により生成された画面を表示するタッチパネル10aを備えるので、タブレット端末10がPOSアプリケーションプログラムを単独で直接実行する環境が無くても、ウェブブラウザー102によってウェブページを処理することで、制御システム1をPOSシステムとして使用できる。   The tablet terminal 10 downloads and executes a web page for operating the POS application program 172 from the POS server 17 and generates a screen based on the downloaded web page. Since the touch panel 10a for displaying the screen is provided, the control system 1 can be used as the POS system by processing the web page by the web browser 102 even if the tablet terminal 10 does not have an environment for directly executing the POS application program alone. .

また、プリンター11が備える入力デバイスの少なくとも一部、すなわちバーコードスキャナー12及びカードリーダー13が出力するデータは取引情報または取引情報に係るデータであり、タブレット端末10は、入力デバイスの出力に基づき生成された入力データと、この入力データを入力した入力デバイスの種類とに基づいて、POSアプリケーションプログラム172によって取引情報を処理する。このため、複数の異なる種類の入力デバイスにより取引情報を入力して、POSシステムとして取引情報を処理できる。
さらに、フィルタードライバー112は、POSアプリケーションプログラム172により指定されたフィルタリング条件に該当する入力データを取得するので、タブレット端末10やプリンター11がフィルタードライバー112を管理する機能を持つ必要が無い。このため、タブレット端末10は汎用の端末を用いて構成できる。また、取引情報の入力に使用する入力デバイスを変更する場合、POSアプリケーションプログラム172によってフィルタリング条件を変更すればよく、タブレット端末10やプリンター11のソフトウェアを変更する必要がない。このため、入力デバイスに対応したソフトウェアの管理がより一層容易になる。
In addition, at least a part of the input devices included in the printer 11, that is, the data output by the barcode scanner 12 and the card reader 13 is transaction information or data related to the transaction information, and the tablet terminal 10 is generated based on the output of the input device The transaction information is processed by the POS application program 172 based on the input data that has been input and the type of input device that has input the input data. For this reason, transaction information can be input as a POS system by inputting transaction information using a plurality of different types of input devices.
Furthermore, since the filter driver 112 acquires input data corresponding to the filtering condition specified by the POS application program 172, the tablet terminal 10 and the printer 11 do not need to have a function of managing the filter driver 112. For this reason, the tablet terminal 10 can be configured using a general-purpose terminal. Moreover, when changing the input device used for inputting transaction information, the filtering condition may be changed by the POS application program 172, and the software of the tablet terminal 10 and the printer 11 need not be changed. For this reason, management of software corresponding to the input device is further facilitated.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述した実施形態では、バーコードスキャナー12、及び、カードリーダー13を例として、これら入力デバイスを識別するときの動作や、入力デバイスの種類に基づく動作を説明したが、入力デバイスの種類はこれら機器に限られない。すなわち、本発明は、印刷装置に入力デバイスが接続されており入力デバイスを識別する必要があるシステムについて、広く適用可能である。
また、図2に示す各機能ブロックはハードウェアとソフトウェアの協働により任意に実現可能であり、特定のハードウェア構成を示唆するものではない。さらに、図3に示した各機器のソフトウェアを実行するハードウェアは、図2及び図3の記載及び上記実施形態の説明により限定されるものではない。また、各機器は、外部接続される記憶媒体に記憶させたプログラムを実行することにより、図4のフローチャートに係る動作を含む各種動作を実行する構成としてもよい。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
For example, in the above-described embodiment, the operation for identifying these input devices and the operation based on the type of the input device have been described using the barcode scanner 12 and the card reader 13 as an example. It is not limited to these devices. That is, the present invention can be widely applied to a system in which an input device is connected to a printing apparatus and the input device needs to be identified.
Each functional block shown in FIG. 2 can be arbitrarily realized by cooperation of hardware and software, and does not suggest a specific hardware configuration. Furthermore, the hardware for executing the software of each device shown in FIG. 3 is not limited by the description of FIGS. 2 and 3 and the description of the above embodiment. Further, each device may be configured to execute various operations including the operation according to the flowchart of FIG. 4 by executing a program stored in an externally connected storage medium.

1…制御システム(POSシステム)、5…無線LAN、10…タブレット端末(処理装置)、10a…タッチパネル(表示部)、11…プリンター(印刷装置)、12…バーコードスキャナー(入力デバイス)、13…カードリーダー(入力デバイス)、17…POSサーバー(外部の装置)、20b…通信用ドライバー実行部(出力部)、21…プリンターユニット(印刷部)、23…プリンター側インターフェイス(出力部)、25a…USBインターフェイス(入力部)、25b…シリアルインターフェイス(入力部)、26…端末制御部、26a…ブラウザー実行部、35…Webアプリケーション(アプリケーション)、102…ウェブブラウザー、111…HIDクラスドライバー(デバイスドライバー)、112…フィルタードライバー、113…オペレーティングシステム、114…フックデータ要求アプリケーション、172…POSアプリケーションプログラム(POSアプリケーション)。   DESCRIPTION OF SYMBOLS 1 ... Control system (POS system), 5 ... Wireless LAN, 10 ... Tablet terminal (processing apparatus), 10a ... Touch panel (display part), 11 ... Printer (printing apparatus), 12 ... Barcode scanner (input device), 13 ... Card reader (input device), 17 ... POS server (external device), 20b ... Communication driver execution unit (output unit), 21 ... Printer unit (printing unit), 23 ... Printer side interface (output unit), 25a ... USB interface (input unit), 25b ... serial interface (input unit), 26 ... terminal control unit, 26a ... browser execution unit, 35 ... web application (application), 102 ... web browser, 111 ... HID class driver (device driver) ), 112 ... Filter Driver, 113 ... operating system, 114 ... hook data request application, 172 ... POS application program (POS application).

Claims (11)

取引情報を処理するPOSアプリケーションを動作させる処理装置と、
取得した情報に基づき、データを出力する入力デバイスと、
前記入力デバイスと接続して前記入力デバイスから出力されたデータが入力される入力部、前記入力デバイスからの前記データに基づき入力データを生成しデバイス情報を取得するデバイスドライバーを実行させるとともに前記デバイス情報に基づいて前記入力データを出力するか否かを判定するフィルタードライバーを動作させる制御部、前記フィルタードライバーで出力すると判定された前記入力データ及び前記デバイス情報を前記処理装置に出力する出力部、及び印刷を実行する印刷部を有し、前記処理装置の制御に基づいて前記印刷部で印刷を実行する印刷装置と、を備え、
前記処理装置は、前記POSアプリケーションを動作させ、前記印刷装置の前記出力部が出力する前記デバイス情報に基づいて前記データを出力した入力デバイスの種類を特定して、当該入力デバイスの種類に応じた処理を実行させ
前記制御部は、前記入力デバイスを識別する前記デバイス情報を含むフィルタリング条件を設定するデータ要求アプリケーションを動作させ、
前記制御部は前記フィルタードライバーを動作させて、前記デバイス情報が、前記データ要求アプリケーションにより設定された前記フィルタリング条件に含まれる場合に、前記入力データを出力すると判定すること、
を特徴とするPOSシステム。
A processing device for operating a POS application for processing transaction information;
An input device that outputs data based on the acquired information ;
Said device together to execute a device driver data output from the input device connected to the input device is an input unit that is input, generates an input data based on the data from the input device, to acquire the device information A control unit that operates a filter driver that determines whether or not to output the input data based on information, an output unit that outputs the input data and the device information determined to be output by the filter driver to the processing device, And a printing unit that executes printing, and a printing device that executes printing in the printing unit based on control of the processing device,
The processing apparatus operates the POS application, specifies the type of the input device that outputs the data based on the device information output by the output unit of the printing apparatus, and according to the type of the input device Execute the process ,
The control unit operates a data request application that sets a filtering condition including the device information for identifying the input device,
The control unit by operating the filter driver, wherein the device information, if included in the filtering condition set by said data request application and determines to output the input data Rukoto,
POS system characterized by
前記処理装置は、前記入力データに基づいて表示する表示部を備え、
前記表示部の、前記POSアプリケーションにより特定された前記入力デバイスの種類に応じた位置に、前記入力データに基づく表示を実行すること、
を特徴とする請求項1記載のPOSシステム。
The processing device includes a display unit that displays based on the input data,
Executing display based on the input data at a position corresponding to the type of the input device specified by the POS application on the display unit;
The POS system according to claim 1.
前記処理装置は、前記表示部に、前記POSアプリケーションを動作させるウェブページに基づく画面を生成するウェブブラウザー、及び前記ウェブブラウザーで生成された画面を表示する請求項2記載のPOSシステム。   The POS system according to claim 2, wherein the processing device displays on the display unit a web browser that generates a screen based on a web page that operates the POS application, and a screen generated by the web browser. 前記入力デバイスで出力されるデータは前記POSアプリケーションで処理される取引情報に関するデータであり、
前記処理装置は、前記入力データと、前記デバイス情報とに基づいて、前記POSアプリケーションで取引情報を処理する請求項1からのいずれかに記載のPOSシステム。
The data output by the input device is data relating to transaction information processed by the POS application,
The POS system according to any one of claims 1 to 3 , wherein the processing device processes transaction information by the POS application based on the input data and the device information.
前記フィルタードライバーは、前記デバイスドライバーで前記入力データが生成されたのち、前記POSアプリケーションで指定された条件に該当する前記入力データを取得する請求項記載のPOSシステム。 The POS system according to claim 4 , wherein the filter driver acquires the input data corresponding to a condition specified by the POS application after the input data is generated by the device driver. 入力デバイスで読み取られた情報が印刷装置に出力され、
前記印刷装置により、前記入力デバイスからのデータに基づき入力データを生成し、デバイスドライバーでデバイス情報を取得し、
前記印刷装置でデータ要求アプリケーションを動作させ、前記入力デバイスを識別する前記デバイス情報を含むフィルタリング条件を設定し、
前記デバイス情報に基づいて前記入力データを出力するか否かをフィルタードライバーで判定し、この判定において、前記フィルタードライバーで、前記デバイス情報が、前記データ要求アプリケーションにより設定された前記フィルタリング条件に含まれる場合に、前記入力データを出力すると判定し、
前記フィルタードライバーで出力すると判定された前記入力データ及び前記デバイス情報を前記印刷装置から処理装置に出力し、
前記処理装置はPOSアプリケーションを動作させ、前記印刷装置が出力する前記入力データ及び前記デバイス情報に基づいて、前記データを出力した入力デバイスの種類を特定して、当該入力デバイスの種類に応じた処理を実行させ、
前記POSアプリケーションで処理された取引情報を前記印刷装置に送信し、
送信された前記取引情報に基づいて、前記印刷装置で印刷すること
を特徴とするPOSシステムの制御方法。
The information read by the input device is output to the printer,
By the printing device, it generates an input data based on the data from the input device to obtain the device information in the device driver,
A data request application is operated on the printing apparatus, and a filtering condition including the device information for identifying the input device is set.
A filter driver determines whether to output the input data based on the device information. In this determination, the device information is included in the filtering condition set by the data request application in the filter driver. The input data is determined to be output,
Outputting the input data and the device information determined to be output by the filter driver from the printing apparatus to a processing apparatus;
The processing apparatus operates a POS application, specifies the type of the input device that has output the data based on the input data and the device information output by the printing apparatus, and performs processing according to the type of the input device And execute
Sending the transaction information processed by the POS application to the printing device;
The POS system control method, wherein printing is performed by the printing apparatus based on the transmitted transaction information.
前記処理装置の表示部により前記入力データに基づいて表示を行い、
前記表示部の、前記POSアプリケーションで特定した前記入力デバイスの種類に応じた位置に、前記入力データに基づく表示を実行すること、
を特徴とする請求項記載のPOSシステムの制御方法。
Display based on the input data by the display unit of the processing device,
Executing display based on the input data at a position corresponding to the type of the input device specified by the POS application on the display unit;
The POS system control method according to claim 6 .
前記処理装置は、POSアプリケーションを動作させるウェブページに基づく画面を生成するウェブブラウザー、及び前記ウェブブラウザーで生成された画面を表示する請求項6または7記載のPOSシステムの制御方法。 8. The POS system control method according to claim 6 or 7 , wherein the processing device displays a web browser that generates a screen based on a web page that operates a POS application, and a screen generated by the web browser. 前記入力デバイスで出力されるデータは前記POSアプリケーションで処理される取引情報に関するデータであり、
前記処理装置は、前記入力データと、前記デバイス情報とに基づいて、前記POSアプリケーションで取引情報を処理する請求項記載のPOSシステムの制御方法。
The data output by the input device is data relating to transaction information processed by the POS application,
The POS system control method according to claim 8 , wherein the processing device processes transaction information by the POS application based on the input data and the device information.
前記フィルタードライバーは、前記入力データが生成されたのち、前記POSアプリケーションで指定された条件に該当する入力データを取得する請求項からのいずれかに記載のPOSシステムの制御方法。 The filter driver, after the input data has been generated, the control method of the POS system according to any of claims 6 to 9 for acquiring the input data corresponding to conditions specified by the POS application. 入力デバイスと接続して前記入力デバイスから出力されたデータが入力される入力部と、
前記入力デバイスからの前記データに基づき入力データを生成し、デバイス情報を取得するデバイスドライバーを実行させるとともに前記デバイス情報に基づいて前記入力データを出力するか否かを判定するフィルタードライバーを動作させる制御部と、
情報を処理するアプリケーションを動作させる処理装置と通信する通信部と、
前記フィルタードライバーで出力すると判定された前記入力データ及び前記デバイス情報を前記通信部により前記処理装置に出力する出力部と、
印刷を実行する印刷部と、
を有し、
前記通信部は、前記印刷装置の前記出力部が出力する前記デバイス情報に基づいて前記データを出力した入力デバイスの種類を特定して、当該入力デバイスの種類に応じた処理を実行させる前記処理装置に接続され、
前記処理装置の制御に基づいて前記印刷部で印刷を実行し、
前記デバイス情報は、前記出力部が出力する出力先において、前記データを出力した入力デバイスの種類を特定可能な情報であり、
前記制御部は、前記入力デバイスを識別する前記デバイス情報を含むフィルタリング条件を設定するデータ要求アプリケーションを動作させ、
前記制御部は前記フィルタードライバーを動作させて、前記デバイス情報が、前記データ要求アプリケーションにより設定された前記フィルタリング条件に含まれる場合に、前記入力データを出力すると判定することを特徴とする印刷装置。
An input unit that is connected to an input device and receives data output from the input device;
Control that generates input data based on the data from the input device, executes a device driver that acquires device information, and operates a filter driver that determines whether to output the input data based on the device information And
A communication unit that communicates with a processing device that runs an application that processes information;
An output unit that outputs the input data and the device information determined to be output by the filter driver to the processing device by the communication unit ;
A printing section that executes printing;
Have
The communication unit is configured to specify a type of an input device that has output the data based on the device information output from the output unit of the printing apparatus, and to execute processing according to the type of the input device Connected to
Printing on the printing unit based on the control of the processing device;
The device information at the output destination and the output unit outputs, Ri identifiable information der the type of input device that outputs the data,
The control unit operates a data request application that sets a filtering condition including the device information for identifying the input device,
The control unit by operating the filter driver, the printing apparatus wherein the device information, if included in the filtering condition set by said data requesting application, characterized that you determined to output the input data .
JP2012129446A 2012-03-05 2012-06-07 POS system, POS system control method, and printing apparatus Active JP6003252B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2012129446A JP6003252B2 (en) 2012-06-07 2012-06-07 POS system, POS system control method, and printing apparatus
EP13757838.1A EP2796295A4 (en) 2012-03-05 2013-03-01 Control system, method for controlling control system, and recording device
IN5813DEN2014 IN2014DN05813A (en) 2012-03-05 2013-03-01
US14/375,051 US9342264B2 (en) 2012-03-05 2013-03-01 Control system, control method of a control system, and recording device
CN201380012359.4A CN104144793B (en) 2012-03-05 2013-03-01 Control system, the control method of control system and tape deck
PCT/JP2013/001284 WO2013132809A1 (en) 2012-03-05 2013-03-01 Control system, method for controlling control system, and recording device
KR1020147027796A KR101643074B1 (en) 2012-03-05 2013-03-01 Control system, method for controlling control system, and recording device
RU2014140163/12A RU2598820C2 (en) 2012-03-05 2013-03-01 Control system, control system control method and recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012129446A JP6003252B2 (en) 2012-06-07 2012-06-07 POS system, POS system control method, and printing apparatus

Publications (3)

Publication Number Publication Date
JP2013254343A JP2013254343A (en) 2013-12-19
JP2013254343A5 JP2013254343A5 (en) 2015-06-11
JP6003252B2 true JP6003252B2 (en) 2016-10-05

Family

ID=49951800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012129446A Active JP6003252B2 (en) 2012-03-05 2012-06-07 POS system, POS system control method, and printing apparatus

Country Status (1)

Country Link
JP (1) JP6003252B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150113815A (en) 2014-03-31 2015-10-08 세이코 엡슨 가부시키가이샤 P o s system and method of controlling p o s system
JP7089459B2 (en) * 2018-11-20 2022-06-22 三菱重工機械システム株式会社 Charge collection machine, charge collection system, charge collection method, and program
JP7306127B2 (en) * 2019-07-19 2023-07-11 セイコーエプソン株式会社 Information processing device control method, program, and communication system
JP2021039496A (en) * 2019-09-02 2021-03-11 東芝テック株式会社 Information processing apparatus, program, and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005084759A (en) * 2003-09-04 2005-03-31 World:Kk Pos terminal equipment, pos system, and program
JP5201246B2 (en) * 2005-08-04 2013-06-05 株式会社リコー Apparatus, information processing method, information processing program, and recording medium
JP5001844B2 (en) * 2005-08-30 2012-08-15 セイコーエプソン株式会社 POS terminal device and driving method of POS peripheral device
JP2009217699A (en) * 2008-03-12 2009-09-24 Seiko Epson Corp Filter driver and control method of filter driver
JP5464094B2 (en) * 2010-07-30 2014-04-09 セイコーエプソン株式会社 Relay device, relay device control method, and coupon issue system control method

Also Published As

Publication number Publication date
JP2013254343A (en) 2013-12-19

Similar Documents

Publication Publication Date Title
KR101643074B1 (en) Control system, method for controlling control system, and recording device
JP2013250602A (en) Terminal device, control method of terminal device and program
US20130229352A1 (en) POS System, Control System, and Control Method of a Control System
US10154081B2 (en) Control system, and information processing device
JP6572884B2 (en) POS system and control method of POS system
KR20140001785A (en) Data processing apparatus, pos system and control method of the pos system
US9852413B2 (en) POS system and printing device
JP6003252B2 (en) POS system, POS system control method, and printing apparatus
JP5935400B2 (en) Control system, control method of control system, and printer
CN104952163A (en) POS system and control method of POS system
TWI505178B (en) Printing systems and printers
JP6028416B2 (en) Data processing apparatus and POS system
JP2012141757A (en) Commodity sales data processor, commodity sales data processing system and program
JP6172333B2 (en) Program and information processing apparatus control method
EP2866213B1 (en) Display system.
JP6323528B2 (en) Data processing apparatus, data processing system, and control method for data processing apparatus
JP2013250844A (en) Terminal device and pos system
JP7189379B2 (en) Information terminal and its program
JP6752956B2 (en) Receipt data management device and its program, and receipt data management method
JP6752987B2 (en) Receipt data management device and its program, and receipt data management method
JP6851947B2 (en) Electronic receipt agent and program
US9720788B2 (en) Recording device and control method of a recording device
JP6402982B2 (en) Recording apparatus, control system, and information processing method for recording apparatus
JP2022165267A (en) Settlement terminal and program
JP2020198117A (en) Receipt data management apparatus, program thereof and receipt data management method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150413

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160622

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: 20160809

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160822

R150 Certificate of patent or registration of utility model

Ref document number: 6003252

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150