JP2012003445A - Relay device, mounting board and pos system including them, and control method of relay device and program - Google Patents

Relay device, mounting board and pos system including them, and control method of relay device and program Download PDF

Info

Publication number
JP2012003445A
JP2012003445A JP2010136848A JP2010136848A JP2012003445A JP 2012003445 A JP2012003445 A JP 2012003445A JP 2010136848 A JP2010136848 A JP 2010136848A JP 2010136848 A JP2010136848 A JP 2010136848A JP 2012003445 A JP2012003445 A JP 2012003445A
Authority
JP
Japan
Prior art keywords
input
control
pos terminal
proxy
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.)
Withdrawn
Application number
JP2010136848A
Other languages
Japanese (ja)
Inventor
Kensuke Machii
賢介 待井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2010136848A priority Critical patent/JP2012003445A/en
Publication of JP2012003445A publication Critical patent/JP2012003445A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a relay device capable of performing accounting processing even with a POS terminal in failure, a mounting board and a POS system including them, and a control method of the relay device and a program.SOLUTION: The relay device (mounting board 8) used by connecting to a POS terminal 2 and POS peripheral devices includes: a regular control part 23 for performing input/output control of the POS peripheral devices based on an instruction from the POS terminal 2; a proxy control part 24 for performing the input/output control of the POS peripheral devices as a proxy for the POS terminal 2 without accepting the instruction from the POS terminal 2; a failure detection part 21 for detecting failure of the POS terminal 2; and a control changeover part 22 for changing over from the input/output control of the regular control part 23 to the input/output control of the proxy control part 24 in response to the detection by the failure detection part 21.

Description

本発明は、POS端末およびPOS周辺機器と接続されて用いられる中継装置、装着ボードおよびこれらを備えたPOSシステム、並びに中継装置の制御方法およびプログラムに関するものである。   The present invention relates to a relay device used in connection with a POS terminal and a POS peripheral device, a mounting board, a POS system including these, and a control method and program for the relay device.

従来、顧客データファイルを備えた上位コンピューターと通信回線を介して接続されたクレジット端末機において、上位コンピューターにクレジット取引の可否を問い合わせ、上位コンピューターから取引許諾応答があった場合、クレジット伝票を印刷するものが知られている(特許文献1参照)。当該クレジット端末機は、上位コンピューターとの通信異常を検知すると、オフライン状態でクレジット取引の可否を判定し、取引成立を判定した場合に、クレジット伝票を発行する。すなわち、当該クレジット端末機は、上位コンピューターに対してクレジット取引の可否を問い合わせ不可能となった場合でも、自機において当該クレジット取引の可否を判断することで、クレジット処理を継続可能としている。   Conventionally, in a credit terminal connected to a host computer equipped with a customer data file via a communication line, the host computer is inquired about whether or not a credit transaction is possible, and if there is a transaction permission response from the host computer, a credit slip is printed. The thing is known (refer patent document 1). When the credit terminal detects an abnormality in communication with the host computer, the credit terminal determines whether or not a credit transaction can be performed in an offline state, and issues a credit slip when it determines that the transaction is successful. That is, the credit terminal can continue the credit processing by determining whether or not the credit transaction can be performed by itself, even when it becomes impossible to make an inquiry about whether or not the credit transaction is allowed to the host computer.

特許第2509995号公報Japanese Patent No. 2509995

上記のクレジット端末機の構成を、POSサーバーに接続されて用いられるPOS端末に適用することが考えられる。かかる場合、接続しているPOSサーバーとの通信が不可能になると、POS端末自身が会計処理を実行する。しかし、この構成では、POS端末が故障した場合に、会計処理が実行できなくなるという問題がある。   It is conceivable to apply the configuration of the credit terminal described above to a POS terminal that is connected to a POS server. In such a case, when communication with the connected POS server becomes impossible, the POS terminal itself performs the accounting process. However, in this configuration, there is a problem that the accounting process cannot be executed if the POS terminal fails.

本発明は、上記の点に鑑み、POS端末が故障しても会計処理を実行することができる中継装置、装着ボードおよびこれらを備えたPOSシステム、並びに中継装置の制御方法およびプログラムを提供することを課題とする。   In view of the above points, the present invention provides a relay device, a mounting board, a POS system including these, a relay device control method, and a program capable of executing accounting processing even if a POS terminal fails. Is an issue.

本発明の中継装置は、POS端末およびPOS周辺機器と接続されて用いられる中継装置であって、POS端末からの指令に基づいて、POS周辺機器の入出力制御を行う通常制御部と、POS端末からの指令を受けることなく、POS端末の代理としてPOS周辺機器の入出力制御を行う代理制御部と、POS端末の故障を検知する故障検知部と、故障検知部の検知に基づいて、通常制御部の入出力制御から代理制御部の入出力制御に切り替える制御切替部と、を備えたことを特徴とする。   A relay apparatus according to the present invention is a relay apparatus used by being connected to a POS terminal and a POS peripheral device, and includes a normal control unit that performs input / output control of the POS peripheral device based on a command from the POS terminal, and a POS terminal Normal control based on detection of a proxy control unit that performs input / output control of a POS peripheral device as a proxy for the POS terminal, a failure detection unit that detects a failure of the POS terminal, and a detection of the failure detection unit without receiving a command from the POS terminal And a control switching unit for switching from the input / output control of the unit to the input / output control of the proxy control unit.

本発明の中継装置の制御方法は、POS端末およびPOS周辺機器と接続されて用いられる中継装置の制御方法であって、中継装置が、POS端末の故障を検知する故障検知ステップと、故障検知ステップにおける故障の検知に基づいて、POS端末からの指令によりPOS周辺機器の入出力制御を行う通常制御から、POS端末からの指令を受けることなくPOS端末の代理として前記POS周辺機器の入出力制御を行う代理制御に切り替える制御切替ステップと、を実行することを特徴とする。   The relay device control method of the present invention is a relay device control method used by being connected to a POS terminal and a POS peripheral device. The relay device detects a failure of the POS terminal, and a failure detection step. Based on the detection of a failure in the POS terminal, the POS peripheral device input / output control is performed on behalf of the POS terminal without receiving the command from the POS terminal, from the normal control that performs the input / output control of the POS peripheral device by the command from the POS terminal. And a control switching step for switching to the proxy control to be performed.

これらの構成によれば、中継装置がPOS端末の代理としてPOS周辺機器を制御するため、POS端末が故障した場合に、会計処理を実行することができる。さらに、故障検知部によるPOS端末の故障の検知に基づいて制御が切り替わるため、例えば店舗において、制御の切替操作等の店員の煩わしさを解消すると共に客を待たせることがなく、POS端末の故障時においても、会計処理における処理効率を維持することができる。   According to these configurations, since the relay device controls the POS peripheral device as a proxy for the POS terminal, the accounting process can be executed when the POS terminal fails. Further, since the control is switched based on the detection of the failure of the POS terminal by the failure detection unit, for example, in the store, the trouble of the store clerk such as the control switching operation is eliminated and the customer is not caused to wait, and the failure of the POS terminal Even at times, the processing efficiency in the accounting process can be maintained.

この場合、POS周辺機器は、商品コードを入力可能なコード入力装置と、商品金額を入力可能なテンキー入力装置と、レシートを印刷する印刷装置と、を含み、POS端末は、商品データベースを含むPOSサーバーと接続され、当該POSサーバーから商品コードに対応する商品情報を取得してレシート印刷データを生成し、通常制御部は、少なくとも、コード入力装置から取得した商品コードをPOS端末に出力する制御と、POS端末からレシート印刷データを取得し、当該レシート印刷データを印刷装置に出力する制御と、を実行し、代理制御部は、少なくとも、コード入力装置およびテンキー入力装置から取得した商品コードおよび商品金額に基づいてレシート印刷データを生成し、当該レシート印刷データを印刷装置に出力する制御を実行することが好ましい。   In this case, the POS peripheral device includes a code input device that can input a product code, a numeric keypad input device that can input a product price, and a printing device that prints a receipt, and the POS terminal includes a POS that includes a product database. Connected to the server, obtains product information corresponding to the product code from the POS server, generates receipt print data, and the normal control unit outputs at least the product code obtained from the code input device to the POS terminal; The receipt control data is acquired from the POS terminal, and the receipt print data is output to the printing apparatus. The proxy control unit at least acquires the product code and the product price acquired from the code input device and the numeric keypad input device. To generate receipt print data and output the receipt print data to the printing device. It is preferable to perform the control.

この構成によれば、POS端末故障時において、中継装置は、POSサーバーから商品情報を取得せずとも、代理制御部により商品コードおよび商品金額に基づいてレシート印刷データを生成し、レシートを印刷することができる。   According to this configuration, when the POS terminal fails, the relay device generates receipt print data based on the product code and the product price by the proxy control unit without acquiring the product information from the POS server, and prints the receipt. be able to.

