JP5486961B2 - Money transaction program, money transaction method, and money transaction apparatus - Google Patents
Money transaction program, money transaction method, and money transaction apparatus Download PDFInfo
- Publication number
- JP5486961B2 JP5486961B2 JP2010047336A JP2010047336A JP5486961B2 JP 5486961 B2 JP5486961 B2 JP 5486961B2 JP 2010047336 A JP2010047336 A JP 2010047336A JP 2010047336 A JP2010047336 A JP 2010047336A JP 5486961 B2 JP5486961 B2 JP 5486961B2
- Authority
- JP
- Japan
- Prior art keywords
- change
- candidate
- priority
- deposit amount
- yen
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 121
- 239000000284 extract Substances 0.000 claims description 22
- 230000001174 ascending effect Effects 0.000 claims 1
- 238000000605 extraction Methods 0.000 description 228
- 238000010586 diagram Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000004080 punching Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Cash Registers Or Receiving Machines (AREA)
Description
本発明は、貨幣の取引を行う貨幣取引プログラム、貨幣取引方法、及び、貨幣取引装置に関する。 The present invention relates to a money transaction program, a money transaction method, and a money transaction apparatus that perform money transactions.
顧客が商品を購入する際、顧客が支払った支払い金額に応じて、釣銭を顧客に支払う貨幣取引装置がある。貨幣取引装置としては、例えば、POS(Point Of Sales)端末がある。 2. Description of the Related Art When a customer purchases a product, there is a money transaction apparatus that pays change to the customer according to the payment amount paid by the customer. An example of the money transaction apparatus is a POS (Point Of Sales) terminal.
貨幣取引装置が支払った釣銭は、顧客の財布等の入れ物に収容されるが、顧客は、財布等の入れ物に硬貨が多く溜まってしまうことを嫌う傾向にある。
これに対して、顧客が支払いを行う際、釣銭に含まれる硬貨の枚数が少なくなる支払い金額を、表示画面に表示する等して顧客に提示する貨幣取引装置が存在する。この貨幣取引装置では、顧客は、提示された支払い金額を支払うことで、硬貨の枚数が少ない釣銭を受け取ることが可能となる。
The change paid by the money transaction apparatus is accommodated in a container such as a wallet of the customer, but the customer tends to dislike that a large amount of coins are accumulated in the wallet or the like.
On the other hand, when a customer makes a payment, there is a money transaction apparatus that presents to a customer a payment amount that reduces the number of coins included in the change on a display screen. In this money transaction apparatus, a customer can receive a change with a small number of coins by paying the presented payment amount.
例えば、顧客の購入した商品の合計金額に対する釣銭の金種枚数が一定枚数以下になるような支払い金額と釣銭の組合せパターンを作成し、支払い金額と釣銭の組合せパターンを表示装置に表示する技術が存在する(例えば、特許文献1参照)。 For example, there is a technique for creating a combination pattern of payment amount and change so that the number of denominations of the change with respect to the total amount of products purchased by the customer is a certain number or less, and displaying the combination pattern of the payment amount and change on the display device. Exists (see, for example, Patent Document 1).
また、売上額が入力される度、または、預かり金が入金される度に、過不足金額を構成する紙幣又は硬貨の枚数が少なくなるような追加投入額を算出して表示部に表示する技術が存在する(例えば、特許文献2参照)。 In addition, every time a sales amount is input or a deposit is received, a technique for calculating an additional input amount that reduces the number of bills or coins constituting the excess / deficiency amount and displaying it on the display unit (See, for example, Patent Document 2).
また、売上商品に係るデータ入力に基づいて、預かり金額の硬貨枚数よりも釣銭額の硬貨枚数が少なくなる順番に、預かり金額と釣銭額の組合せ候補を客用ディスプレイに表示する技術が存在する(例えば、特許文献3参照)。 In addition, there is a technique for displaying a combination of the deposit amount and the change amount on the customer display in the order in which the number of coins of the change amount is smaller than the number of coins of the deposit amount based on the data input related to the sales product ( For example, see Patent Document 3).
また、釣銭枚数が多くなると判断した場合、釣銭枚数が最小になる投入金額を計算し、その投入金額を精算案内画面に表示する技術が存在する(例えば、特許文献4参照)。 In addition, there is a technique for calculating an input amount that minimizes the number of change when it is determined that the number of change is increased, and displaying the input amount on a settlement guidance screen (see, for example, Patent Document 4).
しかしながら、釣銭に含まれる硬貨の枚数を少なくできたとしても、1円硬貨、又は、5円硬貨等、自動販売機等では使用できない硬貨が釣銭に含まれている場合、このような硬貨は使用される機会が少ない為、硬貨が財布等の入れ物に溜まってしまう可能性がある。 However, even if the number of coins included in the change can be reduced, if the change includes a coin that cannot be used with a vending machine, such as a 1-yen coin or a 5-yen coin, such a coin is used. Because there are few opportunities to be played, coins may accumulate in a wallet or other container.
このような点に鑑み、釣銭が顧客の財布等の入れ物に溜まってしまう可能性を低減させる支払い金額を提示する貨幣取引プログラム、貨幣取引方法、及び、貨幣取引装置を提供する。 In view of these points, a money transaction program, a money transaction method, and a money transaction apparatus that present a payment amount that reduces the possibility of change being accumulated in a container such as a wallet of a customer are provided.
上記目的を達成するために以下のような貨幣取引プログラムが提供される。
この貨幣取引プログラムは、コンピュータを、購入金額における所定の金種を含まない金種単位の各値に対応付けて第1の釣銭候補と当該第1の釣銭候補の優先順位が設定され、記憶手段に格納される第1の釣銭候補テーブルを参照し、入力された購入金額に基づき、当該購入金額に対応する第1の釣銭候補を抽出する第1の釣銭候補抽出手段、購入金額における所定の金種を含む金種単位の各値に対応付けて第2の釣銭候補と当該第2の釣銭候補の優先順位が設定され、記憶手段に格納される第2の釣銭候補テーブルを参照し、入力された購入金額に基づき、当該購入金額に対応する第2の釣銭候補を抽出する第2の釣銭候補抽出手段、第1の釣銭候補抽出手段が抽出した第1の釣銭候補に基づき、第1の預かり金額候補を算出するとともに、第2の釣銭候補抽出手段が抽出した第2の釣銭候補に基づき、第2の預かり金額候補を算出する預かり金額候補算出手段、預かり金額候補算出手段が算出した第1の預かり金額候補間の優先順位を対応する第1の釣銭候補の優先順位に基づいて設定するとともに、算出した第2の預かり金額候補間の優先順位を対応する第2の釣銭候補の優先順位に基づいて設定し、さらに、第1の預かり金額候補を、第2の預かり金額候補よりも優先順位を高くする優先順位設定手段、預かり金額候補算出手段が算出した第1の預かり金額候補及び第2の預かり金額候補を、優先順位設定手段が設定した優先順位に基づいて、表示手段に表示させる出力手段、として機能させる。
In order to achieve the above object, the following money trading program is provided.
In this money transaction program, a first change candidate and a priority order of the first change candidate are set in association with each value of a denomination unit that does not include a predetermined denomination in the purchase amount, and the storage means refers to the first change candidate table stored in, based on the input purchase amount, the first change candidate extraction means for extracting a first change candidate corresponding to the purchase amount, predetermined punching in purchase price The second change candidate and the priority of the second change candidate are set in association with each value of the denomination unit including the seed, and are input with reference to the second change candidate table stored in the storage means. It was based on the purchase amount, based on the second second change candidate extraction means for extracting a change candidate, first change candidate first change candidate extraction unit and extracted corresponding to the purchase amount, deposit first Calculate the amount candidate , Based on the second change candidate second change candidate extracting means has extracted the amount candidate calculating means Luggage and out calculate the second deposit amount candidate, Luggage first deposit between amounts candidates amount candidate calculating means is calculated Is set based on the priority order of the corresponding first change candidate, and the priority order between the calculated second deposit amount candidates is set based on the priority order of the corresponding second change candidate , Further, the priority amount setting means for setting the first deposit amount candidate to be higher in priority than the second deposit amount candidate, the first deposit amount candidate and the second deposit amount candidate calculated by the deposit amount candidate calculating means. Based on the priority order set by the priority order setting means, the display means functions as an output means.
開示の貨幣取引プログラム、貨幣取引方法、及び、貨幣取引装置によれば、釣銭が顧客の財布等の入れ物に溜まってしまう可能性を低減させる支払い金額を提示することが可能となる。 According to the disclosed monetary transaction program, monetary transaction method, and monetary transaction apparatus, it is possible to present a payment amount that reduces the possibility that change will accumulate in a container such as a customer's wallet.
以下、実施の形態を図面を参照して説明する。
[第1の実施の形態]
図1は、第1の実施の形態に係る貨幣取引装置の一例を示す図である。
Hereinafter, embodiments will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a diagram illustrating an example of a money transaction apparatus according to the first embodiment.
貨幣取引装置10は、入力手段11と、第1の釣銭候補抽出手段12と、第2の釣銭候補抽出手段13と、預かり金額候補算出手段14と、優先順位設定手段15と、出力手段16と、表示手段17とを有する。
The
入力手段11には、顧客が購入した商品の購入金額が入力される。
第1の釣銭候補抽出手段12は、入力手段11に入力された購入金額に基づき、所定の金種Aを含まない釣銭候補を抽出する。ここで、金種とは、貨幣の種類を指す。金種Aは、例えば、1円硬貨、又は、5円硬貨である。
In the input means 11, the purchase price of the product purchased by the customer is input.
The first change
第2の釣銭候補抽出手段13は、入力手段11に入力された購入金額に基づき、金種Aを含む釣銭候補を抽出する。
預かり金額候補算出手段14は、第1の釣銭候補抽出手段12及び第2の釣銭候補抽出手段13が抽出したそれぞれの釣銭候補に基づき、預かり金額候補をそれぞれ算出する。ここで、預かり金額候補とは、顧客が支払う支払い金額の候補を指す。即ち、預かり金額候補は、購入金額に釣銭候補を足した金額に相当する。
The second change
The deposit amount
優先順位設定手段15は、預かり金額候補算出手段14が算出した預かり金額候補に対して優先順位を設定する。さらに、優先順位設定手段15は、釣銭に金種Aを含まない預かり金額候補を、釣銭に金種Aを含む預かり金額候補よりも優先順位を高くする。
The priority
出力手段16は、預かり金額候補算出手段14が算出した預かり金額候補を、優先順位設定手段15が設定した優先順位に基づいて、表示手段17に表示させる。
表示手段17は、例えば、優先順位が高い預かり金額候補を上位に位置するように、預かり金額候補を表示する。
The
For example, the
次に、貨幣取引装置10の処理手順について説明する。
入力手段11に購入金額が入力されると、処理が開始される。
まず、第1の釣銭候補抽出手段12が、入力された購入金額に基づき、金種Aを含まない釣銭候補を抽出する。
Next, the processing procedure of the
When the purchase amount is input to the input means 11, the process is started.
First, the first change
次に、第2の釣銭候補抽出手段13が、入力された購入金額に基づき、金種Aを含む釣銭候補を抽出する。
次に、預かり金額候補算出手段14が、第1の釣銭候補抽出手段12及び第2の釣銭候補抽出手段13が抽出したそれぞれの釣銭候補に基づき、預かり金額候補をそれぞれ算出する。
Next, the second change
Next, the deposit amount
次に、優先順位設定手段15が、預かり金額候補算出手段14が算出した預かり金額候補に対して優先順位を設定する。ここで、優先順位設定手段15は、釣銭に金種Aを含まない預かり金額候補を、釣銭に金種Aを含む預かり金額候補よりも優先順位を高くする。
Next, the priority
次に、出力手段16が、預かり金額候補算出手段14が算出した預かり金額候補を、優先順位設定手段15が設定した優先順位に基づいて、表示手段17に表示させる。
このように、貨幣取引装置10では、釣銭に金種Aを含まない預かり金額候補を、釣銭に金種Aを含む預かり金額候補よりも優先順位を高くし、この優先順位に基づいて預かり金額候補を表示手段17に表示させる。
Next, the
As described above, in the
これにより、金種Aを、例えば、自動販売機等では使用できない1円硬貨又は5円硬貨とすることで、釣銭に1円硬貨又は5円硬貨を含まない預かり金額候補を、優先順位を高くして顧客に提示することが可能となる。 Accordingly, by setting the denomination A to, for example, a 1-yen coin or a 5-yen coin that cannot be used in a vending machine or the like, a deposit amount candidate that does not include a 1-yen coin or a 5-yen coin in the change is given higher priority Can be presented to the customer.
即ち、釣銭が顧客の財布等の入れ物に溜まってしまう可能性を低減させる支払い金額を提示することが可能となる。
次に、貨幣取引装置10を、POS端末に適用した実施の形態を、第2の実施の形態として説明する。
That is, it becomes possible to present a payment amount that reduces the possibility that change will accumulate in containers such as a customer's wallet.
Next, an embodiment in which the
[第2の実施の形態]
図2は、第2の実施の形態に係るPOSシステムの一例を示す図である。
POSシステムでは、ネットワーク500に管理サーバ600と複数のPOS端末100a,100bとが接続されている。
[Second Embodiment]
FIG. 2 is a diagram illustrating an example of a POS system according to the second embodiment.
In the POS system, a
POS端末100a,100bでは、それぞれ、顧客が商品を購入するにあたっての貨幣の取引、即ち、精算が行われる。POS端末100a,100bには、顧客が購入した商品の種類、商品の購入金額、及び、顧客が支払った預かり金額等が入力され、さらに、POS端末100a,100bは、入力された購入金額、及び、預かり金額に基づいて釣銭の自動計算を行う。
In the
管理サーバ600は、ネットワーク500を介してPOS端末100a,100bから顧客が購入した商品の種類や、購入金額等の情報を取得し、取得した情報の集計や管理等を行う。
The
次に、POS端末について詳細に説明する。なお、POS端末100a,100bは同じ構造を備えるものであり、ここからは、これらを代表したPOS端末100について説明する。
Next, the POS terminal will be described in detail. The
まず、POS端末100のハードウェアについて説明する。図3は、第2の実施の形態に係るPOS端末のハードウェアの一例を示すブロック図である。
POS端末100は、CPU(Central Processing Unit)101によって装置全体が制御される。CPU101には、バス113を介してRAM(Random Access Memory)102、ハードディスクドライブ(HDD:Hard Disk Drive)103、ディスプレイ104、キーボード105、タッチパネル106、及び、通信インタフェース107が接続される。さらに、CPU101には、バス113を介してプリンター108、バーコードスキャナ109、カスタマディスプレイ110、ドロワ111、及び、電子多項目キーボード112が接続される。
First, the hardware of the
The
電子多項目キーボード112は、ディスプレイ112a、キーボード112b、タッチパネル112cを有している。電子多項目キーボード112に対しては、顧客による操作や閲覧が行われる。
The electronic
RAM102には、CPU101に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データが格納される。HDD103には、OSやアプリケーションのプログラム、各種データが格納される。
The
ディスプレイ104、カスタマディスプレイ110、及び、ディスプレイ112aは、CPU101からの命令に従って画像を画面に表示する。キーボード105、タッチパネル106、バーコードスキャナ109、キーボード112b、及び、タッチパネル112cから入力された信号は、バス113を介してCPU101に送信される。プリンター108、及び、ドロワ111は、CPU101からの命令に従って制御される。
The
通信インタフェース107は、ネットワーク500に接続されており、ネットワーク500を介して外部から情報を受信し、且つ、外部へ情報を送信する。通信インタフェース107が外部から受信した情報は、バス113を介して、CPU101に転送される。また、通信インタフェース107は、CPU101又はHDD103からバス113を介して転送された情報を外部へ送信する。
The
このようなハードウェアによって、POS端末100の処理機能を実現することができる。
次に、POS端末100の機能について説明する。
The processing function of the
Next, functions of the
図4及び図5は、第2の実施の形態に係るPOS端末の機能の一例を示すブロック図である。まず、図4を用いて説明する。
POS端末100は、購入金額入力手段201と、合計金額算出手段202と、預かり金額候補抽出手段203と、表示手段204と、預かり金額入力手段205と、釣銭算出手段206とを有する。
4 and 5 are block diagrams illustrating an example of functions of the POS terminal according to the second embodiment. First, it demonstrates using FIG.
The
購入金額入力手段201には、顧客が購入した商品の購入金額が入力される。
合計金額算出手段202は、購入金額入力手段201に入力された購入金額の合計を算出する。
In the purchase price input means 201, the purchase price of the product purchased by the customer is input.
The total
預かり金額候補抽出手段203は、合計金額算出手段202が算出した購入金額の合計に基づいて、預かり金額候補を抽出する。ここで、預かり金額候補とは、顧客が支払う支払い金額の候補を指す。即ち、預かり金額候補は、購入金額の合計に釣銭候補を足した金額に相当する。
The deposit amount
預かり金額入力手段205には、顧客が実際に支払った預かり金額が入力される。
釣銭算出手段206は、預かり金額入力手段205に入力された預かり金額から、合計金額算出手段202が算出した購入金額の合計を差し引いて、釣銭を算出する。
The deposit amount input means 205 receives the deposit amount actually paid by the customer.
The
表示手段204は、合計金額算出手段202が算出した購入金額の合計と、預かり金額候補抽出手段203が抽出した預かり金額候補と、釣銭算出手段206が算出した釣銭を、画面に表示する。
The
次に、預かり金額候補抽出手段203の詳細について、図5を用いて説明する。
預かり金額候補抽出手段203は、釣銭第1候補抽出手段301と、釣銭第1候補記憶手段302と、釣銭第3候補抽出手段303と、釣銭第3候補記憶手段304と、釣銭第2候補抽出手段305とを有する。さらに、預かり金額候補抽出手段203は、優先順位順釣銭候補記憶手段306と、預かり金額候補算出手段307と、優先順位順預かり金額候補記憶手段308と、預かり金額候補出力手段309とを有する。
Next, details of the deposit amount candidate extraction means 203 will be described with reference to FIG.
The deposit amount
釣銭第1候補記憶手段302は、釣銭第1候補テーブルを記憶する。釣銭第1候補テーブルには、複数の100円単位の釣銭候補と、購入金額の合計に基づいた優先順位とが、それぞれ対応付けられて格納されている。
The change first
釣銭第3候補記憶手段304は、複数の釣銭第3候補テーブルを記憶する。釣銭第3候補テーブルの1つには、10円単位の複数の釣銭候補と、購入金額の合計に基づいた優先順位とが、それぞれ対応付けられて格納されている。釣銭第3候補テーブルの他の1つには、5円単位の複数の釣銭候補と、購入金額の合計に基づいた優先順位とが、それぞれ対応付けられて格納されている。釣銭第3候補テーブルの他の1つには、1円を含む複数の釣銭候補と、購入金額の合計に基づいた優先順位とが、それぞれ対応付けられて格納されている。
The change third
優先順位順釣銭候補記憶手段306は、複数の記憶領域を有する。各記憶領域には、釣銭候補が記憶される。各記憶領域は、優先順位が高い順に並べられている。また、優先順位順釣銭候補記憶手段306は、複数の連続した記憶領域をそれぞれ含む、釣銭第1候補領域と、釣銭第2候補領域と、釣銭第3候補領域とを有する。釣銭第1候補領域が先頭に位置し、次に釣銭第2候補領域が位置し、次に釣銭第3候補領域が位置する。
The priority order change candidate storage means 306 has a plurality of storage areas. In each storage area, change candidates are stored. Each storage area is arranged in descending order of priority. Further, the change order
優先順位順預かり金額候補記憶手段308は、複数の記憶領域を有する。各記憶領域には、預かり金額候補が記憶される。各記憶領域は、優先順位が高い順に並べられている。また、優先順位順預かり金額候補記憶手段308は、複数の連続した記憶領域をそれぞれ含む、預かり金額第1候補領域と、預かり金額第2候補領域と、預かり金額第3候補領域とを有する。預かり金額第1候補領域が先頭に位置し、次に預かり金額第2候補領域が位置し、次に預かり金額第3候補領域が位置する。 The priority order deposit amount candidate storage means 308 has a plurality of storage areas. Each storage area stores deposit amount candidates. Each storage area is arranged in descending order of priority. Further, the priority order deposit amount candidate storage means 308 includes a deposit amount first candidate region, a deposit amount second candidate region, and a deposit amount third candidate region each including a plurality of continuous storage areas. The deposit amount first candidate area is positioned first, the deposit amount second candidate area is positioned next, and the deposit amount third candidate area is positioned next.
釣銭第1候補抽出手段301は、釣銭第1候補記憶手段302に格納された釣銭第1候補テーブルを参照し、入力された購入金額の合計に基づいて、優先順位の高い100円単位の釣銭候補を抽出する。さらに、釣銭第1候補抽出手段301は、抽出した100円単位の釣銭候補を、優先順位順釣銭候補記憶手段306の釣銭第1候補領域に格納する。釣銭候補が複数存在する場合は、釣銭第1候補抽出手段301は、複数の釣銭候補を釣銭第1候補領域に格納する。
The change first
釣銭第3候補抽出手段303は、釣銭第3候補記憶手段304に格納された10円単位の釣銭候補を格納する釣銭第3候補テーブルの1つを参照し、入力された購入金額の合計に基づいて、優先順位の高い10円単位の釣銭候補を抽出する。さらに、釣銭第3候補抽出手段303は、抽出した釣銭候補を、優先順位順釣銭候補記憶手段306の釣銭第3候補領域に格納する。釣銭候補が複数存在する場合は、釣銭第3候補抽出手段303は、複数の釣銭候補を釣銭第3候補領域に格納する。
The change third candidate extraction means 303 refers to one of the change third candidate tables storing change candidates in units of 10 yen stored in the change third candidate storage means 304, and is based on the total of the input purchase amounts. Thus, change candidates of 10 yen units with high priority are extracted. Further, the change third
さらに、釣銭第3候補抽出手段303は、釣銭第3候補記憶手段304に格納された5円単位の釣銭候補を格納する釣銭第3候補テーブルの1つを参照し、入力された購入金額の合計に基づいて、優先順位の高い5円単位の釣銭候補を抽出する。さらに、釣銭第3候補抽出手段303は、抽出した釣銭候補を、優先順位順釣銭候補記憶手段306の釣銭第3候補領域に格納する。釣銭候補が複数存在する場合は、釣銭第3候補抽出手段303は、複数の釣銭候補を釣銭第3候補領域に格納する。
Furthermore, the change third
さらに、釣銭第3候補抽出手段303は、釣銭第3候補記憶手段304に格納された1円を含む釣銭候補を格納する釣銭第3候補テーブルの1つを参照し、入力された購入金額の合計に基づいて、優先順位の高い1円を含む釣銭候補を抽出する。さらに、釣銭第3候補抽出手段303は、抽出した釣銭候補を、優先順位順釣銭候補記憶手段306の釣銭第3候補領域に格納する。釣銭候補が複数存在する場合は、釣銭第3候補抽出手段303は、複数の釣銭候補を釣銭第3候補領域に格納する。
Further, the change third
ここで、釣銭第3候補抽出手段303は、優先順位順釣銭候補記憶手段306の釣銭第3候補領域に抽出した釣銭候補を格納するにあたり、先頭の記憶領域に10円単位の釣銭候補を格納し、次の記憶領域に5円単位の釣銭候補を格納し、次の記憶領域に1円を含む釣銭候補を格納する。
Here, the change third
釣銭第2候補抽出手段305は、優先順位順釣銭候補記憶手段306から、釣銭第3候補領域に格納された釣銭候補を全て抽出する。さらに、釣銭第2候補抽出手段305は、抽出した全ての釣銭候補のそれぞれに対して、500円を加えた値を算出し、算出した値が1000円以上の場合、算出した値を釣銭候補として優先順位順釣銭候補記憶手段306の釣銭第2候補領域に格納する。ここで、釣銭第2候補抽出手段305は、算出した釣銭候補を、算出元となった釣銭候補の釣銭第3候補領域における並び順に沿って、釣銭第2候補領域に格納する。
The change second
預かり金額候補算出手段307は、優先順位順釣銭候補記憶手段306に記憶された全ての釣銭候補のそれぞれに基づいて、預かり金額候補を算出する。さらに、預かり金額候補算出手段307は、算出した預かり金額候補を、優先順位順預かり金額候補記憶手段308に格納する。ここで、預かり金額候補算出手段307は、算出した預かり金額候補を、算出元となった釣銭候補の優先順位順釣銭候補記憶手段306における並び順に沿って、優先順位順預かり金額候補記憶手段308に格納する。
The deposit amount
即ち、優先順位順預かり金額候補記憶手段308の預かり金額第1候補領域には、算出元となった釣銭候補が優先順位順釣銭候補記憶手段306の釣銭第1候補領域に格納されている預かり金額候補が格納される。さらに、預かり金額第2候補領域には、算出元となった釣銭候補が釣銭第2候補領域に格納されている預かり金額候補が格納される。さらに、預かり金額第3候補領域には、算出元となった釣銭候補が釣銭第3候補領域に格納されている預かり金額候補が格納される。
That is, in the first deposit area of the deposit amount
つまり、優先順位順預かり金額候補記憶手段308には、先頭から、釣銭が100円単位となる預かり金額候補、釣銭が10円単位となる預かり金額候補、釣銭が5円単位となる預かり金額候補、及び、釣銭に1円を含む預かり金額候補が、順番に格納されている。 In other words, in the priority order deposit amount candidate storage means 308, from the top, a deposit amount candidate with change of 100 yen unit, a deposit amount candidate with change of 10 yen unit, a deposit amount candidate with change of 5 yen unit, And the deposit amount candidate including 1 yen in change is stored in order.
このようにして、預かり金額候補算出手段307は、預かり金額候補を算出するとともに、算出した預かり金額候補に対して優先順位を設定する。
預かり金額候補出力手段309は、優先順位順預かり金額候補記憶手段308に記憶された預かり金額候補を、優先順位順預かり金額候補記憶手段308における並び順に沿って、図4に示す表示手段204に出力する。
In this way, the deposit amount
The deposit amount
表示手段204は、預かり金額候補出力手段309から出力された預かり金額候補を、出力された順番が早いものが上位に位置するように、画面に表示する。
即ち、表示手段204の画面には、上位から、釣銭が100円単位となる預かり金額候補、釣銭が10円単位となる預かり金額候補、釣銭が5円単位となる預かり金額候補、及び、釣銭に1円を含む預かり金額候補が、順番に表示される。
The
That is, on the screen of the display means 204, from the top, a deposit amount candidate with a change of 100 yen unit, a deposit amount candidate with a change of 10 yen unit, a change amount candidate with a change of 5 yen unit, and a change Deposit amount candidates including 1 yen are displayed in order.
次に、釣銭第1候補記憶手段302が記憶する100円単位の釣銭候補を格納する釣銭第1候補テーブルの詳細について説明する。
図6は、第2の実施の形態に係る釣銭第1候補テーブルの一例を示す図である。
Next, details of the change first candidate table for storing change candidates in units of 100 yen stored in the change first
FIG. 6 is a diagram illustrating an example of a change first candidate table according to the second embodiment.
釣銭第1候補テーブル302aの各値23aは、購入金額における100円単位の金額21aに対する100円単位の釣銭候補22aの優先順位を示している。
購入金額における100円単位の金額21aは、即ち、購入金額の100の位に100を掛けた金額を指す。
Each
The amount of money 21a in the unit of 100 yen in the purchase amount indicates an amount obtained by multiplying 100 to the 100th of the purchase amount.
釣銭候補22aは、100円から900円までの金額であり、この例では、100円、200円、500円、及び、600円である。これらは、いずれも、硬貨2枚以内で支払うことが可能な金額であり、硬貨の枚数が少ないため、釣銭候補としている。300円、400円、700円、800円、及び、900円については、硬貨が3枚以上となるため、ここでは、釣銭候補から除外している。 The change candidate 22a has an amount from 100 yen to 900 yen, and in this example, it is 100 yen, 200 yen, 500 yen, and 600 yen. All of these are amounts that can be paid within two coins, and since the number of coins is small, they are considered as change candidates. The 300 yen, 400 yen, 700 yen, 800 yen, and 900 yen are excluded from change candidates here because there are three or more coins.
優先順位「1」は、釣銭候補としての優先順位が一番高いことを示し、優先順位「2」は、次に釣銭候補としての優先順位が高いことを示している。
この例では、1000円から購入金額における100円単位の金額21aを差し引いた金額に該当する釣銭候補22aに対して、優先順位「1」が付与され、500円から購入金額における100円単位の金額21aを差し引いた金額に該当する釣銭候補22aに対して、優先順位「2」が付与されている。
The priority “1” indicates the highest priority as a change candidate, and the priority “2” indicates the next highest priority as a change candidate.
In this example, priority “1” is given to the change candidate 22a corresponding to the amount obtained by subtracting the amount 21a of 100 yen unit in the purchase amount from 1000 yen, and the amount of 100 yen unit in the purchase amount from 500 yen. The priority “2” is given to the change candidate 22a corresponding to the amount obtained by subtracting 21a.
例えば、購入金額が410円であり、購入金額における100円単位の金額21aが400円である場合、釣銭候補として、600円が優先順位「1」となり、100円が優先順位「2」となる。 For example, when the purchase amount is 410 yen and the amount 21a of 100 yen unit in the purchase amount is 400 yen, 600 yen is the priority “1” and 100 yen is the priority “2” as change candidates. .
また、優先順位「1」、「2」が付与されない釣銭候補22aに対しては、「0」が付与されている。「0」は、釣銭候補として意味のないことを示している。例えば、購入金額が110円であり、購入金額における100円単位の金額が100円となる場合、釣銭が100円となることは考えにくい。なぜなら、釣銭が100円となる場合、預かり金額は210円となるが、この金額を支払うことができるならば、購入金額である110円を釣銭なしに支払うことができるからである。 Further, “0” is assigned to the change candidates 22a to which the priority orders “1” and “2” are not assigned. “0” indicates that there is no meaning as a change candidate. For example, if the purchase amount is 110 yen and the amount of 100 yen unit in the purchase amount is 100 yen, it is unlikely that the change will be 100 yen. This is because when the change is 100 yen, the deposit amount is 210 yen, but if this amount can be paid, the purchase amount of 110 yen can be paid without change.
次に、釣銭第3候補記憶手段304が記憶する10円単位の釣銭候補を格納する釣銭第3候補テーブルの詳細について説明する。
図7は、第2の実施の形態に係る釣銭第3候補テーブルの一例を示す図である。
Next, details of the change third candidate table for storing change candidates in units of 10 yen stored in the change third
FIG. 7 is a diagram illustrating an example of a change third candidate table according to the second embodiment.
釣銭第3候補テーブル304aの各値43aは、購入金額における10円単位の金額41aに対する10円単位の釣銭候補42aの優先順位を示している。
購入金額における10円単位の金額41aは、即ち、購入金額の10の位に10を掛けた金額を指す。
Each
The amount 41a in units of 10 yen in the purchase amount indicates an amount obtained by multiplying the 10th place of the purchase amount by 10.
釣銭候補42aは、10円から90円までの金額であり、この例では、10円、20円、50円、及び、60円である。これらは、いずれも、硬貨2枚以内で支払うことが可能な金額であり、硬貨の枚数が少ないため、釣銭候補としている。30円、40円、70円、80円、及び、90円については、硬貨が3枚以上となるため、ここでは、釣銭候補から除外している。 The change candidates 42a are amounts from 10 yen to 90 yen, and in this example, are 10 yen, 20 yen, 50 yen, and 60 yen. All of these are amounts that can be paid within two coins, and since the number of coins is small, they are considered as change candidates. About 30 yen, 40 yen, 70 yen, 80 yen, and 90 yen, since there are three or more coins, they are excluded from change candidates here.
この例では、50円から購入金額における10円単位の金額41aを差し引いた金額に該当する釣銭候補42aと、購入金額における10円単位の金額41aが50円よりも大きい場合における50円の釣銭候補42aとに対して、優先順位「1」が付与されている。さらに、100円から購入金額における10円単位の金額41aを差し引いた金額に該当する釣銭候補42aに対して、優先順位「2」が付与されている。 In this example, the change candidate 42a corresponding to the amount obtained by subtracting the 10 yen unit amount 41a in the purchase amount from 50 yen, and the 50 yen change candidate in the case where the 10 yen unit amount 41a in the purchase amount is larger than 50 yen. 42a is assigned a priority “1”. Furthermore, the priority “2” is given to the change candidate 42a corresponding to the amount obtained by subtracting the amount 41a of 10 yen unit in the purchase amount from 100 yen.
なお、優先順位の順位付けは、顧客の財布等に溜まる硬貨を少なくするという目的から、例えば、次の観点に基づいて行われる。1つは、釣銭に含まれる硬貨の枚数が少ないことである。1つは、預かり金額に含まれる硬貨の枚数が多いことである。 The priority ranking is performed based on the following viewpoint, for example, for the purpose of reducing the amount of coins accumulated in the customer's wallet or the like. One is that the number of coins included in the change is small. One is that the number of coins included in the deposit amount is large.
例えば、購入金額が441円であり、購入金額における10円単位の金額41aが40円である場合、釣銭候補として、10円が優先順位「1」となり、60円が優先順位「2」となる。また、購入金額が481円であり、購入金額における10円単位の金額41aが80円である場合、釣銭候補として、50円が優先順位「1」となり、20円が優先順位「2」となる。 For example, when the purchase amount is 441 yen and the purchase amount 41a in the unit of 10 yen is 40 yen, 10 yen is the priority “1” and 60 yen is the priority “2” as the change candidate. . In addition, when the purchase amount is 481 yen and the amount 41a in 10 yen unit in the purchase amount is 80 yen, 50 yen is the priority “1” and 20 yen is the priority “2” as the change candidate. .
また、優先順位「1」、「2」が付与されない釣銭候補42aに対しては、「0」が付与されている。
次に、釣銭第3候補記憶手段304が記憶する5円単位の釣銭候補を格納する釣銭第3候補テーブルについて説明する。5円単位の釣銭候補を格納する釣銭第3候補テーブルは、2つのテーブルに分けられる。
Further, “0” is assigned to the change candidates 42a to which the priority orders “1” and “2” are not assigned.
Next, the change 3rd candidate table which stores the change candidate of 5 yen unit which the 3rd change candidate memory | storage means 304 memorize | stores is demonstrated. The change third candidate table storing change candidates in units of 5 yen is divided into two tables.
図8、図9は、第2の実施の形態に係る釣銭第3候補テーブルの一例を示す図である。
図8に示す釣銭第3候補テーブル304bは、購入金額の1の位の金額が5円の場合に用いられるテーブルであり、図9に示す釣銭第3候補テーブル304cは、購入金額の1の位の金額が6円以上の場合に用いられるテーブルである。
8 and 9 are diagrams illustrating an example of the change third candidate table according to the second embodiment.
The change third candidate table 304b shown in FIG. 8 is a table used when the amount of the first place of the purchase amount is 5 yen, and the change third candidate table 304c shown in FIG. This table is used when the amount of money is 6 yen or more.
なお、購入金額の1の位の金額が4円以下の場合については、釣銭が5円単位となることは考えにくい。なぜなら、購入金額の1の位の金額が4円のとき、釣銭が5円単位となるためには、預かり金額の1の位の金額が9円となるが、この金額を支払うことができるならば、そもそも、4円を釣銭なしに支払うことができるからである。このため、購入金額の1の位の金額が4円以下の場合に対応するテーブルは用意していない。 Note that it is unlikely that the change will be in units of 5 yen when the 1st digit of the purchase price is 4 yen or less. Because when the amount of the first place of the purchase amount is 4 yen, in order for the change to be in units of 5 yen, the amount of the first place of the deposit amount is 9 yen, but if this amount can be paid In the first place, 4 yen can be paid without change. For this reason, a table corresponding to the case where the first-order amount of the purchase amount is 4 yen or less is not prepared.
まず、購入金額の1の位の金額が5円の場合に用いられる釣銭第3候補テーブル304bについて説明する。
釣銭第3候補テーブル304bの各値43bは、購入金額の下二桁の金額のうち5円単位の金額41bに対する5円単位の釣銭候補42bの優先順位を示している。
First, the change third candidate table 304b used when the one-order amount of the purchase amount is 5 yen will be described.
Each
釣銭候補42bは、5円から95円までの金額であり、この例では、5円、15円、及び、55円である。これらは、いずれも、硬貨2枚以内で支払うことが可能な金額であり、硬貨の枚数が少ないため、釣銭候補としている。25円、35円、45円、65円、75円、85円、及び、95円については、硬貨が3枚以上となるため、ここでは、釣銭候補から除外している。 The change candidate 42b is an amount of money from 5 yen to 95 yen, and in this example, it is 5 yen, 15 yen, and 55 yen. All of these are amounts that can be paid within two coins, and since the number of coins is small, they are considered as change candidates. 25 yen, 35 yen, 45 yen, 65 yen, 75 yen, 85 yen, and 95 yen are excluded from the change candidates because there are three or more coins.
優先順位「1」は、釣銭候補としての優先順位が一番高いことを示し、優先順位「2」は、次に釣銭候補としての優先順位が高いことを示し、優先順位「3」は、その次に釣銭候補としての優先順位が高いことを示し、優先順位「4」は、さらにその次に釣銭候補として優先順位が高いことを示している。 The priority “1” indicates that the priority as the change candidate is the highest, the priority “2” indicates that the priority as the next change candidate is the highest, and the priority “3” indicates that Next, it indicates that the priority as a change candidate is high, and the priority “4” indicates that the priority is the next highest as a change candidate.
この例では、購入金額の下二桁の金額41bが45円よりも大きく95円よりも小さい場合における55円の釣銭候補42bに対して、優先順位「1」が付与されている。さらに、5円の釣銭候補42bに対して、優先順位「2」が付与されている。さらに、100円から購入金額の下二桁の金額41bを差し引いた金額に該当する釣銭候補42bに対して、優先順位「3」が付与されている。さらに、50円から購入金額の下二桁の金額41bを差し引いた金額に該当する釣銭候補42bに対して、優先順位「4」が付与されている。 In this example, the priority “1” is given to the change candidate 42b of 55 yen when the last two-digit amount 41b of the purchase price is larger than 45 yen and smaller than 95 yen. Furthermore, the priority “2” is given to the change candidate 42b of 5 yen. Furthermore, a priority “3” is given to the change candidate 42b corresponding to the amount obtained by subtracting the last two-digit amount 41b of the purchase amount from 100 yen. Furthermore, a priority “4” is given to the change candidate 42b corresponding to the amount obtained by subtracting the last two-digit amount 41b of the purchase amount from 50 yen.
なお、優先順位の順位付けは、顧客の財布等に溜まる硬貨を少なくするという目的から、例えば、次の観点に基づいて行われる。1つは、釣銭に含まれる硬貨の枚数が少ないことである。1つは、預かり金額に含まれる硬貨の枚数が多いことである。1つは、釣銭に含まれる1円硬貨や5円硬貨の枚数が少ないことである。1つは、預かり金額に含まれる1円硬貨や5円硬貨の枚数が多いことである。 The priority ranking is performed based on the following viewpoint, for example, for the purpose of reducing the amount of coins accumulated in the customer's wallet or the like. One is that the number of coins included in the change is small. One is that the number of coins included in the deposit amount is large. One is that the number of 1-yen coins and 5-yen coins included in the change is small. One is that the number of 1-yen coins and 5-yen coins included in the deposit amount is large.
例えば、購入金額が485円であり、購入金額の下二桁の金額41bが85円である場合、釣銭候補として、55円が優先順位「1」となり、5円が優先順位「2」となり、15円が優先順位「3」となる。 For example, when the purchase amount is 485 yen and the last two-digit amount 41b of the purchase amount is 85 yen, 55 yen is a priority “1” as a change candidate, and 5 yen is a priority “2”. 15 yen becomes the priority “3”.
また、優先順位「1」〜「4」が付与されない釣銭候補42bに対しては、「0」が付与されている。
次に、購入金額の1の位の金額が6円以上の場合に用いられる釣銭第3候補テーブル304cについて説明する。
Further, “0” is assigned to the change candidates 42b to which the priority orders “1” to “4” are not assigned.
Next, the change third candidate table 304c used when the one-order amount of the purchase amount is 6 yen or more will be described.
釣銭第3候補テーブル304cの各値43cは、購入金額の下二桁の金額のうち1の位が6円以上の金額41cに対する5円単位の釣銭候補42cの優先順位を示している。
購入金額の下二桁の金額41cについて、1の位は「x」で示している。
Each
Regarding the lower two-digit amount 41c of the purchase amount, the first place is indicated by “x”.
釣銭候補42cは、5円から95円までの金額であり、この例では、5円、15円、及び、55円である。これらは、いずれも、硬貨2枚以内で支払うことが可能な金額であり、硬貨の枚数が少ないため、釣銭候補としている。25円、35円、45円、65円、75円、85円、及び、95円については、硬貨が3枚以上となるため、ここでは、釣銭候補から除外している。 The change candidate 42c is an amount of money from 5 yen to 95 yen, and in this example, it is 5 yen, 15 yen, and 55 yen. All of these are amounts that can be paid within two coins, and since the number of coins is small, they are considered as change candidates. 25 yen, 35 yen, 45 yen, 65 yen, 75 yen, 85 yen, and 95 yen are excluded from the change candidates because there are three or more coins.
この例では、購入金額の下二桁の金額41cが39円よりも大きく96円よりも小さい場合における55円の釣銭候補42cに対して、優先順位「1」が付与されている。さらに、5円の釣銭候補42cに対して、優先順位「2」が付与されている。さらに、100円から購入金額の下二桁の金額41cを差し引いた金額から次に大きい釣銭候補42cに対して、優先順位「3」が付与されている。さらに、50円から購入金額の下二桁の金額41cを差し引いた金額から次に大きい釣銭候補42cに対して、優先順位「4」が付与されている。 In this example, the priority “1” is given to the 55 yen change candidate 42c when the last two-digit amount 41c of the purchase amount is larger than 39 yen and smaller than 96 yen. Further, the priority “2” is given to the change candidate 42c of 5 yen. Furthermore, the priority “3” is given to the change candidate 42c that is the next largest from the amount obtained by subtracting the last two-digit amount 41c of the purchase amount from 100 yen. Furthermore, the priority “4” is given to the change candidate 42c that is the next largest from the amount obtained by subtracting the last two-digit amount 41c of the purchase amount from 50 yen.
例えば、購入金額が486円であり、購入金額の下二桁の金額41cが86円である場合、釣銭候補42cとして、55円が優先順位「1」となり、5円が優先順位「2」となり、15円が優先順位「3」となる。 For example, when the purchase amount is 486 yen and the last two-digit amount 41c of the purchase amount is 86 yen, the change candidate 42c is 55 yen with priority “1” and 5 yen with priority “2”. , 15 yen becomes the priority “3”.
また、優先順位「1」〜「4」が付与されない釣銭候補42cに対しては、「0」が付与されている。
次に、釣銭第3候補記憶手段304が記憶する1円を含む釣銭候補を格納する釣銭第3候補テーブルについて説明する。1円を含む釣銭候補を格納する釣銭第3候補テーブルは、2つのテーブルに分けられる。
Further, “0” is assigned to the change candidate 42c to which the priority orders “1” to “4” are not assigned.
Next, the change 3rd candidate table which stores the change candidate containing 1 yen which the change 3rd candidate memory | storage means 304 memorize | stores is demonstrated. The change third candidate table storing change candidates including 1 yen is divided into two tables.
図10、図11は、第2の実施の形態に係る釣銭第3候補テーブルの一例を示す図である。
図10に示す釣銭第3候補テーブル304dは、購入金額の1の位の金額が4円の場合に用いられるテーブルであり、図11に示す釣銭第3候補テーブル304eは、購入金額の1の位の金額が9円の場合に用いられるテーブルである。
10 and 11 are diagrams illustrating an example of the change third candidate table according to the second embodiment.
The change third candidate table 304d shown in FIG. 10 is a table used when the amount of the first place of the purchase amount is 4 yen, and the change third candidate table 304e shown in FIG. It is a table used when the amount of money is 9 yen.
なお、購入金額の1の位の金額が4円、又は、9円ではない場合については、釣銭が1円硬貨を2枚以上含むことになるため、釣銭候補の対象から除外している。このため、購入金額の1の位の金額が4円、又は、9円ではない場合に対応するテーブルは用意していない。 In addition, when the amount of the first place of the purchase amount is not 4 yen or 9 yen, since the change includes two or more 1 yen coins, it is excluded from the candidates for the change. For this reason, a table corresponding to the case where the first-order amount of the purchase amount is not 4 yen or 9 yen is not prepared.
まず、購入金額の1の位の金額が4円の場合に用いられる釣銭第3候補テーブル304dについて説明する。
釣銭第3候補テーブル304dの各値43dは、購入金額の下二桁の金額のうち下一桁が4円となる金額41dに対する1円を含む釣銭候補42dの優先順位を示している。
First, the change third candidate table 304d used when the one-order amount of the purchase amount is 4 yen will be described.
Each
釣銭候補42dは、1円から96円までの金額であり、この例では、1円、6円、11円、及び、51円である。これらは、いずれも、硬貨2枚以内で支払うことが可能な金額であり、硬貨の枚数が少ないため、釣銭候補としている。その他の金額については、硬貨が3枚以上となるため、ここでは、釣銭候補から除外している。 The change candidate 42d has an amount of 1 to 96 yen, and in this example, 1 yen, 6 yen, 11 yen, and 51 yen. All of these are amounts that can be paid within two coins, and since the number of coins is small, they are considered as change candidates. Other amounts are excluded from change candidates because there are three or more coins.
優先順位「1」は、釣銭候補としての優先順位が一番高いことを示し、優先順位「2」は、次に釣銭候補としての優先順位が高いことを示し、優先順位「3」は、その次に釣銭候補としての優先順位が高いことを示し、優先順位「4」は、さらにその次に釣銭候補として優先順位が高いことを示し、優先順位「5」は、さらにその次に釣銭候補として優先順位が高いことを示し、優先順位「6」は、さらにその次に釣銭候補として優先順位が高いことを示している。 The priority “1” indicates that the priority as the change candidate is the highest, the priority “2” indicates that the priority as the next change candidate is the highest, and the priority “3” indicates that Next, it indicates that the priority as a change candidate is high, the priority “4” indicates that the priority is the next highest as a change candidate, and the priority “5” indicates that the change is the next change candidate. The priority is high, and the priority “6” indicates that the priority is the next highest change candidate.
この例では、購入金額の下二桁の金額41dが44円よりも大きい場合における51円の釣銭候補42dに対して、優先順位「1」が付与されている。さらに、購入金額の下二桁の金額41dが94円の場合における11円の釣銭候補42dに対して、優先順位「2」が付与されている。さらに、6円の釣銭候補42dに対して、優先順位「3」が付与されている。さらに、1円の釣銭候補42dに対して、優先順位「4」が付与されている。さらに、100円から購入金額の下二桁の金額41dを差し引いた金額に該当する釣銭候補42dに対して、優先順位「5」が付与されている。さらに、50円から購入金額の下二桁の金額41dを差し引いた金額に該当する釣銭候補42dに対して、優先順位「6」が付与されている。 In this example, the priority “1” is given to the change candidate 42d of 51 yen when the last two-digit amount 41d of the purchase price is larger than 44 yen. Furthermore, the priority “2” is given to the change candidate 42d of 11 yen when the last two-digit amount 41d of the purchase price is 94 yen. Furthermore, the priority “3” is given to the 6 yen change candidate 42d. Furthermore, the priority “4” is given to the change candidate 42d of 1 yen. Furthermore, a priority “5” is given to the change candidate 42d corresponding to the amount obtained by subtracting the last two-digit amount 41d of the purchase amount from 100 yen. Furthermore, the priority “6” is given to the change candidate 42d corresponding to the amount obtained by subtracting the last two-digit amount 41d of the purchase amount from 50 yen.
例えば、購入金額が494円であり、購入金額の下二桁の金額41dが94円である場合、釣銭候補として、51円が優先順位「1」となり、11円が優先順位「2」となり、6円が優先順位「3」となり、1円が優先順位「4」となる。 For example, when the purchase amount is 494 yen and the last two-digit amount 41d of the purchase amount is 94 yen, as a change candidate, 51 yen has the priority “1” and 11 yen has the priority “2”. 6 yen becomes priority “3” and 1 yen becomes priority “4”.
また、優先順位「1」〜「6」が付与されない釣銭候補42dに対しては、「0」が付与されている。
次に、購入金額の1の位の金額が9円の場合に用いられる釣銭第3候補テーブル304eについて説明する。
Further, “0” is assigned to the change candidates 42d to which the priorities “1” to “6” are not assigned.
Next, the change 3rd candidate table 304e used when the 1st amount of the purchase amount is 9 yen will be described.
釣銭第3候補テーブル304eの各値43eは、購入金額の下二桁の金額のうち下一桁が9円となる金額41eに対する1円を含む釣銭候補42eの優先順位を示している。
釣銭候補42eは、1円から96円までの金額であり、この例では、1円、6円、11円、及び、51円である。これらは、いずれも、硬貨2枚以内で支払うことが可能な金額であり、硬貨の枚数が少ないため、釣銭候補としている。その他の金額については、硬貨が3枚以上となるため、ここでは、釣銭候補から除外している。
Each
The change candidates 42e are amounts from 1 to 96 yen, and in this example, are 1 yen, 6 yen, 11 yen, and 51 yen. All of these are amounts that can be paid within two coins, and since the number of coins is small, they are considered as change candidates. Other amounts are excluded from change candidates because there are three or more coins.
この例では、購入金額の下二桁の金額41eが49円よりも大きく99円よりも小さい場合における51円の釣銭候補42eに対して、優先順位「1」が付与されている。さらに、1円の釣銭候補42eに対して、優先順位「2」が付与されている。さらに、100円から購入金額の下二桁の金額41eを差し引いた金額に該当する釣銭候補42eに対して、優先順位「3」が付与されている。さらに、50円から購入金額の下二桁の金額41eを差し引いた金額に該当する釣銭候補42eに対して、優先順位「4」が付与されている。 In this example, the priority “1” is given to the change candidate 42e of 51 yen when the last two-digit amount 41e of the purchase price is larger than 49 yen and smaller than 99 yen. Furthermore, the priority “2” is given to the 1-yen change candidate 42e. Furthermore, a priority “3” is given to the change candidate 42e corresponding to the amount obtained by subtracting the last two-digit amount 41e of the purchase amount from 100 yen. Furthermore, a priority “4” is given to the change candidate 42e corresponding to the amount obtained by subtracting the last two-digit amount 41e of the purchase amount from 50 yen.
例えば、購入金額が489円であり、購入金額の下二桁の金額41eが89円である場合、釣銭候補として、51円が優先順位「1」となり、1円が優先順位「2」となり、11円が優先順位「3」となる。 For example, when the purchase amount is 489 yen and the last two-digit amount 41e of the purchase amount is 89 yen, as a change candidate, 51 yen becomes priority “1” and 1 yen becomes priority “2”. 11 yen is the priority “3”.
また、優先順位「1」〜「6」が付与されない釣銭候補42eに対しては、「0」が付与されている。
次に、優先順位順釣銭候補記憶手段306の詳細について説明する。
Further, “0” is assigned to the change candidates 42e to which the priorities “1” to “6” are not assigned.
Next, details of the priority order change change
図12は、第2の実施の形態に係る優先順位順釣銭候補記憶手段の一例を示す図である。
優先順位順釣銭候補記憶手段306は、釣銭候補がそれぞれ格納される複数の記憶領域(0)〜(25)を有する。各記憶領域(0)〜(25)は、優先順位が高い順に並べられている。即ち、先頭の記憶領域(0)に記憶される釣銭候補の優先順位が一番高く、最後尾の記憶領域(25)に記憶される釣銭候補の優先順位が一番低い。
FIG. 12 is a diagram showing an example of priority order change candidate storage means according to the second embodiment.
The priority order change candidate storage means 306 has a plurality of storage areas (0) to (25) in which change candidates are stored. The storage areas (0) to (25) are arranged in descending order of priority. That is, the priority of the change candidate stored in the first storage area (0) is the highest, and the priority of the change candidate stored in the last storage area (25) is the lowest.
さらに、優先順位順釣銭候補記憶手段306は、複数の連続した記憶領域をそれぞれ含む、釣銭第1候補領域306aと、釣銭第2候補領域306bと、釣銭第3候補領域306cとを有する。釣銭第1候補領域306aが先頭に位置し、次に釣銭第2候補領域306bが位置し、次に釣銭第3候補領域306cが位置する。 Further, the priority order change candidate storage means 306 includes a change first candidate area 306a, a change second candidate area 306b, and a change third candidate area 306c, each including a plurality of continuous storage areas. The change first candidate area 306a is positioned first, the change second candidate area 306b is positioned next, and the change third candidate area 306c is positioned next.
各記憶領域(0)〜(25)に格納された釣銭候補は、記憶領域(0)から順番に読み出される。
次に、優先順位順預かり金額候補記憶手段308の詳細について説明する。
The change candidates stored in the storage areas (0) to (25) are sequentially read from the storage area (0).
Next, details of the priority order deposit amount candidate storage means 308 will be described.
図13は、第2の実施の形態に係る優先順位順預かり金額候補記憶手段の一例を示す図である。
優先順位順預かり金額候補記憶手段308は、預かり金額候補がそれぞれ格納される複数の記憶領域(0)〜(25)を有する。各記憶領域(0)〜(25)は、優先順位が高い順に並べられている。即ち、先頭の記憶領域(0)に記憶される預かり金額候補の優先順位が一番高く、最後尾の記憶領域(25)に記憶される預かり金額候補の優先順位が一番低い。
FIG. 13 is a diagram showing an example of priority order deposit amount candidate storage means according to the second embodiment.
The priority order deposit amount candidate storage means 308 has a plurality of storage areas (0) to (25) in which deposit amount candidates are stored. The storage areas (0) to (25) are arranged in descending order of priority. That is, the priority of the deposit amount candidate stored in the first storage area (0) is the highest, and the priority of the deposit amount candidate stored in the last storage area (25) is the lowest.
さらに、優先順位順預かり金額候補記憶手段308は、複数の連続した記憶領域をそれぞれ含む、預かり金額第1候補領域308aと、預かり金額第2候補領域308bと、預かり金額第3候補領域308cとを有する。預かり金額第1候補領域308aが先頭に位置し、次に預かり金額第2候補領域308bが位置し、次に預かり金額第3候補領域308cが位置する。 Furthermore, the priority order deposit amount candidate storage means 308 includes a deposit amount first candidate region 308a, a deposit amount second candidate region 308b, and a deposit amount third candidate region 308c, each including a plurality of consecutive storage areas. Have. The deposit amount first candidate area 308a is positioned first, the deposit amount second candidate area 308b is positioned next, and the deposit amount third candidate area 308c is positioned next.
各記憶領域(0)〜(25)に格納された預かり金額候補は、記憶領域(0)から順番に読み出される。
次に、POS端末100の処理手順について説明する。
The deposit amount candidates stored in the storage areas (0) to (25) are sequentially read from the storage area (0).
Next, the processing procedure of the
図14〜図20は、第2の実施の形態に係るPOS端末の処理手順の一例を示すフローチャートである。まず、図14を用いて説明する。
以下の処理は、購入金額入力手段201に商品の購入金額が入力されることで開始される。
14 to 20 are flowcharts illustrating an example of a processing procedure of the POS terminal according to the second embodiment. First, it demonstrates using FIG.
The following processing is started when the purchase price of the product is input to the purchase price input means 201.
[ステップS101]合計金額算出手段202が、購入金額入力手段201から商品の購入金額を取得する。
[ステップS102]合計金額算出手段202が、ステップS101で取得した購入金額を合計する。
[Step S101] The total
[Step S102] The total amount calculation means 202 totals the purchase amount acquired in step S101.
[ステップS103]合計金額算出手段202が、全ての商品の購入金額を取得したかを判定する。合計金額算出手段202は、全ての商品の購入金額を取得した場合、処理をステップS104に進める。合計金額算出手段202は、全ての商品の購入金額を取得していない場合、処理をステップS101に進める。
[Step S103] It is determined whether the total amount calculation means 202 has acquired the purchase amounts of all the products. When the total
[ステップS104]合計金額算出手段202が、ステップS102で算出した購入金額の合計を、表示手段204の画面に表示させる。
[ステップS105]釣銭第1候補抽出手段301が、釣銭第1候補記憶手段302に格納された釣銭第1候補テーブル302aを参照し、ステップS102で算出した購入金額の合計に基づいて、優先順位の高い100円単位の釣銭候補を抽出する。さらに、釣銭第1候補抽出手段301が、抽出した100円単位の釣銭候補を、優先順位順釣銭候補記憶手段306の釣銭第1候補領域306aの記憶領域(0)、(1)に格納する。
[Step S104] The total
[Step S105] The change first
[ステップS106]釣銭第3候補抽出手段303が、釣銭第3候補記憶手段304に格納された釣銭第3候補テーブル304a〜304eを参照し、ステップS102で算出した購入金額の合計に基づいて、優先順位の高い10円単位、5円単位、及び、1円を含む釣銭候補をそれぞれ抽出する。さらに、釣銭第3候補抽出手段303が、抽出した10円単位、5円単位、及び、1円を含む釣銭候補を、優先順位順釣銭候補記憶手段306の釣銭第3候補領域306cの記憶領域(14)〜(25)に格納する。
[Step S106] The change third
[ステップS107]釣銭第2候補抽出手段305が、優先順位順釣銭候補記憶手段306から、釣銭第3候補領域306cに格納された釣銭候補を全て抽出する。さらに、釣銭第2候補抽出手段305が、抽出した全ての釣銭候補のそれぞれに対して、500円を加えた値を算出し、算出した値が1000円以上の場合、算出した値を釣銭候補として優先順位順釣銭候補記憶手段306の釣銭第2候補領域306bの記憶領域(2)〜(13)に格納する。
[Step S107] The change change
[ステップS108]預かり金額候補算出手段307が、優先順位順釣銭候補記憶手段306の記憶領域(0)〜(25)に記憶された全ての釣銭候補のそれぞれに基づいて、預かり金額候補を算出する。さらに、預かり金額候補算出手段307が、算出した預かり金額候補を、優先順位順預かり金額候補記憶手段308に格納する。
[Step S108] The deposit amount
ここで、預かり金額候補算出手段307は、算出した預かり金額候補を、算出元となった釣銭候補が格納されている記憶領域の優先順位順釣銭候補記憶手段306における並び順に沿って、優先順位順預かり金額候補記憶手段308の記憶領域(0)〜(25)に格納する。例えば、優先順位順釣銭候補記憶手段306の記憶領域(0)に格納された釣銭候補に対応する預かり金額候補は、優先順位順預かり金額候補記憶手段308の記憶領域(0)に格納される。 Here, the deposit amount candidate calculation means 307 displays the calculated deposit amount candidates in the order of priority according to the arrangement order in the priority order change candidate storage means 306 of the storage area in which the change candidate that is the calculation source is stored. Stored in storage areas (0) to (25) of deposit amount candidate storage means 308. For example, the deposit amount candidate corresponding to the change candidate stored in the storage area (0) of the priority order change candidate storage means 306 is stored in the storage area (0) of the priority order deposit amount candidate storage means 308.
なお、優先順位順釣銭候補記憶手段306の記憶領域に「0」が格納されている場合は、優先順位順預かり金額候補記憶手段308の対応する記憶領域に「0」を格納する。
[ステップS109]預かり金額候補出力手段309が、優先順位順預かり金額候補記憶手段308に記憶された預かり金額候補を、優先順位順預かり金額候補記憶手段308における並び順に沿って、表示手段204の画面に表示させる。
When “0” is stored in the storage area of the priority order change candidate storage means 306, “0” is stored in the corresponding storage area of the priority order deposit amount candidate storage means 308.
[Step S109] The deposit amount
なお、預かり金額候補出力手段309は、優先順位順預かり金額候補記憶手段308の記憶領域に「0」が格納されている場合は、それを無視する。
[ステップS110]釣銭算出手段206が、預かり金額入力手段205に入力された預かり金額から合計金額算出手段202が算出した購入金額の合計を差し引いて釣銭を算出し、処理を終了する。
The deposit amount
[Step S110] The
次に、上記の釣銭第1候補の抽出と格納を行うステップS105の詳細について、図15を用いて説明する。
[ステップS151]釣銭第1候補抽出手段301が、ステップS102で算出した購入金額の合計における100円単位の金額を抽出する。購入金額における100円単位の金額は、購入金額の合計の100の位に100を掛けることで求められる。
Next, the details of step S105 for extracting and storing the first change change candidate will be described with reference to FIG.
[Step S151] The change first
[ステップS152]釣銭第1候補抽出手段301が、釣銭第1候補記憶手段302に記憶された釣銭第1候補テーブル302aを参照する。
[ステップS153]釣銭第1候補抽出手段301が、釣銭第1候補テーブル302aを参照し、ステップS151で抽出した100円単位の金額21aに対応する優先順位「1」の釣銭候補22aがあるかを判定する。釣銭第1候補抽出手段301は、優先順位「1」の釣銭候補22aがある場合、処理をステップS154に進める。釣銭第1候補抽出手段301は、優先順位「1」の釣銭候補22aがない場合、処理をステップS155に進める。
[Step S152] The change first
[Step S153] The change first
[ステップS154]釣銭第1候補抽出手段301が、ステップS153で判定した優先順位「1」の釣銭候補22aを、優先順位順釣銭候補記憶手段306の記憶領域(0)に格納する。
[Step S154] The change first
[ステップS155]釣銭第1候補抽出手段301が、釣銭第1候補テーブル302aを参照し、ステップS151で抽出した100円単位の金額21aに対応する優先順位「2」の釣銭候補22aがあるかを判定する。釣銭第1候補抽出手段301は、優先順位「2」の釣銭候補22aがある場合、処理をステップS156に進める。釣銭第1候補抽出手段301は、優先順位「2」の釣銭候補22aがない場合、処理を終了する。
[Step S155] The change first
[ステップS156]釣銭第1候補抽出手段301が、ステップS155で判定した優先順位「2」の釣銭候補22aを、優先順位順釣銭候補記憶手段306の記憶領域(1)に格納して処理を終了する。
[Step S156] The change first
次に、上記の釣銭第3候補の抽出と格納を行うステップS106の詳細について、図16を用いて説明する。
[ステップS201]釣銭第3候補抽出手段303が、釣銭第3候補記憶手段304に格納された釣銭第3候補テーブル304aを参照し、ステップS102で算出した購入金額の合計に基づいて、優先順位の高い10円単位の釣銭候補を抽出する。さらに、釣銭第3候補抽出手段303が、抽出した10円単位の釣銭候補を、優先順位順釣銭候補記憶手段306の釣銭第3候補領域306cに格納する。
Next, details of step S106 for extracting and storing the third change change candidate will be described with reference to FIG.
[Step S201] The change third
[ステップS202]釣銭第3候補抽出手段303が、釣銭第3候補記憶手段304に格納された釣銭第3候補テーブル304b、又は、304cを参照し、ステップS102で算出した購入金額の合計に基づいて、優先順位の高い5円単位の釣銭候補を抽出する。さらに、釣銭第3候補抽出手段303が、抽出した5円単位の釣銭候補を、優先順位順釣銭候補記憶手段306の釣銭第3候補領域306cに格納する。
[Step S202] The change third
[ステップS203]釣銭第3候補抽出手段303が、釣銭第3候補記憶手段304に格納された釣銭第3候補テーブル304d、又は、304eを参照し、ステップS102で算出した購入金額の合計に基づいて、優先順位の高い1円を含む釣銭候補を抽出する。さらに、釣銭第3候補抽出手段303が、抽出した1円を含む釣銭候補を、優先順位順釣銭候補記憶手段306の釣銭第3候補領域306cに格納する。
[Step S203] The change third
次に、上記の10円単位の釣銭候補の抽出と格納を行うステップS201の詳細について、図17を用いて説明する。
[ステップS251]釣銭第3候補抽出手段303が、ステップS102で算出した購入金額の合計における10円単位の金額を抽出する。購入金額における10円単位の金額は、購入金額の合計の10の位に10を掛けることで求められる。
Next, details of step S201 for extracting and storing the change candidate in units of 10 yen will be described with reference to FIG.
[Step S251] The change third
[ステップS252]釣銭第3候補抽出手段303が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304aを参照する。
[ステップS253]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304aを参照し、ステップS251で抽出した10円単位の金額41aに対応する優先順位「1」の釣銭候補42aがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「1」の釣銭候補42aがある場合、処理をステップS254に進める。釣銭第3候補抽出手段303は、優先順位「1」の釣銭候補42aがない場合、処理をステップS255に進める。
[Step S252] The change third
[Step S253] The change candidate extraction means 303 refers to the change third candidate table 304a to determine whether there is a change candidate 42a of priority “1” corresponding to the amount 41a of 10 yen unit extracted in step S251. judge. If there is a change candidate 42a with the priority “1”, the third change
[ステップS254]釣銭第3候補抽出手段303が、ステップS253で判定した優先順位「1」の釣銭候補42aを、優先順位順釣銭候補記憶手段306の記憶領域(14)に格納する。
[Step S254] The third change
[ステップS255]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304aを参照し、ステップS251で抽出した10円単位の金額41aに対応する優先順位「2」の釣銭候補42aがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「2」の釣銭候補42aがある場合、処理をステップS256に進める。釣銭第3候補抽出手段303は、優先順位「2」の釣銭候補42aがない場合、処理を終了する。
[Step S255] The change third
[ステップS256]釣銭第3候補抽出手段303が、ステップS255で判定した優先順位「2」の釣銭候補42aを、優先順位順釣銭候補記憶手段306の記憶領域(15)に格納して処理を終了する。
[Step S256] The change third
次に、上記の5円単位の釣銭候補の抽出と格納を行うステップS202の詳細について、図18を用いて説明する。
[ステップS301]釣銭第3候補抽出手段303が、ステップS102で算出した購入金額の合計の下二桁の金額を抽出する。
Next, details of step S202 for extracting and storing change candidates in units of 5 yen will be described with reference to FIG.
[Step S301] The third change
[ステップS302]釣銭第3候補抽出手段303が、ステップS301で抽出した下二桁の金額の下一桁が、「5」以上かどうかを判定する。釣銭第3候補抽出手段303は、下一桁が「5」以上の場合、処理をステップS303に進める。釣銭第3候補抽出手段303は、下一桁が「5」以上ではない場合、処理を終了する。
[Step S302] The third change
[ステップS303]釣銭第3候補抽出手段303が、ステップS301で抽出した下二桁の金額の下一桁が、「5」かどうかを判定する。釣銭第3候補抽出手段303は、下一桁が「5」の場合、処理をステップS304に進める。釣銭第3候補抽出手段303は、下一桁が「5」ではない場合、処理をステップS305に進める。
[Step S303] The third change
[ステップS304]釣銭第3候補抽出手段303が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304bを参照する。
[ステップS305]釣銭第3候補抽出手段303が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304cを参照する。
[Step S304] The change third
[Step S305] The third change
[ステップS306]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304b、又は、304cを参照し、ステップS301で抽出した下二桁の金額41b,41cに対応する優先順位「1」の釣銭候補42b,42cがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「1」の釣銭候補42b,42cがある場合、処理をステップS307に進める。釣銭第3候補抽出手段303は、優先順位「1」の釣銭候補42b,42cがない場合、処理をステップS308に進める。
[Step S306] The change change
[ステップS307]釣銭第3候補抽出手段303が、ステップS306で判定した優先順位「1」の釣銭候補42b,42cを、優先順位順釣銭候補記憶手段306の記憶領域(16)に格納する。
[Step S307] The change change
[ステップS308]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304b、又は、304cを参照し、ステップS301で抽出した下二桁の金額41b,41cに対応する優先順位「2」の釣銭候補42b,42cがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「2」の釣銭候補42b,42cがある場合、処理をステップS309に進める。釣銭第3候補抽出手段303は、優先順位「2」の釣銭候補42b,42cがない場合、処理をステップS310に進める。
[Step S308] The change change
[ステップS309]釣銭第3候補抽出手段303が、ステップS308で判定した優先順位「2」の釣銭候補42b,42cを、優先順位順釣銭候補記憶手段306の記憶領域(17)に格納する。
[Step S309] The change change
[ステップS310]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304b、又は、304cを参照し、ステップS301で抽出した下二桁の金額41b,41cに対応する優先順位「3」の釣銭候補42b,42cがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「3」の釣銭候補42b,42cがある場合、処理をステップS311に進める。釣銭第3候補抽出手段303は、優先順位「3」の釣銭候補42b,42cがない場合、処理をステップS312に進める。
[Step S310] The change third
[ステップS311]釣銭第3候補抽出手段303が、ステップS310で判定した優先順位「3」の釣銭候補42b,42cを、優先順位順釣銭候補記憶手段306の記憶領域(18)に格納する。
[Step S311] The change third
[ステップS312]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304b、又は、304cを参照し、ステップS301で抽出した下二桁の金額41b,41cに対応する優先順位「4」の釣銭候補42b,42cがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「4」の釣銭候補42b,42cがある場合、処理をステップS313に進める。釣銭第3候補抽出手段303は、優先順位「4」の釣銭候補42b,42cがない場合、処理を終了する。
[Step S312] The change third
[ステップS313]釣銭第3候補抽出手段303が、ステップS312で判定した優先順位「4」の釣銭候補42b,42cを、優先順位順釣銭候補記憶手段306の記憶領域(19)に格納して処理を終了する。
[Step S313] The third change
次に、上記の1円を含む釣銭候補の抽出と格納を行うステップS203の詳細について、図19を用いて説明する。
[ステップS351]釣銭第3候補抽出手段303が、ステップS102で算出した購入金額の合計の下二桁の金額を抽出する。
Next, details of step S203 for extracting and storing change candidates including one yen will be described with reference to FIG.
[Step S351] The change third
[ステップS352]釣銭第3候補抽出手段303が、ステップS351で抽出した下二桁の金額の下一桁が、「4」かどうかを判定する。釣銭第3候補抽出手段303は、下一桁が「4」の場合、処理をステップS354に進める。釣銭第3候補抽出手段303は、下一桁が「4」ではない場合、処理をステップS353に進める。
[Step S352] The third change
[ステップS353]釣銭第3候補抽出手段303が、ステップS351で抽出した下二桁の金額の下一桁が、「9」かどうかを判定する。釣銭第3候補抽出手段303は、下一桁が「9」の場合、処理をステップS355に進める。釣銭第3候補抽出手段303は、下一桁が「9」ではない場合、処理を終了する。
[Step S353] The third change
[ステップS354]釣銭第3候補抽出手段303が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304dを参照する。
[ステップS355]釣銭第3候補抽出手段303が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304eを参照する。
[Step S354] The third change
[Step S355] The third change
[ステップS356]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304d、又は、304eを参照し、ステップS351で抽出した下二桁の金額41d,41eに対応する優先順位「1」の釣銭候補42d,42eがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「1」の釣銭候補42d,42eがある場合、処理をステップS357に進める。釣銭第3候補抽出手段303は、優先順位「1」の釣銭候補42d,42eがない場合、処理をステップS358に進める。
[Step S356] The change change
[ステップS357]釣銭第3候補抽出手段303が、ステップS356で判定した優先順位「1」の釣銭候補42d,42eを、優先順位順釣銭候補記憶手段306の記憶領域(20)に格納する。
[Step S357] The change change third
[ステップS358]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304d、又は、304eを参照し、ステップS351で抽出した下二桁の金額41d,41eに対応する優先順位「2」の釣銭候補42d,42eがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「2」の釣銭候補42d,42eがある場合、処理をステップS359に進める。釣銭第3候補抽出手段303は、優先順位「2」の釣銭候補42d,42eがない場合、処理をステップS360に進める。
[Step S358] The change change
[ステップS359]釣銭第3候補抽出手段303が、ステップS358で判定した優先順位「2」の釣銭候補42d,42eを、優先順位順釣銭候補記憶手段306の記憶領域(21)に格納する。
[Step S359] The change candidate third extracting
[ステップS360]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304d、又は、304eを参照し、ステップS351で抽出した下二桁の金額41d,41eに対応する優先順位「3」の釣銭候補42d,42eがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「3」の釣銭候補42d,42eがある場合、処理をステップS361に進める。釣銭第3候補抽出手段303は、優先順位「3」の釣銭候補42d,42eがない場合、処理をステップS362に進める。
[Step S360] The change third
[ステップS361]釣銭第3候補抽出手段303が、ステップS360で判定した優先順位「3」の釣銭候補42d,42eを、優先順位順釣銭候補記憶手段306の記憶領域(22)に格納する。
[Step S361] The change change
[ステップS362]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304d、又は、304eを参照し、ステップS351で抽出した下二桁の金額41d,41eに対応する優先順位「4」の釣銭候補42d,42eがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「4」の釣銭候補42d,42eがある場合、処理をステップS363に進める。釣銭第3候補抽出手段303は、優先順位「4」の釣銭候補42d,42eがない場合、処理をステップS364に進める。
[Step S362] The change third
[ステップS363]釣銭第3候補抽出手段303が、ステップS362で判定した優先順位「4」の釣銭候補42d,42eを、優先順位順釣銭候補記憶手段306の記憶領域(23)に格納する。
[Step S363] The change change
[ステップS364]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304d、又は、304eを参照し、ステップS351で抽出した下二桁の金額41d,41eに対応する優先順位「5」の釣銭候補42d,42eがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「5」の釣銭候補42d,42eがある場合、処理をステップS365に進める。釣銭第3候補抽出手段303は、優先順位「5」の釣銭候補42d,42eがない場合、処理をステップS366に進める。
[Step S364] The change third candidate extraction means 303 refers to the change third candidate table 304d or 304e and changes the priority “5” corresponding to the lower two-digit amounts 41d and 41e extracted in step S351. It is determined whether there are candidates 42d and 42e. If there are change candidates 42d and 42e with the priority “5”, the third change
[ステップS365]釣銭第3候補抽出手段303が、ステップS364で判定した優先順位「5」の釣銭候補42d,42eを、優先順位順釣銭候補記憶手段306の記憶領域(24)に格納する。
[Step S365] The third change
[ステップS366]釣銭第3候補抽出手段303が、釣銭第3候補テーブル304d、又は、304eを参照し、ステップS351で抽出した下二桁の金額41d,41eに対応する優先順位「6」の釣銭候補42d,42eがあるかを判定する。釣銭第3候補抽出手段303は、優先順位「6」の釣銭候補42d,42eがある場合、処理をステップS367に進める。釣銭第3候補抽出手段303は、優先順位「6」の釣銭候補42d,42eがない場合、処理を終了する。
[Step S366] The change third
[ステップS367]釣銭第3候補抽出手段303が、ステップS366で判定した優先順位「6」の釣銭候補42d,42eを、優先順位順釣銭候補記憶手段306の記憶領域(25)に格納して処理を終了する。
[Step S367] The change change
次に、上記の釣銭第2候補の抽出と格納を行うステップS107の詳細について、図20を用いて説明する。
[ステップS401]釣銭第2候補抽出手段305が、優先順位順釣銭候補記憶手段306の記憶領域(14)〜(25)に格納された釣銭候補を抽出する。さらに、釣銭第2候補抽出手段305は、抽出した釣銭候補のそれぞれに500円を加算した金額を、釣銭候補として、優先順位順釣銭候補記憶手段306の記憶領域(2)〜(13)に格納する。
Next, details of step S107 for extracting and storing the second change change candidate will be described with reference to FIG.
[Step S401] The second change
ここで、釣銭第2候補抽出手段305は、格納先である記憶領域(2)〜(13)における順番と、抽出元の記憶領域(14)〜(25)における順番とが同じとなるように、算出した釣銭候補を格納する。例えば、抽出元が記憶領域(14)の釣銭候補は、記憶領域(2)に格納され、抽出元が記憶領域(15)の釣銭候補は、記憶領域(3)に格納される。 Here, the change second candidate extraction means 305 is configured so that the order in the storage areas (2) to (13) as the storage destination is the same as the order in the storage areas (14) to (25) as the extraction sources. The calculated change candidate is stored. For example, change candidates whose extraction source is the storage area (14) are stored in the storage area (2), and change candidates whose extraction source is the storage area (15) are stored in the storage area (3).
[ステップS402]釣銭第2候補抽出手段305が、格納位置(A)に優先順位順釣銭候補記憶手段306の記憶領域(2)を設定する。
[ステップS403]釣銭第2候補抽出手段305が、格納位置(A)に格納されている釣銭候補の金額が1000円以上かどうかを判定する。釣銭第2候補抽出手段305は、金額が1000円以上の場合、処理をステップS405に進める。釣銭第2候補抽出手段305は、金額が1000円以上ではない場合、処理をステップS404に進める。
[Step S402] The change second
[Step S403] The second
[ステップS404]釣銭第2候補抽出手段305が、格納位置(A)に「0」を格納する。
[ステップS405]釣銭第2候補抽出手段305が、格納位置(A)が記憶領域(13)かどうかを判定する。釣銭第2候補抽出手段305は、格納位置(A)が記憶領域(13)の場合、処理を終了する。釣銭第2候補抽出手段305は、格納位置(A)が記憶領域(13)ではない場合、処理をステップS406に進める。
[Step S404] The change second
[Step S405] The second change
[ステップS406]釣銭第2候補抽出手段305が、格納位置(A)を1つ後段の記憶領域に設定して更新し、処理をステップS403に進める。
次に、預かり金額候補が表示された表示手段204の画面204aの一例について説明する。
[Step S406] The change second
Next, an example of the
図21は、第2の実施の形態に係る表示手段の画面の一例を示す図である。
表示手段204は、例えば、図3に示すディスプレイ112a及びタッチパネル112cにより実現される。表示手段204の画面204aには、購入金額の合計が、お買い上げ金額31に表示される。さらに、画面204aには、預かり金額候補が、お勧めお預け金額32に表示される。ここで、預かり金額候補は、優先順位が高いものが上位に位置するように順番に表示される。さらに、画面204aには、預かり金額候補に対応した釣銭が、おつり33に表示される。
FIG. 21 is a diagram illustrating an example of the screen of the display unit according to the second embodiment.
The
さらに、画面204aには、例えば、お勧めお預け金額32に表示された預かり金額候補の順番を硬貨の枚数順に並び替えるタッチパネル式のボタン34が表示される。ボタン34に顧客が触れると、例えば、預かり金額候補出力手段309が、これを検出し、硬貨の枚数順に預かり金額候補の出力の順番を入れ替えることで、お勧めお預け金額32に表示される預かり金額候補が並び替えられる。
Furthermore, on the
さらに、画面204aには、例えば、お勧めお預け金額32に表示された預かり金額候補の順番を釣銭が高いものから降順となるように並び替えるタッチパネル式のボタン35が表示される。ボタン35に顧客が触れると、例えば、預かり金額候補出力手段309が、これを検出し、釣銭が高いものから降順となるように預かり金額候補の出力の順番を入れ替えることで、お勧めお預け金額32に表示される預かり金額候補が並び替えられる。
Further, on the
さらに、画面204aには、例えば、お勧めお預け金額32に表示された預かり金額候補の順番を元に戻すタッチパネル式のボタン36が表示される。ボタン36に顧客が触れると、例えば、預かり金額候補出力手段309が、これを検出し、預かり金額候補の出力の順番を元に戻すことで、お勧めお預け金額32に表示される預かり金額候補が元の並び順となる。
Furthermore, on the
以上説明してきたように、POS端末100では、預かり金額候補抽出手段203が、釣銭が100円単位となるような釣銭に1円硬貨や5円硬貨を含まない預かり金額候補を、釣銭に1円硬貨や5円硬貨を含む預かり金額候補よりも優先順位を高くし、この優先順位に基づいて預かり金額候補を表示手段204に表示させる。
As described above, in the
これにより、釣銭に1円硬貨又は5円硬貨を含まない預かり金額候補を、優先順位を高くして顧客に提示することが可能となる。
即ち、釣銭が顧客の財布等の入れ物に溜まってしまう可能性を低減させる支払い金額を提示することが可能となる。
As a result, it is possible to present to the customer a deposit amount candidate that does not include a 1-yen coin or a 5-yen coin in the change with a higher priority.
That is, it becomes possible to present a payment amount that reduces the possibility that change will accumulate in containers such as a customer's wallet.
さらに、POS端末100では、預かり金額候補記憶手段308が複数の記憶領域を有し、預かり金額候補算出手段307が算出した預かり金額候補は、その優先順位に基づいて対応する記憶領域に格納される。そして、各記憶領域に格納された預かり金額候補は、その記憶領域に設定された順番に基づいて、表示手段204に表示される。
Further, in the
これによれば、釣銭に含まれる金種の優先順位を変更する場合、預かり金額候補を格納する記憶領域の位置を変更することのみで、複雑な処理を実行することなく、優先順位の変更を表示手段204に表示される預かり金額候補の並び順に反映させることが可能となる。
According to this, when changing the priority order of denominations included in change, it is possible to change the priority order only by changing the position of the storage area for storing deposit amount candidates, without performing complicated processing. It is possible to reflect the order of deposit amount candidates displayed on the
次に、釣銭第1、第3候補の抽出と格納に関して他の方法を用いた実施の形態を、第3の実施の形態として説明する。第3の実施の形態では、使用するテーブルの規模を縮小し、計算を主として釣銭候補の抽出と格納を行うものである。 Next, an embodiment using another method for extracting and storing the first and third candidates for change will be described as a third embodiment. In the third embodiment, the scale of a table to be used is reduced, and change candidates are extracted and stored mainly in calculation.
[第3の実施の形態]
第3の実施の形態に係るPOS端末では、第2の実施の形態に係るPOS端末100に対して、釣銭第1、第3候補記憶手段302,304が記憶するテーブル、及び、釣銭第1、第3候補抽出手段301,303における釣銭第1、第3候補の抽出と格納に関する処理手順が異なる。その他はPOS端末100と同じ構成である。
[Third Embodiment]
In the POS terminal according to the third embodiment, the change stored in the
まず、釣銭第1、第3候補記憶手段302,304が記憶する釣銭第1、第3候補テーブルについて説明する。
図22は、第3の実施の形態に係る釣銭第1候補テーブル及び釣銭第3候補テーブルの一例を示す図である。
First, the change first and third candidate tables stored in the change first and third candidate storage means 302 and 304 will be described.
FIG. 22 is a diagram illustrating an example of a change first candidate table and a change third candidate table according to the third embodiment.
図22(A)に示されるように、釣銭第1候補テーブル302bは、100円単位の釣銭候補として、100円、200円、500円、及び、600円を格納している。
図22(B)に示されるように、釣銭第3候補テーブル304fは、10円単位の釣銭候補、5円単位の釣銭候補、及び、1円を含む釣銭候補として、1円、5円、6円、10円、11円、15円、20円、50円、51円、55円、及び、60円を格納している。
As shown in FIG. 22A, the change first candidate
As shown in FIG. 22 (B), the change third candidate table 304f includes 10 yen change candidates, 5 yen change candidates, and change candidates including 1 yen, 1 yen, 5 yen, 6 Yen, 10 yen, 11 yen, 15 yen, 20 yen, 50 yen, 51 yen, 55 yen, and 60 yen are stored.
次に、釣銭第1候補の抽出と格納の手順について説明する。
図23は、第3の実施の形態に係るPOS端末の処理手順の一例を示すフローチャートである。
Next, the procedure for extracting and storing the first change change will be described.
FIG. 23 is a flowchart illustrating an example of a processing procedure of the POS terminal according to the third embodiment.
[ステップS451]釣銭第1候補抽出手段301が、購入金額の合計の100の位を抽出し、抽出した値を100倍して変数(A)に格納する。
[ステップS452]釣銭第1候補抽出手段301が、1000から変数(A)を引いた値を算出して変数(B)に格納する。
[Step S451] The change first
[Step S452] The change first
[ステップS453]釣銭第1候補抽出手段301が、変数(B)が釣銭第1候補記憶手段302に記憶された釣銭第1候補テーブル302bの釣銭第1候補の値に該当するかどうかを判定する。釣銭第1候補抽出手段301は、変数(B)が釣銭第1候補の値に該当する場合、処理をステップS454に進める。釣銭第1候補抽出手段301は、変数(B)が釣銭第1候補の値に該当しない場合、処理をステップS455に進める。
[Step S453] The change first
[ステップS454]釣銭第1候補抽出手段301が、変数(B)を優先順位順釣銭候補記憶手段306の記憶領域(0)に格納する。
[ステップS455]釣銭第1候補抽出手段301が、変数(A)が500未満かどうかを判定する。釣銭第1候補抽出手段301は、変数(A)が500未満の場合、処理をステップS456に進める。釣銭第1候補抽出手段301は、変数(A)が500未満ではない場合、処理を終了する。
[Step S454] The change first
[Step S455] The change first
[ステップS456]釣銭第1候補抽出手段301が、500から変数(A)を引いた値を算出して変数(C)に格納する。
[ステップS457]釣銭第1候補抽出手段301が、変数(C)が釣銭第1候補記憶手段302に記憶された釣銭第1候補テーブル302bの釣銭第1候補の値に該当するかどうかを判定する。釣銭第1候補抽出手段301は、変数(C)が釣銭第1候補の値に該当する場合、処理をステップS458に進める。釣銭第1候補抽出手段301は、変数(C)が釣銭第1候補の値に該当しない場合、処理を終了する。
[Step S456] The change first
[Step S457] The change first
[ステップS458]釣銭第1候補抽出手段301が、変数(C)を優先順位順釣銭候補記憶手段306の記憶領域(1)に格納して処理を終了する。
次に、釣銭第3候補の抽出と格納の手順について説明する。釣銭第3候補の抽出と格納の手順は、第2の実施の形態と同様に、図16に示されるように、10円単位の釣銭候補の抽出と格納、5円単位の釣銭候補の抽出と格納、及び、1円を含む釣銭候補の抽出と格納を含む。
[Step S458] The change first candidate extraction means 301 stores the variable (C) in the storage area (1) of the priority order change change candidate storage means 306, and ends the process.
Next, a procedure for extracting and storing the third change change candidate will be described. As shown in FIG. 16, the procedure for extracting and storing the third change change is as follows. As shown in FIG. 16, the change candidate is extracted and stored in units of 10 yen, and the change candidate is extracted in units of 5 yen. This includes storing and extracting and storing change candidates including one yen.
図24〜図26は、第3の実施の形態に係るPOS端末の処理手順の一例を示すフローチャートである。
まず、10円単位の釣銭候補の抽出と格納の手順について、図24を用いて説明する。
24 to 26 are flowcharts illustrating an example of a processing procedure of the POS terminal according to the third embodiment.
First, procedures for extracting and storing change candidates in units of 10 yen will be described with reference to FIG.
[ステップS501]釣銭第3候補抽出手段303が、購入金額の合計の10の位を抽出し、抽出した値を10倍して変数(A)に格納する。
[ステップS502]釣銭第3候補抽出手段303が、100から変数(A)を引いた値を算出して変数(B)に格納する。
[Step S501] The change change third
[Step S502] The third change
[ステップS503]釣銭第3候補抽出手段303が、変数(B)が釣銭第3候補記憶手段304に記憶された釣銭第1候補テーブル304fの釣銭第3候補の値に該当するかどうかを判定する。釣銭第3候補抽出手段303は、変数(B)が釣銭第3候補の値に該当する場合、処理をステップS504に進める。釣銭第3候補抽出手段303は、変数(B)が釣銭第3候補の値に該当しない場合、処理をステップS505に進める。
[Step S503] The third change
[ステップS504]釣銭第3候補抽出手段303が、変数(B)を優先順位順釣銭候補記憶手段306の記憶領域(15)に格納する。
[ステップS505]釣銭第3候補抽出手段303が、変数(A)が50かどうかを判定する。釣銭第3候補抽出手段303は、変数(A)が50である場合、処理を終了する。釣銭第3候補抽出手段303は、変数(A)が50ではない場合、処理をステップS506に進める。
[Step S504] The third change
[Step S505] The third change
[ステップS506]釣銭第3候補抽出手段303が、変数(A)が50未満かどうかを判定する。釣銭第3候補抽出手段303は、変数(A)が50未満である場合、処理をステップS508に進める。釣銭第3候補抽出手段303は、変数(A)が50未満ではない場合、処理をステップS507に進める。
[Step S506] The third change
[ステップS507]釣銭第3候補抽出手段303が、「50」を優先順位順釣銭候補記憶手段306の記憶領域(14)に格納して処理を終了する。
[ステップS508]釣銭第3候補抽出手段303が、50から変数(A)を引いた値を算出して変数(C)に格納する。
[Step S507] The third change
[Step S508] The third change
[ステップS509]釣銭第3候補抽出手段303が、変数(C)が釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304fの釣銭第3候補の値に該当するかどうかを判定する。釣銭第3候補抽出手段303は、変数(C)が釣銭第3候補の値に該当する場合、処理をステップS510に進める。釣銭第3候補抽出手段303は、変数(C)が釣銭第3候補の値に該当しない場合、処理を終了する。
[Step S509] The third change
[ステップS510]釣銭第3候補抽出手段303が、変数(C)を優先順位順釣銭候補記憶手段306の記憶領域(14)に格納して処理を終了する。
次に、5円単位の釣銭候補の抽出と格納の手順について、図25を用いて説明する。
[Step S510] The third change
Next, procedures for extracting and storing change candidates in units of 5 yen will be described with reference to FIG.
[ステップS551]釣銭第3候補抽出手段303が、購入金額の合計の1の位が5以上かどうかを判定する。釣銭第3候補抽出手段303は、購入金額の合計の1の位が5以上である場合、処理をステップS552に進める。釣銭第3候補抽出手段303は、購入金額の合計の1の位が5以上ではない場合、処理を終了する。
[Step S551] The third change
[ステップS552]釣銭第3候補抽出手段303が、「5」を優先順位順釣銭候補記憶手段306の記憶領域(17)に格納する。
[ステップS553]釣銭第3候補抽出手段303が、購入金額の合計の下二桁の値を抽出し、抽出した値を変数(A)に格納する。
[Step S552] The third
[Step S553] The third change
[ステップS554]釣銭第3候補抽出手段303が、変数(A)に55を加えた値が100超150未満かどうかを判定する。釣銭第3候補抽出手段303は、変数(A)に55を加えた値が100超150未満である場合、処理をステップS555に進める。釣銭第3候補抽出手段303は、変数(A)に55を加えた値が100超150未満ではない場合、処理をステップS556に進める。
[Step S554] The third change
[ステップS555]釣銭第3候補抽出手段303が、「55」を優先順位順釣銭候補記憶手段306の記憶領域(16)に格納する。
[ステップS556]釣銭第3候補抽出手段303が、100から変数(A)を引いた値が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304fの釣銭第3候補の値に該当するかどうかを判定する。釣銭第3候補抽出手段303は、100から変数(A)を引いた値が釣銭第3候補の値に該当する場合、処理をステップS557に進める。釣銭第3候補抽出手段303は、100から変数(A)を引いた値が釣銭第3候補の値に該当しない場合、処理をステップS558に進める。
[Step S555] The third change
[Step S556] The third change
[ステップS557]釣銭第3候補抽出手段303が、ステップS556で釣銭第3候補の値に該当すると判定した釣銭候補値を優先順位順釣銭候補記憶手段306の記憶領域(18)に格納する。
[Step S557] The change change
[ステップS558]釣銭第3候補抽出手段303が、50から変数(A)を引いた値が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304fの釣銭第3候補の値に該当するかどうかを判定する。釣銭第3候補抽出手段303は、50から変数(A)を引いた値が釣銭第3候補の値に該当する場合、処理をステップS559に進める。釣銭第3候補抽出手段303は、50から変数(A)を引いた値が釣銭第3候補の値に該当しない場合、処理を終了する。
[Step S558] The value obtained by subtracting the variable (A) from 50 by the change third
[ステップS559]釣銭第3候補抽出手段303が、ステップS558で釣銭第3候補の値に該当すると判定した釣銭候補値を優先順位順釣銭候補記憶手段306の記憶領域(19)に格納して処理を終了する。
[Step S559] The change
次に、1円を含む釣銭候補の抽出と格納の手順について、図26を用いて説明する。
[ステップS601]釣銭第3候補抽出手段303が、購入金額の合計の1の位が4かどうかを判定する。釣銭第3候補抽出手段303は、購入金額の合計の1の位が4である場合、処理をステップS602に進める。釣銭第3候補抽出手段303は、購入金額の合計の1の位が4ではない場合、処理をステップS612に進める。
Next, a procedure for extracting and storing change candidates including one yen will be described with reference to FIG.
[Step S601] The third change
[ステップS602]釣銭第3候補抽出手段303が、「6」を優先順位順釣銭候補記憶手段306の記憶領域(22)に格納する。さらに、釣銭第3候補抽出手段303が、「1」を優先順位順釣銭候補記憶手段306の記憶領域(23)に格納する。
[Step S <b> 602] The change third
[ステップS603]釣銭第3候補抽出手段303が、購入金額の合計の下二桁の値を抽出し、抽出した値を変数(A)に格納する。
[ステップS604]釣銭第3候補抽出手段303が、変数(A)に51を加えた値が100超かどうかを判定する。釣銭第3候補抽出手段303は、変数(A)に51を加えた値が100超である場合、処理をステップS605に進める。釣銭第3候補抽出手段303は、変数(A)に51を加えた値が100超ではない場合、処理をステップS606に進める。
[Step S603] The third change
[Step S604] The third change
[ステップS605]釣銭第3候補抽出手段303が、「51」を優先順位順釣銭候補記憶手段306の記憶領域(20)に格納する。
[ステップS606]釣銭第3候補抽出手段303が、変数(A)に11を加えた値が100超かどうかを判定する。釣銭第3候補抽出手段303は、変数(A)に11を加えた値が100超である場合、処理をステップS607に進める。釣銭第3候補抽出手段303は、変数(A)に11を加えた値が100超ではない場合、処理をステップS608に進める。
[Step S605] The third change
[Step S606] The third change
[ステップS607]釣銭第3候補抽出手段303が、「11」を優先順位順釣銭候補記憶手段306の記憶領域(21)に格納する。
[ステップS608]釣銭第3候補抽出手段303が、100から変数(A)を引いた値が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304fの釣銭第3候補の値に該当するかどうかを判定する。釣銭第3候補抽出手段303は、100から変数(A)を引いた値が釣銭第3候補の値に該当する場合、処理をステップS609に進める。釣銭第3候補抽出手段303は、100から変数(A)を引いた値が釣銭第3候補の値に該当しない場合、処理をステップS610に進める。
[Step S <b> 607] The third change
[Step S608] The change third
[ステップS609]釣銭第3候補抽出手段303が、ステップS608で釣銭第3候補の値に該当すると判定した釣銭候補値を優先順位順釣銭候補記憶手段306の記憶領域(24)に格納する。
[Step S609] The change change
[ステップS610]釣銭第3候補抽出手段303が、50から変数(A)を引いた値が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304fの釣銭第3候補の値に該当するかどうかを判定する。釣銭第3候補抽出手段303は、50から変数(A)を引いた値が釣銭第3候補の値に該当する場合、処理をステップS611に進める。釣銭第3候補抽出手段303は、50から変数(A)を引いた値が釣銭第3候補の値に該当しない場合、処理を終了する。
[Step S610] The third change
[ステップS611]釣銭第3候補抽出手段303が、ステップS610で釣銭第3候補の値に該当すると判定した釣銭候補値を優先順位順釣銭候補記憶手段306の記憶領域(25)に格納して処理を終了する。
[Step S611] The change change
[ステップS612]釣銭第3候補抽出手段303が、購入金額の合計の1の位が9かどうかを判定する。釣銭第3候補抽出手段303は、購入金額の合計の1の位が9である場合、処理をステップS613に進める。釣銭第3候補抽出手段303は、購入金額の合計の1の位が9ではない場合、処理を終了する。
[Step S612] The third change
[ステップS613]釣銭第3候補抽出手段303が、「1」を優先順位順釣銭候補記憶手段306の記憶領域(21)に格納する。
[ステップS614]釣銭第3候補抽出手段303が、購入金額の合計の下二桁の値を抽出し、抽出した値を変数(A)に格納する。
[Step S613] The third change
[Step S614] The third change
[ステップS615]釣銭第3候補抽出手段303が、変数(A)に51を加えた値が100超150未満かどうかを判定する。釣銭第3候補抽出手段303は、変数(A)に51を加えた値が100超150未満である場合、処理をステップS616に進める。釣銭第3候補抽出手段303は、変数(A)に51を加えた値が100超150未満ではない場合、処理をステップS617に進める。
[Step S615] The third change
[ステップS616]釣銭第3候補抽出手段303が、「51」を優先順位順釣銭候補記憶手段306の記憶領域(20)に格納する。
[ステップS617]釣銭第3候補抽出手段303が、100から変数(A)を引いた値が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304fの釣銭第3候補の値に該当するかどうかを判定する。釣銭第3候補抽出手段303は、100から変数(A)を引いた値が釣銭第3候補の値に該当する場合、処理をステップS618に進める。釣銭第3候補抽出手段303は、100から変数(A)を引いた値が釣銭第3候補の値に該当しない場合、処理をステップS619に進める。
[Step S616] The third change
[Step S617] The change third
[ステップS618]釣銭第3候補抽出手段303が、ステップS617で釣銭第3候補の値に該当すると判定した釣銭候補値を優先順位順釣銭候補記憶手段306の記憶領域(22)に格納する。
[Step S618] The change change
[ステップS619]釣銭第3候補抽出手段303が、50から変数(A)を引いた値が、釣銭第3候補記憶手段304に記憶された釣銭第3候補テーブル304fの釣銭第3候補の値に該当するかどうかを判定する。釣銭第3候補抽出手段303は、50から変数(A)を引いた値が釣銭第3候補の値に該当する場合、処理をステップS620に進める。釣銭第3候補抽出手段303は、50から変数(A)を引いた値が釣銭第3候補の値に該当しない場合、処理を終了する。
[Step S619] The value obtained by subtracting the variable (A) from the change third
[ステップS620]釣銭第3候補抽出手段303が、ステップS619で釣銭第3候補の値に該当すると判定した釣銭候補値を優先順位順釣銭候補記憶手段306の記憶領域(23)に格納して処理を終了する。
[Step S620] The change
第3の実施の形態においても、第2の実施の形態と同様に、釣銭に1円硬貨又は5円硬貨を含まない預かり金額候補を、優先順位を高くして顧客に提示することが可能となる。
即ち、釣銭が顧客の財布等の入れ物に溜まってしまう可能性を低減させる支払い金額を提示することが可能となる。
Also in the third embodiment, as in the second embodiment, it is possible to present a deposit amount candidate that does not include a 1-yen coin or a 5-yen coin to the customer with higher priority, as in the change. Become.
That is, it becomes possible to present a payment amount that reduces the possibility that change will accumulate in containers such as a customer's wallet.
なお、各実施の形態で示した以上の処理は、コンピュータに所定のプログラムを実行させることで実現できる。その場合、実現すべき処理内容を記述したプログラムが提供される。処理内容を記述したプログラムは、コンピュータ読み取り可能な記録媒体に記録しておくことができる。コンピュータ読み取り可能な記録媒体には、例えば、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリがある。磁気記録装置には、ハードディスク装置、フレキシブルディスク(FD)、磁気テープ(MT)等がある。光ディスクには、DVD(Digital Versatile Disc)、DVD−RAM、CD−ROM(Compact Disc - Read Only Memory)、CD−R(Recordable)、CD−RW(ReWritable)等がある。光磁気記録媒体には、MO(Magneto-Optical disk)等がある。 Note that the processing described above in each embodiment can be realized by causing a computer to execute a predetermined program. In that case, a program describing the processing contents to be realized is provided. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic recording device include a hard disk device, a flexible disk (FD), and a magnetic tape (MT). Optical discs include DVD (Digital Versatile Disc), DVD-RAM, CD-ROM (Compact Disc-Read Only Memory), CD-R (Recordable), CD-RW (ReWritable), and the like. Magneto-optical recording media include MO (Magneto-Optical disk).
プログラムを流通させる場合、例えば、そのプログラムが記録されたDVD、CD−ROM等の可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにプログラムを転送することもできる。 When distributing the program, for example, a portable recording medium such as a DVD or a CD-ROM in which the program is recorded is sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.
プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラム又はサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送される毎に、逐次、受け取ったプログラムに従った処理を実行することもできる。 The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. In addition, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.
10 貨幣取引装置
11 入力手段
12 第1の釣銭候補抽出手段
13 第2の釣銭候補抽出手段
14 預かり金額候補算出手段
15 優先順位設定手段
16 出力手段
17 表示手段
DESCRIPTION OF
Claims (9)
購入金額における所定の金種を含まない金種単位の各値に対応付けて第1の釣銭候補と当該第1の釣銭候補の優先順位が設定され、記憶手段に格納される第1の釣銭候補テーブルを参照し、入力された購入金額に基づき、当該購入金額に対応する前記第1の釣銭候補を抽出する第1の釣銭候補抽出手段、
前記購入金額における所定の金種を含む金種単位の各値に対応付けて第2の釣銭候補と当該第2の釣銭候補の優先順位が設定され、前記記憶手段に格納される第2の釣銭候補テーブルを参照し、前記入力された購入金額に基づき、当該購入金額に対応する前記第2の釣銭候補を抽出する第2の釣銭候補抽出手段、
前記第1の釣銭候補抽出手段が抽出した前記第1の釣銭候補に基づき、第1の預かり金額候補を算出するとともに、前記第2の釣銭候補抽出手段が抽出した前記第2の釣銭候補に基づき、第2の預かり金額候補を算出する預かり金額候補算出手段、
前記預かり金額候補算出手段が算出した前記第1の預かり金額候補間の優先順位を対応する前記第1の釣銭候補の優先順位に基づいて設定するとともに、算出した前記第2の預かり金額候補間の優先順位を対応する前記第2の釣銭候補の優先順位に基づいて設定し、さらに、前記第1の預かり金額候補を、前記第2の預かり金額候補よりも優先順位を高くする優先順位設定手段、
前記預かり金額候補算出手段が算出した前記第1の預かり金額候補及び前記第2の預かり金額候補を、前記優先順位設定手段が設定した優先順位に基づいて、表示手段に表示させる出力手段、
として機能させることを特徴とする貨幣取引プログラム。 Computer
The first change candidate and the first change candidate stored in the storage means are set with the priority of the first change candidate and the first change candidate in association with each value of the denomination unit not including the predetermined denomination in the purchase amount. A first change candidate extracting means for referring to the table and extracting the first change candidate corresponding to the purchase price based on the input purchase price;
A second change candidate and a second change change stored in the storage means are set in correspondence with each value of a denomination unit including a predetermined denomination in the purchase amount, and a priority order of the second change candidate and the second change candidate is set. A second change candidate extracting unit that refers to a candidate table and extracts the second change candidate corresponding to the purchase price based on the input purchase price;
Based on the first change candidate said first change candidate extracting means has extracted, calculates the first deposit amount candidates, based on the second change candidate said second change candidate extracting means has extracted , amounts candidate calculation means Luggage to de San a second deposit amount of money candidates,
The priority between the first deposit amount candidates calculated by the deposit amount candidate calculation means is set based on the priority order of the corresponding first change candidate, and between the calculated second deposit amount candidates Priority setting means for setting the priority based on the priority of the corresponding second change candidate , and further setting the first deposit amount candidate to be higher in priority than the second deposit amount candidate;
Output means for causing the display means to display the first deposit amount candidate and the second deposit amount candidate calculated by the deposit amount candidate calculation means based on the priority order set by the priority order setting means;
A currency trading program characterized by functioning as
前記第2の釣銭候補テーブルは、前記第2の釣銭候補のうち、当該第2の釣銭候補に含まれる硬貨の枚数が所定値を超えるものを除外して設定される、 The second change candidate table is set by excluding one of the second change candidates whose number of coins included in the second change candidate exceeds a predetermined value.
ことを特徴とする請求項1に記載の貨幣取引プログラム。 The money transaction program according to claim 1, wherein:
ことを特徴とする請求項1または2に記載の貨幣取引プログラム。 The money transaction program according to claim 1 or 2.
ことを特徴とする請求項1または2に記載の貨幣取引プログラム。 The money transaction program according to claim 1 or 2.
前記出力手段は、前記第1の記憶領域に格納された預かり金額候補を、前記第2の記憶領域に格納された預かり金額候補よりも上位に位置するように、前記表示手段に表示させることを特徴とする請求項1〜4のいずれか1項に記載の貨幣取引プログラム。 The priority order setting means stores deposit amount candidates that do not include the predetermined denomination in change in the first storage area of the deposit amount candidate storage means having a first storage area and a second storage area. And storing the deposit amount candidate including the predetermined denomination in the change in the second storage area,
The output means causes the display means to display the deposit amount candidate stored in the first storage area so as to be positioned higher than the deposit amount candidate stored in the second storage area. The money transaction program according to any one of claims 1 to 4, characterized in that:
購入金額における所定の金種を含まない金種単位の各値に対応付けて第1の釣銭候補と当該第1の釣銭候補の優先順位が設定され、記憶手段に格納される第1の釣銭候補テーブルを参照し、入力された購入金額に基づき、当該購入金額に対応する前記第1の釣銭候補を抽出し、
前記購入金額における所定の金種を含む金種単位の各値に対応付けて第2の釣銭候補と当該第2の釣銭候補の優先順位が設定され、前記記憶手段に格納される第2の釣銭候補テーブルを参照し、前記入力された購入金額に基づき、当該購入金額に対応する前記第2の釣銭候補を抽出し、
抽出した前記第1の釣銭候補に基づき、第1の預かり金額候補を算出するとともに、前記第2の釣銭候補に基づき、第2の預かり金額候補を算出し、
算出した前記第1の預かり金額候補間の優先順位を対応する前記第1の釣銭候補の優先順位に基づいて設定するとともに、算出した前記第2の預かり金額候補間の優先順位を対応する前記第2の釣銭候補の優先順位に基づいて設定し、さらに、前記第1の預かり金額候補を、前記第2の預かり金額候補よりも優先順位を高くし、
算出した前記第1の預かり金額候補及び前記第2の預かり金額候補を、設定した優先順位に基づいて、表示手段に表示させる、
ことを特徴とする貨幣取引方法。 Computer
The first change candidate and the first change candidate stored in the storage means are set with the priority of the first change candidate and the first change candidate in association with each value of the denomination unit not including the predetermined denomination in the purchase amount. With reference to the table , based on the input purchase price, extract the first change candidate corresponding to the purchase price ,
A second change candidate and a second change change stored in the storage means are set in correspondence with each value of a denomination unit including a predetermined denomination in the purchase amount, and a priority order of the second change candidate and the second change candidate is set. With reference to the candidate table , based on the input purchase price, extract the second change candidate corresponding to the purchase price ,
Based on the extracted first change candidate, it calculates the first deposit amount candidates, based on the second change candidate issues calculate the second deposit amount candidates,
The calculated priority order between the first deposit amount candidates is set based on the priority order of the corresponding first change candidate, and the calculated priority order between the second deposit amount candidates is set. 2 based on the priority of the change change candidates , and the first deposit amount candidate is set to have a higher priority than the second deposit amount candidate,
Displaying the calculated first deposit amount candidate and the second deposit amount candidate on the display unit based on the set priority order;
A currency transaction method characterized by the above.
前記購入金額における所定の金種を含む金種単位の各値に対応付けて第2の釣銭候補と当該第2の釣銭候補の優先順位が設定され、前記記憶手段に格納される第2の釣銭候補テーブルを参照し、前記入力された購入金額に基づき、当該購入金額に対応する前記第2の釣銭候補を抽出する第2の釣銭候補抽出手段と、
前記第1の釣銭候補抽出手段が抽出した前記第1の釣銭候補に基づき、第1の預かり金額候補を算出するとともに、前記第2の釣銭候補抽出手段が抽出した前記第2の釣銭候補に基づき、第2の預かり金額候補を算出する預かり金額候補算出手段と、
前記預かり金額候補算出手段が算出した前記第1の預かり金額候補間の優先順位を対応する前記第1の釣銭候補の優先順位に基づいて設定するとともに、算出した前記第2の預かり金額候補間の優先順位を対応する前記第2の釣銭候補の前記優先順位に基づいて設定し、さらに、前記第1の預かり金額候補を、前記第2の預かり金額候補よりも優先順位を高くする優先順位設定手段と、
前記預かり金額候補算出手段が算出した前記第1の預かり金額候補及び前記第2の預かり金額候補を、前記優先順位設定手段が設定した優先順位に基づいて、表示手段に表示させる出力手段と、
を有することを特徴とする貨幣取引装置。 The first change candidate and the first change candidate stored in the storage means are set with the priority of the first change candidate and the first change candidate in association with each value of the denomination unit not including the predetermined denomination in the purchase amount. A first change candidate extracting means for referring to the table and extracting the first change candidate corresponding to the purchase price based on the input purchase price;
A second change candidate and a second change change stored in the storage means are set in correspondence with each value of a denomination unit including a predetermined denomination in the purchase amount, and a priority order of the second change candidate and the second change candidate is set. A second change candidate extracting means for referring to a candidate table and extracting the second change candidate corresponding to the purchase price based on the input purchase price;
Based on the first change candidate said first change candidate extracting means has extracted, calculates the first deposit amount candidates, based on the second change candidate said second change candidate extracting means has extracted , and the amount of money a candidate calculation means Luggage to de San a second deposit amount of money candidates,
The priority between the first deposit amount candidates calculated by the deposit amount candidate calculation means is set based on the priority order of the corresponding first change candidate, and between the calculated second deposit amount candidates Priority order setting means for setting a priority order based on the priority order of the corresponding second change candidate, and for setting the first deposit amount candidate higher than the second deposit amount candidate When,
Output means for causing the display means to display the first deposit amount candidate and the second deposit amount candidate calculated by the deposit amount candidate calculation unit based on the priority set by the priority order setting unit;
A currency transaction apparatus comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010047336A JP5486961B2 (en) | 2010-03-04 | 2010-03-04 | Money transaction program, money transaction method, and money transaction apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010047336A JP5486961B2 (en) | 2010-03-04 | 2010-03-04 | Money transaction program, money transaction method, and money transaction apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011181027A JP2011181027A (en) | 2011-09-15 |
| JP5486961B2 true JP5486961B2 (en) | 2014-05-07 |
Family
ID=44692432
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010047336A Expired - Fee Related JP5486961B2 (en) | 2010-03-04 | 2010-03-04 | Money transaction program, money transaction method, and money transaction apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5486961B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109690638A (en) * | 2016-09-05 | 2019-04-26 | 瑞可利有限公司 | Checkout processing system and recording medium on which control program is recorded |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08124029A (en) * | 1994-10-28 | 1996-05-17 | Tec Corp | Commodity sale register data processor |
| JP4988412B2 (en) * | 2007-04-16 | 2012-08-01 | 東芝テック株式会社 | Product sales data processing device |
-
2010
- 2010-03-04 JP JP2010047336A patent/JP5486961B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109690638A (en) * | 2016-09-05 | 2019-04-26 | 瑞可利有限公司 | Checkout processing system and recording medium on which control program is recorded |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011181027A (en) | 2011-09-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5390948B2 (en) | Article providing apparatus and GUI providing method using the same | |
| JP6730077B2 (en) | Product registration processing system and product registration method | |
| JP2019003699A (en) | Settlement device and settlement support method | |
| JP2005174313A (en) | Method and apparatus for calculating economic value of patent or technology | |
| JP2020140400A (en) | Electronic currencies, programs and electronic currency trading systems | |
| JP2017117169A (en) | Touch panel input device and control program | |
| JP5486961B2 (en) | Money transaction program, money transaction method, and money transaction apparatus | |
| JP4303003B2 (en) | Stock investment trust management system, stock investment trust management method, and program | |
| JP2013069212A (en) | Sales merchandise registration system and method | |
| JP6888797B2 (en) | Information processing equipment, control methods, and programs | |
| JP2012085935A (en) | Prize management device | |
| JP6533145B2 (en) | Sales data processing device | |
| JP2018106232A (en) | Money calculator | |
| JP2003281627A (en) | Payment amount display method and its program | |
| JP4782437B2 (en) | Medal lending system, medal lending method and medal lending program | |
| JP2021168191A (en) | Touch panel input device and control program | |
| JP2020184357A (en) | Product registration processing system and product registration method | |
| JP6163953B2 (en) | Cash processing equipment | |
| EP4220528A1 (en) | Processing apparatus, processing method, and program | |
| JP6870295B2 (en) | Arithmetic logic unit, calculation method and program | |
| JP2004185367A (en) | Product investment system | |
| JP4704023B2 (en) | Gift certificate issuing device | |
| JP4841229B2 (en) | Counting machine, prize management device, counting method and prize exchange processing method | |
| JP6916341B2 (en) | Touch panel input device and control program | |
| JP6111608B2 (en) | Ticketing machine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121011 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131115 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131126 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140122 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140218 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140224 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5486961 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |