Payment device and its program
The payment device addresses errors in conventional systems by timely notifying point and payment servers of point usage during transactions, ensuring accurate point deduction and error-free processing.
Patent Information
- Application Number
- JP2025081445
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2026-11-27
AI Technical Summary
Conventional payment devices experience errors after transaction completion due to the delayed notification of point usage in code payments, leading to insufficient points and potential server errors.
The payment device includes an acceptance means for point input, an acquisition means for code payment identification, and notification means to inform point and payment servers of point usage before and after transaction completion, ensuring accurate point deduction and server communication.
This solution prevents errors by timely notification of point usage, maintaining accurate point balances and ensuring seamless transaction processing without server errors.
Smart Images

Figure 2026184834000001_ABST
Abstract
Description
[Technical Field]
[0001] Embodiments of the present invention relate to a payment apparatus and a program therefor. [Background Art]
[0002] In recent years, a cashless payment method called code payment has become widespread. Code payment is a method of cashlessly paying a transaction amount by using code payment application software (hereinafter referred to as a code payment application) installed in an information terminal such as a smartphone. Payment methods for code payment include a credit card, a debit card, a charged balance, and the like. A consumer who has installed a code payment application in an information terminal, that is, a so-called code payment user, can select one of the payment methods. A user who has selected a charged balance as a payment method charges cash to his / her own charging account. The user can pay the transaction amount within the range of the amount charged in the charging account.
[0003] Such code payment is a payment method with many merits not only for consumers but also for stores. Therefore, as the number of users increases, many business operators are entering the code payment business. In order to retain users, code payment business operators adopt a point service. The point service is a service in which, when a consumer having a point ID conducts a transaction such as buying and selling of a product at a point service member store, for example, points corresponding to the transaction amount are given to the consumer. The given points are stored for each consumer. The stored points are converted into, for example, 1 yen per point, and can be used for payment of the transaction amount.
[0004] Some QR code payment providers allow users to use points they hold for payment, separate from their charged balance. Users of QR code payments managed by such providers can specify whether or not to prioritize using their points over their charged balance when paying for a transaction. When a user who has specified point priority chooses to pay for a transaction using QR code payment, the payment server processing the QR code payment deducts points equivalent to the transaction amount from the user's points. If the points held are insufficient to cover the transaction amount, the payment server deducts the remaining amount from the charged balance. Thus, the payment server completes the QR code payment.
[0005] Some payment devices allow for the combined use of point payments and code payments as payment methods for transaction amounts. When a portion of the transaction amount is paid with points and the remainder with code payments, the payment device notifies the point server, which manages the payer's points, of the points used for the point payment after the payment of the transaction amount is completed, i.e., after the code payment is completed. Here, let's assume that the payer is a user who has specified a point-priority charge balance as the payment method for code payments. Such a payer can pay a portion of the transaction amount with points before the code payment. The points used for the point payment can be specified within the range of the points held. However, the information of the points used for the point payment is notified to the point server after the payment of the transaction amount is completed by code payment. Therefore, at the time the point server receives the notification, the points held have been reduced by the number of points that were preferentially used during the code payment. As a result, the points held may be insufficient to meet the points notified by the payment device, and an error may be returned from the point server to the payment device. Thus, conventional payment devices were in need of improvement because errors could occur after the payment of the transaction amount was completed. [Prior art documents] [Patent Documents]
[0006] [Patent Document 1] Japanese Patent Publication No. 2014-153910 [Overview of the project] [Problems that the invention aims to solve]
[0007] The problem that the embodiments of the present invention aim to solve is to provide a payment device that can eliminate the problem of errors occurring after the payment of the transaction amount has been completed. [Means for solving the problem]
[0008] In one embodiment, the payment device comprises an acceptance means, an acquisition means, and a first notification means. The acceptance means accepts input of payment points to be used for payment when point payment is selected as the payment method for the transaction amount. The acquisition means acquires an identification code for code payment when code payment is selected as the payment method for the transaction amount. When a portion of the transaction amount has been paid by point payment and code payment is selected as the payment method for the remaining transaction amount, the first notification means notifies the point server that manages the payer's points of the payment points received by the acceptance means, and then notifies the payment server that processes the code payment of the identification code acquired by the acquisition means. [Brief explanation of the drawing]
[0009] [Figure 1] Figure 1 is a schematic diagram showing the general configuration of a code payment system in one embodiment. [Figure 2] Figure 2 is a schematic diagram showing the main data structure of a payment record. [Figure 3] Figure 3 is a schematic diagram showing the main data structure of point records. [Figure 4] Figure 4 is a diagram showing the configuration of the linkage table. [Figure 5] Figure 5 is a block diagram showing the main circuit configuration of the payment device. [Figure 6]Figure 6 is a block diagram showing the main functional configuration of a payment device. [Figure 7] Figure 7 is a flowchart showing the main steps of the information processing performed by the payment device's processor according to the payment program. [Figure 8] Figure 8 is a flowchart showing the essential steps of the information processing performed by the processor when point payment is selected as the payment method for the transaction amount. [Figure 9] Figure 9 is a flowchart showing the main steps of the information processing performed by the processor when code payment is selected as the payment method for the transaction amount. [Figure 10] Figure 10 is a flowchart showing the main steps of the information processing performed by the processor when a payment method other than point payment or code payment is selected as the payment method for the transaction amount. [Figure 11] Figure 11 is a sequence diagram used to explain Operation 1 of the present invention relating to a code payment system. [Figure 12] Figure 12 is a sequence diagram used to explain operation 2 of the present invention relating to a code payment system. [Figure 13] Figure 13 is a sequence diagram used to explain the conventional operation 1 related to the code payment system. [Figure 14] Figure 14 is a sequence diagram used to explain the conventional operation 2 related to the code payment system. [Figure 15] Figure 15 is a sequence diagram used to explain operation 3 of the present invention relating to a code payment system. [Modes for carrying out the invention]
[0010] The following describes an embodiment of a payment device that can eliminate the problem of errors occurring after the payment of the transaction amount has been completed, using drawings. This embodiment illustrates a store payment device that enables cashless payment of transaction amounts via code payment by a code payment service provider that allows payment of the charged balance with priority given to points. The store is a participating merchant in the code payment service provider's point service. Consumers become code payment users by installing a code payment app provided by the code payment service provider on an information terminal such as a smartphone. Users are assigned a payment ID, which is an identification code for code payment, by the code payment service provider. The payment ID is displayed on the information terminal's display device in the form of a machine-readable code, such as a one-dimensional code like a barcode or a two-dimensional code like a QR code (registered trademark). The payment ID includes information that identifies the code payment service provider. Users are also assigned a point ID, which is an identification code for the point service provided by the code payment service provider. The point ID is recorded on a point card and issued to the user. The point card may be a card medium such as an IC card, or it may be a point card app that can be installed and used on a smartphone or the like. The point ID also includes information that identifies the code payment service provider. Thus, users who have been assigned a payment ID and a point ID can pay for the goods they purchase at a store, the so-called transaction amount, not only with code payment but also with points they have accumulated. They can also pay part of the transaction amount with points and the remainder with code payment. In other words, the payment device in this embodiment is premised on being a device that can use both point payment and code payment as methods of payment for the transaction amount.
[0011] Note that payment terminals include self-service payment terminals where consumers complete all operations from registering purchased products to paying for the products, shared payment terminals where store staff handle product registration while consumers complete payment operations, and counter payment terminals where store staff handle all operations from product registration to payment. Regardless of the payment terminal type, this embodiment can eliminate the problem of errors occurring after transaction payment is completed. The following describes an embodiment applied to a counter payment terminal. The payment terminal may also be referred to as a POS (Point Of Sales) terminal, electronic cash register, accounting machine, or similar terms. Consumers may also be referred to as code payment users, payers, or similar terms.
[0012] [Description of Code Payment System] FIG. 1 is a schematic diagram showing the configuration of a code payment system 100 according to this embodiment. The code payment system 100 includes multiple payment terminals 10 installed in a store 1, a relay server 20, and payment servers 30 and point servers 40 managed by the centers 3 of multiple code payment operators respectively. A code payment operator is a business that allows users to use the amount converted from their accumulated points for payment, separately from their charged balance. In the following description, the amount converted from 1 point is defined as 1 yen.
[0013] In the code payment system 100, each payment terminal 10 is connected to the relay server 20 via a first communication network 50. In addition, in the code payment system 100, the payment servers 30 and point servers 40 of each code payment operator are connected to the relay server 20 via a second communication network 60. The first communication network 50 includes a LAN (Local Area Network). The second communication network 60 is typically a wide area network such as the Internet or an intranet. Mobile communication networks, public communication networks, or similar networks may be used as part of the second communication network 60.
[0014] Although FIG. 1 only illustrates the settlement device 10 of one store 1, the settlement devices 10 of other stores 1 are also connected to the relay server 20. The store 1 is an affiliated store for code payment provided by multiple code payment operators, and is also an affiliated store for point services respectively provided by each code payment operator.
[0015] The settlement server 30 is a computer system for processing code payment. The point server 40 is a computer system for managing points held by users of code payment. The settlement server 30 and the point server 40 may provide services in an on-premises environment, or may provide services in a cloud computing environment. Although FIG. 1 describes the settlement server 30 and the point server 40 as separate servers, a single server may be configured to have both the function as the settlement server 30 and the function as the point server 40.
[0016] The settlement server 30 includes a settlement database 31. The settlement database 31 is a collection of settlement records 311 (see FIG. 2) created for each user of code payment.
[0017] Figure 2 is a schematic diagram showing the main data structure of a payment record 311. As shown in the figure, the payment record 311 includes data items such as payment ID, charge balance, priority flag (priority F), and upper limit points Pmax. The payment ID is an identification code for code payments assigned individually to users who have installed a code payment app on an information terminal such as a smartphone. The payment ID is displayed on the information terminal's display device in the form of a machine-readable code. The charge balance is the amount that the user has charged for payment of the charge balance. Users can charge cash from their bank account, etc., using the code payment app on their information terminal. The priority flag is a 1-bit data that identifies whether or not to prioritize held points over the charge balance in code payments. Users can specify whether or not to prioritize held points using the code payment app on their information terminal. In this embodiment, the priority flag indicating that held points should be prioritized is set to "1", and the priority flag indicating that held points should not be prioritized is set to "0". The upper limit points Pmax is the upper limit of points when paying with held points as the priority. Users who specify prioritizing their existing points can set a maximum point limit (Pmax) using the code payment app on their information terminal. If no maximum point limit (Pmax) is set, i.e., to "0", the user's existing points will be used as the maximum point limit (Pmax).
[0018] The point server 40 includes a point database 41. The point database 41 is a collection of point records 411 (see Figure 3) created for each user of code payment.
[0019] Figure 3 is a schematic diagram showing the main data structure of point record 411. As shown in the figure, point record 411 includes data items such as point ID, points held (points held), and update date and time. The point ID is an identification code uniquely assigned to users of the point service provided by the code payment provider. Points held is the total number of points held by the user identified by the point ID. The update date and time is the most recent date and time when points held were updated. There are two types of points: first points, which are awarded when a user uses the code payment service of the code payment provider, and second points, which are awarded according to the transaction amount when a user makes a transaction at a point service participating store. Points held are the sum of first and second points. Points held are deducted by the amount used for point payments. Points held are also deducted by the amount used for payments in code payments where point priority is set. The update date and time is updated each time points are added or subtracted, overwritten by a date and time, for example, in units of year, month, day and hour, minute, second.
[0020] The payment server 30 includes a linkage table 32. The linkage table 32 is a data table for associating payment IDs and point IDs assigned to the same user.
[0021] Figure 4 is a diagram of the linkage table 32. As shown in the figure, the linkage table 32 has a column Ca for the payment ID and a column Cb for the point ID. Each user of code payment is assigned a payment ID and a point ID. The linkage table 32 stores the payment ID and point ID assigned to a single user in association. That is, one column Ca contains the payment ID assigned to each user. The other column Cb contains the point ID assigned to the user identified by the payment ID described in the corresponding column Ca.
[0022] The relay server 20 relays messages exchanged between the payment device 10 and the payment server 30 or point server 40. The relay server 20 identifies the destination code payment business operator from the message received from the payment device 10 via the first communication network 50, and transmits the message to the payment server 30 or point server 40 of that code payment business operator via the second communication network 60. The relay server 20 identifies the destination payment device 10 from the message received from the payment server 30 or point server 40 via the second communication network 60, and transmits the message to that payment device 10 via the first communication network 50.
[0023] [Description of Payment Device Configuration] Figure 5 is a block diagram showing the main circuit configuration of the payment device 10. The face-to-face payment device 10 comprises circuit components such as a processor 11, main memory 12, auxiliary storage device 13, clock 14, communication interface 15, and I / O (Input / Output) interface 16, and a system transmission line 17. The system transmission line 17 includes an address bus, data bus, control signal lines, etc. The payment device 10 constitutes a computer by connecting each circuit component to the system transmission line 17.
[0024] The processor 11 corresponds to the central part of the computer. The processor 11 controls various parts to realize various functions as a payment device 10 according to the operating system or application program (application software). The processor 11 is, for example, a CPU (Central Processing Unit). The processor 11 may also be, for example, an MPU (Micro Processing Unit), SoC (System on a Chip), DSP (Digital Signal Processor), GPU (Graphics Processing Unit), ASIC (Application Specific Integrated Circuit), PLD (Programmable Logic Device), or FPGA (Field-Programmable Gate Array). Alternatively, the processor 11 may be a combination of several of these.
[0025] Main memory 12 corresponds to the main memory portion of the computer described above. Main memory 12 includes a non-volatile memory area and a volatile memory area. In the non-volatile memory area, main memory 12 stores the operating system or application programs. Main memory 12 may also store data necessary for the processor 11 to perform processing to control each part in the non-volatile or volatile memory area. Main memory 12 uses the volatile memory area as a work area where data is rewritten as needed by the processor 11. The non-volatile memory area is, for example, ROM (Read Only Memory). The volatile memory area is, for example, RAM (Random Access Memory).
[0026] The auxiliary storage device 13 corresponds to the auxiliary storage portion of the computer described above. For example, EEPROM (Electric Erasable Programmable Read-Only Memory), HDD (Hard Disk Drive), or SSD (Solid State Drive) can be the auxiliary storage device 13. The auxiliary storage device 13 stores data used by the processor 11 in performing various processes, or data created by the processing performed by the processor 11. The auxiliary storage device 13 may also store the application program described above.
[0027] The clock 14 measures the date and time. The payment device 10 processes the date and time measured by the clock 14 as the current date and time.
[0028] The communication interface 15 connects to the first communication network 50. The payment device 10 can communicate data with the relay server 20 connected to the first communication network 50, and further with the payment server 30 and point server 40 connected to the relay server 20, via the communication interface 15.
[0029] The I / O interface 16 is a circuit for sending and receiving data signals with various devices such as a scanner 71, a touch panel 72, a printer 73, a keyboard 74, a card reader 75, and an automatic change dispenser 76.
[0030] The scanner 71 is an input device for reading machine-readable codes such as one-dimensional or two-dimensional codes. The scanner 71 can read machine-readable codes attached to products. Furthermore, the scanner 71 can also read machine-readable codes displayed on display devices of information terminals such as smartphones.
[0031] The touch panel 72 is a display device for displaying various screens necessary for settling a transaction. Software keys can be displayed on the screens of the touch panel 72, and the touch panel 72 also functions as an input device for detecting touch operations on the software keys. The touch panel 72 includes a first touch panel that displays information to the store clerk, who is the operator, and a second touch panel that displays information to the customer, who is the payer.
[0032] The printer 73 is a device for printing receipt data, such as transaction details, onto receipt paper. The receipt paper with the printed receipt data is cut by a cutter and issued as a receipt each time a transaction is settled.
[0033] Keyboard 74 is an input device equipped with various hard keys necessary for settling transactions, such as a numeric keypad, subtotal key, accounting key, discount key, cancellation key, and closing key.
[0034] The card reader 75 is an input device for reading data recorded on card media such as point cards and credit cards. If the card media is a magnetic card, the card reader 75 is a magnetic card reader. If the card media is an IC card, the card reader 75 is an IC card reader. The payment device 10 may be equipped with either a magnetic card reader or an IC card reader as the card reader 75, or it may be equipped with both. The card reader 75 may also be a card reader / writer that has a data writing function to the card media.
[0035] The automatic change dispenser 76 has a safe for storing banknotes and coins by denomination, and is equipped with a mechanism for taking banknotes or coins equivalent to the change amount from the safe and dispensing them to the dispensing slot. When the change amount is notified by an instruction from the processor 11, the automatic change dispenser 76 calculates the number of banknotes or coins to be dispensed for each denomination that corresponds to the change amount. The automatic change dispenser 76 then takes the calculated number of banknotes or coins for each denomination from the safe and dispenses them to the dispensing slot.
[0036] [Description of payment device functions] Figure 6 is a block diagram showing the main functional configuration of the payment device 10. In order to eliminate the problem of errors occurring after the payment of the transaction amount is completed, the payment device 10 has the functions of a receiving means 81, an acquisition means 82, a payment means 83, a calculation means 84, a first notification means 85, a second notification means 86, and a third notification means 87.
[0037] The reception means 81 is a function that accepts input of payment points to be used for payment when point payment is selected as the payment method for the transaction amount. When the settler selects point payment as the payment method for the transaction amount, the store clerk, who is the operator of the settlement device 10, inputs the payment points requested by the settler by, for example, operating the numeric keypad on the keyboard 74. Alternatively, the store clerk may input the payment points by touching the numeric keypad of the software keys displayed on the touch panel 72. The reception means 81 accepts the input of payment points via the input device of the keyboard 74 or the touch panel 72. However, the reception means 81 will not accept the input of payment points if the input payment points exceed the points held by the settler. The reception means 81 discards the payment points.
[0038] The acquisition means 82 is a function that acquires an identification code for code payment when code payment is selected as the payment method for the transaction amount. The identification code for code payment is the payment ID. The payment ID is displayed in the form of a machine-readable code on the display device of an information terminal such as a smartphone. When the payer selects code payment as the payment method for the transaction amount, the store clerk, who is the operator of the payment device 10, operates the scanner 71 to scan the machine-readable code of the payment ID displayed on the display device of the information terminal. The acquisition means 82 acquires the identification code for code payment, that is, the payment ID, from the machine-readable code scanned by the scanner 71.
[0039] The settlement method 83 is a function that settles a transaction with a payer once payment for the transaction amount has been completed. The settlement method 83 settles a transaction with a payer by executing a closing process to finalize the sales data and other information generated by the transaction with the payer.
[0040] The calculation means 84 is a function that calculates the points to be awarded to the payer based on the transaction amount. The awarded points are points that are awarded according to the transaction amount when a payer with a point ID makes a transaction such as buying or selling goods at a point service participating store. In other words, the awarded points are the second type of points mentioned above. For example, if the point service is set up so that 1 point is awarded for every 100 yen of transaction amount, the calculation means 84 divides the transaction amount by 100 yen and calculates the award points (second type of points) as the integer of the quotient.
[0041] The first notification means 85, when a portion of the transaction amount has been paid by point payment and the remaining transaction amount is selected as the payment method for code payment, notifies the point server 40, which manages the points held by the payer, of the payment points received by the reception means 81, and then notifies the payment server 30, which processes the code payment, of the identification code, i.e., the payment ID, obtained by the acquisition means 82. In other words, when a portion of the transaction amount has been paid by point payment and the remaining transaction amount is selected as the payment method for code payment, the first notification means 85 transmits a message containing the payment points via the communication interface 15 at that time, i.e., before the payment for the transaction amount has been completed. This message is transmitted to the point server 40 of a predetermined code payment business operator by the relay server 20. Subsequently, the first notification means 85 transmits a message containing the payment ID via the communication interface 15. This message is transmitted to the payment server 30 of a predetermined code payment business operator by the relay server 20.
[0042] The second notification means 86 has the function of notifying the point server 40 of the payment points received by the receiving means 81 after a portion of the transaction amount has been paid by point payment and the remaining transaction amount has been selected to be paid by a payment method other than code payment, such as cash payment or credit card payment, after the payment of the transaction amount has been completed by the other payment method. In other words, when a portion of the transaction amount has been paid by point payment and the remaining transaction amount has been paid by a payment method other than code payment, such as cash payment or credit card payment, the second notification means 86 transmits a message containing the payment points via the communication interface 15 at that time, that is, when the payment for the transaction amount has been completed. This message is transmitted to the point server 40 of a predetermined code payment business operator by the relay server 20.
[0043] The third notification means 87 has the function of notifying the points server 40 of the awarded points after receiving a code payment completion notification from the settlement server 30, or after notifying the payment points by the second notification means 86. That is, if code payment is selected as the payment method for the transaction amount, the third notification means 87 sends a message including the awarded points via the communication interface 15 after receiving a code payment completion notification from the settlement server 30, that is, after the payment of the transaction amount is completed. If the payment method for the transaction amount is other than code payment, the third notification means 87 sends a message including the awarded points via the communication interface 15, following the message sending the payment points.
[0044] [Program description of the payment device] The functions of the payment device 10 as a receiving means 81, an acquisition means 82, a payment means 83, a calculation means 84, a first notification means 85, a second notification means 86, and a third notification means 87 are realized by the processor 11 executing information processing according to the payment program.
[0045] The payment program is a type of application program stored in the main memory 12 or the auxiliary storage device 13. The method of installing the payment program in the main memory 12 or auxiliary storage device 13 is not particularly limited. The payment program can be installed in the main memory 12 or auxiliary storage device 13 by recording it on a removable recording medium or by distributing it via network communication. The recording medium can take any form as long as it can store a program and is readable by the device, such as a CD-ROM or memory card.
[0046] Figures 7 to 10 are flowcharts showing the main steps of information processing performed by the processor 11 of the settlement device 10 according to the settlement program. In the idle state, waiting to initiate a transaction with the settler, the processor 11 starts the information processing shown in the flowchart of Figure 7. The processor 11 resets the first flag Fa and the second flag Fb to "0" as ACT1. The uses of the first flag Fa and the second flag Fb will be described later.
[0047] After resetting the first flag Fa and the second flag Fb, the processor 11 proceeds to ACT2. In ACT2, the processor 11 checks whether the purchased items to be purchased by the payer have been registered. Product registration is the operation in which a store employee, who is the operator of the payment device 10, scans a machine-readable code, such as a barcode, attached to the purchased item using the scanner 71. For items without barcodes, the operation of selecting the purchased item from the list of barcode-less items displayed on the touch panel 72 is also referred to as product registration.
[0048] If product registration has not been performed in ACT2, the processor 11 proceeds to ACT3. In ACT3, the processor 11 checks whether the first flag Fa has been reset to "0". At this point, the first flag Fa has been reset to "0", so the processor 11 proceeds to ACT4. In ACT4, the processor 11 checks whether a point ID has been entered. If no point ID has been entered, the processor 11 returns to ACT2. In this way, the processor 11 of the idle payment device 10 waits for product registration to be performed or a point ID to be entered in ACT2 through ACT4.
[0049] The store clerk, who is the operator of the payment device 10, reads the data on the point card with the card reader 75 when the payer presents the point card. Alternatively, when the payer presents an information terminal such as a smartphone displaying a machine-readable code of the point ID via a point card app, the store clerk reads that machine-readable code with the scanner 71. Once the payer's point ID is entered through such an operation, the processor 11 proceeds to ACT5. As ACT5, the processor 11 controls the transmission of a point inquiry message. This control causes the point inquiry message to be transmitted from the communication interface 15.
[0050] The point inquiry message is sent to the relay server 20 via the first communication network 50. The point inquiry message includes a point ID. The relay server 20 identifies the code payment service provider to which the point inquiry message is to be sent from the point ID. The relay server 20 then sends the point inquiry message to the point server 40 of the identified code payment service provider.
[0051] Upon receiving a point inquiry message, the point server 40 searches the point database 41. The point server 40 retrieves the points held from the point record 411 of the point ID included in the point inquiry message. The point server 40 sends a point response message, including the held points, to the settlement device 10, which was the source of the point inquiry message. The point response message is transmitted to the settlement device 10, the source of the point inquiry message, through the action of the relay server 20.
[0052] In ACT5, the processor 11, which controlled the transmission of the point inquiry message, proceeds to ACT6. As ACT6, the processor 11 waits for the point response message. Upon receiving the point response message via the communication interface 15, the processor 11 proceeds to ACT7. As ACT7, the processor 11 detects the points held from the point response message and stores them in the point memory Pa. The point memory Pa is, for example, a part of the volatile memory area in the main memory 12. The processor 11 also sets the first flag Fa to "1" as ACT8. Thus, the first flag Fa is a 1-bit data that is reset to "0" until the points held by the settler are stored in the point memory Pa, and is set to "1" when the points are stored in the point memory Pa.
[0053] After setting the first flag Fa to "1", processor 11 returns to ACT2. That is, processor 11 checks whether or not product registration has been performed. If product registration has not been performed, processor 11 checks the first flag Fa in ACT3. At this point, the first flag Fa is set to "1". Therefore, processor 11 returns to ACT2. In this way, after the payer's point ID is entered and the payer's points are stored in point memory Pa, processor 11 waits for product registration to be performed in ACT2.
[0054] Once product registration is complete, processor 11 proceeds to ACT9. Processor 11 executes product sales data processing as ACT9. Specifically, processor 11 registers product sales data, including the product code, unit price, number of items sold, and total sales amount, for the products purchased by the payer, into the registration memory. The registration memory is, for example, a part of the volatile memory area in main memory 12.
[0055] Processor 11, having executed the product sales data processing, proceeds to ACT10. Processor 11 checks whether accounting has been instructed as ACT10. If accounting has not been instructed, processor 11 returns to ACT2. Therefore, processor 11 executes product sales data processing each time a product is registered.
[0056] The store clerk presses the checkout key on keyboard 74 after registering all the items purchased by the payer. Alternatively, the store clerk may touch the checkout button on the software keys displayed on touch panel 72. When the checkout key is pressed or the checkout button is touched, the processor 11 recognizes that a checkout has been requested. The processor 11 proceeds to ACT 11. The processor 11 calculates the transaction amount based on the product sales data stored in the registration memory as ACT 11 and stores it in amount memory A. Amount memory A is, for example, a part of the volatile memory area in main memory 12.
[0057] After storing the transaction amount in amount memory A, processor 11 proceeds to ACT 12. As ACT 12, processor 11 sets the touch panel 72 screen as the payment selection screen. The payment selection screen accepts input for selecting a payment method such as cash, credit card, code payment, or points payment.
[0058] The processor 11 of the payment device 10, which displays the payment selection screen, proceeds to ACT 13. The processor 11 waits for one of the payment methods to be selected as ACT 13. Once a payment method is selected, the processor 11 proceeds to ACT 14. As ACT 14, the processor 11 checks whether the selected payment method is a points payment. If the selected payment method is not a points payment, the processor 11 checks whether the selected payment method is a code payment as ACT 15. If the selected payment method is not a code payment either, the processor 11 recognizes that a payment method other than points payment or code payment has been selected.
[0059] <Processing when point payment is selected> Figure 8 is a flowchart showing the essential steps of the information processing performed by processor 11 when point payment is selected as the payment method for the transaction amount. When the payer declares that they will pay all or part of the transaction amount with points, the store clerk selects point payment from the payment selection screen. The store clerk then enters the payment points requested by the payer, for example, by using the numeric keypad on the keyboard.
[0060] When point payment is selected from the payment selection screen, processor 11 proceeds to ACT21 in Figure 8. Processor 11 waits for payment points to be entered as ACT21. For example, when payment points are entered by using the numeric keypad on the keyboard, processor 11 proceeds to ACT22. Processor 11 checks as ACT22 whether the payment points are less than or equal to the points held in point memory Pa. If the payment points are less than or equal to the points held, processor 11 proceeds to ACT23. Processor 11 converts the payment points into a payment amount as ACT23. In this embodiment, since 1 point is defined as 1 yen, processor 11 converts the payment points directly into a payment amount.
[0061] Processor 11, having converted the payment points into a payment amount, proceeds to ACT24. Processor 11 checks whether the payment amount is less than or equal to the amount in amount memory A as ACT24. If the payment amount is less than or equal to the amount in amount memory A, point payment is possible. Processor 11 proceeds to ACT25. Processor 11 subtracts the payment amount from the amount in amount memory A as ACT25. Then, as ACT26, Processor 11 checks whether the amount in amount memory A is greater than 0 yen. If the amount in amount memory A is greater than 0 yen, that is, if part of the transaction amount was paid with points, Processor 11 proceeds to ACT27. Processor 11 sets the second flag Fb to "1" as ACT27. Thus, the second flag Fb is a 1-bit data that is set to "1" when part of the transaction amount is paid with points. After setting the second flag Fb to "1", Processor 11 returns to ACT12 in Figure 7. The processor 11 uses the touch panel 72 screen as a payment selection screen and waits for a new payment method to be selected.
[0062] On the other hand, if the amount in amount memory A is 0 yen or less in ACT26, that is, if the payment of the transaction amount is completed by point payment, the processor 11 proceeds to ACT28. The processor 11 executes the closing process as ACT28. That is, the processor 11 confirms the sales data of the products purchased by the payer based on the product sales data stored in the registration memory.
[0063] After completing the closing process, processor 11 proceeds to ACT29. Processor 11 calculates the points to be awarded as ACT29. For example, assuming that it is defined that 1 point is awarded for every 100 yen of transaction amount, processor 11 calculates the points to be awarded as the integer of the quotient obtained by dividing the transaction amount by 100.
[0064] The processor 11, which calculated the points to be awarded, proceeds to ACT 30. As ACT 30, the processor 11 controls the transmission of the payment point notification message. This control causes the payment point notification message to be transmitted from the communication interface 15. The payment point notification message is transmitted to the relay server 20 via the first communication network 50. The payment point notification message includes the point ID obtained in ACT 4. The payment points entered in ACT 21 and the current date and time data measured by the clock 14 are also included in the payment point notification message.
[0065] The relay server 20 identifies the code payment service provider to which the payment point notification message will be forwarded, based on the point ID in the message. The relay server 20 then sends the payment point notification message to the point server 40 of the identified code payment service provider.
[0066] The point server 40 retrieves the point ID, payment points, and date / time data from the payment point notification message. The point server 40 then searches the point database 41 and subtracts the retrieved payment points from the points held in the point record 411 containing the retrieved point ID. It also updates the update date and time of the point record 411 to the date and time of the retrieved date / time data.
[0067] In ACT30, the processor 11, which controlled the transmission of the payment point notification message, proceeds to ACT31. The processor 11 controls the transmission of the awarded point notification message as ACT31. This control causes the awarded point notification message to be transmitted from the communication interface 15. The awarded point notification message is transmitted to the relay server 20 via the first communication network 50. The awarded point notification message includes the point ID obtained in ACT4. The awarded points calculated in ACT29 and the current date and time data measured by the clock 14 are also included in the awarded point notification message.
[0068] The relay server 20 identifies the code payment service provider to which the point notification message will be forwarded, based on the point ID in the message. The relay server 20 then sends the point notification message to the point server 40 of the identified code payment service provider.
[0069] The point server 40 retrieves the point ID, the points awarded, and the date and time data from the point award notification message. The point server 40 then searches the point database 41 and adds the acquired points awarded to the points held in the point record 411 containing the acquired point ID. It also updates the update date and time of the same point record 411 to the date and time of the acquired date and time data.
[0070] In ACT31, the processor 11, which controlled the transmission of the point award notification message, proceeds to ACT32. In ACT32, the processor 11 controls the issuance of the receipt. That is, the processor 11 operates the printer 73 to output a receipt in which the details of the purchased items are recorded. Note that the receipt may not be a paper receipt using paper as the medium, but may be an electronic receipt in which the receipt information can be viewed on a smartphone or the like.
[0071] The processor 11 of the payment device 10 that issued the receipt settles the transaction with one payer. The processor 11 returns to an idle state. Therefore, both the first flag Fa and the second flag Fb are reset to "0".
[0072] In ACT22, if the payment points are insufficient compared to the points held, or if the payment amount calculated from the payment points is greater than the amount in amount memory A in ACT24, i.e., if more payment points than necessary are entered, the point payment will result in an error. Processor 11 will execute error handling as ACT33. For example, processor 11 will display information on touch panel 72 indicating that the point payment has failed. Then processor 11 will return to ACT12. Processor 11 will set the touch panel 72 screen as a payment selection screen and wait for a new payment method to be selected.
[0073] <Processing when QR code payment is selected> Figure 9 is a flowchart showing the essential steps of the information processing performed by the processor 11 when QR code payment is selected as the payment method for the transaction amount. When the payer declares that they will pay the entire transaction amount, or part of the transaction amount, and the remaining balance after paying with another payment method, the store clerk selects QR code payment from the payment selection screen.
[0074] When code payment is selected from the payment selection screen, processor 11 proceeds to ACT41 in Figure 9. Processor 11 checks the second flag Fb as ACT41. As mentioned above, the second flag Fb is set to "1" if part of the transaction amount is paid by point payment. If the second flag Fb is "0", that is, if part of the transaction amount is not paid by point payment, processor 11 skips processing in ACT42 and proceeds to ACT43.
[0075] On the other hand, in ACT41, if the second flag Fb is "1", meaning that a portion of the transaction amount has already been paid by point payment, the processor 11 proceeds to ACT42. The processor 11 controls the transmission of a payment point notification message as ACT42. This control causes the payment point notification message to be transmitted from the communication interface 15. The payment point notification message is transmitted to the relay server 20 via the first communication network 50. The payment point notification message includes the point ID obtained in ACT4. The payment points entered in ACT21 and the current date and time data measured by the clock 14 are also included in the payment point notification message.
[0076] The relay server 20 identifies the code payment service provider to which the payment point notification message will be forwarded, based on the point ID in the message. The relay server 20 then sends the payment point notification message to the point server 40 of the identified code payment service provider.
[0077] The point server 40 retrieves the point ID, payment points, and date / time data from the payment point notification message. The point server 40 then searches the point database 41 and subtracts the retrieved payment points from the points held in the point record 411 containing the retrieved point ID. It also updates the update date and time of the point record 411 to the date and time of the retrieved date / time data.
[0078] In ACT42, the processor 11, which controlled the transmission of the payment point notification message, proceeds to ACT43. Thus, when code payment is selected as the payment method, if the second flag Fb is set to "1", the processor 11 sends the payment point notification message and then proceeds to ACT43. If the second flag Fb is not set to "1", the processor 11 proceeds to ACT43 without sending the payment point notification message. The processor 11 obtains the payment ID in ACT43.
[0079] A customer who has selected code payment as their payment method presents the machine-readable code from the code payment app displayed on the information terminal to the store clerk. The store clerk operates the scanner 71 to scan the machine-readable code. In ACT43, the processor 11 obtains the payment ID from the machine-readable code scanned by the scanner 71.
[0080] Processor 11, having obtained the payment ID, proceeds to ACT44. Processor 11 obtains the amount in amount memory A as the code payment amount in ACT44. That is, if a portion of the transaction amount has not been paid by another payment method, the transaction amount is obtained as the code payment amount. If a portion of the transaction amount has been paid by another payment method, the remaining balance is obtained as the code payment amount.
[0081] After obtaining the code payment amount, processor 11 proceeds to ACT45. Processor 11 controls the transmission of the code payment notification message as ACT45. This control causes the code payment notification message to be transmitted from the communication interface 15. The code payment notification message is transmitted to the relay server 20 via the first communication network 50. The code payment notification message includes the payment ID obtained in ACT43. The code payment amount obtained in ACT44 is also included in the code payment notification message.
[0082] The relay server 20 identifies the code payment service provider to which the code payment notification message will be forwarded, based on the payment ID in the message. The relay server 20 then sends the code payment notification message to the payment server 30 of the identified code payment service provider.
[0083] The payment server 30 obtains the payment ID and the payment amount from the payment notification message. The payment server 30 obtains the charge balance, the priority flag, and the maximum points Pmax from the payment record 311 which contains the obtained payment ID. If the priority flag is "0", that is, if the payer is a user who has set their system not to prioritize payment with points over the charge balance, the payment server 30 deducts the payment amount from the charge balance.
[0084] In contrast, if the priority flag is "1," meaning the payer is a user who prioritizes payment using points over the charge balance, the payment server 30 refers to the linkage table 32 to obtain the point ID associated with the acquired payment ID. The payment server 30 then queries the point server 40 for the points held in the point record 411 containing the acquired point ID.
[0085] When the points server 40 is retrieved in response to this inquiry, the payment server 30 checks whether the upper limit point Pmax obtained from the payment record 311 is "0". If the upper limit point Pmax is "0", that is, if the user has not set an upper limit on the points to be used for payment, the payment server 30 compares the amount converted from the points held with the code payment amount. If the amount converted from the points held is equal to or greater than the code payment amount, it is possible to pay the entire code payment amount with the points held. The payment server 30 notifies the points server 40 of the points equivalent to the code payment amount as the points to be used, so that the points held in the point record 411, which includes the retrieved point ID, are the points after subtracting the points equivalent to the code payment amount.
[0086] On the other hand, in the case of a user whose maximum points Pmax is not "0," that is, a user who has set a limit on the points they preferentially use for payment, the payment server 30 compares the amount calculated from the maximum points Pmax with the code payment amount. If the amount calculated from the maximum points Pmax is equal to or greater than the code payment amount, the entire code payment amount can be paid with the points the user has. The payment server 30 notifies the point server 40 of the points equivalent to the code payment amount as the points to be used, so that the points held in the point record 411, which includes the acquired point ID, become the points after deducting the points equivalent to the code payment amount.
[0087] In contrast, if the amount calculated from the maximum points Pmax is less than the code payment amount, a portion of the code payment amount will be paid with points up to the maximum points Pmax, and the remainder will be paid with the charge balance. The payment server 30 notifies the point server 40 of the maximum points Pmax as the points to be used so that the points held in the point record 411, which includes the acquired point ID, will be the points after subtracting the maximum points Pmax. The payment server 30 also deducts the amount obtained by subtracting the amount equivalent to the maximum points Pmax from the code payment amount from the charge balance of the payment record 311.
[0088] Once the above operations are performed in the payment server 30, the code payment process is completed. After completing the code payment process, the payment server 30 sends an acceptance response message to the payment device 10 that sent the code payment notification message. If the charge balance is insufficient and the code payment amount cannot be deducted from the charge amount, the code payment will result in an error. The payment server 30 sends an error response message to the payment device 10 that sent the code payment notification message.
[0089] In ACT45, the processor 11 of the payment device 10 that sent the code payment notification message proceeds to ACT46. The processor 11 waits for the acceptance response message as ACT46. Upon receiving the acceptance response message from the payment server 30, the processor 11 proceeds to ACT47. The processor 11 executes the closing process as ACT47.
[0090] After completing the closing process, processor 11 proceeds to ACT48. Processor 11 checks the first flag Fa as ACT48. If the first flag Fa is "0", meaning that the points held by the payer are not stored in the point memory Pa, processor 11 proceeds to ACT51. Processor 11 controls the issuance of the receipt as ACT51.
[0091] In ACT48, if the first flag Fa is set to "1", that is, if the payer's points are stored in point memory Pa, the processor 11 proceeds to ACT49. In ACT49, the processor 11 calculates the points to be awarded. Then, in ACT50, the processor 11 controls the transmission of the payment point notification message. This control causes the payment point notification message to be transmitted from the communication interface 15. The payment point notification message is transmitted to the relay server 20 via the first communication network 50, and then to the point server 40. The payment point notification message includes the point ID obtained in ACT4. The payment points entered in ACT21 and the current date and time data measured by the clock 14 are also included in the payment point notification message. The operation of the point server 40 upon receiving the payment point notification message is as described above.
[0092] In ACT50, the processor 11, which controlled the transmission of the payment point notification message, proceeds to ACT51. As ACT51, the processor 11 controls the issuance of the receipt.
[0093] The processor 11 of the payment device 10 that issued the receipt settles the transaction with one payer. The processor 11 returns to an idle state. Therefore, both the first flag Fa and the second flag Fb are reset to "0".
[0094] Furthermore, if an error response message is received from the payment server 30 in ACT46, the processor 11 executes error processing as ACT52. For example, the processor 11 displays information on the touch panel 72 indicating that the code payment has failed. Then the processor 11 returns to ACT12. The processor 11 uses the touch panel 72 screen as a payment selection screen and waits for a new payment method to be selected.
[0095] <Handling of cases where another payment method is selected> Figure 10 is a flowchart showing the main steps of the information processing performed by processor 11 when a payment method other than point payment and code payment is selected as the payment method for the transaction amount. When the payer declares that they will pay the remaining balance after paying all or part of the transaction amount, for example, with cash or credit card, the store clerk selects cash from the payment selection screen.
[0096] If a payment method other than points payment or code payment is selected from the payment selection screen, the processor 11 proceeds to ACT61 in Figure 10. The processor 11 obtains the payment amount as ACT61. For example, if cash is selected as the payment method, the processor 11 obtains the cash inserted into the automatic change dispenser 76 as the payment amount. For example, if a credit card is selected as the payment method, the processor 11 obtains the payment amount from the credit card read by the card reader 75.
[0097] Processor 11, having obtained the payment amount, proceeds to ACT62. Processor 11 subtracts the payment amount from the amount in amount memory A as ACT62. Then, as ACT63, Processor 11 checks whether the amount in amount memory A is greater than "0". If the amount in amount memory A is greater than "0", the payment is not complete. Processor 11 returns to ACT12 in Figure 7. Processor 11 waits for a new payment method to be selected on the touch panel 72 screen, which is set as the payment selection screen.
[0098] In ACT63, once it is confirmed that the amount in memory A is 0 yen or less, the processor 11 proceeds to ACT64. The processor 11 then executes the closing process as ACT64.
[0099] After completing the closing process, processor 11 proceeds to ACT65. Processor 11 checks the first flag Fa as ACT65. If the first flag Fa is "0", meaning that the points held by the payer are not stored in the point memory Pa, processor 11 proceeds to AACT70. Processor 11 controls the issuance of the receipt as ACT70.
[0100] In ACT65, if the first flag Fa is set to "1", that is, if the points held by the payer are stored in the point memory Pa, the processor 11 proceeds to ACT66. The processor 11 calculates the points to be awarded as ACT66.
[0101] The processor 11, having calculated the points to be awarded, proceeds to ACT67. In ACT67, the processor 11 checks the second flag Fb. If the second flag Fb is "0", meaning that part of the transaction amount has not been paid by point payment, the processor 11 skips the processing of ACT68 and proceeds to ACT69.
[0102] In ACT67, if the second flag Fb is "1", meaning that part of the transaction amount is paid by point payment, the processor 11 proceeds to ACT68. The processor 11 controls the transmission of a payment point notification message as ACT68. This control causes the payment point notification message to be transmitted from the communication interface 15. The payment point notification message is transmitted to the relay server 20 via the first communication network 50, and then to the point server 40. The payment point notification message includes the point ID obtained in ACT4. The payment points entered in ACT21 and the current date and time data measured by the clock 14 are also included in the payment point notification message. The operation of the point server 40 upon receiving the payment point notification message is as described above.
[0103] In ACT68, the processor 11, which controlled the transmission of the payment point notification message, proceeds to ACT69. In this way, if a payment method other than point payment or code payment is selected as the payment method, the processor 11 checks the second flag Fb after the closing process. If the second flag Fb is set to "1", the processor 11 sends the payment point notification message and then proceeds to ACT69. If the second flag Fb is not set to "1", the processor 11 proceeds to ACT69 without sending the payment point notification message. In ACT69, the processor 11 controls the transmission of the awarded points notification message.
[0104] This control causes a point award notification message to be sent from the communication interface 15. The point award notification message is sent to the relay server 20 via the first communication network 50, and then to the point server 40. The point award notification message includes the point ID obtained in ACT4. The point award notification message also includes the awarded points calculated in ACT66 and the current date and time data measured by the clock 14. The operation of the point server 40 upon receiving the point award notification message is as described above.
[0105] In ACT69, the processor 11, which controlled the transmission of the point award notification message, proceeds to ACT70. As ACT70, the processor 11 controls the issuance of the receipt.
[0106] The processor 11 of the payment device 10 that issued the receipt settles the transaction with one payer. The processor 11 returns to an idle state. Therefore, both the first flag Fa and the second flag Fb are reset to "0".
[0107] Here, the processor 11 of the payment device 10 realizes the function of a receiving means 81 through the processing of ACT21 to ACT25. The same processor 11 realizes the function of an acquisition means 82 through the processing of ACT43. The same processor 11 realizes the function of a payment means 83 through the processing of ACT28, ACT47 and ACT64. The same processor 11 realizes the function of a calculation means 84 through the processing of ACT29, ACT49 and ACT66. The same processor 11 realizes the function of a first notification means 85 through the processing of ACT27, ACT41 to ACT45. The same processor 11 realizes the function of a second notification means 86 through the processing of ACT27, ACT67 to ACT68. The same processor 11 realizes the function of a third notification means 87 through the processing of ACT31, ACT50 and ACT69.
[0108] [Explanation of how the code payment system works] The main operations of the code payment system 100 will be explained below using the sequence diagrams in Figures 11 to 15.
[0109] <Procedure 1 of this application: See Figure 11> Operation 1 of this invention is the case where a code payment user pays the entire transaction amount with their accumulated points. It is assumed that the user has 700 points and the transaction amount is 500 yen.
[0110] First, the user presents their point card or smartphone with the point card app running to the store clerk. The store clerk then performs an operation to input the identification code for the point service, i.e., the point ID, into the payment device 10. For example, if the user presents a point card, the store clerk reads the point ID on that point card with the card reader 75. For example, if the user presents a smartphone, the store clerk scans the machine-readable code of the point ID displayed on the top screen of the point card app with the scanner 71. Based on these input operations, the payment device 10 inputs the user's point ID. The payment device 10 then sends a point inquiry message Ta, including the point ID, to the point server 40.
[0111] The point server 40 searches the point database 41 using the point ID contained in the point inquiry message Ta. The point server 40 retrieves the user's points "700" from the point record 411 containing the point ID. The point server 40 sends a point response message Tb containing the points "700" to the settlement device 10. The settlement device 10 stores the points "700" contained in the point response message Tb in the point memory Pa.
[0112] The store clerk registers the user's purchased items with the payment device 10. Once all purchased items have been registered and the transaction amount of 500 yen has been calculated, the store clerk performs an operation to declare payment. For example, the store clerk presses the payment key on the keyboard 74. For example, the store clerk touches the payment button on the touch panel 72. Based on these input operations, the payment device 10 accepts the payment declaration. The payment device 10 then displays the touch panel 72 screen as the payment selection screen.
[0113] The store clerk selects the payment method preferred by the user. In operation 1 of this invention, the user pays the transaction amount of 500 yen with points, so the store clerk selects point payment from the payment selection screen. Next, the store clerk enters the payment points "500" by, for example, using the numeric keypad on the keyboard.
[0114] When payment points "500" are entered, the payment of the transaction amount is completed, and the settlement device 10 performs the closing process. The settlement device 10 also calculates the awarded points, for example, "7". The settlement device 10 sends a payment point notification message Tc containing the point ID and payment points "500" to the point server 40. Subsequently, the settlement device 10 sends an awarded point notification message Td containing the point ID and awarded points "7" to the point server 40.
[0115] The point server 40 subtracts the payment points "500" included in the payment point notification message Tc from the points held "700" in point record 411, which includes the point ID included in the payment point notification message Tc. Therefore, the points held become "200". Next, the point server 40 adds the awarded points "7" included in the awarded point notification message Td from the points held "200" in point record 411, which includes the point ID included in the awarded point notification message Td. Therefore, the points held become "207". The point server 40 sends an acceptance response message Te to the payment device 10. The payment device 10 issues a receipt.
[0116] <Procedure 2 of this application: See Figure 12> Operation 2 of this invention refers to a case where a user of code payment pays part of the transaction amount with points they have and the remainder with cash. It is assumed that the user has 700 points, the transaction amount is 1500 yen, and the points to be paid are 500 points.
[0117] The operation is the same as in Operation 1 of this invention until the touch panel 72 screen displays the payment selection screen, after the store clerk has finished registering the user's purchased items and declared payment. In Operation 2 of this invention, first the user pays 500 yen of the transaction amount of 1500 yen with points, so the store clerk selects point payment from the payment selection screen. Next, the store clerk enters the payment points "500" by, for example, using the numeric keypad on the keyboard.
[0118] Even though payment points "500" are entered, the payment of the transaction amount is not completed, so the touch panel 72 screen returns to the payment selection screen. The clerk asks the user to pay the remaining 1000 yen of the transaction amount. The user will pay the remaining 1000 yen in cash, so the clerk selects cash from the payment selection screen. Next, the clerk puts the cash of 1000 yen or more received from the user into the automatic change dispenser 76.
[0119] When 1,000 yen or more is inserted into the automatic change dispenser 76, the payment of the transaction amount is completed, and the settlement device 10 performs a closing process. The settlement device 10 also calculates the points to be awarded, for example, "15". The settlement device 10 sends a payment point notification message Tc containing the point ID and payment points "500" to the point server 40. Subsequently, the settlement device 10 sends a point award notification message Td containing the point ID and awarded points "15" to the point server 40.
[0120] The point server 40 subtracts the payment points "500" included in the payment point notification message Tc from the points held "700" in point record 411, which includes the point ID included in the payment point notification message Tc. Therefore, the points held become "200". Next, the point server 40 adds the awarded points "15" included in the awarded point notification message Td to the points held "200" in point record 411, which includes the point ID included in the awarded point notification message Td. Therefore, the points held become "215". The point server 40 sends an acceptance response message Te to the payment device 10. The payment device 10 issues a receipt.
[0121] <Conventional operation 1: See Figure 13> Conventional operation 1 is the case where a user of code payment pays part of the transaction amount with their points and the remainder with a point-priority code payment. It is assumed that the user has 700 points, the transaction amount is 1500 yen, and the payment points are 500 points. It is also assumed that the user has set their maximum point limit Pmax to 200 points. In this case, where part of the transaction amount is paid with points and the remainder with code payment, in conventional operation 1, the payment device 10 sends a payment point notification message Tc to the point server after the payment of the transaction amount is completed, i.e., after the code payment is established. In the following, the payment device in the conventional operation will be referred to as payment device 101 to distinguish it from the payment device 10 in the operation of this invention.
[0122] In conventional operation 1, the store clerk performs an operation to enter the user's point ID into the payment device 101, and after registering the user's purchased items and performing an operation to declare payment, the screen of the touch panel 72 is the same as in operations 1 and 2 of the present invention until the screen becomes the payment selection screen. In conventional operation 1, first the user pays 500 yen of the transaction amount of 1500 yen with points, so the store clerk selects point payment from the payment selection screen. Next, the store clerk uses, for example, the numeric keypad on the keyboard to enter the payment points "500".
[0123] Even though payment points "500" are entered, the payment of the transaction amount is not completed, so the touch panel 72 screen returns to the payment selection screen. The clerk asks the user to pay the remaining balance of 1000 yen. The user will pay the remaining balance of 1000 yen by code payment, so the clerk selects code payment from the payment selection screen. Next, the clerk scans the machine-readable code, including the payment ID, displayed on the smartphone presented by the user with the scanner 71. Based on these input operations, the payment device 101 enters the user's payment ID. The payment device 101 sends a code payment notification message Tf, including the payment ID and the code payment amount "1000", to the payment server 30.
[0124] The settlement server 30 retrieves the charge balance, priority flag, and maximum point value Pmax from the settlement record 311, which contains the settlement ID included in the code settlement notification message Tf. In the conventional operation example 1, the priority flag is "1". Also, the maximum point value Pmax is "200". Therefore, the settlement server 30 refers to the linkage table 32 to obtain the point ID associated with the obtained settlement ID. Then, the settlement server 30 sends a point inquiry message Tg containing the obtained point ID to the point server 40.
[0125] The point server 40 searches the point database 41 using the point ID contained in the point inquiry message Tg. The point server 40 retrieves the user's points "700" from the point record 411 containing the point ID. The point server 40 sends a point response message Th containing the points "700" to the settlement server 30.
[0126] The payment server 30 determines that the points held, "700," are greater than or equal to the maximum points of "200," and therefore sets the points to be used for the code payment to "200." The payment server 30 also deducts 800 yen from the user's charge balance, which is the code payment amount of 1000 yen minus the amount paid using "200" points. Thus, since the payment by code payment is completed, the payment server 30 sends an acceptance response message Ti to the payment device 101. The payment server 30 also sends a point usage notification message Tj, which includes the point ID and the points used, to the point server 40. The point server 40 subtracts the points used from the points held in the point record 411, which includes the point ID. Therefore, the points held become "500."
[0127] Upon receiving the acceptance response message Ti, the settlement device 101 performs the closing process. The settlement device 101 also calculates the points to be awarded, for example, "15". The settlement device 101 sends a payment point notification message Tc containing the point ID and payment points "500" to the point server 40. Subsequently, the settlement device 10 sends a point award notification message Td containing the point ID and awarded points "15" to the point server 40.
[0128] The point server 40 subtracts the payment points "500" included in the payment point notification message Tc from the points held "500" in point record 411 which includes the point ID included in the payment point notification message Tc. Therefore, the points held become "0". Next, the point server 40 adds the awarded points "15" included in the awarded point notification message Td to the points held "200" in point record 411 which includes the point ID included in the awarded point notification message Td. Therefore, the points held become "15". The point server 40 sends an acceptance response message Te to the payment device 10. The payment device 10 issues a receipt.
[0129] <Conventional operation 2: See Figure 14> Conventional Operation 2 assumes that in Conventional Operation 1, the user has set the upper limit points Pmax to 300 points. Conventional Operation 2 is the same as Conventional Operation 1 until the payment device 101 sends a code payment notification message Tf containing the payment ID and code payment amount "1000" to the payment server 30.
[0130] The settlement server 30 retrieves the charge balance, priority flag, and maximum point value Pmax from the settlement record 311, which contains the settlement ID included in the code settlement notification message Tf. In the conventional operation example 1, the priority flag is "1". Also, the maximum point value Pmax is "300". Therefore, the settlement server 30 refers to the linkage table 32 to obtain the point ID associated with the obtained settlement ID. Then, the settlement server 30 sends a point inquiry message Tg containing the obtained point ID to the point server 40.
[0131] The point server 40 searches the point database 41 using the point ID contained in the point inquiry message Tg. The point server 40 retrieves the user's points "700" from the point record 411 containing the point ID. The point server 40 sends a point response message Th containing the points "700" to the settlement server 30.
[0132] The payment server 30 determines that the points to be used for the code payment are "300" because the points held, "700", are greater than or equal to the maximum points, "300". The payment server 30 also deducts 700 yen from the user's charge balance, which is the code payment amount of 1000 yen minus the amount paid with the points used, "300". Since the payment by code payment has been completed, the payment server 30 sends an acceptance response message Ti to the payment device 101. The payment server 30 also sends a point usage notification message Tj, which includes the point ID and the points used, "300", to the point server 40. The point server 40 subtracts the points used from the points held in the point record 411, which includes the point ID. Therefore, the points held become "400".
[0133] Upon receiving the acceptance response message Ti, the settlement device 101 performs the closing process. The settlement device 101 also calculates the points to be awarded, for example, "15". The settlement device 101 sends a payment point notification message Tc containing the point ID and payment points "500" to the point server 40. Subsequently, the settlement device 10 sends a point award notification message Td containing the point ID and awarded points "15" to the point server 40.
[0134] The point server 40 subtracts the payment points "500" included in the payment point notification message Tc from the points "400" held in point record 411, which includes the point ID included in the payment point notification message Tc. However, at this point, the points held are insufficient for the payment points. Therefore, the point server 40 sends an error response message Tk to the settlement device 101.
[0135] Thus, in the case of conventional operation 2, an error occurs even though the payment of the transaction amount has been completed correctly.
[0136] <Procedure 3 of this application: See Figure 15> Operation 3 of this invention, like Operation 2 of the Conventional Method, is the case where a user of code payment with a maximum point limit Pmax set to 300 points pays part of the transaction amount with their points and the remainder with code payment prioritizing points. Also, like Operation 2 of the Conventional Method, the user has 700 points, the transaction amount is 1500 yen, and the points to be paid are 500 points.
[0137] The operation is the same as in operations 1 and 2 of this invention until the touch panel 72 screen displays the payment selection screen, after the store clerk has finished registering the user's purchased items and declared payment. In operation 3 of this invention, first the user pays 500 yen of the transaction amount of 1500 yen with points, so the store clerk selects point payment from the payment selection screen. Next, the store clerk enters the payment points "500" by, for example, using the numeric keypad on the keyboard.
[0138] Even though payment points "500" are entered, the payment of the transaction amount is not completed, so the touch panel 72 screen returns to the payment selection screen. The store clerk asks the user to pay the remaining balance of 1000 yen. The user will pay the remaining 1000 yen using code payment, so the store clerk selects code payment from the payment selection screen.
[0139] When code payment is selected as the payment method, the payment device 10 sends a payment point notification message Tc to the point server 40, which includes the point ID and payment points "500". The point server 40 subtracts the payment points "500" included in the payment point notification message Tc from the points "700" held in point record 411, which includes the point ID included in the payment point notification message Tc. Therefore, the points held become "200". Since the point server 40 has been able to subtract the payment points from the points held, the point server 40 sends an acceptance response message Te to the payment device 10.
[0140] The store clerk who selected code payment scans the machine-readable code, including the payment ID, displayed on the user's smartphone using scanner 71. Based on these input operations, the payment device 101 inputs the user's payment ID. The payment device 101 then sends a code payment notification message Tf, including the payment ID and the code payment amount "1000", to the payment server 30.
[0141] The settlement server 30 retrieves the charge balance, priority flag, and upper limit point Pmax from the settlement record 311, which contains the settlement ID included in the code settlement notification message Tf. In the operation example 3 of this invention, the priority flag is "1". Also, the upper limit point Pmax is "300". Therefore, the settlement server 30 refers to the linkage table 32 to obtain the point ID associated with the obtained settlement ID. Then, the settlement server 30 sends a point inquiry message Tg containing the obtained point ID to the point server 40.
[0142] The point server 40 searches the point database 41 using the point ID contained in the point inquiry message Tg. The point server 40 retrieves the user's points "200" from the point record 411 containing the point ID. The point server 40 sends a point response message Th containing the points "200" to the settlement server 30.
[0143] The payment server 30 determines that the points to be used for the code payment are "200" because the user's current points are less than the maximum points of "300". The payment server 30 also deducts 800 yen from the user's balance, which is the code payment amount of 1000 yen minus the amount paid using the "200" points. Since the code payment has been completed, the payment server 30 sends an acceptance response message Ti to the payment device 101. The payment server 30 also sends a point usage notification message Tj to the point server 40, which includes the point ID and the points used, "200". The point server 40 subtracts the points used from the points held in the point record 411, which includes the point ID. Therefore, the points held become "0".
[0144] Upon receiving the acceptance response message Ti, the settlement device 101 performs the closing process. The settlement device 101 also calculates the points to be awarded, for example, "15". The settlement device 101 sends a point award notification message Td, which includes the point ID and the awarded points "15", to the point server 40.
[0145] The point server 40 adds the awarded points "15" included in the awarded points notification message Td to the points held "0" in the point record 411 which includes the point ID included in the awarded points notification message Td. Therefore, the points held become "15". The point server 40 sends an acceptance response message Te to the payment device 10. The payment device 10 issues a receipt.
[0146] Thus, as in operation 3 of this invention, when the payer pays part of the transaction amount with points and the remainder with point-priority code payment, the payment device 10 sends a payment point notification message Tc to the point server 40 at the moment code payment is selected as the payment method. Therefore, the point server 40 can deduct the points used for point payment, for example, 200 points, from the points held by the user who is the payer, for example, 700 points. As a result, errors like those described in conventional operation 2, that is, errors that occur even though the payment of the transaction amount has been completed correctly, do not occur.
[0147] As described in detail above, this embodiment provides a payment device 10 that can eliminate the problem of errors occurring after the payment of the transaction amount has been completed.
[0148] [Other embodiments] The above describes an embodiment of a payment device that can eliminate the problem of errors occurring after the payment of the transaction amount has been completed, but such embodiments are not limited to this.
[0149] For example, although the above embodiment illustrates its application to a face-to-face payment device, it can be similarly applied to self-service payment devices or shared payment devices.
[0150] In the above embodiment, an example was given in which a maximum point limit Pmax is set for code payment with point priority. In this regard, it is assumed that the user will specify the points to be used for code payment as appropriate by operating their smartphone. In such other embodiments as well, as described in operation 3 of this application, when code payment is selected as the payment method, a payment point notification message Tc is sent to the point server 40. Therefore, the user's points are updated from 700 points to 200 points.
[0151] Suppose the user then specifies 200 points as the points to be used preferentially for code payment. In this case, the user has 200 points, which is more than the points to be used, so the code payment is successful. However, if the user specifies more than 200 points, the code payment will fail. When the code payment fails, the payment server 30 notifies the payment device 10 of an error. However, at the time the error is notified, the closing process has not yet been executed in the payment device 10. Therefore, the store clerk can suggest to the user that the points to be used preferentially for code payment be the points remaining after point payment, i.e., 200 points or less. The user can, for example, specify 200 points as the points to be used preferentially for code payment. Thus, the code payment is successful, and the closing process is executed in the payment device 10. In other embodiments as well, the problem of errors occurring after the payment of the transaction amount has been completed can be eliminated.
[0152] In addition, several embodiments of the present invention have been described, but these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be carried out in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their variations are included within the scope of the invention, as well as within the scope of the invention and its equivalents as described in the claims. [Explanation of Symbols]
[0153] 10...Payment device, 11...Processor, 12...Main memory, 13...Auxiliary storage device, 14...Clock, 15...Communication interface, 16...I / O interface, 17...System transmission path, 20...Relay server, 30...Payment server, 31...Payment database, 32...Linkage table, 40...Point server, 41...Point database, 50...First communication network, 60...Second communication network, 71...Scanner, 72...Touch panel, 73...Printer, 74...Keyboard, 75...Card reader, 76...Automatic change dispenser, 81...Reception means, 82...Acquisition means, 83...Payment means, 84...Calculation means, 85...First notification means, 86...Second notification means, 87...Third notification means, 100...Code payment system.
Claims
1. When point payment is selected as the payment method for the transaction amount, a means of receiving input for the payment points to be used for payment, When code payment is selected as the payment method for the transaction amount, a means for obtaining an identification code for code payment, When a portion of the transaction amount has been paid by the aforementioned point payment and the code payment method is selected for the remaining transaction amount, the first notification means notifies the point server, which manages the points held by the payer, of the payment points received by the reception means, and then notifies the payment server, which processes the code payment, of the identification code obtained by the acquisition means. A payment device equipped with the following features.
2. If, after a portion of the transaction amount has been paid by the aforementioned point payment, another payment method other than the aforementioned code payment is selected as the payment method for the remaining transaction amount, a second notification means notifies the point server of the payment points received by the aforementioned receiving means after the payment of the transaction amount is completed by the aforementioned other payment method. The settlement device according to claim 1, further comprising:
3. A calculation method for calculating the points to be awarded to the payer based on the transaction amount, A third notification means that, after receiving a notification of completion of code payment from the payment server, or after notifying the payment points by the second notification means, notifies the points server of the awarded points, The settlement device according to claim 2, further comprising:
4. The computer of the payment device, When point payment is selected as the payment method for the transaction amount, a means of receiving input for the payment points to be used for payment. When code payment is selected as the payment method for the transaction amount, a means for obtaining an identification code for code payment, and When a portion of the transaction amount has been paid by the aforementioned point payment and the remaining transaction amount is selected as the payment method for the aforementioned code payment, the first notification means notifies the point server, which manages the points held by the payer, of the payment points received by the aforementioned reception means, and then notifies the payment server, which processes the code payment, of the aforementioned identification code obtained by the aforementioned acquisition means. A program designed to function as such.
5. The computer of the aforementioned payment device If, after a portion of the transaction amount has been paid by the aforementioned point payment, another payment method other than the aforementioned code payment is selected as the payment method for the remaining transaction amount, a second notification means notifies the point server of the payment points received by the aforementioned receiving means after the payment of the transaction amount is completed by the aforementioned other payment method. The program according to claim 4 for further functioning as
6. The computer of the aforementioned payment device A calculation method for calculating the points to be awarded to the payer based on the transaction amount, and After receiving a code payment completion notification from the payment server, or after notifying the payment points by the second notification means, a third notification means notifies the points server of the awarded points. The program according to claim 5 for further functioning as
Citation Information
Patent Citations
Money registration device, money registration system and money registration program
JP2014153910A