さらに、テンキー入力装置は、タッチパネルであり、通常制御部は、タッチパネルに、POS端末から取得したレシート印刷データの一部または商品情報を表示させ、代理制御部は、タッチパネルに、テンキー入力装置として機能するためのテンキー領域を表示させると共に、商品コードおよび商品金額を表示させることが好ましい。   Further, the numeric keypad input device is a touch panel, the normal control unit displays a part of the receipt print data or product information acquired from the POS terminal on the touch panel, and the proxy control unit functions as a numeric keypad input device on the touch panel. It is preferable to display the product code and the product price as well as displaying the numeric keypad area.

この構成によれば、代理制御部の入出力制御時に、タッチパネルにテンキー領域を表示させることで、ユーザーが、商品コードに対応した商品金額、預かり金額、おつり金額等を入力することができる。このように、通常制御部の入出力制御と代理制御部の入出力制御とで、タッチパネルに表示させる情報が異なると共に、入力方法も異なるため、ユーザーにPOS端末の故障を報知することができる。   According to this configuration, at the time of input / output control of the proxy control unit, the numeric key area is displayed on the touch panel, so that the user can input the product price, the deposit price, the change price, etc. corresponding to the product code. As described above, since the information displayed on the touch panel is different and the input method is different between the input / output control of the normal control unit and the input / output control of the proxy control unit, the failure of the POS terminal can be notified to the user.

また、制御切替部は、故障検知部の検知の他に、ユーザーの操作に基づいて、通常制御部の入出力制御および代理制御部の入出力制御を切り替えることが好ましい。   In addition to the detection by the failure detection unit, the control switching unit preferably switches the input / output control of the normal control unit and the input / output control of the proxy control unit based on a user operation.

この構成によれば、POS端末の故障以外に、POSサーバーとPOS端末との接続が切断されている場合などにも、ユーザーの切替操作により中継装置において会計処理を実行することができる。   According to this configuration, in addition to the failure of the POS terminal, even when the connection between the POS server and the POS terminal is disconnected, the accounting process can be executed in the relay device by the user switching operation.

また、制御切替部により、通常制御部の入出力制御から代理制御部の入出力制御に切り替えられた場合、代理制御部は、中継装置にネットワーク接続されたアプリケーションサーバーから、POS端末の代理として前記POS周辺機器の入出力制御を行うための代理制御プログラムを取得することが好ましい。   In addition, when the control switching unit is switched from the input / output control of the normal control unit to the input / output control of the proxy control unit, the proxy control unit transmits the proxy server from the application server connected to the relay device as a proxy for the POS terminal. It is preferable to obtain a proxy control program for performing input / output control of the POS peripheral device.

この構成によれば、代理制御部は、常に最新版の代理制御プログラムを取得することができる。   According to this configuration, the proxy control unit can always obtain the latest version of the proxy control program.

または、制御切替部により、通常制御部の入出力制御から代理制御部の入出力制御に切り替えられた場合、代理制御部は、POS端末の代理としてPOS周辺機器の入出力制御を行うための代理制御プログラムを動作可能なアプリケーションサーバーにアクセスし、当該アプリケーションサーバー上で動作する代理制御プログラムにしたがって制御を行うことが好ましい。   Alternatively, when the control switching unit switches from the input / output control of the normal control unit to the input / output control of the proxy control unit, the proxy control unit acts as a proxy for performing the input / output control of the POS peripheral device as a proxy of the POS terminal. It is preferable to access an application server that can operate the control program and perform control according to a proxy control program that operates on the application server.

この構成によれば、中継装置に代理制御プログラムを記憶させておく必要が無いため、そのための構成を省略できる。   According to this configuration, since it is not necessary to store the proxy control program in the relay device, the configuration for that can be omitted.

また、代理制御部が制御した入出力制御の履歴を記憶する履歴記憶部を、さらに備えていることが好ましい。   Moreover, it is preferable to further include a history storage unit that stores a history of input / output control controlled by the proxy control unit.

この構成によれば、中継装置の代理制御実行中の入力履歴を記憶しておくため、後にこれをPOS端末(またはPOS端末に接続されたPOSサーバー)に反映させることができる。   According to this configuration, since the input history during execution of proxy control of the relay device is stored, it can be reflected later on the POS terminal (or POS server connected to the POS terminal).

この場合、入出力制御の履歴には、商品コードからなる入力履歴が含まれ、制御切替部により、代理制御部の入出力制御から通常制御部の入出力制御に切り替えられた場合、履歴記憶部に記憶された入力履歴を、POS端末に送信する復旧処理部をさらに備えていることが好ましい。   In this case, the input / output control history includes an input history made up of product codes. When the control switching unit switches from the input / output control of the proxy control unit to the input / output control of the normal control unit, the history storage unit It is preferable to further include a recovery processing unit that transmits the input history stored in the POS terminal.

この構成によれば、復旧処理部により、中継装置の代理制御実行中に入力された商品コードをPOS端末に送信するため、POS端末は、取得した商品コードをPOSサーバーに送信することができる。すなわち、特別な復旧プログラムを必要とせずに、POSサーバーで管理している売上情報に、通常の処理方法で、中継装置の代理制御実行中の履歴を反映させることができる。   According to this configuration, since the product code input during the proxy control of the relay device is transmitted to the POS terminal by the recovery processing unit, the POS terminal can transmit the acquired product code to the POS server. In other words, without using a special recovery program, it is possible to reflect the history of proxy control execution of the relay device in the sales information managed by the POS server by a normal processing method.

または、入出力制御の履歴には、代理制御部が生成したレシート印刷データを含む会計処理情報が含まれ、代理制御プログラムは、POS端末が会計処理情報をPOSサーバーに送信するための送信プログラムを含み、制御切替部により、代理制御部の入出力制御から通常制御部の入出力制御に切り替えられた場合、履歴記憶部に記憶された会計処理情報と、送信プログラムと、をPOS端末に送信する復旧処理部をさらに備えていることが好ましい。   Alternatively, the input / output control history includes accounting processing information including receipt print data generated by the proxy control unit, and the proxy control program is a transmission program for the POS terminal to transmit accounting processing information to the POS server. In addition, when the control switching unit switches from the input / output control of the proxy control unit to the input / output control of the normal control unit, the accounting processing information stored in the history storage unit and the transmission program are transmitted to the POS terminal. It is preferable to further include a recovery processing unit.

この構成によれば、復旧処理部により、中継装置の代理制御実行中に生成されたレシート印刷データを含む会計処理情報をPOS端末に送信することができる。また、復旧処理部は、同時に送信プログラムを送信するため、POS端末は、当該送信プログラムにしたがって取得した会計処理情報をPOSサーバーに送信することができる。これにより、POSサーバーで管理している売上情報に、中継装置の代理制御実行中の履歴を反映させることができる。さらに、レシート印刷データに会計処理が行われた日時、預かり金額、おつり金額等を含むようにすれば、詳細な会計処理情報をPOSサーバーに送信することができ、中継装置の代理制御実行中の情報損失を防ぐことができる。   According to this configuration, the transaction processing information including the receipt print data generated during the proxy control of the relay device can be transmitted to the POS terminal by the recovery processing unit. Further, since the recovery processing unit transmits the transmission program at the same time, the POS terminal can transmit the accounting processing information acquired according to the transmission program to the POS server. As a result, it is possible to reflect the history of proxy control execution of the relay device in the sales information managed by the POS server. Furthermore, if the receipt print data includes the date and time when the accounting process was performed, the deposit amount, the change amount, etc., detailed accounting process information can be transmitted to the POS server, and the relay device proxy control is being executed. Information loss can be prevented.

本発明の装着ボードは、上記の中継装置として機能し、POS周辺機器に装着されて用いられることを特徴とする。   The mounting board of the present invention functions as the relay device described above, and is used by being mounted on a POS peripheral device.

この構成によれば、POS端末およびPOS周辺機器周りの省スペース化を実現することができる。   According to this configuration, space saving around the POS terminal and the POS peripheral device can be realized.

本発明のPOSシステムは、上記の中継装置と、POS端末と、POS周辺機器と、を備えたことを特徴とする。   A POS system according to the present invention includes the relay device, a POS terminal, and a POS peripheral device.

この構成によれば、POS端末の故障時に、中継装置がPOS端末の代理として会計処理を実行するPOSシステムを提供することができる。   According to this configuration, it is possible to provide a POS system in which a relay device executes accounting processing as a proxy for a POS terminal when a POS terminal fails.

本発明のプログラムは、コンピューターに、上記の中継装置の制御方法における各ステップを実行させることを特徴とする。   A program according to the present invention causes a computer to execute each step in the above-described control method of the relay device.

この構成によれば、POS端末の故障時に、中継装置がPOS端末の代理として会計処理を実行させるプログラムを提供することができる。   According to this configuration, it is possible to provide a program that allows the relay device to execute the accounting process as a proxy for the POS terminal when the POS terminal fails.

