JP2024067470A - Transaction processing system, payment device, and payment program - Google Patents

Transaction processing system, payment device, and payment program Download PDF

Info

Publication number
JP2024067470A
JP2024067470A JP2022177581A JP2022177581A JP2024067470A JP 2024067470 A JP2024067470 A JP 2024067470A JP 2022177581 A JP2022177581 A JP 2022177581A JP 2022177581 A JP2022177581 A JP 2022177581A JP 2024067470 A JP2024067470 A JP 2024067470A
Authority
JP
Japan
Prior art keywords
payment
processor
information
payment device
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022177581A
Other languages
Japanese (ja)
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 JP2022177581A priority Critical patent/JP2024067470A/en
Publication of JP2024067470A publication Critical patent/JP2024067470A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

【課題】店員と客とが操作を分担する分担方式の取引処理システムにおける処理効率の低下を防ぐ。【解決手段】入力処理装置は、入力されたデータを基に取引に係る決済情報を作成し、その決済情報を、複数台の決済装置のうち所定の決済装置に送信する。決済情報を受信した決済装置は、当該決済装置が決済処理を実行し得る状態のとき、受信手段で受信した決済情報に基づく決済処理を実行する。当該決済装置が決済処理を実行し得ない状態のとき、決済装置は、複数台の決済装置のネットワークへの接続状態を示す情報を検索し、ネットワークに接続された状態にある他の決済装置のうちの1台を選択する。決済装置は、選択した他の決済装置に決済情報を転送する。【選択図】 図4[Problem] To prevent a decrease in processing efficiency in a transaction processing system using a sharing method in which operations are shared between store clerks and customers. [Solution] An input processing device creates payment information for a transaction based on input data, and transmits the payment information to a specified one of multiple payment devices. When the payment device that has received the payment information is in a state in which it can execute the payment process, it executes the payment process based on the payment information received by the receiving means. When the payment device is in a state in which it cannot execute the payment process, the payment device searches for information indicating the connection status of multiple payment devices to the network, and selects one of the other payment devices that are connected to the network. The payment device transfers the payment information to the selected other payment device. [Selected Figure] Figure 4

Description

本発明の実施形態は、取引処理システム及びこのシステムの決済装置並びにコンピュータを決済装置として機能させるための決済プログラムに関する。 Embodiments of the present invention relate to a transaction processing system, a payment device of the system, and a payment program for causing a computer to function as a payment device.

近年、量販店向けの取引処理システムとして、店員と客とが操作を分担する分担方式の取引処理システムが知られている。この種の取引処理システムは、取引毎にその取引で売買される商品のデータ入力を受け付ける入力処理装置と、この入力処理装置で入力された商品のデータを基に取引の決済処理を実行する決済装置とを分離する。そして、店員が入力処理装置を操作し、客が決済装置を操作するように配置する。 In recent years, a transaction processing system for mass retailers has become known that shares operations between store clerks and customers. This type of transaction processing system separates an input processing device that accepts data input for the products to be bought and sold in each transaction from a payment device that executes the payment process for the transaction based on the product data input by the input processing device. The system is then arranged so that the store clerk operates the input processing device and the customer operates the payment device.

分担方式の取引処理システムは、商品のデータ入力操作を店員が行うため、客が全ての操作を自身で行うセルフ方式の取引処理システムよりもデータ入力に要する時間が短縮される。その一方で、客が決済装置を操作するため、操作に不慣れな客が決済に手間取ることが想定される。そこで一般に、分担方式の取引処理システムは、1台の入力処理装置に対して決済装置を例えば3台以上備える。3台以上の決済装置には、予め決済情報の転送順位が設定されている。 In a sharing transaction processing system, the product data is input by a store clerk, so the time required for data input is shorter than in a self-service transaction processing system in which the customer performs all operations themselves. On the other hand, because the customer operates the payment device, it is expected that customers who are unfamiliar with the operation will have difficulty making payments. Therefore, a sharing transaction processing system generally has one input processing device and, for example, three or more payment devices. The transfer order of payment information is preset for the three or more payment devices.

入力処理装置は、取引の決済に必要な情報を転送順位が1位の決済装置(第1決済装置)に送信する。第1決済装置は、既に前の客の決済を終えており決済処理が可能な場合には、その情報を基に取引の決済を処理する。まだ前の客の決済が続いており決済処理が不可能な場合には、第1決済装置は、転送順位が2位の決済装置(第2決済装置)に取引の決済に必要な情報を転送(送信)する。第2決済装置は、第1決済装置から受け取った情報を基に取引の決済を処理する。第2決済装置も決済処理が不可能な場合には、転送順位が3位の決済装置(第3決済装置)に取引の決済に必要な情報を転送する。第3決済装置は、第2決済装置から受け取った情報を基に取引の決済を処理する。このように、従来における分担方式の取引処理システムは、3台以上の決済装置を効率よく稼働させて、短時間で多くの取引を決済できるようにしている。 The input processing device transmits the information necessary for the settlement of the transaction to the payment device (first payment device) that is first in the transfer order. If the first payment device has already completed the payment of the previous customer and is able to process the payment, it processes the settlement of the transaction based on that information. If the payment of the previous customer is still in progress and payment processing is not possible, the first payment device transfers (sends) the information necessary for the settlement of the transaction to the payment device (second payment device) that is second in the transfer order. The second payment device processes the settlement of the transaction based on the information received from the first payment device. If the second payment device is also unable to process the payment, it transfers the information necessary for the settlement of the transaction to the payment device (third payment device) that is third in the transfer order. The third payment device processes the settlement of the transaction based on the information received from the second payment device. In this way, the conventional transaction processing system using the shared method efficiently operates three or more payment devices, making it possible to settle many transactions in a short period of time.

しかしながら、例えば第2決済装置の電源がオフであり取引の決済に必要な情報を受信できなかった場合、第2決済装置から第3決済装置に取引の決済に必要な情報が転送されなくなる。このため、第2決済装置だけでなく、第2決済装置よりも転送順位が下位の決済装置も取引の決済を処理できなくなり、処理効率が低下する。 However, for example, if the second payment device is powered off and is unable to receive the information necessary to settle the transaction, the information necessary to settle the transaction will not be transferred from the second payment device to the third payment device. As a result, not only the second payment device but also payment devices lower in the transfer order than the second payment device will be unable to process the settlement of the transaction, resulting in reduced processing efficiency.

特開2013-242839号公報JP 2013-242839 A

本発明の実施形態が解決しようとする課題は、店員と客とが操作を分担する分担方式の取引処理システムにおける処理効率の低下を防ぐことにある。 The problem that the embodiment of the present invention aims to solve is to prevent a decline in processing efficiency in a transaction processing system that uses a shared system in which operations are shared between store clerks and customers.

一実施形態において、取引処理システムは、入力処理装置と複数台の決済装置とをネットワークで接続してなる。入力処理装置は、作成手段と、送信手段とを備える。作成手段は、入力されたデータを基に取引に係る決済情報を作成する。送信手段は、複数台の決済装置のうち所定の決済装置に対し、ネットワークを介して決済情報を送信する。決済装置は、受信手段と、実行手段と、選択手段と、転送手段とを備える。受信手段は、ネットワークを介して決済情報を受信する。実行手段は、当該決済装置が決済処理を実行し得る状態のとき、受信手段で受信した決済情報に基づく決済処理を実行する。選択手段は、当該決済装置が決済処理を実行し得ない状態のとき、複数台の決済装置のネットワークへの接続状態を示す情報を検索し、ネットワークに接続された状態にある他の決済装置のうちの1台を選択する。転送手段は、選択手段により選択した他の決済装置に決済情報を転送する。 In one embodiment, the transaction processing system includes an input processing device and a plurality of payment devices connected via a network. The input processing device includes a creation means and a transmission means. The creation means creates payment information related to the transaction based on the input data. The transmission means transmits the payment information via the network to a predetermined payment device among the plurality of payment devices. The payment device includes a reception means, an execution means, a selection means, and a transfer means. The reception means receives the payment information via the network. When the payment device is in a state where it can execute the payment process, the execution means executes the payment process based on the payment information received by the reception means. When the payment device is in a state where it cannot execute the payment process, the selection means searches for information indicating the connection status of the plurality of payment devices to the network, and selects one of the other payment devices that are connected to the network. The transfer means transfers the payment information to the other payment device selected by the selection means.

図1は、実施形態に係る取引処理システムの概略構成を示す模式図である。FIG. 1 is a schematic diagram showing a schematic configuration of a transaction processing system according to an embodiment. 図2は、取引処理システムを構成する入力処理装置の要部回路構成を示すブロック図である。FIG. 2 is a block diagram showing the main circuit configuration of an input processing device that constitutes the transaction processing system. 図3は、入力処理装置が有するデータテーブルのデータ構造を示す模式図である。FIG. 3 is a schematic diagram showing the data structure of a data table held by the input processing device. 図4は、取引処理システムを構成する決済装置の要部回路構成を示すブロック図である。FIG. 4 is a block diagram showing the main circuit configuration of a settlement device constituting the transaction processing system. 図5は、決済装置が有するデータテーブルのデータ構造を示す模式図である。FIG. 5 is a schematic diagram showing the data structure of a data table held by the settlement device. 図6は、入力処理装置のプロセッサが登録プログラムにしたがって実行する第1の情報処理の要部手順を示す流れ図である。FIG. 6 is a flowchart showing the main steps of the first information processing executed by the processor of the input processing device in accordance with the registration program. 図7は、決済装置のプロセッサが決済プログラムに従って実行する第3の情報処理の手順を示す流れ図である。FIG. 7 is a flowchart showing a procedure of a third information processing executed by the processor of the payment device in accordance with the payment program. 図8は、決済装置のプロセッサが決済プログラムに従って実行する第4の情報処理の手順を示す流れ図である。FIG. 8 is a flowchart showing a fourth information processing procedure executed by the processor of the payment device in accordance with the payment program. 図9は、入力処理装置のプロセッサが登録プログラムに従って実行する第2の情報処理の手順を示す流れ図である。FIG. 9 is a flowchart showing the procedure of the second information processing executed by the processor of the input processing device in accordance with the registration program. 図10は、親機に設定された第1決済装置が決済処理を可能な状態であるときの取引処理システムの動作説明図である。FIG. 10 is a diagram illustrating the operation of the transaction processing system when the first settlement device set as the master is in a state in which settlement processing is possible. 図11は、第1決済装置において決済処理が不可能であるときの取引処理システムの動作説明図である。FIG. 11 is a diagram illustrating the operation of the transaction processing system when payment processing is not possible in the first payment device. 図12は、第1決済装置から転送された決済情報を第2決済装置が受信できなかったときの取引処理システムの動作説明図である。FIG. 12 is a diagram illustrating the operation of the transaction processing system when the second payment device cannot receive the payment information transferred from the first payment device. 図13は、入力処理装置から決済情報が再送されたときの取引処理システムの動作説明図である。FIG. 13 is a diagram illustrating the operation of the transaction processing system when payment information is retransmitted from the input processing device. 図14は、第2の実施形態において、決済装置のプロセッサが決済プログラムに従って実行する第3の情報処理の手順を示す流れ図である。FIG. 14 is a flowchart showing a procedure of a third information processing executed by the processor of the payment device in accordance with the payment program in the second embodiment. 図15は、第2の実施形態において、入力処理装置のプロセッサが登録プログラムにしたがって実行する第1の情報処理の要部手順を示す流れ図である。FIG. 15 is a flowchart showing the main steps of a first information processing operation executed by the processor of the input processing device in accordance with a registration program in the second embodiment.

以下、店員と客とが操作を分担する分担方式の取引処理システムにおいて、処理効率の低下を防ぐ実施形態について、図面を用いて説明する。 Below, we will use the drawings to explain an embodiment that prevents a decline in processing efficiency in a transaction processing system that uses a sharing method in which operations are shared between store clerks and customers.

[第1の実施形態]
[取引処理システムの構成説明]
はじめに、第1の実施形態に係る取引処理システム100の構成について、図1乃至図5を用いて説明する。なお、以下に説明する構成は一例である。同様な効果を奏し得るのであれば、構成の一部を適宜変更することができる。
[First embodiment]
[Description of the configuration of the transaction processing system]
First, the configuration of a transaction processing system 100 according to the first embodiment will be described with reference to Figures 1 to 5. Note that the configuration described below is an example. As long as the same effect can be achieved, part of the configuration can be modified as appropriate.

図1は、取引処理システム100の概略構成を示す模式図である。取引処理システム100は、入力処理装置11と、決済装置12と、サーバ13と、これらを接続するネットワーク14と、を含む。ネットワーク14の種類は特に限定されないが、一般的には有線又は無線のLAN(local area network)が適用される。 Figure 1 is a schematic diagram showing the general configuration of a transaction processing system 100. The transaction processing system 100 includes an input processing device 11, a payment device 12, a server 13, and a network 14 that connects these. There are no particular limitations on the type of network 14, but a wired or wireless LAN (local area network) is generally used.

