Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7849313B2 - Accounting system, input device, payment device, and program - Google Patents
[go: Go Back, main page]

JP7849313B2 - Accounting system, input device, payment device, and program - Google Patents

Accounting system, input device, payment device, and program

Info

Publication number
JP7849313B2
JP7849313B2 JP2023026493A JP2023026493A JP7849313B2 JP 7849313 B2 JP7849313 B2 JP 7849313B2 JP 2023026493 A JP2023026493 A JP 2023026493A JP 2023026493 A JP2023026493 A JP 2023026493A JP 7849313 B2 JP7849313 B2 JP 7849313B2
Authority
JP
Japan
Prior art keywords
input
payment
transaction
processor
settlement
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
JP2023026493A
Other languages
Japanese (ja)
Other versions
JP2024119519A (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.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec 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 Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP2023026493A priority Critical patent/JP7849313B2/en
Publication of JP2024119519A publication Critical patent/JP2024119519A/en
Application granted granted Critical
Publication of JP7849313B2 publication Critical patent/JP7849313B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

本発明の実施形態は、会計システム、及びこのシステムの入力装置及び決済装置、さらには入力装置及び決済装置それぞれのプログラムに関する。 Embodiments of the present invention relate to an accounting system, an input device and a settlement device for this system, and further to programs for the input device and the settlement device, respectively.

近年、量販店向けの会計システムとして、店員と客とが操作を分担する分担方式の会計システムが知られている。この種の会計システムは、取引毎にその取引で売買される商品のデータ入力を受け付ける入力装置と、この入力装置で入力された商品のデータを基に取引の決済処理を実行する決済装置とを分離する。そして、店員が入力装置を操作し、客が決済装置を操作するように配置する。 In recent years, a type of accounting system for mass retailers that involves a shared operation between store employees and customers has become known. This type of accounting system separates an input device that receives data on the goods bought and sold in each transaction from a settlement device that processes the transaction based on the data entered by the input device. The system is then arranged so that store employees operate the input device and customers operate the settlement device.

分担方式の会計システムは、商品のデータ入力操作を店員が行うため、客が全ての操作を自身で行うセルフ方式の会計システムよりもデータ入力に要する時間が短縮される。その一方で、客が決済装置を操作するため、操作に不慣れな客が決済に手間取ることが想定される。そこで一般に、分担方式の会計システムは、1台の入力装置に対して複数台の決済装置が割り当てられている。 In a shared-task accounting system, store employees handle the data entry of products, thus reducing the time required for data entry compared to a self-service system where customers perform all operations themselves. However, because customers operate the payment devices, it is anticipated that unfamiliar customers may have difficulty with the process. Therefore, generally, a shared-task accounting system assigns multiple payment devices to a single data entry device.

従来のこの種の会計システムは、店員が入力装置に対して客との取引で売買される商品のデータ入力を全て終えると、入力装置において決済情報が生成される。決済情報は、売買された商品の商品コード、商品名、単価、数量、金額等の明細情報と、合計点数、合計金額等の合計情報と、を含む。そして決済情報は、いずれかの空いている決済装置に送信されるので、店員は、客をその決済装置へと案内する。決済情報を受信した決済装置は決済処理が可能となるので、客は、決済装置を操作して、現金、クレジットカード、電子マネー等で代金を支払う。かくして分担方式の会計システムは、店員と客が操作を分担して取引を決済する。 In conventional accounting systems of this type, once a store employee has entered all the data for the goods bought and sold in a transaction with a customer into an input device, the input device generates settlement information. This settlement information includes detailed information such as the product code, product name, unit price, quantity, and amount of the goods sold, as well as total information such as the total number of items and total amount. The settlement information is then transmitted to an available payment device, and the store employee guides the customer to that device. Upon receiving the settlement information, the payment device becomes ready for settlement, and the customer operates the device to pay using cash, credit card, electronic money, etc. Thus, in this shared-operation accounting system, the store employee and the customer share the operation of settling the transaction.

特開2013-242839号公報Japanese Patent Publication No. 2013-242839

本発明の実施形態が解決しようとする課題は、入力装置で決済情報を生成することなく店員と客が操作を分担して取引を決済できる会計システム、及びこのシステムの入力装置及び決済装置、さらには入力装置及び決済装置それぞれのプログラムを提供しようとするものである。 The problem that the embodiments of this invention aim to solve is to provide an accounting system in which a store clerk and a customer can share the operation and settle a transaction without generating settlement information using an input device, as well as an input device and a settlement device for this system, and furthermore, programs for the input device and the settlement device, respectively.

一実施形態において、会計システムは、入力デバイスを介して取引に係るデータを入力する入力装置と、取引を決済する複数台の決済装置とを通信回線で接続する。
入力装置は、決定手段と、終了検出手段と、第1送信手段と、第1通知手段とを備える。決定手段は、取引に係るデータを入力する前に、複数台の決済装置のうちいずれか一台の決済装置を接続先として決定する。終了検出手段は、取引に係るデータの入力終了指示を検出する。第1送信手段は、入力デバイスを介して入力された取引に係るデータを、終了検出手段により当該取引に係るデータの入力終了指示が検出される前に、決定手段により接続先として決定されたいずれか一台の決済装置に送信する。第1通知手段は、終了検出手段により取引に係るデータの入力終了指示が検出されると、決定手段により接続先として決定されたいずれか一台の決済装置に入力終了を通知する信号を出力する。
決済装置は、決済側記憶手段と、決済手段とを備える。決済側記憶手段は、入力装置から送信されてくる取引に係るデータを、当該取引が決済されるまで決済側記憶部で記憶する。決済手段は、入力装置から入力終了を通知する信号を受信すると、決済側記憶部で記憶した取引に係るデータに基づいて取引を決済する。
In one embodiment, the accounting system connects an input device that inputs transaction data via an input device with multiple settlement devices that settle transactions via a communication line.
The input device comprises a determination means, a completion detection means, a first transmission means, and a first notification means. Before inputting transaction data, the determination means determines one of several settlement devices as the connection destination. The completion detection means detects an instruction to complete input of transaction data. The first transmission means transmits the transaction data input via the input device to one of the settlement devices determined as the connection destination by the determination means before the completion detection means detects an instruction to complete input of the transaction data. When the completion detection means detects an instruction to complete input of transaction data, the first notification means outputs a signal to one of the settlement devices determined as the connection destination by the determination means to notify it of the completion of input.
The settlement device comprises a settlement-side storage means and a settlement means. The settlement-side storage means stores transaction data transmitted from the input device in the settlement-side storage unit until the transaction is settled. When the settlement means receives a signal from the input device indicating the end of input, it settles the transaction based on the transaction data stored in the settlement-side storage unit.

図1は、実施形態に係る会計システムの概略構成を示す模式図である。Figure 1 is a schematic diagram showing the general configuration of the accounting system according to the embodiment. 図2は、会計システムに組み込まれる入力装置のハードウェア構成を示すブロック図である。Figure 2 is a block diagram showing the hardware configuration of an input device to be incorporated into an accounting system. 図3は、会計システムに組み込まれる決済装置のハードウェア構成を示すブロック図である。Figure 3 is a block diagram showing the hardware configuration of a payment device to be incorporated into an accounting system. 図4は、第1の実施形態において、入力装置のプロセッサが有する主要な機能構成を示すブロック図である。Figure 4 is a block diagram showing the main functional configuration of the input device processor in the first embodiment. 図5は、第1の実施形態において、入力装置が有する第1データテーブルの構成を示す模式図である。Figure 5 is a schematic diagram showing the configuration of the first data table of the input device in the first embodiment. 図6は、明細レコードのデータ構成を示す模式図である。Figure 6 is a schematic diagram showing the data structure of detail records. 図7は、第1の実施形態において、決済装置のプロセッサが有する主要な機能構成を示すブロック図である。Figure 7 is a block diagram showing the main functional configuration of the payment device processor in the first embodiment. 図8は、決済装置が有するフラグメモリの構成を示す模式図である。Figure 8 is a schematic diagram showing the configuration of the flag memory in the payment device. 図9は、第1の実施形態において、入力装置のプロセッサが入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 9 is a flowchart showing the main steps of information processing performed by the input device's processor according to the input program in the first embodiment. 図10は、第1の実施形態において、入力装置のプロセッサが入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 10 is a flowchart showing the main steps of information processing performed by the input device's processor according to the input program in the first embodiment. 図11は、第1の実施形態において、決済装置のプロセッサが決済プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 11 is a flowchart showing the main steps of information processing performed by the payment device's processor in accordance with the payment program in the first embodiment. 図12は、第1の実施形態において、決済装置のプロセッサが決済プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 12 is a flowchart showing the main steps of information processing performed by the processor of the payment device in accordance with the payment program in the first embodiment. 図13は、入力装置のタッチパネルに表示される接続先選択画面の一例である。Figure 13 shows an example of a connection destination selection screen displayed on the touch panel of an input device. 図14は、入力装置のタッチパネルに表示される接続不可画面の一例である。Figure 14 shows an example of a connection failure screen displayed on the touch panel of an input device. 図15は、入力装置のタッチパネルに表示される接続先選択画面の一例である。Figure 15 shows an example of a connection destination selection screen displayed on the touch panel of an input device. 図16は、入力装置のタッチパネルに表示される明細画面の一例である。Figure 16 shows an example of a details screen displayed on the touch panel of an input device. 図17は、入力装置のタッチパネルに表示される小計画面の一例である。Figure 17 shows an example of a subplan view displayed on the touch panel of an input device. 図18は、決済装置のタッチパネルに表示される待機画面の一例である。Figure 18 shows an example of a standby screen displayed on the touch panel of a payment device. 図19は、決済装置のタッチパネルに表示される支払い方法選択画面の一例である。Figure 19 shows an example of a payment method selection screen displayed on the touch panel of a payment device. 図20は、決済装置のタッチパネルに表示される会計画面の一例である。Figure 20 shows an example of an accounting screen displayed on the touch panel of a payment device. 図21は、第2の実施形態において、入力装置のプロセッサが有する主要な機能構成を示すブロック図である。Figure 21 is a block diagram showing the main functional configuration of the input device processor in the second embodiment. 図22は、第2の実施形態において、決済装置のプロセッサが有する主要な機能構成を示すブロック図である。Figure 22 is a block diagram showing the main functional configuration of the processor of the payment device in the second embodiment. 図23は、第2の実施形態において、入力装置のプロセッサが入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 23 is a flowchart showing the main steps of information processing performed by the input device's processor according to the input program in the second embodiment. 図24は、第2の実施形態において、決済装置のプロセッサが決済プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 24 is a flowchart showing the main steps of information processing performed by the payment device's processor in accordance with the payment program in the second embodiment. 図25は、入力装置のタッチパネルに表示される明細画面の一例である。Figure 25 shows an example of a details screen displayed on the touch panel of an input device. 図26は、入力装置のタッチパネルに表示される修正画面の一例である。Figure 26 shows an example of a correction screen displayed on the touch panel of an input device. 図27は、入力装置のタッチパネルに表示される修正画面の一例である。Figure 27 shows an example of a correction screen displayed on the touch panel of an input device. 図28は、入力装置のタッチパネルに表示される明細画面の一例である。Figure 28 shows an example of a details screen displayed on the touch panel of an input device. 図29は、入力装置のタッチパネルに表示される修正画面の一例である。Figure 29 shows an example of a correction screen displayed on the touch panel of an input device. 図30は、入力装置のタッチパネルに表示される明細画面の一例である。Figure 30 shows an example of a details screen displayed on the touch panel of an input device. 図31は、第3の実施形態において、入力装置のプロセッサが有する主要な機能構成を示すブロック図である。Figure 31 is a block diagram showing the main functional configuration of the input device processor in the third embodiment. 図32は、第3の実施形態において、入力装置が有する第2データテーブルの構成を示す模式図である。Figure 32 is a schematic diagram showing the configuration of the second data table of the input device in the third embodiment. 図33は、第3の実施形態において、決済装置のプロセッサが有する主要な機能構成を示すブロック図である。Figure 33 is a block diagram showing the main functional configuration of the payment device processor in the third embodiment. 図34は、第3の実施形態において、入力装置のプロセッサが入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 34 is a flowchart showing the main steps of information processing performed by the input device's processor according to the input program in a third embodiment. 図35は、第3の実施形態において、入力装置のプロセッサが入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 35 is a flowchart showing the main steps of information processing performed by the input device's processor according to the input program in a third embodiment. 図36は、第3の実施形態において、入力装置のプロセッサが入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 36 is a flowchart showing the main steps of information processing performed by the input device's processor according to the input program in a third embodiment. 図37は、第3の実施形態において、決済装置のプロセッサが決済プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 37 is a flowchart showing the main steps of information processing performed by the payment device's processor in accordance with the payment program in the third embodiment. 図38は、第3の実施形態において、決済装置のプロセッサが決済プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 38 is a flowchart showing the main steps of information processing performed by the payment device's processor in accordance with the payment program in a third embodiment. 図39は、入力装置のタッチパネルに表示される接続先選択画面の一例である。Figure 39 shows an example of a connection destination selection screen displayed on the touch panel of an input device. 図40は、入力装置のタッチパネルに表示される第2明細画面の一例である。Figure 40 shows an example of the second detail screen displayed on the touch panel of the input device. 図41は、第4の実施形態において、入力装置のプロセッサが有する主要な機能構成を示すブロック図である。Figure 41 is a block diagram showing the main functional configuration of the input device processor in the fourth embodiment. 図42は、第4の実施形態における明細レコードのデータ構成を示す模式図である。Figure 42 is a schematic diagram showing the data structure of the detail record in the fourth embodiment. 図43は、第4の実施形態において、決済装置のプロセッサが有する主要な機能構成を示すブロック図である。Figure 43 is a block diagram showing the main functional configuration of the payment device processor in the fourth embodiment. 図44は、第4の実施形態において、入力装置のプロセッサが入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 44 is a flowchart showing the main steps of information processing performed by the input device's processor according to the input program in the fourth embodiment. 図45は、第4の実施形態において、入力装置のプロセッサが入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 45 is a flowchart showing the main steps of information processing performed by the input device's processor according to the input program in the fourth embodiment. 図46は、第4の実施形態において、決済装置のプロセッサが決済プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 46 is a flowchart showing the main steps of information processing performed by the payment device's processor in accordance with the payment program in the fourth embodiment. 図47は、第4の実施形態において、決済装置のプロセッサが決済プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 47 is a flowchart showing the main steps of information processing performed by the payment device's processor in accordance with the payment program in the fourth embodiment. 図48は、入力装置のタッチパネルに表示される明細画面の一例である。Figure 48 shows an example of a details screen displayed on the touch panel of an input device. 図49は、入力装置のタッチパネルに表示される支払い完了画面の一例である。Figure 49 shows an example of a payment completion screen displayed on the touch panel of the input device. 図50は、決済装置から出力されるレシートの一発行例である。Figure 50 shows an example of a receipt issued by a payment device. 図51は、入力装置のタッチパネルに表示される接続先選択画面の他の例である。Figure 51 shows another example of a connection destination selection screen displayed on the touch panel of an input device. 図52は、他の実施形態において、入力装置のプロセッサが入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 52 is a flowchart showing the main steps of information processing performed by the input device's processor according to the input program in another embodiment. 図53は、他の実施形態において、決済装置のプロセッサが決済プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。Figure 53 is a flowchart showing the main steps of information processing performed by the processor of a payment device in accordance with a payment program in another embodiment.

以下、入力装置で決済情報を生成することなく店員と客が操作を分担して取引を決済できる会計システムの実施形態を、第1の実施形態、第2の実施形態、第3の実施形態及び第4の実施形態の順で説明する。はじめに、各実施形態において共通となる会計システムの概略構成、入力装置及び決済装置のハードウェア構成について、図1乃至図3を用いて説明する。 The following describes embodiments of an accounting system that allows store clerks and customers to share the operation and settle transactions without generating payment information on an input device, in the order of the first, second, third, and fourth embodiments. First, the general configuration of the accounting system, the hardware configuration of the input device and the payment device, which are common to each embodiment, will be explained using Figures 1 to 3.

図1は、会計システム1の概略構成を示す模式図である。会計システム1は、入力装置11と、決済装置12と、サーバ13と、これらを接続するネットワーク14と、を含む。ネットワーク14の種類は特に限定されないが、一般的には有線又は無線のLAN(local area network)が適用される。 Figure 1 is a schematic diagram showing the general configuration of accounting system 1. Accounting system 1 includes an input device 11, a settlement device 12, a server 13, and a network 14 connecting them. The type of network 14 is not particularly limited, but generally a wired or wireless LAN (local area network) is used.

入力装置11は、取引毎にその取引で売買される商品のデータ入力を受け付けるように構成された装置である。決済装置12は、入力装置11で入力された商品のデータを基に取引の決済処理を行うように構成された装置である。入力装置11は、原則、チェッカと呼ばれる役割を担った店員2が、その操作者となる。決済装置12は、原則、店舗で商品を購入する消費者、いわゆる客3が、その操作者となる。なお、入力装置11の操作者を客3としてもよい。すなわち客3が入力装置11と決済装置12の両方を操作してもよい。同様に、決済装置12の操作者を店員2としてもよい。すなわち店員2が入力装置11と決済装置12の両方を操作してもよい。 The input device 11 is configured to accept data input for the goods to be bought and sold in each transaction. The settlement device 12 is configured to perform settlement processing for transactions based on the product data entered in the input device 11. In principle, the input device 11 is operated by a store employee 2, who plays the role of a checker. In principle, the settlement device 12 is operated by a consumer, or customer 3, who purchases goods at the store. However, the operator of the input device 11 may also be customer 3. That is, customer 3 may operate both the input device 11 and the settlement device 12. Similarly, the operator of the settlement device 12 may be store employee 2. That is, store employee 2 may operate both the input device 11 and the settlement device 12.

入力装置11は、図1においては、作業テーブル4に取り付けられている。作業テーブル4は、矩形の天板を有する。複数の作業テーブル4が、天板の長手方向がほぼ並行するように配置されることにより、客3のための通路、いわゆるチェックアウトレーンが形成される。 In Figure 1, the input device 11 is attached to the work table 4. The work table 4 has a rectangular tabletop. Multiple work tables 4 are arranged so that the longitudinal directions of their tabletops are approximately parallel, forming a passageway for customers 3, a so-called checkout lane.

入力装置11及び決済装置12は、店舗のチェックアウトレーン毎に配置される。1つのチェックアウトレーンに対し、入力装置11は1台配置され、決済装置12は2台以上の複数台配置される。そして、同じチェックアウトレーンに配置された入力装置11と決済装置12との間で、ネットワーク14を通じて種々のデータ信号が授受される。データ信号は、サーバ13を介して授受されてもよいし、サーバ13を介さずに授受されてもよい。 The input device 11 and payment device 12 are arranged for each checkout lane in the store. One input device 11 and two or more payment devices 12 are arranged for each checkout lane. Various data signals are exchanged between the input device 11 and payment device 12 located in the same checkout lane via the network 14. These data signals may be exchanged via the server 13, or they may be exchanged without going through the server 13.

図1では、第1のチェックアウトレーンに1台の入力装置11(11-1)と2台の決済装置12(12-1,12-2)とを配置し、第2のチェックアウトレーンに1台の入力装置11(11-2)と2台の決済装置12(12-3,12-4)とを配置した例を示している。図示しないが、他のチェックアウトレーンにおいても1台の入力装置11と2台以上の決済装置12とが配置されている。第1のチェックアウトレーンに配置された2台の決済装置12(12-1,12-2)は、いずれも同一のチェックアウトレーンに配置された入力装置11(11-1)で処理された取引の決済処理を実行することができる。第2のチェックアウトレーンに配置された2台の決済装置12(12-3,12-4)は、いずれも同一のチェックアウトレーンに配置された入力装置11(11-2)で処理された取引の決済処理を実行することができる。 Figure 1 shows an example where one input device 11 (11-1) and two settlement devices 12 (12-1, 12-2) are arranged in the first checkout lane, and one input device 11 (11-2) and two settlement devices 12 (12-3, 12-4) are arranged in the second checkout lane. Although not shown, other checkout lanes also have one input device 11 and two or more settlement devices 12. The two settlement devices 12 (12-1, 12-2) in the first checkout lane can both perform settlement processing for transactions processed by the input device 11 (11-1) in the same checkout lane. The two settlement devices 12 (12-3, 12-4) in the second checkout lane can both perform settlement processing for transactions processed by the input device 11 (11-2) in the same checkout lane.

なお、1つのチェックアウトレーンに配置された少なくとも1台の決済装置12が、隣接するチェックアウトレーンに配置された入力装置11で処理された取引の決済処理を実行可能としてもよい。例えば、図1において、決済装置12(12-2)は、入力装置11(11-1)だけでなく入力装置11(11-2)で処理された取引の決済処理を実行できるようにする。同様に、決済装置12(12-3)は、入力装置11(11-2)だけでなく入力装置11(11-1)で処理された取引の決済処理を実行できるようにする。こうすることにより、1台の入力装置11で処理された取引の決済処理が可能な決済装置12の台数を、決済装置12を増設することなく増やすことができる。 Furthermore, at least one settlement device 12 located in a single checkout lane may be capable of processing settlements for transactions processed by an input device 11 located in an adjacent checkout lane. For example, in Figure 1, settlement device 12 (12-2) is capable of processing settlements for transactions processed not only by input device 11 (11-1) but also by input device 11 (11-2). Similarly, settlement device 12 (12-3) is capable of processing settlements for transactions processed not only by input device 11 (11-2) but also by input device 11 (11-1). This allows for an increase in the number of settlement devices 12 capable of processing settlements for transactions processed by a single input device 11, without the need to add additional settlement devices 12.

サーバ13は、商品マスタファイル131及び売上マスタファイル132を備える。商品マスタファイル131及び売上マスタファイル132は、サーバ13が内蔵する記憶装置に保存されていてもよいし、サーバ13の外部に接続された記憶装置に保存されていてもよい。 Server 13 includes a product master file 131 and a sales master file 132. The product master file 131 and the sales master file 132 may be stored in a storage device built into Server 13, or they may be stored in a storage device connected to an external device of Server 13.

商品マスタファイル131は、店舗で販売される商品毎に作成された商品レコードを格納するデータファイルである。商品レコードは、商品コード、商品名、単価、属性等の商品データを記述したデータレコードである。 Product Master File 131 is a data file that stores product records created for each product sold in a store. A product record is a data record that describes product data such as product code, product name, unit price, and attributes.

商品コードは、各商品を識別するために商品毎に設定された固有のコードである。通常、各商品には、商品コードを表すバーコード、若しくは二次元コードが付されている。あるいは、商品コードを記憶したRFID(Radio Frequency Identification)タグが付されていてもよい。入力装置11は、商品に付されたバーコード、2次元コード又はRFIDタグを読取装置で読み取ることで、取引で売買される商品の商品コードを入力することができる。 A product code is a unique code assigned to each product to identify it. Typically, each product has a barcode or QR code representing the product code. Alternatively, it may have an RFID (Radio Frequency Identification) tag that stores the product code. The input device 11 can input the product codes of items being bought and sold in a transaction by reading the barcode, QR code, or RFID tag attached to the product with a reader.

商品名及び単価は、商品コードで識別される商品の名称及び1点当たりの価格である。属性は、例えば商品の税に関する情報である。税に関する情報としては、税率、税種(外税、内税、非課税)等がある。 The product name and unit price are the name of the product identified by the product code and the price per unit. Attributes include, for example, information regarding the product's taxation. This tax information includes the tax rate and tax type (external tax, internal tax, tax-exempt).

売上マスタファイル132は、店舗で販売される商品毎に作成された売上レコードを格納するデータファイルである。売上レコードは、前述した商品コード、商品名及び単価に加えて、売上点数、売上金額等の売上データを記述したデータレコードである。売上点数は、対応する商品コードで識別される商品の販売数量の合計である。売上金額は、対応する商品コードで識別される商品の販売金額の合計である。 The sales master file 132 is a data file that stores sales records created for each product sold at the store. Each sales record contains sales data such as the product code, product name, and unit price mentioned above, as well as the number of items sold and the total sales amount. The number of items sold is the total quantity sold for each product identified by its corresponding product code. The total sales amount is the total sales amount for each product identified by its corresponding product code.

図2は、入力装置11のハードウェア構成を示すブロック図である。入力装置11は、プロセッサ21、メインメモリ22、補助記憶デバイス23、時計24、通信ユニット25、キーボード26、スキャナ27、タッチパネル28、客用ディスプレイ29及びシステム伝送路30等を備える。システム伝送路30は、アドレスバス、データバス、制御信号線等を含む。システム伝送路30は、プロセッサ21と他の各部とを直接又は信号入出力回路を介して接続し、相互間で授受されるデータ信号を伝送する。 Figure 2 is a block diagram showing the hardware configuration of the input device 11. The input device 11 includes a processor 21, main memory 22, auxiliary storage device 23, clock 24, communication unit 25, keyboard 26, scanner 27, touch panel 28, customer display 29, and system transmission path 30, etc. The system transmission path 30 includes an address bus, data bus, control signal lines, etc. The system transmission path 30 connects the processor 21 to the other components directly or via signal input/output circuits, and transmits data signals exchanged between them.

入力装置11は、プロセッサ21と、メインメモリ22、補助記憶デバイス23、時計24及び通信ユニット25とをシステム伝送路30で接続することにより、コンピュータを構成する。そして入力装置11は、そのコンピュータに、システム伝送路30を介してキーボード26、スキャナ27、タッチパネル28、客用ディスプレイ29等のデバイスを接続する。 The input device 11 constitutes a computer by connecting the processor 21, main memory 22, auxiliary storage device 23, clock 24, and communication unit 25 via a system transmission path 30. The input device 11 then connects devices such as a keyboard 26, scanner 27, touch panel 28, and customer display 29 to this computer via the system transmission path 30.

プロセッサ21は、上記コンピュータの中枢部分に相当する。プロセッサ21は、オペレーティングシステム又はアプリケーションプログラムに従って、入力装置11としての各種の機能を実現するべく各部を制御する。プロセッサ21は、例えばCPU(Central Processing Unit)である。 The processor 21 corresponds to the central part of the computer described above. The processor 21 controls various parts to realize various functions as an input device 11, according to the operating system or application program. The processor 21 is, for example, a CPU (Central Processing Unit).

メインメモリ22は、上記コンピュータの主記憶部分に相当する。メインメモリ22は、不揮発性のメモリ領域と揮発性のメモリ領域とを含む。メインメモリ22は、不揮発性のメモリ領域ではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ22は、プロセッサ21が各部を制御するための処理を実行する上で必要なデータを不揮発性又は揮発性のメモリ領域で記憶する場合もある。メインメモリ22は、揮発性のメモリ領域を、プロセッサ21によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROM(Read Only Memory)である。揮発性のメモリ領域は、例えばRAM(Random Access Memory)である。 Main memory 22 corresponds to the main memory portion of the computer described above. Main memory 22 includes both non-volatile and volatile memory areas. In the non-volatile memory area, main memory 22 stores the operating system or application programs. Main memory 22 may also store data necessary for the processor 21 to perform processing to control various parts, in either non-volatile or volatile memory areas. Main memory 22 uses the volatile memory area as a work area where data is rewritten as needed by the processor 21. The non-volatile memory area is, for example, ROM (Read Only Memory). The volatile memory area is, for example, RAM (Random Access Memory).

補助記憶デバイス23は、上記コンピュータの補助記憶部分に相当する。例えばEEPROM(Electric Erasable Programmable Read-Only Memory)、HDD(Hard Disk Drive)、あるいはSSD(Solid State Drive)等が補助記憶デバイス23となり得る。補助記憶デバイス23は、プロセッサ21が各種の処理を行う上で使用するデータ、プロセッサ21での処理によって作成されたデータ等を保存する。補助記憶デバイス23は、上記のアプリケーションプログラムを記憶する場合もある。 The auxiliary storage device 23 corresponds to the auxiliary storage portion of the computer described above. For example, an EEPROM (Electric Erasable Programmable Read-Only Memory), HDD (Hard Disk Drive), or SSD (Solid State Drive) can serve as the auxiliary storage device 23. The auxiliary storage device 23 stores data used by the processor 21 for various processing tasks, data created by the processing performed by the processor 21, and so on. The auxiliary storage device 23 may also store the application program described above.

時計24は、日付と時刻を計時する。プロセッサ21は、時計24によって計時されている日付と時刻を現在日時として処理する。通信ユニット25は、ネットワーク14を介して接続されたサーバ13及び複数台の決済装置12との間でデータ通信を行うためのインターフェースである。キーボード26は、客が購入する商品、いわゆる買上商品に係るデータの入力等に必要な種々のキーを配置した入力デバイスである。スキャナ27は、バーコード、二次元コード等のコードシンボルを読み取って入力する入力デバイスである。タッチパネル28は、入力デバイスと表示デバイスとを兼ね備えた機器である。タッチパネル28は、入力装置11のオペレータである店員に対して情報の表示を行い、その店員による操作入力を受け付ける。客用ディスプレイ29は、入力装置11において買上商品のデータが入力されている客3に対して情報の表示を行う。 The clock 24 measures the date and time. The processor 21 processes the date and time measured by the clock 24 as the current date and time. The communication unit 25 is an interface for data communication with the server 13 and multiple payment devices 12 connected via the network 14. The keyboard 26 is an input device with various keys necessary for inputting data related to the goods purchased by the customer, so-called purchased goods. The scanner 27 is an input device that reads and inputs code symbols such as barcodes and two-dimensional codes. The touch panel 28 is a device that combines an input device and a display device. The touch panel 28 displays information to the store clerk who is the operator of the input device 11 and accepts operation input from the clerk. The customer display 29 displays information to customer 3 whose purchased goods data has been entered into the input device 11.

このようなハードウェア構成を有する入力装置11としては、例えば既存のPOS端末を利用することが可能である。なお、入力装置11に接続されるデバイスは、キーボード26、スキャナ27、タッチパネル28及び客用ディスプレイ29に限定されるものではない。入力装置11の用途において必要なデバイスを追加したり、一部のデバイスを省略したりしてもよい。 An input device 11 with such hardware configuration can, for example, utilize an existing POS terminal. Note that the devices connected to the input device 11 are not limited to the keyboard 26, scanner 27, touch panel 28, and customer display 29. Additional devices may be added or some devices omitted depending on the application of the input device 11.

図3は、決済装置12のハードウェア構成を示すブロック図である。決済装置12は、プロセッサ31、メインメモリ32、補助記憶デバイス33、時計34、通信ユニット35、釣銭機インターフェース36、スキャナ37、タッチパネル38、プリンタ39、パトランプ40、端末インターフェース41及びシステム伝送路42等を備える。システム伝送路42は、アドレスバス、データバス、制御信号線等を含む。システム伝送路42は、プロセッサ31と他の各部とを直接又は信号入出力回路を介して接続し、相互間で授受されるデータ信号を伝送する。 Figure 3 is a block diagram showing the hardware configuration of the payment device 12. The payment device 12 includes a processor 31, main memory 32, auxiliary storage device 33, clock 34, communication unit 35, change dispenser interface 36, scanner 37, touch panel 38, printer 39, warning light 40, terminal interface 41, and system transmission path 42, etc. The system transmission path 42 includes an address bus, data bus, control signal lines, etc. The system transmission path 42 connects the processor 31 to the other components directly or via signal input/output circuits, and transmits data signals exchanged between them.

決済装置12は、プロセッサ31と、メインメモリ32、補助記憶デバイス33、時計34及び通信ユニット35とをシステム伝送路42で接続することにより、コンピュータを構成する。そして決済装置12は、そのコンピュータに、システム伝送路42を介して釣銭機インターフェース36、スキャナ37、タッチパネル38、プリンタ39、パトランプ40、端末インターフェース41等のデバイスインターフェース又はデバイスを接続する。 The payment device 12 is configured as a computer by connecting the processor 31, main memory 32, auxiliary storage device 33, clock 34, and communication unit 35 via a system transmission path 42. The payment device 12 then connects device interfaces or devices such as the change dispenser interface 36, scanner 37, touch panel 38, printer 39, warning light 40, and terminal interface 41 to this computer via the system transmission path 42.

プロセッサ31は、上記コンピュータの中枢部分に相当する。プロセッサ31は、オペレーティングシステム又はアプリケーションプログラムに従って、決済装置12としての各種の機能を実現するべく各部を制御する。プロセッサ31は、例えばCPUである。 The processor 31 corresponds to the central part of the computer described above. The processor 31 controls various parts to realize various functions as a payment device 12, according to the operating system or application program. The processor 31 is, for example, a CPU.

メインメモリ32は、上記コンピュータの主記憶部分に相当する。メインメモリ32は、不揮発性のメモリ領域と揮発性のメモリ領域とを含む。メインメモリ32は、不揮発性のメモリ領域ではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ32は、プロセッサ31が各部を制御するための処理を実行する上で必要なデータを不揮発性又は揮発性のメモリ領域で記憶する場合もある。メインメモリ32は、揮発性のメモリ領域を、プロセッサ31によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROMである。揮発性のメモリ領域は、例えばRAMである。 The main memory 32 corresponds to the main memory portion of the computer described above. The main memory 32 includes both non-volatile and volatile memory areas. The non-volatile memory area of the main memory 32 stores the operating system or application programs. The main memory 32 may also store data necessary for the processor 31 to perform processing to control various parts, in either the non-volatile or volatile memory areas. The volatile memory area of the main memory 32 is used as a work area where data is rewritten as needed by the processor 31. The non-volatile memory area is, for example, ROM. The volatile memory area is, for example, RAM.

補助記憶デバイス33は、上記コンピュータの補助記憶部分に相当する。例えばEEPROM、HDD、あるいはSSD等が補助記憶デバイス33となり得る。補助記憶デバイス33は、プロセッサ31が各種の処理を行う上で使用するデータ、プロセッサ31での処理によって作成されたデータ等を保存する。補助記憶デバイス33は、上記のアプリケーションプログラムを記憶する場合もある。 The auxiliary storage device 33 corresponds to the auxiliary storage portion of the computer described above. For example, an EEPROM, HDD, or SSD could serve as the auxiliary storage device 33. The auxiliary storage device 33 stores data used by the processor 31 for various processing tasks, data created by the processing performed by the processor 31, and so on. The auxiliary storage device 33 may also store the application program described above.

時計34は、日付と時刻を計時する。プロセッサ31は、時計34によって計時されている日付と時刻を現在日時として処理する。通信ユニット35は、ネットワーク14を介して接続されたサーバ13又は入力装置11との間でデータ通信を行う。釣銭機インターフェース36は、図示しない自動釣銭機とのインターフェースを構成する。釣銭機インターフェース36は、自動釣銭機から当該自動釣銭機に投入された貨幣の金額データを入力する。釣銭機インターフェース36は、決済装置12から自動釣銭機へと釣銭データを出力する。釣銭データを入力した自動釣銭機は、その釣銭データ相当の貨幣を釣銭として自動的に払い出す。 The clock 34 measures the date and time. The processor 31 processes the date and time measured by the clock 34 as the current date and time. The communication unit 35 communicates data with the server 13 or input device 11 connected via the network 14. The change dispenser interface 36 constitutes an interface with an automatic change dispenser (not shown). The change dispenser interface 36 receives the amount data of the money inserted into the automatic change dispenser from the automatic change dispenser. The change dispenser interface 36 outputs change data from the payment device 12 to the automatic change dispenser. The automatic change dispenser, having received the change data, automatically dispenses the amount of money corresponding to that change data as change.

スキャナ37は、バーコード、二次元コード等のコードシンボルを読み取るための入力デバイスである。タッチパネル38は、入力デバイスと表示デバイスとを兼ね備えた機器である。タッチパネル38は、決済装置12のオペレータである客3に対して情報の表示を行い、その客3による操作入力を受け付ける。プリンタ39は、レシート用紙に対して各種の文字列又は画像等を印刷することにより、レシートを発行する。パトランプ40は、例えば赤色と青色の二色の発光体を有する。パトランプ40は、決済装置12に対応付けてその近傍に立設されたポールの頂部に設けられており、対応する決済装置12の状態に応じて、例えば赤色又は青色で点灯又は点滅する。 The scanner 37 is an input device for reading code symbols such as barcodes and two-dimensional codes. The touch panel 38 is a device that combines an input device and a display device. The touch panel 38 displays information to the customer 3, who is the operator of the payment device 12, and accepts operation input from the customer 3. The printer 39 issues a receipt by printing various strings of characters or images on receipt paper. The warning light 40 has, for example, two light-emitting elements, red and blue. The warning light 40 is installed at the top of a pole erected in the vicinity of the payment device 12, and lights up or flashes, for example, red or blue, depending on the state of the corresponding payment device 12.

端末インターフェース41は、キャッシュレス決済端末5とのインターフェースを構成する。キャッシュレス決済端末5は、クレジットカード決済、電子マネー決済、コード決済等のキャッシュレス決済に対応した情報端末である。端末インターフェース41は、複数種類のキャッシュレス決済方法の中から選択されたキャッシュレス決済方法の識別データをキャッシュレス決済端末5に出力する。キャッシュレス決済端末5においては、識別データで識別されるキャッシュレス決済方法で取引の決済が処理されるので、端末インターフェース41は、キャッシュレス決済端末5から処理結果を入力する。端末インターフェース41にキャッシュレス決済端末5を接続することによって、決済装置12は、現金決済だけでなくキャッシュレス決済にも対応した機器となる。 The terminal interface 41 constitutes an interface with the cashless payment terminal 5. The cashless payment terminal 5 is an information terminal that supports cashless payments such as credit card payments, electronic money payments, and code payments. The terminal interface 41 outputs identification data for the cashless payment method selected from among several types of cashless payment methods to the cashless payment terminal 5. Since the cashless payment terminal 5 processes the transaction using the cashless payment method identified by the identification data, the terminal interface 41 receives the processing result from the cashless payment terminal 5. By connecting the cashless payment terminal 5 to the terminal interface 41, the payment device 12 becomes a device that supports not only cash payments but also cashless payments.

このようなハードウェア構成を有する決済装置12としては、例えば既存のセルフ方式のPOS端末、いわゆるセルフレジを利用することが可能である。なお、決済装置12に接続されるデバイスは、スキャナ37、タッチパネル38、プリンタ39及びパトランプ40に限定されるものではない。決済装置12の用途において必要なデバイスを追加したり、一部のデバイスを省略したりしてもよい。 As a payment device 12 with such hardware configuration, for example, an existing self-service POS terminal, or so-called self-checkout register, can be used. Note that the devices connected to the payment device 12 are not limited to the scanner 37, touch panel 38, printer 39, and warning light 40. Additional devices may be added or some devices omitted depending on the application of the payment device 12.

[第1の実施形態]
次に、第1の実施形態について、図4乃至図20を用いて説明する。
図4は、入力装置11のプロセッサ21が有する主要な機能構成を示すブロック図である。プロセッサ21は、接続先選択手段51、問合せ手段52、決定手段53、無効手段54、入力側記憶手段55、明細表示手段56、終了検出手段57、第1送信手段58、第1通知手段59及び決済先報知手段510としての機能を有する。なお、プロセッサ21が有する機能は、これらに限定されるものではない。
[First Embodiment]
Next, the first embodiment will be described with reference to Figures 4 to 20.
Figure 4 is a block diagram showing the main functional configuration of the processor 21 of the input device 11. The processor 21 has the functions of a connection destination selection means 51, a query means 52, a determination means 53, a disable means 54, an input side storage means 55, a detail display means 56, a termination detection means 57, a first transmission means 58, a first notification means 59, and a settlement destination notification means 510. However, the functions of the processor 21 are not limited to these.

接続先選択手段51は、取引に係るデータを入力する前に、入力デバイス61からの入力を受けて、複数台の決済装置12のうちいずれか一台の決済装置12を接続先として選択する機能である。入力デバイス61は、キーボード26又はタッチパネル28が該当する。接続先選択手段51は、入力デバイス61に複数台の決済装置12を個々に指定可能な操作子を配置する。接続先選択手段51は、いずれか1つの操作子が操作されると、その操作子によって指定された決済装置12を接続先として選択する。 The connection destination selection means 51 is a function that, before inputting transaction data, receives input from the input device 61 and selects one of the multiple payment devices 12 as the connection destination. The input device 61 is either a keyboard 26 or a touch panel 28. The connection destination selection means 51 has operators on the input device 61 that allow for individual selection of the multiple payment devices 12. When one of the operators is operated, the connection destination selection means 51 selects the payment device 12 specified by that operator as the connection destination.

問合せ手段52は、接続先選択手段51により選択された一台の決済装置12に接続可否を問合せる機能である。問合せを受けた決済装置12からは、接続を許諾する接続可又は接続を否定する接続不可の応答がある。 The inquiry means 52 is a function that inquires whether a connection is possible to one of the payment devices 12 selected by the connection destination selection means 51. The payment device 12, upon receiving the inquiry, responds either "Connection OK" (allowing the connection) or "Connection NOT OK" (denying the connection).

決定手段53は、取引に係るデータを入力する前に、複数台の決済装置12のうちいずれか一台の決済装置12を接続先として決定する機能である。決定手段53は、問合せ手段52による問合せに対して問合せ先の決済装置12から接続を許諾する接続可の応答信号を受信した場合に当該決済装置12を接続先として決定する。 The determination means 53 is a function that determines one of the multiple payment devices 12 as the connection destination before inputting transaction data. The determination means 53 determines the payment device 12 as the connection destination when it receives a connection permission response signal from the inquiry destination payment device 12 in response to an inquiry by the inquiry means 52.

問合せ手段52及び決定手段53は、第1データテーブル63を参照して作用する。第1データテーブル63は、図5に示すように、当該入力装置11に対して接続先となり得る決済装置12の決済装置IDと関連付けて、決済装置番号(No.)と、接続先フラグFaとを記述したデータテーブルである。接続先となり得る決済装置12とは、原則的には、当該入力装置11と同一のチェックアウトレーンに設置された複数台の決済装置12である。決済装置IDは、その複数台の決済装置12を個々に識別するために決済装置12毎に設定された識別情報である。決済装置番号は、決済装置IDによって識別される決済装置12に割り当てられた一連の番号である。接続先フラグFaは、対応する決済装置IDで識別される決済装置12が接続先として決定されたか否かを識別するための1ビットデータである。本実施形態では、接続先として決定された接続先フラグFaを“1”とし、接続先として決定されていない接続先フラグFaを“0”とする。 The query means 52 and the determination means 53 operate by referring to the first data table 63. As shown in Figure 5, the first data table 63 is a data table that describes the payment device number (No.) and the connection destination flag Fa, associated with the payment device ID of the payment device 12 that can be connected to the input device 11. The payment device 12 that can be connected to are, in principle, multiple payment devices 12 installed in the same checkout lane as the input device 11. The payment device ID is identification information set for each payment device 12 to individually identify these multiple payment devices 12. The payment device number is a series of numbers assigned to the payment device 12 identified by the payment device ID. The connection destination flag Fa is a 1-bit data for identifying whether the payment device 12 identified by the corresponding payment device ID has been determined as a connection destination. In this embodiment, the connection destination flag Fa for a device determined as a connection destination is set to "1," and the connection destination flag Fa for a device not determined as a connection destination is set to "0."

因みに本実施形態では、決済装置12(12-1)の決済装置IDを[0001]とし、決済装置番号を[1]とする。同様に、決済装置12(12-2)の決済装置IDを[0002]、決済装置番号を[2]とし、決済装置12(12-3)の決済装置IDを[0003]、決済装置番号を[3]とし、決済装置12(12-4)の決済装置IDを[0004]、決済装置番号を[4]とする。したがって、図5は、決済装置12(12-1)及び決済装置12(12-2)が接続先となり得る入力装置11(11‐1)が有する第1データテーブル63を図示している。 Incidentally, in this embodiment, the payment device ID of payment device 12 (12-1) is set to [0001] and the payment device number to [1]. Similarly, the payment device ID of payment device 12 (12-2) is set to [0002] and the payment device number to [2], the payment device ID of payment device 12 (12-3) is set to [0003] and the payment device number to [3], and the payment device ID of payment device 12 (12-4) is set to [0004] and the payment device number to [4]. Therefore, Figure 5 illustrates the first data table 63 of the input device 11 (11-1) to which payment devices 12 (12-1) and 12 (12-2) can be connected.

問合せ手段52は、接続先選択手段51によって選択された決済装置12の決済装置IDを第1データテーブル63から取得し、その決済装置IDで識別される決済装置12に対して問合せを行う。決定手段53は、問合せ先の決済装置12から接続可の応答信号を受信した場合に、当該決済装置12の決済装置IDに対応した接続先フラグFaを“0”から“1”に変更する。 The inquiry means 52 obtains the payment device ID of the payment device 12 selected by the connection destination selection means 51 from the first data table 63 and makes an inquiry to the payment device 12 identified by that payment device ID. When the determination means 53 receives a connection-ready response signal from the inquiry destination payment device 12, it changes the connection destination flag Fa corresponding to the payment device ID of that payment device 12 from "0" to "1".

無効手段54は、問合せ手段52による問合せに対して問合せ先の決済装置12から接続を否定する接続不可の応答信号を受信した場合に、入力デバイス61に配置された複数の操作子のうち、当該決済装置12を指定する操作子の操作を無効とする機能である。 The invalidation means 54 is a function that, when the inquiry means 52 receives a connection-denying response signal from the payment device 12, invalidates the operation of the operator that specifies the payment device 12 among the multiple operators located on the input device 61.

入力側記憶手段55は、入力デバイス61を介して入力された取引に係るデータを入力側記憶部64で記憶する機能である。入力側記憶部64は、メインメモリ22又は補助記憶デバイス23の記憶領域の一部である。取引に係るデータは、例えば客との取引で売買される商品の商品コード、数量、値引額、割引率等である。入力側記憶手段55は、キーボード26、スキャナ27及びタッチパネル28の入力デバイス61を介して取引に係るデータを入力すると、その入力されたデータを基に1取引として売り上げる商品の明細レコードRaを商品毎に作成する。明細レコードRaは、図6に示すように、一連のレコード番号と関連付けて、商品コード、商品名、単価、数量、値割引額、金額等の項目のデータを記述したレコードである。金額は、単価に数量を乗算して算出された金額である。すなわち明細レコードRaは、商品コード、数量等の取引に係るデータを記述したレコードであると言える。入力側記憶手段55は、明細レコードRaを入力側記憶部64の第1取引ファイル641に記憶する。 The input-side storage means 55 has the function of storing transaction data entered via the input device 61 in the input-side storage unit 64. The input-side storage unit 64 is part of the storage area of the main memory 22 or the auxiliary storage device 23. Transaction data includes, for example, the product code, quantity, discount amount, discount rate, etc., of goods bought and sold in a transaction with a customer. When transaction data is entered via the input devices 61, such as the keyboard 26, scanner 27, and touch panel 28, the input-side storage means 55 creates a detail record Ra for each product to be sold as one transaction based on the entered data. As shown in Figure 6, the detail record Ra is a record that describes data for items such as product code, product name, unit price, quantity, discount amount, and amount, associated with a series of record numbers. The amount is the amount calculated by multiplying the unit price by the quantity. In other words, the detail record Ra can be said to be a record that describes transaction data such as product code and quantity. The input-side storage means 55 stores the detail record Ra in the first transaction file 641 of the input-side storage unit 64.

明細表示手段56は、入力デバイス61を介して入力された取引に係るデータを基に取引の明細情報を表示デバイス62で表示する機能である。表示デバイス62は、タッチパネル28と客用ディスプレイ29の双方又はいずれか一方が該当する。明細表示手段56は、表示デバイス62の画面を明細画面SAc(図16を参照)とし、その明細画面SAcに、第1取引ファイル641に記憶された明細レコードRaの商品名、数量、単価、値割引額、金額等の明細情報を表示する。明細画面SAcの詳細な説明については後述する。 The details display means 56 is a function that displays transaction details information on the display device 62 based on transaction data entered via the input device 61. The display device 62 may be either or both of the touch panel 28 and the customer display 29. The details display means 56 uses the display device 62 screen as the details screen SAc (see Figure 16), and displays details information such as the product name, quantity, unit price, discount amount, and total amount of the details record Ra stored in the first transaction file 641 on this details screen SAc. A detailed explanation of the details screen SAc will be provided later.

終了検出手段57は、取引に係るデータの入力終了指示を検出する機能である。終了検出手段57は、入力デバイス61からの入力を受けて、取引に係るデータの入力終了指示を検出する。 The termination detection means 57 has the function of detecting an instruction to complete the input of transaction-related data. The termination detection means 57 receives input from the input device 61 and detects the instruction to complete the input of transaction-related data.

第1送信手段58は、入力デバイス61を介して入力された取引に係るデータを、終了検出手段57により当該取引に係るデータの入力終了指示が検出される前に、通信ユニット25を介して決定手段53により接続先として決定されたいずれか一台の決済装置12に送信する機能である。第1送信手段58は、第1データテーブル63を参照して、決定手段53により接続先として決定されたいずれか一台の決済装置12、すなわち接続先フラグFaが“1”に設定された決済装置12を認識する。以下では、決定手段53により接続先として決定されたいずれか一台の決済装置12を接続先決済装置120と表す。第1送信手段58は、入力デバイス61を介して取引に係るデータが入力される毎に、その入力された取引に係るデータを接続先決済装置120に送信する。 The first transmission means 58 has the function of transmitting transaction data entered via the input device 61 to one of the settlement devices 12 determined as the connection destination by the determination means 53 via the communication unit 25, before the completion detection means 57 detects an instruction to end the input of the transaction data. The first transmission means 58 refers to the first data table 63 to recognize one of the settlement devices 12 determined as the connection destination by the determination means 53, i.e., the settlement device 12 whose connection destination flag Fa is set to "1". Hereinafter, one of the settlement devices 12 determined as the connection destination by the determination means 53 will be referred to as the connected settlement device 120. Each time transaction data is entered via the input device 61, the first transmission means 58 transmits the entered transaction data to the connected settlement device 120.

第1通知手段59は、終了検出手段57により取引に係るデータの入力終了指示が検出されると、接続先決済装置120に入力終了を通知する機能である。第1通知手段59は、第1データテーブル63を参照して接続先決済装置120を認識し、その接続先決済装置120に入力終了を通知する信号を出力する。 The first notification means 59 has the function of notifying the connected settlement device 120 of the completion of data input when the completion detection means 57 detects the end of data input related to the transaction. The first notification means 59 recognizes the connected settlement device 120 by referring to the first data table 63 and outputs a signal to the connected settlement device 120 notifying it of the completion of data input.

決済先報知手段510は、第1通知手段59により入力終了を通知した接続先決済装置120を決済先として報知する機能である。決済先報知手段510は、店員2に対する表示デバイス62であるタッチパネル28に、接続先決済装置120を特定可能な情報を表示することで店員2に決済先を報知する。決済先報知手段510は、客3に対する表示デバイス62である客用ディスプレイ29に、接続先決済装置120を特定可能な情報を表示することで客3に決済先を報知してもよい。あるいは決済先報知手段510は、タッチパネル28と客用ディスプレイ29の双方に接続先決済装置120を特定可能な情報を表示することで、店員2と客3の両者に決済先を報知してもよい。接続先決済装置120を特定可能な情報は、例えば第1データテーブル63に設定されている決済装置番号である。 The payment destination notification means 510 has the function of notifying the connected payment device 120, which has been notified of the completion of input by the first notification means 59, as the payment destination. The payment destination notification means 510 notifies the store clerk 2 of the payment destination by displaying information that identifies the connected payment device 120 on the touch panel 28, which is the display device 62 for the store clerk 2. The payment destination notification means 510 may also notify the customer 3 of the payment destination by displaying information that identifies the connected payment device 120 on the customer display 29, which is the display device 62 for the customer 3. Alternatively, the payment destination notification means 510 may notify both the store clerk 2 and the customer 3 of the payment destination by displaying information that identifies the connected payment device 120 on both the touch panel 28 and the customer display 29. The information that identifies the connected payment device 120 is, for example, the payment device number set in the first data table 63.

上述した接続先選択手段51、問合せ手段52、決定手段53、無効手段54、入力側記憶手段55、明細表示手段56、終了検出手段57、第1送信手段58、第1通知手段59及び決済先報知手段510としての機能は、プロセッサ21が入力装置11用のプログラム、いわゆる入力プログラムに従って実行する情報処理によって実現される。 The functions of the aforementioned connection destination selection means 51, inquiry means 52, determination means 53, invalidation means 54, input-side storage means 55, detail display means 56, termination detection means 57, first transmission means 58, first notification means 59, and settlement destination notification means 510 are realized by information processing executed by the processor 21 according to a program for the input device 11, so-called input program.

入力プログラムは、メインメモリ22又は補助記憶デバイス23に記憶されるアプリケーションプログラムの一種である。入力プログラムをメインメモリ22又は補助記憶デバイス23にインストールする方法は特に限定されるものではない。リムーバブルな記録媒体に入力プログラムを記録して、あるいはネットワーク14を介した通信により入力プログラムを配信して、メインメモリ22又は補助記憶デバイス23にインストールすることができる。記録媒体は、CD-ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。 The input program is a type of application program stored in the main memory 22 or the auxiliary storage device 23. The method of installing the input program in the main memory 22 or auxiliary storage device 23 is not particularly limited. The input program can be installed in the main memory 22 or auxiliary storage device 23 by recording it on a removable recording medium or by distributing it via communication over the network 14. The recording medium can be of any form as long as it can store a program and is readable by the device, such as a CD-ROM or memory card.

図7は、決済装置12のプロセッサ31が有する主要な機能構成を示すブロック図である。プロセッサ31は、決済側記憶手段71、金額表示手段72、接続応答手段73及び決済手段74としての機能を有する。なお、プロセッサ31が有する機能は、これらに限定されるものではない。 Figure 7 is a block diagram showing the main functional configuration of the processor 31 of the payment device 12. The processor 31 functions as a payment-side storage means 71, an amount display means 72, a connection response means 73, and a payment means 74. However, the functions of the processor 31 are not limited to these.

決済側記憶手段71は、入力装置11から送信され、通信ユニット35を介して受信した取引に係るデータを、当該取引が決済されるまで決済側記憶部81で記憶する機能である。決済側記憶部81は、メインメモリ32又は補助記憶デバイス33の記憶領域の一部である。決済側記憶手段71は、受信した取引に係るデータを基に、1取引として売り上げる商品の明細レコードRaを商品毎に作成する。明細レコードRaは、図5に示すように、一連のレコード番号と関連付けて、商品コード、商品名、単価、数量、値割引額、金額等の項目のデータを記述したレコードである。すなわち明細レコードRaは、商品コード、数量等の取引に係るデータを記述したレコードであると言える。決済側記憶手段71は、明細レコードRaを決済側記憶部81の第2取引ファイル811で記憶する。 The settlement-side storage means 71 has the function of storing transaction data transmitted from the input device 11 and received via the communication unit 35 in the settlement-side storage unit 81 until the transaction is settled. The settlement-side storage unit 81 is part of the storage area of the main memory 32 or the auxiliary storage device 33. Based on the received transaction data, the settlement-side storage means 71 creates a detail record Ra for each product to be sold as a single transaction. As shown in Figure 5, the detail record Ra is a record that describes data for items such as product code, product name, unit price, quantity, discount amount, and amount, associated with a series of record numbers. In other words, the detail record Ra can be said to be a record that describes transaction data such as product code and quantity. The settlement-side storage means 71 stores the detail record Ra in the second transaction file 811 of the settlement-side storage unit 81.

金額表示手段72は、入力装置11から入力終了の通知する信号を受信すると、取引の決済金額をタッチパネル38に表示する機能である。取引の決済金額は、第2取引ファイル811で記憶した明細レコードRaの金額と値割引額とから算出される金額である。因みに、取引の決済金額が表示されるまで、すなわち入力装置11から入力終了の通知する信号を受信するまでは、金額表示手段72は、待機画面SBa(図18を参照)をタッチパネル38に表示している。 The amount display means 72 has the function of displaying the transaction settlement amount on the touch panel 38 when it receives a signal from the input device 11 indicating the end of input. The transaction settlement amount is calculated from the amount of the detail record Ra stored in the second transaction file 811 and the value discount amount. Incidentally, until the transaction settlement amount is displayed, that is, until the signal indicating the end of input is received from the input device 11, the amount display means 72 displays the standby screen SBa (see Figure 18) on the touch panel 38.

接続応答手段73は、取引の決済が可能な状態で入力装置11から接続可否の問合せを受けると、接続を許諾する接続可の応答を返す機能である。接続応答手段73は、取引の決済が不可能な状態で入力装置11から接続可否の問合せを受けると、接続を否定する接続不可の応答信号を返す。接続応答手段73は、フラグメモリ82を参照して、取引の決済が可能か否かを判定する。そして接続応答手段73は、取引の決済が可能であると判定した場合には、通信ユニット35を介して入力装置11に接続を許諾する接続可の応答、すなわち肯定応答(OK)の信号を送信する。このとき、接続応答手段73は、例えば青色で点灯するようにパトランプを制御する。接続応答手段73は、取引の決済が不可能であると判定した場合には、通信ユニット35を介して入力装置11に接続を否定する接続不可の応答、すなわち否定応答(NG)の信号を送信する。このとき、パトランプ40は、消灯したままである。 The connection response means 73, when it receives an inquiry from the input device 11 regarding the possibility of connection while the transaction settlement is possible, returns a connection-permitted response. If the connection response means 73 receives an inquiry from the input device 11 regarding the possibility of connection while the transaction settlement is impossible, it returns a connection-rejected response signal. The connection response means 73 refers to the flag memory 82 to determine whether the transaction settlement is possible. If the connection response means 73 determines that the transaction settlement is possible, it transmits a connection-permitted response, i.e., an affirmative response (OK) signal to the input device 11 via the communication unit 35. At this time, the connection response means 73 controls the warning light to illuminate, for example, in blue. If the connection response means 73 determines that the transaction settlement is impossible, it transmits a connection-rejected response, i.e., a negative response (NG) signal to the input device 11 via the communication unit 35. At this time, the warning light 40 remains off.

フラグメモリ82は、図8に示すように状態フラグFbを記憶する。状態フラグFbは、当該決済装置12が待機中であるか決済中であるかを識別するための1ビットデータである。待機中の決済装置12が入力装置11から取引に係るデータを受信すると、当該決済装置12は決済中となる。取引の決済中のとき、決済装置12は、次の取引の決済が不可能な状態となる。したがって接続応答手段73は、否定応答(NG)の信号を送信する。決済中の決済装置12において決済処理が終了すると、当該決済装置12は待機中となる。待機中のとき、決済装置12は、次の取引の決済が可能な状態となる。したがって接続応答手段73は、肯定応答(OK)の信号を送信する。すなわち待機中の決済装置12は、取引の決済が可能な状態の決済装置であると言える。決済中の決済装置12は、取引の決済が不可能な状態の決済装置であると言える。本実施形態では、待機中のときの状態フラグFbを“0”とし、決済中のときの状態フラグFbを“1”とする。 The flag memory 82 stores a status flag Fb, as shown in Figure 8. The status flag Fb is a 1-bit data that identifies whether the settlement device 12 is in standby mode or in the process of settlement. When the standby settlement device 12 receives transaction data from the input device 11, the settlement device 12 enters the settlement mode. When a transaction is being settled, the settlement device 12 is unable to settle the next transaction. Therefore, the connection response means 73 transmits a negative response (NG) signal. When the settlement process is completed in the settlement device 12 that is in the process of settlement, the settlement device 12 enters standby mode. When the settlement device 12 is in standby mode, it is able to settle the next transaction. Therefore, the connection response means 73 transmits an affirmative response (OK) signal. In other words, a standby settlement device 12 is a settlement device that is able to settle transactions. A settlement device 12 that is in the process of settlement is a settlement device that is unable to settle transactions. In this embodiment, the status flag Fb is set to "0" when the device is in standby mode, and the status flag Fb is set to "1" when the device is in the process of settlement.

決済手段74は、通信ユニット35を介して入力装置11から入力終了の通知を受けると、決済側記憶部81で記憶した取引に係るデータに基づいて取引を決済する機能である。決済手段74は、入力装置11から入力終了の通知する信号を受信すると、第2取引ファイル811に記憶したデータを基に、取引を決済する。そして決済を終了すると、決済手段74は、パトランプ40を消灯する。また決済手段74は、第2取引ファイル811をクリアし、状態フラグFbを“1”から“0”に変更する。第2取引ファイル811がクリアされ、かつ状態フラグFbが“0”になることにより、決済装置12は、次の客との取引が可能となる。 The settlement means 74, upon receiving notification of input completion from the input device 11 via the communication unit 35, settles the transaction based on the transaction data stored in the settlement-side storage unit 81. Upon receiving the signal from the input device 11 indicating input completion, the settlement means 74 settles the transaction based on the data stored in the second transaction file 811. Once the settlement is complete, the settlement means 74 turns off the warning light 40. The settlement means 74 also clears the second transaction file 811 and changes the status flag Fb from "1" to "0". With the second transaction file 811 cleared and the status flag Fb set to "0", the settlement device 12 becomes capable of conducting transactions with the next customer.

決済手段74は、支払い方法選択画面SBb(図19を参照)を介して選択された代金支払い方法で取引を決済する。例えば代金支払い方法として現金支払いが選択された場合には、決済手段74は、釣銭機インターフェース36に接続された自動釣銭機を介して現金による取引の決済処理を実行する。代金支払い方法としてクレジットカード支払いが選択された場合には、決済手段74は、端末インターフェース41に接続されたキャッシュレス決済端末5を介してクレジットカードによる取引の決済処理を実行する。代金支払い方法として電子マネー支払いが選択された場合には、決済手段74は、端末インターフェース41に接続されたキャッシュレス決済端末5を介して電子マネーによる取引の決済処理を実行する。なお、現金、クレジットカード及び電子マネーによる取引の決済処理はいずれも周知の処理であるので、詳細な説明は省略する。 The payment method 74 settles the transaction using the payment method selected via the payment method selection screen SBb (see Figure 19). For example, if cash payment is selected, the payment method 74 executes the settlement process for the cash transaction via the automatic change dispenser connected to the change dispenser interface 36. If credit card payment is selected, the payment method 74 executes the settlement process for the credit card transaction via the cashless payment terminal 5 connected to the terminal interface 41. If electronic money payment is selected, the payment method 74 executes the settlement process for the electronic money transaction via the cashless payment terminal 5 connected to the terminal interface 41. Since the settlement processes for cash, credit card, and electronic money transactions are well-known, detailed explanations are omitted.

上述した決済側記憶手段71、金額表示手段72、接続応答手段73及び決済手段74としての機能は、プロセッサ21が決済装置用のプログラム、いわゆる決済プログラムに従って実行する情報処理によって実現される。 The functions of the payment-side storage means 71, amount display means 72, connection response means 73, and payment means 74 described above are realized by information processing executed by the processor 21 according to a program for the payment device, a so-called payment program.

決済プログラムは、メインメモリ32又は補助記憶デバイス33に記憶されるアプリケーションプログラムの一種である。決済プログラムをメインメモリ32又は補助記憶デバイス33にインストールする方法は特に限定されるものではない。リムーバブルな記録媒体に決済プログラムを記録して、あるいはネットワーク14を介した通信により決済プログラムを配信して、メインメモリ32又は補助記憶デバイス33にインストールすることができる。記録媒体は、CD-ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。 The payment program is a type of application program stored in the main memory 32 or the auxiliary storage device 33. The method of installing the payment program in the main memory 32 or auxiliary storage device 33 is not particularly limited. The payment program can be recorded on a removable recording medium, or distributed via communication over the network 14, and then installed in the main memory 32 or auxiliary storage device 33. The recording medium can be any form as long as it can store a program and is readable by the device, such as a CD-ROM or memory card.

次に、図9乃至図12の流れ図、及び、図13乃至図20の画面例を用いて、会計システム1を構成する入力装置11及び決済装置12において実行される主要な情報処理の内容と手順を説明する。なお、以下に説明する情報処理の内容と手順は一例である。同様な作用効果を奏し得るのであれば、その内容及び手順は適宜変更することができる。また、画面例も一例である。出力されるテキストの内容、画像の配置、ソフトウェアキーの種類及びレイアウト等は、適宜変更することができる。 Next, using the flowcharts in Figures 9 to 12 and the screen examples in Figures 13 to 20, the content and procedures of the main information processing performed in the input device 11 and settlement device 12 that constitute the accounting system 1 will be explained. Note that the content and procedures of the information processing described below are examples only. The content and procedures can be modified as appropriate if similar effects can be achieved. Similarly, the screen examples are also examples only. The content of the output text, the placement of images, the types and layouts of software keys, etc., can be modified as appropriate.

はじめに、入力装置11のプロセッサ21が入力プログラムにしたがって実行する情報処理の要部手順を図9及び図10の流れ図を用いて説明する。
客3は、売場に陳列されている商品の中から購入する商品を買物籠等に入れ、チェックアウトレーンに向かう。客3がチェックアウトレーンに来ると、チェッカとしての役割を担う店員2は、入力装置11に対して入力開始の宣言操作を行う。この操作を受けて、プロセッサ21は、図9及び図10の流れ図に示す手順の情報処理を開始する。
First, the main steps of the information processing performed by the processor 21 of the input device 11 according to the input program will be explained using the flowcharts in Figures 9 and 10.
Customer 3 places the items they wish to purchase from the products displayed on the sales floor into a shopping basket or similar container and heads to the checkout lane. When customer 3 arrives at the checkout lane, employee 2, who is acting as the checker, declares the start of input to the input device 11. In response to this operation, the processor 21 begins processing information according to the procedure shown in the flowcharts of Figures 9 and 10.

先ずプロセッサ21は、ACT101としてタッチパネル28の画面を接続先選択画面SAa(図13を参照)とする。
図13は、接続先選択画面SAaの一表示例である。接続先選択画面SAaには、当該入力装置11と同一のチェックアウトレーンに配置された複数台の決済装置12を個々に指定可能な操作子として、第1ボタンBAaと第2ボタンBAbとが配置されている。
First, the processor 21, as ACT101, sets the screen of the touch panel 28 to the connection destination selection screen SAa (see Figure 13).
Figure 13 shows an example of the display of the connection destination selection screen SAa. The connection destination selection screen SAa has a first button BAa and a second button BAb, which are operators that allow users to individually select from multiple payment devices 12 located in the same checkout lane as the input device 11.

図13は、入力装置11(11-1)のタッチパネル28に表示される接続先選択画面SAaの一例である。入力装置11と同一のチェックアウトレーンに配置された決済装置12は、決済装置12(12-1)と決済装置12(12-2)である。第1ボタンBAaは、決済装置12(12-1)を指定するボタンである。したがって、第1ボタンBAaには決済装置12(12-1)の決済装置番号「1」が表示されている。第2ボタンBAbは、決済装置12(12-2)を指定するボタンである。したがって、第2ボタンBAbには決済装置12(12-2)の決済装置番号「2」が表示されている。 Figure 13 shows an example of the connection destination selection screen SAa displayed on the touch panel 28 of the input device 11 (11-1). The payment devices 12 located in the same checkout lane as the input device 11 are payment device 12 (12-1) and payment device 12 (12-2). The first button BAa is for selecting payment device 12 (12-1). Therefore, the payment device number "1" for payment device 12 (12-1) is displayed on the first button BAa. The second button BAb is for selecting payment device 12 (12-2). Therefore, the payment device number "2" for payment device 12 (12-2) is displayed on the second button BAb.

因みに、決済装置12(12-3)及び決済装置12(12-4)同一のチェックアウトレーンに配置された入力装置11(11-2)においては、決済装置12(12-3)の決済装置番号「3」が表示された第1ボタンBAaと、決済装置12(12-4)の決済装置番号「4」が表示された第2ボタンBAbとが配置された接続先選択画面SAaが表示される。 Incidentally, in the input device 11 (11-2) located in the same checkout lane as payment devices 12 (12-3) and 12 (12-4), a connection selection screen SAa is displayed, which includes a first button BAa displaying payment device number "3" for payment device 12 (12-3) and a second button BAb displaying payment device number "4" for payment device 12 (12-4).

タッチパネル28に接続先選択画面SAaが表示されたことを確認した店員2は、空いている決済装置12を探す。空いている決済装置12とは、決済を行っている客3が居ない決済装置12である。あるいは、パトランプ40が消灯している決済装置12である。店員は、空いている決済装置12を認識すると、その決済装置12の決済装置番号が表示された操作子(第1ボタンBAa又は第2ボタンBAb)をタッチ操作で入力する。例えば決済装置12(12-1)が空いていると認識した店員2は、第1ボタンBAaをタッチ操作で入力する。例えば決済装置12(12-2)が空いていると認識した店員2は、第2ボタンBAbをタッチ操作で入力する。 After confirming that the connection selection screen SAa is displayed on the touch panel 28, employee 2 searches for an available payment terminal 12. An available payment terminal 12 is one that does not have a customer 3 currently making a payment. Alternatively, it is a payment terminal 12 whose warning light 40 is off. Upon identifying an available payment terminal 12, the employee touches the control panel (first button BAa or second button BAb) displaying the payment terminal number of that terminal 12. For example, if employee 2 identifies payment terminal 12 (12-1) as available, they touch the first button BAa. Similarly, if employee 2 identifies payment terminal 12 (12-2) as available, they touch the second button BAb.

図9の説明に戻る。
接続先選択画面SAaを表示したプロセッサ21は、ACT102として決済装置番号が入力されるのを待ち受ける。プロセッサ21は、接続先選択画面SAaに配置された第1ボタンBAaが入力されると、その第1ボタンBAaに割り当てられた決済装置番号が入力されたと判断する。プロセッサ21は、接続先選択画面SAaに配置された第2ボタンBAbが入力されると、その第2ボタンBAbに割り当てられた決済装置番号が入力されたと判断する。
Let's return to the explanation of Figure 9.
The processor 21, which displays the connection destination selection screen SAa, waits for the payment device number to be entered as ACT 102. When the first button BAa located on the connection destination selection screen SAa is pressed, the processor 21 determines that the payment device number assigned to the first button BAa has been entered. When the second button BAb located on the connection destination selection screen SAa is pressed, the processor 21 determines that the payment device number assigned to the second button BAb has been entered.

決済装置番号が入力されると、プロセッサ21は、ACT102からACT103へと進む。プロセッサ21は、ACT103として第1データテーブル63を参照して、当該決済装置番号と関連付けられた決済装置IDを取得する。そしてプロセッサ21は、ACT104としてその決済装置IDを宛先として確認イベントを送信するように通信ユニット25を制御する。この制御により、通信ユニット25を介してネットワーク14に確認イベントが送信される。確認イベントは、ネットワーク14に接続された複数台の決済装置12のうち、当該確認イベントの宛先である決済装置IDが設定された決済装置12で受信される。確認イベントを受信した決済装置12からは、接続を許諾する肯定応答(OK)、又は、接続を否定する否定応答(NG)の信号が返信される。 When the payment device number is entered, the processor 21 proceeds from ACT 102 to ACT 103. As ACT 103, the processor 21 refers to the first data table 63 to obtain the payment device ID associated with the payment device number. Then, as ACT 104, the processor 21 controls the communication unit 25 to send a confirmation event to that payment device ID. This control sends the confirmation event to the network 14 via the communication unit 25. The confirmation event is received by one of the multiple payment devices 12 connected to the network 14, specifically the payment device 12 that has the payment device ID set as the destination for the confirmation event. The payment device 12 that receives the confirmation event sends back either an affirmative response (OK) to allow the connection, or a negative response (NG) to deny the connection.

確認イベントの送信を制御したプロセッサ21は、ACT105として決済装置12から肯定応答(OK)の信号を受信するのを待ち受ける。この待ち受け状態において、所定時間内に通信ユニット25を介して否定応答(NG)の信号を受信するか、肯定応答(OK)又は否定応答(NG)の信号を受信できない場合には、プロセッサ21は、ACT105からACT106へと進む。プロセッサ21は、ACT106として入力した決済装置番号で特定される決済装置12との接続が不可であることを示す接続不可画面SAb(図14を参照)をタッチパネル28に表示する。 The processor 21, which controls the transmission of the confirmation event, waits for an acknowledgment (OK) signal from the payment device 12 as ACT 105. In this waiting state, if a negative response (NG) signal is received via the communication unit 25 within a predetermined time, or if neither an acknowledgment (OK) nor a negative response (NG) signal is received, the processor 21 proceeds from ACT 105 to ACT 106. The processor 21 displays a connection failure screen SAb (see Figure 14) on the touch panel 28, indicating that connection to the payment device 12 identified by the payment device number entered as ACT 106 is not possible.

図14は、接続不可画面SAbの一表示例である。接続不可画面SAbには、決済装置12に接続できなかったことを示すテキストとともに、確認ボタンBAcが配置されている。テキストを確認した店員2は、確認ボタンBAcをタッチ操作で入力する。 Figure 14 shows an example of the "Connection Failed" screen SAb. The "Connection Failed" screen SAb displays text indicating that connection to the payment device 12 failed, along with a confirmation button BAc. After reviewing the text, the store clerk 2 presses the confirmation button BAc by touch.

接続不可画面SAbを表示したプロセッサ21は、ACT107として確認ボタンBAcが入力されるのを待ち受ける。確認ボタンBAcが入力されると、プロセッサ21は、ACT107からACT101へと戻る。すなわちプロセッサ21は、タッチパネル28の画面を接続不可画面SAbから接続先選択画面SAa(図15を参照)に戻す。 The processor 21, displaying the "Connection Unavailable" screen SAb, waits for confirmation button Bac to be input as ACT 107. Upon receiving confirmation button Bac, the processor 21 returns from ACT 107 to ACT 101. That is, the processor 21 returns the touch panel 28 screen from the "Connection Unavailable" screen SAb to the connection destination selection screen SAa (see Figure 15).

図15は、第1ボタンBAaに割り当てられた決済装置番号の決済装置12から否定応答(NG)を受信した後の接続先選択画面SAaの一表示例である。図示するように、第2ボタンBAbはタッチ操作での入力が可能であるが、第1ボタンBAaはグレーアウトしていて、入力することはできない。このように、決済装置12に確認イベントを送信したが、否定応答(NG)の信号を受信した場合には、確認イベント送信先の決済装置12の決済装置番号が割り当てられた第1ボタンBAa又は第2ボタンBAbが無効化される。 Figure 15 shows an example of the display on the connection destination selection screen SAa after receiving a negative response (NG) from payment device 12, the payment device number assigned to the first button BAa. As shown, the second button BAb can be used for touch input, but the first button BAa is grayed out and cannot be used for input. Thus, when a confirmation event is sent to payment device 12 but a negative response (NG) signal is received, the first button BAa or the second button BAb, to which the payment device number of payment device 12 (the recipient of the confirmation event) is assigned, is disabled.

図15の接続先選択画面SAaを確認した店員2は、第2ボタンBAbに割り当てられた決済装置番号の決済装置12が空いているか確認し、空いている場合には、第2ボタンBAbをタッチ操作で入力する。第2ボタンBAbが入力されると、プロセッサ21は、ACT103乃至ACT105の処理を前述したのと同様に実行する。ここで、第2ボタンBAbに割り当てられた決済装置番号の決済装置12からも所定時間内に通信ユニット25を介して否定応答(NG)の信号を受信するか、肯定応答(OK)又は否定応答(NG)の信号を受信できない場合には、プロセッサ21は、ACT106及びACT107の処理を前述したのと同様に実行する。そしてその後、プロセッサ21は、ACT101へと戻る。このときの接続先選択画面SAaは、第2ボタンBAbがグレーアウトし、第1ボタンBAaが入力可能となる。 After confirming the connection destination selection screen SAa in Figure 15, the store clerk 2 checks if the payment device 12 assigned to the second button BAb is available. If it is available, the clerk presses the second button BAb by touch. Upon input of the second button BAb, the processor 21 executes ACT 103 to ACT 105 in the same manner as described above. If the payment device 12 assigned to the second button BAb does not receive a negative response (NG) signal via the communication unit 25 within a predetermined time, or if it does not receive an affirmative response (OK) or negative response (NG) signal, the processor 21 executes ACT 106 and ACT 107 in the same manner as described above. Then, the processor 21 returns to ACT 101. At this point, the connection destination selection screen SAa shows the second button BAb grayed out, and the first button BAa becomes available for input.

ACT105において、所定時間内に通信ユニット25を介して肯定応答(OK)を受信すると、プロセッサ21は、ACT105からACT108へと進む。プロセッサ21は、ACT108として肯定応答(OK)を送信した決済装置12の決済装置IDと関連付けられて第1データテーブル63に記述されている接続先フラグFaを“0”から“1”に変更する。またプロセッサ21は、ACT109としてタッチパネル28の画面を明細画面SAc(図16を参照)とする。 In ACT 105, if an acknowledgment (OK) is received via the communication unit 25 within a predetermined time, the processor 21 proceeds from ACT 105 to ACT 108. As ACT 108, the processor 21 changes the connection destination flag Fa, which is associated with the payment device ID of the payment device 12 that sent the acknowledgment (OK) and described in the first data table 63, from "0" to "1". The processor 21 also sets the touch panel 28 screen to the details screen SAc (see Figure 16) as ACT 109.

図16は、明細画面SAcの一表示例である。明細画面SAcは、カレントエリアAAaと、明細エリアAAbと、合計エリアAAcとに区分される。カレントエリアAAaには、一取引の買上商品として入力された最新の商品の商品名、数量及び金額が表示される。明細エリアAAbには、一連のレコード番号順に、一取引の買上商品として入力された商品の商品名、数量、単価、値割引額及び金額がリスト形式で表示される。合計エリアAAcには、買上商品の合計数量と合計金額とが表示される。 Figure 16 shows an example of the details screen SAc. The details screen SAc is divided into the current area AAa, the details area AAb, and the total area AAc. The current area AAa displays the product name, quantity, and price of the most recently purchased item in a single transaction. The details area AAb displays the product name, quantity, unit price, discount amount, and price of the purchased items in a single transaction in a list format, arranged in order of record number. The total area AAc displays the total quantity and total price of the purchased items.

また明細画面SAcは、小計ボタンBAd、値引ボタンBAe及び割引ボタンBAfのソフトウェアキーを含む。小計ボタンBAdは、一取引における買上商品の入力が終了したことを指令するための操作子である。値引ボタンBAeは、一取引の買上商品として入力された最新の商品の値引を指令するための操作子である。割引ボタンBAfは、一取引の買上商品として入力された最新の商品の割引を指令するための操作子である。因みに、オペレータが値引ボタンBAeを入力するとともにキーボード26のテンキーで値引額を入力することにより、商品の価格が値引される。同様に、オペレータが割引ボタンBAfを入力するとともにキーボード26のテンキーで割引率を入力することにより、商品の価格が割引される。 The details screen SAc also includes software keys for the subtotal button BAd, the discount button BAe, and the discount button BAF. The subtotal button BAd is an operator used to signal that the input of purchased items in a transaction has been completed. The discount button BAe is an operator used to signal a discount on the most recently entered purchased item in a transaction. The discount button BAF is an operator used to signal a discount on the most recently entered purchased item in a transaction. Incidentally, when the operator inputs the discount button BAe and enters the discount amount using the numeric keypad on keyboard 26, the price of the item is discounted. Similarly, when the operator inputs the discount button BAF and enters the discount rate using the numeric keypad on keyboard 26, the price of the item is discounted.

なお、ACT109において、プロセッサ21は、客用ディスプレイ29の画面を客用明細画面とする。客用明細画面は、明細画面SAcからソフトウェアキーを除いたものである。 In ACT109, the processor 21 uses the customer display 29 as the customer details screen. The customer details screen is the details screen SAc with the software keys removed.

タッチパネル28に明細画面SAcが表示されたことを確認した店員2は、スキャナ27を操作して客3が購入する商品に付されたバーコードを読み取る。スキャナ27でバーコードが読み取られることによって、買上商品の商品コードが入力装置11に入力される。一方、生鮮食品などの一部の商品にはバーコードが付されていないことがある。商品にバーコードが付されていない場合、店員2は、タッチパネル28にバーコード無商品のリストを表示させる。そして店員は、そのリストの中から客が購入する商品を選択する。このような操作により、バーコードのない買上商品の商品コードが入力装置11に入力される。 After confirming that the details screen "SAc" is displayed on the touch panel 28, clerk 2 operates the scanner 27 to read the barcode attached to the item purchased by customer 3. The barcode is read by the scanner 27, and the product code of the purchased item is entered into the input device 11. However, some items, such as fresh food, may not have barcodes. If an item does not have a barcode, clerk 2 displays a list of items without barcodes on the touch panel 28. The clerk then selects the item the customer wishes to purchase from this list. Through this operation, the product code of the barcode-less purchased item is entered into the input device 11.

図9の説明に戻る。
明細画面SAcを表示したプロセッサ21は、ACT110として商品コードが入力されるのを待ち受ける。商品コードが入力されると、プロセッサ21は、ACT110からACT111へと進む。プロセッサ21は、ACT111として接続先となった決済装置12の決済装置IDを取得する。すなわちプロセッサ21は、第1データテーブル63を参照して、接続先フラグFaが“1”となっている決済装置IDを取得する。そしてプロセッサ21は、ACT112として決済装置IDを宛先として入力イベントを送信するように通信ユニット25を制御する。この制御により、通信ユニット25を介してネットワーク14に入力イベントが送信される。入力イベントは、ネットワーク14に接続された複数台の決済装置12のうち、当該入力イベントの宛先である決済装置IDが設定された決済装置12で受信される。入力イベントは、スキャナ27又はタッチパネル28から入力された商品コードを含む。
Let's return to the explanation of Figure 9.
The processor 21, displaying the details screen SAc, waits for the product code to be entered as ACT110. Once the product code is entered, the processor 21 proceeds from ACT110 to ACT111. As ACT111, the processor 21 obtains the payment device ID of the connected payment device 12. That is, the processor 21 refers to the first data table 63 and obtains the payment device ID for which the connection destination flag Fa is "1". Then, as ACT112, the processor 21 controls the communication unit 25 to send an input event with the payment device ID as the destination. This control sends the input event to the network 14 via the communication unit 25. The input event is received by one of the multiple payment devices 12 connected to the network 14, specifically the payment device 12 for which the payment device ID that is the destination of the input event is set. The input event includes the product code entered from the scanner 27 or touch panel 28.

またプロセッサ21は、ACT113として明細レコードRaを作成する。すなわちプロセッサ21は、サーバ13にアクセスして、商品マスタファイル131から入力された商品コードを含む商品レコードを取得する。そしてプロセッサ21は、その商品レコードに記述された商品名、単価等の商品情報を基に、レコード番号r、商品コード、商品名、単価、数量、値割引額、金額等の項目データからなる明細レコードRaを作成する。なお、数量は“1”である。値割引額は“0”である。金額は、単価である。 Furthermore, processor 21 creates a detail record Ra as ACT 113. That is, processor 21 accesses server 13 and retrieves a product record containing the entered product code from product master file 131. Then, based on the product information such as product name and unit price described in that product record, processor 21 creates a detail record Ra consisting of item data such as record number r, product code, product name, unit price, quantity, value discount amount, and amount. Note that the quantity is "1". The value discount amount is "0". The amount is the unit price.

プロセッサ21は、ACT114として明細レコードRaを第1取引ファイル641に記憶する。またプロセッサ21は、ACT115として明細画面SAcを更新する。すなわちプロセッサ21は、明細レコードRaの商品名、数量及び金額を明細画面SAcのカレントエリアAAaに表示する。このとき、カレントエリアAAaに、当該明細レコードRaのレコード番号rよりも1つ前のレコード番号(r-1)の明細レコードRaに係るデータが表示されていた場合には、プロセッサ21は、その明細レコードRaのレコード番号(r-1)、商品名、数量、単価、値割引額及び金額を明細エリアAAbに表示する。またプロセッサ21は、第1取引ファイル641に記憶した全ての明細レコードRaの合計数量及び合計金額を合計エリアAAcに表示する。プロセッサ21は、客用明細画面も同様に更新する。 Processor 21 stores the detail record Ra in the first transaction file 641 as ACT 114. Processor 21 also updates the detail screen SAc as ACT 115. Specifically, Processor 21 displays the product name, quantity, and amount of detail record Ra in the current area AAa of the detail screen SAc. If data for a detail record Ra with a record number one position prior to the current detail record Ra's record number r (r-1) is displayed in the current area AAa, Processor 21 displays the record number (r-1), product name, quantity, unit price, discount amount, and amount of that detail record Ra in the detail area AAb. Processor 21 also displays the total quantity and total amount of all detail records Ra stored in the first transaction file 641 in the total area AAc. Processor 21 updates the customer detail screen in the same manner.

明細画面SAcを更新したプロセッサ21は、図10のACT121へと進む。プロセッサ21は、ACT121として商品コードが入力されたか否かを確認する。商品コードが入力されていない場合、プロセッサ21は、ACT121からACT122へと進む。プロセッサ21は、ACT122として数量又は値割引のデータが入力されたか否かを確認する。数量又は値割引のデータが入力されていない場合、プロセッサ21は、ACT122からACT123へと進む。プロセッサ21は、ACT123として小計ボタンBAdが入力されたか否かを確認する。小計ボタンBAdが入力されていない場合、プロセッサ21は、ACT123からACT121へと戻る。このように、明細画面SAcを更新したプロセッサ21は、ACT121乃至ACT123として商品コード、数量又は値割引のデータ及び小計ボタンBAdの待ち受け状態となる。 After updating the details screen SAc, processor 21 proceeds to ACT121 in Figure 10. Processor 21 checks whether a product code has been entered as ACT121. If no product code has been entered, processor 21 proceeds from ACT121 to ACT122. Processor 21 checks whether quantity or value discount data has been entered as ACT122. If no quantity or value discount data has been entered, processor 21 proceeds from ACT122 to ACT123. Processor 21 checks whether the subtotal button BAd has been entered as ACT123. If the subtotal button BAd has not been entered, processor 21 returns from ACT123 to ACT121. Thus, after updating the details screen SAc, processor 21 enters a waiting state for product code, quantity or value discount data, and subtotal button BAd as ACT121 through ACT123.

ACT121乃至ACT123の待ち受け状態において、商品コードが入力されると、プロセッサ21は、ACT121から図9のACT111へと戻る。そしてプロセッサ21は、ACT111乃至ACT115の処理を前述したのと同様に実行する。すなわちプロセッサ21は、接続先となった決済装置12の決済装置IDを取得し、その決済装置IDを宛先として入力イベントを送信するように通信ユニット25を制御する。入力イベントは、スキャナ27又はタッチパネル28から入力された商品コードを含む。またプロセッサ21は、明細レコードRaを作成し、その明細レコードRaを第1取引ファイル641に記憶する。そしてプロセッサ21は、第1取引ファイル641に記憶した明細レコードRaのデータを基に明細画面SAcを更新する。その後、プロセッサ21は、ACT121乃至ACT123の待ち受け状態となる。 When a product code is entered while in the waiting state of ACT121 to ACT123, the processor 21 returns from ACT121 to ACT111 in Figure 9. The processor 21 then executes the processing of ACT111 to ACT115 in the same manner as described above. Specifically, the processor 21 obtains the payment device ID of the connected payment device 12 and controls the communication unit 25 to send an input event to that payment device ID. The input event includes the product code entered from the scanner 27 or touch panel 28. The processor 21 also creates a detail record Ra and stores it in the first transaction file 641. The processor 21 then updates the detail screen SAc based on the data of the detail record Ra stored in the first transaction file 641. Afterward, the processor 21 returns to the waiting state of ACT121 to ACT123.

ACT121乃至ACT123の待ち受け状態において、キーボード26のテンキーと乗算キーとによって数量が入力された場合、あるいは値引ボタンBAe又は割引ボタンBAfとテンキーとにより値引額又は割引率が入力された場合には、プロセッサ21は、ACT122からACT124へと進む。プロセッサ21は、ACT124及びACT125として前述したACT111及びACT112の処理と同様な処理を実行する。すなわちプロセッサ21は、接続先となった決済装置12の決済装置IDを取得し、その決済装置IDを宛先として入力イベントを送信するように通信ユニット25を制御する。入力イベントは、キー入力された数量、値引額又は割引率を含む。 In the waiting state of ACTs 121 to 123, if a quantity is entered using the numeric keypad and multiplication key on the keyboard 26, or if a discount amount or discount rate is entered using the discount button BAe or discount button BAf and the numeric keypad, the processor 21 proceeds from ACT 122 to ACT 124. The processor 21 performs the same processing as described above for ACTs 111 and 112 as ACTs 124 and 125. That is, the processor 21 obtains the payment device ID of the connected payment device 12 and controls the communication unit 25 to send an input event to that payment device ID. The input event includes the entered quantity, discount amount, or discount rate.

プロセッサ21は、ACT126として第1取引ファイル641に記憶したレコード番号rの明細レコードRaを更新する。具体的には、数量が入力された場合には、プロセッサ21は、明細レコードRaの数量を入力された値とし、金額を単価と数量との積とする。値引額が入力された場合には、プロセッサ21は、明細レコードRaに値引額を記述し、金額から値引額を減じる。割引率が入力された場合には、プロセッサ21は、明細レコードRaの単価と割引率とから割引額を算出して記述し、金額から割引額を減じる。そしてプロセッサ21は、ACT127として明細レコードRaを更新した後の第1取引ファイル641のデータにより、明細画面SAcのカレントエリアAAaと合計エリアAAcの表示を更新する。プロセッサ21は、客用明細画面も同様に更新する。その後、プロセッサ21は、ACT121乃至ACT123の待ち受け状態に戻る。 Processor 21 updates the detail record Ra with record number r stored in the first transaction file 641 as ACT 126. Specifically, if a quantity is entered, Processor 21 sets the quantity in detail record Ra to the entered value and the amount to the product of the unit price and quantity. If a discount amount is entered, Processor 21 writes the discount amount in detail record Ra and subtracts the discount amount from the amount. If a discount rate is entered, Processor 21 calculates and writes the discount amount from the unit price and discount rate in detail record Ra and subtracts the discount amount from the amount. Then, as ACT 127, Processor 21 updates the display of the current area AAa and total area AAc on the detail screen SAc using the data from the first transaction file 641 after updating detail record Ra. Processor 21 updates the customer detail screen in the same way. After that, Processor 21 returns to the waiting state of ACT 121 to ACT 123.

ACT121乃至ACT123の待ち受け状態において、小計ボタンBAdが入力された場合には、プロセッサ21は、ACT123からACT128へと進む。プロセッサ21は、ACT128としてタッチパネル28の画面を小計画面SAd(図17を参照)とする。 If the subtotal button BAd is pressed while in the standby state of ACT121 to ACT123, the processor 21 proceeds from ACT123 to ACT128. For ACT128, the processor 21 sets the touch panel 28 screen to the subtotal plane SAd (see Figure 17).

図17は、小計画面SAdの一表示例である。小計画面SAdは、合計点数及び合計金額が表示される合計エリアAAdを含む。また小計画面SAdは、小計値引ボタンBAg、小計割引ボタンBAh、入力完了ボタンBAi及び明細に戻るボタンBAjのソフトウェアキーを含む。小計値引ボタンBAgは、合計金額の値引を指令するための操作子である。小計割引ボタンBAhは、合計金額の割引を指令するための操作子である。因みに、小計値引ボタンBAgを入力するとともにキーボード26のテンキーで値引額を入力することにより、合計金額が値引される。同様に、小計割引ボタンBAhを入力するとともにキーボード26のテンキーで割引率を入力することにより、合計金額が割引される。 Figure 17 shows an example of the display of the sub-plan area SAd. The sub-plan area SAd includes a total area AAd where the total points and total amount are displayed. The sub-plan area SAd also includes software keys for the subtotal discount button BAg, the subtotal discount button BAh, the input completion button BAi, and the return to details button BAj. The subtotal discount button BAg is an operator used to command a discount on the total amount. The subtotal discount button BAh is also an operator used to command a discount on the total amount. Incidentally, by pressing the subtotal discount button BAg and entering the discount amount using the numeric keypad on keyboard 26, the total amount is discounted. Similarly, by pressing the subtotal discount button BAh and entering the discount rate using the numeric keypad on keyboard 26, the total amount is discounted.

入力完了ボタンBAiは、取引に係るデータの入力終了を指示するための操作子である。店員2は、取引に係るデータの入力を終了すると、入力完了ボタンBAiをタッチ操作で入力する。取引に係るデータの入力を終了していない場合には、店員2は、明細に戻るボタンBAjをタッチ操作で入力する。 The Input Complete button BAi is an operator used to indicate the completion of data entry related to a transaction. When clerk 2 has finished entering the transaction data, they touch the Input Complete button BAi. If clerk 2 has not finished entering the transaction data, they touch the Return to Details button BAj.

なお、ACT128において、プロセッサ21は、客用ディスプレイ29の画面を客用小計画面とする。客用小計画面は、小計画面SAdからソフトウェアキーを除いたものである。 In ACT128, the processor 21 uses the screen of the customer display 29 as the customer subplan screen. The customer subplan screen is the subplan screen SAd with the software keys removed.

ところで、明細画面SAc及び小計画面SAdは、その画面の一部に確認イベントに対して肯定応答(OK)を返信した接続先決済装置120の識別名NAaを表示する。識別名NAaは、決済装置番号を含む。因みに図16の明細画面SAc及び図17の小計画面SAdには、決済装置番号「1」が割り当てられた決済装置12(12-1)が接続先決済装置120として選択された場合の画面例であり、識別名NAaとして[決済装置1]が表示されている。店員2は、この識別名NAaにより、接続先決済装置120が決済装置12(12-1)であることを容易に知り得る。 Incidentally, the details screen SAc and the sub-plan screen SAd display the identification name NAa of the connected payment device 120 that responded with an affirmative answer (OK) to the confirmation event in a portion of the screen. The identification name NAa includes the payment device number. For reference, the details screen SAc in Figure 16 and the sub-plan screen SAd in Figure 17 are examples of screens when payment device 12 (12-1), which is assigned payment device number "1," is selected as the connected payment device 120, and "[Payment Device 1]" is displayed as the identification name NAa. The store clerk 2 can easily determine from this identification name NAa that the connected payment device 120 is payment device 12 (12-1).

小計画面SAdを表示したプロセッサ21は、ACT129として明細に戻るボタンBAjが入力されたか否かを確認する。明細に戻るボタンBAjが入力されていない場合には、プロセッサ21は、ACT129からACT130へと進む。プロセッサ21は、ACT130として入力完了ボタンBAiが入力されたか否かを確認する。入力完了ボタンBAiが入力されていない場合には、プロセッサ21は、ACT130からACT129へと戻る。 The processor 21, displaying the subplanning plane SAd, checks whether the button BAj (return to details) has been pressed as ACT 129. If the button BAj has not been pressed, the processor 21 proceeds from ACT 129 to ACT 130. The processor 21 then checks whether the input completion button BAi has been pressed as ACT 130. If the input completion button BAi has not been pressed, the processor 21 returns from ACT 130 to ACT 129.

このように小計画面SAdを表示したプロセッサ21は、ACT129及びACT130において明細に戻るボタンBAjが入力されるか、入力完了ボタンBAiが入力されるのを待ち受ける。なお、この待ち受け状態において、小計値引ボタンBAg又は小計割引ボタンBAhが入力された場合には、プロセッサ21は、小計値引又は小計割引の処理を行って、ACT129及びACT130の待ち受け状態に戻る。 The processor 21, displaying the subtotal plan (SAd) in this manner, waits for either the input of the "Return to Details" button (BAj) or the input completion button (BAi) in ACT 129 and ACT 130. If the "Subtotal Discount" button (BAg) or the "Subtotal Discount" button (BAh) is input during this waiting state, the processor 21 performs the subtotal discount or subtotal discount process and returns to the waiting state in ACT 129 and ACT 130.

ACT129及びACT130の待ち受け状態において、明細に戻るボタンBAjが入力された場合には、プロセッサ21は、ACT129からACT131へと進む。プロセッサ21は、ACT131としてタッチパネル28の画面を小計画面SAdから直前の明細画面SAcに戻す。そしてプロセッサ21は、ACT121乃至ACT123の待ち受け状態に戻る。 When the button BAj (return to details) is pressed while in the standby state of ACT129 and ACT130, the processor 21 proceeds from ACT129 to ACT131. As ACT131, the processor 21 returns the touch panel 28 screen from the subplan screen SAd to the previous details screen SAc. Then, the processor 21 returns to the standby state of ACT121 through ACT123.

ACT129及びACT130の待ち受け状態において、入力完了ボタンBAiが入力された場合には、プロセッサ21は、ACT130からACT132へと進む。プロセッサ21は、ACT132として取引番号を発番する。例えば入力装置11は、取引番号をカウントするためのカウンタを備えている。プロセッサ21は、このカウンタをカウントアップして新規の取引番号を発番する。 When the input completion button BAi is pressed while ACT129 and ACT130 are in standby mode, the processor 21 proceeds from ACT130 to ACT132. The processor 21 then issues a transaction number as ACT132. For example, the input device 11 is equipped with a counter for counting transaction numbers. The processor 21 increments this counter to issue a new transaction number.

取引番号を発番したプロセッサ21は、ACT133へと進む。プロセッサ21は、ACT133として接続先となった決済装置12の決済装置IDを取得する。すなわちプロセッサ21は、第1データテーブル63を参照して、接続先フラグFaが“1”となっている決済装置IDを取得する。そしてプロセッサ21は、ACT134として決済装置IDを宛先として完了イベントを送信するように通信ユニット25を制御する。この制御により、通信ユニット25を介してネットワーク14に完了イベントが送信される。完了イベントは、ネットワーク14に接続された複数台の決済装置12のうち、当該完了イベントの宛先である決済装置IDが設定された決済装置12で受信される。完了イベントには、ACT132において発番した取引番号が含まれる。 The processor 21, which issued the transaction number, proceeds to ACT 133. As ACT 133, the processor 21 obtains the payment device ID of the connected payment device 12. Specifically, the processor 21 refers to the first data table 63 and obtains the payment device ID where the connection destination flag Fa is "1". Then, as ACT 134, the processor 21 controls the communication unit 25 to send a completion event to the payment device ID. This control transmits the completion event to the network 14 via the communication unit 25. The completion event is received by the payment device 12 among the multiple payment devices 12 connected to the network 14 that has the payment device ID set as the destination for the completion event. The completion event includes the transaction number issued in ACT 132.

完了イベントを送信したプロセッサ21は、ACT135へと進む。プロセッサ21は、ACT135として完了イベントの送信先である決済装置12を報知する。例えばプロセッサ21は、送信先である決済装置12に対して割り当てられた決済装置番号をタッチパネル28に表示する。この表示を確認した店員2は、客3に対し、送信先である決済装置12で決済を行うように指示することとなる。なおプロセッサ21は、客用ディスプレイ29に表示されている客用支払い画面の一部に、送信先である決済装置12を示す情報を表示してもよい。そうすることにより、客3は、決済を行い得る決済装置12がどれであるかを知ることができる。 The processor 21, having sent the completion event, proceeds to ACT 135. As ACT 135, the processor 21 notifies the payment device 12 to which the completion event was sent. For example, the processor 21 displays the payment device number assigned to the payment device 12 on the touch panel 28. Upon seeing this display, the store clerk 2 instructs the customer 3 to make the payment at the payment device 12. The processor 21 may also display information indicating the payment device 12 on a portion of the customer payment screen shown on the customer display 29. This allows the customer 3 to know which payment device 12 is available for payment.

完了イベント送信先の決済装置12を報知したプロセッサ21は、ACT136へと進む。プロセッサ21は、ACT136として第1取引ファイル641をクリアする。このクリアにより、第1取引ファイル641に記憶していた明細レコードRaはすべて削除される。またプロセッサ21は、ACT137として第1データテーブル63を参照して、“1”となっていた接続先フラグFaを“0”に変更する。以上で、プロセッサ21は、入力プログラムに従った情報処理を終了する。 The processor 21, having notified the settlement device 12 to which the completion event will be sent, proceeds to ACT 136. As ACT 136, the processor 21 clears the first transaction file 641. This clear deletes all detail records Ra stored in the first transaction file 641. Then, as ACT 137, the processor 21 refers to the first data table 63 and changes the connection destination flag Fa, which was set to "1", to "0". With this, the processor 21 completes the information processing according to the input program.

このように、第1取引ファイル641がクリアされ、第1データテーブル63の接続先フラグFaが全て“0”となった入力装置11においては、次の客が取引に係るデータの入力が可能となる。そして店員2が、入力装置11に対して入力開始の宣言操作を行うと、プロセッサ21は、タッチパネル28の画面を接続先選択画面SAaとする。そして、プロセッサ21は、ACT102以降の処理を前述したのと同様に実行する。 Thus, once the first transaction file 641 is cleared and all connection destination flags Fa in the first data table 63 are set to "0", the input device 11 becomes capable of inputting transaction data for the next customer. When the store clerk 2 declares the start of input to the input device 11, the processor 21 sets the touch panel 28 screen to the connection destination selection screen SAa. The processor 21 then executes the processing from ACT 102 onward in the same manner as described above.

ここにプロセッサ21は、ACT101及びACT102の処理により、接続先選択手段51としての機能を実現する。プロセッサ21は、ACT103及びACT104の処理により、問合せ手段52としての機能を実現する。プロセッサ21は、ACT105及びACT108の処理により、決定手段53としての機能を実現する。プロセッサ21は、ACT106及びACT101の処理により、無効手段54としての機能を実現する。 Here, processor 21 implements the function of connection destination selection means 51 through the processing of ACT 101 and ACT 102. Processor 21 implements the function of inquiry means 52 through the processing of ACT 103 and ACT 104. Processor 21 implements the function of determination means 53 through the processing of ACT 105 and ACT 108. Processor 21 implements the function of invalidation means 54 through the processing of ACT 106 and ACT 101.

またプロセッサ21は、ACT113及びACT114の処理により、入力側記憶手段55としての機能を実現する。プロセッサ21は、ACT115の処理により、明細表示手段56としての機能を実現する。プロセッサ21は、ACT130の処理により、終了検出手段57としての機能を実現する。プロセッサ21は、ACT111及びACT112の処理により、第1送信手段58としての機能を実現する。プロセッサ21は、ACT132乃至ACT134の処理により、第1通知手段59としての機能を実現する。プロセッサ21は、ACT135の処理により、決済先報知手段510としての機能を実現する。 Furthermore, the processor 21 realizes the function of input-side storage means 55 through processing of ACT 113 and ACT 114. The processor 21 realizes the function of detail display means 56 through processing of ACT 115. The processor 21 realizes the function of completion detection means 57 through processing of ACT 130. The processor 21 realizes the function of first transmission means 58 through processing of ACT 111 and ACT 112. The processor 21 realizes the function of first notification means 59 through processing of ACT 132 to ACT 134. The processor 21 realizes the function of settlement destination notification means 510 through processing of ACT 135.

次に、決済装置12のプロセッサ31が決済プログラムにしたがって実行する情報処理の要部手順を図11及び図12の流れ図を用いて説明する。
状態フラグFbが“0”、すなわち待機中にある決済装置12のプロセッサ31は、図11及び図12の流れ図に示す手順の情報処理を開始する。先ず、プロセッサ31は、ACT201としてタッチパネル38の画面を待機画面SBa(図18を参照)とする。
Next, the main steps of the information processing performed by the processor 31 of the payment device 12 according to the payment program will be explained using the flowcharts in Figures 11 and 12.
When the status flag Fb is "0", i.e., the payment device 12's processor 31 is in standby mode, it starts processing information according to the procedure shown in the flowcharts in Figures 11 and 12. First, the processor 31 sets the touch panel 38 screen as the standby screen SBa (see Figure 18) as ACT 201.

図18は、待機画面SBaの一表示例である。待機画面SBaは、オペレータに待機中であることを知らせる画面である。決済装置12のオペレータは、原則、客3である。したがって、待機画面SBaは、客3が勝手に操作しないような画像を表示した画面であればよい。例えば「いらっしゃいませ」、「お待ちください」等のテキストを表示した画面であってもよいし、店舗のロゴ等のイラストを表示した画面であってもよい。 Figure 18 shows an example of the standby screen SBa. The standby screen SBa is a screen that informs the operator that the system is on standby. The operator of the payment device 12 is, in principle, customer 3. Therefore, the standby screen SBa should display an image that prevents customer 3 from operating it unnecessarily. For example, it could display text such as "Welcome" or "Please wait," or it could display an illustration such as the store's logo.

待機画面SBaを表示したプロセッサ31は、ACT202として入力装置11から送信される確認イベントを待ち受ける。この待ち受け状態において、通信ユニット35を介して確認イベントを受信すると、プロセッサ31は、ACT202からACT203へと進む。プロセッサ31は、ACT203として入力装置11との接続を許諾する接続可の応答、すなわち肯定応答(OK)を送信するように通信ユニット35を制御する。この制御により、通信ユニット35を介してネットワーク14に肯定応答(OK)の信号が送信される。肯定応答(OK)の信号には、確認イベント送信元の入力装置11を識別する入力装置IDが含まれる。肯定応答(OK)の信号は、ネットワーク14に接続された複数台の入力装置11のうち、当該信号に含まれる入力装置IDが設定された入力装置11で受信される。 The processor 31, displaying the standby screen SBa, waits for a confirmation event to be transmitted from the input device 11 as ACT 202. In this waiting state, upon receiving a confirmation event via the communication unit 35, the processor 31 proceeds from ACT 202 to ACT 203. The processor 31 controls the communication unit 35 to send an acknowledgment response (OK), which authorizes connection to the input device 11, as ACT 203. This control transmits an acknowledgment response (OK) signal to the network 14 via the communication unit 35. The acknowledgment response (OK) signal includes an input device ID that identifies the input device 11 that sent the confirmation event. The acknowledgment response (OK) signal is received by the input device 11 connected to the network 14 that has the input device ID included in the signal configured.

肯定応答(OK)を送信したプロセッサ31は、ACT204へと進む。プロセッサ31は、ACT204としてフラグメモリ82の状態フラグFbを“0”から“1”へと変更する。また、プロセッサ31は、ACT205として例えば青色で点灯するようにパトランプ40を制御する。 Having sent an acknowledgment (OK), the processor 31 proceeds to ACT 204. As ACT 204, the processor 31 changes the state flag Fb in the flag memory 82 from "0" to "1". Furthermore, as ACT 205, the processor 31 controls the warning light 40 to illuminate, for example, in blue.

パトランプ40を点灯させたプロセッサ31は、ACT206として入力装置11から送信される入力イベントを待ち受ける。この待ち受け状態において、通信ユニット35を介して入力イベントを受信すると、プロセッサ31は、ACT206からACT207へと進む。プロセッサ31は、ACT207として商品コードを含む入力イベントを受信したか否かを確認する。 The processor 31, which has illuminated the warning light 40, waits for an input event transmitted from the input device 11 as ACT 206. In this waiting state, when an input event is received via the communication unit 35, the processor 31 proceeds from ACT 206 to ACT 207. The processor 31 then checks whether or not it received an input event containing a product code as ACT 207.

前述したように、入力イベントには、商品コードを含む入力イベントと、数量、値引額又は割引率を含む入力イベントがある。ACT207において、商品コードを含む入力イベントを受信したことを確認したプロセッサ31は、ACT208へと進む。プロセッサ31は、ACT208として明細レコードRaを作成する。すなわちプロセッサ31は、サーバ13にアクセスして、商品マスタファイル131から入力イベントに含まれる商品コードを含む商品レコードを取得する。そしてプロセッサ31は、その商品レコードに記述された商品名、単価等の商品情報を基に、レコード番号r、商品コード、商品名、単価、数量、値割引額、金額等の項目データからなる明細レコードRaを作成する。なお、数量は“1”である。値割引額は“0”である。金額は、単価である。 As mentioned above, input events include those containing a product code and those containing quantity, discount amount, or discount rate. In ACT 207, processor 31, having confirmed receipt of an input event containing a product code, proceeds to ACT 208. Processor 31 creates a detail record Ra as ACT 208. Specifically, processor 31 accesses server 13 and retrieves a product record containing the product code from the product master file 131. Then, based on the product information such as product name and unit price described in that product record, processor 31 creates a detail record Ra consisting of item data such as record number r, product code, product name, unit price, quantity, discount amount, and amount. Note that the quantity is "1", the discount amount is "0", and the amount is the unit price.

明細レコードRaを作成したプロセッサ31は、ACT209へと進む。プロセッサ31は、ACT209としてその明細レコードRaを第2取引ファイル811に記憶する。 The processor 31, having created the detail record Ra, proceeds to ACT 209. The processor 31 stores the detail record Ra in the second transaction file 811 as ACT 209.

一方、受信した入力イベントが商品コードを含まない入力イベントの場合には、プロセッサ31は、ACT207からACT210へと進む。プロセッサ31は、ACT210として数量、値引額又は割引率を含む入力イベントを受信したか否かを確認する。数量、値引額又は割引率を含む入力イベントを受信した場合には、プロセッサ31は、ACT210からACT211へと進む。プロセッサ31は、ACT211として第2取引ファイル811に記憶したレコード番号rの明細レコードRaを更新する。具体的には、数量を含む入力イベントを受信した場合には、プロセッサ31は、明細レコードRaの数量を入力イベントに含まれる値とし、金額を単価と数量との積とする。値引額を含む入力イベントを受信した場合には、プロセッサ31は、明細レコードRaに値引額を記述し、金額から値引額を減じる。割引率を含む入力イベントを受信した場合には、プロセッサ31は、明細レコードRaの単価と割引率とから割引額を算出して記述し、金額から割引額を減じる。 On the other hand, if the received input event does not include a product code, the processor 31 proceeds from ACT 207 to ACT 210. As ACT 210, the processor 31 checks whether or not it has received an input event that includes quantity, discount amount, or discount rate. If it has received an input event that includes quantity, discount amount, or discount rate, the processor 31 proceeds from ACT 210 to ACT 211. As ACT 211, the processor 31 updates the detail record Ra of record number r stored in the second transaction file 811. Specifically, if it has received an input event that includes quantity, the processor 31 sets the quantity in detail record Ra to the value included in the input event, and the amount to the product of the unit price and the quantity. If it has received an input event that includes discount amount, the processor 31 writes the discount amount to detail record Ra and subtracts the discount amount from the amount. When an input event including a discount rate is received, the processor 31 calculates and writes the discount amount from the unit price and discount rate in the detail record Ra, and subtracts the discount amount from the total amount.

こうして、ACT209又はACT211の処理を終えると、プロセッサ31は、ACT212へと進む。プロセッサ31は、ACT212として次の入力イベントを受信したか否かを確認する。入力イベントを受信していない場合、プロセッサ31は、ACT212からACT213へと進む。プロセッサ31は、ACT213として入力装置11から送信される完了イベントを受信したか否かを確認する。完了イベントを受信していない場合、プロセッサ31は、ACT212へと戻る。このようにプロセッサ31は、ACT212及びACT213として入力装置11から送信される入力イベント又は完了イベントを待ち受ける。 After completing the processing of ACT209 or ACT211, the processor 31 proceeds to ACT212. The processor 31 checks whether it has received the next input event as ACT212. If no input event has been received, the processor 31 proceeds from ACT212 to ACT213. The processor 31 checks whether it has received the completion event transmitted from the input device 11 as ACT213. If no completion event has been received, the processor 31 returns to ACT212. In this way, the processor 31 waits for input events or completion events transmitted from the input device 11 as ACT212 and ACT213.

ACT212及びACT213の待ち受け状態において、入力イベントを受信した場合には、プロセッサ31は、ACT212からACT207へと戻る。そしてプロセッサ31は、ACT207以降の処理を前述したのと同様に実行する。すなわち、商品コードを含む入力イベントを受信した場合には、プロセッサ31は、明細レコードRaを作成し、その明細レコードRaを第2取引ファイル811に記憶する。数量、割引額又は割引率を含む入力イベントを受信した場合には、レコード番号rの明細レコードRa、すなわち直前のACT209の処理で第2取引ファイル811に記憶した明細レコードRaを更新する。そしてプロセッサ31は、再びACT212及びACT213の待ち受け状態となる。 When an input event is received while in the waiting state of ACT212 and ACT213, the processor 31 returns from ACT212 to ACT207. The processor 31 then executes the processing from ACT207 onward in the same manner as described above. Specifically, when an input event containing a product code is received, the processor 31 creates a detail record Ra and stores this detail record Ra in the second transaction file 811. When an input event containing quantity, discount amount, or discount rate is received, the processor updates the detail record Ra with record number r, i.e., the detail record Ra stored in the second transaction file 811 during the processing of the previous ACT209. The processor 31 then returns to the waiting state of ACT212 and ACT213.

ACT212及びACT213の待ち受け状態において、完了イベントを受信した場合には、プロセッサ31は、ACT213から図12のACT221へと進む。プロセッサ31は、ACT221としてタッチパネル38の画面を支払い方法選択画面SBb(図19を参照)とする。 When a completion event is received during the standby state of ACT212 and ACT213, the processor 31 proceeds from ACT213 to ACT221 in Figure 12. For ACT221, the processor 31 sets the touch panel 38 screen to the payment method selection screen SBb (see Figure 19).

図19は、支払い方法選択画面SBbの一表示例である。支払い方法選択画面SBbは、合計点数及び合計金額が表示される合計エリアABaを含む。また支払い方法選択画面SBbは、現金ボタンBBa、クレジットボタンBBb及び電子マネーボタンBBcのソフトウェアキーを含む。現金ボタンBBaは、現金支払いを選択するための操作子である。クレジットボタンBBbは、クレジットカード支払いを選択するための操作子である。電子マネーボタンBBcは、電子マネー支払いを選択するための操作子である。 Figure 19 shows an example of the payment method selection screen SBb. The payment method selection screen SBb includes a total area ABa where the total points and total amount are displayed. The payment method selection screen SBb also includes software keys for the cash button BBa, the credit button BBb, and the electronic money button BBc. The cash button BBa is the operator for selecting cash payment. The credit button BBb is the operator for selecting credit card payment. The electronic money button BBc is the operator for selecting electronic money payment.

支払い方法選択画面SBbを確認した客3は、代金の支払い方法を選択する。現金支払いを希望する客3は、現金ボタンBBaをタッチ操作で入力する。クレジットカード支払いを希望する客3は、クレジットボタンBBbをタッチ操作で入力する。電子マネー支払いを希望する客3は、電子マネーボタンBBcをタッチ操作で入力する。なお、本実施形態では、代金支払い方法を現金支払い、クレジットカード支払い及び電子マネー支払いの3種類に限定するが、代金支払い方法はこれら3種類に限定されないのは言うまでもない。例えば、コード決済等のキャッシュレスによる決済方法を含めてもよい。 Customer 3, after viewing the payment method selection screen SBb, selects their payment method. Customer 3 wishing to pay with cash touches the cash button BBa. Customer 3 wishing to pay with a credit card touches the credit button BBb. Customer 3 wishing to pay with electronic money touches the electronic money button BBc. In this embodiment, payment methods are limited to cash, credit card, and electronic money, but it goes without saying that payment methods are not limited to these three. For example, cashless payment methods such as QR code payments may also be included.

支払い方法選択画面SBbを表示したプロセッサ21は、ACT222としていずれか1つの支払い方法が選択されるのを待ち受ける。この待ち受け状態において、決済装置12は、同一チェックアウトレーンに配置された入力装置11から確認イベントを受信する場合があり得る。そこでプロセッサ31は、ACT223として確認イベントを受信したか否かを確認する。支払い方法が選択される前に確認イベントを受信した場合には、プロセッサ31は、ACT223からACT224へと進む。プロセッサ31は、ACT224として入力装置11との接続を否定する接続不可の応答、すなわち否定応答(NG)を送信するように通信ユニット35を制御する。この制御により、通信ユニット35を介してネットワーク14に否定応答(NG)の信号が送信される。否定応答(NG)の信号には、確認イベント送信元の入力装置11を識別する入力装置IDが含まれる。否定応答(NG)の信号は、ネットワーク14に接続された複数台の入力装置11のうち、当該信号に含まれる入力装置IDが設定された入力装置11で受信される。否定応答(NG)の信号を送信したプロセッサ31は、ACT222に戻る。プロセッサ21は、いずれか1つの支払い方法が選択されるのを待ち受ける。 The processor 21, displaying the payment method selection screen SBb, waits for one of the payment methods to be selected as ACT 222. In this waiting state, the payment device 12 may receive a confirmation event from the input device 11 located in the same checkout lane. Therefore, the processor 31 checks whether or not a confirmation event has been received as ACT 223. If a confirmation event is received before a payment method is selected, the processor 31 proceeds from ACT 223 to ACT 224. The processor 31 controls the communication unit 35 to send a connection failure response, i.e., a negative response (NG), as ACT 224, denying connection with the input device 11. This control sends a negative response (NG) signal to the network 14 via the communication unit 35. The negative response (NG) signal includes an input device ID that identifies the input device 11 that sent the confirmation event. The negative response (NG) signal is received by the input device 11 among the multiple input devices 11 connected to the network 14 that has the input device ID included in the signal set. Processor 31, having sent a negative response (NG) signal, returns to ACT 222. Processor 21 waits for one of the payment methods to be selected.

ACT222の待ち受け状態において、現金ボタンBBa、クレジットボタンBBb又は電子マネーボタンBBcの入力によりいずれかの支払い方法が選択されると、プロセッサ31は、ACT225へと進む。プロセッサ31は、ACT225として支払い種別を取得する。支払い種別は、選択入力を受け付けた代金支払い方法を識別する支払い方法識別データである。例えば、現金ボタンBBaが入力された場合には、プロセッサ31は、支払い方法識別データとして支払い種別「現金」を取得する。クレジットボタンBBbが入力された場合には、プロセッサ31は、支払い方法識別データとして支払い種別「クレジット」を取得する。電子マネーボタンBBcが入力された場合には、プロセッサ31は、支払い方法識別データとして支払い種別「電子マネー」を取得する。支払い種別を取得したプロセッサ31は、ACT226としてタッチパネル38の画面を支払い種別に対応した会計画面SBc(図20を参照)とする。 In the standby state of ACT222, when a payment method is selected by inputting the cash button BBa, credit button BBb, or electronic money button BBc, the processor 31 proceeds to ACT225. As ACT225, the processor 31 obtains the payment type. The payment type is payment method identification data that identifies the payment method selected. For example, if the cash button BBa is input, the processor 31 obtains the payment type "cash" as the payment method identification data. If the credit button BBb is input, the processor 31 obtains the payment type "credit" as the payment method identification data. If the electronic money button BBc is input, the processor 31 obtains the payment type "electronic money" as the payment method identification data. Having obtained the payment type, the processor 31, as ACT226, sets the touch panel 38 screen to the accounting screen SBc (see Figure 20) corresponding to the payment type.

図20は、支払い種別が「現金」であった場合の会計画面SBcの一表示例である。会計画面SBcは、合計点数及び合計金額が表示される合計エリアABbを含む。また会計画面SBcは、変更ボタンBBd及び店員呼出ボタンBBeのソフトウェアキーを含む。会計画面SBcは、決済装置12のオペレータに対して会計の方法を知らせる画面である。決済装置12のオペレータは、原則、客3である。したがって、例えば「現金支払いが選択されています。代金を投入してください」というテキストが会計画面SBcに表示される。このテキストを確認した客3は、自動釣銭機に代金相当の現金を投入する。 Figure 20 shows an example of the display of the accounting screen SBc when the payment type is "cash". The accounting screen SBc includes a total area ABb where the total points and total amount are displayed. The accounting screen SBc also includes software keys for the change button BBd and the staff call button BBe. The accounting screen SBc is a screen that informs the operator of the payment device 12 of the payment method. The operator of the payment device 12 is, in principle, customer 3. Therefore, for example, the text "Cash payment has been selected. Please insert the payment" is displayed on the accounting screen SBc. Upon seeing this text, customer 3 inserts the equivalent amount of cash into the automatic change machine.

なお、支払い方法を変更したい客3は、変更ボタンBBdをタッチ操作で入力する。また店員を呼び出したい客3は、店員呼出ボタンBBeをタッチ操作で入力する。店員呼出ボタンBBeが入力されると、決済装置12から入力装置11に店員呼出信号が出力されて、入力装置11のタッチパネル28に客から呼び出しがあることを店員に知らせる画像が表示される。 Customer 3, who wishes to change their payment method, touches the change button BBd. Customer 3, who wishes to call a staff member, touches the staff call button BBe. When the staff call button BBe is pressed, a staff call signal is output from the payment device 12 to the input device 11, and an image informing the staff member that a customer has called is displayed on the touch panel 28 of the input device 11.

会計画面SBcを表示したプロセッサ31は、ACT227として代金の支払いが完了するか、ACT228として変更ボタンBBdが入力されるのを待ち受ける。変更ボタンBBdが入力された場合には、プロセッサ31は、ACT228からACT221へと戻る。すなわちプロセッサ31は、タッチパネル38の画面を支払い方法選択画面SBbとする。そしてプロセッサ31は、ACT222以降の処理を前述したのと同様に実行する。したがって、変更ボタンBBdをタッチ操作で入力した客3は、別の支払い方法を選択することができる。 The processor 31, displaying the accounting screen SBc, waits for either the completion of payment (ACT 227) or the input of the change button BBd (ACT 228). If the change button BBd is input, the processor 31 returns from ACT 228 to ACT 221. That is, the processor 31 sets the touch panel 38 screen to the payment method selection screen SBb. The processor 31 then executes the processes from ACT 222 onwards in the same manner as described above. Therefore, customer 3, who input the change button BBd via touch operation, can select a different payment method.

ところで、ACT227及びACT228の待ち受け状態において、決済装置12は、同一チェックアウトレーンに配置された入力装置11から確認イベントを受信する場合があり得る。そこでプロセッサ31は、ACT229として確認イベントを受信したか否かを確認する。代金の支払いが完了する前に確認イベントを受信した場合には、プロセッサ31は、ACT229からACT230へと進む。プロセッサ31は、ACT230として入力装置11との接続を否定する否定応答(NG)を送信するように通信ユニット35を制御する。この制御により、通信ユニット35を介してネットワーク14に否定応答(NG)の信号が送信される。否定応答(NG)の信号には、確認イベント送信元の入力装置11を識別する入力装置IDが含まれる。否定応答(NG)の信号は、ネットワーク14に接続された複数台の入力装置11のうち、当該信号に含まれる入力装置IDが設定された入力装置11で受信される。否定応答(NG)の信号を送信したプロセッサ31は、ACT227に戻る。プロセッサ21は、代金の支払いが完了するか、変更ボタンBBdが入力されるのを待ち受ける。 Incidentally, while in the waiting state of ACT227 and ACT228, the payment device 12 may receive a confirmation event from an input device 11 located in the same checkout lane. Therefore, the processor 31 checks whether or not a confirmation event has been received as ACT229. If a confirmation event is received before payment is completed, the processor 31 proceeds from ACT229 to ACT230. The processor 31 controls the communication unit 35 to send a negative response (NG) as ACT230, denying connection with the input device 11. This control sends a negative response (NG) signal to the network 14 via the communication unit 35. The negative response (NG) signal includes an input device ID that identifies the input device 11 that sent the confirmation event. The negative response (NG) signal is received by the input device 11 among the multiple input devices 11 connected to the network 14 that has the input device ID included in the signal set. After sending the negative response (NG) signal, the processor 31 returns to ACT227. The processor 21 waits for payment to be completed or for the change button BBd to be pressed.

例えば支払い種別が「現金」であり、自動釣銭機に代金相当の現金が投入された場合には、プロセッサ31は、代金の支払いが完了したと判断する。例えば支払い種別が「クレジット」または「電子マネー」の場合には、プロセッサ31は、キャッシュレス決済端末5から決済完了の信号を待ち受ける。決済完了の信号を受信すると、プロセッサ31は、代金の支払いが完了したと判断する。 For example, if the payment type is "cash" and the equivalent amount of cash is inserted into the automatic change dispenser, the processor 31 determines that the payment has been completed. If the payment type is "credit" or "electronic money," the processor 31 waits for a payment completion signal from the cashless payment terminal 5. Upon receiving the payment completion signal, the processor 31 determines that the payment has been completed.

代金の支払いが完了すると、プロセッサ31は、ACT227からACT231へと進む。プロセッサ31は、ACT231としてプリンタ39を動作させて、取引レシートを発行する。取引レシートには、第2取引ファイル811に記憶された明細レコードRaのデータ、つまりは買上商品の商品名、数量、単価、金額等が印字される。また、買上商品の合計金額、支払い金額、釣銭額、完了イベントに含まれていた取引番号等も印字される。 Once payment is complete, processor 31 proceeds from ACT 227 to ACT 231. As ACT 231, processor 31 activates printer 39 to issue a transaction receipt. The transaction receipt prints the data from the detail record Ra stored in the second transaction file 811, including the product name, quantity, unit price, and total amount of the purchased items. It also prints the total amount of the purchased items, the payment amount, the change given, and the transaction number included in the completion event.

取引レシートを発行したプロセッサ31は、ACT232へと進む。プロセッサ31は、ACT232として第2取引ファイル811に記憶した明細レコードRaに基づいて、買上商品の売上処理を行う。この売上処理により、売上マスタファイル132に記憶される買上商品の売上点数及び売上金額が更新される。 The processor 31, which issued the transaction receipt, proceeds to ACT 232. Based on the detail record Ra stored in the second transaction file 811 as ACT 232, the processor 31 performs sales processing for the purchased goods. This sales processing updates the number of items sold and the sales amount stored in the sales master file 132.

買上商品の売上処理を終えたプロセッサ31は、ACT233へと進む。プロセッサ31は、ACT233として第2取引ファイル811をクリアする。このクリアにより、第2取引ファイル811に記憶されていた明細レコードRaが削除される。またプロセッサ31は、ACT234としてフラグメモリ82の状態フラグFbを“1”から“0”へと変更する。さらにプロセッサ31は、ACT235として例えば青色で点灯していたパトランプ40が消灯するように制御する。以上で、プロセッサ31は、決済プログラムに従った情報処理を終了する。 After completing the sales processing for the purchased goods, processor 31 proceeds to ACT 233. As ACT 233, processor 31 clears the second transaction file 811. This clear deletes the detail record Ra stored in the second transaction file 811. Next, as ACT 234, processor 31 changes the status flag Fb in flag memory 82 from "1" to "0". Finally, as ACT 235, processor 31 controls the flashing light 40, which was previously illuminated in blue, to turn off. With this, processor 31 completes the information processing according to the settlement program.

このように、第2取引ファイル811がクリアされ、フラグメモリ82の状態フラグFbが“0”となった決済装置12においては、取引の決済が可能となる。このとき、タッチパネル38の画面は待機画面SBaとなる。また、パトランプ40は消灯している。この状態で、入力装置11から確認イベントを受信すると、プロセッサ31は、ACT203以降の処理を前述したのと同様に実行する。 Thus, in the settlement device 12, where the second transaction file 811 is cleared and the status flag Fb in the flag memory 82 becomes "0", transaction settlement becomes possible. At this time, the touch panel 38 screen becomes the standby screen SBa. Also, the warning light 40 is off. In this state, when the processor 31 receives a confirmation event from the input device 11, it executes the processing from ACT 203 onwards in the same manner as described above.

ここにプロセッサ31は、ACT208及びACT209の処理により、決済側記憶手段71としての機能を実現する。プロセッサ31は、ACT221及びACT226の処理により、金額表示手段72としての機能を実現する。プロセッサ31は、ACT202及びACT203、ACT223及びACT224、さらにはACT229及びACT230の処理により、接続応答手段73としての機能を実現する。プロセッサ31は、ACT231及びACT232の処理により、決済手段74としての機能を実現する。 Here, processor 31 realizes the function of settlement-side storage means 71 through the processing of ACT 208 and ACT 209. Processor 31 realizes the function of amount display means 72 through the processing of ACT 221 and ACT 226. Processor 31 realizes the function of connection response means 73 through the processing of ACT 202 and ACT 203, ACT 223 and ACT 224, and furthermore, ACT 229 and ACT 230. Processor 31 realizes the function of settlement means 74 through the processing of ACT 231 and ACT 232.

以上で、入力装置11のプロセッサ21及び決済装置12のプロセッサ31が実行する主要な情報処理の説明を終了する。 This concludes the explanation of the main information processing performed by the processor 21 of the input device 11 and the processor 31 of the payment device 12.

以上詳述したように、第1の実施形態においては、入力装置11は、接続先選択手段51、問合せ手段52及び決定手段53としての機能により、取引に係るデータを入力する前に、複数台の決済装置12のうちいずれか一台の決済装置12を接続先として決定する。そして入力デバイス61を介して取引に係るデータが入力されると、入力装置11は、第1送信手段58としての機能により、取引に係るデータを当該取引に係るデータの入力終了指示が検出される前に、接続先として決定されたいずれか一台の決済装置12に送信する。入力装置11は、終了検出手段57としての機能により、取引に係るデータの入力終了指示を検出すると、接続先として決定されたいずれか一台の決済装置12に入力終了を通知する.
一方、接続先として決定された決済装置12は、決済側記憶手段71としての機能により、入力装置11から送信されてくる取引に係るデータを、当該取引が決済されるまで決済側記憶部81で記憶する。そして、入力装置11から入力終了の通知を受けると、決済装置12は、決済手段としての機能により、決済側記憶部81で記憶した取引に係るデータに基づいて取引を決済する。
As detailed above, in the first embodiment, the input device 11, through its functions as a connection destination selection means 51, inquiry means 52, and determination means 53, determines one of the multiple settlement devices 12 as the connection destination before inputting transaction data. When transaction data is input via the input device 61, the input device 11, through its function as a first transmission means 58, transmits the transaction data to the one settlement device 12 determined as the connection destination before an instruction to end input of the transaction data is detected. When the input device 11, through its function as a completion detection means 57, detects an instruction to end input of the transaction data, it notifies the one settlement device 12 determined as the connection destination that input has ended.
Meanwhile, the settlement device 12, which has been selected as the connection destination, stores the transaction data transmitted from the input device 11 in its settlement-side storage unit 81 as a settlement-side storage means 71 until the transaction is settled. When it receives notification from the input device 11 that input has finished, the settlement device 12 settles the transaction based on the transaction data stored in the settlement-side storage unit 81 as a settlement means.

したがって、第1の実施形態によれば、入力装置11が、売買された商品の明細情報と合計情報とを含む決済情報を生成して決済装置12に送信することなく、店員2と客3が操作を分担して取引を決済できる会計システム1を提供することができる。 Therefore, according to the first embodiment, the input device 11 does not need to generate settlement information including detailed information and total information of the purchased goods and transmit it to the settlement device 12. Instead, it is possible to provide an accounting system 1 in which the store clerk 2 and the customer 3 can share the operation and settle the transaction.

その上、入力装置11の接続先選択手段51は、複数台の決済装置を個々に指定可能な操作子を含む。そして入力装置11は、問合せ手段52による問合せに対して問合せ先の決済装置12から接続を許諾する応答がない場合に、無効手段54としての機能により、当該決済装置12を指定する操作子の操作を無効としている。 Furthermore, the connection destination selection means 51 of the input device 11 includes operators that can individually specify multiple payment devices. The input device 11, when it does not receive a response from the payment device 12 granting permission to connect in response to an inquiry by the inquiry means 52, disables the operation of the operator that specifies the payment device 12 through its invalidation means 54 function.

したがって、入力装置11のオペレータである店員2は、接続を許諾する応答がない決済装置12を選択してしまっても、該当する操作子が無効となるので、直ぐに他の決済装置12を選択することができる。 Therefore, even if the store clerk 2, who is the operator of the input device 11, selects a payment device 12 that does not respond to grant permission for connection, the corresponding operator becomes invalid, allowing the clerk to immediately select another payment device 12.

また、接続先として決定された決済装置12においては、入力装置11から入力終了の通知を受けるまでは、タッチパネル38の画面を待機画面SAbとしている。そして、入力装置11から入力終了の通知を受けると、決済装置12はタッチパネル38の画面を支払い方法選択画面SBbとする。すなわち、客3が居ないときの決済装置12におけるタッチパネル38の画面は待機画面SAbとなっており、客3が決済のために決済装置12の設置場所へと移動するタイミングでその画面が取引の決済金額を含む支払い方法選択画面SBbとなる。したがって、入力装置11が取引に係るデータを当該取引に係るデータの入力終了指示が検出される前に決済装置12に送信していても、客3が決済のために決済装置12の設置場所へと移動するまでは、その取引の決済金額が決済装置12に表示されることはない。 Furthermore, in the payment device 12, which has been selected as the connection destination, the touch panel 38 screen is set to the standby screen SAb until it receives notification from the input device 11 that input has finished. Upon receiving notification from the input device 11 that input has finished, the payment device 12 sets the touch panel 38 screen to the payment method selection screen SBb. In other words, when customer 3 is not present, the touch panel 38 screen in the payment device 12 is the standby screen SAb, and when customer 3 moves to the location of the payment device 12 for payment, the screen changes to the payment method selection screen SBb, which includes the transaction settlement amount. Therefore, even if the input device 11 transmits transaction data to the payment device 12 before detecting the instruction to finish inputting the data for that transaction, the settlement amount of that transaction will not be displayed on the payment device 12 until customer 3 moves to the location of the payment device 12 for payment.

[第2の実施形態]
次に、第2の実施形態について、図21乃至図30を用いて説明する。
第2の実施形態は、第1の実施形態の会計システム1において、入力装置11に入力された1取引の買上商品のデータを、入力完了ボタンBAiの入力である入力終了指示が行われる前に、遡って修正する機能を追加したものである。よって、第1の実施形態と共通する部分には同一符号を付し、詳しい説明は省略する。
[Second Embodiment]
Next, a second embodiment will be described with reference to Figures 21 to 30.
The second embodiment adds a function to the accounting system 1 of the first embodiment that allows for retrospective modification of the data of purchased goods for a single transaction entered into the input device 11 before the input completion instruction, which is entered via the input completion button BAi, is issued. Therefore, the same reference numerals are used for parts common to the first embodiment, and detailed explanations are omitted.

図21は、入力装置11のプロセッサ21が有する主要な機能構成を示すブロック図である。プロセッサ21は、接続先選択手段51、問合せ手段52、決定手段53、無効手段54、入力側記憶手段55、明細表示手段56、終了検出手段57、第1送信手段58、第1通知手段59及び決済先報知手段510に加えて、修正受付手段511、第1修正手段512及び第2送信手段513としての機能を有する。 Figure 21 is a block diagram showing the main functional configuration of the processor 21 of the input device 11. In addition to the connection destination selection means 51, inquiry means 52, determination means 53, invalidation means 54, input-side storage means 55, detail display means 56, termination detection means 57, first transmission means 58, first notification means 59, and settlement destination notification means 510, the processor 21 also functions as a modification acceptance means 511, a first modification means 512, and a second transmission means 513.

修正受付手段511は、明細表示手段56によりタッチパネル28の明細画面SAcに表示されている明細情報の修正を受け付ける機能である。明細画面SAcの明細エリアAAbには、一連のレコード番号順に、一取引の買上商品として入力された商品の商品名、数量、単価、値割引額及び金額がリスト形式で表示されている。修正受付手段511は、入力デバイス61を介して、明細エリアAAbに商品名、数量、単価等が表示されている明細レコードRaの削除、若しくは数量、単価、値引額、割引率の変更等を受け付ける。 The modification request means 511 is a function that accepts modifications to the detail information displayed on the detail screen SAc of the touch panel 28 via the detail display means 56. The detail area AAb of the detail screen SAc displays the product name, quantity, unit price, discount amount, and total amount of the purchased items entered in a single transaction in a list format, in order of a series of record numbers. The modification request means 511 accepts, via the input device 61, the deletion of detail record Ra where the product name, quantity, unit price, etc., are displayed in detail area AAb, or changes to the quantity, unit price, discount amount, discount rate, etc.

第1修正手段512は、決定手段53により接続先として決定されたいずれか一台の決済装置12、すなわち接続先決済装置120に対して、第1送信手段58により送信した取引に係るデータを、終了検出手段57により当該取引に係るデータの入力終了指示が検出される前に修正する機能である。接続先決済装置120に送信された取引に係るデータは、明細レコードRaとして第1取引ファイル641に記憶されている。第1修正手段512は、入力デバイス61からの入力に応じて、第1取引ファイル641に記憶されている明細レコードRaを修正する。例えば第1修正手段512は、明細レコードRaを削除する。例えば第1修正手段512は、明細レコードRaの単価、数量、値割引額等を修正する。 The first modification means 512 is a function that modifies the transaction data transmitted by the first transmission means 58 to one of the settlement devices 12, i.e., the destination settlement device 120, determined as the connection destination by the determination means 53, before the termination detection means 57 detects the end of input instruction for the transaction data. The transaction data transmitted to the destination settlement device 120 is stored in the first transaction file 641 as a detail record Ra. The first modification means 512 modifies the detail record Ra stored in the first transaction file 641 in response to input from the input device 61. For example, the first modification means 512 may delete the detail record Ra. For example, the first modification means 512 may modify the unit price, quantity, value discount amount, etc., of the detail record Ra.

第2送信手段513は、第1修正手段512により修正された取引に係るデータを、終了検出手段57により当該取引に係るデータの入力終了指示が検出される前に、接続先決済装置120に送信する機能である。 The second transmission means 513 has the function of transmitting the transaction data corrected by the first correction means 512 to the connected settlement device 120 before the termination detection means 57 detects the end of data input for that transaction.

図22は、決済装置12のプロセッサ31が有する主要な機能構成を示すブロック図である。プロセッサ31は、決済側記憶手段71、金額表示手段72、接続応答手段73及び決済手段74に加えて、第2修正手段75としての機能を有する。 Figure 22 is a block diagram showing the main functional configuration of the processor 31 of the payment device 12. In addition to the payment-side storage means 71, amount display means 72, connection response means 73, and payment means 74, the processor 31 also functions as a second modification means 75.

第2修正手段75は、第2送信手段513により入力装置11から送信されてくる取引に係るデータで、決済側記憶部81に記憶している取引に係るデータを修正する機能である。決済側記憶部81の第2取引ファイル811には、第1送信手段58により入力装置11から送信された取引に係るデータを基に決済装置12で作成された明細レコードRaが記憶されている。第2修正手段75は、第2取引ファイル811に記憶した明細レコードRaを、第2送信手段513により入力装置11から送信されてくる取引に係るデータに基づいて修正する。例えば第2修正手段75は、明細レコードRaを削除する。例えば第2修正手段75は、明細レコードRaの単価、数量、値割引額等を修正する。 The second modification means 75 is a function that modifies transaction data stored in the settlement-side storage unit 81 using transaction data transmitted from the input device 11 by the second transmission means 513. The second transaction file 811 in the settlement-side storage unit 81 stores detail records Ra created by the settlement device 12 based on transaction data transmitted from the input device 11 by the first transmission means 58. The second modification means 75 modifies the detail records Ra stored in the second transaction file 811 based on transaction data transmitted from the input device 11 by the second transmission means 513. For example, the second modification means 75 deletes detail records Ra. For example, the second modification means 75 modifies the unit price, quantity, value discount amount, etc., of detail records Ra.

次に、図23及び図24の流れ図、及び、図25乃至図30の画面例を用いて、会計システム1を構成する入力装置11及び決済装置12において実行される情報処理のうち、第2の実施形態に関係する情報処理の内容と手順を説明する。なお、以下に説明する情報処理の内容と手順は一例である。同様な作用効果を奏し得るのであれば、その内容及び手順は適宜変更することができる。また、画面例も一例である。出力されるテキストの内容、画像の配置、ソフトウェアキーの種類及びレイアウト等は、適宜変更することができる。 Next, using the flowcharts in Figures 23 and 24, and the screen examples in Figures 25 to 30, we will explain the content and procedures of the information processing related to the second embodiment, which is performed in the input device 11 and settlement device 12 that constitute the accounting system 1. Note that the content and procedures of the information processing described below are examples. The content and procedures can be modified as appropriate if similar effects can be achieved. Similarly, the screen examples are also examples. The content of the output text, the placement of images, the types and layouts of software keys, etc., can be modified as appropriate.

はじめに、入力装置11のプロセッサ21が入力プログラムにしたがって実行する情報処理の要部手順を、図23の流れ図を用いて説明する。図23の流れ図は、第1の実施形態においては図10の流れ図に相当する。そこで、図10と共通する処理のステップには、同一の符号を付している。 First, the essential information processing steps executed by the processor 21 of the input device 11 according to the input program will be explained using the flowchart in Figure 23. The flowchart in Figure 23 corresponds to the flowchart in Figure 10 in the first embodiment. Therefore, the same reference numerals are used for processing steps common to both Figure 10 and Figure 23.

第1の実施形態では、プロセッサ21は、ACT115又はACT127において明細画面SAcを更新した後、ACT121乃至ACT123として商品コード、数量又は値割引のデータ及び小計ボタンBAdの待ち受け状態となった。第2の実施形態では、ACT121乃至ACT123の待ち受け状態において、さらにACT301として明細画面SAcの明細エリアAAbに表示されている商品が選択されるのを待ち受けるようにした。 In the first embodiment, after updating the details screen SAc in ACT 115 or ACT 127, the processor 21 entered a waiting state as ACT 121 to ACT 123, where it was waiting for product code, quantity or value discount data and the subtotal button BAd. In the second embodiment, while in the waiting state of ACT 121 to ACT 123, it further entered a waiting state as ACT 301, where it was waiting for a product displayed in the details area AAb of the details screen SAc to be selected.

図25は、4品目の買上商品の取引に係るデータが入力された後の明細画面SAcの一表示例である。具体的には図25は、単価200円の商品AAAAAの商品コードと、単価300円の商品BBBBBの商品コードと、単価400円の商品CCCCCの商品コードと、単価100円の商品DDDDDの商品コードとが順に入力されたときの明細画面SAcである。このような入力により、カレントエリアAAaには、商品DDDDDの商品名、数量及び金額が表示される。明細エリアAAbには、レコード番号「1」と関連付けて、商品AAAAAの商品名、数量、単価及び金額が表示され、レコード番号「2」と関連付けて、商品BBBBBの商品名、数量、単価及び金額が表示され、レコード番号「3」と関連付けて、商品CCCCCの商品名、数量、単価及び金額が表示される。合計エリアAAcには、合計点数4点と合計金額1,000円とが表示される。 Figure 25 shows an example of the details screen SAc after data related to the transactions of four purchased items has been entered. Specifically, Figure 25 shows the details screen SAc when the product codes for product AAAAAA (unit price 200 yen), product BBBBB (unit price 300 yen), product CCCCC (unit price 400 yen), and product DDDDD (unit price 100 yen) have been entered in order. With this input, the product name, quantity, and price of product DDDDD are displayed in the current area AAa. In the details area AAb, the product name, quantity, unit price, and price of product AAAAAA are displayed in association with record number "1", the product name, quantity, unit price, and price of product BBBBB are displayed in association with record number "2", and the product name, quantity, unit price, and price of product CCCCC are displayed in association with record number "3". The total area AAc displays a total score of 4 points and a total amount of 1,000 yen.

このとき、第1取引ファイル641には、ACT113及びACT114の処理により、商品AAAAAの明細レコードRa-Aと、商品BBBBBの明細レコードRa-Bと、商品CCCCCの明細レコードRa-Cと、商品DDDDDの明細レコードRa-Dとが記憶される。また、ACT111及びACT112の処理により、商品AAAAAの商品コードを含む入力イベントと、商品BBBBBの商品コードを含む入力イベントと、商品CCCCCの商品コードを含む入力イベントと、商品DDDDDの商品コードを含む入力イベントとが、接続先決済装置120に送信される。各入力イベントは、商品コードが入力される毎に接続先決済装置120に送信される。これらの入力イベントの送信により、接続先決済装置120においては、商品AAAAAの明細レコードRa-Aと、商品BBBBBの明細レコードRa-Bと、商品CCCCCの明細レコードRa-Cと、商品DDDDDの明細レコードRa-Dとが、それぞれ第2取引ファイル811に記憶される。 At this time, the first transaction file 641 stores the following detail records: Ra-A for product AAAA, Ra-B for product BBBBB, Ra-C for product CCCCC, and Ra-D for product DDDDD, as processed by ACT 113 and ACT 114. Furthermore, as processed by ACT 111 and ACT 112, input events including the product code for product AAAA, product BBBBB, product CCCCC, and product DDDDD are sent to the connected settlement device 120. Each input event is sent to the connected settlement device 120 each time a product code is entered. Upon transmission of these input events, the connected settlement device 120 stores the following detail records in its second transaction file 811: Ra-A for product AAAA, Ra-B for product BBBBB, Ra-C for product CCCCC, and Ra-D for product DDDDD.

図23の説明に戻る。
ACT121乃至ACT123及びACT301の待ち受け状態において、例えば客3が商品BBBBBの返品を申し出た場合を想定する。その場合、入力装置11のオペレータである店員2は、明細エリアAAbの商品BBBBBに係るデータが表示されている行をタッチ操作で選択する。このように、明細エリアAAbの行がタッチ操作されることにより、プロセッサ21は、ACT301において商品選択有と判断する。
Let's return to the explanation of Figure 23.
Let's assume that, while ACT121 to ACT123 and ACT301 are in standby mode, customer 3 requests to return product BBBBB. In this case, store clerk 2, who is the operator of input device 11, selects the row in detail area AAb that displays data related to product BBBBB by touch operation. When a row in detail area AAb is touched in this way, processor 21 determines that a product has been selected in ACT301.

商品選択有と判断すると、プロセッサ21は、ACT301からACT302へと進む。プロセッサ21は、ACT302としてタッチパネル28に修正画面SAe(図26を参照)を表示する。 If the processor 21 determines that a product has been selected, it proceeds from ACT 301 to ACT 302. As ACT 302, the processor 21 displays the correction screen SAe (see Figure 26) on the touch panel 28.

図26は、修正画面SAeの一表示例である。修正画面SAeは、明細エリアAAbから選択された商品の商品名が表示されるエリアAAeと、明細エリアAAbから選択された商品の数量、単価、値割引額及び金額が表示されるエリアAAfと、操作ガイダンス等が表示されるエリアAAgとが形成されている。また修正画面SAeは、取消ボタンBAk、数量変更ボタンBAl、単価変更ボタンBAm、値引ボタンBAn、割引ボタンBAo、キャンセルボタンBAp及びOKボタンBAqのソフトウェアキーを含む。因みに、修正画面SAeは、明細画面SAcの上に重ねてポップアップ表示されることが好ましい。 Figure 26 shows an example of the display of the editing screen SAe. The editing screen SAe consists of area AAe, which displays the product name of the item selected from the detail area AAb; area AAf, which displays the quantity, unit price, discount amount, and total amount of the item selected from the detail area AAb; and area AAg, which displays operation guidance, etc. The editing screen SAe also includes software keys for the Cancel button BAk, Quantity Change button BAl, Unit Price Change button BAm, Discount button BAn, Discount button BAo, Cancel button BAp, and OK button BAq. Incidentally, it is preferable that the editing screen SAe be displayed as a pop-up overlaid on the detail screen SAc.

修正画面SAeを確認した店員2は、取消ボタンBAkをタッチ操作で入力する。取消ボタンBAkが入力されると、図27に示すように、エリアAAfに表示されている商品BBBBBの数量、単価、値割引額及び金額に取消線が表示される。また、数量変更ボタンBAl、単価変更ボタンBAm、値引ボタンBAn及び割引ボタンBAoはグレーアウトして入力不可となる。ここで、客3が商品BBBBBの返品を取り止めた場合には、店員2は、キャンセルボタンBApをタッチ操作で入力する。商品BBBBBの返品を確定させる場合には、店員2は、OKボタンBAqをタッチ操作で入力する。 After confirming the correction screen SAe, clerk 2 touches the Cancel button BAk. Once the Cancel button BAk is pressed, as shown in Figure 27, a strikethrough appears in the quantity, unit price, discount amount, and total amount of product BBBBB displayed in area AAf. Additionally, the quantity change button BAl, unit price change button BAm, discount button BAn, and discount button BAo are grayed out and cannot be edited. If customer 3 decides to cancel the return of product BBBBB, clerk 2 touches the Cancel button BAp. If customer 3 wants to confirm the return of product BBBBB, clerk 2 touches the OK button BAq.

図23の説明に戻る。
修正画面SAeを表示したプロセッサ21は、ACT303としてOKボタンBAqが入力されたか否かを確認する。OKボタンBAqが入力されていない場合、プロセッサ21は、ACT303からACT304へと進む。プロセッサ21は、ACT304としてキャンセルボタンBApが入力されたか否かを確認する。キャンセルボタンBApが入力されていない場合、プロセッサ21は、ACT304からACT303に戻る。このように、修正画面SAeを表示したプロセッサ21は、ACT303及びACT304としてOKボタンBAqが入力されるかキャンセルボタンBApが入力されるのを待ち受ける。
Let's return to the explanation of Figure 23.
The processor 21, which displays the correction screen SAe, checks whether the OK button BAq has been entered as ACT 303. If the OK button BAq has not been entered, the processor 21 proceeds from ACT 303 to ACT 304. The processor 21 checks whether the Cancel button BAp has been entered as ACT 304. If the Cancel button BAp has not been entered, the processor 21 returns from ACT 304 to ACT 303. In this way, the processor 21, which displays the correction screen SAe, waits for either the OK button BAq or the Cancel button BAp to be entered as ACT 303 and ACT 304.

ACT303及びACT304の待ち受け状態において、キャンセルボタンBApが入力された場合には、プロセッサ21は、ACT304からACT305へと進む。プロセッサ21は、ACT305として修正画面SAeを消去する。しかる後、プロセッサ21は、ACT121乃至ACT123及びACT301の待ち受け状態に戻る。このように、店員2がキャンセルボタンBApを入力すると、修正画面SAeが消去される。その結果、タッチパネル28の画面は、図25に示す明細画面SAcとなる。 If the cancel button BAp is pressed while ACT303 and ACT304 are in standby mode, the processor 21 proceeds from ACT304 to ACT305. The processor 21 then clears the correction screen SAe as ACT305. Afterward, the processor 21 returns to the standby mode for ACT121 through ACT123 and ACT301. Thus, when the store clerk 2 presses the cancel button BAp, the correction screen SAe is cleared. As a result, the touch panel 28 screen becomes the details screen SAc shown in Figure 25.

一方、ACT303及びACT304の待ち受け状態において、OKボタンBAqが入力された場合には、プロセッサ21は、ACT303からACT306へと進む。プロセッサ21は、ACT306として接続先決済装置120の決済装置IDを取得する。すなわちプロセッサ21は、第1データテーブル63を参照して、接続先フラグFaが“1”となっている決済装置IDを取得する。そしてプロセッサ21は、ACT307として決済装置IDを宛先として修正イベントを送信するように通信ユニット25を制御する。この制御により、通信ユニット25を介してネットワーク14に修正イベントが送信される。修正イベントは、修正画面SAeに対して入力された情報、すなわちこの場合には、商品BBBBBの取消という情報を含む。 On the other hand, if the OK button BAq is pressed while ACT303 and ACT304 are in standby mode, the processor 21 proceeds from ACT303 to ACT306. As ACT306, the processor 21 obtains the payment device ID of the connected payment device 120. That is, the processor 21 refers to the first data table 63 and obtains the payment device ID where the connection destination flag Fa is "1". Then, as ACT307, the processor 21 controls the communication unit 25 to send a correction event to the payment device ID as the destination. This control sends the correction event to the network 14 via the communication unit 25. The correction event includes the information entered on the correction screen SAe, which in this case is the information of canceling product BBBBB.

修正イベントを送信したプロセッサ21は、ACT308として明細レコードRaを修正する。すなわちプロセッサ21は、第1取引ファイル641に記憶された商品BBBBBの明細レコードRa-Bを削除する。そしてプロセッサ21は、ACT309として修正画面SAeを消去し、明細画面SAcを更新する。しかる後、プロセッサ21は、ACT121乃至ACT123及びACT301の待ち受け状態に戻る。 The processor 21, having sent the correction event, corrects the detail record Ra as ACT 308. Specifically, the processor 21 deletes the detail record Ra-B for product BBBBB stored in the first transaction file 641. Then, the processor 21 clears the correction screen SAe as ACT 309 and updates the detail screen SAc. Afterward, the processor 21 returns to the waiting state for ACTs 121 through 123 and ACT 301.

図28は、商品BBBBBを削除した後に更新された明細画面SAcの表示例である。図28に示すように、明細エリアAAbから商品BBBBBの商品名、数量、単価、値割引額及び金額が消去される。そして、カレントエリアAAaに表示されていた商品DDDDDの商品名、数量、単価、値割引額及び金額が明細エリアAAbに表示される。商品BBBBBの商品名、数量及び金額は、カレントエリアAAaに表示される。そして、カレントエリアAAaの商品名、数量及び金額には、取消線が表示される。この表示により、店員2は、商品BBBBBを取り消したことを確認できる。 Figure 28 shows an example of the display of the updated details screen SAc after deleting product BBBBB. As shown in Figure 28, the product name, quantity, unit price, discount amount, and total amount of product BBBBB are removed from the details area AAb. Then, the product name, quantity, unit price, discount amount, and total amount of product DDDDD, which were displayed in the current area AAa, are displayed in the details area AAb. The product name, quantity, and total amount of product BBBBB are displayed in the current area AAa. A strikethrough is then displayed on the product name, quantity, and total amount in the current area AAa. This display allows employee 2 to confirm that product BBBBB has been deleted.

ACT121乃至ACT123及びACT301の待ち受け状態において、例えば商品BBBBBの数量を“1”から“3”に修正する場合を想定する。その場合も店員2は、明細エリアAAbの商品BBBBBに係るデータが表示されている行をタッチ操作で選択する。このタッチ操作により、プロセッサ21は、ACT302の処理を実行する。この処理により、タッチパネル28に修正画面SAeが表示されるので、店員2は、数量変更ボタンBAlを入力する。数量変更ボタンBAlが入力されると、図29に示すように、エリアAAgの数量が表示されている区画の背景色が他の区画の背景色と異なる。この背景色の違いにより、店員2は、数量の修正を指示したと認識できる。なお、取消ボタンBAk、単価変更ボタンBAm、値引ボタンBAn及び割引ボタンBAoはグレーアウトして入力不可となる。数量の修正を指示した店員2は、キーボード26のテンキーを操作して、修正後の数量“3”を入力し、OKボタンBAqを入力する。 In the standby state of ACT121 to ACT123 and ACT301, let's consider a case where, for example, the quantity of product BBBBB is to be changed from "1" to "3". In this case, the clerk 2 selects the row displaying the data related to product BBBBB in the detail area AAb using a touch operation. This touch operation causes the processor 21 to execute the process of ACT302. As a result of this process, the correction screen SAe is displayed on the touch panel 28, and the clerk 2 inputs the quantity change button BAl. When the quantity change button BAl is input, as shown in Figure 29, the background color of the section in area AAg where the quantity is displayed is different from the background color of the other sections. This difference in background color allows the clerk 2 to recognize that a quantity correction has been instructed. Note that the cancel button BAk, the unit price change button BAm, the discount button BAn, and the discount button BAo are grayed out and cannot be input. The employee 2, who instructed the quantity correction, uses the numeric keypad on keyboard 26 to input the corrected quantity "3" and then presses the OK button (BAq).

OKボタンBAqが入力されると、プロセッサ21は、ACT306乃至ACT309の処理を実行する。すなわちプロセッサ21は、接続先決済装置120に修正イベントを送信する。修正イベントは、修正画面SAeに対して入力された情報、すなわちこの場合には、商品BBBBBの数量を“1”から“3”に修正するという情報を含む。またプロセッサ21は、明細レコードRaを修正する。すなわちプロセッサ21は、第1取引ファイル641に記憶された商品BBBBBの明細レコードRa-Bにおける数量を“1”から“3”に修正する。またプロセッサ21は、明細レコードRa-Bにおける金額を300円から900円に修正する。そしてプロセッサ21は、明細画面SAcを更新する。 When the OK button BAq is pressed, the processor 21 executes the processes of ACT 306 to ACT 309. Specifically, the processor 21 sends a correction event to the connected settlement device 120. The correction event includes information entered on the correction screen SAe, namely, in this case, information to correct the quantity of product BBBBB from "1" to "3". The processor 21 also corrects the detail record Ra. Specifically, the processor 21 corrects the quantity in detail record Ra-B of product BBBBB stored in the first transaction file 641 from "1" to "3". The processor 21 also corrects the amount in detail record Ra-B from 300 yen to 900 yen. Finally, the processor 21 updates the detail screen SAc.

図30は、商品BBBBBの数量が“1”から“3”に修正された後の明細画面SAcである。図30に示すように、数量が修正された商品BBBBBの商品名と、修正後の数量と、数量修正後の金額とがカレントエリアAAaに表示される。なお、明細エリアAAbにおいては、商品BBBBBのデータが消去され、商品DDDDDのデータが追加される。 Figure 30 shows the details screen SAc after the quantity of product BBBBB has been corrected from "1" to "3". As shown in Figure 30, the product name of product BBBBB, the corrected quantity, and the corrected amount are displayed in the current area AAa. In the details area AAb, the data for product BBBBB is deleted, and the data for product DDDDD is added.

ACT121乃至ACT123及びACT301の待ち受け状態において、例えば商品BBBBBの単価を修正する場合には、店員2は、修正画面SAeの単価変更ボタンBAmを入力し、テンキーで修正後の単価を入力して、OKボタンBAqを入力する。例えば商品BBBBBの値引額を修正する場合には、店員2は、修正画面SAeの値引ボタンBAnを入力し、テンキーで修正後の値引額を入力して、OKボタンBAqを入力する。例えば商品BBBBBの割引率を修正する場合には、店員2は、修正画面SAeの割引ボタンBAoを入力し、テンキーで修正後の割引率を入力して、OKボタンBAqを入力する。 In the standby state of ACT121 to ACT123 and ACT301, for example, to modify the unit price of product BBBBB, clerk 2 inputs the unit price change button BAm on the modification screen SAe, enters the modified unit price using the numeric keypad, and then inputs the OK button BAq. For example, to modify the discount amount of product BBBBB, clerk 2 inputs the discount button BAn on the modification screen SAe, enters the modified discount amount using the numeric keypad, and then inputs the OK button BAq. For example, to modify the discount rate of product BBBBB, clerk 2 inputs the discount button BAo on the modification screen SAe, enters the modified discount rate using the numeric keypad, and then inputs the OK button BAq.

これらの操作により、プロセッサ21は、ACT306乃至ACT309の処理を実行する。すなわちプロセッサ21は、接続先決済装置120に修正イベントを送信する。またプロセッサ21は、明細レコードRaを修正する。そしてプロセッサ21は、明細画面SAcを更新する。 These operations cause the processor 21 to execute ACTs 306 through 309. Specifically, the processor 21 sends a correction event to the connected payment device 120. The processor 21 also corrects the detail record Ra. Finally, the processor 21 updates the detail screen SAc.

その後、小計ボタンBAdが入力されると、プロセッサ21は、図10のACT128へと進む。そしてプロセッサ21は、ACT128以降の処理を第1の実施形態と同様に実行する。 Subsequently, when the subtotal button BAd is pressed, the processor 21 proceeds to ACT 128 in Figure 10. The processor 21 then executes the processing from ACT 128 onward in the same manner as in the first embodiment.

ここに、プロセッサ21は、ACT301及びACT302の処理により、修正受付手段511としての機能を実現する。プロセッサ21は、ACT308の処理により、第1修正手段512としての機能を実現する。プロセッサ21は、ACT306及びACT307の処理により、第2送信手段513としての機能を実現する。 Here, processor 21 realizes the function of correction reception means 511 through processing of ACT 301 and ACT 302. Processor 21 realizes the function of first correction means 512 through processing of ACT 308. Processor 21 realizes the function of second transmission means 513 through processing of ACT 306 and ACT 307.

次に、決済装置12のプロセッサ31が決済プログラムにしたがって実行する情報処理の要部手順を、図24の流れ図を用いて説明する。図24の流れ図は、第1の実施形態においては図11の流れ図に相当する。そこで、図11と共通する処理のステップには、同一の符号を付している。 Next, the essential information processing steps executed by the processor 31 of the payment device 12 according to the payment program will be explained using the flowchart in Figure 24. The flowchart in Figure 24 corresponds to the flowchart in Figure 11 in the first embodiment. Therefore, the same reference numerals are used for processing steps common to both Figure 11 and Figure 24.

プロセッサ31は、第1の実施形態と同様に、ACT201としてタッチパネル38の画面を待機画面SBaとする。そしてプロセッサ31は、ACT202として入力装置11から送信される確認イベントを待ち受ける。この待ち受け状態において、通信ユニット35を介して確認イベントを受信すると、プロセッサ31は、ACT202乃至ACT205の処理を実行する。その後、プロセッサ31は、ACT206として入力装置11から送信される入力イベントを待ち受ける。この待ち受け状態において、通信ユニット35を介して入力イベントを受信すると、プロセッサ31は、ACT207乃至ACT211の処理を実行する。その後、プロセッサ31は、ACT212及びACT213として、入力イベント又は完了イベントを待ち受ける。 The processor 31, similar to the first embodiment, sets the touch panel 38 screen as the standby screen SBa as ACT 201. The processor 31 then waits for a confirmation event transmitted from the input device 11 as ACT 202. In this waiting state, upon receiving a confirmation event via the communication unit 35, the processor 31 executes the processing of ACTs 202 to ACT 205. Subsequently, the processor 31 waits for an input event transmitted from the input device 11 as ACT 206. In this waiting state, upon receiving an input event via the communication unit 35, the processor 31 executes the processing of ACTs 207 to ACT 211. Afterward, the processor 31 waits for an input event or a completion event as ACTs 212 and ACT 213.

第2の実施形態では、ACT212及びACT213の待ち受け状態において、プロセッサ31はさらに、ACT401として修正イベントを待ち受ける。そして、修正イベントを受信すると、プロセッサ31は、ACT401からACT402へと進む。プロセッサ31は、ACT402として第2取引ファイル811に記憶した明細レコードRaを修正する。具体的にはプロセッサ31は、例えば、商品BBBBBの取消という情報を含む修正イベントを受信した場合には、第2取引ファイル811から商品BBBBBの明細レコードRa-Bを削除する。プロセッサ31は、商品BBBBBの数量を修正するという情報を含む修正イベントを受信した場合には、明細レコードRa-Bの数量と金額を修正する。プロセッサ31は、商品BBBBBの単価、値引額又は割引率を修正するという情報を含む修正イベントを受信した場合には、明細レコードRa-Bの単価又は値割引額と金額とを修正する。 In the second embodiment, while in the waiting state for ACT 212 and ACT 213, the processor 31 further waits for a modification event as ACT 401. Upon receiving a modification event, the processor 31 proceeds from ACT 401 to ACT 402. The processor 31 modifies the detail record Ra stored in the second transaction file 811 as ACT 402. Specifically, for example, if the processor 31 receives a modification event containing information about the cancellation of product BBBBB, it deletes the detail record Ra-B for product BBBBB from the second transaction file 811. If the processor 31 receives a modification event containing information about modifying the quantity of product BBBBB, it modifies the quantity and amount in detail record Ra-B. If the processor 31 receives a modification event containing information about modifying the unit price, discount amount, or discount rate of product BBBBB, it modifies the unit price or discount amount and amount in detail record Ra-B.

こうして、明細レコードRaの修正を終了すると、プロセッサ31は、ACT212及びACT213、さらにはACT401の待ち受け状態に戻る。この待ち受け状態において、完了イベントを受信した場合には、プロセッサ31は、図12のACT221へと進む。以後、プロセッサ21は、ACT221以降の処理を第1の実施形態と同様に実行する。 Once the modification of the detail record Ra is complete, the processor 31 returns to the waiting state for ACT 212, ACT 213, and further for ACT 401. If a completion event is received in this waiting state, the processor 31 proceeds to ACT 221 in Figure 12. Thereafter, the processor 21 executes the processing from ACT 221 onwards in the same manner as in the first embodiment.

ここに、プロセッサ31は、ACT402の処理により、第2修正手段75としての機能を実現する。 Here, the processor 31 realizes the function of the second modification means 75 through the processing of ACT 402.

このように、第2の実施形態においても、入力装置11が、売買された商品の明細情報と合計情報とを含む決済情報を生成して決済装置12に送信することなく、店員2と客3が操作を分担して取引を決済できる会計システム1を提供することができる。しかも、第2の実施形態の会計システム1によれば、入力装置11に入力された1取引の買上商品のデータを、入力完了ボタンBAiの入力である入力終了指示が行われる前に、遡って修正することができる。 Thus, in the second embodiment as well, the accounting system 1 can be provided in which the store clerk 2 and the customer 3 can share the operation and settle the transaction without the input device 11 generating settlement information including detailed information and total information of the purchased goods and transmitting it to the settlement device 12. Furthermore, according to the accounting system 1 of the second embodiment, the data of purchased goods for a single transaction entered into the input device 11 can be retrospectively modified before the input completion instruction, which is the input of the input completion button BAi, is given.

[第3の実施形態]
次に、第3の実施形態について、図31乃至図39を用いて説明する。
第3の実施形態は、第1の実施形態の会計システム1において、入力完了ボタンBAiの入力である入力終了指示が行われた後に、その入力終了が指示された取引を戻して修正する機能を追加したものである。よって、第1の実施形態と共通する部分には同一符号を付し、詳しい説明は省略する。
[Third Embodiment]
Next, a third embodiment will be described with reference to Figures 31 to 39.
The third embodiment adds a function to the accounting system 1 of the first embodiment that, after an input completion instruction is given by pressing the input completion button BAi, returns and modifies the transaction for which the input completion instruction was given. Therefore, the same reference numerals are used for parts common to the first embodiment, and detailed explanations are omitted.

図31は、入力装置11のプロセッサ21が有する主要な機能構成を示すブロック図である。プロセッサ21は、接続先選択手段51、問合せ手段52、決定手段53、無効手段54、入力側記憶手段55、明細表示手段56、終了検出手段57、第1送信手段58、第1通知手段59及び決済先報知手段510に加えて、取消受付手段514、取消先選択手段515、第2通知手段516、第3修正手段517、第3送信手段518及び不可報知手段519としての機能を有する。 Figure 31 is a block diagram showing the main functional configuration of the processor 21 of the input device 11. In addition to the connection destination selection means 51, inquiry means 52, determination means 53, invalidation means 54, input-side storage means 55, detail display means 56, termination detection means 57, first transmission means 58, first notification means 59, and settlement destination notification means 510, the processor 21 also functions as a cancellation acceptance means 514, cancellation destination selection means 515, second notification means 516, third modification means 517, third transmission means 518, and non-notification means 519.

取消受付手段514は、第1通知手段59により入力終了を通知した取引の決済取消指示を受け付ける機能である。取消受付手段514は、入力デバイス61を介して取引の決済取消を指示する操作入力があると、その操作入力に応じた信号を決済取消指示の信号として受け付ける。 The cancellation reception means 514 is a function that receives a settlement cancellation instruction for a transaction whose input completion has been notified by the first notification means 59. When the cancellation reception means 514 receives an operation input via the input device 61 instructing the settlement cancellation of a transaction, it receives a signal corresponding to that operation input as a settlement cancellation instruction signal.

取消先選択手段515は、複数台の決済装置12の中から決済の取消を行う決済装置12を選択する機能である。取消先選択手段515は、入力デバイス61を介して指定された決済装置12を決済の取消を行う決済装置12として選択する。以下では、決済の取消を行う決済装置12を取消先決済装置121と表す。 The cancellation target selection means 515 is a function that selects the payment device 12 to cancel the payment from among multiple payment devices 12. The cancellation target selection means 515 selects the payment device 12 specified via the input device 61 as the payment device 12 to cancel the payment. Hereinafter, the payment device 12 to cancel the payment will be referred to as the cancellation target payment device 121.

第2通知手段516は、取消受付手段514により取引の決済取消指示を受け付けると、通信ユニット25を介して、取消先決済装置121に決済の取消を通知する機能である。 The second notification means 516, upon receiving a transaction settlement cancellation instruction from the cancellation reception means 514, has the function of notifying the cancellation destination settlement device 121 of the settlement cancellation via the communication unit 25.

取消先選択手段515及び第2通知手段516は、第2データテーブル65を参照して作用する。第2データテーブル65は、図32に示すように、当該入力装置11に対して取消先となり得る決済装置12の決済装置IDと関連付けて、決済装置番号(No.)と、取消先フラグFcとを記述したデータテーブルである。取消先となり得る決済装置12とは、原則的には、当該入力装置11と同一のチェックアウトレーンに設置された複数台の決済装置12である。決済装置番号は、決済装置IDによって識別される決済装置12に割り当てられた一連の番号である。取消先フラグFcは、対応する決済装置IDで識別される決済装置12が取消先として選択されたか否かを識別するための1ビットデータである。本実施形態では、取消先として選択された取消先フラグFcを“1”とし、取消先として選択されていない取消先フラグFcを“0”とする。 The cancellation target selection means 515 and the second notification means 516 operate by referring to the second data table 65. As shown in Figure 32, the second data table 65 is a data table that describes the payment device number (No.) and the cancellation target flag Fc, associated with the payment device ID of the payment device 12 that may be the cancellation target for the input device 11. The payment device 12 that may be the cancellation target are, in principle, multiple payment devices 12 installed in the same checkout lane as the input device 11. The payment device number is a series of numbers assigned to the payment device 12 identified by the payment device ID. The cancellation target flag Fc is a 1-bit data for identifying whether the payment device 12 identified by the corresponding payment device ID has been selected as the cancellation target. In this embodiment, the cancellation target flag Fc for a selected cancellation target is set to "1", and the cancellation target flag Fc for a non-selected cancellation target is set to "0".

第3修正手段517は、決済の取消通知に対して取消先決済装置121から決済の取消を許諾する応答があったことを条件に、入力側記憶部64で記憶した取引に係るデータを修正する機能である。第1取引ファイル641のデータは、取消先決済装置121に完了イベントを送信した際に第3取引ファイル642に複写される。第3修正手段517は、入力デバイス61からの入力に応じて、第3取引ファイル642に記憶されている明細レコードRaを修正する。例えば第3修正手段517は、明細レコードRaを削除する。例えば第3修正手段517は、明細レコードRaの単価、数量、値割引額等を修正する。 The third modification means 517 is a function that modifies the transaction data stored in the input-side storage unit 64, conditional on the cancellation of the payment being acknowledged by the cancellation destination payment device 121 in response to the payment cancellation notification. The data in the first transaction file 641 is copied to the third transaction file 642 when a completion event is sent to the cancellation destination payment device 121. The third modification means 517 modifies the detail record Ra stored in the third transaction file 642 in response to input from the input device 61. For example, the third modification means 517 may delete the detail record Ra. For example, the third modification means 517 may modify the unit price, quantity, value discount amount, etc., of the detail record Ra.

第3送信手段518は、第3修正手段517により修正された取引に係るデータを、通信ユニット25を介して、取消先決済装置121に送信する機能である。第3送信手段518は、取引に係るデータが修正される毎に、その修正された取引に係るデータを取消先決済装置121に送信する。 The third transmission means 518 has the function of transmitting the transaction data modified by the third modification means 517 to the cancellation settlement device 121 via the communication unit 25. The third transmission means 518 transmits the modified transaction data to the cancellation settlement device 121 each time the transaction data is modified.

不可報知手段519は、決済の取消通知に対して取消先決済装置121から肯定応答がないと、決済取消不可を報知する機能である。不可報知手段519は、例えば表示デバイス62に決済の取消が不可であることを示すテキストまたは画像を表示して報知する。 The non-cancellation notification means 519 is a function that notifies that the payment cannot be canceled if there is no acknowledgment from the cancellation destination payment device 121 in response to the payment cancellation notification. The non-cancellation notification means 519 notifies, for example, by displaying text or an image on the display device 62 indicating that the payment cannot be canceled.

図32は、決済装置12のプロセッサ31が有する主要な機能構成を示すブロック図である。プロセッサ31は、決済側記憶手段71、金額表示手段72、接続応答手段73及び決済手段74に加えて、取消応答手段76及び第4修正手段77としての機能を有する。 Figure 32 is a block diagram showing the main functional configuration of the processor 31 of the payment device 12. In addition to the payment-side storage means 71, amount display means 72, connection response means 73, and payment means 74, the processor 31 also functions as a cancellation response means 76 and a fourth modification means 77.

取消応答手段76は、決済手段74により取引が決済される前に入力装置11から決済の取消通知を受けると、決済の取消を許諾する応答を返す機能である。取消応答手段76は、決済手段74により取引が決済された後に入力装置11から決済の取消通知を受けた場合には、決済の取消を許諾する応答を返さない。 The cancellation response means 76 is a function that, upon receiving a payment cancellation notice from the input device 11 before the transaction is settled by the settlement means 74, returns a response authorizing the payment cancellation. If the cancellation response means 76 receives a payment cancellation notice from the input device 11 after the transaction has been settled by the settlement means 74, it does not return a response authorizing the payment cancellation.

第4修正手段77は、第3送信手段518により入力装置11から送信されてくる取引に係るデータで、決済側記憶部81に記憶している取引に係るデータを修正する機能である。第4修正手段77は、第2取引ファイル811に記憶された明細レコードRaを、第3送信手段518により入力装置11から送信されてくる取引に係るデータで修正する。例えば第4修正手段77は、明細レコードRaを削除する。例えば第4修正手段77は、明細レコードRaの単価、数量、値割引額等を修正する。 The fourth modification means 77 is a function that modifies the transaction data stored in the settlement-side storage unit 81 using transaction data transmitted from the input device 11 by the third transmission means 518. The fourth modification means 77 modifies the detail record Ra stored in the second transaction file 811 with the transaction data transmitted from the input device 11 by the third transmission means 518. For example, the fourth modification means 77 deletes the detail record Ra. For example, the fourth modification means 77 modifies the unit price, quantity, value discount amount, etc., of the detail record Ra.

次に、図33乃至図37の流れ図、及び、図38及び図39の画面例を用いて、会計システム1を構成する入力装置11及び決済装置12において実行される情報処理のうち、第3の実施形態に関係する情報処理の内容と手順を説明する。なお、以下に説明する情報処理の内容と手順は一例である。同様な作用効果を奏し得るのであれば、その内容及び手順は適宜変更することができる。また、画面例も一例である。出力されるテキストの内容、画像の配置、ソフトウェアキーの種類及びレイアウト等は、適宜変更することができる。 Next, using the flowcharts in Figures 33 to 37 and the screen examples in Figures 38 and 39, we will explain the content and procedures of the information processing related to the third embodiment, which is performed in the input device 11 and settlement device 12 that constitute the accounting system 1. Note that the content and procedures of the information processing described below are examples only. The content and procedures can be modified as appropriate if similar effects can be achieved. Similarly, the screen examples are also examples only. The content of the output text, the placement of images, the types and layouts of software keys, etc., can be modified as appropriate.

はじめに、入力装置11のプロセッサ21が入力プログラムにしたがって実行する情報処理の要部手順を、図34乃至図36の流れ図を用いて説明する。図34の流れ図は、第1の実施形態においては図10の流れ図に相当する。そこで、図10と共通する処理のステップには、同一の符号を付している。図35の流れ図は、第1の実施形態においては図9の流れ図に相当する。そこで、図9と共通する処理のステップには、同一の符号を付している。 First, the essential information processing steps executed by the processor 21 of the input device 11 according to the input program will be explained using flowcharts in Figures 34 to 36. The flowchart in Figure 34 corresponds to the flowchart in Figure 10 in the first embodiment. Therefore, the same reference numerals are used for processing steps common to both Figure 10 and Figure 35. The flowchart in Figure 35 corresponds to the flowchart in Figure 9 in the first embodiment. Therefore, the same reference numerals are used for processing steps common to both Figure 9 and Figure 35.

図34に示すように、第3の実施形態では、入力完了ボタンBAiが入力された後の処理手順の一部が第1の実施形態と異なる。すなわち入力完了ボタンBAiが入力されると、プロセッサ21は、ACT132として取引番号を発番する。またプロセッサ21は、ACT133として接続先決済装置120の決済装置IDを取得する。そしてプロセッサ21は、ACT134として決済装置IDを宛先として完了イベントを送信するように通信ユニット25を制御する。またプロセッサ21は、ACT135として完了イベントの送信先である決済装置12を報知する。 As shown in Figure 34, in the third embodiment, some of the processing steps after the input completion button BAi is pressed differ from those in the first embodiment. Specifically, when the input completion button BAi is pressed, the processor 21 issues a transaction number as ACT 132. The processor 21 also obtains the settlement device ID of the connected settlement device 120 as ACT 133. Then, the processor 21 controls the communication unit 25 to send a completion event to the settlement device ID as the destination as ACT 134. The processor 21 also notifies the settlement device 12, the destination of the completion event, as ACT 135.

こうして、完了イベント送信先の決済装置12を報知したプロセッサ21は、ACT501へと進む。プロセッサ21は、ACT501として第1取引ファイル641に記憶されている全ての明細レコードRaを第3取引ファイル642に複写する。その後、プロセッサ21は、ACT136として第1取引ファイル641をクリアする。またプロセッサ21は、ACT137として第1データテーブル63を参照し、“1”となっていた接続先フラグFaを“0”に変更する。以上で、プロセッサ21は、入力プログラムに従った情報処理を終了する。 Having thus notified the settlement device 12, the recipient of the completion event, the processor 21 proceeds to ACT 501. As ACT 501, the processor 21 copies all detail records Ra stored in the first transaction file 641 to the third transaction file 642. Then, as ACT 136, the processor 21 clears the first transaction file 641. Furthermore, as ACT 137, the processor 21 refers to the first data table 63 and changes the connection destination flag Fa, which was set to "1", to "0". With this, the processor 21 completes the information processing according to the input program.

このように第3の実施形態において、プロセッサ21は、接続先決済装置120に完了イベントを送信し終えると、第1取引ファイル641に記憶されている全ての明細レコードRaを第3取引ファイル642に複写し、第1取引ファイル641をクリアする機能を有している。したがって、第3取引ファイル642には、完了イベントを送信した接続先決済装置120で決済される取引の明細レコードRaが記憶される。一方、第1取引ファイル641はクリアされ、接続先フラグFaはすべて“0”になるので、入力装置11においては、次の客との取引に係るデータの入力が可能となる。 In this third embodiment, after the processor 21 has finished sending a completion event to the connected settlement device 120, it has the function of copying all detail records Ra stored in the first transaction file 641 to the third transaction file 642 and clearing the first transaction file 641. Therefore, the third transaction file 642 stores the detail records Ra of the transactions settled by the connected settlement device 120 that sent the completion event. Meanwhile, since the first transaction file 641 is cleared and all connection flags Fa become "0", the input device 11 can input data related to the next customer transaction.

次の客との取引に係るデータの入力が可能となった入力装置11のプロセッサ21は、図35の流れ図に示す手順の情報処理を開始する。すなわちプロセッサ21は、ACT511としてタッチパネル28の画面を接続先選択画面SAf(図39を参照)とする。 The processor 21 of the input device 11, which is now ready to input data related to the next customer transaction, begins information processing according to the procedure shown in the flowchart of Figure 35. Specifically, the processor 21, as ACT 511, sets the screen of the touch panel 28 to the connection destination selection screen SAf (see Figure 39).

図39は、第3の実施形態における接続先選択画面SAfの一表示例である。接続先選択画面SAfが第1の実施形態における接続先選択画面SAaと異なる点は、決済修正ボタンBArのソフトウェアキーが追加されている点である。決済装置12へと移動した客3が、自らの取引の決済を完了する前に取引の修正を依頼した場合、店員2は、決済修正ボタンBArをタッチ操作で入力する。この修正は、例えば、商品の数量に間違えがあったり、値引されていなかったりした場合が該当する。あるいは、客3が取引を中止する場合も該当する。 Figure 39 shows an example of the display of the connection destination selection screen SAf in the third embodiment. The difference between the connection destination selection screen SAf and the connection destination selection screen SAa in the first embodiment is the addition of a software key for the payment modification button Bar. If customer 3, who has moved to the payment device 12, requests a modification to their transaction before completing the payment, the store clerk 2 inputs the payment modification button Bar by touch. This modification may occur, for example, if there is an error in the quantity of goods or if a discount has not been applied. Alternatively, it may occur if customer 3 cancels the transaction.

図35の説明に戻る。
接続先選択画面SAfを表示したプロセッサ21は、ACT512へと進む。プロセッサ21は、ACT512として決済装置番号が入力されたか否かを確認する。決済装置番号が入力されていない場合、プロセッサ21は、ACT512からACT513へと進む。プロセッサ21は、ACT513として決済修正ボタンBArが入力されたか否かを確認する。決済修正ボタンBArが入力されていない場合、プロセッサ21は、ACT513からACT512へと戻る。このように、接続先選択画面SAfを表示したプロセッサ21は、ACT512及びACT513として決済装置番号が入力されるか、決済修正ボタンBArが入力されるのを待ち受ける。
Let's return to the explanation of Figure 35.
The processor 21, displaying the connection destination selection screen SAf, proceeds to ACT 512. The processor 21 checks whether a payment device number has been entered as ACT 512. If no payment device number has been entered, the processor 21 proceeds from ACT 512 to ACT 513. The processor 21 checks whether the payment modification button Bar has been entered as ACT 513. If no payment modification button Bar has been entered, the processor 21 returns from ACT 513 to ACT 512. In this way, the processor 21, displaying the connection destination selection screen SAf, waits for either a payment device number to be entered as ACT 512 or ACT 513, or for the payment modification button Bar to be entered.

ACT512及びACT513の待ち受け状態において、決済装置番号が入力されると、プロセッサ21は、ACT512からACT103へと進む。プロセッサ21は、ACT103以降の処理を第1の実施形態と同様に実行する。 When a payment device number is entered while ACT 512 and ACT 513 are in standby mode, processor 21 proceeds from ACT 512 to ACT 103. Processor 21 executes the processing from ACT 103 onward in the same manner as in the first embodiment.

ACT512及びACT513の待ち受け状態において、決済修正ボタンBArが入力された場合には、プロセッサ21は、ACT513からACT514へと進む。プロセッサ21は、ACT514として接続先選択画面SAfを介して決済装置番号が入力されるのを待ち受ける。 If the payment modification button Bar is pressed while ACT512 and ACT513 are in standby mode, processor 21 proceeds from ACT513 to ACT514. Processor 21, as ACT514, waits for the payment device number to be entered via the connection destination selection screen SAf.

決済修正ボタンBArを入力した店員は、修正を依頼した客3が取引を決済しようとした決済装置12の決済装置番号が割り当てられた第1ボタンBAa又は第2ボタンBAbをタッチ操作で入力する。 The store clerk who pressed the payment correction button BAr then touches either the first button BAa or the second button BAb, which is assigned the payment device number of the payment device 12 that customer 3, who requested the correction, was attempting to settle.

ACT514において、決済装置番号が入力されたことを確認したプロセッサ21は、ACT515へと進む。プロセッサ21は、ACT515として第2データテーブル65を参照して、当該決済装置番号と関連付けられた決済装置IDを取得する。そしてプロセッサ21は、ACT516としてその決済装置IDを宛先として決済取消イベントを送信するように通信ユニット25を制御する。この制御により、通信ユニット25を介してネットワーク14に決済取消イベントが送信される。決済取消イベントは、ネットワーク14に接続された複数台の決済装置12のうち、当該決済取消イベントの宛先である決済装置IDが設定された決済装置12で受信される。決済取消イベントを受信した決済装置12、すなわち取消先決済装置121からは、決済の取消を許諾する肯定応答(OK)、又は、決済の取消を否定する否定応答(NG)の信号が返信される。 In ACT 514, the processor 21, having confirmed that the payment device number has been entered, proceeds to ACT 515. In ACT 515, the processor 21 refers to the second data table 65 to obtain the payment device ID associated with the payment device number. Then, in ACT 516, the processor 21 controls the communication unit 25 to send a payment cancellation event to that payment device ID. This control transmits the payment cancellation event to the network 14 via the communication unit 25. The payment cancellation event is received by one of the multiple payment devices 12 connected to the network 14, specifically the payment device 12 that has the payment device ID set as the destination for the payment cancellation event. The payment device 12 that receives the payment cancellation event, i.e., the cancellation destination payment device 121, sends back either an affirmative response (OK) authorizing the cancellation of the payment, or a negative response (NG) rejecting the cancellation.

決済取消イベントを送信したプロセッサ21は、ACT516からACT517へと進む。プロセッサ21は、ACT517として取消先決済装置121から肯定応答(OK)を待ち受ける。この待ち受け状態において、一定時間内に肯定応答(OK)の信号を受信できなかった場合、プロセッサ21は、ACT517からACT518へと進む。プロセッサ21は、ACT518として決済の取消不可を報知する。例えばプロセッサ21は、タッチパネル28に決済の取消が不可であることを示すテキストまたは画像を表示して報知する。以上で、プロセッサ21は、入力プログラムに従った情報処理を終了する。 The processor 21, which sent the payment cancellation event, proceeds from ACT 516 to ACT 517. As ACT 517, the processor 21 waits for an acknowledgment (OK) from the payment device 121. If an acknowledgment (OK) signal is not received within a certain time during this waiting state, the processor 21 proceeds from ACT 517 to ACT 518. As ACT 518, the processor 21 notifies that the payment cannot be canceled. For example, the processor 21 notifies this by displaying text or an image on the touch panel 28 indicating that the payment cannot be canceled. At this point, the processor 21 completes the information processing according to the input program.

ACT517において、一定時間内に肯定応答(OK)の信号を受信した場合には、プロセッサ21は、ACT519へと進む。プロセッサ21は、ACT519として第3取引ファイル642に記憶されている全ての明細レコードRaを第1取引ファイル641に複写する。そしてプロセッサ21は、ACT520として第3取引ファイル642をクリアする。また、プロセッサ21は、ACT521として肯定応答(OK)を送信した決済装置12、すなわち取消先決済装置121の決済装置IDと関連付けられて第2データテーブル65に記述されている取消先フラグFcを“0”から“1”に変更する。その後、プロセッサ21は、ACT520として第1取引ファイル641に複写した明細レコードRaのデータを基に、タッチパネルの画面を第2明細画面SAg(図40を参照)とする。 In ACT 517, if an acknowledgment (OK) signal is received within a certain time, the processor 21 proceeds to ACT 519. As ACT 519, the processor 21 copies all detail records Ra stored in the third transaction file 642 to the first transaction file 641. Then, as ACT 520, the processor 21 clears the third transaction file 642. Furthermore, as ACT 521, the processor 21 changes the cancellation flag Fc, which is associated with the settlement device ID of the settlement device 12 that sent the acknowledgment (OK), i.e., the cancellation destination settlement device 121, and is described in the second data table 65, from "0" to "1". Afterward, as ACT 520, the processor 21 uses the data of the detail records Ra copied to the first transaction file 641 to set the touch panel screen to the second detail screen SAg (see Figure 40).

図40は、第2明細画面SAgの一表示例である。第2明細画面SAgは、ACT109において表示される明細画面SAc(図16を参照)と比較して、ソフトウェアキーの一括取消ボタンBAsが追加されている。また、小計ボタンBAdが完了ボタンBAtに変更されている。さらに、第2明細画面SAgの明細エリアAAbには、第1取引ファイル641に複写した明細レコードRaの商品名、数量、値割引額、金額が表示され、合計エリアAAcには、同明細レコードRaの合計点数と合計金額が表示されている。また、第2明細画面SAgには、接続先選択画面SAfによって選択された取消先決済装置121の識別名NAbが表示されている。因みに、図40の第2明細画面SAgは、取消先決済装置121として決済装置12(12-1)が選択された画面例であり、識別名NAbとして[決済装置1]が表示されている。 Figure 40 shows an example of the display of the second detail screen SAg. Compared to the detail screen SAc displayed in ACT 109 (see Figure 16), the second detail screen SAg adds a batch cancellation button BAs to the software key. Also, the subtotal button BAd has been changed to a complete button BAt. Furthermore, the detail area AAb of the second detail screen SAg displays the product name, quantity, value discount amount, and amount of the detail record Ra copied to the first transaction file 641, and the total area AAc displays the total points and total amount of the same detail record Ra. The second detail screen SAg also displays the identification name NAb of the cancellation destination settlement device 121 selected by the connection destination selection screen SAf. Incidentally, the second detail screen SAg in Figure 40 is an example screen where settlement device 12 (12-1) is selected as the cancellation destination settlement device 121, and "[Settlement Device 1]" is displayed as the identification name NAb.

第2明細画面SAgを表示したプロセッサ21は、図36のACT531へと進む。プロセッサ21は、ACT531として一括取消ボタンBAsが入力されたか否かを確認する。一括取消ボタンBAsが入力されていない場合、プロセッサ21は、ACT531からACT532へと進む。プロセッサ21は、ACT532として第2明細画面SAgの明細エリアAAbに表示されている商品が選択されたか否かを確認する。商品が選択されていない場合、プロセッサ21は、ACT531に戻る。このようにプロセッサ21は、ACT531及びACT532として一括取消ボタンBAsが入力されるか商品が選択されるのを待ち受ける。 The processor 21, displaying the second detail screen SAg, proceeds to ACT 531 in Figure 36. As ACT 531, the processor 21 checks whether the "Batch Cancel" button BAs has been entered. If the "Batch Cancel" button BAs has not been entered, the processor 21 proceeds from ACT 531 to ACT 532. As ACT 532, the processor 21 checks whether the product displayed in the detail area AAb of the second detail screen SAg has been selected. If no product has been selected, the processor 21 returns to ACT 531. In this way, the processor 21 waits for either the "Batch Cancel" button BAs to be entered or a product to be selected as ACT 531 and ACT 532.

客3が取引の中止を求めた場合、店員2は、一括取消ボタンBAsを入力する。客が買上商品の削除、数量、単価、値引額又は割引率の修正を求めた場合、店員2は、該当する買上商品の商品名等が表示されている明細エリアAAbの行をタッチ操作する。 If customer 3 requests to cancel the transaction, clerk 2 presses the "cancel all" button BAs. If the customer requests to delete purchased items, or modify the quantity, unit price, discount amount, or discount rate, clerk 2 touches the row in detail area AAb where the product names, etc., of the relevant purchased items are displayed.

ACT531及びACT532の待ち受け状態において、一括取消ボタンBAsが入力されると、プロセッサ21は、ACT531からACT533へと進む。プロセッサ21は、ACT533として取消先決済装置121の決済装置IDを取得する。すなわちプロセッサ21は、第2データテーブル65を参照して、取消先フラグFcが“1”となっている決済装置IDを取得する。そしてプロセッサ21は、ACT534として決済装置IDを宛先として一括取消イベントを送信するように通信ユニット25を制御する。この制御により、通信ユニット25を介してネットワーク14に一括取消イベントが送信される。一括取消イベントは、ネットワーク14に接続された複数台の決済装置12のうち、当該一括取消イベントの宛先である決済装置IDが設定された取消先決済装置121で受信される。一括取消イベントには、ACT515の処理で取得した決済装置IDが含まれている。 When the batch cancellation button BAs is pressed while ACT 531 and ACT 532 are in standby mode, the processor 21 proceeds from ACT 531 to ACT 533. As ACT 533, the processor 21 obtains the payment device ID of the cancellation destination payment device 121. That is, the processor 21 refers to the second data table 65 and obtains the payment device ID where the cancellation destination flag Fc is "1". Then, as ACT 534, the processor 21 controls the communication unit 25 to send a batch cancellation event to the payment device ID as the destination. This control transmits the batch cancellation event to the network 14 via the communication unit 25. The batch cancellation event is received by the cancellation destination payment device 121, among the multiple payment devices 12 connected to the network 14, which has the payment device ID set as the destination for the batch cancellation event. The batch cancellation event includes the payment device ID obtained in the processing of ACT 515.

一括取消イベントを送信したプロセッサ21は、ACT535へと進む。プロセッサ21は、ACT535として第1取引ファイル641をクリアする。またプロセッサ21は、ACT536として第2データテーブル65を参照して、“1”となっていた取消先フラグFcを“0”に変更する。以上で、プロセッサ21は、入力プログラムに従った情報処理を終了する。 The processor 21, having sent the batch cancellation event, proceeds to ACT 535. As ACT 535, the processor 21 clears the first transaction file 641. Then, as ACT 536, the processor 21 refers to the second data table 65 and changes the cancellation destination flag Fc, which was set to "1", to "0". With this, the processor 21 completes the information processing according to the input program.

ACT531及びACT532の待ち受け状態において、商品選択有と判断すると、プロセッサ21は、ACT532からACT537へと進む。プロセッサ21は、ACT537としてタッチパネル28に修正画面SAe(図26を参照)を表示する。修正画面SAeは、第2の実施形態で説明した修正画面SAeと同様である。そして、この修正画面SAeに対する店員2の操作入力に応じたプロセッサ21の情報処理も、第2の実施形態と同様である。 When ACT 531 and ACT 532 are in standby mode, if the processor 21 determines that a product has been selected, it proceeds from ACT 532 to ACT 537. As ACT 537, the processor 21 displays the modification screen SAe (see Figure 26) on the touch panel 28. The modification screen SAe is the same as the modification screen SAe described in the second embodiment. Furthermore, the information processing by the processor 21 in response to the operation input of the store clerk 2 on this modification screen SAe is also the same as in the second embodiment.

すなわち、修正画面SAeを表示したプロセッサ21は、ACT538としてOKボタンBAqが入力されるか、ACT539としてキャンセルボタンBApが入力されるのを待ち受ける。ACT538及びACT539の待ち受け状態において、キャンセルボタンBApが入力された場合には、プロセッサ21は、ACT539からACT540へと進む。プロセッサ21は、ACT540として修正画面SAeを消去する。しかる後、プロセッサ21は、ACT545へと進む。 In other words, the processor 21, which displays the correction screen SAe, waits for either the OK button (BAq) input as ACT 538 or the Cancel button (BAp) input as ACT 539. If the Cancel button (BAp) is input during the waiting state of ACT 538 and ACT 539, the processor 21 proceeds from ACT 539 to ACT 540. The processor 21 then clears the correction screen SAe as ACT 540. After that, the processor 21 proceeds to ACT 545.

一方、ACT538及びACT539の待ち受け状態において、OKボタンBAqが入力された場合には、プロセッサ21は、ACT538からACT541へと進む。プロセッサ21は、ACT541として取消先決済装置121の決済装置IDを取得する。すなわちプロセッサ21は、第2データテーブル65を参照して、取消先フラグFcが“1”となっている決済装置IDを取得する。そしてプロセッサ21は、ACT542として決済装置IDを宛先として修正イベントを送信するように通信ユニット25を制御する。この制御により、通信ユニット25を介してネットワーク14に修正イベントが送信される。修正イベントは、ネットワーク14に接続された複数台の決済装置12のうち、当該修正イベントの宛先である取消先決済装置121で受信される。修正イベントは、修正画面SAeに対して入力された情報を含む。例えば修正画面SAeの取消ボタンBAkが入力された場合には、プロセッサ31は、選択された商品の取消という情報を含む。例えば修正画面SAeの数量変更ボタンBAlが入力され、さらに修正後の数量が入力された場合には、プロセッサ31は、選択された商品の数量を変更後数量に修正するという情報を含む。修正画面SAeの単価変更ボタンBAm、値引ボタンBAn及び割引ボタンBAoが入力された場合も、数量変更ボタンBAlが入力された場合と同様に、選択された商品の単価、割引額又は割引率を修正するという情報を含む。 On the other hand, if the OK button BAq is input while ACT 538 and ACT 539 are in standby state, the processor 21 proceeds from ACT 538 to ACT 541. The processor 21 obtains the payment device ID of the cancellation destination payment device 121 as ACT 541. That is, the processor 21 refers to the second data table 65 and obtains the payment device ID for which the cancellation destination flag Fc is "1". Then, the processor 21 controls the communication unit 25 to send a correction event to the payment device ID as the destination as ACT 542. This control sends the correction event to the network 14 via the communication unit 25. The correction event is received by the cancellation destination payment device 121, which is the destination of the correction event, among the multiple payment devices 12 connected to the network 14. The correction event includes information entered for the correction screen SAe. For example, if the cancel button BAk is input on the correction screen SAe, the processor 31 includes information that the selected product has been canceled. For example, if the quantity change button BAl is pressed on the modification screen SAe, and then the modified quantity is entered, the processor 31 includes information to modify the quantity of the selected product to the modified quantity. Similarly, if the unit price change button BAm, the discount button BAn, or the discount button BAO are pressed on the modification screen SAe, the processor 31 includes information to modify the unit price, discount amount, or discount rate of the selected product, just as when the quantity change button BAl is pressed.

修正イベントを送信したプロセッサ21は、ACT543へと進む。プロセッサ21は、ACT543として第1取引ファイル641に記憶している明細レコードRaを修正する。例えば修正画面SAeの取消ボタンBAkが入力された場合には、プロセッサ31は、選択された商品の明細レコードRaを削除する。例えば修正画面SAeの数量変更ボタンBAlが入力され、さらに修正後の数量が入力された場合には、プロセッサ31は、選択された商品の明細レコードRaの数量と金額を修正する。修正画面SAeの単価変更ボタンBAm、値引ボタンBAn及び割引ボタンBAoが入力された場合も、数量変更ボタンBAlが入力された場合と同様に、選択された商品の明細レコードRaの単価、割引額又は割引率と金額を修正する。そしてプロセッサ21は、ACT544として修正画面SAeを消去し、第2明細画面SAgを更新する。しかる後、プロセッサ21は、ACT545へと進む。 The processor 21, having sent the modification event, proceeds to ACT 543. As ACT 543, the processor 21 modifies the detail record Ra stored in the first transaction file 641. For example, if the Cancel button BAk is selected on the modification screen SAe, the processor 31 deletes the detail record Ra of the selected product. For example, if the Quantity Change button BAl is selected on the modification screen SAe, and a modified quantity is also entered, the processor 31 modifies the quantity and amount of the detail record Ra of the selected product. Similarly, if the Unit Price Change button BAm, Discount button BAn, or Price Reduction button BAo are selected on the modification screen SAe, the processor 31 modifies the unit price, discount amount or discount rate, and amount of the detail record Ra of the selected product, just as if the Quantity Change button BAl were selected. Then, as ACT 544, the processor 21 clears the modification screen SAe and updates the second detail screen SAg. Afterward, the processor 21 proceeds to ACT 545.

このように、ACT540において修正画面SAeを消去するか、ACT544において第2明細画面SAgを更新すると、プロセッサ21は、ACT545へと進む。プロセッサ21は、ACT545として第2明細画面SAgの明細エリアAAbに表示されている商品が選択されたか否かを確認する。商品が選択されていない場合、プロセッサ21は、ACT545からACT546へと進む。プロセッサ21は、ACT546として完了ボタンBAtが入力されたか否かを確認する。完了ボタンBAtが入力されていない場合、プロセッサ21は、ACT546からACT545へと戻る。このようにプロセッサ21は、ACT545及びACT546として商品が選択されるか完了ボタンBAtが入力されるのを待ち受ける。 Thus, when the correction screen SAe is cleared in ACT 540, or the second detail screen SAg is updated in ACT 544, the processor 21 proceeds to ACT 545. In ACT 545, the processor 21 checks whether the product displayed in the detail area AAb of the second detail screen SAg has been selected. If no product has been selected, the processor 21 proceeds from ACT 545 to ACT 546. In ACT 546, the processor 21 checks whether the complete button BAt has been entered. If the complete button BAt has not been entered, the processor 21 returns from ACT 546 to ACT 545. In this way, the processor 21 waits for a product to be selected or for the complete button BAt to be entered in ACT 545 and ACT 546.

ACT545及びACT546の待ち受け状態において、商品が選択された場合には、プロセッサ21は、ACT545からACT537へと戻る。そしてプロセッサ21は、ACT537乃至ACT544の処理を前述したのと同様に実行する。 If a product is selected while ACT545 and ACT546 are in standby mode, processor 21 returns from ACT545 to ACT537. Then, processor 21 executes the processing of ACT537 through ACT544 in the same manner as described above.

一方、ACT545及びACT546の待ち受け状態において、完了ボタンBAtが入力された場合には、プロセッサ21は、ACT546からACT547へと進む。プロセッサ21は、ACT547として取消先決済装置121の決済装置IDを取得する。すなわちプロセッサ21は、第2データテーブル65を参照して、取消先フラグFcが“1”となっている決済装置IDを取得する。そしてプロセッサ21は、ACT548として決済装置IDを宛先として修正完了イベントを送信するように通信ユニット25を制御する。この制御により、通信ユニット25を介してネットワーク14に修正完了イベントが送信される。修正完了イベントは、修正完了イベントには、ACT547において取得した決済装置IDを含む。 On the other hand, if the completion button BAt is pressed while ACT545 and ACT546 are in the waiting state, the processor 21 proceeds from ACT546 to ACT547. As ACT547, the processor 21 obtains the payment device ID of the cancellation destination payment device 121. That is, the processor 21 refers to the second data table 65 and obtains the payment device ID where the cancellation destination flag Fc is "1". Then, as ACT548, the processor 21 controls the communication unit 25 to send a correction completion event with the payment device ID as the destination. This control sends the correction completion event to the network 14 via the communication unit 25. The correction completion event includes the payment device ID obtained in ACT547.

修正完了イベントを送信したプロセッサ21は、ACT549と進む。プロセッサ21は、ACT549として取引の修正が完了したことを報知する。例えばプロセッサ21は、客用ディスプレイ29に、取引の修正が完了したことを示すメッセージを表示して報知する。この報知を確認した客3は、決済を中断した決済装置12の場所に移動して、決済を行うこととなる。 The processor 21, having sent the correction completion event, proceeds to ACT 549. As ACT 549, the processor 21 notifies that the transaction correction is complete. For example, the processor 21 displays a message on the customer display 29 indicating that the transaction correction is complete. Upon receiving this notification, customer 3 moves to the location of the settlement device 12 where the settlement was interrupted and completes the settlement.

取引の修正が完了したことを報知したプロセッサ21は、ACT550へと進む。プロセッサ21は、ACT550として第1取引ファイル641をクリアする。またプロセッサ21は、ACT551として第2データテーブル65を参照して、“1”となっていた取消先フラグFcを“0”に変更する。以上で、プロセッサ21は、入力プログラムに従った情報処理を終了する。 Upon notifying that the transaction modification is complete, processor 21 proceeds to ACT 550. As ACT 550, processor 21 clears the first transaction file 641. Then, as ACT 551, processor 21 refers to the second data table 65 and changes the cancellation destination flag Fc, which was set to "1", to "0". With this, processor 21 completes the information processing according to the input program.

ここに、プロセッサ21は、ACT511乃至ACT513の処理により、取消受付手段514としての機能を実現する。プロセッサ21は、ACT514の処理により、取消先選択手段515としての機能を実現する。プロセッサ21は、ACT515及びACT516の処理により、第2通知手段516としての機能を実現する。プロセッサ21は、ACT535及びACT543の処理により、第3修正手段517としての機能を実現する。プロセッサ21は、ACT533及びACT534の処理、及び、ACT541及びACT542の処理により、第3送信手段518としての機能を実現する。プロセッサ21は、ACT518の処理により、不可報知手段519としての機能を実現する。 Here, the processor 21 implements the function of a cancellation reception means 514 through the processing of ACTs 511 to 513. The processor 21 implements the function of a cancellation destination selection means 515 through the processing of ACT 514. The processor 21 implements the function of a second notification means 516 through the processing of ACTs 515 and 516. The processor 21 implements the function of a third modification means 517 through the processing of ACTs 535 and 543. The processor 21 implements the function of a third transmission means 518 through the processing of ACTs 533 and 534, and ACTs 541 and 542. The processor 21 implements the function of an unnotification means 519 through the processing of ACT 518.

次に、決済装置12のプロセッサ31が決済プログラムにしたがって実行する情報処理の要部手順を、図37及び図38の流れ図を用いて説明する。図37の流れ図によって示される処理手順は、第1の実施形態において、図12のACT221以降の処理手順に相当する。そこで、図12と共通する処理のステップには、同一の符号を付している。 Next, the essential information processing steps performed by the processor 31 of the payment device 12 according to the payment program will be explained using flowcharts in Figures 37 and 38. The processing steps shown in the flowchart of Figure 37 correspond to the processing steps from ACT 221 onwards in Figure 12 in the first embodiment. Therefore, the same reference numerals are used for processing steps common to both Figure 12 and Figure 38.

ACT221において、支払い方法選択画面SBbを表示したプロセッサ31は、ACT222としていずれかの支払い方法が選択されるのを待ち受ける。第3の実施形態では、この待ち受け状態において、決済装置12は、同一チェックアウトレーンに配置された入力装置11から決済取消イベントを受信する場合があり得る。そこでプロセッサ31は、ACT601として決済取消イベントを受信したか否かを確認する。支払い方法が選択される前に決済取消イベントを受信した場合には、プロセッサ31は、ACT601から図38のACT611へと進む。 In ACT 221, the processor 31, which displayed the payment method selection screen SBb, waits for a payment method to be selected as ACT 222. In the third embodiment, during this waiting state, the payment device 12 may receive a payment cancellation event from the input device 11 located in the same checkout lane. Therefore, the processor 31 checks whether a payment cancellation event has been received as ACT 601. If a payment cancellation event is received before a payment method is selected, the processor 31 proceeds from ACT 601 to ACT 611 in Figure 38.

またACT226において会計画面SBcを表示したプロセッサ31は、ACT227として代金の支払いが完了するか、ACT228として変更ボタンBBdが入力されるのを待ち受ける。第3の実施形態では、この待ち受け状態においても、決済装置12は、同一チェックアウトレーンに配置された入力装置11から決済取消イベントを受信する場合があり得る。そこでプロセッサ31は、ACT602として決済取消イベントを受信したか否かを確認する。代金の支払いが完了する前に決済取消イベントを受信した場合には、プロセッサ31は、ACT602から図38のACT611へと進む。 Furthermore, in ACT 226, the processor 31, which displays the accounting screen SBc, waits for either the completion of payment (ACT 227) or the input of the change button BBd (ACT 228). In the third embodiment, even in this waiting state, the payment device 12 may receive a payment cancellation event from the input device 11 located in the same checkout lane. Therefore, the processor 31 checks whether or not a payment cancellation event has been received (ACT 602). If a payment cancellation event is received before payment is completed, the processor 31 proceeds from ACT 602 to ACT 611 in Figure 38.

このように、代金支払い方法が入力されるか、代金の支払いが完了する前に決済取消イベントを受信した場合には、プロセッサ31は、ACT611へと進む。プロセッサ31は、ACT611として決済取消イベント送信元の入力装置11に対して決済の取消を許諾する応答、すなわち肯定応答(OK)の信号を送信する。その後、プロセッサ31は、ACT612として修正イベントを受信したか否かを確認する。修正イベントを受信していない場合、プロセッサ31は、ACT612からACT613へと進む。プロセッサ31は、ACT613として修正完了イベントを受信したか否かを確認する。修正完了イベントを受信していない場合、プロセッサ31は、ACT613からACT614へと進む。プロセッサ31は、ACT614として一括取消イベントを受信したか否かを確認する。一括取消イベントを受信していない場合、プロセッサ31は、ACT614からACT612へと戻る。このようにプロセッサ31は、ACT612乃至ACT614において、修正イベントを受信するか、修正完了イベントを受信するか、一括取消イベントを受信するのを待ち受ける。 Thus, if a payment cancellation event is received before the payment method is entered or before payment is completed, the processor 31 proceeds to ACT 611. As ACT 611, the processor 31 sends a response to the input device 11 that sent the payment cancellation event, which is an acknowledgment (OK) signal authorizing the cancellation of the payment. After that, the processor 31 checks as ACT 612 whether or not a modification event has been received. If no modification event has been received, the processor 31 proceeds from ACT 612 to ACT 613. The processor 31 checks as ACT 613 whether or not a modification completion event has been received. If no modification completion event has been received, the processor 31 proceeds from ACT 613 to ACT 614. The processor 31 checks as ACT 614 whether or not a bulk cancellation event has been received. If no bulk cancellation event has been received, the processor 31 returns from ACT 614 to ACT 612. In this manner, the processor 31 waits for either a correction event, a correction completion event, or a batch cancellation event to be received in ACTs 612 through 614.

ACT612乃至ACT614の待ち受け状態において、修正イベントを受信した場合には、プロセッサ31は、ACT612からACT615へと進む。プロセッサ31は、ACT615として第2取引ファイル811に記憶されている明細レコードRaのデータを、修正イベントに含まれている情報に基づいて修正する。この修正は、第2の実施形態で説明したACT402の処理と同様であるので、ここでの詳細な説明は省略する。明細レコードRaの修正を終えたプロセッサ31は、ACT612へと戻り、再び、修正イベント、修正完了イベント及び一括取消イベントの待ち受け状態となる。 When a modification event is received while in the waiting state for ACTs 612 to 614, the processor 31 proceeds from ACT 612 to ACT 615. The processor 31 modifies the data of the detail record Ra stored in the second transaction file 811 as ACT 615, based on the information contained in the modification event. This modification is the same as the processing of ACT 402 described in the second embodiment, so a detailed explanation is omitted here. After completing the modification of the detail record Ra, the processor 31 returns to ACT 612 and again enters a waiting state for modification events, modification completion events, and batch cancellation events.

ACT612乃至ACT614の待ち受け状態において、修正完了イベントを受信した場合には、プロセッサ31は、ACT613から図37のACT221へと進む。そしてプロセッサ31は、ACT221以降の処理を前述したのと同様に実行する。 If a correction completion event is received while in the waiting state of ACTs 612 through 614, the processor 31 proceeds from ACT 613 to ACT 221 in Figure 37. The processor 31 then executes the processing from ACT 221 onward in the same manner as described above.

ACT612乃至ACT614の待ち受け状態において、一括取消イベントを受信した場合には、プロセッサ31は、ACT614からACT616へと進む。プロセッサ31は、ACT616として第2取引ファイル811をクリアする。以上で、プロセッサ31は、決済プログラムに従った情報処理を終了する。 If a batch cancellation event is received while in the waiting state of ACT 612 through ACT 614, processor 31 proceeds from ACT 614 to ACT 616. Processor 31 clears the second transaction file 811 as ACT 616. With this, processor 31 completes the information processing according to the settlement program.

ここに、プロセッサ31は、ACT611の処理により、取消応答手段76としての機能を実現する。プロセッサ31は、ACT615及びACT616の処理により、第4修正手段77としての機能を実現する。 Here, processor 31 realizes the function of cancellation response means 76 through the processing of ACT 611. Processor 31 also realizes the function of fourth modification means 77 through the processing of ACT 615 and ACT 616.

このように、第3の実施形態においても、入力装置11が、売買された商品の明細情報と合計情報とを含む決済情報を生成して決済装置12に送信することなく、店員2と客3が操作を分担して取引を決済できる会計システム1を提供することができる。しかも、第3の実施形態の会計システム1によれば、入力完了ボタンBAiの入力である入力終了指示が行われた後に、その入力終了が指示された取引を戻して修正することができる。 Thus, even in the third embodiment, the accounting system 1 can be provided that allows the store clerk 2 and the customer 3 to share the operation and settle the transaction without the input device 11 generating settlement information including detailed information and total information of the purchased goods and transmitting it to the settlement device 12. Furthermore, according to the accounting system 1 of the third embodiment, after the input completion instruction, which is the input of the input completion button BAi, is given, the transaction for which the input completion instruction was given can be returned and corrected.

[第4の実施形態]
次に、第4の実施形態について、図41乃至図50を用いて説明する。
第4の実施形態は、第1の実施形態の会計システム1において、代金の支払い方法として商品券を追加したものである。よって、第1の実施形態と共通する部分には同一符号を付し、詳しい説明は省略する。
[Fourth Embodiment]
Next, a fourth embodiment will be described with reference to Figures 41 to 50.
The fourth embodiment is an addition to the accounting system 1 of the first embodiment, with the addition of gift certificates as a payment method. Therefore, parts common to the first embodiment are denoted by the same reference numerals, and detailed explanations are omitted.

商品券は、金券商品の一例である。本実施形態では、商品券を、額面金額500円の商品券と、額面金額1000円の商品券の2種類とする。各商品券には、それぞれ商品と同様に一意の商品券コードが割り当てられており、また、その商品券コードを表すバーコードが印刷されている。そして、商品レコードと同一のフォーマットで作成された商品券のデータレコードが商品マスタファイル131に格納されている。商品券のデータレコードは、商品券コードを商品コードとして記述し、商品券名を商品名として記述し、額面金額を単価として記述したものである。 Gift certificates are an example of monetary voucher products. In this embodiment, there are two types of gift certificates: one with a face value of 500 yen and another with a face value of 1000 yen. Each gift certificate is assigned a unique gift certificate code, similar to other products, and a barcode representing that code is printed on it. A data record for each gift certificate, created in the same format as the product record, is stored in the product master file 131. The gift certificate data record uses the gift certificate code as the product code, the gift certificate name as the product name, and the face value as the unit price.

図41は、入力装置11のプロセッサ21が有する主要な機能構成を示すブロック図である。プロセッサ21は、接続先選択手段51、問合せ手段52、決定手段53、無効手段54、入力側記憶手段55、明細表示手段56、終了検出手段57、第1送信手段58、第1通知手段59及び決済先報知手段510に加えて、金券識別手段520、演算手段521及び完了報知手段522としての機能を有する。 Figure 41 is a block diagram showing the main functional configuration of the processor 21 of the input device 11. In addition to the connection destination selection means 51, inquiry means 52, determination means 53, invalidation means 54, input-side storage means 55, detail display means 56, completion detection means 57, first transmission means 58, first notification means 59, and settlement destination notification means 510, the processor 21 also functions as a voucher identification means 520, calculation means 521, and completion notification means 522.

金券識別手段520は、入力デバイス61を介して入力された取引に係るデータが、金券商品の取引に係るデータであるのか、金券商品以外の商品の取引に係るデータであるのかを識別する機能である。前述したように、商品券には商品券コードを表すバーコードが印刷されている。入力デバイス61のスキャナ27でこのバーコードをスキャニングすることにより、商品券コードが取引に係るデータとして入力される。金券識別手段520は、取引に係るデータが商品券コードであるとき、当該取引に係るデータは金券商品の取引に係るデータであると識別する。金券識別手段520は、取引に係るデータが商品コードであるとき、当該取引に係るデータは金券商品以外の商品の取引に係るデータであると識別する。 The gift certificate identification means 520 has the function of identifying whether the transaction data entered via the input device 61 is data relating to a gift certificate product or data relating to a product other than a gift certificate product. As mentioned above, gift certificates have a barcode representing the gift certificate code printed on them. By scanning this barcode with the scanner 27 of the input device 61, the gift certificate code is entered as transaction data. When the transaction data is a gift certificate code, the gift certificate identification means 520 identifies that the transaction data is data relating to a gift certificate product. When the transaction data is a product code, the gift certificate identification means 520 identifies that the transaction data is data relating to a product other than a gift certificate product.

入力側記憶手段55は、取引に係るデータを入力すると、その入力されたデータを基に1取引として売り上げる商品又は商品券の明細レコードRbを作成する。明細レコードRbは、図42に示すように、一連のレコード番号と関連付けて、商品券コード、商品券名、額面金額、数量、金額、商品券フラグFd等の項目のデータを記述したレコードである。商品券フラグFdは、当該レコードが商品券の明細レコードRbであるか、商品券以外の商品の明細レコードRbであるかを識別する値である。本実施形態では、商品券の明細レコードRbであることを示す商品券フラグFdの値を“1”とし、商品券以外の商品の明細レコードRbであることを示す商品券フラグFdの値を“0”とする。入力側記憶手段55は、入力デバイス61を介して入力された取引に係るデータが、金券識別手段520によって金券商品の取引に係るデータであると識別されたとき、商品券フラグFdの値を“1”とした明細レコードRb、すなわち商品券の明細レコードRbを作成する。入力側記憶手段55は、入力デバイス61を介して入力された取引に係るデータが、金券識別手段520によって金券商品以外の商品の取引に係るデータであると識別されたとき、商品券フラグFdの値を“0”とした明細レコードRb、すなわち商品券以外の商品の明細レコードRbを作成する。入力側記憶手段55は、商品券又は商品券以外の商品の明細レコードRbを、入力側記憶部64の第1取引ファイル641に記憶する。 The input-side storage means 55, upon receiving transaction data, creates a detail record Rb for the goods or gift certificates to be sold as a single transaction based on the input data. As shown in Figure 42, the detail record Rb is a record that describes data for items such as gift certificate code, gift certificate name, face value, quantity, amount, and gift certificate flag Fd, associated with a series of record numbers. The gift certificate flag Fd is a value that identifies whether the record is a detail record Rb for gift certificates or a detail record Rb for goods other than gift certificates. In this embodiment, the value of the gift certificate flag Fd indicating that it is a detail record Rb for gift certificates is set to "1", and the value of the gift certificate flag Fd indicating that it is a detail record Rb for goods other than gift certificates is set to "0". When the data related to a transaction input via the input device 61 is identified by the gift certificate identification means 520 as data related to a gift certificate product transaction, the input-side storage means 55 creates a detail record Rb with the value of the gift certificate flag Fd set to "1", i.e., a detail record Rb for gift certificates. When the input-side storage means 55 detects that the transaction data entered via the input device 61 is related to a transaction of a product other than a gift certificate by the gift certificate identification means 520, it creates a detail record Rb with the value of the gift certificate flag Fd set to "0," i.e., a detail record Rb for a product other than a gift certificate. The input-side storage means 55 stores the detail record Rb for the gift certificate or the product other than a gift certificate in the first transaction file 641 of the input-side storage unit 64.

演算手段521は、入力側記憶部64の第1取引ファイル641に記憶される取引に係るデータのうち、金券商品以外の商品の取引に係るデータについては当該商品の販売金額を正の値とし、金券商品に係るデータについては当該金券商品の額面金額を負の値として取引の合計金額を算出する機能である。演算手段521は、算出された合計金額を表示デバイス62に表示する。 The calculation means 521 calculates the total transaction amount by treating the sales price of goods other than gift certificates as a positive value, and the face value of gift certificates as a negative value, among the transaction data stored in the first transaction file 641 of the input-side storage unit 64. The calculation means 521 displays the calculated total amount on the display device 62.

完了報知手段522は、終了検出手段57により取引に係るデータの入力終了指示が検出された時点で、演算手段521により算出された取引の合計金額が0又は負の値であるとき、支払い完了を報知する機能である。完了報知手段522は、例えば表示デバイス62を利用して支払い完了を報知する。 The completion notification means 522 is a function that notifies payment completion when the total transaction amount calculated by the calculation means 521 is 0 or a negative value, at the time when the completion detection means 57 detects the end of input instruction for transaction-related data. The completion notification means 522 notifies payment completion, for example, using a display device 62.

図43は、決済装置12のプロセッサ31が有する主要な機能構成を示すブロック図である。プロセッサ31は、決済側記憶手段71、金額表示手段72、接続応答手段73及び決済手段74に加えて、金券識別手段78及びレシート出力手段79としての機能を有する。 Figure 43 is a block diagram showing the main functional configuration of the processor 31 of the payment device 12. In addition to the payment-side storage means 71, amount display means 72, connection response means 73, and payment means 74, the processor 31 also functions as a voucher identification means 78 and a receipt output means 79.

金券識別手段78は、決済側記憶部81で記憶される取引に係るデータが、金券商品の取引に係るデータであるのか、金券商品以外の商品の取引に係るデータであるのかを識別する機能である。入力装置11の金券識別手段520と同様に、金券識別手段78は、取引に係るデータが商品券コードであるとき、当該取引に係るデータは金券商品の取引に係るデータであると識別する。金券識別手段78は、取引に係るデータが商品コードであるとき、当該取引に係るデータは金券商品以外の商品の取引に係るデータであると識別する。 The voucher identification means 78 has the function of identifying whether the transaction data stored in the settlement-side storage unit 81 is data related to a transaction of a voucher product or data related to a transaction of a product other than a voucher product. Similar to the voucher identification means 520 of the input device 11, the voucher identification means 78 identifies that the transaction data is related to a transaction of a voucher product when the transaction data is a voucher code. The voucher identification means 78 identifies that the transaction data is related to a transaction of a product other than a voucher product when the transaction data is a product code.

決済側記憶部81の第2取引ファイル811には、決済側記憶手段71によって作成された明細レコードが記憶される。この明細レコードは、入力側記憶手段55によって作成され、入力側記憶部64の第1取引ファイル641に記憶される明細レコードRbと同一のフォーマットを有する。決済側記憶手段71は、入力装置11から送信され、通信ユニット35を介して受信した取引に係るデータが、金券識別手段78によって金券商品の取引に係るデータであると識別されたとき、商品券フラグFdの値を“1”とした明細レコードRb、すなわち商品券の明細レコードRbを作成する。決済側記憶手段71は、入力装置11から送信され、通信ユニット35を介して受信した取引に係るデータが、金券識別手段78によって金券商品以外の商品の取引に係るデータであると識別されたとき、商品券フラグFdの値を“0”とした明細レコードRb、すなわち商品券以外の商品の明細レコードRbを作成する。決済側記憶手段71は、商品券又は商品券以外の商品の明細レコードRbを、決済側記憶部81の第2取引ファイル811に記憶する。 The second transaction file 811 of the settlement-side storage unit 81 stores the detail records created by the settlement-side storage means 71. These detail records have the same format as the detail records Rb created by the input-side storage means 55 and stored in the first transaction file 641 of the input-side storage unit 64. When the transaction data transmitted from the input device 11 and received via the communication unit 35 is identified by the voucher identification means 78 as data relating to a voucher product transaction, the settlement-side storage means 71 creates a detail record Rb with the value of the voucher flag Fd set to "1", i.e., a detail record Rb for a voucher. When the transaction data transmitted from the input device 11 and received via the communication unit 35 is identified by the voucher identification means 78 as data relating to a product other than a voucher product, the settlement-side storage means 71 creates a detail record Rb with the value of the voucher flag Fd set to "0", i.e., a detail record Rb for a product other than a voucher. The settlement-side storage means 71 stores the details record Rb of the gift certificate or other goods in the second transaction file 811 of the settlement-side storage unit 81.

レシート出力手段79は、決済手段74により決済された取引のレシートとして、金券商品以外の商品の販売金額を合算した合計金額とは別に金券商品の額面金額を表記したレシートを出力する機能である。レシートは、紙媒体に印刷によって出力してもよいし、電子レシートとしてスマートフォン等の情報端末に出力してもよい。 The receipt output means 79 is a function that outputs a receipt for transactions settled by the payment means 74, which separately shows the face value of the gift certificate in addition to the total amount of sales of goods other than the gift certificate. The receipt may be printed on paper or output as an electronic receipt to an information terminal such as a smartphone.

次に、図44乃至図47の流れ図、及び、図48及び図49の画面例、並びに図50のレシート例を用いて、会計システム1を構成する入力装置11及び決済装置12において実行される情報処理のうち、第4の実施形態に関係する情報処理の内容と手順を説明する。なお、以下に説明する情報処理の内容と手順は一例である。同様な作用効果を奏し得るのであれば、その内容及び手順は適宜変更することができる。また、画面例及びレシート例も一例である。出力されるテキストの内容、画像の配置、ソフトウェアキーの種類及びレイアウト等は、適宜変更することができる。 Next, using the flowcharts in Figures 44 to 47, the screen examples in Figures 48 and 49, and the receipt example in Figure 50, the content and procedure of the information processing related to the fourth embodiment, which is performed in the input device 11 and payment device 12 constituting the accounting system 1, will be explained. Note that the content and procedure of the information processing described below are examples. The content and procedure can be modified as appropriate if similar effects can be achieved. Also, the screen examples and receipt examples are examples only. The content of the output text, the arrangement of images, the types and layouts of software keys, etc., can be modified as appropriate.

はじめに、入力装置11のプロセッサ21が入力プログラムにしたがって実行する情報処理の要部手順を、図44及び図45の流れ図を用いて説明する。図44の流れ図は、第1の実施形態においては図9の流れ図に相当する。そこで、図9と共通する処理のステップには、同一の符号を付している。図45は、第1の実施形態においては図10の流れ図に相当する。そこで、図10と共通する処理のステップには、同一の符号を付している。 First, the essential information processing steps executed by the processor 21 of the input device 11 according to the input program will be explained using the flowcharts in Figures 44 and 45. The flowchart in Figure 44 corresponds to the flowchart in Figure 9 in the first embodiment. Therefore, the same reference numerals are used for processing steps common to both Figure 9 and Figure 44. Figure 45 corresponds to the flowchart in Figure 10 in the first embodiment. Therefore, the same reference numerals are used for processing steps common to both Figure 10 and Figure 45.

図44のACT110又は図45のACT121において、買上商品の商品コードが入力されると、プロセッサ21は、第1の実施形態と同様に、ACT111乃至ACT113の処理を実行する。すなわちプロセッサ21は、接続先となった決済装置12の決済装置IDを取得し、この決済装置IDを宛先として買上商品の商品コードを含む入力イベントを送信するように通信ユニット25を制御する。またプロセッサ21は、明細レコードRbを作成する。すなわちプロセッサ21は、サーバ13にアクセスして、商品マスタファイル131から入力された商品コードを含むデータレコードを取得する。そしてプロセッサ21は、そのデータレコードに記述された商品名、単価等の商品情報を基に、レコード番号r、商品コード、商品名、単価、数量、値割引額、金額等の項目データからなる明細レコードRaを作成する。 In ACT 110 in Figure 44 or ACT 121 in Figure 45, when the product code of the purchased item is entered, the processor 21 executes the processing of ACTs 111 to 113, similar to the first embodiment. That is, the processor 21 obtains the payment device ID of the connected payment device 12 and controls the communication unit 25 to send an input event containing the product code of the purchased item to this payment device ID. The processor 21 also creates a detail record Rb. Specifically, the processor 21 accesses the server 13 and obtains a data record containing the entered product code from the product master file 131. Then, based on the product information such as product name and unit price described in that data record, the processor 21 creates a detail record Ra consisting of item data such as record number r, product code, product name, unit price, quantity, value discount amount, and amount.

一方、図44のACT110又は図45のACT121において、商品券の商品券コードが入力された場合も、プロセッサ21は、ACT111乃至ACT113の処理を実行する。すなわちプロセッサ21は、接続先となった決済装置12の決済装置IDを取得し、この決済装置IDを宛先として商品券の商品券コードを含む入力イベントを送信するように通信ユニット25を制御する。またプロセッサ21は、明細レコードRbを作成する。すなわちプロセッサ21は、サーバ13にアクセスして、商品マスタファイル131から入力された商品券コードを含むデータレコードを取得する。そしてプロセッサ21は、そのデータレコードに記述された商品券名、額面金額等の情報を基に、レコード番号r、商品コード(商品券コード)、商品名(商品券名)、単価(額面金額)、数量、金額等の項目データからなる明細レコードRbを作成する。明細レコードRbの商品コードは、商品券コードである。商品名は、商品券名である。 On the other hand, if the gift certificate code is entered in ACT 110 in Figure 44 or ACT 121 in Figure 45, the processor 21 executes the processing of ACTs 111 to 113. That is, the processor 21 obtains the payment device ID of the connected payment device 12 and controls the communication unit 25 to send an input event containing the gift certificate code to this payment device ID. The processor 21 also creates a detail record Rb. Specifically, the processor 21 accesses the server 13 and obtains a data record containing the entered gift certificate code from the product master file 131. Based on the information such as the gift certificate name and face value described in that data record, the processor 21 creates a detail record Rb consisting of item data such as record number r, product code (gift certificate code), product name (gift certificate name), unit price (face value), quantity, and amount. The product code in the detail record Rb is the gift certificate code. The product name is the gift certificate name.

ACT113の処理を終えると、プロセッサ21は、ACT701へと進む。プロセッサ21は、ACT701として明細レコードRbが商品の明細レコードであるのか商品券の明細レコードであるのかを識別する。明細レコードRbに含まれる商品コードが商品券コードである場合、プロセッサ21は、商品券の明細レコードRbと認識する。明細レコードRbに含まれる商品コードが商品券コード以外のコードである場合、プロセッサ21は、商品券以外の商品の明細レコードRbと認識する。 After completing ACT 113, the processor 21 proceeds to ACT 701. In ACT 701, the processor 21 identifies whether the detail record Rb is a product detail record or a gift certificate detail record. If the product code contained in detail record Rb is a gift certificate code, the processor 21 recognizes it as a gift certificate detail record Rb. If the product code contained in detail record Rb is a code other than a gift certificate code, the processor 21 recognizes it as a detail record Rb for a product other than a gift certificate.

明細レコードRbが商品券以外の商品の明細レコードである場合には、プロセッサ21は、ACT701からACT702へと進む。プロセッサ21は、ACT702として明細レコードRbの商品券フラグFdを“0”に設定する。 If the detail record Rb is a detail record for a product other than a gift certificate, the processor 21 proceeds from ACT 701 to ACT 702. As ACT 702, the processor 21 sets the gift certificate flag Fd of the detail record Rb to "0".

これに対し、明細レコードRbが商品券の明細レコードである場合には、プロセッサ21は、ACT701からACT703へと進む。プロセッサ21は、ACT703として明細レコードRbの商品券フラグFdを“1”に設定する。またプロセッサ21は、ACT704として明細レコードRbの金額にマイナス符号を付す。 In contrast, if the detail record Rb is a detail record for a gift certificate, the processor 21 proceeds from ACT 701 to ACT 703. As ACT 703, the processor 21 sets the gift certificate flag Fd of detail record Rb to "1". Also, as ACT 704, the processor 21 adds a minus sign to the amount of detail record Rb.

ACT702又はACT704の処理を終えると、プロセッサ21は、ACT114へと進む。そしてプロセッサ21は、ACT114及びACT115の処理を、第1の実施形態と同様に実行する。すなわちプロセッサ21は、明細レコードRbを第1取引ファイル641に記憶する。そしてプロセッサ21は、明細画面SAcを更新する。 After completing the processing in ACT 702 or ACT 704, the processor 21 proceeds to ACT 114. The processor 21 then performs the processing in ACT 114 and ACT 115 in the same manner as in the first embodiment. That is, the processor 21 stores the detail record Rb in the first transaction file 641. The processor 21 then updates the detail screen SAc.

図48は、額面金額が1000円の商品券のバーコードをスキャナ27でスキャニングした後の明細画面SAcである。図示するように、カレントエリアAAaには、商品券の名称、数量及び額面金額が表示される。そして額面金額には、マイナス符号が付されている。 Figure 48 shows the details screen SAc after scanning the barcode of a gift certificate with a face value of 1000 yen using scanner 27. As shown in the figure, the current area AAa displays the name, quantity, and face value of the gift certificate. A minus sign is attached to the face value.

ACT115の処理を終えたプロセッサ21は、ACT121乃至ACT123の待ち受け状態となる。この待ち受け状態において、商品又は商品券のバーコードがスキャニングされると、プロセッサ21は、ACT111乃至ACT113、ACT701乃至ACT704、さらにはACT114及びACT115の処理を前述したのと同様に実行する。 After completing ACT 115, the processor 21 enters a waiting state for ACTs 121 through 123. In this waiting state, when a barcode on a product or gift certificate is scanned, the processor 21 executes ACTs 111 through 113, ACTs 701 through 704, and further, ACTs 114 and 115, in the same manner as described above.

ACT121乃至ACT123の待ち受け状態において、小計ボタンBAdが入力された場合には、プロセッサ21は、第1の実施形態と同様にタッチパネル28の画面を小計画面SAdとする。そしてプロセッサ21は、ACT129及びACT130において明細に戻るボタンBAjが入力されるか、入力完了ボタンBAiが入力されるのを待ち受ける。 In the standby state of ACT121 to ACT123, if the subtotal button BAd is input, the processor 21 sets the touch panel 28 screen to the subtotal screen SAd, similar to the first embodiment. The processor 21 then waits for the input of the return-to-details button BAj or the input complete button BAi in ACT129 and ACT130.

ACT129及びACT130の待ち受け状態において、入力完了ボタンBAiが入力されると、プロセッサ21は、ACT130からACT711へと進む。プロセッサ21は、ACT711として合計金額を算出し、正の値であるか否かを確認する。合計金額は、第1取引ファイル641に記憶した全ての明細レコードRbの金額の合計である。商品の明細レコードRbの金額は正の値であるが、商品券の明細レコードRbの金額は、ACT704の処理で負の値としている。したがって、合計金額は必ずしも正の金額とは限らず、0円又は負の金額となる場合もある。 When the input completion button BAi is pressed while ACT129 and ACT130 are in standby mode, processor 21 proceeds from ACT130 to ACT711. Processor 21 calculates the total amount in ACT711 and checks whether it is a positive value. The total amount is the sum of the amounts of all detail records Rb stored in the first transaction file 641. While the amounts of the product detail records Rb are positive, the amounts of the gift certificate detail records Rb are negative in the processing of ACT704. Therefore, the total amount is not necessarily positive and may be 0 yen or a negative amount.

合計金額が正の金額であった場合、代金の支払いが生じる。この場合、プロセッサ21は、ACT711からACT132へと進む。そしてプロセッサ21は、ACT132乃至ACT137の処理を第1の実施形態と同様に実行する。 If the total amount is positive, payment is required. In this case, processor 21 proceeds from ACT 711 to ACT 132. Then, processor 21 executes the processing of ACTs 132 to 137 in the same manner as in the first embodiment.

これに対し、合計金額が0円又は負の金額となった場合には、商品券によって代金の支払いが完了している。この場合、プロセッサ21は、ACT711からACT712へと進む。プロセッサ31は、ACT712としてタッチパネル28の画面を支払い完了画面SAh(図49を参照)とする。 Conversely, if the total amount is 0 yen or a negative amount, payment has been completed using the gift certificate. In this case, processor 21 proceeds from ACT 711 to ACT 712. Processor 31, as ACT 712, sets the touch panel 28 screen to the payment completion screen SAh (see Figure 49).

図49は、支払い完了画面SAhの一表示例である。支払い完了画面SAhは、小計画面SAdから、小計値引ボタンBAg、小計割引ボタンBAh及び明細に戻るボタンBAjのソフトウェアキーを除いた画面である。そして支払い完了画面SAhには、商品券によって支払いが完了したことを知らせるテキストが表示される。例えば図49の支払い完了画面SAhは、図48の明細画面SAcに示されるように、4品目で合計1000円の商品を購入した客3が額面金額1000円の商品券を提示した場合である。この場合、合計金額が0円なので、代金の支払いはない。しかし、レシートは決済装置12から発行される。このため、支払い完了画面SAhを表示したプロセッサ21は、ACT132へと進む。そしてプロセッサ21は、ACT132乃至ACT137の処理を第1の実施形態と同様に実行する。 Figure 49 shows an example of the payment completion screen SAh. The payment completion screen SAh is the subtotal discount button BAg, the subtotal discount button BAh, and the return to details button BAj, removed from the subtotal discount screen SAd. The payment completion screen SAh displays text indicating that payment has been completed using a gift certificate. For example, the payment completion screen SAh in Figure 49 represents a case where customer 3, who purchased four items totaling 1000 yen, presents a gift certificate with a face value of 1000 yen, as shown in the details screen SAc in Figure 48. In this case, since the total amount is 0 yen, no payment is made. However, a receipt is issued by the payment device 12. Therefore, the processor 21, which displayed the payment completion screen SAh, proceeds to ACT 132. The processor 21 then executes the processing of ACTs 132 to 137 in the same manner as in the first embodiment.

ここに、プロセッサ21は、ACT701の処理により、金券識別手段520としての機能を実現する。プロセッサ21は、ACT711の処理により演算手段521としての機能を実現する。プロセッサ21は、ACT712の処理により完了報知手段522としての機能を実現する。 Here, processor 21 realizes the function of a voucher identification means 520 through the processing of ACT 701. Processor 21 realizes the function of an arithmetic means 521 through the processing of ACT 711. Processor 21 realizes the function of a completion notification means 522 through the processing of ACT 712.

次に、決済装置12のプロセッサ31が決済プログラムにしたがって実行する情報処理の要部手順を、図46及び図47の流れ図を用いて説明する。図46の流れ図によって示される処理手順は、第1の実施形態において、図11の流れ図に相当する。そこで、図11と共通する処理のステップには、同一の符号を付している。図47の流れ図によって示される処理手順は、第1の実施形態において、図12の流れ図に相当する。そこで、図12と共通する処理のステップには、同一の符号を付している。 Next, the essential information processing steps executed by the processor 31 of the payment device 12 according to the payment program will be explained using flowcharts in Figures 46 and 47. The processing steps shown in the flowchart of Figure 46 correspond to the flowchart in Figure 11 in the first embodiment. Therefore, the same reference numerals are used for processing steps common to both Figure 11 and Figure 47. The processing steps shown in the flowchart of Figure 47 correspond to the flowchart in Figure 12 in the first embodiment. Therefore, the same reference numerals are used for processing steps common to both Figure 12 and Figure 47.

図44を用いて説明したように、決済装置12には、入力装置11から商品コード又は商品券コードを含む入力イベントが送信される。決済装置12のプロセッサ31は、図46のACT207において入力装置11から商品コード又は商品券コードを含む入力イベントを受信すると、ACT207からACT209へと進む。プロセッサ31は、ACT209として明細レコードRbを作成する。 As explained using Figure 44, the payment device 12 receives an input event from the input device 11 that includes the product code or gift certificate code. When the processor 31 of the payment device 12 receives the input event including the product code or gift certificate code from the input device 11 in ACT 207 (Figure 46), it proceeds from ACT 207 to ACT 209. The processor 31 creates the detail record Rb as ACT 209.

すなわち商品コードを含む入力イベントを受信した場合には、プロセッサ31は、サーバ13にアクセスして、商品マスタファイル131から当該商品コードを含むデータレコードを取得する。そしてプロセッサ21は、そのデータレコードに記述された商品名、単価等の商品情報を基に、レコード番号r、商品コード、商品名、単価、数量、値割引額、金額等の項目データからなる明細レコードRaを作成する。 In other words, when an input event containing a product code is received, the processor 31 accesses the server 13 and retrieves a data record containing that product code from the product master file 131. Then, the processor 21 creates a detail record Ra based on the product information such as product name and unit price described in that data record, consisting of item data such as record number r, product code, product name, unit price, quantity, value discount amount, and amount.

一方、商品券コードを含む入力イベントを受信した場合も、プロセッサ21は、サーバ13にアクセスして、商品マスタファイル131から当該商品券コードを含むデータレコードを取得する。そしてプロセッサ21は、そのデータレコードに記述された商品券名、額面金額等の情報を基に、レコード番号r、商品コード(商品券コード)、商品名(商品券名)、単価(額面金額)、数量、金額等の項目データからなる明細レコードRbを作成する。 On the other hand, when an input event containing a gift certificate code is received, the processor 21 accesses the server 13 and retrieves a data record containing the gift certificate code from the product master file 131. Then, based on the information such as the gift certificate name and face value described in that data record, the processor 21 creates a detail record Rb consisting of item data such as record number r, product code (gift certificate code), product name (gift certificate name), unit price (face value), quantity, and amount.

ACT209の処理を終えると、プロセッサ31は、ACT801へと進む。プロセッサ31は、ACT801として明細レコードRbが商品の明細レコードであるのか商品券の明細レコードであるのかを識別する。明細レコードRbに含まれる商品コードが商品券コードである場合、プロセッサ31は、商品券の明細レコードRbと認識する。明細レコードRbに含まれる商品コードが商品券コード以外のコードである場合、プロセッサ31は、商品券以外の商品の明細レコードRbと認識する。 After completing ACT209, processor 31 proceeds to ACT801. As ACT801, processor 31 identifies whether the detail record Rb is a product detail record or a gift certificate detail record. If the product code contained in detail record Rb is a gift certificate code, processor 31 recognizes it as a gift certificate detail record Rb. If the product code contained in detail record Rb is a code other than a gift certificate code, processor 31 recognizes it as a detail record Rb for a product other than a gift certificate.

明細レコードRbが商品の明細レコードである場合には、プロセッサ31は、ACT801からACT802へと進む。プロセッサ31は、ACT802として明細レコードRbの商品券フラグFdを“0”に設定する。 If detail record Rb is a detail record for a product, processor 31 proceeds from ACT 801 to ACT 802. As ACT 802, processor 31 sets the gift certificate flag Fd of detail record Rb to "0".

これに対し、明細レコードRbが商品券の明細レコードである場合には、プロセッサ31は、ACT801からACT803へと進む。プロセッサ31は、ACT803として明細レコードRbの商品券フラグFdを“1”に設定する。またプロセッサ31は、ACT804として明細レコードRbの金額にマイナス符号を付す。 In contrast, if the detail record Rb is a detail record for a gift certificate, the processor 31 proceeds from ACT 801 to ACT 803. As ACT 803, the processor 31 sets the gift certificate flag Fd of detail record Rb to "1". Also, as ACT 804, the processor 31 adds a minus sign to the amount of detail record Rb.

ACT802又はACT804の処理を終えると、プロセッサ31は、ACT210へと進む。プロセッサ31は、ACT210としてその明細レコードRaを第2取引ファイル811に記憶する。そしてプロセッサ31は、ACT212及びACT213の待ち受け状態となる。 After completing the processing of ACT 802 or ACT 804, the processor 31 proceeds to ACT 210. The processor 31 stores the detail record Ra in the second transaction file 811 as ACT 210. Then, the processor 31 enters a waiting state for ACTs 212 and ACT 213.

ACT212及びACT213の待ち受け状態において、入力イベントを受信した場合には、プロセッサ31は、ACT212からACT207へと戻る。そしてプロセッサ31は、ACT207以降の処理を前述したのと同様に実行する。すなわち、商品コードを含む入力イベントを受信した場合には、プロセッサ31は、商品券フラグFdが“0”の明細レコードRbを作成し、その明細レコードRbを第2取引ファイル811に記憶する。商品券コードを含む入力イベントを受信した場合には、プロセッサ31は、商品券フラグFdが“1”の明細レコードRbを作成し、その明細レコードRbを第2取引ファイル811に記憶する。 When an input event is received in the waiting state of ACT212 and ACT213, processor 31 returns from ACT212 to ACT207. Processor 31 then executes the processing from ACT207 onward in the same manner as described above. Specifically, if an input event containing a product code is received, processor 31 creates a detail record Rb with the product certificate flag Fd set to "0" and stores this detail record Rb in the second transaction file 811. If an input event containing a product certificate code is received, processor 31 creates a detail record Rb with the product certificate flag Fd set to "1" and stores this detail record Rb in the second transaction file 811.

ACT212及びACT213の待ち受け状態において、完了イベントを受信した場合には、プロセッサ31は、ACT213から図45のACT811へと進む。プロセッサ21は、ACT811として合計金額を算出し、正の値であるか否かを確認する。合計金額は、第2取引ファイル811に記憶した全ての明細レコードRbの金額の合計である。商品の明細レコードRbの金額は正の値であるが、商品券の明細レコードRbの金額は負の値である。したがって、合計金額は必ずしも正の金額とは限らず、0円又は負の金額となる場合もある。 When a completion event is received in the waiting state of ACT212 and ACT213, processor 31 proceeds from ACT213 to ACT811 in Figure 45. Processor 21 calculates the total amount as ACT811 and checks whether it is a positive value. The total amount is the sum of the amounts of all detail records Rb stored in the second transaction file 811. While the amounts of product detail records Rb are positive, the amounts of gift certificate detail records Rb are negative. Therefore, the total amount is not necessarily positive and may be 0 yen or a negative amount.

合計金額が正の金額である場合、プロセッサ31は、ACT811からACT221へと進む。そしてプロセッサ31は、ACT221乃至ACT235の処理を、第1の実施形態と同様に実行する。 If the total amount is positive, the processor 31 proceeds from ACT 811 to ACT 221. Then, the processor 31 executes the processing of ACTs 221 through ACT 235 in the same manner as in the first embodiment.

これに対し、合計金額が0又は負の金額である場合には、プロセッサ31は、ACT811からACT231へと進む。すなわちプロセッサ31は、ACT221乃至ACT230の処理をスキップする。したがって、客3は、代金を支払うことはない。その後、プロセッサ21は、ACT231乃至ACT235の処理を、第1の実施形態と同様に実行する。したがって、レシートRS(図50を参照)が発行されるので、客3は、レシートRSを受け取る。 In contrast, if the total amount is zero or a negative amount, processor 31 proceeds from ACT 811 to ACT 231. That is, processor 31 skips the processing of ACTs 221 to 230. Therefore, customer 3 does not pay. Subsequently, processor 21 performs the processing of ACTs 231 to 235 in the same manner as in the first embodiment. Therefore, a receipt RS (see Figure 50) is issued, and customer 3 receives the receipt RS.

図50は、合計金額1000円の買物に対して額面金額が1000円の商品券を提示した客に対して発行されるレシートRSの一例である。図50に示すように、レシートRSには、4品目の買上商品の明細の後にその合計金額1000円が印字され、その後に商品券の額面金額1000円がマイナス符号を付して印字されている。このようなレシートRSにより、客3は、買上商品の代金を商品券で支払ったことを確認することができる。 Figure 50 shows an example of a receipt RS issued to a customer who presented a gift certificate with a face value of 1,000 yen for a purchase totaling 1,000 yen. As shown in Figure 50, the receipt RS displays the details of the four purchased items, followed by the total amount of 1,000 yen, and then the face value of the gift certificate (1,000 yen) with a minus sign. This type of receipt RS allows customer 3 to confirm that they paid for their purchases with a gift certificate.

ここに、プロセッサ31は、ACT801の処理により、金券識別手段78としての機能を実現する。プロセッサ31は、ACT231の処理によりレシート出力手段79としての機能を実現する。 Here, processor 31 realizes the function of a gift certificate identification means 78 through the processing of ACT 801. Processor 31 also realizes the function of a receipt output means 79 through the processing of ACT 231.

このように、第4の実施形態においても、入力装置11が、売買された商品の明細情報と合計情報とを含む決済情報を生成して決済装置12に送信することなく、店員2と客3が操作を分担して取引を決済できる会計システム1を提供することができる。しかも、第4の実施形態によれば、代金の支払い方法として店員の介在が必要な商品券等の金券にも対応した会計システム1を提供することができる。 Thus, even in the fourth embodiment, the accounting system 1 can be provided that allows the store clerk 2 and the customer 3 to share the operation and settle the transaction without the input device 11 generating settlement information including detailed information and total information of the purchased goods and transmitting it to the settlement device 12. Furthermore, according to the fourth embodiment, the accounting system 1 can also be provided that supports monetary vouchers and other gift certificates that require the intervention of a store clerk as a payment method.

[他の実施形態]
図51は、接続先選択画面SAiの他の実施形態である。接続先選択画面SAiは、ソフトウェアキーとして、決済装置番号を手入力するための「0」~「9」のテンキーボタンBAuと、確定ボタンBAvと、クリアボタンBAwとを配置する。また接続先選択画面SAiは、テンキーボタンBAuによって入力された決済装置番号を表示するための欄AAiを配置する。
[Other embodiments]
Figure 51 shows another embodiment of the connection destination selection screen SAi. The connection destination selection screen SAi includes a numeric keypad with numbers "0" through "9" (BAu) for manually entering the payment device number, a confirmation button (BAv), and a clear button (BAw) as software keys. The connection destination selection screen SAi also includes a field (AAi) for displaying the payment device number entered by the numeric keypad button (BAu).

接続先選択画面SAiを確認した店員2は、空いている決済装置12の決済装置番号をテンキーボタンBAuで置数し、確定ボタンBAvにタッチする。なお、置数し間違えた場合には、店員2は、クリアボタンBAwにタッチして、置数をクリアする。確定ボタンBAvがタッチされると、プロセッサ21は、図9のACT102において置数された値を決済装置番号として入力する。以後、プロセッサ21は、ACT103以降の処理を前述したのと同様に実行する。
このように、入力装置11は、接続先選択画面SAaに代えて、接続先選択画面SAiを採用してもよい。
After confirming the connection destination selection screen SAi, employee 2 enters the payment device number of an available payment device 12 using the numeric keypad button BAu and touches the confirmation button BAv. If the entry is incorrect, employee 2 touches the clear button BAw to clear the entry. When the confirmation button BAv is touched, the processor 21 inputs the value entered in ACT 102 in Figure 9 as the payment device number. Thereafter, the processor 21 executes the processing from ACT 103 onwards in the same manner as described above.
Thus, the input device 11 may use the connection destination selection screen SAi instead of the connection destination selection screen SAa.

前記実施形態では、客3が決済装置12を操作して代金の支払い方法を入力する場合を例示した。他の実施形態としては、店員2が入力装置11を操作して代金の支払い方法を入力するようにしてもよい。そこで次に、代金の支払い方法を入力装置11で入力する他の実施形態について、図52及び図53を用いて説明する。 In the above embodiment, an example was given where customer 3 operates the payment device 12 to input the payment method. In another embodiment, store clerk 2 may operate the input device 11 to input the payment method. Therefore, another embodiment in which the payment method is input using the input device 11 will now be described with reference to Figures 52 and 53.

図52は、入力装置11のプロセッサ21が入力プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。図52は、第1の実施形態においては図10の流れ図に相当する。そこで、図10と共通する処理のステップには、同一の符号を付している。 Figure 52 is a flowchart showing the main steps of the information processing performed by the processor 21 of the input device 11 according to the input program. In the first embodiment, Figure 52 corresponds to the flowchart of Figure 10. Therefore, the same reference numerals are used for processing steps common to both Figure 10 and Figure 52.

図52に示すように、ACT129及びACT130の待ち受け状態において、入力完了ボタンBAiが入力されると、プロセッサ21は、ACT130からACT901へと進む。プロセッサ21は、ACT901としてタッチパネル28の画面を支払い方法選択画面とする。支払い方法選択画面は、第1の実施形態において決済装置12のタッチパネル38に表示される支払い方法選択画面SBbと同様の画面である。このとき、客用ディスプレイ29は、客用登録画面のままである。 As shown in Figure 52, when the input completion button BAi is pressed while ACT129 and ACT130 are in standby state, the processor 21 proceeds from ACT130 to ACT901. As ACT901, the processor 21 sets the touch panel 28 screen to the payment method selection screen. The payment method selection screen is the same as the payment method selection screen SBb displayed on the touch panel 38 of the payment device 12 in the first embodiment. At this time, the customer display 29 remains on the customer registration screen.

支払い方法選択画面を確認した店員は、客に代金の支払い方法を確認する。ここで、客3が現金支払いを希望する場合、店員2は現金ボタンBBaを入力する。客3がクレジットカード支払いを希望する場合、店員2はクレジットボタンBBbを入力する。客3が電子マネー支払いを希望する場合、店員2は電子マネーボタンBBcを入力する。 After checking the payment method selection screen, the store clerk confirms the customer's preferred payment method. If customer 3 wishes to pay with cash, clerk 2 presses the cash button (BBa). If customer 3 wishes to pay with a credit card, clerk 2 presses the credit button (BBb). If customer 3 wishes to pay with electronic money, clerk 2 presses the electronic money button (BBc).

支払い方法選択画面を表示したプロセッサ21は、ACT902としていずれか1つの支払い方法が選択されるのを待ち受ける。そして現金ボタンBBa、クレジットボタンBBb又は電子マネーボタンBBcの入力によりいずれかの支払い方法が選択されると、プロセッサ21は、ACT902からACT903へと進む。プロセッサ21は、ACT903として支払い種別を取得する。支払い種別は、選択入力を受け付けた代金支払い方法を識別する支払い方法識別データである。例えば、現金ボタンBBaが入力された場合、プロセッサ21は、支払い方法識別データとして支払い種別「現金」を取得する。クレジットボタンBBbが入力された場合、プロセッサ21は、支払い方法識別データとして支払い種別「クレジット」を取得する。電子マネーボタンBBcが入力された場合、プロセッサ21は、支払い方法識別データとして支払い種別「電子マネー」を取得する。 The processor 21, displaying the payment method selection screen, waits for a payment method to be selected as ACT 902. Once a payment method is selected via input from the cash button BBa, credit button BBb, or electronic money button BBc, the processor 21 proceeds from ACT 902 to ACT 903. As ACT 903, the processor 21 obtains the payment type. The payment type is payment method identification data that identifies the payment method selected. For example, if the cash button BBa is entered, the processor 21 obtains the payment type "cash" as the payment method identification data. If the credit button BBb is entered, the processor 21 obtains the payment type "credit" as the payment method identification data. If the electronic money button BBc is entered, the processor 21 obtains the payment type "electronic money" as the payment method identification data.

支払い種別を取得したプロセッサ21は、ACT132へと進む。プロセッサ21は、ACT132として取引番号を発番する。取引番号を発番したプロセッサ21は、ACT133へと進む。プロセッサ21は、ACT133として接続先となった決済装置12の決済装置IDを取得する。すなわちプロセッサ21は、第1データテーブル63を参照して、接続先フラグFaが“1”となっている決済装置IDを取得する。そしてプロセッサ21は、ACT904として決済装置IDを宛先として完了イベントを送信するように通信ユニット25を制御する。この制御により、通信ユニット25を介してネットワーク14に完了イベントが送信される。完了イベントは、ネットワーク14に接続された複数台の決済装置12のうち、当該完了イベントの宛先である決済装置IDが設定された決済装置12で受信される。完了イベントには、ACT132において発番した取引番号が含まれる。また、完了イベントには、ACT903において取得した支払い種別も含まれる。 The processor 21, having obtained the payment type, proceeds to ACT 132. As ACT 132, the processor 21 issues a transaction number. Having issued the transaction number, the processor 21 proceeds to ACT 133. As ACT 133, the processor 21 obtains the payment device ID of the connected payment device 12. That is, the processor 21 refers to the first data table 63 and obtains the payment device ID where the connection destination flag Fa is "1". Then, as ACT 904, the processor 21 controls the communication unit 25 to send a completion event to the payment device ID. This control sends the completion event to the network 14 via the communication unit 25. The completion event is received by the payment device 12 among the multiple payment devices 12 connected to the network 14 that has the payment device ID set as the destination for the completion event. The completion event includes the transaction number issued in ACT 132. The completion event also includes the payment type obtained in ACT 903.

完了イベントを送信したプロセッサ21は、ACT135へと進む。そしてプロセッサ21は、ACT135乃至ACT137の処理を、第1の実施形態と同様に実行する。 The processor 21, having sent the completion event, proceeds to ACT 135. The processor 21 then executes the processes of ACT 135 through ACT 137 in the same manner as in the first embodiment.

図53は、決済装置12のプロセッサ31が決済プログラムにしたがって実行する情報処理の要部手順を示す流れ図である。図53は、第1の実施形態においては図12の流れ図に相当する。そこで、図12と共通する処理のステップには、同一の符号を付している。 Figure 53 is a flowchart showing the main steps of the information processing performed by the processor 31 of the payment device 12 according to the payment program. In the first embodiment, Figure 53 corresponds to the flowchart of Figure 12. Therefore, the same reference numerals are used for processing steps common to both Figure 12 and Figure 53.

第1の実施形態では、決済装置12のプロセッサ31は、ACT212及びACT213の待ち受け状態において完了イベントを受信すると、図12のACT221としてタッチパネル38の画面を支払い方法選択画面SBbとした。他の実施形態では、完了イベントを受信すると、図53のACT911へと進む。プロセッサ31は、ACT911として完了イベントから支払い種別を取得する。 In the first embodiment, when the processor 31 of the payment device 12 receives a completion event while in the waiting state for ACT 212 and ACT 213, it sets the screen of the touch panel 38 to the payment method selection screen SBb as ACT 221 in Figure 12. In the other embodiment, upon receiving a completion event, the process proceeds to ACT 911 in Figure 53. The processor 31 obtains the payment type from the completion event as ACT 911.

支払い種別を取得したプロセッサ31は、ACT226へと進む。プロセッサ31は、ACT226としてタッチパネル38の画面を支払い種別に対応した会計画面SBcとする。そしてプロセッサ31は、ACT227として代金の支払いが完了するのを待ち受ける。代金の支払いが完了すると、プロセッサ31は、ACT227からACT231へと進む。プロセッサ31は、ACT231乃至ACT235の処理を第1の実施形態と同様に実行する。 The processor 31, having obtained the payment type, proceeds to ACT 226. As ACT 226, the processor 31 displays the touch panel 38 screen as the accounting screen SBc corresponding to the payment type. Then, as ACT 227, the processor 31 waits for the payment to be completed. Once the payment is complete, the processor 31 proceeds from ACT 227 to ACT 231. The processor 31 executes the processing of ACTs 231 through ACT 235 in the same manner as in the first embodiment.

このように、入力装置11のプロセッサ21が実行する情報処理の一部を図52のように変更し、かつ、決済装置12のプロセッサ31が実行する情報処理の一部を図53のように変更することで、店員2が入力装置11を操作して代金の支払い方法を入力するように構成することができる。 Thus, by modifying a portion of the information processing performed by the processor 21 of the input device 11 as shown in Figure 52, and modifying a portion of the information processing performed by the processor 31 of the payment device 12 as shown in Figure 53, it is possible to configure the system so that the store clerk 2 can operate the input device 11 to input the payment method.

前記実施形態では、決済装置12がキャッシュレス決済端末5を接続している場合を例示した。決済装置12は、必ずしもキャッシュレス決済端末5を接続していなくてもよい。キャッシュレス決済端末5を接続していない決済装置12は、現金支払い専用の決済装置となる。その場合、決済装置12のプロセッサ31は、図12のACT221乃至ACT226の処理を省略する。すなわちプロセッサ31は、図11のACT212及びACT213の待ち受け状態において完了イベントを受信すると、図12のACT227の処理へと進む。 In the above embodiment, the case where the payment device 12 is connected to a cashless payment terminal 5 was illustrated. The payment device 12 does not necessarily have to be connected to a cashless payment terminal 5. A payment device 12 that is not connected to a cashless payment terminal 5 becomes a payment device exclusively for cash payments. In that case, the processor 31 of the payment device 12 omits the processing of ACT221 to ACT226 in Figure 12. That is, when the processor 31 receives a completion event in the waiting state of ACT212 and ACT213 in Figure 11, it proceeds to the processing of ACT227 in Figure 12.

図1においては、1つのチェックアウトレーンに対して2台の決済装置12を配置した会計システム1を例示した。会計システム1は、これに限定されない。例えば1つのチェックアウトレーンに対して3台以上の決済装置12を配置した会計システムであっても、前述した各実施形態を適用できるものである。 Figure 1 illustrates an accounting system 1 in which two payment devices 12 are arranged for one checkout lane. However, the accounting system 1 is not limited to this. For example, the aforementioned embodiments can be applied to an accounting system with three or more payment devices 12 arranged for one checkout lane.

また、2台以上の決済装置12は、キャッシュレス決済端末5を接続した決済装置12とキャッシュレス決済端末5を接続していない決済装置12とが混在していてもよい。その場合、入力装置11のオペレータである店員2は、客3に代金の支払い方法を前もって確認する。そして客3がキャッシュレス決済を希望する場合には、接続先選択画面SAaにおいてキャッシュレス決済端末5を接続した決済装置12を選択すればよい。 Furthermore, the payment devices 12 may include a mix of devices connected to a cashless payment terminal 5 and devices not connected to a cashless payment terminal 5. In this case, the store clerk 2, who is the operator of the input device 11, will confirm the payment method with the customer 3 in advance. If the customer 3 wishes to pay cashless, they should select the payment device 12 connected to the cashless payment terminal 5 on the connection selection screen SAa.

前記実施形態では、入力装置11が取引番号を発番し、完了イベントとともに決済装置12に送信する場合を例示した。他の実施形態としては、完了イベントを受信した決済装置12が取引番号を発番してもよい。この場合、同一のチェックアウトレーンに配置されている複数台の決済装置12においては、例えば取引番号の最上位桁に異なる値を付すことで、各々の決済装置12から発番される取引番号が重複しないようにするとよい。 In the above embodiment, an example was given where the input device 11 issues a transaction number and transmits it to the settlement device 12 along with the completion event. In another embodiment, the settlement device 12 that receives the completion event may issue a transaction number. In this case, for multiple settlement devices 12 located in the same checkout lane, it is preferable to ensure that the transaction numbers issued by each settlement device 12 do not overlap, for example, by assigning different values to the most significant digit of the transaction number.

また、第4の実施形態において、決済装置12は、合計金額が負の場合にその金額を釣銭として自動釣銭機から払い出すようにしてもよい。そうすることにより、釣銭の払い出しが可能な商品券にも対応することができる。 Furthermore, in the fourth embodiment, the payment device 12 may be configured to dispense change from an automatic change dispenser if the total amount is negative. This allows for the use of gift certificates that can dispense change.

以上、いくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態及びその変形は、発明の範囲に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
[1]入力デバイスを介して取引に係るデータを入力する入力装置と、取引を決済する複数台の決済装置とを通信回線で接続し、前記入力装置は、前記取引に係るデータを入力する前に、前記複数台の決済装置のうちいずれか一台の決済装置を接続先として決定する決定手段と、前記取引に係るデータの入力終了指示を検出する終了検出手段と、前記入力デバイスを介して入力された取引に係るデータを、前記終了検出手段により当該取引に係るデータの入力終了指示が検出される前に、前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する第1送信手段と、前記終了検出手段により取引に係るデータの入力終了指示が検出されると、前記決定手段により接続先として決定されたいずれか一台の決済装置に入力終了を通知する第1通知手段と、を具備し、前記決済装置は、前記入力装置から送信されてくる取引に係るデータを、当該取引が決済されるまで決済側記憶部で記憶する決済側記憶手段と、前記入力装置から前記入力終了の通知を受けると、前記決済側記憶部で記憶した取引に係るデータに基づいて取引を決済する決済手段と、を具備する会計システム。
[2]前記入力装置は、前記取引に係るデータを入力する前に、前記複数台の決済装置のうちいずれか一台の決済装置を選択する接続先選択手段と、前記接続先選択手段により選択された前記一台の決済装置に接続可否を問合せる問合せ手段と、をさらに具備し、前記決定手段は、前記問合せ手段による問合せに対して問合せ先の決済装置から接続を許諾する応答があった場合に当該決済装置を接続先として決定し、前記決済装置は、前記取引の決済が可能な状態で前記入力装置から接続可否の問合せを受けると、接続を許諾する応答を返す接続応答手段と、をさらに具備する付記[1]記載の会計システム。
[3]前記入力装置の接続先選択手段は、前記複数台の決済装置を個々に指定可能な操作子を含み、前記入力装置は、前記問合せ手段による問合せに対して問合せ先の決済装置から接続を許諾する応答がない場合に、当該決済装置を指定する操作子の操作を無効とする無効手段、をさらに具備する付記[2]記載の会計システム。
[4]前記入力装置は、表示デバイスに、前記入力デバイスを介して入力された取引に係るデータに基づく当該取引の明細情報を、前記決定手段により接続先として決定された前記決済装置を特定する情報とともに表示する明細表示手段、をさらに具備する付記[1]記載の会計システム。
[5]前記決済装置は、表示デバイスに、前記入力装置から前記入力終了の通知を受けるまでは待機中の画面を表示し、前記入力終了の通知を受けると、前記決済側記憶手段により記憶した前記取引に係るデータを基に算出される当該取引の決済金額を表示する金額表示手段、をさらに具備する付記[1]記載の会計システム。
[6]前記入力装置の第1送信手段は、前記入力デバイスを介して取引に係るデータが入力される毎に、その入力された取引に係るデータを前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する、付記[1]乃至[5]のうちいずれか一記載の会計システム。
[7]前記入力装置は、前記決定手段により接続先として決定されたいずれか一台の決済装置に送信した取引に係るデータを、前記終了検出手段により当該取引に係るデータの入力終了指示が検出される前に修正する第1修正手段と、前記第1修正手段により修正された修正後の取引に係るデータを、前記終了検出手段により当該取引に係るデータの入力終了指示が検出される前に、前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する第2送信手段と、をさらに具備し、前記決済装置は、前記第2送信手段により前記入力装置から送信されてくる前記修正後の取引に係るデータで、前記決済側記憶部に記憶している取引に係るデータを修正する第2修正手段と、をさらに具備する付記[1]記載の会計システム。
[8]前記入力装置は、前記入力デバイスを介して入力された取引に係るデータを入力側記憶部で記憶する入力側記憶手段と、前記入力側記憶部で記憶した取引に係るデータを基に表示デバイスに当該取引の明細情報を、前記決定手段により接続先として決定された前記決済装置を特定する情報とともに表示する明細表示手段と、前記明細表示手段により表示されている明細情報の修正を受け付ける修正受付手段と、をさらに具備し、前記第1修正手段は、前記修正受付手段により修正を受け付けた明細情報で前記入力側記憶部に記憶している取引に係るデータを修正する、付記[7]記載の会計システム。
[9]前記入力装置の第2送信手段は、取引に係るデータが修正される毎に、その修正後の取引に係るデータを、前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する、付記[7]又は[8]記載の会計システム。
[10]前記入力装置は、前記入力デバイスを介して入力された取引に係るデータを入力側記憶部で記憶する入力側記憶手段と、前記第1通知手段により入力終了を通知した取引の決済取消指示を受け付ける取消受付手段と、前記複数台の決済装置の中から決済の取消を行う決済装置を選択する取消先選択手段と、前記取消受付手段により取引の決済取消指示を受け付けると、前記取消先選択手段により選択された決済装置に決済の取消を通知する第2通知手段と、前記決済の取消通知に対して通知先の前記決済装置から決済の取消を許諾する応答があったことを条件に、前記入力側記憶部で記憶した取引に係るデータを修正する第3修正手段と、前記第3修正手段により修正された修正後の取引に係るデータを前記取消先選択手段により選択された決済装置に送信する第3送信手段と、をさらに具備し、前記決済装置は、前記決済手段により取引が決済される前に前記入力装置から前記決済の取消通知を受けると、決済の取消を許諾する応答を返す取消応答手段と、前記第3送信手段により前記入力装置から送信されてくる前記修正後の取引に係るデータで、前記決済側記憶部に記憶している取引に係るデータを修正する第4修正手段と、をさらに具備する付記[1]記載の会計システム。
[11]前記入力装置は、前記決済の取消通知に対して通知先の前記決済装置から決済の取消を許諾する応答がないと、決済の取消不可を報知する不可報知手段、をさらに具備する付記[10]記載の会計システム。
[12]前記入力装置の第3送信手段は、取引に係るデータが修正される毎に、その修正後の取引に係るデータを前記取消先選択手段により選択された決済装置に送信する、付記[10]又は[11]記載の会計システム。
[13]前記決済装置は、前記決済側記憶部で記憶される取引に係るデータが金券商品の取引に係るデータであるのか金券商品以外の商品の取引に係るデータであるのかを識別する金券識別手段、をさらに具備し、前記決済手段は、前記入力装置から前記入力終了の通知を受けると、前記決済側記憶部で記憶した取引に係るデータのうち金券商品以外の商品の取引に係るデータについては当該商品の販売金額を正の値とし、金券商品の取引に係るデータについては当該金券商品の額面金額を負の値として取引を決済する、付記[1]記載の会計システム。
[14]前記決済装置は、前記決済手段により決済された取引のレシートとして、前記金券商品以外の商品の販売金額を合算した合計金額とは別に前記金券商品の額面金額を表記したレシートを出力するレシート出力手段、をさらに具備する付記[13]記載の会計システム。
[15]前記入力装置は、前記入力デバイスを介して入力された取引に係るデータが金券商品の取引に係るデータであるのか金券商品以外の商品の取引に係るデータであるのかを識別する金券識別手段と、前記取引に係るデータのうち金券商品以外の商品の取引に係るデータについては当該商品の販売金額を正の値とし、金券商品に係るデータについては当該金券商品の額面金額を負の値として取引の合計金額を算出する演算手段と、前記終了検出手段により取引に係るデータの入力終了指示が検出された時点で前記演算手段により算出された取引の合計金額が0又は負の値であるとき、支払い完了を報知する完了報知手段と、をさらに具備する付記[13]又は[14]記載の会計システム。
[16]取引に係るデータを入力するための入力デバイスと、取引を決済する複数台の決済装置とデータ通信を行うための通信デバイスと、取引に係るデータの入力終了指示を検出する終了検出手段と、前記取引に係るデータを入力する前に、前記複数台の決済装置のうちいずれか一台の決済装置を接続先として決定する決定手段と、前記取引に係るデータの入力終了指示を検出する終了検出手段と、前記入力デバイスを介して入力された取引に係るデータを、前記終了検出手段により当該取引に係るデータの入力終了指示が検出される前に、前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する第1送信手段と、前記終了検出手段により取引に係るデータの入力終了指示が検出されると、前記決定手段により接続先として決定されたいずれか一台の決済装置に入力終了を通知する第1通知手段と、を具備する入力装置。
[17]入力デバイスを介して入力された取引に係るデータを当該取引に係るデータの入力終了指示が検出される前に接続先として決定されたいずれか一台の決済装置に送信する入力装置とデータ通信を行う通信デバイスと、前記入力装置から送信されてくる取引に係るデータを、当該取引が決済されるまで決済側記憶部で記憶する決済側記憶手段と、前記入力装置から前記取引に係るデータの入力終了指示を検出したことの通知を受けると、前記決済側記憶部で記憶した取引に係るデータに基づいて取引を決済する決済手段と、を具備する決済装置。
[18]取引に係るデータを入力するための入力デバイスと、取引を決済する複数台の決済装置とデータ通信を行うための通信デバイスと、を備えた入力装置のコンピュータを、取引に係るデータの入力終了指示を検出する終了検出手段、前記取引に係るデータを入力する前に、前記複数台の決済装置のうちいずれか一台の決済装置を接続先として決定する決定手段、前記取引に係るデータの入力終了指示を検出する終了検出手段、前記入力デバイスを介して入力された取引に係るデータを、前記終了検出手段により当該取引に係るデータの入力終了指示が検出される前に、前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する第1送信手段、及び、前記終了検出手段により取引に係るデータの入力終了指示が検出されると、前記決定手段により接続先として決定されたいずれか一台の決済装置に入力終了を通知する第1通知手段、として機能させるためのプログラム。
[19]入力デバイスを介して入力された取引に係るデータを当該取引に係るデータの入力終了指示が検出される前に接続先として決定されたいずれか一台の決済装置に送信する入力装置とデータ通信を行う通信デバイス、を備えた決済装置のコンピュータを、前記入力装置から送信されてくる取引に係るデータを、当該取引が決済されるまで決済側記憶部で記憶する決済側記憶手段、及び、前記入力装置から前記取引に係るデータの入力終了指示を検出したことの通知を受けると、前記決済側記憶部で記憶した取引に係るデータに基づいて取引を決済する決済手段、として機能させるためのプログラム。
Although several embodiments have been described above, these embodiments are presented as examples only and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their variations are included within the scope of the invention, as well as within the scope of the invention and its equivalents as described in the claims.
The invention described in the original claims of this application is listed below.
[1] An accounting system comprising: an input device for inputting transaction data via an input device; and a plurality of settlement devices for settling transactions, connected by a communication line, wherein the input device comprises: a determination means for determining one of the plurality of settlement devices as the connection destination before inputting the transaction data; a completion detection means for detecting an instruction to complete inputting the transaction data; a first transmission means for transmitting the transaction data input via the input device to one of the settlement devices determined as the connection destination by the determination means before the completion detection means detects an instruction to complete inputting the transaction data; and a first notification means for notifying one of the settlement devices determined as the connection destination by the determination means of the completion of input when the completion detection means detects an instruction to complete inputting the transaction data; wherein the settlement device comprises: a settlement-side storage means for storing the transaction data transmitted from the input device in a settlement-side storage unit until the transaction is settled; and a settlement means for settling a transaction based on the transaction data stored in the settlement-side storage unit when it receives notification of the completion of input from the input device.
[2] The accounting system as described in Appendix [1], wherein the input device further comprises a connection destination selection means for selecting one of the plurality of settlement devices before inputting data relating to the transaction, and an inquiry means for inquiring whether or not to connect to the settlement device selected by the connection destination selection means, the determination means determines the settlement device as the connection destination when the settlement device to be inquired about responds to the inquiry by the inquiry means and grants permission to connect, and the settlement device further comprises a connection response means that returns a response granting permission to connect when it receives an inquiry from the input device about whether or not to connect while in a state where it is able to settle the transaction.
[3] The accounting system as described in Appendix [2], wherein the connection destination selection means of the input device includes an operator capable of individually specifying the plurality of payment devices, and the input device further comprises a disabling means for disabling the operation of the operator that specifies the payment device when the payment device to be inquired about does not respond to an inquiry by the inquiry means with permission to connect.
[4] The accounting system according to Appendix [1], further comprising a detail display means on a display device which displays detail information of a transaction based on data relating to the transaction entered via the input device, together with information identifying the settlement device determined as the connection destination by the determination means.
[5] The accounting system as described in Appendix [1], further comprising: a payment device that displays a waiting screen on a display device until it receives notification of the completion of input from the input device, and when it receives notification of the completion of input, an amount display means that displays the settlement amount of the transaction calculated based on the transaction data stored by the payment-side storage means.
[6] The accounting system according to any one of the appendices [1] to [5], wherein the first transmission means of the input device transmits the input transaction data to one settlement device determined as a connection destination by the determination means each time transaction data is input via the input device.
[7] The accounting system as described in Appendix [1], wherein the input device further comprises: a first modification means for modifying transaction data transmitted to any one settlement device determined as a connection destination by the determination means before the termination detection means detects an instruction to end input of the transaction data; and a second transmission means for transmitting the modified transaction data modified by the first modification means to any one settlement device determined as a connection destination by the determination means before the termination detection means detects an instruction to end input of the transaction data; and the settlement device further comprises: a second modification means for modifying transaction data stored in the settlement-side storage unit with the modified transaction data transmitted from the input device by the second transmission means.
[8] The accounting system as described in Appendix [7], wherein the input device further comprises: an input-side storage means for storing transaction data entered via the input device in an input-side storage unit; a detail display means for displaying transaction details on a display device based on the transaction data stored in the input-side storage unit, together with information identifying the settlement device determined as the connection destination by the determination means; and a modification acceptance means for accepting modifications to the detail information displayed by the detail display means, wherein the first modification means modifies the transaction data stored in the input-side storage unit with the detail information modified by the modification acceptance means.
[9] The accounting system as described in Appendix [7] or [8], wherein the second transmission means of the input device transmits the modified transaction data to one of the settlement devices determined as a connection destination by the determination means each time the transaction data is modified.
[10] The input device includes an input-side storage means for storing transaction data entered via the input device in an input-side storage unit; a cancellation reception means for receiving a settlement cancellation instruction for a transaction whose input completion has been notified by the first notification means; a cancellation destination selection means for selecting a settlement device from among the plurality of settlement devices to cancel the settlement; a second notification means for notifying the settlement device selected by the cancellation destination selection means of the cancellation of the settlement when the cancellation reception means receives a settlement cancellation instruction for a transaction; and, on the condition that the settlement device to which the notification was received has given a response authorizing the cancellation of the settlement, the input-side storage unit stores the data. The accounting system as described in Appendix [1] further comprises: a third modification means for modifying data relating to a transaction; a third transmission means for transmitting the modified transaction data modified by the third modification means to a settlement device selected by the cancellation destination selection means, wherein the settlement device, upon receiving a cancellation notice of settlement from the input device before the transaction is settled by the settlement means, returns a response authorizing the cancellation of the settlement; and a fourth modification means for modifying the transaction data stored in the settlement-side storage unit with the modified transaction data transmitted from the input device by the third transmission means.
[11] The accounting system as described in Appendix [10], further comprising: an input device for notifying that a payment cannot be canceled if the payment device to which the notification is received does not respond to the payment cancellation notice with permission to cancel the payment.
[12] The accounting system described in Appendix [10] or [11], wherein the third transmission means of the input device transmits the modified transaction data to the settlement device selected by the cancellation destination selection means each time the transaction data is modified.
[13] The accounting system as described in Appendix [1], wherein the settlement device further comprises a voucher identification means for identifying whether the transaction data stored in the settlement-side storage unit is data relating to a transaction of a voucher product or data relating to a transaction of a product other than a voucher product, and when the settlement means receives notification of the completion of the input from the input device, it settles the transaction by setting the sales amount of the product as a positive value for data relating to a transaction of a product other than a voucher product among the transaction data stored in the settlement-side storage unit, and by setting the face value of the voucher as a negative value for data relating to a transaction of a voucher product.
[14] The accounting system described in Appendix [13] further comprises a receipt output means that outputs a receipt for a transaction settled by the payment means, which shows the face value of the gift certificate in addition to the total amount of sales of goods other than the gift certificate.
[15] The accounting system described in Appendix [13] or [14] further comprises: a gift certificate identification means for identifying whether the transaction data entered via the input device is data relating to a gift certificate product or data relating to a product other than a gift certificate product; a calculation means for calculating the total transaction amount by setting the sales price of the product as a positive value for data relating to a product other than a gift certificate product and the face value of the gift certificate product as a negative value for data relating to a gift certificate product; and a completion notification means for notifying the completion of payment when the total transaction amount calculated by the calculation means is 0 or a negative value at the time the completion detection means detects the end of input instruction for the transaction data.
[16] An input device comprising: an input device for inputting transaction data; a communication device for communicating data with a plurality of settlement devices for settling transactions; an end detection means for detecting an instruction to end inputting transaction data; a determination means for determining one of the plurality of settlement devices as a connection destination before inputting the transaction data; an end detection means for detecting an instruction to end inputting transaction data; a first transmission means for transmitting the transaction data input via the input device to one of the settlement devices determined as a connection destination by the determination means before the end detection means detects an instruction to end inputting the transaction data; and a first notification means for notifying one of the settlement devices determined as a connection destination by the determination means of the end of input when the end detection means detects an instruction to end inputting transaction data.
[17] A settlement device comprising: a communication device that communicates data with an input device which transmits data relating to a transaction entered via an input device to one settlement device determined as a connection destination before an instruction to end the input of the data relating to the transaction is detected; a settlement-side storage means which stores the data relating to the transaction transmitted from the input device in a settlement-side storage unit until the transaction is settled; and a settlement means which, upon receiving notification from the input device that an instruction to end the input of the data relating to the transaction has been detected, settles the transaction based on the data relating to the transaction stored in the settlement-side storage unit.
[18] A program for causing a computer of an input device, which includes an input device for inputting transaction data and a communication device for communicating data with a plurality of settlement devices for settling transactions, to function as: an end detection means for detecting an instruction to end inputting transaction data; a determination means for determining one of the plurality of settlement devices as a connection destination before inputting the transaction data; an end detection means for detecting an instruction to end inputting transaction data; a first transmission means for transmitting the transaction data input via the input device to one of the settlement devices determined as a connection destination by the determination means before the end detection means detects an instruction to end inputting the transaction data; and a first notification means for notifying one of the settlement devices determined as a connection destination by the determination means that input has ended when the end detection means detects an instruction to end inputting transaction data.
[19] A program to cause a computer of a settlement device, which includes an input device and a communication device that communicates data with an input device and transmits data relating to a transaction entered via the input device to one settlement device determined as a destination before an instruction to end the input of the data relating to the transaction is detected, to function as a settlement-side storage means that stores data relating to a transaction transmitted from the input device in a settlement-side storage unit until the transaction is settled, and a settlement means that settles a transaction based on the data relating to the transaction stored in the settlement-side storage unit when it receives notification from the input device that an instruction to end the input of the data relating to the transaction has been detected.

1…会計システム、2…店員、3…客、5…キャッシュレス決済端末、11…入力装置、12…決済装置、13…サーバ、14…ネットワーク、21,31…プロセッサ、51…接続先選択手段、52…問合せ手段、53…決定手段、54…無効手段、55…入力側記憶手段、56…明細表示手段、57…終了検出手段、58…第1送信手段、59…第1通知手段、63…第1データテーブル、64…入力側記憶部、65…第2データテーブル、71…決済側記憶手段、72…金額表示手段、73…接続応答手段、74…決済手段、75…第2修正手段、76…取消応答手段、77…第4修正手段、78…金券識別手段、79…レシート出力手段、81…決済側記憶部、82…フラグメモリ、510…決済先報知手段、511…修正受付手段、512…第1修正手段、513…第2送信手段、514…取消受付手段、515…取消先選択手段、516…第2通知手段、517…第3修正手段、518…第3送信手段、519…不可報知手段、520…金券識別手段、521…演算手段、522…完了報知手段、641…第1取引ファイル、642…第3取引ファイル、811…第2取引ファイル。 1...Accounting system, 2...Clerk, 3...Customer, 5...Cashless payment terminal, 11...Input device, 12...Payment device, 13...Server, 14...Network, 21, 31...Processor, 51...Connection destination selection means, 52...Inquiry means, 53...Decision means, 54...Invalidation means, 55...Input side storage means, 56...Detail display means, 57...Termination detection means, 58...First transmission means, 59...First notification means, 63...First data table, 64...Input side storage unit, 65...Second data table, 71...Payment side storage means, 72...Amount display means, 73...Connection response means, 74...Payment means, 75...Second modification Means, 76...Cancellation response means, 77...Fourth modification means, 78...Voucher identification means, 79...Receipt output means, 81...Settlement side storage unit, 82...Flag memory, 510...Settlement destination notification means, 511...Modification acceptance means, 512...First modification means, 513...Second transmission means, 514...Cancellation acceptance means, 515...Cancellation destination selection means, 516...Second notification means, 517...Third modification means, 518...Third transmission means, 519...Notification of non-notification means, 520...Voucher identification means, 521...Calculation means, 522...Completion notification means, 641...First transaction file, 642...Third transaction file, 811...Second transaction file.

Claims (16)

入力デバイスを介して取引に係るデータを入力する入力装置と、取引を決済する複数台の決済装置とを通信回線で接続し、
前記入力装置は、
前記取引に係るデータを入力する前に、前記複数台の決済装置のうちいずれか一台の決済装置を接続先として決定する決定手段と、
前記取引に係るデータの入力終了指示を検出する終了検出手段と、
記終了検出手段により前記取引に係るデータの入力終了指示が検出される前に、前記入力デバイスを介して取引に係るデータが入力される毎に、入力された取引に係るデータを前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する第1送信手段と、
前記終了検出手段により取引に係るデータの入力終了指示が検出されると、前記決定手段により接続先として決定されたいずれか一台の決済装置に入力終了を通知する第1通知手段と、
を具備し、
前記決済装置は、
前記入力装置から送信されてくる取引に係るデータを、当該取引が決済されるまで決済側記憶部で記憶する決済側記憶手段と、
前記入力装置から前記入力終了の通知を受けると、前記決済側記憶部で記憶した取引に係るデータに基づいて取引を決済する決済手段と、
を具備する会計システム。
An input device that inputs transaction data via an input device and multiple settlement devices that settle transactions are connected by a communication line.
The aforementioned input device is
Before inputting the data relating to the aforementioned transaction, a determination means is provided to determine which of the multiple payment devices will be used as the connection destination.
A termination detection means for detecting an instruction to complete the input of data related to the aforementioned transaction,
Before the termination detection means detects the end of input instruction for the transaction data, each time transaction data is input via the input device, the first transmission means transmits the input transaction data to one of the settlement devices determined as the connection destination by the determination means,
When the termination detection means detects an instruction to complete the input of transaction-related data, the first notification means notifies one of the settlement devices determined as the connection destination by the determination means that the input has been completed.
It is equipped with,
The aforementioned payment device is
A settlement-side storage means that stores transaction data transmitted from the input device in a settlement-side storage unit until the transaction is settled,
Upon receiving notification of the end of input from the input device, the settlement means settles the transaction based on the transaction data stored in the settlement-side storage unit,
An accounting system equipped with the following features.
前記入力装置は、
前記取引に係るデータを入力する前に、前記複数台の決済装置のうちいずれか一台の決済装置を選択する接続先選択手段と、
前記接続先選択手段により選択された前記一台の決済装置に接続可否を問合せる問合せ手段と、
をさらに具備し、
前記決定手段は、前記問合せ手段による問合せに対して問合せ先の決済装置から接続を許諾する応答があった場合に当該決済装置を接続先として決定し、
前記決済装置は、
前記取引の決済が可能な状態で前記入力装置から接続可否の問合せを受けると、接続を許諾する応答を返す接続応答手段と、
をさらに具備する請求項1記載の会計システム。
The aforementioned input device is
Before inputting the data relating to the aforementioned transaction, a connection destination selection means selects one of the multiple payment devices,
An inquiry means for inquiring whether or not it is possible to connect to the payment device selected by the connection destination selection means,
Furthermore, it is equipped with,
The determination means determines the payment device to be the connection destination when it receives a response from the payment device to be inquired about in response to an inquiry made by the inquiry means,
The aforementioned payment device is
When the input device receives an inquiry regarding connection permission while the transaction is ready for settlement, the connection response means returns a response granting permission to connect.
The accounting system according to claim 1, further comprising:
前記入力装置の接続先選択手段は、前記複数台の決済装置を個々に指定可能な操作子を含み、
前記入力装置は、
前記問合せ手段による問合せに対して問合せ先の決済装置から接続を許諾する応答がない場合に、当該決済装置を指定する操作子の操作を無効とする無効手段、
をさらに具備する請求項2記載の会計システム。
The connection destination selection means of the input device includes an operator that can individually specify the multiple payment devices.
The aforementioned input device is
If the payment device to which the inquiry was made does not respond to the inquiry made by the aforementioned inquiry means by which the payment device is not authorized to connect, the invalidation means disables the operation of the operator that designates the payment device.
The accounting system according to claim 2, further comprising:
前記入力装置は、
表示デバイスに、前記入力デバイスを介して入力された取引に係るデータに基づく当該取引の明細情報を、前記決定手段により接続先として決定された前記決済装置を特定する情報とともに表示する明細表示手段、
をさらに具備する請求項1記載の会計システム。
The aforementioned input device is
A detail display means that displays the transaction details information on the display device, based on the transaction data entered via the input device, together with information identifying the settlement device determined as the connection destination by the determination means.
The accounting system according to claim 1, further comprising:
前記決済装置は、
表示デバイスに、前記入力装置から前記入力終了の通知を受けるまでは待機中の画面を表示し、前記入力終了の通知を受けると、前記決済側記憶手段により記憶した前記取引に係るデータを基に算出される当該取引の決済金額を表示する金額表示手段、
をさらに具備する請求項1記載の会計システム。
The aforementioned payment device is
The display device displays a waiting screen until it receives notification from the input device that the input has finished, and upon receiving the notification that the input has finished, it displays an amount display means that displays the settlement amount of the transaction calculated based on the transaction data stored by the settlement-side storage means.
The accounting system according to claim 1, further comprising:
前記入力装置は、
前記決定手段により接続先として決定されたいずれか一台の決済装置に送信した取引に係るデータを、前記終了検出手段により当該取引に係るデータの入力終了指示が検出される前に修正する第1修正手段と、
前記第1修正手段により修正された修正後の取引に係るデータを、前記終了検出手段により当該取引に係るデータの入力終了指示が検出される前に、前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する第2送信手段と、
をさらに具備し、
前記決済装置は、
前記第2送信手段により前記入力装置から送信されてくる前記修正後の取引に係るデータで、前記決済側記憶部に記憶している取引に係るデータを修正する第2修正手段と、をさらに具備する請求項1記載の会計システム。
The aforementioned input device is
A first modification means modifies the transaction data transmitted to one of the payment devices determined as the connection destination by the determination means before the termination detection means detects the termination instruction for the input of the transaction data,
A second transmission means transmits the modified transaction data, modified by the first modification means, to one of the settlement devices determined as the connection destination by the determination means, before the termination detection means detects the termination of data input for the transaction.
Furthermore, it is equipped with,
The aforementioned payment device is
The accounting system according to claim 1, further comprising: a second modification means for modifying the transaction data stored in the settlement-side storage unit with the modified transaction data transmitted from the input device by the second transmission means.
前記入力装置は、
前記入力デバイスを介して入力された取引に係るデータを入力側記憶部で記憶する入力側記憶手段と、
前記入力側記憶部で記憶した取引に係るデータを基に表示デバイスに当該取引の明細情報を、前記決定手段により接続先として決定された前記決済装置を特定する情報とともに表示する明細表示手段と、
前記明細表示手段により表示されている明細情報の修正を受け付ける修正受付手段と、
をさらに具備し、
前記第1修正手段は、前記修正受付手段により修正を受け付けた明細情報で前記入力側記憶部に記憶している取引に係るデータを修正する、
請求項記載の会計システム。
The aforementioned input device is
An input-side storage means that stores transaction data input via the aforementioned input device in an input-side storage unit,
A detail display means that displays the transaction details on a display device based on the transaction data stored in the input-side storage unit, along with information identifying the settlement device determined as the connection destination by the determination means.
A correction acceptance means for accepting corrections to the detail information displayed by the detail display means,
Furthermore, it is equipped with,
The first modification means modifies the transaction data stored in the input-side storage unit with the detail information that has been modified by the modification receiving means.
The accounting system according to claim 6 .
前記入力装置の第2送信手段は、
取引に係るデータが修正される毎に、その修正後の取引に係るデータを、前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する、請求項又は記載の会計システム。
The second transmission means of the input device is:
The accounting system according to claim 6 or 7 , wherein each time the transaction data is modified, the modified transaction data is transmitted to one of the settlement devices determined as the connection destination by the determination means.
前記入力装置は、
前記入力デバイスを介して入力された取引に係るデータを入力側記憶部で記憶する入力側記憶手段と、
前記第1通知手段により入力終了を通知した取引の決済取消指示を受け付ける取消受付手段と、
前記複数台の決済装置の中から決済の取消を行う決済装置を選択する取消先選択手段と、
前記取消受付手段により取引の決済取消指示を受け付けると、前記取消先選択手段により選択された決済装置に決済の取消を通知する第2通知手段と、
前記決済の取消通知に対して通知先の前記決済装置から決済の取消を許諾する応答があったことを条件に、前記入力側記憶部で記憶した取引に係るデータを修正する第3修正手段と、
前記第3修正手段により修正された修正後の取引に係るデータを前記取消先選択手段により選択された決済装置に送信する第3送信手段と、
をさらに具備し、
前記決済装置は、
前記決済手段により取引が決済される前に前記入力装置から前記決済の取消通知を受けると、決済の取消を許諾する応答を返す取消応答手段と、
前記第3送信手段により前記入力装置から送信されてくる前記修正後の取引に係るデータで、前記決済側記憶部に記憶している取引に係るデータを修正する第4修正手段と、をさらに具備する請求項1記載の会計システム。
The aforementioned input device is
An input-side storage means that stores transaction data input via the aforementioned input device in an input-side storage unit,
A cancellation acceptance means that accepts a payment cancellation instruction for a transaction for which input completion has been notified by the first notification means,
A cancellation target selection means for selecting a payment device from among the multiple payment devices to cancel the payment,
When the cancellation acceptance means receives an instruction to cancel the settlement of a transaction, the second notification means notifies the settlement device selected by the cancellation destination selection means of the cancellation of the settlement,
A third modification means for modifying transaction data stored in the input-side storage unit, conditional on the payment device receiving the notification of the cancellation of the payment granting permission to cancel the payment,
A third transmission means transmits the data relating to the modified transaction, modified by the third modification means, to the settlement device selected by the cancellation destination selection means,
Furthermore, it is equipped with,
The aforementioned payment device is
If a cancellation notice for the settlement is received from the input device before the transaction is settled by the settlement means, the cancellation response means returns a response authorizing the cancellation of the settlement.
The accounting system according to claim 1, further comprising: a fourth modification means for modifying the transaction data stored in the settlement-side storage unit with the modified transaction data transmitted from the input device by the third transmission means.
前記入力装置は、
前記決済の取消通知に対して通知先の前記決済装置から決済の取消を許諾する応答がないと、決済の取消不可を報知する不可報知手段、
をさらに具備する請求項記載の会計システム。
The aforementioned input device is
If the payment device to which the payment was notified does not respond to the payment cancellation notice with permission to cancel the payment, a non-notification means will be used to notify that the payment cannot be canceled.
The accounting system according to claim 9 , further comprising:
前記入力装置の第3送信手段は、
取引に係るデータが修正される毎に、その修正後の取引に係るデータを前記取消先選択手段により選択された決済装置に送信する、請求項又は10記載の会計システム。
The third transmission means of the input device is:
The accounting system according to claim 9 or 10 , wherein each time the transaction data is modified, the modified transaction data is transmitted to the settlement device selected by the cancellation destination selection means.
前記決済装置は、
前記決済側記憶部で記憶される取引に係るデータが金券商品の取引に係るデータであるのか金券商品以外の商品の取引に係るデータであるのかを識別する金券識別手段、
をさらに具備し、
前記決済手段は、前記入力装置から前記入力終了の通知を受けると、前記決済側記憶部で記憶した取引に係るデータのうち金券商品以外の商品の取引に係るデータについては当該商品の販売金額を正の値とし、金券商品の取引に係るデータについては当該金券商品の額面金額を負の値として取引を決済する、請求項1記載の会計システム。
The aforementioned payment device is
A gift certificate identification means for identifying whether the transaction data stored in the settlement-side storage unit is data relating to a gift certificate product or data relating to a product other than a gift certificate product.
Furthermore, it is equipped with,
The accounting system according to claim 1, wherein when the settlement means receives notification of the completion of input from the input device, it settles the transaction by setting the sales price of the product as a positive value for data relating to transactions of products other than gift certificates among the transaction data stored in the settlement-side storage unit, and setting the face value of the gift certificate as a negative value for data relating to transactions of gift certificates.
前記決済装置は、
前記決済手段により決済された取引のレシートとして、前記金券商品以外の商品の販売金額を合算した合計金額とは別に前記金券商品の額面金額を表記したレシートを出力するレシート出力手段、
をさらに具備する請求項12記載の会計システム。
The aforementioned payment device is
A receipt output means that outputs a receipt for a transaction settled by the aforementioned payment means, which separately shows the face value of the gift certificate in addition to the total amount of sales of goods other than the gift certificate.
The accounting system according to claim 12 , further comprising:
前記入力装置は、
前記入力デバイスを介して入力された取引に係るデータが金券商品の取引に係るデータであるのか金券商品以外の商品の取引に係るデータであるのかを識別する金券識別手段と、
前記取引に係るデータのうち金券商品以外の商品の取引に係るデータについては当該商品の販売金額を正の値とし、金券商品に係るデータについては当該金券商品の額面金額を負の値として取引の合計金額を算出する演算手段と、
前記終了検出手段により取引に係るデータの入力終了指示が検出された時点で前記演算手段により算出された取引の合計金額が0又は負の値であるとき、支払い完了を報知する完了報知手段と、
をさらに具備する請求項12又は13記載の会計システム。
The aforementioned input device is
A gift certificate identification means that identifies whether the transaction data entered via the input device is data relating to a gift certificate product or data relating to a product other than a gift certificate product,
A calculation means for calculating the total transaction amount, wherein for data relating to transactions of goods other than gift certificates, the sales amount of the said goods is set as a positive value, and for data relating to gift certificates, the face value of the said gift certificates is set as a negative value,
When the completion detection means detects the end of input instructions for transaction-related data, and the total transaction amount calculated by the calculation means is zero or a negative value, a completion notification means notifies that payment has been completed.
The accounting system according to claim 12 or 13 , further comprising:
取引に係るデータを入力するための入力デバイスと、
取引を決済する複数台の決済装置とデータ通信を行うための通信デバイスと、
取引に係るデータの入力終了指示を検出する終了検出手段と、
前記取引に係るデータを入力する前に、前記複数台の決済装置のうちいずれか一台の決済装置を接続先として決定する決定手段と、
前記取引に係るデータの入力終了指示を検出する終了検出手段と、
記終了検出手段により前記取引に係るデータの入力終了指示が検出される前に、前記入力デバイスを介して取引に係るデータが入力される毎に、入力された取引に係るデータを前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する第1送信手段と、
前記終了検出手段により取引に係るデータの入力終了指示が検出されると、前記決定手段により接続先として決定されたいずれか一台の決済装置に入力終了を通知する第1通知手段と、
を具備する入力装置。
An input device for entering transaction-related data,
Multiple settlement devices for settling transactions and communication devices for data communication,
A termination detection means for detecting an instruction to complete the input of transaction-related data,
Before inputting the data relating to the aforementioned transaction, a determination means is provided to determine which of the multiple payment devices will be used as the connection destination.
A termination detection means for detecting an instruction to complete the input of data related to the aforementioned transaction,
Before the termination detection means detects the end of input instruction for the transaction data, each time transaction data is input via the input device, the first transmission means transmits the input transaction data to one of the settlement devices determined as the connection destination by the determination means,
When the termination detection means detects an instruction to complete the input of transaction-related data, the first notification means notifies one of the settlement devices determined as the connection destination by the determination means that the input has been completed.
An input device equipped with the following.
取引に係るデータを入力するための入力デバイスと、取引を決済する複数台の決済装置とデータ通信を行うための通信デバイスと、を備えた入力装置のコンピュータを、
取引に係るデータの入力終了指示を検出する終了検出手段、
前記取引に係るデータを入力する前に、前記複数台の決済装置のうちいずれか一台の決済装置を接続先として決定する決定手段、
前記取引に係るデータの入力終了指示を検出する終了検出手段、
記終了検出手段により前記取引に係るデータの入力終了指示が検出される前に、前記入力デバイスを介して取引に係るデータが入力される毎に、入力された取引に係るデータを前記決定手段により接続先として決定されたいずれか一台の決済装置に送信する第1送信手段、及び、
前記終了検出手段により取引に係るデータの入力終了指示が検出されると、前記決定手段により接続先として決定されたいずれか一台の決済装置に入力終了を通知する第1通知手段、
として機能させるためのプログラム。
A computer for an input device, which includes an input device for entering transaction-related data and a communication device for communicating data with multiple settlement devices for settling transactions,
Termination detection means for detecting an instruction to complete the input of transaction-related data,
Before inputting the data relating to the aforementioned transaction, a determination means determines which of the multiple payment devices will be used as the connection destination.
Termination detection means for detecting an instruction to complete input of data related to the transaction,
Before the termination detection means detects the end of input instruction for the transaction data, each time transaction data is input via the input device, a first transmission means transmits the input transaction data to one of the settlement devices determined as the connection destination by the determination means, and
When the termination detection means detects an instruction to complete the input of transaction-related data, the first notification means notifies one of the settlement devices determined as the connection destination by the determination means that the input has been completed.
A program designed to function as such.
JP2023026493A 2023-02-22 2023-02-22 Accounting system, input device, payment device, and program Active JP7849313B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023026493A JP7849313B2 (en) 2023-02-22 2023-02-22 Accounting system, input device, payment device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023026493A JP7849313B2 (en) 2023-02-22 2023-02-22 Accounting system, input device, payment device, and program

Publications (2)

Publication Number Publication Date
JP2024119519A JP2024119519A (en) 2024-09-03
JP7849313B2 true JP7849313B2 (en) 2026-04-21

Family

ID=92591487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023026493A Active JP7849313B2 (en) 2023-02-22 2023-02-22 Accounting system, input device, payment device, and program

Country Status (1)

Country Link
JP (1) JP7849313B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020154855A (en) 2019-03-20 2020-09-24 東芝テック株式会社 Product sales data processing device and its control program
JP2022173286A (en) 2020-12-17 2022-11-18 東芝テック株式会社 checkout system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020154855A (en) 2019-03-20 2020-09-24 東芝テック株式会社 Product sales data processing device and its control program
JP2022173286A (en) 2020-12-17 2022-11-18 東芝テック株式会社 checkout system

Also Published As

Publication number Publication date
JP2024119519A (en) 2024-09-03

Similar Documents

Publication Publication Date Title
JP7274925B2 (en) Merchandise sales data processing system, payment device and its control program
JP6251146B2 (en) Checkout system, settlement apparatus and control program thereof
JP2020154855A (en) Product sales data processing device and its control program
JP2018084903A (en) Checkout system, registration device, payment device and control program
JP2018092373A (en) Checkout system, registration device, payment device and control program
JP2017134740A (en) Checkout system, and settlement device and control program therefor
JP7849313B2 (en) Accounting system, input device, payment device, and program
JP6682603B2 (en) Payment device and its control program
JP7340712B2 (en) Payment device and its control program
JP2024015056A (en) Product registration device, its control program, and checkout system
JP7124158B2 (en) Checkout system, input processing device and its control program
JP7833423B2 (en) Accounting system, input device, payment device, and program
JP7828907B2 (en) Accounting system, input device, payment device, and program
JP7822976B2 (en) Accounting system, input device, payment device and program
JP7844411B2 (en) Accounting system, payment device and its program
JP7834585B2 (en) Transaction processing system, transaction processing device, and information processing program
JP7375236B2 (en) Checkout system, payment device and its control program
JP2024119525A (en) Accounting system, input device, settlement device and program
JP2024101833A (en) Accounting system, input device, settlement device and program
JP7319437B2 (en) Checkout system, input processing device and its control program
JP7234331B2 (en) Payment device and its control program
JP2019053786A (en) Checkout system, settlement apparatus and program thereof
JP7166787B2 (en) Checkout system, registration device and registration program
JP2018026182A (en) Checkout system, settlement apparatus and program thereof
JP6434173B2 (en) Checkout system, settlement apparatus and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20251226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20260127

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20260313

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260409

R150 Certificate of patent or registration of utility model

Ref document number: 7849313

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150