第1実施形態に係るPOSシステムの構成を示したブロック図である。1 is a block diagram showing a configuration of a POS system according to a first embodiment. 商品データベースの概念図である。It is a conceptual diagram of a goods database. レシートの一例を示した図である。It is the figure which showed an example of the receipt. タッチパネル画面の一例を示した図である。It is the figure which showed an example of the touchscreen screen. 第1実施形態に係る装着ボードの制御切替処理を示したフローチャートである。It is the flowchart which showed the control switching process of the mounting board which concerns on 1st Embodiment. 装着ボードの通常制御処理を示したフローチャートである。It is the flowchart which showed the normal control process of the mounting board. 装着ボードの代理制御処理を示したフローチャートである。It is the flowchart which showed the proxy control process of the mounting board. POSシステムの復旧処理を示したフローチャートである。It is the flowchart which showed the recovery process of the POS system. 第1実施形態の変形例に係るPOSシステムの復旧処理を示したフローチャートである。It is the flowchart which showed the recovery process of the POS system which concerns on the modification of 1st Embodiment. 第2実施形態に係るPOSシステムの構成を示したブロック図である。It is the block diagram which showed the structure of the POS system which concerns on 2nd Embodiment. 第2実施形態に係る装着ボードの制御切替処理を示したフローチャートである。It is the flowchart which showed the control switching process of the mounting board which concerns on 2nd Embodiment.

以下、添付の図面を参照し、本発明の中継装置およびこれを備えたPOSシステムについて説明する。なお、以下に示す各実施形態では、本発明の中継装置を、レシートプリンターに装着した装着ボードに適用した場合について例示する。また、本発明の中継装置は、POS端末の故障時に、POS端末の代理として会計処理を実行する機能を持つ。   Hereinafter, a relay device of the present invention and a POS system including the same will be described with reference to the accompanying drawings. In each embodiment shown below, the relay device of the present invention is illustrated as applied to a mounting board mounted on a receipt printer. The relay device of the present invention has a function of executing accounting processing as a proxy for the POS terminal when the POS terminal fails.

[第1実施形態]
図1は、第1実施形態に係るPOSシステムSY1のブロック図である。同図に示すように、POSシステムSY1は、商品データベースDBを有するPOSサーバー1と、会計処理を行うPOS端末2と、商品コードを入力するハンディスキャナー3およびキーボード4(コード入力装置)と、タッチパネル画面を表示するタッチパネル装置5(テンキー入力装置)と、レシート31を発行するレシートプリンター6(印刷装置)と、現金を保管するキャッシュドロア7と、レシートプリンター6に装着された装着ボード8と、から成る。なお、図1では、POS端末2が1台の場合を示しているが、POSサーバー1に対して複数のPOS端末2が接続された構成でもよい。
[First Embodiment]
FIG. 1 is a block diagram of a POS system SY1 according to the first embodiment. As shown in the figure, a POS system SY1 includes a POS server 1 having a product database DB, a POS terminal 2 for performing accounting processing, a handy scanner 3 and a keyboard 4 (code input device) for inputting product codes, and a touch panel. Touch panel device 5 (ten-key input device) that displays a screen, receipt printer 6 (printing device) that issues receipt 31, cash drawer 7 that stores cash, and mounting board 8 that is mounted on receipt printer 6 Become. Although FIG. 1 shows a case where there is one POS terminal 2, a configuration in which a plurality of POS terminals 2 are connected to the POS server 1 may be used.

POSサーバー1とPOS端末2とは、イントラネットまたはインターネット等のネットワークNTにより接続されている。一方、POS端末2とレシートプリンター6に装着された装着ボード8とは、専用のケーブルを介して接続されている。また、装着ボード8は、ハンディスキャナー3、キーボード4およびタッチパネル装置5と、それぞれ独立したインターフェース(例えば、USB(Universal Serial Bus)インターフェース)を介して接続されている。なお、キャッシュドロア7は、レシートプリンター6(プリンタ本体)に接続されている。また、POS端末2と装着ボード8とは、有線接続ではなく無線接続であっても良い。   The POS server 1 and the POS terminal 2 are connected by a network NT such as an intranet or the Internet. On the other hand, the POS terminal 2 and the mounting board 8 mounted on the receipt printer 6 are connected via a dedicated cable. The mounting board 8 is connected to the handy scanner 3, the keyboard 4, and the touch panel device 5 through independent interfaces (for example, a USB (Universal Serial Bus) interface). The cash drawer 7 is connected to the receipt printer 6 (printer body). Further, the POS terminal 2 and the mounting board 8 may be connected wirelessly instead of wired connection.

なお、「POS周辺機器」とは、ハンディスキャナー3、キーボード4、タッチパネル装置5、レシートプリンター6およびキャッシュドロア7から成る。また、タッチパネル装置5は、会計処理操作を行う店員が会計情報を確認するためのものであるが、表示装置としてさらに顧客が会計情報を確認するためのカスタマーディスプレイを備えてもよい。   The “POS peripheral device” includes a handy scanner 3, a keyboard 4, a touch panel device 5, a receipt printer 6, and a cash drawer 7. In addition, the touch panel device 5 is for a store clerk who performs a transaction processing operation to confirm the transaction information, but may further include a customer display for the customer to confirm the transaction information as a display device.

POSサーバー1は、例えば、店舗のバックヤードに設置され、商品データベースDBを有している。図2は、商品データベースDBの概念図である。同図に示すように、商品データベースDBは、「商品コード」「商品名」、「商品金額」および「メーカー名」(以下、これらを商品情報という)をテーブル化した商品情報テーブルTB1と、「商品コード」、「在庫数」、「販売実績」をテーブル化した売上情報テーブルTB2と、を有している。POSサーバー1は、POS端末2から取得した商品コードに基づいて、売上情報テーブルTB2の情報を更新する。   The POS server 1 is installed, for example, in a store backyard and has a product database DB. FIG. 2 is a conceptual diagram of the product database DB. As shown in the figure, the product database DB includes a product information table TB1 in which “product code”, “product name”, “product price”, and “manufacturer name” (hereinafter referred to as product information) are tabulated, And a sales information table TB2 in which “product code”, “inventory quantity”, and “sales record” are tabulated. The POS server 1 updates the information in the sales information table TB2 based on the product code acquired from the POS terminal 2.

POS端末2は、ハンディスキャナー3およびキーボード4によって入力された商品コードを、装着ボード8を介して取得すると、POSサーバー1の商品情報テーブルTB1を参照して当該商品コードに対応した商品情報を取得し、会計処理とレシート印刷データの生成とを行う。会計処理は、具体的に、商品情報に含まれる商品金額に基づいて合計金額を算出し、算出した合計金額と入力された「預かり金額」に基づいておつり金額を算出する。レシート印刷データは、取得した商品情報、会計処理の処理結果(会計情報)、レシート発行情報および店舗情報で構成される(図3(a)参照)。そして、生成したレシート印刷データに基づいたレシートを発行するよう装着ボード8に指令を出す。なお、POS端末2は、会計処理中、通常会計処理画面36A(図4(a)参照)をタッチパネル装置5に表示させるよう装着ボード8に指令を出す。   When the POS terminal 2 acquires the product code input by the handy scanner 3 and the keyboard 4 via the mounting board 8, the POS terminal 2 refers to the product information table TB1 of the POS server 1 and acquires product information corresponding to the product code. Then, accounting processing and receipt print data generation are performed. Specifically, in the accounting process, the total amount is calculated based on the product amount included in the product information, and the change amount is calculated based on the calculated total amount and the inputted “custody amount”. The receipt print data is composed of the acquired product information, transaction processing result (accounting information), receipt issuance information, and store information (see FIG. 3A). Then, a command is issued to the mounting board 8 to issue a receipt based on the generated receipt print data. Note that the POS terminal 2 issues a command to the mounting board 8 to display the normal transaction processing screen 36A (see FIG. 4A) on the touch panel device 5 during the transaction process.

レシートプリンター6は、着脱可能に取り付けられた装着ボード8と、印刷機能を成すプリンタ本体9と、を有している。   The receipt printer 6 includes a mounting board 8 that is detachably attached and a printer main body 9 that performs a printing function.

図1に示すように、装着ボード8は、ハンディスキャナー3およびキーボード4から商品コード等を入力すると共に、タッチパネル装置5に会計処理画面36を出力するための周辺機器I/F部11と、プリンタ本体9にレシート印刷データを出力するためのプリンタI/F部12と、POS端末に商品コードを出力すると共にレシート印刷データを取得するためのPOSI/F部13と、制御部14と、履歴記憶部15と、切替操作部16と、を有している。   As shown in FIG. 1, the mounting board 8 includes a peripheral device I / F unit 11 for inputting a product code and the like from the handy scanner 3 and the keyboard 4 and outputting an accounting process screen 36 to the touch panel device 5, and a printer. A printer I / F unit 12 for outputting receipt print data to the main body 9, a POSI / F unit 13 for outputting a product code to the POS terminal and acquiring receipt print data, a control unit 14, and a history storage Part 15 and a switching operation part 16.

制御部14は、CPU17、ROM18およびRAM19を有し、装着ボード8を制御する。CPU17は中央演算装置であり、故障検知部21、制御切替部22、通常制御部23、代理制御部24および復旧処理部25を有している。   The control unit 14 includes a CPU 17, a ROM 18 and a RAM 19, and controls the mounting board 8. The CPU 17 is a central processing unit, and includes a failure detection unit 21, a control switching unit 22, a normal control unit 23, a proxy control unit 24, and a recovery processing unit 25.