入力処理装置11は、取引毎にその取引で売買される商品のデータ入力を受け付けるように構成された装置である。決済装置12は、入力処理装置11で入力された商品のデータを基に取引の決済処理を行うように構成された装置である。入力処理装置11は、チェッカと呼ばれる役割を担った店員21が、その操作者となる。決済装置12は、店舗で商品を購入する消費者、いわゆる客22が、その操作者となる。入力処理装置11は、図1においては、作業テーブル23に取り付けられている。作業テーブル23は、矩形の天板を有する。複数の作業テーブル23が、天板の長手方向がほぼ並行するように配置されることにより、客22のための通路、いわゆるチェックアウトレーンが形成される。 The input processing device 11 is a device configured to accept data input for each transaction of the products to be bought and sold in that transaction. The payment device 12 is a device configured to perform payment processing for the transaction based on the product data input by the input processing device 11. The input processing device 11 is operated by a store clerk 21 who plays a role called a checker. The payment device 12 is operated by a consumer who purchases products in the store, a so-called customer 22. In FIG. 1, the input processing device 11 is attached to a work table 23. The work table 23 has a rectangular top. A passage for customers 22, a so-called checkout lane, is formed by arranging multiple work tables 23 so that the longitudinal directions of the tops are approximately parallel.

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

図1では、1つのチェックアウトレーンに1台の入力処理装置11と3台の決済装置12(12-1,12-2,12-3)とを配置した例を示している。図示しないが、他のチェックアウトレーンにおいても1台の入力処理装置11と2台以上の決済装置12とが配置されている。3台の決済装置12(12-1,12-2,12-3)は、いずれも同一のチェックアウトレーンに配置された入力処理装置11で処理された取引の決済処理を実行する。3台の決済装置12(12-1,12-2,12-3)のうち少なくとも1台は、隣接するチェックアウトレーンに配置された入力処理装置11で処理された取引の決済処理を実行してもよい。 Figure 1 shows an example in which one input processing device 11 and three payment devices 12 (12-1, 12-2, 12-3) are arranged in one checkout lane. Although not shown, one input processing device 11 and two or more payment devices 12 are arranged in other checkout lanes as well. All three payment devices 12 (12-1, 12-2, 12-3) execute payment processing for transactions processed by the input processing device 11 arranged in the same checkout lane. At least one of the three payment devices 12 (12-1, 12-2, 12-3) may execute payment processing for transactions processed by the input processing device 11 arranged in an adjacent checkout lane.

3台の決済装置12(12-1,12-2,12-3)のうち1台は親機に設定され、他の2台は子機に設定される。本実施形態では、決済装置12-1が親機に設定され、決済装置12-2及び決済装置12-3が子機に設定されているものと仮定する。なお、子機の決済装置12-2及び決済装置12-3は、親機の決済装置12-1の状態を監視し、決済装置12-1がダウンすると、自らが親機となることを宣言する機能を有している。この宣言を受けて、入力処理装置11は、子機の決済装置12-2及び決済装置12-3のうちいずれか一方を親機に設定する。 Of the three payment devices 12 (12-1, 12-2, 12-3), one is set as the parent device, and the other two are set as child devices. In this embodiment, it is assumed that payment device 12-1 is set as the parent device, and payment devices 12-2 and 12-3 are set as child devices. Note that child payment devices 12-2 and 12-3 have the function of monitoring the status of parent payment device 12-1, and declaring themselves to be the parent device when payment device 12-1 goes down. In response to this declaration, the input processing device 11 sets one of child payment devices 12-2 and 12-3 as the parent device.

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

商品マスタファイル15は、店舗で販売される商品毎に作成された商品レコードを格納するデータファイルである。商品レコードは、商品コード、商品名、単価、属性等の商品データを記述したデータレコードである。 The product master file 15 is a data file that stores product records created for each product sold in the 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 is affixed with a barcode or two-dimensional code that represents the product code. Alternatively, an RFID (Radio Frequency Identification) tag that stores the product code may be attached. The input processing device 11 can input the product code of a product being bought and sold in a transaction by reading the barcode, two-dimensional code, or RFID tag attached to the product with a reading device.

商品名及び単価は、商品コードで識別される商品の名称及び1点当たりの価格である。属性は、例えば商品の税に関する情報である。税に関する情報としては、税率、税種(外税、内税、非課税)等がある。 The product name and unit price are the name of the product identified by the product code and the price per item. The attributes are, for example, information about the tax on the product. Information about taxes includes tax rates, tax types (tax-exclusive, tax-included, tax-exempt), etc.

図2は、入力処理装置11の要部回路構成を示すブロック図である。入力処理装置11は、プロセッサ31、メインメモリ32、補助記憶デバイス33、時計34、通信ユニット35、キーボード36、スキャナ37、タッチパネル38、客用ディスプレイ39、プリンタ40及びシステム伝送路41等を備える。システム伝送路41は、アドレスバス、データバス、制御信号線等を含む。システム伝送路41は、プロセッサ31と他の各部とを直接又は信号入出力回路を介して接続し、相互間で授受されるデータ信号を伝送する。 Figure 2 is a block diagram showing the main circuit configuration of the input processing device 11. The input processing device 11 includes a processor 31, a main memory 32, an auxiliary storage device 33, a clock 34, a communication unit 35, a keyboard 36, a scanner 37, a touch panel 38, a customer display 39, a printer 40, and a system transmission path 41. The system transmission path 41 includes an address bus, a data bus, a control signal line, and the like. The system transmission path 41 connects the processor 31 to each of the other parts directly or via a signal input/output circuit, and transmits data signals exchanged between them.

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

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

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

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

時計34は、日付と時刻を計時する。プロセッサ31は、時計34によって計時されている日付と時刻を現在日時として処理する。通信ユニット35は、ネットワーク14を介して接続されたサーバ13及び複数台の決済装置12との間でデータ通信を行うためのインターフェースである。キーボード36は、客が購入する商品、いわゆる買上商品に係るデータの入力等に必要な種々のキーを配置した入力デバイスである。スキャナ37は、バーコード、二次元コード等のコードシンボルを読み取って入力する入力デバイスである。タッチパネル38は、入力デバイスと表示デバイスとを兼ね備えた機器である。タッチパネル38は、入力処理装置11のオペレータである店員に対して情報の表示を行い、その店員による操作入力を受け付ける。客用ディスプレイ39は、入力処理装置11において買上商品のデータが登録されている客22に対して情報の表示を行う。プリンタ40は、レシート用紙に対して各種の文字列又は画像等を印刷することにより、レシートを発行する。 The clock 34 keeps track of the date and time. The processor 31 processes the date and time kept by the clock 34 as the current date and time. The communication unit 35 is an interface for data communication between the server 13 and the multiple payment devices 12 connected via the network 14. The keyboard 36 is an input device on which various keys necessary for inputting data related to the products purchased by the customer, i.e., the purchased products, are arranged. The scanner 37 is an input device that reads and inputs 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 store clerk who is the operator of the input processing device 11, and accepts operation input by the store clerk. The customer display 39 displays information to the customer 22 whose purchased product data is registered in the input processing device 11. The printer 40 issues receipts by printing various character strings or images on receipt paper.

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

かかる構成の入力処理装置11において、プロセッサ31は、作成手段311、送信手段312及び確認手段313としての機能を有する。作成手段311は、キーボード36、スキャナ37、タッチパネル38等の入力デバイスを介して入力されたデータを基に取引に係る決済情報を作成する機能である。 In the input processing device 11 configured as above, the processor 31 has the functions of a creation means 311, a transmission means 312, and a confirmation means 313. The creation means 311 has a function of creating payment information related to a transaction based on data input via an input device such as a keyboard 36, a scanner 37, or a touch panel 38.

送信手段312は、複数台の決済装置12(12-1,12-2,12-3)のうち親機に設定された決済装置12-1に対し、ネットワーク14を介して決済情報を送信する機能である。決済情報は、取引番号、取引日時、端末ID、商品販売データ、合計点数、合計金額等の項目を含む。取引番号は、客22との取引を個々に識別するために取引毎に発番される連続番号である。取引日時は、その取引が行われた日付及び時刻である。端末IDは、その取引を処理した入力処理装置11に設定された識別情報である。各入力処理装置11には予め固有の端末IDが設定されている。因みに、各決済装置12にも固有の端末IDが設定されている。商品販売データは、客22が買い上げる商品の商品コード、商品名、単価、販売点数、販売金額、属性等の項目からなる。決済情報には、その取引の客22が買い上げる全ての商品の商品販売データが含まれる。合計点数は、1取引における商品販売データの販売点数を合算した値である。合計金額は、1取引における商品販売データの販売金額を合算した金額である。 The transmission means 312 is a function that transmits payment information via the network 14 to the payment device 12-1 set as the parent device among the multiple payment devices 12 (12-1, 12-2, 12-3). The payment information includes items such as a transaction number, transaction date and time, terminal ID, product sales data, total points, and total amount. The transaction number is a consecutive number that is issued for each transaction to identify each transaction with the customer 22. The transaction date and time is the date and time when the transaction was made. The terminal ID is identification information set in the input processing device 11 that processed the transaction. A unique terminal ID is set in advance in each input processing device 11. Incidentally, a unique terminal ID is also set in each payment device 12. The product sales data consists of items such as the product code, product name, unit price, sales points, sales amount, and attributes of the product purchased by the customer 22. The payment information includes product sales data for all products purchased by the customer 22 in the transaction. The total points is the sum of the sales points of the product sales data in one transaction. The total amount is the sum of the sales amounts of the product sales data for one transaction.

このような決済情報は、取引番号と取引日時と端末IDとによって一意に特定される。すなわち、取引番号と取引日時と端末IDは、決済情報を特定可能な取引特定情報として機能する。なお、取引特定情報は、取引番号、取引日時及び端末IDに限定されない。決済情報を特定できるのであれば、その他の項目が付加されてもよいし、一部の項目が省略されてもよい。また、決済情報のデータ構造は、上記の項目に限定されるものではない。その他の項目が付加されてもよいし、一部の項目が省略されてもよい。 Such payment information is uniquely identified by the transaction number, transaction date and time, and terminal ID. In other words, the transaction number, transaction date and time, and terminal ID function as transaction identification information that can identify the payment information. Note that the transaction identification information is not limited to the transaction number, transaction date and time, and terminal ID. As long as the payment information can be identified, other items may be added, or some items may be omitted. Furthermore, the data structure of the payment information is not limited to the above items. Other items may be added, or some items may be omitted.

確認手段313は、当該入力処理装置11と同一のチェックアウトレーンに配置された複数台の決済装置12(121,12-2,12-3)の稼働状態を確認する機能である。プロセッサ31は、データテーブル321を利用して、各決済装置12(121,12-2,12-3)の稼働状態を確認する。 The confirmation means 313 is a function for confirming the operating status of multiple payment devices 12 (121, 12-2, 12-3) arranged in the same checkout lane as the input processing device 11. The processor 31 uses the data table 321 to confirm the operating status of each payment device 12 (121, 12-2, 12-3).

図3は、データテーブル321のデータ構造を示す模式図である。データテーブル321は、メインメモリ32の揮発性メモリ領域に設けられている。図示するように、データテーブル321は、複数台の決済装置12(121,12-2,12-3)の各決済装置IDとそれぞれ関連付けて、親機フラグFと接続回数Nとを記憶するようにしたデータ構造を有している。 Figure 3 is a schematic diagram showing the data structure of data table 321. Data table 321 is provided in the volatile memory area of main memory 32. As shown in the figure, data table 321 has a data structure that stores a parent device flag F and a connection count N in association with each payment device ID of multiple payment devices 12 (121, 12-2, 12-3).

親機フラグFは、決済装置IDで識別される決済装置12が親機であるか否かを示す1ビットデータである。本実施形態では、親機であることを示す親機フラグFを“1”とし、親機以外の子機であることを示す親機フラグFを“0”とする。因みに、図3においては、決済装置IDが「121」の第1決済装置12-1が親機であり、決済装置IDが「122」の第2決済装置12-2及び決済装置IDが「123」の第3決済装置12-3がいずれも子機である場合を示している。 The parent device flag F is 1-bit data indicating whether the payment device 12 identified by the payment device ID is a parent device or not. In this embodiment, the parent device flag F indicating that it is a parent device is set to "1", and the parent device flag F indicating that it is a child device other than the parent device is set to "0". Incidentally, FIG. 3 shows a case in which the first payment device 12-1 with a payment device ID of "121" is the parent device, and the second payment device 12-2 with a payment device ID of "122" and the third payment device 12-3 with a payment device ID of "123" are all child devices.

接続回数Nは、入力処理装置11が決済装置IDで識別される決済装置12と接続状態にあることを確認する毎にカウントアップされるカウンタである。本実施形態では、第1決済装置12-1の接続回数NをNaとし、第2決済装置12-2の接続回数NをNbとし、第3決済装置12-3の接続回数NをNcとする。 The number of connections N is a counter that is incremented each time the input processing device 11 confirms that it is connected to a payment device 12 identified by the payment device ID. In this embodiment, the number of connections N of the first payment device 12-1 is Na, the number of connections N of the second payment device 12-2 is Nb, and the number of connections N of the third payment device 12-3 is Nc.

