JP2024053141A - Payment processing device and payment processing program - Google Patents
Payment processing device and payment processing program Download PDFInfo
- Publication number
- JP2024053141A JP2024053141A JP2022159197A JP2022159197A JP2024053141A JP 2024053141 A JP2024053141 A JP 2024053141A JP 2022159197 A JP2022159197 A JP 2022159197A JP 2022159197 A JP2022159197 A JP 2022159197A JP 2024053141 A JP2024053141 A JP 2024053141A
- Authority
- JP
- Japan
- Prior art keywords
- discount
- flag
- unit
- control unit
- payment processing
- 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
Links
- 238000000034 method Methods 0.000 description 58
- 230000008569 process Effects 0.000 description 56
- 239000000284 extract Substances 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 230000009467 reduction Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005401 electroluminescence Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Abstract
【課題】 値割引き適用時に効率よく値割引き金額が最大値となる決済処理装置及び決済処理プログラムを提供する。【解決手段】本実施形態の決済処理装置は商品情報取得部と、制御部と、を備える。商品情報取得部は、商品の単価を含む商品情報を取得する。制御部は、商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で単価を値引く値引きフラグと、割引フラグおよび値引きフラグが有効である状態を記憶する記憶部に記憶する情報に基づいて、割引フラグが有効な場合、割引率に基づき単価の割引を行い割引結果を算出し、値引きフラグが有効な場合、値引き額に基づき割引結果から値引きを行う。【選択図】 図6[Problem] To provide a payment processing device and a payment processing program that efficiently maximizes the discount amount when discounts are applied. [Solution] The payment processing device of this embodiment includes a product information acquisition unit and a control unit. The product information acquisition unit acquires product information including the unit price of the product. The control unit, based on the product information, a discount flag that discounts the unit price by a preset discount rate, a discount flag that discounts the unit price by a preset discount amount, and information stored in a storage unit that stores the discount flag and the status of the discount flag being enabled, calculates a discount result by discounting the unit price based on the discount rate if the discount flag is enabled, and calculates a discount result based on the discount amount if the discount flag is enabled. [Selected Figure] Figure 6
Description
本発明の実施形態は、決済処理装置及び決済処理プログラムに関する。 Embodiments of the present invention relate to a payment processing device and a payment processing program.
従来、スーパーマーケット等の小売店において商品や役務を取引する際にPOS(Point Of Sales)端末を用いて決済が行われる。このような決済を処理するPOS端末にはあらかじめ設定されている商品や役務の単価又は小計に対して値割引きを行う機能を有するものがある。
しかしながら、決済に適用する値割引きの組み合わせによっては値割引き金額が最大になるように出力するために時間を要する場合がある。そのような場合、1つの取引に対する顧客の滞在時間が増え、作業効率が低下する。
Conventionally, when a product or service is traded at a retail store such as a supermarket, a POS (Point Of Sales) terminal is used to make a payment. Some POS terminals that process such payments have a function of applying a discount to a preset unit price or subtotal of the product or service.
However, depending on the combination of discounts applied to the payment, it may take time to output the maximum discount amount. In such cases, the customer's stay time for one transaction increases, and work efficiency decreases.
本発明が解決しようとする課題は値割引き適用時に効率よく値割引き金額が最大値となる決済処理装置及び決済処理プログラムを提供することにある。 The problem that this invention aims to solve is to provide a payment processing device and a payment processing program that efficiently maximizes the discount amount when discounts are applied.
上記課題を達成するために本実施形態の決済処理装置は商品情報取得部と、制御部と、を備える。商品情報取得部は、商品の単価を含む商品情報を取得する。制御部は、商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で単価を値引く値引きフラグと、割引フラグおよび値引きフラグが有効である状態を記憶する記憶部に記憶する情報に基づいて、割引フラグが有効な場合、割引率に基づき単価の割引を行い割引結果を算出し、値引きフラグが有効な場合、値引き額に基づき割引結果から値引きを行う。 To achieve the above object, the payment processing device of this embodiment includes a product information acquisition unit and a control unit. The product information acquisition unit acquires product information including the unit price of the product. The control unit, based on the product information, a discount flag that discounts the unit price by a preset discount rate, a discount flag that discounts the unit price by a preset discount amount, and information stored in a storage unit that stores the discount flag and the state in which the discount flag is enabled, calculates a discount result by discounting the unit price based on the discount rate if the discount flag is enabled, and calculates a discount result based on the discount amount if the discount flag is enabled.
(第1の実施形態)
以下、本実施形態について、図面を参照にしながら説明する。
本実施形態ではスーパーマーケットなど小売店にて使用される決済処理を行う決済処理装置としてPOS端末1を一例に挙げ、説明する。本実施形態における商品の単価は税抜きの金額でも良いし、税込みの金額でもよい。
First Embodiment
Hereinafter, the present embodiment will be described with reference to the drawings.
In this embodiment, a
図1は第1の実施形態に係るPOS端末1の一例を示すブロック図である。
POS端末1は制御部100、記憶部101、商品読取部102、操作部103、店員側表示部104、客面表示部105、印字部106、通信I/F107、決済媒体読取部108によって構成され、各部はバスを通じて接続される。
FIG. 1 is a block diagram showing an example of a
The
制御部100はCPU(Central Processing Unit)1001、ROM(Read Only Memory)1002、RAM(Random Access Memory)1003を備える。CPU1001はPOS端末1全体を制御する。ROM1002はCPU1001の駆動に用いられるプログラムなど各種プログラムや各種データを記憶する。RAM1003は。CPU1001のワークエリアとして使用され、ROM1002や記憶部101に記憶されている各種プログラムと各種データを展開する。制御部101はCPU1001がROM1002や、記憶部101に記憶されRAM1003に展開された情報処理プログラムに従って動作することによってPOS端末1の各種機能処理を実行する。
The
記憶部101はHDD(Hard Disc Drive)やフラッシュメモリ等の記憶媒体で構成されている。記憶部101にはPOS端末1が動作するためにオペレーティングシステム及び他の必要なアプリケーションプログラム等のソフトウェアやユーザー情報などを記憶する。また、記憶部101はPLU(Price Look Up)マスタ1011、値割引設定管理ファイル1012、会計ファイル1013等も記憶されている。
なお、PLUマスタ1011、値割引設定管理ファイル1012、会計ファイル1013はPOS端末1からアクセス可能な記憶媒体又は機器に記憶されていればよく、外付けのHDDや店舗内に設置した管理用の端末、サーバなどに記憶されていても良い。
The
The
商品読取部102は商品などに付された商品コードを光学的または撮像を行い認識する。商品コードとはバーコードなどの一次元コード、あるいは2次元コード等のコードシンボルである。商品読取部102は認識したコードシンボルをデコードし、コードシンボルが示すPLUコード等商品に関する情報を取得する。商品読取部102は、色や凹凸等の商品の特徴量に基づいて商品を認識するオブジェクト認識方式で商品を特定しても良い。また、商品読取部102は商品に付された商品コードの他、商品の値割引についての情報が記載された一次元コードあるいは2次元コード等コードシンボルが記載された商品券(以下、クーポン)を読み取り商品の値割引についての情報(以下、クーポン情報)を取得しても良い。なお、取得したコードシンボルをデコードする処理は制御部101が行っても良い。
The
操作部103は使用者が入力した命令をPOS端末1に出力する。操作部103はPOS端末1に命令を出力するために「0」ないし「9」の置数キーにて構成されたテンキー、小計の実行を命令する小計キー、値割引きの受付を終了する値割引き終了キーなどを備え、押下されたキーを示す信号を命令として出力する。なお、操作部103には商品の単価又は小計から設定された金額分を値引きする値引きプリセットキーや、商品の単価又は小計から設定された割引率で割引く割引プリセットキーを備えていても良い。また、値引きプリセットキー及び割引プリセットキーはそれぞれ異なる値が設定されていても良い。
The
店員側表示部104及び、客面表示部105はPOS端末1に関する情報を表示する。店員側表示部104及び、客面表示部105は液晶ディスプレイ、有機EL(Electro Luminescence)の表示デバイスである。
The
店員側表示部104は店員が操作に供するための情報を表示する。店員側表示部104は例えば商品読取部102が読み取った商品情報の他、電子マネーやクレジットカードでの決済に関する画面などを表示する。また、店員側表示部104がタッチパネルである場合、POS端末1に読取から会計処理に移行するための命令を入力するための領域やあらかじめ設定した金額を購入金額である小計に加算するためのプリセットに関する領域などを表示しても良い。なお、店員側表示部104は商品の単価又は小計から設定された金額分を値引きする値引きプリセットに関する領域や、商品の単価又は小計から設定された割引率で割引く割引プリセットに関する領域を表示しても良い。
The
客面表示部105は買い物客に会計を行うために供する情報を表示する。客面表示部105は例えば購入する商品の名称、商品の金額、商品の合計金額である小計等を表示する。また、客面表示機器15は決済方法の選択等のためにタッチパネルであっても良い。
The customer-facing
印字部106は例えば感熱紙であるレシート用紙に各種の情報を印刷するサーマルプリンタである。印字部106は客が購入した商品等の名称や単価、小計金額、合計金額、値割引額等が印刷されたレシートを発行させる。
The
通信I/F107は有線または無線を介して通信接続された機器との間でデータの送受信を行う。
The communication I/
決済媒体読取部108は磁気読取やIC(Integrated Circuit)チップ読取、近距離無線通信等を有し、決済媒体を読み取る。決済媒体は例えばキャッシュレス決済用のカードやキャッシュレス決済用のアプリをインストールした携帯端末でありユーザーIDや電子マネー残高等で構成したユーザー情報と関連付けられる。ユーザー情報は、例えば決済媒体が備えるユーザーID等をもとに関連づけられる。また、決済媒体読取部108は、POS端末1と一体に構成してもPOS端末1に接続して動作する外部装置として構成しても良い。
The payment
図2は第1の実施形態に係るのPLUマスタ1011のデータ構造例を示す図である。
PLUマスタ1011はPOS端末1が設置された小売店などの店舗で販売される商品のPLUデータによって構成されている。各PLUデータは、商品毎に一意に割り当てられた「PLUコード」、その商品の名称を示す「商品名」、その商品の売値を示す「単価」等の項目で構成されている。
FIG. 2 is a diagram showing an example of a data structure of the
The
図3は第1の実施形態に係る値割引き設定管理ファイル1012のデータ構造例を示す図である。値割引き設定管理ファイル1012は、商品読取部102が取得したクーポンが記憶している値割引きに関する情報に対応するレコードによって構成されている。各レコードには、値割引種別およびフラグが記述される。フラグは、「0」(無効),「1」(有効)のいずれかに設定される。割引に関する値割引種別のフラグ(以下、割引フラグ)が「1」であるならば、後述の決済処理において入力された値割引種別に示された割引が実施され、「0」であるならば値割引種別に示された割引が実施されない。値引きに関する値割引種別のフラグ(以下、値引きフラグ)が「1」であるならば、後述の決済処理において入力された値割引種別に示された値引きが実施され、「0」であるならば値割引種別に示された値引きが実施されない。また、値引きフラグはあらかじめ有効となる数に制限を設けても良い。なお、値割引き設定管理ファイル1012は操作部103または店員側表示部104が備える値割引きを命令するプリセットキーまたは値割引に関する領域に対応するレコードで一部または全てを構成していても良い。
Figure 3 is a diagram showing an example of the data structure of the discount
このような構成の値割引き設定管理ファイル1012は、例えばPOS端末1にて実行される割引設定処理にて編集される。すなわち、この値割引を適用する処理において商品読取部102で取得したクーポン情報に対し設定する値割引種別と、フラグの値の入力が受け付けられ、入力された値割引種別およびフラグの値にて値割引き設定管理ファイル1012の内容が更新される。
The discount
図4は、会計ファイル1013のデータ構造例を示す図である。会計ファイル1013は、POS端末1によって決済された取引の履歴を示す会計情報によって構成されている。各会計情報は、取引毎に割り当てられた「取引番号」、「取引日時」、その取引で決済された各商品の「PLUデータ」、取引の「小計金額」および「合計金額」、値割引の受付を終了した後に実行する再計算処理の「再計算結果」等の項目で構成されている。
Figure 4 shows an example of the data structure of the
また、会計情報には、割引きに関するクーポン情報が取得され割引が実施された場合にはクーポン情報に対応する「割引フラグ」の項目が追加され、値引きに関するクーポン情報が取得され値引が実施された場合にはクーポン情報に対応する「値引きフラグ」の項目が追加されて、これらの項目に割引金額と値引き金額が書き込まれる。このように、単価に対する値割引が実施されると、その種別に応じた項目が追加されその値割引の金額が書き込まれるので、取引において実施された値割引の金額とその値割引の種別とが識別可能となる。 In addition, when coupon information related to a discount is acquired and a discount is implemented, a "discount flag" item corresponding to the coupon information is added to the accounting information, and when coupon information related to a discount is acquired and a discount is implemented, a "discount flag" item corresponding to the coupon information is added, and the discount amount and the discounted amount are written into these items. In this way, when a discount is implemented on the unit price, an item according to the type is added and the discount amount is written, making it possible to identify the amount of the discount implemented in the transaction and the type of discount.
POS端末1にて実行される商品購入時の決済処理について説明する。
The following describes the payment process that is executed at the
図5は第1の実施形態に係る決済処理装置の単価ごとに値割引き操作を行う決済処理の一例を示すフローチャートである。本実施形態では値引きまたは割引に関する情報をコードシンボルが記載されたクーポンに記載されているクーポン情報から取得される例で説明する。また、実施形態では値引きフラグが有効となる数を制限する。 Figure 5 is a flowchart showing an example of payment processing for performing discount operations for each unit price in the payment processing device according to the first embodiment. In this embodiment, an example will be described in which the discount or discount information is obtained from coupon information written on a coupon with a code symbol written on it. In addition, in this embodiment, the number of times the discount flag is enabled is limited.
制御部100は商品情報の入力を受け付ける(ACT101)。制御部100は商品読取部102を介して顧客が購入する商品情報を取得する。言い換えれば、制御部100はPLUコードを取得する。PLUコードを取得後、制御部100は取得したPLUコードをもとにPLUコードを含むPLUデータをPLUマスタ1011から抽出し、RAM1003に展開する。また、制御部100はPLUデータから商品名、単価などを抽出し、店員側表示部104と客面表示部105に表示する。
The
制御部100はクーポン情報を受け付ける(ACT102)。制御部100は商品読取部102を介してクーポンからクーポン情報を取得する。クーポン情報取得後、制御部100は対応する値引き又は割引に関するフラグをオンにする(ACT103)。制御部100はクーポン情報から対応する値割引種別のフラグを「1」に変更し、値割引きが有効なものとする。また、割引フラグに関しては割引率が最も高い値割引種別のレコードのフラグを「1」に変更する。つまり、複数の割引に関するクーポン情報を取得した場合は割引率が高いフラグを「1」に変更し、それ以外の割引率に関するフラグは「0」に変更する。値割引が有効になった後、制御部100は単価から有効になった値引き額または割引率をもとに計算処理を行う(ACT104)。計算終了後、制御部100は計算結果を店員側表示部104及び客面表示部105に計算結果を表示する(ACT105)。
The
制御部100は他のクーポンを取得した場合(ACT106のYES)、取得したクーポン情報に対応するフラグを「1」に変更するためにACT103へ戻る。そのため、次に取得したクーポン情報に対応するフラグを有効にした場合、有効となった値引き金額又は割引金額は既に計算されている計算結果から値引きまたは割引きを行う。また、割引きに関するクーポンのクーポン情報を一度受け付けた後に、別の割引率のクーポン情報を受け付けた場合は、割引率の高いレコードのもののみ「1」とし、それ以外はすべて「0」となるようにする。言い換えれば、制御部100は割引率に関するフラグを有効とする場合は1つだけ有効となる状態とするように制御する。
When the
会計処理に利用される最後のクーポン情報を取得した場合(ACT106のNO)、制御部100は次の商品が入力されたかを確認する(ACT107)。次の商品が入力されていない場合(ACT107のNO)は値割引き終了キーが入力される(ACT108)。POS端末1の使用者は値割引に関する入力を完了したことを命令するために操作部103または店員側表示部104が備える値割引き終了キーを押下またはタップすることで、制御部100は値割引の受け付けを終了する。
When the last coupon information to be used in the transaction has been acquired (
制御部100は商品読取部102を介して別の商品情報を取得した場合(ACT107のYES)、ACT108を飛ばしてACT109に移行する。
If the
決済に供する値割引きの受付を終了した後、制御部100は再計算処理を行う(ACT109)。制御部100は抽出した商品の単価を一定の条件の下で再度値割引きする。
After the acceptance of the discount applied to the settlement is completed, the
制御部100は決済処理を行う(ACT110)。制御部100は再計算処理した計算結果である再計算処理結果をもとに決済を行う。制御部100は決済時に決済媒体読取部108を用いて決済媒体の情報を取得し、決済を行っても良い。
The
制御部100は決済処理の結果をレシートとして発行する(ACT111)。制御部100は決済処理で購入した商品名、単価、小計、合計金額、根割引金額などが記載されたレシートを、印字部106を用いて出力する。
The
制御部100は会計情報を保存する(ACT112)。制御部100は当該取引の情報を会計情報として生成し会計ファイル1013に保存する。
The
次に、再計算処理について説明する。図6は第1の実施形態に係る決済処理装置の再計算処理の一例を示すフローチャートである。再計算処理は決済処理と並行して処理される。再計算処理はクーポン取得時に実行された割引または値引き計算実行後に実施される一定の条件の下で行う割引または値引き計算である。 Next, the recalculation process will be described. FIG. 6 is a flowchart showing an example of the recalculation process of the payment processing device according to the first embodiment. The recalculation process is performed in parallel with the payment process. The recalculation process is a discount or discount calculation that is performed under certain conditions after the discount or discount calculation that was performed when the coupon was acquired.
制御部100は商品情報を呼び出す(ACT201)。制御部100は決済処理の段階で取得した商品情報をRAM1003に展開する。
The
制御部100は単価を抽出する(ACT202)。制御部100は値割引を行うために単価のみを抽出しRAM1003に展開する。
The
制御部100は割引フラグを呼び出す(ACT203)。制御部100は値割引設定管理ファイル1012に記憶されている値割引種別の内、割引きに関するレコードから有効となっているレコードを呼び出し、RAM1003に展開する。
The
制御部100は割引率を抽出する(ACT204)。制御部100はRAM1003に展開されたレコードから割引率を抽出する。
The
制御部100は割引計算を行う(ACT205)。制御部100は単価と割引率を抽出すると、単価と割引率で乗算を行う。例えば、フラグが有効となったレコードの割引率が10%とすると単価×0.1で計算を行うことで割引金額を算出する。割引金額の算出後に制御部100は単価から割引金額を減算し、割り引かれた金額を算出する。
The
割引計算終了後、制御部100は値引きフラグを呼び出す(ACT206)。制御部100は値割引設定管理ファイル1012に記憶されている値割引種別の内、値引きに関するレコードから有効となっているレコードを呼び出し、RAM1003に展開する。
After the discount calculation is completed, the
制御部100は値引き額を抽出する(ACT207)。制御部100はRAM1003に展開されたレコードから値引き額が最も高いレコードを抽出する。具体的にはRAM1003に展開されているレコードの内、対象商品を500円、100円、50円値引く値引きフラグが有効となっている場合、制御部100は値引き額が最も高い500円値引くレコードを抽出する。また、値引き額を抽出するとき、制御部100は既に値引き額を抽出したレコードから抽出しない。
The
制御部100は値引計算を行う(ACT208)。制御部100は割引計算がされた単価に対して抽出した値引き額分減算する。そのため制御部100は単価と値引き額を抽出すると割引計算済み単価-値引き金額を行い値引きした計算結果を出力する。
The
割引計算と値引計算を終了した後、制御部100は残額が0円以下になっているかを確認する(ACT209)。制御部100は割引計算と値引計算の計算の結果である残額が0円以下になっているかを確認する。
After completing the discount calculation and price reduction calculation, the
残高が0円以上の場合(ACT209のNO)、制御部100は他の値引きフラグが有効になっているかを確認する(ACT210)。他の値引きフラグが有効になっている場合(ACT210のYES)、制御部100は抽出していないレコードの中から値引き額が最も高い値引き額を抽出する。
If the balance is 0 yen or more (NO in ACT 209), the
残高が0円以上または残高が0円以上であっても有効なフラグが存在しない場合(ACT209のYES、ACT210のNO)、制御部100は取引金額を確定する(ACT211)。制御部100は取引金額が確定すると有効になっているフラグも確定する。
If the balance is 0 yen or more, or if the balance is 0 yen or more but there is no valid flag (YES in ACT 209, NO in ACT 210), the
図7は第1の実施形態に係る決済処理装置の値引きフラグ管理処理の一例を示すフローチャートである。実施形態では有効となる値引きフラグの数を5つまでに制限する。また、値引きフラグ管理処理は決済処理と再計算処理と並行して処理しても良い。 Figure 7 is a flowchart showing an example of discount flag management processing of the payment processing device according to the first embodiment. In this embodiment, the number of active discount flags is limited to five. In addition, the discount flag management processing may be performed in parallel with the payment processing and recalculation processing.
制御部100は値引きフラグを取得する(ACT301)。制御部100は値割引種別の内、フラグが有効になっている値引きに関するレコードを取得する。
The
制御部100は有効となっている値引きフラグがあらかじめ設定されている数以下であるかを確認する。有効になっている値引きフラグが設定されている数以下である場合(ACT301のNO)、制御部100は値引きフラグをすべて無効にし、決済処理の値引きに関するクーポン情報を受け付ける処理(ACT102)に戻る。
The
図8は第1の実施形態に係る決済処理装置の小計に対する値割引き操作を行う決済処理の一例を示すフローチャートである。決済処理装置であるPOS端末1は単価ごとに決済処理を行うだけでなく小計に対して決済処理を行っても良い。また、図1ないし図7の実施形態の各部と同一部分は同一符号で示す。
Figure 8 is a flow chart showing an example of a payment process in which a discount operation is performed on a subtotal in the payment processing device according to the first embodiment. The
商品情報を取得し店員側表示部104と客面表示部105を表示した後、制御部100は次の商品情報が入力されているかを確認する(ACT401)。商品情報が入力された場合(ACT401のYES)、ACT101へ戻る。すべての商品情報が入力されている場合(ACT401のNO)、制御部100は小計キーが入力されるまで待機する。
After acquiring the product information and displaying it on the
制御部100は小計キーが入力されると(ACT402)、制御部100はクーポン情報を受け付ける(ACT102)。
When the subtotal key is input (ACT 402), the
クーポン情報を受け付けた後、制御部100は再計算処理を行う。制御部100は小計に対して割引計算と値引計算の処理を行う。
After accepting the coupon information, the
このような構成にすることで決済処理装置は、値引きまたは割引を行うためのフラグを有効にするための受付処理時に一度計算を行い、その後、割引率を1つだけ適用し割引計算を行い、割引計算を行ったのちに値引き計算を行う再計算処理を行うことで効率よく値割引き金額が最大値となる決済を行うことができる。 With this configuration, the payment processing device performs a calculation once during the reception process to activate the flag for discounting or deduction, then applies only one discount rate to perform a discount calculation, and then performs a recalculation process to perform a discount calculation after the discount calculation, thereby efficiently performing a payment with the maximum discount amount.
(第2の実施形態)
第2の実施形態は会員割引を利用する場合の決済処理を行うものである。第2の実施形態の各部について、図1ないし図8の実施形態の各部と同一部分は同一符号で示す。
(Second embodiment)
The second embodiment is directed to a payment process when a member discount is utilized. In the second embodiment, the same components as those in the embodiment shown in Figs. 1 to 8 are designated by the same reference numerals.
会員割引は会員情報を記憶する会員カード等の媒体をPOS端末1が取得した場合に実行される割引計算処理である。会員カードは商品読取部102によって取得される。また、本実施形態では会員カードを取得した場合に有効になる割引を会員割引とし、クーポンや操作部103または店員側表示部104が備えるプリセットで入力されることで有効になる割引を通常割引とする。
The member discount is a discount calculation process that is executed when the
図9は第2の実施形態に係る値割引き設定管理ファイル2012のデータ構造例を示す図である。値割引き設定管理ファイル2012は、通常割引に関するレコードの他、会員割引に関するレコードによって構成される。会員割引に関するレコードは値割引種別およびフラグが記述される。フラグは、「0」(無効),「1」(有効)のいずれかに設定される。このフラグが「1」であるならば、後述の決済処理において入力された値割引種別に示された割引が実施され、「0」であるならば割引種別に示された割引が実施されない。また、本実施形態では制御部100は会員割引とクーポン情報に対応する値割引種別は並列してフラグを有効にしないようにする。
Figure 9 is a diagram showing an example of the data structure of the discount
図10は第2の実施形態に係る決済処理装置の単価ごとに値割引き操作を行う決済処理の一例を示すフローチャートである。通常割引となる値割引に関する情報の受付が完了した後、制御部100は会員カード情報を取得する(ACT501)。商品読取部102または決済媒体読取部108を介して会員カードに関する情報を取得する。
Figure 10 is a flowchart showing an example of payment processing for performing discount operations for each unit price in a payment processing device according to the second embodiment. After the reception of information regarding the discount that will be the normal discount is completed, the
制御部100は会員割引の割引率が通常割引の割引率より高いか判断する(ACT502)。制御部100は会員割引による割引率と通常割引による割引率のどちらの割引率が高いかを判断する。会員割引の割引率が低い場合(ACT502のNO)は通常割引のフラグを有効なまま保持する。会員割引の割引率が高い場合(ACT502のYES)は、通常割引のフラグを無効にする(ACT503)。制御部100は会員割引のレコードに記載されているフラグを有効にする(ACT504)。
The
また、決済処理装置であるPOS端末1は小計に対して割引計算と値引き計算を行ってもい。図11は第2の実施形態に係る決済処理装置の小計に対する値割引き操作を行う決済処理の一例を示すフローチャートである。制御部100は図8で説明した小計に対する決済処理に加え、ACT106の処理終了後にACT501ないしACT504の処理を実行する。
The
この構成においても決済処理装置であるPOS端末1は効率よく値割引き金額が最大値となる決済を行うことができる。また、有効にするフラグの優先順位を設けることで会員割引を実施している店舗において会員割引とクーポンなどによる割引が同率であっても効率よく処理を行うことが出来る。
Even with this configuration, the
(第3の実施形態)
第3の実施形態は決済機能を有する会員カードを利用する場合の決済処理を行うものである。第3の実施形態の各部について、図1ないし図11の実施形態の各部と同一部分は同一符号で示す。
(Third embodiment)
The third embodiment is directed to a payment process when a member card having a payment function is used. The same reference numerals are used for the components of the third embodiment as those of the embodiment shown in Figures 1 to 11.
決済機能付きの会員カードは商品読取部102または決済媒体読取部108によって取得される。また、本実施形態では会員カードを取得した場合に有効になる割引を会員割引とし、クーポンや操作部103または店員側表示部104が備えるプリセットで入力されることで有効になる割引を通常割引とする。
The membership card with payment function is acquired by the
図12は第3の実施形態に係る決済処理装置の単価ごとに値割引き操作を行う決済処理の一例を示すフローチャートである。制御部100は決済処理を行うとき(ACT110)に会員カード情報を取得する(ACT701)。なお、制御部100は再計算処理終了までに決済を行わない。
Figure 12 is a flowchart showing an example of payment processing in which a discount operation is performed for each unit price in the payment processing device according to the third embodiment. The
値割引き終了キーが入力された後、制御部100は一度目の再計算処理を実行する(ACT109)。制御部100は会員割引の割引率が通常割引の割引率より高いか判断する(ACT702)。制御部100は会員割引による割引率と通常割引による割引率のどちらの割引率が高いかを判断する。会員割引の割引率が低い場合(ACT702のNO)は通常割引のフラグを有効なまま保持し、決算処理に移行する(ACT706)。会員割引の割引率が高い場合(ACT702のYES)は、通常割引のフラグを無効にする(ACT703)。制御部100は会員割引のレコードに記載されているフラグを有効にする(ACT704)。
After the discount end key is entered, the
制御部100は再計算処理を行う(ACT705)。制御部100は会員割引のフラグが有効な場合は会員割引による割引計算を実行する。
The
制御部100は決済処理を行う(ACT706)。制御部100は取得した会員カード情報をもとに決済を行う。
The
また、POS端末1は小計に対する値割引き操作を行う場合であっても再計算処理を行っても良い。図13は第3の実施形態に係る決済処理装置の小計に対する値割引き操作を行う決済処理の一例を示すフローチャートである。
制御部100は小計キー入力後にクーポン情報を受け付け、再計算処理終了後に会員カード情報を取得する。カード情報取得後、制御部100は会員割引の方が通用割引よりも割引率が高いかを確認し、通常割引のフラグを有効にしたまま決済処理を行うか会員割引のフラグを有効にし、再計算処理を行う。
The
The
この構成においても決済処理装置であるPOS端末1は効率よく値割引き金額が最大値となる決済を行うことができる。また、決済を再計算処理の後に行うことで値割引き金額が最大値ではない状態での決済を防ぐことが可能となる。
Even with this configuration, the
上記実施形態にて開示した構成は、種々変形実施可能である。具体的な変形例としては
、例えば次のようなものがある。
The configuration disclosed in the above embodiment can be modified in various ways. Specific modifications include, for example, the following.
制御部100が再計算処理を実行し、再計算処理の結果残額が0円以下の状態で且つ、有効なフラグが存在していた場合、取引金額確定後フラグを無効にしてもよい。また、店員は無効にした値割引種別と対応するクーポン情報が記載されたクーポンを買い物客に返還する。
The
また、第2の実施形態及び第3の実施形態において再計算処理を2回行っているが、再計算処理を会員カード情報を受け付けた後に一度だけ実行するようにしてもよい。 In addition, in the second and third embodiments, the recalculation process is performed twice, but the recalculation process may be performed only once after the membership card information is accepted.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、そのさまざまな形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several 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 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 and gist of the invention, and are included in the scope of the invention and its equivalents as set forth in the claims.
100…制御部
101…記憶部
1011…PLUマスタ
1012…値割引設定管理ファイル
1013…会計ファイル
100: Control unit 101: Storage unit 1011: PLU master 1012: Discount setting management file 1013: Accounting file
Claims (5)
前記商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で前記単価を値引く値引きフラグと、前記割引フラグおよび値引きフラグが有効である状態を記憶する記憶部に記憶する情報に基づいて、前記割引フラグが有効な場合、前記割引率に基づき単価の割引を行い割引結果を算出し、前記値引きフラグが有効な場合、前記値引き額に基づき前記割引結果から値引きを行う制御部と、
を備える決済処理装置。 a product information acquisition unit for acquiring product information including a unit price of the product;
a control unit which, based on the product information, a discount flag for discounting the unit price by a preset discount rate, a discount flag for discounting the unit price by a preset discount amount, and information stored in a storage unit which stores the discount flag and a state in which the discount flag is enabled, calculates a discount result by discounting the unit price based on the discount rate when the discount flag is enabled, and calculates a discount result based on the discount amount when the discount flag is enabled;
A payment processing device comprising:
顧客が購入を希望する商品の入力完了を宣言する操作部と、
前記商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で前記単価を値引く値引きフラグと、前記割引フラグおよび値引きフラグが有効である状態を記憶する記憶部に記憶する情報に基づいて、前記操作部により入力完了が宣言されたとき前記割引フラグが有効な場合、前記割引率に基づき単価の合計に対して割引を行い割引結果を算出し、前記値引きフラグが有効な場合、前記値引き額に基づき前記割引結果から値引きを行う制御部と、
を備える決済処理装置。 a product information acquisition unit for acquiring product information including a unit price of the product;
an operation unit for a customer to declare completion of input of the product he/she wishes to purchase;
a control unit which, based on the product information, a discount flag for discounting the unit price by a preset discount rate, a discount flag for discounting the unit price by a preset discount amount, and information stored in a storage unit which stores the discount flag and a state in which the discount flag is enabled, calculates a discount result by applying a discount to the total unit price based on the discount rate when the discount flag is enabled, and calculates a discount result by applying a discount from the discount result based on the discount amount when the discount flag is enabled;
A payment processing device comprising:
商品の単価を含む商品情報を取得する商品情報取得手段と、
前記商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で前記単価を値引く値引きフラグと、前記割引フラグおよび値引きフラグが有効である状態を記憶する記憶手段と、
前記割引フラグが有効な場合、前記割引率に基づき単価の割引を行い割引結果を算出する割引算出手段と、
前記値引きフラグが有効な場合、前記値引き額に基づき前記割引結果から値引きを行う値引き算出手段と、
を実現する決済処理プログラム。 A payment processing device that executes payment processing,
A product information acquisition means for acquiring product information including a unit price of the product;
a storage means for storing the product information, a discount flag for discounting the unit price by a preset discount rate, a discount flag for discounting the unit price by a preset discount amount, and a status indicating whether the discount flag and the discount flag are valid;
a discount calculation means for calculating a discount result by discounting a unit price based on the discount rate when the discount flag is valid;
discount calculation means for performing a discount from the discount result based on the discount amount when the discount flag is valid;
A payment processing program that realizes the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022159197A JP2024053141A (en) | 2022-10-03 | 2022-10-03 | Payment processing device and payment processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022159197A JP2024053141A (en) | 2022-10-03 | 2022-10-03 | Payment processing device and payment processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2024053141A true JP2024053141A (en) | 2024-04-15 |
Family
ID=90667430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022159197A Pending JP2024053141A (en) | 2022-10-03 | 2022-10-03 | Payment processing device and payment processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2024053141A (en) |
-
2022
- 2022-10-03 JP JP2022159197A patent/JP2024053141A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5165219B2 (en) | Cash register system | |
JP7309807B2 (en) | Payment device and its program | |
US20120316947A1 (en) | Token Management System and Method | |
JP4933992B2 (en) | Product sales data processing device | |
JP2023168405A (en) | Commodity registration device and program | |
US20130046597A1 (en) | System and method for providing purchase rewards | |
JP2013131038A (en) | Commodity information processor and program | |
CN111652608B (en) | Commodity sales data processing apparatus, commodity sales data processing method, commodity sales data control method, storage medium, and electronic device | |
JP2024053141A (en) | Payment processing device and payment processing program | |
JP7266837B2 (en) | Registration device and product sales data processing system | |
US20220101699A1 (en) | Voucher dispensing device and voucher dispensing method | |
JPH10124592A (en) | Transaction processing system | |
US20230410141A1 (en) | Sales data processing apparatus and sales data processing system | |
JP7400066B2 (en) | Point management system, point management device and information processing program | |
US20240161143A1 (en) | Information processing apparatus and information processing method | |
US20230419293A1 (en) | Checkout device and program | |
JP2006039619A (en) | Commodity sales data processor | |
JP2024003509A (en) | Accounting device and program | |
JP5095151B2 (en) | Cash register system and transaction price derivation method | |
JP2005276110A (en) | Sales promotion system, accounting apparatus and settlement device | |
JP5781670B2 (en) | Product information processing apparatus and program thereof | |
JP2023173312A (en) | Information processor and program | |
JP2023115961A (en) | Commodity sale data processor and commodity sale data processing program | |
JP2017076446A (en) | Commodity information processing apparatus and program thereof | |
JP2021166092A (en) | Sales data processing device and program |