故障検知部21は、POS端末2の故障を検知するものであり、具体的には、定期的に動作確認信号をPOS端末2に送信し、POS端末2から所定時間内に応答信号を受信することで、POS端末2が正常に動作していることを認識する。一方、POS端末2に動作確認信号を送信して一定時間以上、POS端末2から応答信号を受信しなかった場合は、POS端末2が故障したと判断する(故障を検知する)。また、POS端末2が故障している場合に、POS端末2から動作確認信号に対する応答信号を受信することで、POS端末2の復旧を検知する。   The failure detection unit 21 detects a failure of the POS terminal 2. Specifically, the failure detection unit 21 periodically transmits an operation confirmation signal to the POS terminal 2 and receives a response signal from the POS terminal 2 within a predetermined time. Thus, it is recognized that the POS terminal 2 is operating normally. On the other hand, when an operation confirmation signal is transmitted to the POS terminal 2 and no response signal is received from the POS terminal 2 for a predetermined time or more, it is determined that the POS terminal 2 has failed (failure is detected). Further, when the POS terminal 2 is out of order, the recovery of the POS terminal 2 is detected by receiving a response signal to the operation confirmation signal from the POS terminal 2.

制御切替部22は、故障検知部21によってPOS端末2の故障が検知された場合、装着ボード8の制御を通常制御部23から代理制御部24へと切り替えるよう切替指令を出す。一方、故障検知部21によってPOS端末2の復旧が検知された場合、装着ボード8の制御を代理制御部24から通常制御部23へと切り替えるよう切替指令を出す。また、後述の切替操作部16により、制御切替操作がなされた場合にも、通常制御部23と代理制御部24との間の制御の切替指令を出す。装着ボード8は、制御切替部22の切替指令により、通常制御部23による制御が行われる通常モードおよび代理制御部24による制御が行われる代理モードに切り替わる。   When the failure detection unit 21 detects a failure of the POS terminal 2, the control switching unit 22 issues a switching command to switch the control of the mounted board 8 from the normal control unit 23 to the proxy control unit 24. On the other hand, when the failure detection unit 21 detects the restoration of the POS terminal 2, it issues a switching command to switch the control of the mounting board 8 from the proxy control unit 24 to the normal control unit 23. In addition, even when a control switching operation is performed by a switching operation unit 16 described later, a control switching command between the normal control unit 23 and the proxy control unit 24 is issued. The mounting board 8 is switched to a normal mode in which control is performed by the normal control unit 23 and a proxy mode in which control is performed by the proxy control unit 24 according to a switching command of the control switching unit 22.

通常制御部23は、装着ボード8が通常モードに切り替えられている場合、POS周辺機器の入出力制御(以下、通常制御という)を実行する。具体的には、通常会計処理画面36Aをタッチパネル装置5に出力する制御と、ハンディスキャナー3またはキーボード4から取得した商品コードをPOS端末2に出力する制御と、POS端末2からレシート印刷データを取得し当該レシート印刷データをプリンタ本体9に出力する制御と、を実行する。すなわち、通常制御部23は、装着ボード8がPOS端末2と周辺機器との中継装置として機能するためのPOS周辺機器の入出力制御を実行する。   When the mounted board 8 is switched to the normal mode, the normal control unit 23 executes input / output control (hereinafter referred to as normal control) of the POS peripheral device. Specifically, control for outputting the normal transaction processing screen 36A to the touch panel device 5, control for outputting the product code acquired from the handy scanner 3 or the keyboard 4 to the POS terminal 2, and acquisition of receipt print data from the POS terminal 2. And control for outputting the receipt print data to the printer main body 9. That is, the normal control unit 23 executes input / output control of the POS peripheral device for the mounting board 8 to function as a relay device between the POS terminal 2 and the peripheral device.

代理制御部24は、装着ボード8が代理モードに切り替えられている場合、POS端末2に代わって会計処理を行うと共に、POS周辺機器の入出力制御(以下、代理制御という)を行う。具体的には、タッチパネル装置5にテンキー領域39を含む代理会計処理画面36B(図4(b)参照)を表示させる制御と、ハンディスキャナー3またはキーボード4から取得した商品コード、およびテンキー領域39から取得した商品金額に基づいた会計処理と、商品コード、商品金額、会計処理の処理結果(会計情報)、レシート発行情報および店舗情報からなるレシート印刷データの生成(図4(b)参照)および出力と、を行う。すなわち、代理制御部24は、装着ボード8がPOS端末2に代わって会計処理を実行するための周辺機器の入出力制御を実行する。なお、代理制御部24の会計処理については後に詳述する。   When the mounted board 8 is switched to the proxy mode, the proxy control unit 24 performs accounting processing on behalf of the POS terminal 2 and performs input / output control (hereinafter referred to as proxy control) of the POS peripheral device. Specifically, from the control for displaying the proxy transaction processing screen 36B including the numeric keypad area 39 on the touch panel device 5 (see FIG. 4B), the product code acquired from the handy scanner 3 or the keyboard 4, and the numeric keypad area 39 Accounting processing based on the acquired merchandise price, generation of receipt print data (see FIG. 4B) and output including merchandise code, merchandise price, accounting processing result (accounting information), receipt issuance information and store information And do. That is, the proxy control unit 24 performs input / output control of peripheral devices for the mounting board 8 to execute the accounting process on behalf of the POS terminal 2. The accounting process of the proxy control unit 24 will be described in detail later.

復旧処理部25は、制御切替部22により、装着ボード8の制御を代理制御部24から通常制御部23に切り替えるよう切替指令が出されると、復旧処理を行う。具体的には、後述の履歴記憶部15に記憶しておいた商品コードを、POS端末2に送信する。このとき、POS端末2から、送信した商品コードに対応するレシート印刷データを取得するが、当該レシート印刷データに基づく印刷は行わない。復旧処理についても後に詳述する。なお、復旧処理が終了した後、装着ボード8は通常モードに切り替わる。   The recovery processing unit 25 performs a recovery process when the control switching unit 22 issues a switching command to switch the control of the mounted board 8 from the proxy control unit 24 to the normal control unit 23. Specifically, the product code stored in the history storage unit 15 described later is transmitted to the POS terminal 2. At this time, receipt print data corresponding to the transmitted product code is acquired from the POS terminal 2, but printing based on the receipt print data is not performed. The recovery process will also be described in detail later. Note that after the restoration process is completed, the mounted board 8 switches to the normal mode.

ROM18は、CPU17が各種演算処理を行うための各種制御プログラムおよび各種制御データを記憶している。特に、ROM18は、代理制御部24がPOS端末2の代理として会計処理および周辺機器の入出力制御を行うための代理制御プログラム20を記憶している。また、RAM19は、CPU17が各種演算処理を行う際のワークエリアとして利用される。   The ROM 18 stores various control programs and various control data for the CPU 17 to perform various arithmetic processes. In particular, the ROM 18 stores a proxy control program 20 for the proxy control unit 24 to perform accounting processing and input / output control of peripheral devices as a proxy for the POS terminal 2. The RAM 19 is used as a work area when the CPU 17 performs various arithmetic processes.

履歴記憶部15は、代理制御部24によって代理制御が実行されているときに、ハンディスキャナー3またはキーボード4から取得した商品コード(入力履歴)を記憶する。なお、復旧処理部25による復旧処理が終了すると、記憶した商品コードを消去する。   The history storage unit 15 stores a product code (input history) acquired from the handy scanner 3 or the keyboard 4 when proxy control is being executed by the proxy control unit 24. When the restoration process by the restoration processing unit 25 is completed, the stored product code is deleted.

切替操作部16は、装着ボード8の制御を通常制御部23と、代理制御部24と、で切替操作するためのもので、例えば、ボタン式操作子や、レバー式操作子等で構成されている。これによりPOS端末2が故障していない場合であっても、例えば、POSサーバー1とPOS端末2との接続に異常がある場合に、代理制御部24の代理制御に切り替えて会計処理を行うことができる。なお、切替操作部16を、キーボード4や、タッチパネル装置5に備えてもよい。   The switching operation unit 16 is for switching the control of the mounting board 8 between the normal control unit 23 and the substitute control unit 24, and is configured by, for example, a button type operation unit or a lever type operation unit. Yes. Thus, even when the POS terminal 2 is not out of order, for example, when there is an abnormality in the connection between the POS server 1 and the POS terminal 2, the accounting control processing is performed by switching to the proxy control of the proxy control unit 24. Can do. Note that the switching operation unit 16 may be provided in the keyboard 4 or the touch panel device 5.