作成手段311及び送信手段312としての機能は、プロセッサ31が登録プログラムに従って実行する第1の情報処理によって実現される。また、確認手段313としての機能は、プロセッサ31が同じく登録プログラムに従って実行する第2の情報処理によって実現される。第1の情報処理及び第2の情報処理については後述する。 The functions of the creation means 311 and the transmission means 312 are realized by a first information processing executed by the processor 31 according to the registered program. The function of the confirmation means 313 is realized by a second information processing executed by the processor 31 according to the registered program. The first information processing and the second information processing will be described later.

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

なお、コンピュータに確認手段313としての機能を実現させるプログラムは、コンピュータに作成手段311及び送信手段312としての機能を実現させるプログラムと別であってもよい。 The program that causes the computer to realize the functions of the confirmation means 313 may be separate from the program that causes the computer to realize the functions of the creation means 311 and the transmission means 312.

図4は、決済装置12の要部回路構成を示すブロック図である。本実施形態においては、各決済装置12-1,12-2,12-3を同一構成とする。よって、図4においては、各決済装置12-1,12-2,12-3を区別せずに決済装置12として説明する。 Figure 4 is a block diagram showing the main circuit configuration of the payment device 12. In this embodiment, the payment devices 12-1, 12-2, and 12-3 have the same configuration. Therefore, in Figure 4, the payment devices 12-1, 12-2, and 12-3 will not be distinguished from each other and will be described as payment device 12.

決済装置12は、プロセッサ51、メインメモリ52、補助記憶デバイス53、時計54、通信ユニット55、釣銭機インターフェース56、スキャナ57、タッチパネル58、プリンタ59、リーダ・ライタ60、パトランプ61及びシステム伝送路62等を備える。システム伝送路62は、アドレスバス、データバス、制御信号線等を含む。システム伝送路62は、プロセッサ51と他の各部とを直接又は信号入出力回路を介して接続し、相互間で授受されるデータ信号を伝送する。 The payment device 12 includes a processor 51, a main memory 52, an auxiliary storage device 53, a clock 54, a communication unit 55, a change machine interface 56, a scanner 57, a touch panel 58, a printer 59, a reader/writer 60, a patrol lamp 61, and a system transmission path 62. The system transmission path 62 includes an address bus, a data bus, a control signal line, and the like. The system transmission path 62 connects the processor 51 to each of the other parts directly or via a signal input/output circuit, and transmits data signals exchanged between them.

決済装置12は、プロセッサ51と、メインメモリ52、補助記憶デバイス53、時計54及び通信ユニット55とをシステム伝送路62で接続することにより、コンピュータを構成する。そして決済装置12は、そのコンピュータに、システム伝送路62を介して釣銭機インターフェース56、スキャナ57、タッチパネル58、プリンタ59、リーダ・ライタ60、パトランプ61等のデバイスインターフェース又はデバイスを接続する。 The payment device 12 constitutes a computer by connecting the processor 51 to the main memory 52, the auxiliary storage device 53, the clock 54, and the communication unit 55 via a system transmission path 62. The payment device 12 then connects device interfaces or devices, such as a change machine interface 56, a scanner 57, a touch panel 58, a printer 59, a reader/writer 60, and a patrol lamp 61, to the computer via the system transmission path 62.

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

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

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

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

スキャナ57は、バーコード、二次元コード等のコードシンボルを読み取るための入力デバイスである。タッチパネル58は、入力デバイスと表示デバイスとを兼ね備えた機器である。タッチパネル58は、決済装置12のオペレータである客22に対して情報の表示を行い、その客22による操作入力を受け付ける。プリンタ59は、レシート用紙に対して各種の文字列又は画像等を印刷することにより、レシートを発行する。 The scanner 57 is an input device for reading code symbols such as barcodes and two-dimensional codes. The touch panel 58 is a device that combines an input device and a display device. The touch panel 58 displays information to the customer 22, who is the operator of the payment device 12, and accepts operational input from the customer 22. The printer 59 issues receipts by printing various characters or images on receipt paper.

リーダ・ライタ60は、カード、スマートフォン等の媒体に記録されたデータを読み取る機能と、上記媒体へデータを書き込む機能とを有する。カードは、クレジットカード、デビットカード、電子マネーカード、プリペイドカード等の決済用カードの他に、メンバーズカードやポイントカード等と称される会員カードを含み得る。リーダ・ライタ60は、磁気式、接触式、あるいは非接触式のいずれのデバイスであってもよいし、また複数種のデバイスを含んでいてもよい。 The reader/writer 60 has the function of reading data recorded on a medium such as a card or a smartphone, and the function of writing data to the above-mentioned medium. Cards may include payment cards such as credit cards, debit cards, electronic money cards, and prepaid cards, as well as membership cards such as member's cards and point cards. The reader/writer 60 may be a magnetic, contact, or non-contact device, or may include multiple types of devices.

パトランプ61は、例えば赤色と青色の二色の発光体を有する。パトランプ61は、決済装置12に対応付けてその近傍に立設されたポールの頂部に設けられており、対応する決済装置12の状態に応じて、例えば赤色又は青色で点灯又は点滅する。 The patrol lamp 61 has light-emitting elements of two colors, for example, red and blue. The patrol lamp 61 is provided at the top of a pole that is erected in the vicinity of the payment device 12 in correspondence with the payment device 12, and lights up or flashes, for example, in red or blue, depending on the state of the corresponding payment device 12.

このような決済装置12のハードウェアとしては、例えば既存のセルフ方式のPOS端末、いわゆるセルフレジを利用することが可能である。なお、決済装置12に接続されるデバイスは、スキャナ57、タッチパネル58、プリンタ59、リーダ・ライタ60及びパトランプ61に限定されるものではない。決済装置12の用途において必要なデバイスを追加したり、一部のデバイスを省略したりしてもよい。 As the hardware for such a payment device 12, for example, an existing self-service POS terminal, a so-called self-checkout register, can be used. The devices connected to the payment device 12 are not limited to the scanner 57, touch panel 58, printer 59, reader/writer 60, and patrol lamp 61. Devices required for the purpose of the payment device 12 may be added, or some devices may be omitted.

かかる構成の決済装置12において、プロセッサ51は、受信手段511、実行手段512、選択手段513、転送手段514、変更手段515、通知手段516及び復旧手段517としての機能を有する。 In the payment device 12 configured in this manner, the processor 51 has the functions of a receiving means 511, an executing means 512, a selecting means 513, a transferring means 514, a changing means 515, a notifying means 516, and a restoring means 517.

受信手段511は、入力処理装置11からネットワーク14を介して送信される決済情報を通信ユニット55で受信する機能である。実行手段512は、当該プロセッサ51を搭載した決済装置12が決済処理を実行し得る状態のとき、受信手段511で受信した決済情報に基づく決済処理を実行する機能である。以下では、当該プロセッサ51を搭載した決済装置12を当該決済装置12と表し、その他の決済装置12を他の決済装置と表す。 The receiving means 511 is a function that receives payment information transmitted from the input processing device 11 via the network 14 using the communication unit 55. The executing means 512 is a function that executes payment processing based on the payment information received by the receiving means 511 when the payment device 12 equipped with the processor 51 is in a state in which it can execute payment processing. In the following, the payment device 12 equipped with the processor 51 is referred to as the payment device 12, and other payment devices 12 are referred to as other payment devices.

選択手段513は、当該決済装置12が決済処理を実行し得ない状態のとき、他の決済装置12のネットワーク14への接続状態を示す情報を検索し、ネットワーク14に接続された状態にある他の決済装置12のうちの1台を選択する機能である。プロセッサ51は、データテーブル521を利用して、ネットワーク14に接続された状態にある他の決済装置12を選択する。 The selection means 513 is a function that searches for information indicating the connection status of other payment devices 12 to the network 14 when the payment device 12 is in a state where it cannot execute the payment process, and selects one of the other payment devices 12 that are connected to the network 14. The processor 51 uses the data table 521 to select another payment device 12 that is connected to the network 14.

図5は、データテーブル521のデータ構造を示す模式図である。データテーブル521は、メインメモリ52の揮発性メモリ領域に設けられている。図示するように、データテーブル521は、複数台の決済装置12(12-1,12-2,12-3)の各決済装置IDとそれぞれ関連付けて、転送順位RとステータスSとを記憶するようにしたデータ構造を有している。 Figure 5 is a schematic diagram showing the data structure of data table 521. Data table 521 is provided in the volatile memory area of main memory 52. As shown in the figure, data table 521 has a data structure that stores a transfer order R and a status S in association with each payment device ID of multiple payment devices 12 (12-1, 12-2, 12-3).

転送順位Rは、複数台の決済装置12(12-1,12-2,12-3)の間で、決済情報を転送する際の優先順位である。本実施形態では、決済装置IDが「121」の第1決済装置12-1の転送順位Rを1位とし、決済装置IDが「122」の第2決済装置12-2の転送順位Rを2位とし、決済装置IDが「123」の第3決済装置12-3の転送順位Rを3位とする。なお、転送順位Rが1位の決済装置12-1が必ずしも親機であるとは限らない。前述したように、子機に設定された決済装置12-2~12-3は、親機の決済装置12-1の状態を監視し、決済装置12-1がダウンすると、自らが親機となることを宣言する機能を有している。したがって、決済装置12-2又は決済装置12-3が親機となる場合もあり得る。 The transfer order R is the priority order when transferring payment information between multiple payment devices 12 (12-1, 12-2, 12-3). In this embodiment, the transfer order R of the first payment device 12-1 with a payment device ID of "121" is set to 1st, the transfer order R of the second payment device 12-2 with a payment device ID of "122" is set to 2nd, and the transfer order R of the third payment device 12-3 with a payment device ID of "123" is set to 3rd. Note that the payment device 12-1 with the transfer order R of 1st is not necessarily the parent device. As described above, the payment devices 12-2 to 12-3 set as child devices have the function of monitoring the status of the parent payment device 12-1 and declaring that they will become the parent device when the payment device 12-1 goes down. Therefore, the payment device 12-2 or the payment device 12-3 may become the parent device.

ステータスSは、複数台の決済装置12(12-1,12-2,12-3)のネットワーク14への接続状態を示す情報である。接続状態には、オンライン状態、オフライン状態、復旧状態の3種類がある。オンライン状態は、決済装置12がネットワーク14を通じて送信されるデータを受信可能な状態である。オフライン状態は、決済装置12がネットワーク14を通じて送信されるデータを受信不可能な状態である。例えば電源がオフになっている決済装置12は、オフライン状態となる。例えば通信系に異常が生じた決済装置12も、オフライン状態となる。復旧状態は、決済装置12がオフライン状態からオンライン状態に復旧した状態である。本実施形態では、オンライン状態を表すステータスSを“0”とし、オフライン状態を表すステータスSを“2”とし、復旧状態を表すステータスSを“1”とする。そして、第1決済装置12-1のステータスSをSaとし、第2決済装置12-2のステータスSをSbとし、第3決済装置12-3のステータスSをScとする。 The status S is information indicating the connection state of the multiple payment devices 12 (12-1, 12-2, 12-3) to the network 14. There are three types of connection states: online state, offline state, and recovery state. The online state is a state in which the payment device 12 can receive data transmitted through the network 14. The offline state is a state in which the payment device 12 cannot receive data transmitted through the network 14. For example, a payment device 12 whose power is turned off is in the offline state. For example, a payment device 12 whose communication system has an abnormality is also in the offline state. The recovery state is a state in which the payment device 12 has recovered from the offline state to the online state. In this embodiment, the status S representing the online state is "0", the status S representing the offline state is "2", and the status S representing the recovery state is "1". The status S of the first payment device 12-1 is Sa, the status S of the second payment device 12-2 is Sb, and the status S of the third payment device 12-3 is Sc.

図4の説明に戻る。
転送手段514は、選択手段513により選択した他の決済装置12に決済情報を転送(送信)する機能である。変更手段515は、転送手段514による決済情報の転送に失敗した場合、転送に失敗した他の決済装置12に対するステータスS、つまりは接続状態を示す情報を、ネットワーク14に接続された状態を示す情報の値“0”から、ネットワーク14から切断された状態を示す情報の値“2”に変更する機能である。通知手段516は、転送手段514による決済情報の転送に失敗した場合、入力処理装置11に対して転送失敗を通知する機能である。復旧手段517は、ネットワーク14から切断された他の決済装置12がネットワーク14に接続された場合に、当該他の決済装置12に対するステータスS、つまりは接続状態を示す情報を、ネットワーク14から切断された状態を示す情報値“2”から、復旧状態にあることを示す情報の値“1”に変更する機能である。
Returning to the explanation of FIG.
The transfer means 514 is a function of transferring (transmitting) the payment information to the other payment device 12 selected by the selection means 513. The change means 515 is a function of changing the status S, i.e., information indicating the connection state, for the other payment device 12 to which the transfer by the transfer means 514 has failed, from the value "0" indicating a state connected to the network 14 to the value "2" indicating a state disconnected from the network 14. The notification means 516 is a function of notifying the input processing device 11 of the transfer failure, when the transfer by the transfer means 514 has failed. The recovery means 517 is a function of changing the status S, i.e., information indicating the connection state, for the other payment device 12, from the information value "2" indicating a state disconnected from the network 14 to the information value "1" indicating a restored state, when the other payment device 12 disconnected from the network 14 is connected to the network 14.

受信手段511、実行手段512、選択手段513、転送手段514、変更手段515及び通知手段516としての機能は、プロセッサ51が決済プログラムに従って実行する第3の情報処理によって実現される。復旧手段517としての機能は、プロセッサ51が同じく決済プログラムに従って実行する第4の情報処理によって実現される。第3の情報処理及び第4の情報処理については後述する。 The functions of the receiving means 511, the executing means 512, the selecting means 513, the transferring means 514, the changing means 515 and the notifying means 516 are realized by a third information processing executed by the processor 51 according to the payment program. The function of the recovery means 517 is realized by a fourth information processing executed by the processor 51 according to the payment program. The third information processing and the fourth information processing will be described later.

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

なお、コンピュータに復旧手段517としての機能を実現させるプログラムは、コンピュータに受信手段511、実行手段512、選択手段513、転送手段514、変更手段515及び通知手段516としての機能を実現させるプログラムと別であってもよい。 The program that causes the computer to realize the functions of the recovery means 517 may be separate from the program that causes the computer to realize the functions of the receiving means 511, the executing means 512, the selecting means 513, the forwarding means 514, the changing means 515, and the notifying means 516.

[情報処理の説明]
次に、図6乃至図9の流れ図を用いて、取引処理システム100を構成する入力処理装置11及び決済装置12の主要な情報処理の内容と手順を説明する。なお、以下に説明する情報処理の内容と手順は一例である。同様な作用効果を奏し得るのであれば、その内容及び手順は適宜変更することができる。
[Description of Information Processing]
Next, the contents and procedures of the main information processing of the input processing device 11 and the settlement device 12 constituting the transaction processing system 100 will be explained using the flowcharts of Figures 6 to 9. Note that the contents and procedures of the information processing explained below are merely examples. The contents and procedures can be changed as appropriate as long as the same operational effects can be achieved.

図6は、入力処理装置11のプロセッサ31が登録プログラムにしたがって実行する第1の情報処理の要部手順を示す流れ図である。客22は、売場に陳列されている商品の中から購入する商品を買物籠等に入れ、チェックアウトレーンに向かう。客22がチェックアウトレーンに来ると、チェッカとしての役割を担う店員21は、入力処理装置11に対して登録開始の宣言操作を行う。この操作を受けて、プロセッサ31は、第1の情報処理を開始する。 Figure 6 is a flow chart showing the main steps of the first information processing executed by the processor 31 of the input processing device 11 in accordance with the registration program. The customer 22 places the products he or she wishes to purchase from those displayed in the sales area into a shopping basket or the like, and heads to the checkout lane. When the customer 22 reaches the checkout lane, the store clerk 21, who acts as a checker, declares the start of registration to the input processing device 11. In response to this operation, the processor 31 starts the first information processing.

先ずプロセッサ31は、ACT1としてタッチパネル38に登録画面を表示させる。登録画面は、例えば明細領域と合計領域とを配置し、さらに小計ボタン等を配置した画面である。明細領域は、一連の番号順に、商品名、個数、単価及び金額をリスト形式で表示するための領域である。合計領域は、明細領域に表示された個数の合計(点)と金額の合計(円)とをそれぞれ表示するための領域である。小計ボタンは、客22が購入する買上商品の小計出力を指示するために店員21がタッチ操作する操作子である。 First, the processor 31 displays a registration screen on the touch panel 38 in ACT 1. The registration screen is a screen that, for example, has a details area and a total area, as well as a subtotal button and the like. The details area is an area for displaying the product name, quantity, unit price, and amount in list format in sequential numerical order. The total area is an area for displaying the total quantity (points) and total amount (yen) displayed in the details area. The subtotal button is an operator that the store clerk 21 touches to instruct the output of a subtotal for the products purchased by the customer 22.

登録画面の表示を制御したプロセッサ31は、ACT2として商品に係るデータが入力されるのを待ち受ける。多くの商品には、その商品の識別情報である商品コードを表すバーコードが付されている。そこで店員21は、スキャナ37を操作して客22が購入する買上商品に付されたバーコードを読み取る。スキャナ37でバーコードが読み取られることによって、買上商品の商品コードが入力処理装置11に入力される。一方、生鮮食品などの一部の商品にはバーコードが付されていないことがある。買上商品にバーコードが付されていない場合、店員21は、タッチパネル38に表示される商品ボタン群の中から、買上商品に対応した商品ボタンをタッチする。商品ボタンがタッチされると、その商品ボタンに対応した商品の商品コードが入力処理装置11に入力される。 After controlling the display of the registration screen, the processor 31 waits for data relating to the product to be input in ACT 2. Many products are affixed with a barcode indicating the product code, which is the product's identification information. The store clerk 21 operates the scanner 37 to read the barcode attached to the product purchased by the customer 22. When the barcode is read by the scanner 37, the product code of the purchased product is input to the input processing device 11. On the other hand, some products, such as fresh foods, may not have a barcode attached. If the purchased product does not have a barcode attached, the store clerk 21 touches a product button corresponding to the purchased product from the group of product buttons displayed on the touch panel 38. When the product button is touched, the product code of the product corresponding to that product button is input to the input processing device 11.

プロセッサ31は、商品コードが入力されると、ACT2からACT3へと進む。プロセッサ31は、ACT3として商品販売データ処理を実行する。すなわちプロセッサ31は、スキャナ37又はタッチパネル38を介して入力された商品コードで識別される商品の商品レコードから商品名、単価、属性等の商品データを取得する。そしてプロセッサ31は、商品コード、商品名、単価、販売点数、販売金額、属性等の項目を含む商品販売データを、トランザクションメモリに書き込む。トランザクションメモリは、メインメモリ32における揮発性メモリ領域の一部である。 When the product code is input, the processor 31 proceeds from ACT 2 to ACT 3. The processor 31 executes product sales data processing in ACT 3. That is, the processor 31 acquires product data such as the product name, unit price, attributes, etc. from the product record of the product identified by the product code input via the scanner 37 or touch panel 38. The processor 31 then writes the product sales data, including items such as the product code, product name, unit price, sales quantity, sales amount, attributes, etc., into the transaction memory. The transaction memory is part of the volatile memory area in the main memory 32.

商品販売データ処理を終えたプロセッサ31は、ACT4として小計ボタンが入力されたか否かを確認する。店員は、客22が購入する買上商品の商品コードを入力するための操作を順次行う。そして、全ての買上商品の商品コードを入力し終えると、小計ボタンをタッチ操作する。 After completing the product sales data processing, the processor 31 checks whether the subtotal button has been pressed in ACT 4. The store clerk performs operations in sequence to input the product codes of the products purchased by the customer 22. Then, when the product codes of all the purchased products have been input, the store clerk touches the subtotal button.

プロセッサ31は、小計ボタンが入力されず、次の買上商品の商品コードが入力された場合、ACT4からACT2へと戻り、さらにACT3へと進む。すなわちプロセッサ31は、買上商品の商品コードに基づいて商品販売データ処理を実行する。その結果、買上商品の商品販売データがトランザクションメモリに順次記憶される。 If the subtotal button is not pressed and the product code of the next purchased item is entered, the processor 31 returns from ACT 4 to ACT 2 and then proceeds to ACT 3. That is, the processor 31 executes product sales data processing based on the product code of the purchased item. As a result, the product sales data of the purchased item is stored sequentially in the transaction memory.

小計ボタンが入力されると、プロセッサ31は、ACT4からACT5へと進む。プロセッサ31は、ACT5として小計画面を表示させる。小計画面は、合計領域を配置し、さらに会計ボタン等を配置した画面である。合計領域は、登録画面の合計領域と同じである。会計ボタンは、客22が会計に移ることを指示するために店員21がタッチ操作する操作子である。小計画面を確認した店員21は、会計ボタンをタッチ操作する。 When the subtotal button is input, the processor 31 proceeds from ACT 4 to ACT 5. The processor 31 displays the subtotal screen in ACT 5. The subtotal screen is a screen on which a total area is arranged, and a checkout button and the like are also arranged. The total area is the same as the total area on the registration screen. The checkout button is an operator that the store clerk 21 touches to instruct the customer 22 to move on to checkout. After checking the subtotal screen, the store clerk 21 touches the checkout button.

小計画面の表示を制御したプロセッサ31は、ACT6として会計ボタンが入力されるのを待ち受ける。会計ボタンが入力されると、プロセッサ31は、ACT6からACT7へと進む。プロセッサ31は、ACT7として決済情報を作成する。すなわちプロセッサ31は、トランザクションメモリに記憶された各買上商品の商品販売データ及びその合計点数並びに合計金額のデータと、取引番号、取引日時、入力処理装置11の端末ID等の取引特定データとにより、取引の決済に必要な決済情報を作成する。 After controlling the display of the sub-menu screen, processor 31 waits for the checkout button to be pressed in ACT 6. When the checkout button is pressed, processor 31 proceeds from ACT 6 to ACT 7. Processor 31 creates payment information in ACT 7. That is, processor 31 creates the payment information required to settle the transaction based on the product sales data and total number and total amount data for each purchased item stored in the transaction memory, and transaction specific data such as the transaction number, transaction date and time, and the terminal ID of the input processing device 11.

決済情報を作成し終えると、プロセッサ31は、ACT8へと進む。プロセッサ31は、ACT8として親機に設定された決済装置12を選択する。すなわちプロセッサ31は、データテーブル321を参照して親機フラグFが“1”に設定されている決済装置IDで識別される決済装置12を選択する。以下では、データテーブル321が図3に示す状態、つまりは決済装置IDが「121」の第1決済装置12-1が親機に設定されているものとして説明を続ける。 When the processor 31 has finished creating the payment information, it proceeds to ACT 8. The processor 31 selects the payment device 12 that has been set as the parent device in ACT 8. That is, the processor 31 refers to the data table 321 and selects the payment device 12 identified by the payment device ID in which the parent device flag F is set to "1". In the following, the explanation will be continued assuming that the data table 321 is in the state shown in FIG. 3, that is, the first payment device 12-1 with the payment device ID of "121" is set as the parent device.

親機に設定された第1決済装置12-1を選択したならば、プロセッサ31は、ACT9へと進む。プロセッサ31は、ACT9として第1決済装置12-1を送信先として決済情報を送信するように通信ユニット35を制御する。この制御により、第1決済装置12-1を送信先として決済情報がネットワーク14に送信される。 If the first payment device 12-1 set as the parent device is selected, the processor 31 proceeds to ACT 9. In ACT 9, the processor 31 controls the communication unit 35 to transmit payment information to the first payment device 12-1 as the destination. With this control, the payment information is transmitted to the network 14 with the first payment device 12-1 as the destination.

決済情報を送信し終えたプロセッサ31は、ACT10として決済不可の応答コマンドを受信したか否かを確認する。決済不可の応答コマンドを受信していない場合、プロセッサ31は、ACT10からACT11へと進む。プロセッサ31は、ACT11として決済可能の応答コマンドを受信したか否かを確認する。決済可能の応答コマンドを受信していない場合、プロセッサ31は、ACT11からACT10へと戻る。このように、決済情報を送信し終えたプロセッサ31は、ACT10及びACT11として決済不可又は決済可能の応答コマンドを待ち受ける。決済不可の応答コマンドは、ネットワーク14に接続された決済装置12において決済処理が不可能な場合に返信される。決済可能の応答コマンドは、決済装置12において決済処理が可能な場合に返信される。 After completing transmission of the payment information, the processor 31 checks whether or not a response command indicating that payment is not possible has been received in ACT 10. If a response command indicating that payment is not possible has not been received, the processor 31 proceeds from ACT 10 to ACT 11. The processor 31 checks whether or not a response command indicating that payment is possible has been received in ACT 11. If a response command indicating that payment is possible has not been received, the processor 31 returns from ACT 11 to ACT 10. In this way, after completing transmission of the payment information, the processor 31 waits for a response command indicating that payment is not possible or that payment is possible in ACT 10 and ACT 11. The response command indicating that payment is not possible is returned when payment processing is not possible in the payment device 12 connected to the network 14. The response command indicating that payment is possible is returned when payment processing is possible in the payment device 12.

ACT10及びACT11の待ち受け状態において、決済不可の応答コマンドを受信した場合には、プロセッサ31は、ACT10からACT12へと進む。プロセッサ31は、ACT12として決済が不可であることを報知する。例えばプロセッサ31は、タッチパネル38に決済が不可であることを通知するための画面を表示して店員に報知する。この画面には再送を指示する操作子がある。店員は、再送を指示する操作子にタッチする。 If a response command indicating that payment is not possible is received during the standby state of ACT 10 and ACT 11, the processor 31 proceeds from ACT 10 to ACT 12. The processor 31 notifies the store clerk that payment is not possible in ACT 12. For example, the processor 31 notifies the store clerk by displaying a screen on the touch panel 38 to notify the store clerk that payment is not possible. This screen has an operator that instructs resending. The store clerk touches the operator that instructs resending.

決済が不可であることを報知したプロセッサ31は、ACT13へと進む。プロセッサ31は、ACT13として再送が指示されるのを待ち受ける。プロセッサ31は、操作子のタッチ操作により再送が指示されたことを検知すると、ACT13からACT9へと戻る。プロセッサ31は、再度、親機に設定された第1決済装置12-1に対して決済情報を送信するための制御を行う。そしてプロセッサ31は、決済不可又は決済可能の応答コマンドを待ち受ける。 After notifying that payment is not possible, the processor 31 proceeds to ACT 13. The processor 31 waits for an instruction to resend in ACT 13. When the processor 31 detects that an instruction to resend has been given by a touch operation of the operator, the processor 31 returns from ACT 13 to ACT 9. The processor 31 again performs control to send payment information to the first payment device 12-1 set in the parent device. The processor 31 then waits for a response command indicating that payment is not possible or that payment is possible.

ACT10及びACT11の待ち受け状態において、決済可能の応答コマンドを受信した場合には、プロセッサ31は、ACT11からACT14へと進む。プロセッサ31は、ACT14として決済先となる決済装置12を通知する。例えばプロセッサ31は、決済可能の応答コマンド送信元の決済装置12が第1決済装置12-1である場合、決済先が第1決済装置12-1であることを通知する情報をタッチパネル38に表示させて店員に通知する。この通知を受けた店員は、客22に対し、第1決済装置12-1で決済を行うように指示する。なお、決済先の通知は、客用ディスプレイ39であってもよい。あるいは、タッチパネル38と客用ディスプレイ39の双方であってもよい。ACT14の処理を終えると、プロセッサ31は、第1の情報処理を終了する。 If the processor 31 receives a response command indicating that payment is possible during the standby state of ACT10 and ACT11, the processor 31 proceeds from ACT11 to ACT14. The processor 31 notifies the payment device 12 that will be the payment destination in ACT14. For example, if the payment device 12 that transmitted the response command indicating that payment is possible is the first payment device 12-1, the processor 31 notifies the store clerk by displaying information on the touch panel 38 notifying that the payment destination is the first payment device 12-1. The store clerk who receives this notification instructs the customer 22 to make payment at the first payment device 12-1. The notification of the payment destination may be displayed on the customer display 39. Alternatively, it may be displayed on both the touch panel 38 and the customer display 39. When the processing of ACT14 is completed, the processor 31 ends the first information processing.

ここに、プロセッサ31は、ACT7の処理により作成手段311としての機能を実現する。プロセッサ31は、ACT8及びACT9の処理により送信手段312としての機能を実現する。 Here, the processor 31 realizes the function of the creation means 311 by the processing of ACT 7. The processor 31 realizes the function of the transmission means 312 by the processing of ACT 8 and ACT 9.

図7は、決済装置12のプロセッサ51が決済プログラムに従って実行する第3の情報処理の手順を示す流れ図である。プロセッサ51は、ACT21として決済情報を待ち受けている。入力処理装置11から送信され、あるいは転送順位が上位の他の決済装置12から送信された決済情報を通信ユニット55で受信すると、プロセッサ51は、ACT21からACT22へと進む。プロセッサ51は、ACT22として当該決済装置12が決済処理を実行可能であるか否かを確認する。例えば前の客の決済処理が終了していない場合、当該決済装置12は、次の客の決済処理を実行することはできない。また、プリンタ59の用紙詰まり、用紙切れ等のプリンタエラー、あるいは釣銭機の貨幣詰まり、釣銭切れなどの釣銭機エラーが発生している場合、当該決済装置12は、決済処理を実行することができない。 Figure 7 is a flow chart showing the procedure of the third information processing executed by the processor 51 of the payment device 12 according to the payment program. The processor 51 waits for payment information in ACT 21. When the processor 51 receives payment information by the communication unit 55, which is sent from the input processing device 11 or from another payment device 12 with a higher transfer order, the processor 51 proceeds from ACT 21 to ACT 22. In ACT 22, the processor 51 checks whether the payment device 12 is capable of executing the payment process. For example, if the payment process of the previous customer has not been completed, the payment device 12 cannot execute the payment process of the next customer. In addition, if a printer error such as a paper jam or paper out in the printer 59, or a change machine error such as a coin jam or out of change in the change machine, occurs, the payment device 12 cannot execute the payment process.

当該決済装置12が決済処理を実行可能である場合には、プロセッサ51は、ACT22からACT23へと進む。プロセッサ51は、ACT23として決済可能通知コマンドを入力処理装置11に対して送信するように通信ユニット55を制御する。この制御により、当該決済装置12から入力処理装置11に対し、ネットワーク14を通じて決済可能通知コマンドが送信される。 If the payment device 12 is capable of executing the payment process, the processor 51 proceeds from ACT 22 to ACT 23. In ACT 23, the processor 51 controls the communication unit 55 to send a payment possible notification command to the input processing device 11. Through this control, the payment device 12 sends the payment possible notification command to the input processing device 11 via the network 14.

プロセッサ51は、ACT24として決済処理を実行する。具体的には、プロセッサ51は、タッチパネル58の画面を支払方法選択画面とする。支払方法選択画面は、例えば、現金ボタン、クレジットボタン、電子マネーボタン等の支払い方法を選択するための操作子を配置した画面である。店員21によって指示された決済装置12の設置場所に移動した客22は、希望する支払方法に対応したボタンにタッチする。すなわち、現金支払いを希望する客22は現金ボタンにタッチし、クレジットカード支払いを希望する客22はクレジットボタンにタッチし、電子マネー支払いを希望する客22は電子マネーボタンにタッチする。 The processor 51 executes the payment process as ACT 24. Specifically, the processor 51 sets the screen of the touch panel 58 to a payment method selection screen. The payment method selection screen is a screen on which operators for selecting a payment method, such as a cash button, a credit button, an electronic money button, etc., are arranged. The customer 22 who moves to the location of the payment device 12 instructed by the store clerk 21 touches the button corresponding to the desired payment method. That is, a customer 22 who wishes to pay by cash touches the cash button, a customer 22 who wishes to pay by credit card touches the credit button, and a customer 22 who wishes to pay by electronic money touches the electronic money button.

支払方法選択画面の表示を制御したプロセッサ51は、いずれかの支払方法が選択されるのを待ち受ける。そして、支払方法が選択されたならば、プロセッサ51は、その支払方法に対応した決済処理を実行する。例えば支払方法として現金が選択された場合、プロセッサ51は、自動釣銭機に投入された金額から合計金額を差し引き、釣銭を算出して自動釣銭機から払い出す処理を実行する。例えば支払方法としてクレジットカードが選択された場合、プロセッサ51は、リーダ・ライタ60で読み取ったクレジットカードの認証を行い、承認されたことを条件に合計金額をクレジット決済金額として確定する。例えば支払方法として電子マネーが選択された場合、プロセッサ51は、リーダ・ライタ60で読み取った電子マネー媒体の残高から合計金額を引き去る。 Processor 51, which has controlled the display of the payment method selection screen, waits for one of the payment methods to be selected. Then, when a payment method is selected, processor 51 executes the settlement process corresponding to that payment method. For example, when cash is selected as the payment method, processor 51 executes the process of subtracting the total amount from the amount inserted into the automatic change machine, calculating the change, and dispensing it from the automatic change machine. For example, when a credit card is selected as the payment method, processor 51 authenticates the credit card read by reader/writer 60, and, if approved, determines the total amount as the credit settlement amount. For example, when electronic money is selected as the payment method, processor 51 subtracts the total amount from the balance of the electronic money medium read by reader/writer 60.

こうして、支払方法別の決済処理が終了すると、プロセッサ51は、ACT25としてプリンタ59を制御し、取引レシートを発行する。取引レシートには、決済情報、つまりは取引番号、取引日時、端末ID、商品販売データ、合計点数、合計金額等が印刷される。ACT25の処理を終えると、プロセッサ51は、第3の情報処理を終了する。 When the payment process for each payment method is thus completed, the processor 51 controls the printer 59 in ACT 25 to issue a transaction receipt. The transaction receipt prints payment information, i.e., the transaction number, transaction date and time, terminal ID, product sales data, total points, total amount, etc. When the processing of ACT 25 is completed, the processor 51 ends the third information processing.

一方、当該決済装置12が決済処理を実行不可能である場合には、プロセッサ51は、ACT22からACT26へと進む。プロセッサ51は、ACT26としてデータテーブル521を参照して当該決済装置12の転送順位Rを取得する。 On the other hand, if the payment device 12 is unable to execute the payment process, the processor 51 proceeds from ACT 22 to ACT 26. In ACT 26, the processor 51 refers to the data table 521 to obtain the transfer order R of the payment device 12.

プロセッサ51は、ACT27としてその転送順位Rに“1”を加算する。そしてプロセッサ51は、データテーブル521を参照して転送順位が“R+1”位に設定された他の決済装置12を選択する。プロセッサ51は、ACT28として転送順位が“R+1”位に設定された他の決済装置12を選択可能か確認する。以下では、転送順位が“R+1”位に設定された他の決済装置12を決済装置12(R+1)と表し、転送順位が“R+2”位に設定された他の決済装置12を決済装置12(R+2)と表す。決済装置12(R+1)を選択不可能な場合、プロセッサ51は、ACT29乃至ACT34の処理をスキップして、ACT35へと進む。プロセッサ51は、ACT35として決済不可通知コマンドを入力処理装置11に対して送信するように通信ユニット55を制御する。この制御により、当該決済装置12から入力処理装置11に対し、ネットワーク14を通じて決済可能通知コマンドが送信される。 The processor 51 adds "1" to the transfer order R in ACT 27. Then, the processor 51 refers to the data table 521 and selects another payment device 12 whose transfer order is set to "R+1". The processor 51 checks whether the other payment device 12 whose transfer order is set to "R+1" can be selected in ACT 28. Hereinafter, the other payment device 12 whose transfer order is set to "R+1" is represented as payment device 12(R+1), and the other payment device 12 whose transfer order is set to "R+2" is represented as payment device 12(R+2). If the payment device 12(R+1) cannot be selected, the processor 51 skips the processes in ACT 29 to ACT 34 and proceeds to ACT 35. The processor 51 controls the communication unit 55 to transmit a payment failure notification command to the input processing device 11 in ACT 35. By this control, the payment device 12 transmits a payment possible notification command to the input processing device 11 through the network 14.

決済装置12(R+1)を選択可能である場合には、プロセッサ51は、ACT28からACT29へと進む。プロセッサ51は、ACT29として決済装置12(R+1)のステータスSを調べる。ステータスSが“0”すなわち決済装置12(R+1)がオンライン状態であるか、ステータスSが“1”すなわち決済装置12(R+1)が復旧状態である場合には、プロセッサ51は、ACT29からACT30へと進む。プロセッサ51は、ACT30として決済情報を決済装置12(R+1)に転送するように通信ユニット55を制御する。この制御により、当該決済装置12から転送順位が1つ下の決済装置12(R+1)に対し、ネットワーク14を通じて決済情報が送信される。 If the payment device 12 (R+1) is selectable, the processor 51 proceeds from ACT28 to ACT29. In ACT29, the processor 51 checks the status S of the payment device 12 (R+1). If the status S is "0", i.e., the payment device 12 (R+1) is online, or if the status S is "1", i.e., the payment device 12 (R+1) is restored, the processor 51 proceeds from ACT29 to ACT30. In ACT30, the processor 51 controls the communication unit 55 to transfer the payment information to the payment device 12 (R+1). With this control, the payment information is transmitted from the payment device 12 to the payment device 12 (R+1) one step below in the transfer order, via the network 14.

一方、決済装置12(R+1)のステータスSが“2”の場合、プロセッサ51は、ACT29からACT27へと戻る。プロセッサ51は、ACT27以降の処理を前述したのと同様に実行する。したがって、データテーブル521を参照して転送順位が“R+2”位に設定された決済装置12(R+2)を選択し得なかった場合には、プロセッサ51は、決済不可通知コマンドを入力処理装置11に対して送信するように通信ユニット55を制御する。これに対し、転送順位が“R+2”位に設定された決済装置12(R+2)を選択し得、その決済装置12(R+2)に対するステータスSが“0”または“1”である場合には、プロセッサ51は、ACT30として決済情報を転送順位が2つ下の決済装置12(R+2)に転送するように通信ユニット55を制御する。すなわち決済装置12は、転送順位が1つ下の決済装置12(R+1)をスキップして、2つ下の決済装置12(R+2)に決済情報を転送する。 On the other hand, if the status S of the payment device 12 (R+1) is "2", the processor 51 returns from ACT 29 to ACT 27. The processor 51 executes the process from ACT 27 onwards in the same manner as described above. Therefore, when the payment device 12 (R+2) whose transfer order is set to "R+2" cannot be selected by referring to the data table 521, the processor 51 controls the communication unit 55 to transmit a payment impossible notification command to the input processing device 11. On the other hand, when the payment device 12 (R+2) whose transfer order is set to "R+2" can be selected and the status S for the payment device 12 (R+2) is "0" or "1", the processor 51 controls the communication unit 55 to transfer the payment information to the payment device 12 (R+2) whose transfer order is two steps below in ACT 30. That is, the payment device 12 skips the payment device 12 (R+1) whose transfer order is one step below and transfers the payment information to the payment device 12 (R+2) whose transfer order is two steps below.