プリンタ本体9は、POS端末2が生成したレシート印刷データ、または、装着ボード8の代理制御部24が生成したレシート印刷データ、を取得して、レシート31を印刷する。図3は、プリンタ本体9が印刷したレシートの一例である。同図(a)は、POS端末2が生成したレシート印刷データに基づくレシート31Aの一例であり、(b)は、代理制御部24が生成したレシート印刷データに基づくレシート31Bの一例である。   The printer main body 9 acquires the receipt print data generated by the POS terminal 2 or the receipt print data generated by the proxy control unit 24 of the mounting board 8 and prints the receipt 31. FIG. 3 is an example of a receipt printed by the printer body 9. FIG. 4A is an example of a receipt 31A based on receipt print data generated by the POS terminal 2, and FIG. 4B is an example of a receipt 31B based on receipt print data generated by the proxy control unit 24.

図3(a)に示すように、POS端末2が生成したレシート印刷データに基づいて発行されたレシート31Aは、店舗情報印刷領域32Aと、レシート発行情報印刷領域33Aと、商品情報印刷領域34Aと、会計情報印刷領域35Aと、を有している。店舗情報印刷領域32Aには、「店名」「店舗名」が印刷される。レシート発行情報印刷領域33Aには、「日時」「レシート発行番号」が印刷される。商品情報印刷領域34Aには、「商品名」「個数」「金額」が印刷される。会計情報印刷領域35Aには、「合計金額」「預かり金額」「おつり金額」が印刷される。   As shown in FIG. 3A, a receipt 31A issued based on the receipt print data generated by the POS terminal 2 includes a store information print area 32A, a receipt issue information print area 33A, and a product information print area 34A. And accounting information printing area 35A. In the store information printing area 32A, “store name” and “store name” are printed. In the receipt issue information printing area 33A, “date and time” and “receipt issue number” are printed. In the product information print area 34A, “product name”, “number”, and “money” are printed. In the accounting information printing area 35A, “total amount”, “deposit amount”, and “change amount” are printed.

一方、図3(b)に示すように、代理制御部24が生成したレシート印刷データに基づいて発行されたレシート31Bは、店舗情報印刷領域32Bと、レシート発行情報印刷領域33Bと、商品情報印刷領域34Bと、会計情報印刷領域35B、を有している。レシート31Aと異なる点は、レシート発行情報印刷領域33Bに「レシート発行番号」ではなく「臨時レシート発行番号」が印刷されている。また、商品情報印刷領域34Bには、「商品名」ではなく「商品コード」が印刷されている。このように、代理制御部24による会計処理時のレシートを、POS端末2による会計処理時のレシートと異なるものにすることで、例えば客がレシートを持参して返品依頼に来店した時などに対応しやすい。なお、店舗情報印刷領域32Bを印刷するためのロゴデータは、POS端末2と装着ボード8の両方に記憶されているものとする。   On the other hand, as shown in FIG. 3B, a receipt 31B issued based on the receipt print data generated by the proxy control unit 24 includes a store information print area 32B, a receipt issue information print area 33B, and a product information print. An area 34B and a transaction information print area 35B are provided. The difference from the receipt 31A is that a “temporary receipt issue number” is printed instead of the “receipt issue number” in the receipt issue information print area 33B. In addition, “product code” is printed instead of “product name” in the product information printing area 34B. In this way, the receipt at the time of the accounting process by the proxy control unit 24 is different from the receipt at the time of the accounting process by the POS terminal 2, so that, for example, when a customer brings a receipt and comes to a return request, etc. It's easy to do. It is assumed that logo data for printing the store information printing area 32B is stored in both the POS terminal 2 and the mounting board 8.

図1に戻り、ハンディスキャナー3は、商品に印刷または貼付されたバーコードである商品コードをスキャンして入力する。一方、キーボード4は、数字列からなる商品コードを店員が手入力することによって商品コードを入力する。また、キーボード4は、商品の個数や、預かり金額を入力するためにも使用する。   Returning to FIG. 1, the handy scanner 3 scans and inputs a product code which is a bar code printed or pasted on the product. On the other hand, the keyboard 4 inputs the product code when the store clerk manually inputs the product code consisting of a numeric string. The keyboard 4 is also used for inputting the number of products and the amount of deposit.

タッチパネル装置5は、POS端末2により会計処理が行われている場合(装着ボード8が通常モードの場合)の通常会計処理画面36A、または代理制御部24により会計処理が行われている場合(装着ボード8が代理モードの場合)の代理会計処理画面36Bを表示する。図4(a)は、通常会計処理画面36Aの一例であり、(b)は、代理会計処理画面36Bの一例である。   The touch panel device 5 is used when the accounting process is performed by the POS terminal 2 (when the mounting board 8 is in the normal mode) or when the accounting process is performed by the proxy control unit 24 (mounted) The proxy transaction processing screen 36B is displayed (when the board 8 is in the proxy mode). FIG. 4A is an example of the normal transaction processing screen 36A, and FIG. 4B is an example of the proxy transaction processing screen 36B.

図4(a)に示すように、通常会計処理画面36Aは、商品情報表示領域37Aと、会計情報表示領域38Aと、を有している。商品情報表示領域37Aには、「商品コード」「商品名」「数」「金額」「メーカー」等が表示される。会計情報表示領域38Aには、「合計金額」「預かり金額」「おつり金額」が表示される。すなわち、店員が入力した商品コードおよび当該商品コードに対応した商品情報が商品情報表示領域37Aに表示され、POS端末2の会計処理結果(会計情報)が、会計情報表示領域38Aに表示される。なお、本通常会計処理画面36Aには、「数」の欄に商品の個数を直接入力してもよいし、同じ商品コードを複数回入力してもよい。後者の場合、「数」の欄に自動的に個数が加算されるようになっている。   As shown in FIG. 4A, the regular transaction processing screen 36A has a product information display area 37A and a transaction information display area 38A. In the product information display area 37A, “product code”, “product name”, “number”, “amount”, “manufacturer”, and the like are displayed. In the accounting information display area 38A, “total amount”, “deposit amount”, and “change amount” are displayed. That is, the product code input by the store clerk and the product information corresponding to the product code are displayed in the product information display area 37A, and the accounting process result (accounting information) of the POS terminal 2 is displayed in the accounting information display area 38A. In the normal accounting process screen 36A, the number of products may be directly input in the “number” field, or the same product code may be input a plurality of times. In the latter case, the number is automatically added to the “number” column.

一方、図4(b)に示すように、代理会計処理画面36Bは、商品情報表示領域37Bと、会計情報表示領域38Bと、テンキー領域39と、報知メッセージ表示領域40と、を有している。商品情報印刷領域34Aには、通常会計処理画面36Aと異なり「商品名」および「メーカー」が表示されていない。また、同じ商品コードを複数回入力しても、「数」の欄に自動的に個数が加算されない。テンキー領域39は、店員が商品金額を入力するためのものである。なお、この商品金額の入力は、キーボード4でも行えるものとする。報知メッセージ表示領域40には、POS端末2が故障している旨、商品金額の入力が必要である旨を報知するメッセージが表示される。すなわち、店員が入力した商品コードおよび商品金額が商品情報表示領域37Bに表示され、代理制御部24の会計処理結果(会計情報)が、会計情報表示領域38に表示される。このように、代理制御部24による会計処理時の代理会計処理画面36Bを、POS端末2による会計処理時の通常会計処理画面36Aと異なるものにすること、また、代理会計処理画面36Bにおいてテンキー領域39の表示により入力操作方法を変えること、報知メッセージの表示で、店員に即座にPOS端末2の故障を報知することができる。   On the other hand, as shown in FIG. 4B, the proxy transaction processing screen 36B has a product information display area 37B, a transaction information display area 38B, a numeric keypad area 39, and a notification message display area 40. . Unlike the normal transaction processing screen 36A, “product name” and “maker” are not displayed in the product information print area 34A. Further, even if the same product code is input a plurality of times, the number is not automatically added to the “number” column. The numeric keypad 39 is for the store clerk to input the product price. It should be noted that the product price can be input using the keyboard 4. In the notification message display area 40, a message is displayed to notify that the POS terminal 2 is out of order and that the commodity price needs to be input. That is, the merchandise code and the merchandise amount input by the store clerk are displayed in the merchandise information display area 37 </ b> B, and the accounting processing result (accounting information) of the proxy control unit 24 is displayed in the accounting information display area 38. In this way, the proxy accounting screen 36B at the time of accounting processing by the proxy control unit 24 is different from the normal accounting screen 36A at the time of accounting processing by the POS terminal 2, and the tenkey area on the proxy accounting screen 36B It is possible to notify the store clerk of the failure of the POS terminal 2 immediately by changing the input operation method by displaying 39 and displaying the notification message.