このようにプロセッサ51は、当該決済装置12が決済処理を実行不可能である場合、当該決済装置12よりも転送順位が下位の決済装置12(R+1)または決済装置12(R+2)に決済情報を転送する。ここで、決済情報を転送した決済装置12(R+1)または決済装置12(R+2)がオンライン状態又は復旧状態の場合には、通常、決済情報の送信がエラーとはならない。一方、オフライン状態の場合には、決済情報の送信がエラーとなる。 In this way, when the payment device 12 is unable to execute the payment process, the processor 51 transfers the payment information to the payment device 12 (R+1) or the payment device 12 (R+2) which is lower in the transfer order than the payment device 12. Here, when the payment device 12 (R+1) or the payment device 12 (R+2) which transferred the payment information is online or in a recovered state, the transmission of the payment information does not usually result in an error. On the other hand, when it is offline, the transmission of the payment information results in an error.

決済情報を送信したプロセッサ51は、ACT31として送信エラーとなったか否かを確認する。送信エラーとならなかった場合、プロセッサ51は、ACT31からACT32へと進む。プロセッサ51は、ACT32として決済情報を送信した決済装置12(R+1)または決済装置12(R+2)に対するステータスSを調べる。ステータスSが“0”である場合、プロセッサ51は、第3の情報処理を終了する。 The processor 51 that transmitted the payment information checks whether or not a transmission error occurred in ACT 31. If no transmission error occurred, the processor 51 proceeds from ACT 31 to ACT 32. The processor 51 checks the status S for the payment device 12 (R+1) or the payment device 12 (R+2) that transmitted the payment information in ACT 32. If the status S is "0", the processor 51 ends the third information processing.

これに対し、ステータスSが“1”であった場合には、プロセッサ51は、ACT32からACT33へと進む。プロセッサ51は、ACT33としてステータスSを“1”から“0”へと変更する。以上で、プロセッサ51は、第3の情報処理を終了する。 On the other hand, if the status S is "1", the processor 51 proceeds from ACT 32 to ACT 33. In ACT 33, the processor 51 changes the status S from "1" to "0". With this, the processor 51 ends the third information processing.

一方、決済情報の送信がエラーとなった場合には、プロセッサ51はACT31からACT34へと進む。プロセッサ51は、ACT34として決済情報の送信先である決済装置12(R+1)または決済装置12(R+2)に対するステータスSを“2”とする。次いでプロセッサ51は、ACT35へと進み、決済不可通知コマンドを入力処理装置11に対して送信するように通信ユニット55を制御する。この制御により、当該決済装置12から入力処理装置11に対し、ネットワーク14を通じて決済不可通知コマンドが送信される。決済不可通知コマンドの送信を制御したプロセッサ51は、第3の情報処理を終了する。 On the other hand, if an error occurs in the transmission of the payment information, the processor 51 proceeds from ACT 31 to ACT 34. In ACT 34, the processor 51 sets the status S for the payment device 12 (R+1) or the payment device 12 (R+2), which is the destination of the payment information, to "2". Next, the processor 51 proceeds to ACT 35 and controls the communication unit 55 to transmit a payment failure notification command to the input processing device 11. With this control, the payment device 12 transmits the payment failure notification command to the input processing device 11 via the network 14. Having controlled the transmission of the payment failure notification command, the processor 51 ends the third information processing.

ここに、プロセッサ51は、ACT21の処理により受信手段511としての機能を実現する。プロセッサ51は、ACT24の処理により実行手段522としての機能を実現する。プロセッサ51は、ACT26乃至ACT29の処理により選択手段523としての機能を実現する。プロセッサ51は、ACT30の処理により転送手段524としての機能を実現する。プロセッサ51は、ACT34の処理により変更手段525としての機能を実現する。プロセッサ51は、ACT35の処理により通知手段526としての機能を実現する。 Here, the processor 51 realizes the function of the receiving means 511 by the processing in ACT 21. The processor 51 realizes the function of the executing means 522 by the processing in ACT 24. The processor 51 realizes the function of the selecting means 523 by the processing in ACT 26 to ACT 29. The processor 51 realizes the function of the forwarding means 524 by the processing in ACT 30. The processor 51 realizes the function of the changing means 525 by the processing in ACT 34. The processor 51 realizes the function of the notifying means 526 by the processing in ACT 35.

図8は、決済装置12のプロセッサ51が決済プログラムに従って実行する第4の情報処理の手順を示す流れ図である。また図9は、入力処理装置11のプロセッサ31が登録プログラムに従って実行する第2の情報処理の手順を示す流れ図である。第4の情報処理と第2の情報処理とは連動しているため、ここでは2つの処理を並行して説明する。 Figure 8 is a flow chart showing the procedure of the fourth information processing executed by the processor 51 of the payment device 12 in accordance with the payment program. Also, Figure 9 is a flow chart showing the procedure of the second information processing executed by the processor 31 of the input processing device 11 in accordance with the registration program. Since the fourth information processing and the second information processing are linked, the two processes are described here in parallel.

決済プログラムが起動している決済装置12のプロセッサ51は、予め設定された周期で第4の情報処理を実行する。先ず、プロセッサ51は、図8のACT41として確認開始コマンドを入力処理装置11に対して送信するように通信ユニット55を制御する。この制御により、当該決済装置12から入力処理装置11に対し、ネットワーク14を通じて確認開始コマンドが送信される。 The processor 51 of the payment device 12 in which the payment program is running executes the fourth information processing at a preset cycle. First, the processor 51 controls the communication unit 55 to send a confirmation start command to the input processing device 11 as ACT 41 in FIG. 8. This control causes the confirmation start command to be sent from the payment device 12 to the input processing device 11 via the network 14.

一方、登録プログラムが起動している入力処理装置11のプロセッサ31は、図9のACT61として確認開始コマンドを待ち受けている。いずれかの決済装置12から確認開始コマンドを受信すると、プロセッサ31は、ACT61からACT62へと進む。プロセッサ31は、ACT62として確認開始コマンドを送信した決済装置12の決済装置IDを取得する。プロセッサ31は、ACT63としてデータテーブル321において当該決済装置IDと関連付けて記憶している接続回数Nを“1”だけカウントアップする。そしてプロセッサ31は、ACT64として確認開始コマンド送信元の決済装置12に対して確認応答コマンドを送信するように制御する。この制御により確認開始コマンド送信元の決済装置12を送信先として確認応答コマンドがネットワーク14に送信される。確認応答コマンドには、データテーブル321のデータ、つまりは決済装置ID別の接続回数Na,Nb,Ncが含まれる。確認応答コマンドの送信を制御したプロセッサ31は、第2の情報処理を終了する。 Meanwhile, the processor 31 of the input processing device 11 in which the registration program is running waits for a confirmation start command as ACT 61 in FIG. 9. When the processor 31 receives a confirmation start command from any of the payment devices 12, the processor 31 proceeds from ACT 61 to ACT 62. The processor 31 acquires the payment device ID of the payment device 12 that sent the confirmation start command as ACT 62. The processor 31 counts up the number of connections N stored in association with the payment device ID in the data table 321 by "1" as ACT 63. Then, the processor 31 controls the transmission of a confirmation response command to the payment device 12 that sent the confirmation start command as ACT 64. With this control, the confirmation response command is transmitted to the network 14 with the payment device 12 that sent the confirmation start command as the transmission destination. The confirmation response command includes the data in the data table 321, that is, the number of connections Na, Nb, and Nc for each payment device ID. The processor 31 that controlled the transmission of the confirmation response command ends the second information processing.

図8の説明に戻る。
確認開始コマンドの送信を制御した決済装置12のプロセッサ51は、ACT42として確認応答コマンドを待ち受けている。入力処理装置11からの確認応答コマンドを受信すると、プロセッサ51は、ACT42からACT43へと進む。プロセッサ51は、ACT43として確認応答コマンドから入力処理装置11が有するデータテーブル321のデータを取得する。
Returning to the explanation of FIG.
The processor 51 of the payment device 12, which controlled the transmission of the confirmation start command, waits for an acknowledgement command in ACT 42. When the processor 51 receives the acknowledgement command from the input processing device 11, the processor 51 proceeds from ACT 42 to ACT 43. In ACT 43, the processor 51 obtains data of the data table 321 held by the input processing device 11 from the acknowledgement command.

プロセッサ51は、ACT44として当該決済装置12が有するデータテーブル521を検索する。そしてプロセッサ51は、ACT45としてステータスSがオフライン状態を示す“2”の決済装置IDが存在するか確認する。ステータスSがオフライン状態を示す“2”の決済装置IDが存在しない場合、プロセッサ51は、ACT45乃至ACT49の処理をスキップして、ACT50へと進む。プロセッサ51は、ACT50として確認応答コマンドから取得したデータテーブル321のデータを記憶する。データテーブル321の記憶先はメインメモリ52であってもよいし、補助記憶デバイス53であってもよい。データテーブル321を記憶したプロセッサ51は、今回の第4の情報処理を終了する。 The processor 51 searches the data table 521 held by the payment device 12 in ACT 44. Then, the processor 51 checks whether there is a payment device ID with a status S of "2" indicating an offline state in ACT 45. If there is no payment device ID with a status S of "2" indicating an offline state in ACT 45, the processor 51 skips the processes in ACT 45 to ACT 49 and proceeds to ACT 50. The processor 51 stores the data of the data table 321 acquired from the confirmation response command in ACT 50. The storage destination of the data table 321 may be the main memory 52 or the auxiliary storage device 53. After storing the data table 321, the processor 51 ends this fourth information processing.

一方、ステータスSがオフライン状態を示す“2”の決済装置IDが存在する場合には、プロセッサ51は、ACT45からACT46へと進む。プロセッサ51は、ACT46として前回の第4の情報処理で記憶したデータテーブル321を検索して、当該決済装置IDと関連付けられた接続回数Nx(Nx=Na,Nb,又はNc)を検出する。またプロセッサ51は、ACT47として確認応答コマンドから取得したデータテーブル321を検索して、当該決済装置IDと関連付けられた接続回数Ny(Ny=Na,Nb,又はNc)を検出する。そしてプロセッサ51は、ACT48として接続回数Nyが接続回数Nxよりも増加したか否かを判定する。 On the other hand, if there is a payment device ID with a status S of "2" indicating an offline state, the processor 51 proceeds from ACT 45 to ACT 46. In ACT 46, the processor 51 searches the data table 321 stored in the previous fourth information processing to detect the number of connections Nx (Nx = Na, Nb, or Nc) associated with the payment device ID. In ACT 47, the processor 51 searches the data table 321 acquired from the confirmation response command to detect the number of connections Ny (Ny = Na, Nb, or Nc) associated with the payment device ID. Then, in ACT 48, the processor 51 determines whether the number of connections Ny has increased more than the number of connections Nx.

接続回数Nyが接続回数Nxよりも増加していない場合、プロセッサ51は、ACT49の処理をスキップしてACT50へと進む。プロセッサ51は、ACT50として確認応答コマンドから取得したデータテーブル321のデータを記憶して、今回の第4の情報処理を終了する。 If the number of connections Ny has not increased more than the number of connections Nx, the processor 51 skips the process in ACT 49 and proceeds to ACT 50. In ACT 50, the processor 51 stores the data in the data table 321 acquired from the confirmation response command, and ends the current fourth information process.

これに対し、接続回数Nyが接続回数Nxよりも増加している場合には、プロセッサ51は、ACT48からACT49へと進む。プロセッサ51は、接続回数が増加した決済装置IDと関連付けられてデータテーブル521に記憶されているステータスSを“2”から“1”へと変更する。その後、プロセッサ51は、ACT50へと進む。プロセッサ51は、ACT50として確認応答コマンドから取得したデータテーブル321のデータを記憶して、今回の第4の情報処理を終了する。 In contrast, if the number of connections Ny is greater than the number of connections Nx, the processor 51 proceeds from ACT 48 to ACT 49. The processor 51 changes the status S stored in the data table 521 in association with the payment device ID with the increased number of connections from "2" to "1". The processor 51 then proceeds to ACT 50. The processor 51 stores the data in the data table 321 acquired from the confirmation response command in ACT 50, and ends the current fourth information processing.

図9を用いて説明したように、接続回数N(Na,Nb,Nc)は、対応する決済装置12から確認開始コマンドを受信する毎に増加する。つまり、オンライン状態である決済装置12の接続回数Nは増加するが、オフライン状態である決済装置12の接続回数Nは増加しない。決済装置12のプロセッサ51は、第4の情報処理によりステータスSが“2”、すなわちオフライン状態にある他の決済装置12の接続回数Nを周期的に監視する。そして、接続回数Nが増加したならば、オフライン状態にあった他の決済装置12が復旧したので、ステータスSを“1”に変更する。ここにプロセッサ51は、ACT41乃至ACT50の処理により復旧手段517としての機能を実現する。また、入力処理装置11のプロセッサ31は、図9のACT61乃至ACT64の処理により確認手段313としての機能を実現する。 As described with reference to FIG. 9, the number of connections N (Na, Nb, Nc) increases each time a confirmation start command is received from the corresponding payment device 12. In other words, the number of connections N of a payment device 12 that is online increases, but the number of connections N of a payment device 12 that is offline does not increase. The processor 51 of the payment device 12 periodically monitors the number of connections N of other payment devices 12 whose status S is "2", that is, offline, by the fourth information processing. If the number of connections N increases, the other payment device 12 that was offline has recovered, so the status S is changed to "1". Here, the processor 51 realizes the function of recovery means 517 by the processing of ACT41 to ACT50. The processor 31 of the input processing device 11 also realizes the function of confirmation means 313 by the processing of ACT61 to ACT64 of FIG. 9.

[取引処理システムの動作]
図10は、親機に設定された第1決済装置12-1が決済処理を可能な状態であるときの取引処理システム100の動作説明図である。なお、各決済装置12(12-1,12-2,12-3)が有するデータテーブル521は、図10に示す値を記憶しているものとする。すなわち、第1決済装置12-1の転送順位が1位であり、第2決済装置12-2の転送順位が2位であり、第3決済装置12-3の転送順位が3位である。また、第1決済装置12-1、第2決済装置12-2及び第3決済装置12-3はオンライン状態である。
[Operation of the Transaction Processing System]
Fig. 10 is an explanatory diagram of the operation of the transaction processing system 100 when the first payment device 12-1 set as the parent device is in a state where payment processing is possible. The data table 521 of each payment device 12 (12-1, 12-2, 12-3) stores the values shown in Fig. 10. That is, the transfer order of the first payment device 12-1 is first, the transfer order of the second payment device 12-2 is second, and the transfer order of the third payment device 12-3 is third. In addition, the first payment device 12-1, the second payment device 12-2, and the third payment device 12-3 are in an online state.

このような状態においては、入力処理装置11から第1決済装置12-1に決済情報が送信されると、第1決済装置12-1から入力処理装置11に決済可能通知コマンドが送信される。そして第1決済装置12-1において決済処理が実行される。 In this state, when payment information is sent from the input processing device 11 to the first payment device 12-1, a payment possible notification command is sent from the first payment device 12-1 to the input processing device 11. Then, the payment process is executed in the first payment device 12-1.

図11は、第1決済装置12-1において、例えば前の客の決済処理がまだ終了しておらず、決済処理が不可能であるときの取引処理システム100の動作説明図である。なお、各決済装置12(12-1,12-2,12-3)が有するデータテーブル521は、図10に示す値と同じである。 Figure 11 is a diagram explaining the operation of the transaction processing system 100 when, for example, the payment process of the previous customer has not yet been completed in the first payment device 12-1 and payment processing is not possible. Note that the data table 521 held by each payment device 12 (12-1, 12-2, 12-3) has the same values as those shown in Figure 10.

このような状態においては、入力処理装置11から第1決済装置12-1に決済情報が送信されると、第1決済装置12-1から転送順位が2位の第2決済装置12-2に決済情報が転送される。ここで、第2決済装置12-2が決済処理を可能な状態であるとすると、第2決済装置12-2から入力処理装置11に決済可能通知コマンドが送信される。そして第2決済装置12-2において決済処理が実行される。 In this state, when payment information is sent from the input processing device 11 to the first payment device 12-1, the payment information is transferred from the first payment device 12-1 to the second payment device 12-2, which is second in the transfer order. If the second payment device 12-2 is now in a state where it can carry out payment processing, it sends a payment possible notification command to the input processing device 11. Then, the payment processing is carried out in the second payment device 12-2.

これに対し、第2決済装置12-2も決済処理が不可能である場合には、第2決済装置12-2から転送順位が3位の第3決済装置12-3に決済情報が転送される。ここで、第3決済装置12-3が決済処理を可能な状態であるとすると、第3決済装置12-3から入力処理装置11に決済可能通知コマンドが送信される。そして第3決済装置12-3において決済処理が実行される。 In contrast, if the second payment device 12-2 is also unable to process the payment, the payment information is transferred from the second payment device 12-2 to the third payment device 12-3, which is third in the transfer order. If the third payment device 12-3 is now able to process the payment, it sends a payment possible notification command to the input processing device 11. The payment process is then carried out in the third payment device 12-3.

なお、第3決済装置12-3も決済処理が不可能である場合には、第3決済装置12-3から入力処理装置11に決済不可通知コマンドが送信される。その結果、入力処理装置11においては、決済が不可であることが報知されるので、店員は再送を指示する。その時点で、例えば第1決済装置12-1が決済処理を可能な状態になっていると、第1決済装置12-1から入力処理装置11に決済可能通知コマンドが送信される。そして第1決済装置12-1において決済処理が実行される。 If the third payment device 12-3 is also unable to process the payment, it sends a payment impossible notification command to the input processing device 11. As a result, the input processing device 11 is notified that payment is impossible, and the store clerk instructs resending. At that point, if the first payment device 12-1 is, for example, in a state where it is able to process the payment, the first payment device 12-1 sends a payment possible notification command to the input processing device 11. Then, the first payment device 12-1 executes the payment process.

図12は、第1決済装置12-1から第2決済装置12-2に決済情報を転送したが、第2決済装置12-2がオフライン状態であったために決済情報を受信できなかったときの取引処理システム100の動作説明図である。第2決済装置12-2に決済情報を転送したが、送信エラーとなった場合、第1決済装置12-1においては、第2決済装置12-2に対するステータスSが0”から“2”に変更される。また第1決済装置12-1から入力処理装置11に決済不可通知コマンドが送信される。その結果、入力処理装置11においては、決済が不可であることが報知されるので、店員は再送を指示する。 Figure 12 is a diagram illustrating the operation of the transaction processing system 100 when payment information is transferred from the first payment device 12-1 to the second payment device 12-2, but the second payment device 12-2 cannot receive the payment information because it is offline. If a transmission error occurs when the payment information is transferred to the second payment device 12-2, the status S for the second payment device 12-2 in the first payment device 12-1 is changed from "0" to "2". In addition, a payment failure notification command is sent from the first payment device 12-1 to the input processing device 11. As a result, the input processing device 11 is notified that payment is not possible, and the store clerk instructs resending.

図13は、入力処理装置11から決済情報が再送されたときの取引処理システム100の動作説明図である。決済情報を受信した第1決済装置12-1においては、転送順位が2位の第2決済装置12-2に対するステータスSが“2”であるために、第2決済装置12-2に対して決済情報を送信しない。第1決済装置12-1は、第2決済装置12-2をスキップして、転送順位が3位の第3決済装置12-3に対して決済情報を転送する。ここで、第3決済装置12-3が決済処理を可能な状態であるとすると、第3決済装置12-3から入力処理装置11に決済可能通知コマンドが送信される。そして第3決済装置12-3において決済処理が実行される。 Figure 13 is an explanatory diagram of the operation of the transaction processing system 100 when payment information is resent from the input processing device 11. In the first payment device 12-1 that receives the payment information, the status S for the second payment device 12-2, which is second in the transfer order, is "2", so the first payment device 12-1 does not transmit the payment information to the second payment device 12-2. The first payment device 12-1 skips the second payment device 12-2 and transfers the payment information to the third payment device 12-3, which is third in the transfer order. If the third payment device 12-3 is now in a state where it can perform payment processing, a payment possible notification command is sent from the third payment device 12-3 to the input processing device 11. Then, the third payment device 12-3 executes the payment processing.

このように、取引処理システム100においては、決済装置12-1から見て転送順位が1つの下の決済装置12-2がオフライン状態であっても、決済装置12-1は、さらに転送順位が下位の決済装置12-3に決済情報を転送することができる。したがって、オフライン状態にある決済装置12-2だけでなく、それよりも転送順位が下位の決済装置12-3においても取引の決済を処理できなくなり処理効率が低下する、という不具合は解消される。その結果、決済処理の処理効率を高めることができる。 In this way, in transaction processing system 100, even if payment device 12-2, which is one step below payment device 12-1 in the transfer order, is offline, payment device 12-1 can transfer payment information to payment device 12-3, which is further down in the transfer order. This eliminates the problem that not only payment device 12-2, which is offline, but also payment device 12-3, which is lower in the transfer order, cannot process transaction settlement, resulting in reduced processing efficiency. As a result, the processing efficiency of payment processing can be improved.

[第2の実施形態]
第1の実施形態では、決済装置12が実行する第3の情報処理のACT35において、プロセッサ51が入力処理装置11に対して送信するコマンドを決済不可通知コマンドとした。第2の実施形態では、図14に示すように、このコマンドをエラー通知コマンドとする。エラー通知コマンドは、当該決済装置12よりも転送順位が下位の他の決済装置12に通信エラーが発生していることを入力処理装置11に通知するためのコマンドである。エラー通知コマンドには、通信エラーによりオフラインとなった決済装置12の決済装置IDが含まれる。
Second Embodiment
In the first embodiment, in ACT 35 of the third information processing executed by the payment device 12, the command sent by the processor 51 to the input processing device 11 is a payment failure notification command. In the second embodiment, as shown in Fig. 14, this command is an error notification command. The error notification command is a command for notifying the input processing device 11 that a communication error has occurred in another payment device 12 that is lower in the transfer order than the payment device 12. The error notification command includes the payment device ID of the payment device 12 that has gone offline due to the communication error.

エラー通知コマンドを送信したプロセッサ51は、ACT35からACT27へと戻る。すなわちプロセッサ51は、前回のACT27の処理において選択した転送順位“R+1”にさらに“1”を加算する。そしてプロセッサ51は、データテーブル521を参照して転送順位が“R+2”位に設定された他の決済装置12(R+2)を選択する。プロセッサ51は、決済装置12(R+2)を選択可能か確認する。決済装置12(R+2)を選択不可能な場合には、プロセッサ51は、決済不可通知コマンドを入力処理装置11に対して送信するように通信ユニット55を制御する。 After sending the error notification command, the processor 51 returns to ACT 27 from ACT 35. That is, the processor 51 adds another "1" to the transfer priority "R+1" selected in the previous processing of ACT 27. The processor 51 then refers to the data table 521 and selects another payment device 12 (R+2) whose transfer priority is set to "R+2". The processor 51 checks whether the payment device 12 (R+2) can be selected. If the payment device 12 (R+2) cannot be selected, the processor 51 controls the communication unit 55 to send a payment impossible notification command to the input processing device 11.

これに対し、決済装置12(R+2)を選択可能である場合には、プロセッサ51は、決済装置12(R+2)のステータスSを調べる。ステータスSが“0”すなわち決済装置12(R+2)がオンライン状態であるか、ステータスSが“1”すなわち決済装置12(R+2)が復旧状態である場合には、プロセッサ51は、決済情報を決済装置12(R+2)に転送するように通信ユニット55を制御する。この制御により、当該決済装置12から転送順位が2つ下の決済装置12(R+2)に対し、ネットワーク14を通じて決済情報が送信される。 On the other hand, if the payment device 12(R+2) is selectable, the processor 51 checks the status S of the payment device 12(R+2). If the status S is "0", i.e., the payment device 12(R+2) is online, or if the status S is "1", i.e., the payment device 12(R+2) is restored, the processor 51 controls the communication unit 55 to transfer the payment information to the payment device 12(R+2). With this control, the payment information is sent from the payment device 12 to the payment device 12(R+2), which is two places below in the transfer order, via the network 14.

一方、第2の実施形態において、入力処理装置11は、プロセッサ31が実行する第1の情報処理のACT9以降の処理の一部が第1の実施形態と異なる。すなわち、第1の実施形態では、図7を用いて説明したように、プロセッサ31は、ACT10及びACT11として決済不可又は決済可能の応答コマンドを待ち受けた。第2の実施形態では、図15に示すように、決済不可又は決済可能の応答コマンドを待ち受けている状態において、さらにACT71としてエラー通知コマンドを受信したか否かを確認する。エラー通知コマンドを受信した場合、プロセッサ31は、ACT71からACT72へと進む。プロセッサ31は、ACT72としてエラー通知コマンドに含まれる決済装置IDで特定される決済装置12がオフラインであることを報知する。そしてプロセッサ31は、決済不可又は決済可能の応答コマンドを待ち受ける。 On the other hand, in the second embodiment, the input processing device 11 differs from the first embodiment in a part of the processing from ACT 9 onwards of the first information processing executed by the processor 31. That is, in the first embodiment, as described with reference to FIG. 7, the processor 31 waits for a response command indicating payment is not possible or payment is possible in ACT 10 and ACT 11. In the second embodiment, as shown in FIG. 15, in a state where a response command indicating payment is not possible or payment is possible is waited for, the processor 31 checks whether an error notification command has been received in ACT 71. If an error notification command has been received, the processor 31 proceeds from ACT 71 to ACT 72. The processor 31 notifies the processor 31 that the payment device 12 identified by the payment device ID included in the error notification command is offline in ACT 72. The processor 31 then waits for a response command indicating payment is not possible or payment is possible.