次に、図5を参照し、装着ボード8の制御切替処理について説明する。装着ボード8(制御部14)は、故障検知部21によりPOS端末2の故障を検知した場合、または、切替操作部16により通常制御部23から代理制御部24への制御切替操作があった場合(S01:YES)、制御切替部22により通常制御部23から代理制御部24への制御切替指令を出す(S02)。その後、装着ボード8は、代理モードに移行する(S03)。一方、故障検知部21によりPOS端末2の故障を検知していない場合、または、切替操作部16により代理制御部24の制御への切替操作がない場合(S01:NO)は、通常モードに移行する(S04)。   Next, the control switching process of the mounted board 8 will be described with reference to FIG. When the failure detection unit 21 detects a failure of the POS terminal 2 or the switching operation unit 16 performs a control switching operation from the normal control unit 23 to the proxy control unit 24. (S01: YES), the control switching unit 22 issues a control switching command from the normal control unit 23 to the proxy control unit 24 (S02). Thereafter, the mounted board 8 shifts to the proxy mode (S03). On the other hand, when the failure detection unit 21 has not detected a failure of the POS terminal 2 or when the switching operation unit 16 has not switched to the control of the proxy control unit 24 (S01: NO), the mode shifts to the normal mode. (S04).

続いて、図6を参照し、装着ボード8の通常モードにおける通常制御処理について説明する。まず、装着ボード8(通常制御部23)は、タッチパネル装置5に通常会計処理画面36Aを表示させる指令を出す(S05)。そして、そしてハンディスキャナー3およびキーボード4から商品コードを取得すると(S06)、POS端末2に商品コードを出力する(S07)。その後、POS端末2からレシート印刷データを取得すると(S08)、プリンタ本体9にレシート印刷データを出力する(S09)。   Next, a normal control process in the normal mode of the mounted board 8 will be described with reference to FIG. First, the mounting board 8 (normal control unit 23) issues a command to display the normal transaction processing screen 36A on the touch panel device 5 (S05). When the product code is acquired from the handy scanner 3 and the keyboard 4 (S06), the product code is output to the POS terminal 2 (S07). Thereafter, when receipt print data is acquired from the POS terminal 2 (S08), the receipt print data is output to the printer body 9 (S09).

続いて、図7を参照し、装着ボード8の代理モードにおける代理制御処理について説明する。まず、装着ボード8(代理制御部24)は、タッチパネル装置5に代理会計処理画面36Bを表示させる指令を出す(S10)。そしてハンディスキャナー3およびキーボード4から商品コードおよび商品金額を取得すると(S11)、履歴記憶部15に商品コードを記憶する(S12)。一方で、商品金額に基づいて合計金額を算出する(S13)。そして預かり金額を取得すると(S14)、おつり金額を算出し(S15)、レシート印刷データを生成して(S16)、プリンタ本体9に出力する(S17)。このように、代理制御部24による代理制御は、POS端末2に代わって会計処理およびレシート印刷データの生成を行うが、当該会計処理は、商品情報を取得せずに「合計金額」および「おつり金額」を算出するのみの簡易的なものである。   Next, a proxy control process in the proxy mode of the mounted board 8 will be described with reference to FIG. First, the mounting board 8 (proxy control unit 24) issues a command to display the proxy transaction processing screen 36B on the touch panel device 5 (S10). When the product code and the product price are acquired from the handy scanner 3 and the keyboard 4 (S11), the product code is stored in the history storage unit 15 (S12). On the other hand, the total price is calculated based on the product price (S13). When the deposit amount is acquired (S14), the change amount is calculated (S15), receipt print data is generated (S16), and output to the printer body 9 (S17). As described above, the proxy control by the proxy control unit 24 performs accounting processing and receipt print data generation on behalf of the POS terminal 2. However, the accounting processing does not acquire product information and performs “total amount” and “change”. It is a simple one that only calculates “amount”.

次に、図8を参照し、POSシステムSY1の復旧処理について説明する。装着ボード8(制御部14)は、制御切替部22によって代理制御部24から通常制御部23へ制御の切替指令を出すと、復旧処理部25によって履歴記憶部15に記憶した商品コードをPOS端末2に送信する(S18)。POS端末2は、商品コードを取得すると、POSサーバー1から当該商品コードに対応した商品情報を取得する(S19)。そして、レシート印刷データを生成し(S20)、装着ボード8に送信する。装着ボード8は、レシート印刷データを取得し(S21)、当該レシート印刷データをプリンタ本体9に送信せずに復旧処理を終了する(S22)。なお、装着ボード8は、レシート印刷データを取得しなくなってから、所定時間が経過したとき、復旧処理が終了したと判定する。その後、装着ボード8は、通常モードに移行する。この場合、POS端末2は、履歴記憶部15に記憶されていた商品コードをPOSサーバー1に送信するため、代理制御中の履歴を売上情報に反映させることができる。この構成によれば、POS端末2の構成を変更させることなく、代理制御中の履歴を売上情報に反映させることができる。   Next, the recovery process of the POS system SY1 will be described with reference to FIG. When the mounting board 8 (control unit 14) issues a control switching command from the proxy control unit 24 to the normal control unit 23 by the control switching unit 22, the product code stored in the history storage unit 15 by the recovery processing unit 25 is stored in the POS terminal. 2 (S18). When acquiring the product code, the POS terminal 2 acquires product information corresponding to the product code from the POS server 1 (S19). Then, receipt print data is generated (S20) and transmitted to the mounting board 8. The mounting board 8 acquires the receipt print data (S21), and ends the restoration process without transmitting the receipt print data to the printer body 9 (S22). Note that the mounting board 8 determines that the restoration process has been completed when a predetermined time has elapsed since the receipt print data is no longer acquired. Thereafter, the mounting board 8 shifts to the normal mode. In this case, since the POS terminal 2 transmits the product code stored in the history storage unit 15 to the POS server 1, the history during proxy control can be reflected in the sales information. According to this configuration, the history under proxy control can be reflected in the sales information without changing the configuration of the POS terminal 2.

ここで、本実施形態の変形例について説明する。本変形例に係る装着ボード8は、制御部14のROM18に記憶した代理制御プログラム20に、POS端末2がレシート31に印刷された商品コード、商品金額、会計処理の処理結果(会計情報)およびレシート発行情報(以下、会計処理情報という)をPOSサーバー1に送信するための送信プログラム(図示省略)を含んでいる。そして、代理制御部24による代理制御中にレシートに印刷された会計処理情報を履歴記憶部15に記憶する。   Here, a modified example of the present embodiment will be described. The mounting board 8 according to the present modification includes a commodity control code stored in the receipt 31 of the POS terminal 2 in the proxy control program 20 stored in the ROM 18 of the control unit 14, a commodity price, a processing result (accounting information) of the accounting process, and A transmission program (not shown) for transmitting receipt issue information (hereinafter referred to as accounting processing information) to the POS server 1 is included. Then, the transaction processing information printed on the receipt during the proxy control by the proxy control unit 24 is stored in the history storage unit 15.

図9を参照し、本変形例に係るPOSシステムSY1の復旧処理について説明する。装着ボード8(制御部14)は、制御切替部22によって代理制御部24から通常制御部23へ制御の切替指令を出すと、復旧処理部25によって履歴記憶部15に記憶した会計処理情報と送信プログラムをPOS端末2に送信する(S23)。POS端末2は、会計処理情報と送信プログラムを取得すると(S24)、取得した送信プログラムにしたがって会計処理情報をPOSサーバー1に送信する(S25)。この場合、POSサーバー1は、取得した会計処理情報を売上情報に反映させる。一方、装着ボード8は、履歴記憶部15に記憶したすべての会計処理情報をPOS端末2に送信すると、復旧処理を終了する。その後、装着ボード8は、通常モードに移行する。この構成によれば、代理制御部24による代理制御中の詳細な情報を売上情報に反映させることができる。   With reference to FIG. 9, the restoration process of the POS system SY1 according to the present modification will be described. When the mounting board 8 (control unit 14) issues a control switching command from the proxy control unit 24 to the normal control unit 23 by the control switching unit 22, the transaction processing information stored in the history storage unit 15 by the restoration processing unit 25 is transmitted. The program is transmitted to the POS terminal 2 (S23). When the POS terminal 2 acquires the accounting process information and the transmission program (S24), the POS terminal 2 transmits the accounting process information to the POS server 1 according to the acquired transmission program (S25). In this case, the POS server 1 reflects the acquired transaction processing information in the sales information. On the other hand, the mounting board 8 ends the restoration process when all the accounting process information stored in the history storage unit 15 is transmitted to the POS terminal 2. Thereafter, the mounting board 8 shifts to the normal mode. According to this configuration, detailed information during the proxy control by the proxy control unit 24 can be reflected in the sales information.

[第2実施形態]
以下、図10および図11を参照し、本発明の第2実施形態について説明する。なお、以下の説明において、上記の第1実施形態と同様の構成については、同様の符号を付し、詳細な説明を省略する。また、上記の第1実施形態に係る変形例についても、本実施形態に適用可能である。図10に示すように、本実施形態のPOSシステムSY2は、装着ボード8がアプリケーションサーバー50にネットワークNTを介して接続されている点で第1実施形態と異なっている。また、装着ボード8は、制御部14(ROM18)に代理制御プログラム20を記憶しておらず、代理制御部24は、アプリケーションサーバー50が有する代理制御プログラム51をダウンロードすることで、代理制御を行う。
[Second Embodiment]
Hereinafter, a second embodiment of the present invention will be described with reference to FIGS. 10 and 11. In the following description, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted. The modification according to the first embodiment is also applicable to the present embodiment. As shown in FIG. 10, the POS system SY2 of the present embodiment is different from the first embodiment in that the mounting board 8 is connected to the application server 50 via the network NT. Further, the mounting board 8 does not store the proxy control program 20 in the control unit 14 (ROM 18), and the proxy control unit 24 performs proxy control by downloading the proxy control program 51 included in the application server 50. .

図11を参照し、本実施形態に係る装着ボード8の制御の切替処理について説明する。装着ボード8(制御部14)は、故障検知部21によりPOS端末2の故障を検知した場合、または、切替操作部16により通常制御部23から代理制御部24への制御切替操作があった場合(S26:YES)、アプリケーションサーバー50から代理制御プログラム51をダウンロードして(S27)、ROM18に代理制御プログラム51を記憶する。そして、制御切替部22により通常制御部23から代理制御部24への制御切替指令を出す(S28)。その後、装着ボード8は、代理モードに移行する(S29)。一方、故障検知部21によりPOS端末2の故障を検知していない場合、または、切替操作部16により代理制御部24の制御への切替操作がない場合は(S26:NO)、通常モードに移行する(S30)。   With reference to FIG. 11, the control switching process of the mounting board 8 according to the present embodiment will be described. When the failure detection unit 21 detects a failure of the POS terminal 2 or the switching operation unit 16 performs a control switching operation from the normal control unit 23 to the proxy control unit 24. (S26: YES), the proxy control program 51 is downloaded from the application server 50 (S27), and the proxy control program 51 is stored in the ROM 18. Then, the control switching unit 22 issues a control switching command from the normal control unit 23 to the proxy control unit 24 (S28). Thereafter, the mounted board 8 shifts to the proxy mode (S29). On the other hand, when the failure detection unit 21 has not detected a failure of the POS terminal 2 or when the switching operation unit 16 has not switched to the control of the proxy control unit 24 (S26: NO), the process proceeds to the normal mode. (S30).

このように、第2実施形態によれば、装着ボード8の代理制御部24は最新の代理制御プログラム51にしたがって代理制御を実行することができる。また、代理制御プログラム51を予めROM18に記憶させておく必要が無いため、このための構成を省くことができる。   As described above, according to the second embodiment, the proxy control unit 24 of the mounting board 8 can execute proxy control according to the latest proxy control program 51. Further, since it is not necessary to store the proxy control program 51 in the ROM 18 in advance, the configuration for this can be omitted.

なお、代理制御プログラム51は、ダウンロードするのではなく、アプリケーションサーバー50上で動作する構成としてもよい。この構成によれば、装着ボード8の制御負荷を軽減できる。   The proxy control program 51 may be configured to operate on the application server 50 instead of downloading. According to this configuration, the control load on the mounting board 8 can be reduced.

これまで説明してきたPOSシステムSY1、SY2によれば、装着ボード8によって、POS端末2の故障を検知すると共に、POS端末2に代わって会計処理を実行することができる。すなわち、POS端末2の故障時に会計処理を滞らせることがないため、売上の損失を抑えることができる。また、復旧処理によってPOS端末2の故障時の会計処理の情報をPOSサーバー1に反映させることができるため、売上情報の損失も防ぐことができる。
なお、装着ボード8により上記の構成を実現させることで、従来のPOS端末2の構成を変更させることなく、POS端末2が故障しても会計処理を実行することのできるPOSシステムSYを実現することができる。
According to the POS systems SY <b> 1 and SY <b> 2 described so far, the mounting board 8 can detect a failure of the POS terminal 2 and execute accounting processing in place of the POS terminal 2. That is, since the accounting process is not delayed when the POS terminal 2 breaks down, the loss of sales can be suppressed. Further, since the information on the accounting process at the time of the failure of the POS terminal 2 can be reflected in the POS server 1 by the recovery process, the loss of sales information can be prevented.
In addition, by realizing the above-described configuration with the mounting board 8, a POS system SY that can execute accounting processing even if the POS terminal 2 breaks down without changing the configuration of the conventional POS terminal 2 is realized. be able to.

なお、上記の各実施形態では、装着ボード8をレシートプリンター6に装着する構成としたが、レシートプリンター6以外のPOS周辺機器(キーボード4、ハンディスキャナー3およびタッチパネル装置5)に装着する構成としてもよい。また、装着ボード8を独立した中継機器として構成しても良い。   In each of the above embodiments, the mounting board 8 is mounted on the receipt printer 6. However, the mounting board 8 may be mounted on a POS peripheral device (keyboard 4, handy scanner 3, and touch panel device 5) other than the receipt printer 6. Good. Further, the mounting board 8 may be configured as an independent relay device.

なお、上記の各実施形態で実行可能なPOSシステムSYの処理工程をプログラムとして提供することが可能である。また、そのプログラムを各種記録媒体(CD−ROM、フラッシュメモリー等)に格納して提供することも可能である。すなわち、コンピューターを、POSシステムSYの各構成要素として機能させるためのプログラム、およびそれを記録した記録媒体も、本発明の権利範囲に含まれるものである。   Note that it is possible to provide the processing steps of the POS system SY that can be executed in each of the above embodiments as a program. Further, the program can be provided by being stored in various recording media (CD-ROM, flash memory, etc.). That is, a program for causing a computer to function as each component of the POS system SY and a recording medium on which the program is recorded are also included in the scope of rights of the present invention.

1:POSサーバー 2:POS端末 5:タッチパネル装置 6:レシートプリンター 8:装着ボード 9:プリンタ本体 15:履歴記憶部 16:切替操作部 20,51:代理制御プログラム 21:故障検知部 22:制御切替部 23:通常制御部 24:代理制御部 25:復旧処理部 39:テンキー領域 50:アプリケーションサーバー SY:POSシステム DB:商品データベース   1: POS server 2: POS terminal 5: Touch panel device 6: Receipt printer 8: Mounting board 9: Printer main body 15: History storage unit 16: Switching operation unit 20, 51: Proxy control program 21: Failure detection unit 22: Control switching Unit 23: Normal control unit 24: Proxy control unit 25: Recovery processing unit 39: Tenkey area 50: Application server SY: POS system DB: Product database

Claims (13)