このような構成の第2の実施形態においても、決済処理を実行し得ない状態である決済装置12は、転送順位が1つ下の決済装置12(R+1)がオフラインであった場合にその決済装置12(R+1)をスキップして、2つ下の決済装置12(R+2)に決済情報を転送することができる。その上、入力処理装置11のオペレータである店員が再送を指示しなくても、決済装置12は、転送順位が2つ下の決済装置12(R+2)に決済情報を転送する。したがって、再送の指示を待つ第1の実施形態よりも処理効率を高めることができる。また店員は、入力処理装置11において報知された情報により、オフラインになった決済装置12を容易に特定することができるので、その決済装置12の復旧作業を迅速に行い得るメリットもある。 Even in the second embodiment with such a configuration, if the payment device 12 that is unable to execute the payment process is offline, the payment device 12 (R+1) that is one step below in the transfer order can skip that payment device 12 (R+1) and transfer the payment information to the payment device 12 (R+2) that is two steps below in the transfer order. Furthermore, even if the store clerk who is the operator of the input processing device 11 does not instruct retransmission, the payment device 12 transfers the payment information to the payment device 12 (R+2) that is two steps below in the transfer order. Therefore, the processing efficiency can be improved compared to the first embodiment in which a retransmission instruction is awaited. In addition, the store clerk can easily identify the payment device 12 that has gone offline by the information notified by the input processing device 11, which has the advantage of being able to quickly perform recovery work for that payment device 12.

[他の実施形態]
前記実施形態では、各決済装置12がそれぞれデータテーブル521をメインメモリ52で記憶する場合を例示した。他の実施形態としては、サーバ13がデータテーブル521を記憶し、各決済装置12がこのデータテーブル521を共有してもよい。
[Other embodiments]
In the above embodiment, an example has been given of a case in which each payment device 12 stores the data table 521 in the main memory 52. In another embodiment, the server 13 may store the data table 521, and each payment device 12 may share this data table 521.

前記実施形態では、1台の入力処理装置11に対して3台の決済装置12(12-1,12-2,12-3)が接続された取引処理システム100を例示した。決済装置12の台数は、3台に限定されるものではない。決済装置12の台数は、4台以上であってもよい。 In the above embodiment, a transaction processing system 100 is illustrated in which three payment devices 12 (12-1, 12-2, 12-3) are connected to one input processing device 11. The number of payment devices 12 is not limited to three. The number of payment devices 12 may be four or more.

前記実施形態では、1台の入力処理装置11と3台の決済装置12(12-1,12-2,12-3)とが1つのグループを構成する場合を例示した。この点に関しては、必ずしもグループを構成しなくてもよい。例えば、複数台の入力処理装置と複数台の決済装置とをそれぞれ別々の場所に分けて配置する。複数台の決済装置には、予め決済情報の転送順位を設定しておく。また、複数台の決済装置のうち1台を親機とし残りを子機とする。複数台の入力処理装置は、親機に決済装置に決済情報を送信する。複数台の決済装置は、当該決済装置が決済処理を実行し得る状態のとき、決済情報に基づく決済処理を実行する。当該決済装置が決済処理を実行し得ない状態のときには、転送順位が下位の他の決済装置に決済情報を転送する。このとき、他の決済装置がオフラインである場合には、さらに下位の他の決済装置に決済情報を転送する。このような構成を採用しても、前記実施形態と同様に効率向上の効果を奏することができる。 In the above embodiment, one input processing device 11 and three payment devices 12 (12-1, 12-2, 12-3) form one group. In this regard, it is not necessary to form a group. For example, multiple input processing devices and multiple payment devices are placed in different locations. A transfer order of payment information is set in advance for the multiple payment devices. In addition, one of the multiple payment devices is a parent device and the rest are child devices. The multiple input processing devices transmit payment information to the parent device. When the multiple payment devices are in a state where they can execute payment processing, they execute payment processing based on the payment information. When the payment device is in a state where they cannot execute payment processing, they transfer the payment information to another payment device that is lower in the transfer order. At this time, if the other payment devices are offline, the payment information is transferred to another payment device that is further lower. Even if such a configuration is adopted, the effect of improving efficiency can be achieved in the same way as in the above embodiment.

この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態及びその変形は、発明の範囲に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several other embodiments of the present invention have been described, these embodiments are presented as examples 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 gist of the invention. These embodiments and their modifications are included within the scope of the invention and the scope of the invention and its equivalents as set forth in the claims.

11…入力処理装置、12(12-1,12-2,12-3)…決済装置、13…サーバ、14…ネットワーク、15…商品マスタファイル、21…店員、22…客、31,51…プロセッサ、32,52…メインメモリ、33,53…補助記憶デバイス、311…作成手段、312…送信手段、313…確認手段、321,521…データテーブル、511…受信手段、512…実行手段、513…選択手段、514…転送手段、515…変更手段、516…通知手段、517…復旧手段。 11...input processing device, 12 (12-1, 12-2, 12-3)...payment device, 13...server, 14...network, 15...product master file, 21...store clerk, 22...customer, 31, 51...processor, 32, 52...main memory, 33, 53...auxiliary storage device, 311...creation means, 312...transmission means, 313...confirmation means, 321, 521...data table, 511...reception means, 512...execution means, 513...selection means, 514...transfer means, 515...change means, 516...notification means, 517...recovery means.

Claims (6)

入力処理装置と複数台の決済装置とをネットワークで接続してなり、
前記入力処理装置は、
入力されたデータを基に取引に係る決済情報を作成する作成手段と、
前記複数台の決済装置のうち所定の決済装置に対し、前記ネットワークを介して前記決済情報を送信する送信手段と、
を具備し、
前記決済装置は、
前記ネットワークを介して前記決済情報を受信する受信手段と、
当該決済装置が決済処理を実行し得る状態のとき、前記受信手段で受信した前記決済情報に基づく決済処理を実行する実行手段と、
当該決済装置が決済処理を実行し得ない状態のとき、前記複数台の決済装置の前記ネットワークへの接続状態を示す情報を検索し、ネットワークに接続された状態にある他の決済装置のうちの1台を選択する選択手段と、
前記選択手段により選択した他の決済装置に前記決済情報を転送する転送手段と、
を具備する取引処理システム。
The input processing device and a plurality of payment devices are connected via a network,
The input processing device includes:
A creating means for creating payment information relating to a transaction based on the input data;
a transmission means for transmitting the payment information to a predetermined one of the plurality of payment devices via the network;
Equipped with
The payment device,
A receiving means for receiving the payment information via the network;
an execution means for executing a payment process based on the payment information received by the receiving means when the payment device is in a state capable of executing a payment process;
a selection means for searching for information indicating a connection state of the plurality of payment devices to the network when the payment device is in a state where it cannot execute a payment process, and selecting one of the other payment devices that are in a state where they are connected to the network;
a transfer means for transferring the payment information to the other payment device selected by the selection means;
A transaction processing system comprising:
前記決済装置は、
前記転送手段による前記決済情報の転送に失敗した場合、その転送に失敗した他の決済装置に対する前記接続状態を示す情報を、ネットワークに接続された状態を示す情報から切断された状態を示す情報に変更する変更手段、
をさらに具備する請求項1記載の取引処理システム。
The payment device,
a change means for changing, when the transfer means fails to transfer the payment information, information indicating the connection state of the other payment device to which the transfer has failed from information indicating a state connected to the network to information indicating a state disconnected from the other payment device;
2. The transaction processing system of claim 1, further comprising:
前記決済装置は、
前記転送手段による前記決済情報の転送に失敗した場合、前記入力処理装置に対して通知する通知手段、
をさらに具備する請求項2記載の取引処理システム。
The payment device,
a notification means for notifying said input processing device when said transfer means has failed to transfer said payment information;
3. The transaction processing system of claim 2, further comprising:
前記複数台の決済装置は、前記決済情報の転送順位が設定されており、
前記選択手段は、接続状態にある他の決済装置のうち前記転送順位が当該決済装置よりも下位で最も高い他の決済装置を選択する、請求項1乃至3のうちいずれか一記載の取引処理システム。
A transfer priority of the payment information is set for the plurality of payment devices,
4. A transaction processing system according to claim 1, wherein the selection means selects, from among the other connected settlement devices, a settlement device that is lower in the transfer priority order than the settlement device in question and has the highest transfer priority.
入力処理装置と複数台の決済装置とをネットワークで接続してなり、前記入力処理装置は、入力されたデータを基に取引に係る決済情報を作成する作成手段と、前記複数台の決済装置のうち所定の決済装置に対し、前記ネットワークを介して前記決済情報を送信する送信手段とを備えた取引処理システムの決済装置であって、
前記ネットワークを介して前記決済情報を受信する受信手段と、
当該決済装置が決済処理を実行し得る状態のとき、前記受信手段で受信した前記決済情報に基づく決済処理を実行する実行手段と、
当該決済装置が決済処理を実行し得ない状態のとき、前記複数台の決済装置の前記ネットワークへの接続状態を示す情報を検索し、ネットワークに接続された状態にある他の決済装置のうちの1台を選択する選択手段と、
前記選択手段により選択した他の決済装置に前記決済情報を転送する転送手段と、
を具備する決済装置。
A payment device of a transaction processing system, comprising an input processing device and a plurality of payment devices connected via a network, the input processing device including a creation means for creating payment information relating to a transaction based on input data, and a transmission means for transmitting the payment information via the network to a predetermined one of the plurality of payment devices,
A receiving means for receiving the payment information via the network;
an execution means for executing a payment process based on the payment information received by the receiving means when the payment device is in a state capable of executing a payment process;
a selection means for searching for information indicating a connection state of the plurality of payment devices to the network when the payment device is in a state where it cannot execute a payment process, and selecting one of the other payment devices that are in a state where they are connected to the network;
a transfer means for transferring the payment information to the other payment device selected by the selection means;
A payment device comprising:
入力処理装置と複数台の決済装置とをネットワークで接続してなり、前記入力処理装置は、入力されたデータを基に取引に係る決済情報を作成する作成手段と、前記複数台の決済装置のうち所定の決済装置に対し、前記ネットワークを介して前記決済情報を送信する送信手段とを備えた取引処理システムの決済装置におけるコンピュータを、
前記ネットワークを介して前記決済情報を受信する受信手段、
当該決済装置が決済処理を実行し得る状態のとき、前記受信手段で受信した前記決済情報に基づく決済処理を実行する実行手段、
当該決済装置が決済処理を実行し得ない状態のとき、前記複数台の決済装置の前記ネットワークへの接続状態を示す情報を検索し、ネットワークに接続された状態にある他の決済装置のうちの1台を選択する選択手段、及び、
前記選択手段により選択した他の決済装置に前記決済情報を転送する転送手段、
として機能させるための決済プログラム。
A computer in a payment device of a transaction processing system, comprising an input processing device and a plurality of payment devices connected via a network, the input processing device including a creation means for creating payment information relating to a transaction based on input data, and a transmission means for transmitting the payment information via the network to a predetermined one of the plurality of payment devices,
A receiving means for receiving the payment information via the network;
an execution means for executing a payment process based on the payment information received by the receiving means when the payment device is in a state capable of executing a payment process;
a selection means for searching for information indicating a connection state of the plurality of payment devices to the network when the payment device is in a state where it cannot execute a payment process, and selecting one of the other payment devices that are in a state where they are connected to the network; and
a transfer means for transferring the payment information to the other payment device selected by the selection means;
Payment program to function as.
JP2022177581A 2022-11-04 2022-11-04 Transaction processing system, payment device, and payment program Pending JP2024067470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022177581A JP2024067470A (en) 2022-11-04 2022-11-04 Transaction processing system, payment device, and payment program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022177581A JP2024067470A (en) 2022-11-04 2022-11-04 Transaction processing system, payment device, and payment program

Publications (1)

Publication Number Publication Date
JP2024067470A true JP2024067470A (en) 2024-05-17

Family

ID=91067976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022177581A Pending JP2024067470A (en) 2022-11-04 2022-11-04 Transaction processing system, payment device, and payment program

Country Status (1)

Country Link
JP (1) JP2024067470A (en)

Similar Documents

Publication Publication Date Title
US10664817B2 (en) Check-out system, payment apparatus, input processing apparatus, and control program
JP6650285B2 (en) Checkout system and payment device
US20200342435A1 (en) Commodity sales data processing system, settlement device, and control method thereof
JP2017117085A (en) Checkout system and registration device
JP2024067470A (en) Transaction processing system, payment device, and payment program
US20180158041A1 (en) Checkout system, registration device, settlement device, and control method
WO2023047699A1 (en) Transaction processing system, input processing device, settlement device, and program recording medium
JP6007346B1 (en) Checkout system, settlement apparatus and control program
JP2023046844A (en) Transaction processing system, input processing device, settlement device, and program
JP6404416B2 (en) Product registration apparatus and control program thereof
JP6833359B2 (en) Checkout system
JP6286503B2 (en) Checkout system, settlement apparatus and control program
EP4134892A1 (en) Transaction processing system, input processing device, settlement device and method
JP7354352B2 (en) Payment device, its control program, and checkout system
JP6926259B2 (en) Checkout system and payment device
JP6928141B2 (en) Checkout system and registration device and control program
JP7314214B2 (en) Checkout system, registration device and control program
JP6977125B2 (en) Checkout system, payment device and its control program
JP7200314B2 (en) Payment device and control program
JP6724217B2 (en) Product sales data processing system
JP6821755B2 (en) Checkout system, payment device, input processing device and control program
JP2023025847A (en) Transaction processing system, settlement device, and program for the same
JP2023025842A (en) Transaction processing system, input processing device, and program for the same
JP2020061196A (en) Input processing device and control program therefor
KR20230126181A (en) Accounting machine and program thereof

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230104