POS端末およびPOS周辺機器と接続されて用いられる中継装置であって、
前記POS端末からの指令に基づいて、前記POS周辺機器の入出力制御を行う通常制御部と、
前記POS端末からの指令を受けることなく、前記POS端末の代理として前記POS周辺機器の入出力制御を行う代理制御部と、
前記POS端末の故障を検知する故障検知部と、
前記故障検知部の検知に基づいて、前記通常制御部の入出力制御から前記代理制御部の入出力制御に切り替える制御切替部と、を備えたことを特徴とする中継装置。
A relay device used in connection with a POS terminal and a POS peripheral device,
A normal control unit that performs input / output control of the POS peripheral device based on a command from the POS terminal;
A proxy control unit that performs input / output control of the POS peripheral device as a proxy of the POS terminal without receiving a command from the POS terminal;
A failure detection unit for detecting a failure of the POS terminal;
A relay apparatus comprising: a control switching unit that switches from input / output control of the normal control unit to input / output control of the proxy control unit based on detection of the failure detection unit.
前記POS周辺機器は、商品コードを入力可能なコード入力装置と、商品金額を入力可能なテンキー入力装置と、レシートを印刷する印刷装置と、を含み、
前記POS端末は、商品データべースを含むPOSサーバーと接続され、当該POSサーバーから前記商品コードに対応する商品情報を取得してレシート印刷データを生成し、
前記通常制御部は、少なくとも、前記コード入力装置から取得した前記商品コードを前記POS端末に出力する制御と、前記POS端末から前記レシート印刷データを取得し、当該レシート印刷データを前記印刷装置に出力する制御と、を実行し、
前記代理制御部は、少なくとも、前記コード入力装置および前記テンキー入力装置から取得した前記商品コードおよび前記商品金額に基づいてレシート印刷データを生成し、当該レシート印刷データを前記印刷装置に出力する制御を実行することを特徴とする請求項1に記載の中継装置。
The POS peripheral device includes a code input device that can input a product code, a numeric keypad input device that can input a product price, and a printing device that prints a receipt.
The POS terminal is connected to a POS server including a product database, acquires product information corresponding to the product code from the POS server, generates receipt print data,
The normal control unit at least controls to output the product code acquired from the code input device to the POS terminal, acquires the receipt print data from the POS terminal, and outputs the receipt print data to the printing device Control and execute
The proxy control unit generates control for generating receipt print data based on at least the product code and the product price acquired from the code input device and the numeric keypad input device, and outputs the receipt print data to the printing device. The relay device according to claim 1, wherein the relay device is executed.
前記テンキー入力装置は、タッチパネルであり、
前記通常制御部は、前記タッチパネルに、前記POS端末から取得した前記レシート印刷データの一部または前記商品情報を表示させ、
前記代理制御部は、前記タッチパネルに、前記テンキー入力装置として機能するためのテンキー領域を表示させると共に、前記商品コードおよび前記商品金額を表示させることを特徴とする請求項2に記載の中継装置。
The numeric keypad input device is a touch panel,
The normal control unit causes the touch panel to display a part of the receipt print data acquired from the POS terminal or the product information,
The relay device according to claim 2, wherein the proxy control unit causes the touch panel to display a ten-key area for functioning as the ten-key input device, and to display the product code and the product price.
前記制御切替部は、前記故障検知部の検知の他に、ユーザーの操作に基づいて、前記通常制御部の入出力制御および前記代理制御部の入出力制御を切り替えることを特徴とする請求項1ないし3のいずれかに記載の中継装置。   2. The control switching unit switches input / output control of the normal control unit and input / output control of the proxy control unit based on a user operation in addition to the detection of the failure detection unit. 4. The relay device according to any one of 3 to 3. 前記制御切替部により、前記通常制御部の入出力制御から前記代理制御部の入出力制御に切り替えられた場合、
前記代理制御部は、前記中継装置にネットワーク接続されたアプリケーションサーバーから、前記POS端末の代理として前記POS周辺機器の入出力制御を行うための代理制御プログラムを取得することを特徴とする請求項1ないし4のいずれかに記載の中継装置。
When the control switching unit is switched from the input / output control of the normal control unit to the input / output control of the proxy control unit,
2. The proxy control unit acquires a proxy control program for performing input / output control of the POS peripheral device as a proxy of the POS terminal from an application server connected to the relay device over a network. 5. A relay device according to any one of 4 to 4.
前記制御切替部により、前記通常制御部の入出力制御から前記代理制御部の入出力制御に切り替えられた場合、
前記代理制御部は、前記POS端末の代理として前記POS周辺機器の入出力制御を行うための代理制御プログラムを動作可能なアプリケーションサーバーにアクセスし、当該アプリケーションサーバー上で動作する前記代理制御プログラムにしたがって制御を行うことを特徴とする請求項1ないし4のいずれかに記載の中継装置。
When the control switching unit is switched from the input / output control of the normal control unit to the input / output control of the proxy control unit,
The proxy control unit accesses an application server capable of operating a proxy control program for performing input / output control of the POS peripheral device as a proxy of the POS terminal, and follows the proxy control program operating on the application server 5. The relay apparatus according to claim 1, wherein control is performed.
前記代理制御部が制御した入出力制御の履歴を記憶する履歴記憶部を、さらに備えたことを特徴とする請求項1ないし6のいずれかに記載の中継装置。   The relay apparatus according to claim 1, further comprising a history storage unit that stores a history of input / output control controlled by the proxy control unit. 前記入出力制御の履歴には、前記商品コードからなる入力履歴が含まれ、
前記制御切替部により、前記代理制御部の入出力制御から前記通常制御部の入出力制御に切り替えられた場合、前記履歴記憶部に記憶された前記入力履歴を、前記POS端末に送信する復旧処理部をさらに備えたことを特徴とする請求項7に記載の中継装置。
The input / output control history includes an input history consisting of the product code,
When the control switching unit switches from the input / output control of the proxy control unit to the input / output control of the normal control unit, the restoration process of transmitting the input history stored in the history storage unit to the POS terminal The relay apparatus according to claim 7, further comprising a unit.
前記入出力制御の履歴には、前記レシートに印刷された会計処理情報が含まれ、
前記代理制御プログラムは、前記POS端末が前記会計処理情報を前記POSサーバーに送信するための送信プログラムを含み、
前記制御切替部により、前記代理制御部の入出力制御から前記通常制御部の入出力制御に切り替えられた場合、前記履歴記憶部に記憶された前記会計処理情報と、前記送信プログラムと、を前記POS端末に送信する復旧処理部をさらに備えたことを特徴とする請求項7に記載の中継装置。
The history of the input / output control includes accounting processing information printed on the receipt,
The proxy control program includes a transmission program for the POS terminal to transmit the transaction processing information to the POS server,
When the control switching unit is switched from the input / output control of the proxy control unit to the input / output control of the normal control unit, the accounting processing information stored in the history storage unit, and the transmission program, The relay apparatus according to claim 7, further comprising a recovery processing unit that transmits to the POS terminal.
請求項1ないし9のいずれかに記載の中継装置として機能し、
前記POS周辺機器に装着されて用いられることを特徴とする装着ボード。
It functions as a relay device according to any one of claims 1 to 9,
A mounting board, which is used by being mounted on the POS peripheral device.
請求項1ないし9のいずれかに記載の中継装置と、
前記POS端末と、
前記POS周辺機器と、を備えたことを特徴とするPOSシステム。
A relay device according to any one of claims 1 to 9,
The POS terminal;
A POS system comprising the POS peripheral device.
POS端末およびPOS周辺機器と接続されて用いられる中継装置の制御方法であって、
前記中継装置が、
前記POS端末の故障を検知する故障検知ステップと、
前記故障検知ステップにおける故障の検知に基づいて、前記POS端末からの指令により前記POS周辺機器の入出力制御を行う通常制御から、前記POS端末からの指令を受けることなく前記POS端末の代理として前記POS周辺機器の入出力制御を行う代理制御に切り替える制御切替ステップと、を実行することを特徴とする中継装置の制御方法。
A control method of a relay device used in connection with a POS terminal and a POS peripheral device,
The relay device is
A failure detection step of detecting a failure of the POS terminal;
Based on the detection of the failure in the failure detection step, from the normal control for performing input / output control of the POS peripheral device by the command from the POS terminal, the proxy for the POS terminal without receiving the command from the POS terminal And a control switching step of switching to proxy control for performing input / output control of POS peripheral devices.
コンピューターに、請求項12に記載の中継装置の制御方法における各ステップを実行させるためのプログラム。   The program for making a computer perform each step in the control method of the relay apparatus of Claim 12.
JP2010136848A 2010-06-16 2010-06-16 Relay device, mounting board and pos system including them, and control method of relay device and program Withdrawn JP2012003445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010136848A JP2012003445A (en) 2010-06-16 2010-06-16 Relay device, mounting board and pos system including them, and control method of relay device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010136848A JP2012003445A (en) 2010-06-16 2010-06-16 Relay device, mounting board and pos system including them, and control method of relay device and program

Publications (1)

Publication Number Publication Date
JP2012003445A true JP2012003445A (en) 2012-01-05

Family

ID=45535359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010136848A Withdrawn JP2012003445A (en) 2010-06-16 2010-06-16 Relay device, mounting board and pos system including them, and control method of relay device and program

Country Status (1)

Country Link
JP (1) JP2012003445A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014086032A (en) * 2012-10-26 2014-05-12 Teraoka Seiko Co Ltd Pos system
JP2016136443A (en) * 2016-04-28 2016-07-28 株式会社寺岡精工 Pos system, merchandise registration device, and program
JP2016157467A (en) * 2016-04-11 2016-09-01 株式会社寺岡精工 Pos system, registration device, adjustment device and program
JP2017059256A (en) * 2016-12-12 2017-03-23 株式会社寺岡精工 POS system and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014086032A (en) * 2012-10-26 2014-05-12 Teraoka Seiko Co Ltd Pos system
JP2016157467A (en) * 2016-04-11 2016-09-01 株式会社寺岡精工 Pos system, registration device, adjustment device and program
JP2016136443A (en) * 2016-04-28 2016-07-28 株式会社寺岡精工 Pos system, merchandise registration device, and program
JP2017059256A (en) * 2016-12-12 2017-03-23 株式会社寺岡精工 POS system and program

Similar Documents

Publication Publication Date Title
US10048912B2 (en) Control device, control method of a control device, server, and network system
EP2796985B1 (en) Print control device, printing system, and print control method
JP2013250602A (en) Terminal device, control method of terminal device and program
US10362147B2 (en) Network system and communication control method using calculated communication intervals
US9787858B2 (en) Network system and control method of a network system
JP2005084759A (en) Pos terminal equipment, pos system, and program
US12045792B2 (en) Systems and methods of implementing a distributed retail point-of-sale hardware management network
JP2012003445A (en) Relay device, mounting board and pos system including them, and control method of relay device and program
JP6589870B2 (en) Printer and data processing method
JP4983445B2 (en) Network system and program
US10356170B2 (en) Network system and control method of a network system, and a control device
JP6908456B2 (en) Information processing equipment and programs
JP2013254343A (en) Pos system, pos system control method and printing equipment
JP7449113B2 (en) Sales data processing device and program
US12062028B2 (en) Systems and methods of managing hardware systems in a retail point-of-sale management network
JP6999440B2 (en) Product sales data processing equipment and programs
JP2005208942A (en) System, electronic apparatus, program, and method for controlling data transmission
JP6405844B2 (en) Network system and communication method
JP6756267B2 (en) Data processing system and data processing method
JP2022028027A (en) Portable terminal and program
JP2023088771A (en) Information processor and server
JPH07146896A (en) Sales register device
JP2019152932A (en) Printing system, customer display, host terminal, and printing-related processing method
JP2011194722A (en) Mounting board and electronic device
US20170213203A1 (en) Network System and Communication Method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130903