Store server of automatic service device

JP2025003517AActive Publication Date: 2025-01-09ASAHI SEIKO CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
JP2024182347
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-01-09
Estimated Expiration
2039-03-05

AI Technical Summary

Benefits of technology

【0018】 本発明の電子決済方法によれば、安全性が高いと共に、安価に構築できる自動サービス機器の電子決済方法を提供することができる。また、本発明の電子決済システムによれば、安全性が高いと共に、安価に構築できる自動サービス機器の電子決済システムを提供することができる。 その他の発明の第1の態様によれば、享受者端末機の表示装置に表示された二次元コードを、自動サービス機器端末機に装着した撮像装置によって取得し、取得した二次元コードに基づいて、店舗サーバーに続いて決済ゲートウエイサーバーを経由して決済サーバーへ決済要求を行い、自動サービス機器に対する代金を支払元から支払先へ電子決済すると共に、電子決済に基ついて自動サービス機器において所定の商品、又はサービスを提供する。 店舗サーバーは、二次元コードに関連する情報の受信に基づいて、取引番号を生成すると共に、タイムアウト管理ための時間の計時を開始する。 決済ゲートウエイサーバーは、受信した店舗決済要求情報を記録すると共に、少なくとも、取引番号を含む決済GW決済要求情報を決済サーバーへ送信して決済要求を行う。 決済サーバーは、決済要求に基づいて、決済処理を行った後、決済が完了した旨を決済ゲートウエイサーバーへ送信し、決済できなかった場合、決済できなかった旨の決済結果情報を決済ゲートウエイサーバーへ送信する。 決済ゲートウエイサーバーは、該当する取引番号に関連付けて決済結果情報を記録すると共に、当該決済結果情報を店舗サーバーへ送信する。 店舗サーバーは、受信した決済結果情報に基づいて、同一の取引番号によって特定される取引が、タイムアウト時間内であるか判別し、タイムアウト時間内である場合、適正な処理であると推認し、自動サービス機器端末機に対し、課金命令情報を送信する。タイムアウト時間を超過した場合、異常処理であるとして当該取引番号に関する処理を無効化するタイムアウト処理を実行する。 自動サービス機器端末機は、課金命令情報に基づいて、所定の商品又はサービスの提供のための処理を始動する。 これにより、店舗サーバーにおいて取引番号を生成するので、決済ゲートウエイサーバー、又は決済サーバーでの処理が簡略化され、処理スピードに影響を与えることは無い。また、店舗サーバーにおいて、生成した取引番号に関連付けてタイムアウト管理を行うので、決済サーバーにおける演算処理が軽減され、確実にタイムアウト管理を行うことができるので、本発明の第1の目的を達成できる。また、自動サービス機器の分野においても政府が推奨する紙幣又は硬貨を用いないキャッシュレス化を達成できる利点もある。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025003517000001_ABST
    Figure 2025003517000001_ABST
Patent Text Reader

Abstract

To provide a highly safe and low-cost store server for use in an electronic settlement system of an automatic service device.SOLUTION: An imaging apparatus 150 of a device terminal 110 equipped in an automatic service device 102 captures coded settlement permission information, and a settlement request including the settlement permission information and fee is transmitted to a settlement server 124 via store server 114. The store server 114 is connected to a plurality of automatic service devices 102, manages the automatic service devices 102 using device identification numbers, and manages request for settlement from the automatic service devices 102, using transaction numbers generated for each of the requests. The store server 114 issues a settlement request with a transaction number to the settlement server 124, and acquires a settlement result with the transaction number. The store server 114 transmits a signal to start operation to the automatic service device 102 for which the payment has been settled based on the transaction number.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an electronic payment method and system for automated service machines that allows payment for goods or services to be made even when a transaction is not face-to-face by using an individually owned portable information device as a terminal. More specifically, the present invention relates to an electronic payment method and system for an automated service machine that enables payment of fees for goods or services to an automated service machine even in cases where the transaction is not face-to-face, by using an individually owned portable information device as a terminal device. More specifically, the present invention relates to an electronic payment method and system for automatic service machines, which uses an individual's portable information device as a terminal to obtain a two-dimensional code that is transmitted in conjunction with the automatic service machine as transaction information, and by using the transaction information, makes it possible to make payment for goods or services at the automatic service machine without using cash or a card, even when the transaction is not face-to-face. In this specification, the term "automated service machines" refers to machines that automatically provide various products or services after receiving payment, such as vending machines for beverages, game machines, coin laundry machines, and automatic massage machines. Service includes the provision of goods or services. A one-time token is information that can be used only once to access a server, or information that is valid for a specified period of time after issuance. A two-dimensional code is a code that has information in both vertical and horizontal directions. QR Code (registered trademark) is widely used, but is not limited to this. A timeout occurs when information processing, data transfer, etc. takes so long that it exceeds the allowed time. Timeout processing refers to forcibly interrupting (terminating and terminating) a process or data transfer that has timed out. Invalidation refers to deleting information related to the timeout process or making the information not used for subsequent processes, so that the information will not be used for subsequent information processing. [Background technology]

[0002] As a first prior art technology, there is known an electronic payment system in which a provider of a product or service displays transaction information such as the payment amount and payment account using a two-dimensional code or the like, and a customer acquires the two-dimensional code using the camera function of a mobile terminal device and makes a payment (see, for example, Patent Document 1). As a second prior art, a payment system is known in which the billing amount is input at a vendor terminal, converted into a two-dimensional code and shown on a display, the two-dimensional code is photographed by the user's mobile terminal, and the billing amount is shown on the display; when this is approved, card specification information and the user's specific ID are sent to the management company server, the management company server performs a security check of the user's mobile terminal based on the user specific information, and then the payment procedure is carried out with the financial institution based on the card information obtained based on the card specification information (see, for example, Patent Document 2). As a third prior art, the use of checkout tokens in an electronic payment system is known (see, for example, Patent Document 3). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2013-530445 (Figures 1 to 15, paragraph 0012) [Patent Document 2] International Publication No. WO2017 / 029824 (Figures 1 to 9, paragraphs 0011 to 0012) [Patent Document 3] Patent No. 5946441 (Figures 1 to 9, paragraph 0008) Summary of the Invention [Problem to be solved by the invention]

[0004] The first conventional technology is a highly convenient system in that transaction information such as the payment amount and the payment account of the product or service provider is displayed on a printed two-dimensional code, which the recipient photographs using the camera function of a portable information device and sends together with their own payment source information as payment request information to complete the payment. However, when this system is applied to an automated service machine, there is a risk that the payment destination information in the printed two-dimensional code may be rewritten with different payment destination information and then installed, making it difficult to adopt at once. The second conventional technology is based on a system in which payment requests from user terminals are collectively processed by the management company server, and a two-dimensional code including at least a company ID that identifies the company itself and the billing amount is created and displayed on the display of the company terminal, which improves security against tampering of the two-dimensional code compared to the first conventional technology. Furthermore, the two-dimensional code is read by the user's mobile terminal, decoded, and the billing amount is displayed on the display of the user's mobile terminal, and the user confirms the amount and responds to the company terminal via the management company server that he or she has approved it, which has the advantage that the transaction history can be confirmed between the company and the user. However, the management company server must process all users connected via the public communication line at that time. If the management company server is not configured to handle all users, the response speed will decrease and users will become dissatisfied. For example, a large-scale game center operating company may own more than 10 game centers with more than 1,000 game machines installed, and must build a management system that can simultaneously handle more than 10,000 machines using public communication lines, which creates the problem of huge equipment and operating costs for high-speed, large-capacity servers. In particular, in order to prevent unauthorized access, it is common for the operating company's server to perform timeout management to limit the connection time of the same person, but performing multiple timeout management at the same time places a burden on the operating company's server, making it unavoidable to install high-speed, large-capacity servers. If the server is not high-speed and large-capacity, there is a concern that timeout management will not be performed properly, making it possible to access for long periods of time, and safety cannot be guaranteed. The third prior art is a highly secure electronic payment system that uses checkout tokens. However, because the third prior art is a system that processes multiple mobile devices using a single transaction management system, there are concerns about the same problems as with the first prior art.

[0005] A first object of the present invention is to provide an electronic payment method for an automated service device which is highly secure and can be constructed inexpensively. A second object of the present invention is to provide an electronic payment system for automated service equipment that is highly secure and can be constructed inexpensively. [Means for solving the problem]

[0006] The store server of the automated service machine of the present invention inputs a result of electronic payment from a communicatively connected settlement server, and outputs information based on the result to an automated service machine that provides an article or service based on the receipt of a fee, which is communicatively connected, and a plurality of the automated service machines are communicatively connected to the store server. When a request for electronic payment is input from an automated service machine, the store server inputs settlement processing request information including automatic machine identification information and fee information that identifies the automated service machine in addition to the request for electronic payment, generates a transaction number that identifies the transaction to be settled based on the input, and stores the settlement processing request information in association with the transaction number. The settlement server When outputting a request for electronic payment to the payment server, store payment request information including the transaction number and the fee information is output in addition to the request for electronic payment, and when inputting the result from the payment server, the transaction number is input in addition to payment result information, and charging command information for operating the automated service machine identified by the corresponding automated service machine identification information based on the payment processing request information associated with the same transaction number as the input transaction number from among the stored transaction numbers and the payment processing request information associated therewith is output, and the electronic payment request and information based on the result corresponding to the request are mediated between a plurality of the automated service machines and the payment server. Another aspect of the invention for achieving the object is described below. An electronic payment system for automated service machines according to another aspect of the invention includes an automated service machine that provides goods or services based on the receipt of a fee, and a store server to which a plurality of the automated service machines are communicatively connected and which is communicatively connected to a payment server that settles the fee, the automated service machine has an imaging device and a communication means for communicating with the store server, the automated service machine captures an image of a code including payment permission information indicating that payment is permitted by the payment server, which is displayed on a user terminal operated by a user who receives the goods or service from the automated service machine, extracts the payment permission information, and outputs a payment request for the fee including at least the payment permission information and the fee to the payment server via the store server, the store server obtains a payment result based on the payment request from the payment server, and outputs billing command information for operating the automated service machine, which is generated based on the payment result, to the corresponding automated service machine, and the automated service machine starts operation based on the input of the billing command information. Another aspect of the present invention provides an electronic payment method for an automatic service machine having an automatic service machine that provides goods or services based on the collection of a fee, and a store server to which a plurality of the automatic service machines are communicatively connected and which is communicatively connected to a payment server that settles the fee, wherein the automatic service machine has an imaging device and a communication means for communicating with the store server, and the automatic service machine reads a code including payment permission information indicating that payment has been permitted by the payment server, the code being displayed on a user terminal operated by a user who receives the goods or service from the automatic service machine, and The method includes the steps of: capturing an image using the imaging device; extracting the payment authorization information from the code by the automated service equipment; outputting a payment request for a fee including at least the payment authorization information and the fee to the payment server via the store server by the automated service equipment; acquiring from the payment server a payment result settled based on the payment request by the store server; outputting, to a corresponding automated service equipment, billing command information for operating the automated service equipment, the billing command information being generated based on the payment result; and starting operation of the automated service equipment based on the input of the billing command information.

[0007] Other aspects of the invention for achieving the above object are described below. In order to achieve this object, a first aspect of the present invention is configured as follows. The electronic payment method for an automatic service machine includes at least an automatic service machine control device for the automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal with an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the store server and then to the payment server via the payment gateway server, electronically paying the price for the automatic service machine from a payer to a payee, and provides a specified product or service at the automatic service machine based on the electronic payment, wherein the store server generates a transaction number based on receiving information related to the two-dimensional code and starts timing a timeout period, and executes a timeout process if payment result information related to the same transaction number as the transaction number received from the payment server via the payment gateway server is not received within the timeout period. The second aspect of the present invention is configured as follows. The electronic payment method for an automatic service machine includes at least an automatic service machine control device for the automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal with an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the store server and then to the payment server via the payment gateway server, electronically paying the price for the automatic service machine from a payer to a payee, and provides a specified product or service at the automatic service machine based on the electronic payment, wherein the store server generates a transaction number in relation to receiving information related to the two-dimensional code and starts timing a timeout period, and executes a timeout process if the payment result information related to the same transaction number as the transaction number received from the payment server via the payment gateway server is not received within the timeout period.

[0008] The third aspect of the present invention is configured as follows. The electronic payment method for an automatic service machine includes at least an automatic service machine control device for an automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal with an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the payment server via the store server and then the payment gateway server, and electronically settles the price for the automatic service machine from a payer to a payee, and provides a predetermined product or service at the automatic service machine based on the electronic payment, wherein the automatic service machine terminal sets the imaging device to an imaging standby state based on the operation of an amount selection button, and the customer terminal issues a payment request to the payment server based on the operation of the payment request, the payment server transmits a one-time token to the user terminal based on the payment permission request information, the user terminal converts the received one-time token into the two-dimensional code and displays it on a display device, the automated service equipment terminal, when detecting the two-dimensional code in an imaging standby state, captures the code as image information, converts it into two-dimensional code related information that can be processed and transmits it to the store server, the store server generates a transaction number in connection with receiving the two-dimensional code related information and starts timing a timeout time, and executes a timeout process if the payment result information related to the same transaction number as the transaction number transmitted from the payment server via the payment gateway server is not received within the timeout time.

[0009] The fourth aspect of the present invention is configured as follows. moreover, This is an electronic payment method for automatic service equipment of the first to third aspects of the invention, characterized in that the store server transmits billing command information to the automatic service equipment terminal based on the payment result information, the automatic service equipment terminal outputs a pseudo billing signal to the automatic service equipment control device based on the billing command information, the automatic service equipment control device starts an automatic service function based on the pseudo billing signal and outputs a billing result signal to the automatic service equipment terminal, the automatic service equipment terminal transmits the billing result signal to the store server based on receiving the billing result signal, and the store server records the billing result signal in association with the transaction number.

[0010] The fifth aspect of the present invention is configured as follows. The electronic payment method for an automatic service equipment of the third aspect of another invention is characterized in that the automatic service equipment terminal validates the operation of the amount selection button based on permission information from the automatic service equipment control device.

[0011] The sixth aspect of the present invention is configured as follows. The electronic payment system for an automatic service machine includes at least an automatic service machine control device for an automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal by an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the store server and then to the payment server via the payment gateway server, electronically paying the price for the automatic service machine from a payer to a payee, and provides a specified product or service at the automatic service machine based on the electronic payment, wherein the store server generates a transaction number in relation to receiving information related to the two-dimensional code and starts timing a timeout period, and executes a timeout process if payment result information related to the same transaction number as the transaction number received from the payment server via the payment gateway server is not received within the timeout period.

[0012] The seventh aspect of the present invention is configured as follows. The electronic payment system for an automatic service machine includes at least an automatic service machine control device for an automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal by an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the store server and then to the payment server via the payment gateway server, electronically paying the price for the automatic service machine from a payer to a payee, and provides a specified product or service at the automatic service machine based on the electronic payment. The electronic payment system for an automatic service machine is characterized in that the store server generates a transaction number in connection with receiving information related to the two-dimensional code and starts timing a timeout period, and if payment result information related to the same transaction number as the transaction number received from the payment server via the payment gateway server is not received within the timeout period, the store server invalidates the processing related to the transaction number.

[0013] The eighth aspect of the present invention is configured as follows. The electronic payment system for an automatic service machine includes at least an automatic service machine control device for an automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal by an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the payment server via the store server and then the payment gateway server, and electronically settles the price for the automatic service machine from a payer to a payee, and provides a predetermined product or service at the automatic service machine based on the electronic payment, wherein the automatic service machine terminal has an amount selection button for selecting a fee for the automatic service machine, and based on the operation of the amount selection button, the imaging device goes into an imaging standby state, and based on the imaging by the imaging device, converts the image into two-dimensional code-related information that can be processed and transmits it to the store server, and the customer terminal transmits payment permission request information to the payment server based on the payment request operation, and and converting the one-time token received from the payment server into a two-dimensional code and displaying it on the display device of the user's terminal device; the payment gateway server records a transaction number based on receiving store payment request information from the store server and transmits payment GW payment request information to the payment server; and based on receiving payment result information from the payment server, records the payment result information in association with the same transaction number and transmits it to the store server; the payment server transmits the one-time token to the user's terminal device based on the payment authorization request information, performs payment processing based on the received two-dimensional code related information, and then transmits payment result information to the payment gateway server; the store server generates a transaction number in association with receiving the two-dimensional code related information, starts timing a timeout time, and transmits store payment request information to the payment gateway server; and if payment result information associated with the same transaction number as the recorded transaction number is not received from the payment gateway server within the timeout time,The electronic payment system for automated service machines is characterized in that the payment processing related to the transaction number is invalidated.

[0014] The ninth aspect of the present invention is configured as follows. moreover, The store server transmits billing command information to the automatic service equipment terminal based on the payment result information, the automatic service equipment terminal outputs a pseudo-billing signal to the automatic service equipment control device based on the billing command information, the automatic service equipment control device starts an automatic service function based on the pseudo-billing signal and outputs a billing result signal to the automatic service equipment terminal, the automatic service equipment terminal transmits the billing result signal to the store server based on receiving the billing result signal, and the store server records the billing result signal in association with the transaction number. This is an electronic payment system for automatic service equipment of other inventions 6 to 8.

[0015] A tenth aspect of the present invention is configured as follows. The automatic service equipment terminal is an electronic payment system for automatic service equipment of another aspect of the invention, characterized in that it enables operation of the amount selection button based on permission information from the automatic service equipment control device.

[0016] The eleventh aspect of the present invention is configured as follows. An electronic payment method for an automatic service machine, comprising at least an automatic service machine control device for an automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, acquiring a two-dimensional code displayed on the automatic service machine terminal by an imaging device attached to the customer terminal, making a payment request to the payment server based on the acquired two-dimensional code, electronically paying the price for the automatic service machine from a payer to a payee, and providing a predetermined product or service at the automatic service machine based on the electronic payment, wherein the store server receives information regarding the payment request from the automatic service machine terminal. and generating a transaction number associated with the transaction and transmitting it to the payment gateway server, and if the payment GW payment request information including the transaction number transmitted through the payment gateway server has valid authority, the payment server transmits payment authorization information to the store server associated with the transaction number via the payment gateway server, and the store server starts timing a timeout period based on the payment authorization information (SAI), and executes a timeout process if it does not receive payment result information associated with the same transaction number as the transaction number transmitted through the payment gateway server from the payment server within the timeout period.

[0017] A twelfth aspect of the present invention is configured as follows. An electronic payment system for an automatic service machine including at least an automatic service machine control device for an automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, which acquires a two-dimensional code displayed on the automatic service machine terminal by an imaging device attached to the customer terminal, makes a payment request to the payment server based on the acquired two-dimensional code, electronically pays for the automatic service machine from a payer to a payee, and provides a predetermined product or service at the automatic service machine based on the electronic payment, wherein the store server receives information regarding the payment request from the automatic service machine terminal. and generating a transaction number associated with the transaction and transmitting it to the payment gateway server, and if the payment GW payment request information including the transaction number transmitted through the payment gateway server has valid authority, the payment server transmits payment authorization information to the store server associated with the transaction number via the payment gateway server, and the store server starts timing a timeout period based on the payment authorization information (SAI), and executes a timeout process if it does not receive payment result information associated with the same transaction number as the transaction number transmitted through the payment gateway server from the payment server within the timeout period. An electronic payment system according to a thirteenth aspect of another invention provides an electronic payment system comprising: an automated service machine for providing an article or a service; a currency identification device for outputting a charging signal for operating the automated service machine in response to the deposit of currency; a first system having an automated service machine control means for controlling the automated service machine in response to input of the charging signal output from the currency identification device, and providing the article or the service in response to the deposit of currency as payment; and a second system having a communication device for communicating with an external device, acquiring via the communication device a result of electronic payment of the payment executed by a payment server connected to a network, and outputting the charging signal for operating the automated service machine in response to the acquired result, and outputting the charging signal to the first system when the payment has been electronically paid, to operate the automated service machine, wherein the automated service machine terminal performs electronic payment of the payment. and inputting the result of the electronic payment of the price made by the payment server based on a request for electronic payment of the price corresponding to a transaction that has been previously authorized to be electronically paid by the payment server based on a permission request, and if the price has been electronically paid, the automated service machine terminal outputs the charging signal to the automated service machine, and the automated service machine provides the item or service, and if the price has not been electronically paid, the automated service machine terminal does not output the charging signal to the automated service machine, and the automated service machine does not provide the item or service, and even if the price has not been electronically paid, if the price has been deposited in currency, the currency identification device outputs the charging signal to the automated service machine, and the automated service machine provides the item or service, and the automated service machine terminal is attached to the automated service machine in correspondence with the currency identification device. In addition, an electronic payment method according to a fourteenth aspect of the present invention is an electronic payment method comprising: an automatic service machine for providing an article or a service; a currency identification device for outputting a charging signal for operating the automatic service machine in response to the deposit of currency; a first system having an automatic service machine control means for controlling the automatic service machine in response to input of the charging signal output from the currency identification device, and providing the article or the service in response to the deposit of currency as payment; and an automatic service machine terminal having a communication device for communicating with an external device, obtaining via the communication device a result of electronic payment of the price executed by a payment server connected to a network, and outputting the charging signal for operating the automatic service machine in response to the obtained result, and a second system outputting the charging signal to the first system when the price has been electronically paid, to operate the automatic service machine, wherein the automatic service machine terminal, based on a request for electronic payment of the price corresponding to a transaction that has been permitted to be electronically paid in advance by the payment server based on a permission request for electronic payment of the price, a step of inputting the result of the electronic payment of the price performed by the payment server based on the bill, a step of the automated service machine outputting the charging signal if the price has been electronically paid, and a step of not outputting the charging signal to the automated service machine if the price has not been electronically paid, wherein the automated service machine has a step of providing the item or service if the charging signal is input from the automated service machine terminal, a step of not providing the item or service if the charging signal is not input from the automated service machine terminal, a step of providing the item or service if the charging signal is input from the currency identification device, and a step of not providing the item or service if the charging signal is not input from the currency identification device, wherein even if the price is not electronically paid, if the price is deposited in currency, the automated service machine provides the item or service, and the automated service machine terminal is attached to the automated service machine in correspondence with the currency identification device. In a fifteenth aspect of another invention, an automatic service machine terminal for an electronic payment system includes an automatic service machine for providing an article or a service, a currency identification device for outputting a charging signal for operating the automatic service machine in response to the deposit of currency, and automatic service machine control means for controlling the automatic service machine in response to input of the charging signal output from the currency identification device, a first system for providing the article or the service in response to the deposit of currency as payment, and an automatic service machine terminal having a communication device for communicating with an external device, acquiring a result of electronic payment of the payment executed by a payment server connected to a network via the communication device and outputting the charging signal for operating the automatic service machine in response to the acquired result, and a second system for outputting the charging signal to the first system when the payment has been electronically paid, and the automatic service machine terminal operates the automatic service machine in response to a request for permission to electronically pay the payment. a billing signal for operating the automated service machine and providing the item or service from the automated service machine if the payment has not been electronically paid, and if the payment has not been electronically paid, the billing signal for operating the automated service machine is not output and the item or service is not provided from the automated service machine; and even if the payment has not been electronically paid, if the payment has been deposited in currency, the automated service machine terminal does not output the billing signal for operating the automated service machine, and the currency identification device outputs the billing signal for operating the automated service machine and provides the item or service from the automated service machine, and the automated service machine terminal is attached to the automated service machine in correspondence with the currency identification device. In addition, an electronic payment system according to a sixteenth aspect of the present invention is an electronic payment system comprising: an automated service machine for providing an article or a service; a currency identification device for outputting a charging signal for operating the automated service machine in response to the deposit of currency; an automated service machine control means for controlling the automated service machine in response to input of the charging signal output from the currency identification device, a first system for providing the article or the service in response to the deposit of currency as payment; and an automated service machine terminal having a communication device for communicating with an external device, acquiring a result of electronic payment of the price executed by a payment server connected to a network via the communication device and outputting the charging signal for operating the automated service machine in response to the acquired result, and a second system for outputting the charging signal to the first system when the price has been electronically paid, to operate the automated service machine, wherein the automated service machine terminal performs electronic payment based on a request for electronic payment of the price corresponding to a transaction that has been permitted to be electronically paid in advance by the payment server based on a permission request for electronic payment of the price. the currency identification device inputs the result of the electronic payment of the price performed by the payment server, and if the price is electronically paid, the automated service machine terminal outputs the charging signal to the automated service machine, and the automated service machine provides the item or service, and if the price is not electronically paid, the automated service machine terminal does not output the charging signal to the automated service machine, the automated service machine does not provide the item or service, and even if the price is not electronically paid, if the price is deposited in currency, the currency identification device outputs the charging signal to the automated service machine, and the automated service machine provides the item or service, and the second system has an intermediate server connected to the payment server and the automated service machine terminal, obtains the result of the electronic payment of the price from the payment server, and outputs the result of the electronic payment of the price to the automated service machine terminal, and the intermediate server receives a request for electronic payment of the price corresponding to a transaction permitted to be electronically paid by the payment server, andand storing the authorized transaction in association with an identification number that identifies the automated service equipment terminal corresponding to the authorized transaction, and outputting, to the automated service equipment terminal corresponding to the identification number of the authorized transaction, charging command information for causing the automated service equipment terminal to output the charging signal in accordance with the result of the electronic payment of the price obtained from the payment server, and the automated service equipment terminal to which the charging command information has been input outputs the charging signal. In addition, an electronic payment system according to a seventeenth aspect of the present invention is an electronic payment system comprising: an automated service machine for providing an article or a service; a currency identification device for outputting a charging signal for operating the automated service machine in response to the deposit of currency; a first system having automated service machine control means for controlling the automated service machine in response to input of the charging signal output from the currency identification device, and providing the article or the service in response to the deposit of currency as payment; and an automated service machine terminal having a communication device for communicating with an external device, obtaining a result of electronic payment of the price executed by a payment server connected to a network via the communication device and outputting the charging signal for operating the automated service machine in response to the obtained result, and a second system outputting the charging signal to the first system when the price has been electronically paid, to operate the automated service machine, wherein the automated service machine terminal is an automated service machine terminal that has previously received electronic payment permission from the payment server based on a request for permission to make electronic payment of the price. and inputting the result of the electronic payment of the fee made by the payment server based on a request for electronic payment of the fee corresponding to a transaction that has been permitted to be settled, and if the fee has been electronically settled, the automated service machine terminal outputs the charging signal to the automated service machine, and the automated service machine provides the item or service; if the fee has not been electronically settled, the automated service machine terminal does not output the charging signal to the automated service machine; the automated service machine does not provide the item or service; and even if the fee has not been electronically settled, if the fee has been deposited in currency, the currency identification device outputs the charging signal to the automated service machine, and the automated service machine provides the item or service; the automated service machine terminal has an input device and a display device, and the automated service machine terminal is attached to the automated service machine so that the input device is operable and the display device is visible from outside a housing of the automated service machine. In addition, an electronic payment system according to an eighteenth aspect of another invention is an electronic payment system comprising: a first system having an automatic service machine for providing an article or a service, a currency identification device for outputting a charging signal for operating the automatic service machine in response to the deposit of currency, and an automatic service machine control means for controlling the automatic service machine in response to input of the charging signal output from the currency identification device, and providing the article or the service in response to the deposit of currency as payment; and a second system having a communication device for communicating with an external device, acquiring via the communication device a result of electronic payment of the payment executed by a payment server connected to a network, and outputting the charging signal for operating the automatic service machine in response to the acquired result, and outputting the charging signal to the first system when the payment has been electronically paid, to operate the automatic service machine, wherein the automatic service machine terminal responds to a request for permission to electronically pay the payment by outputting the charging signal to the first system when the payment has been electronically paid. and inputting the result of the electronic payment of the fee made by the payment server based on a request for electronic payment of the fee corresponding to a transaction that has been permitted to be electronically paid in advance by the payment server based on the request, and if the fee has been electronically paid, the automated service machine terminal outputs the charging signal to the automated service machine, and the automated service machine provides the item or service, and if the fee has not been electronically paid, the automated service machine terminal does not output the charging signal to the automated service machine, and the automated service machine does not provide the item or service, and even if the fee has not been electronically paid, if the fee has been deposited in currency, the currency identification device outputs the charging signal to the automated service machine, and the automated service machine provides the item or service, and the automated service machine is provided with two or more currency identification devices, and the item or service is provided corresponding to each of the currency identification devices. and a second system having a communication device for communicating with an external device, the second system having an electronic service machine terminal that receives via the communication device a result of electronic payment of the payment executed by a payment server connected to a network and outputs the charging signal to the first system to operate the automatic service machine in accordance with the result obtained. The second system outputs the charging signal to the first system when the payment has been electronically paid, the second system being operable to electronically pay for the payment, the second system being operable to electronically pay for the payment, the second system being operable to electronically pay for the payment, the second system being operable to electronically pay for the payment, the second system being operable to electronically pay for the payment, the second system being operable to electronically pay for the payment, a payment server inputs the result of the electronic payment of the price, and if the price is electronically paid, the automated service machine terminal outputs the charging signal to the automated service machine, and the automated service machine provides the item or service; if the price is not electronically paid, the automated service machine terminal does not output the charging signal to the automated service machine; if the automated service machine does not provide the item or service and the price is not electronically paid but the price is deposited in currency, the currency identification device outputs the charging signal to the automated service machine, and the automated service machine provides the item or service; the payment server acquires the permission request from a user terminal operated by a user who receives the item or service from the automated service machine, and if electronic payment of the price is permitted, outputs payment permission information to the user terminal that permits electronic payment of the price, and the user terminal acquires the payment permission information and displays a two-dimensional code based on the payment permission information; the automated service machine terminal has an imaging device;The automated service equipment terminal reads the two-dimensional code and outputs a request for electronic payment of the fee to the payment server based on the two-dimensional code. In addition, an electronic payment system according to a twentieth aspect of another invention is an electronic payment system comprising: an automated service machine for providing an article or a service; a currency identification device for outputting a charging signal for operating the automated service machine in response to the deposit of currency; an automated service machine control means for controlling the automated service machine in response to input of the charging signal output from the currency identification device, a first system for providing the article or the service in response to the deposit of currency as payment; and an automated service machine terminal having a communication device for communicating with an external device, obtaining via the communication device a result of electronic payment of the price executed by a payment server connected to a network, and outputting the charging signal for operating the automated service machine in response to the obtained result, and a second system for outputting the charging signal to the first system when the price has been electronically paid, to operate the automated service machine, wherein the automated service machine terminal performs a pre-paid payment based on a request for electronic payment of the price corresponding to a transaction that has been permitted to be electronically paid in advance by the payment server based on a permission request for electronic payment of the price. a payment server that receives the electronic payment result of the payment, and if the payment is electronically paid, the automated service machine terminal outputs the charging signal to the automated service machine, and the automated service machine provides the item or service; if the payment is not electronically paid, the automated service machine terminal does not output the charging signal to the automated service machine; if the automated service machine does not provide the item or service and the payment is not electronically paid but the payment is deposited in currency, the currency identification device outputs the charging signal to the automated service machine, and the automated service machine provides the item or service; the payment server obtains the permission request from the automated service machine terminal operated by a recipient who receives the item or service from the automated service machine, and if electronic payment of the payment is permitted, outputs payment permission information to the automated service machine terminal that permits electronic payment of the payment; and the automated service machine terminal obtains the payment permission information and displays a two-dimensional code based on the payment permission information;The user terminal operated by the user has an imaging device, and the user terminal reads the two-dimensional code and transmits a request for electronic payment of the price to the payment server based on the two-dimensional code. Effect of the Invention

[0018] According to the electronic payment method of the present invention, it is possible to provide an electronic payment method for automated service machines that is highly secure and can be constructed inexpensively. Also, according to the electronic payment system of the present invention, it is possible to provide an electronic payment system for automated service machines that is highly secure and can be constructed inexpensively. According to a first aspect of another invention, the two-dimensional code displayed on the display device of the customer terminal is acquired by an imaging device attached to the automated service equipment terminal, and based on the acquired two-dimensional code, a payment request is made to the payment server via the store server and then the payment gateway server, and the price for the automated service equipment is electronically paid from the payer to the payee, and a specified product or service is provided at the automated service equipment based on the electronic payment. The store server generates a transaction number based on the received information related to the two-dimensional code, and starts timing for timeout management. The payment gateway server records the received store payment request information and sends payment GW payment request information including at least the transaction number to the payment server to make a payment request. The payment server performs payment processing based on the payment request, and then transmits to the payment gateway server a notice that the payment has been completed, and if the payment has not been completed, transmits to the payment gateway server payment result information indicating that the payment has not been completed. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. Based on the received payment result information, the store server determines whether the transaction identified by the same transaction number is within the timeout period, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period has elapsed, it executes a timeout process to invalidate the transaction related to that transaction number as an abnormal process. The automated service equipment terminal initiates a process for providing a predetermined product or service based on the billing instruction information. This allows the store server to generate the transaction number, simplifying the processing in the payment gateway server or payment server and not affecting the processing speed. Also, the store server performs timeout management in association with the generated transaction number, reducing the calculation processing in the payment server and ensuring reliable timeout management, thereby achieving the first object of the present invention. Another advantage is that in the field of automated service equipment, it is possible to achieve the cashless system that does not use paper money or coins, as recommended by the government.

[0019] According to a second aspect of the invention, the two-dimensional code displayed on the display device of the customer terminal is acquired by an imaging device attached to the automated service equipment terminal, and based on the acquired two-dimensional code, a payment request is made to the payment server via the store server and then the payment gateway server, and the price for the automated service equipment is electronically paid from the payer to the payee, and a specified product or service is provided at the automated service equipment based on the electronic payment. The user operates the user terminal to transmit payment authorization request information to the payment server. If the payment authorization request information satisfies a predetermined requirement, the payment server transmits the payment authorization information to the user terminal. The user terminal converts the payment permission information and the information necessary for payment into a two-dimensional code and displays it on the display device of the user terminal. The user holds the two-dimensional code displayed on the display device of the user terminal over the imaging device of the automated service equipment terminal. An imaging device in the automated service equipment terminal captures an image of the two-dimensional code, converts it into information that can be processed, and transmits the resultant payment processing request information to the store server. The store server generates a transaction number and starts timing for timeout management, and further sends payment processing request information associated with the transaction number to the payment gateway server as store payment request information (which may include store server identification information). The payment gateway server records the received store payment request information and sends payment GW transaction request information including at least the transaction number (which may include payment gateway server identification information or affiliated store information) to the payment server to make a payment request. The payment server determines whether or not there is legitimate authority based on the payment request, and after carrying out the payment processing, transmits payment result information to the payment gateway server indicating that the payment has been completed, and if it is invalid, transmits payment result information to the payment gateway server indicating that the payment could not be made. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. Based on the received payment result information, the store server determines whether the transaction identified by the same transaction number is within the timeout period, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period has elapsed, it executes a timeout process to invalidate the transaction related to that transaction number as an abnormal process. The automated service equipment terminal initiates a process for providing a predetermined product or service based on the billing instruction information. This allows the store server to generate the transaction number, simplifying the processing on the payment gateway server or payment server and not affecting the processing speed. Also, the store server performs timeout management in association with the generated transaction number, reducing the calculation processing on the payment server and ensuring reliable timeout management, thereby achieving the first object of the present invention. Another advantage is that in the field of automated service equipment, it is possible to achieve the cashless system that does not use paper money or coins, as recommended by the government.

[0020] According to a third aspect of the present invention, the two-dimensional code displayed on the display device of the customer terminal is acquired by an imaging device attached to the automated service equipment terminal, and a payment request is made to the payment server via the store server and then the payment gateway server based on the acquired two-dimensional code, and the price for the automated service equipment is electronically paid from the payer to the payee, and a specified product or service is provided at the automated service equipment based on the electronic payment. A customer who wishes to receive a product or service from the automated service equipment operates the automated service equipment terminal and selects an amount selection button as a service request operation. In this embodiment 1, it is a touch switch for determining the service fee. Based on this service request operation, the imaging device in the automated service equipment terminal goes into an imaging standby state. The user operates the user terminal to transmit payment authorization request information to the payment server. If the login information from the user terminal satisfies certain requirements, the settlement server transmits a one-time token, which is settlement authorization information, to the user terminal. The user terminal converts the one-time token and / or information required for payment into a two-dimensional code, and displays the two-dimensional code on the user display device. The recipient holds the two-dimensional code displayed on the recipient display device over the imaging device. An imaging device in the automated service equipment terminal captures an image of the two-dimensional code, converts it into information that can be processed, and transmits the resultant payment processing request information to the store server. The store server generates a transaction number based on the payment processing request information, starts timing for timeout management, and further sends the payment processing request information associated with the transaction number to the payment gateway server as store payment request information (which may include store server identification information). The payment gateway server records the received store payment request information and sends payment GW transaction request information including at least the transaction number (which may include payment gateway server identification information or affiliated store information) to the payment server to make a payment request. Based on the payment request, the payment server determines whether the received one-time token satisfies the appropriate conditions, and if it is appropriate, performs the payment processing and then transmits payment result information to the payment gateway server indicating that the payment has been completed, and if it is inappropriate, transmits payment result information to the payment gateway server indicating that the payment could not be made. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. Based on the received payment result information, the store server determines whether the transaction identified by the same transaction number is within the timeout period, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period has elapsed, it executes a timeout process to invalidate the transaction related to that transaction number as an abnormal process. The automated service equipment terminal initiates a process for providing a predetermined product or service based on the billing instruction information. This allows the store server to generate the transaction number, simplifying the processing on the payment gateway server or payment server and not affecting the processing speed. Also, the store server performs timeout management in association with the generated transaction number, reducing the calculation processing on the payment server and ensuring reliable timeout management, thereby achieving the first object of the present invention. Another advantage is that in the field of automated service equipment, it is possible to achieve the cashless system that does not use paper money or coins, as recommended by the government.

[0021] According to a fourth aspect of the present invention, the two-dimensional code displayed on the display device of the customer terminal is acquired by an imaging device attached to the automated service equipment terminal, and based on the acquired two-dimensional code, a payment request is made to the payment server via the store server and then the payment gateway server, and the cost of the automated service equipment is electronically paid from the payer to the payee, and a specified product or service is provided at the automated service equipment based on the electronic payment. The user operates the user terminal to transmit payment authorization request information to the payment server. If the payment authorization request information satisfies a predetermined requirement, the payment server transmits a one-time token as payment authorization information to the user terminal. The user terminal converts the one-time token and information required for payment into a two-dimensional code and displays it on the user display device. The recipient holds the two-dimensional code displayed on the recipient display device over the imaging device. An imaging device in the automated service equipment terminal captures an image of the two-dimensional code, converts it into information that can be processed, and transmits the resultant payment processing request information to the store server. The store server generates a transaction number and starts timing for timeout management, and further sends payment processing request information associated with the transaction number to the payment gateway server as store payment request information (which may include store server identification information). The payment gateway server records the received store payment request information and sends payment GW transaction request information (which may include payment gateway server identification information or affiliated store information) including at least the transaction number and one-time token to the payment server to make a transaction request. Based on the transaction request, the payment server determines whether the received one-time token meets the appropriate conditions, and if it is appropriate, it performs the payment processing and then transmits payment result information to the payment gateway server indicating that the payment has been completed, and if it is incorrect, it transmits payment result information to the payment gateway server that received it indicating that the payment could not be made. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. Based on the received payment result information, the store server determines whether the transaction specified by the same transaction number is within the timeout period, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period is exceeded, it performs timeout processing such as invalidating the transaction related to the transaction number as an abnormal transaction. The automated service equipment terminal outputs a pseudo charging signal based on the charging command information. The automatic service equipment control device provides a predetermined product or service based on the pseudo charging signal. This allows the store server to generate the transaction number, simplifying the processing on the payment gateway server or payment server and not affecting the processing speed. Also, the store server performs timeout management in association with the generated transaction number, reducing the calculation processing on the payment server and ensuring reliable timeout management, thereby achieving the first object of the present invention. Another advantage is that in the field of automated service equipment, it is possible to achieve the cashless system that does not use paper money or coins, as recommended by the government.

[0022] According to the fifth aspect of the other invention, since it includes the same configuration as the second or third invention, it has an advantage that the first object can be achieved. Also, the imaging device is in a standby state based on permission information from the automatic service equipment control device. In other words, when the automatic service equipment is in an operable state, the imaging device can capture the two-dimensional code. Therefore, there is an advantage that unnecessary payment processing is not performed.

[0023] According to a sixth aspect of the present invention, the two-dimensional code displayed on the display device of the customer terminal is acquired by an imaging device attached to the automated service equipment terminal, and based on the acquired two-dimensional code, a payment request is made to the payment server via the store server and then the payment gateway server, and the price for the automated service equipment is electronically paid from the payer to the payee, and a specified product or service is provided at the automated service equipment based on the electronic payment. The store server generates a transaction number based on the received information related to the two-dimensional code, and starts timing for timeout management. The payment gateway server records the received store payment request information and sends payment GW payment request information including at least the transaction number to the payment server to make a payment request. The payment server performs payment processing based on the payment request, and then transmits payment result information indicating that the payment has been completed to the payment gateway server, and if the payment is not successful, transmits payment result information indicating that the payment has not been successful to the payment gateway server. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. Based on the received payment result information, the store server determines whether the transaction identified by the same transaction number is within the timeout period, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period has elapsed, it executes a timeout process to invalidate the transaction related to that transaction number as an abnormal process. The automated service equipment terminal initiates a process for providing a predetermined product or service based on the billing instruction information. This allows the store server to generate the transaction number, simplifying the processing at the payment gateway server or payment server and not affecting the processing speed. Also, the store server performs timeout management in association with the generated transaction number, reducing the calculation processing at the payment server and ensuring reliable timeout management, thereby achieving the second object of the present invention. Another advantage is that in the field of automated service equipment, it is possible to achieve the cashless system that does not use paper money or coins, as recommended by the government.

[0024] According to a seventh aspect of the present invention, a two-dimensional code displayed on a display device of a customer terminal is acquired by an imaging device attached to the automated service equipment terminal, and a payment request is made to a payment server via a payment gateway server and then a store server based on the acquired two-dimensional code, and the price for the automated service equipment is electronically paid from the payer to the payee, and a specified product or service is provided at the automated service equipment based on the electronic payment. A customer who wishes to receive a product or service from the automated service equipment operates the automated service equipment terminal to make a service request. The service request operation is, for example, a touch switch for determining the service fee. Based on this service request operation, the imaging device in the automated service equipment terminal goes into an imaging standby state. The user operates the user terminal to transmit payment authorization request information to the payment server. If the payment authorization request information satisfies a predetermined requirement, the payment server transmits the payment authorization information to the user terminal. The user terminal converts the payment permission information and information necessary for payment into a two-dimensional code and displays it on the user display device. The recipient holds the two-dimensional code displayed on the recipient display device over the imaging device. The imaging device in the automated service equipment terminal captures an image of the two-dimensional code, then converts it into processable payment request information and transmits it to the store server. The store server generates a transaction number and starts timing for timeout management, and further transmits payment request processing information associated with the transaction number to the payment gateway server as store payment request information. The payment gateway server records the received store payment request information and sends payment GW transaction request information including at least the transaction number (which may include payment gateway server identification information or affiliated store information) to the payment server to make a payment request. The payment server performs payment processing based on the payment request, and then transmits payment result information to the payment gateway server to indicate that the payment has been completed. If the payment is invalid, the payment server transmits payment result information to the payment gateway server to indicate that the payment has not been completed. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. Based on the received payment result information, the store server determines whether the transaction identified by the same transaction number is within the timeout period, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period has elapsed, it executes a timeout process to invalidate the transaction related to that transaction number as an abnormal process. The automated service equipment terminal initiates a process for providing a predetermined product or service based on the billing instruction information. As a result, in the electronic payment system for automated service machines according to the present invention, the store server generates the transaction number, simplifying the processing in the payment gateway server or payment server and not affecting the processing speed. Also, the store server performs timeout management in association with the generated transaction number, reducing the calculation processing in the payment server and ensuring reliable timeout management, thereby achieving the second object of the present invention. Another advantage is that the government's recommendation to go cashless without using paper money or coins can be achieved in the field of automated service machines.

[0025] According to an eighth aspect of the other invention, a two-dimensional code displayed on a display device of a customer terminal is acquired by an imaging device attached to the automated service equipment terminal, and a payment request is made to a payment server via a payment gateway server and then a store server based on the acquired two-dimensional code, and the price for the automated service equipment is electronically paid from the payer to the payee, and a specified product or service is provided at the automated service equipment based on the electronic payment. A customer who wishes to receive a product or service from the automated service equipment operates the automated service equipment terminal to perform a service request operation. The service request operation is, for example, a touch switch for determining the service fee. Based on this service request operation, the imaging device in the automated service equipment terminal goes into an imaging standby state. A customer who wishes to receive a product or service from the automated service equipment operates the customer terminal to send payment permission request information to the payment server. If the payment authorization request information satisfies a predetermined requirement, the payment server transmits a one-time token, which is payment authorization information, to the user terminal. The user terminal converts at least the one-time token into a two-dimensional code and displays it on the user display device. The user holds the two-dimensional code displayed on the display device of the user terminal over the imaging device. The imaging device in the automated service equipment terminal captures the two-dimensional code, converts it into processable payment processing request information, and transmits it to the store server. The store server generates a transaction number based on the receipt of the payment processing request information, starts timing for timeout management, and further transmits the payment processing request information associated with the transaction number to the payment gateway server as store payment request information (which may include store server identification information). The payment gateway server records the received store payment request information and sends payment GW payment request information including at least the transaction number (which may include payment gateway server identification information or affiliated store information) to the payment server to make a payment request. The payment server determines whether the received one-time token satisfies proper conditions based on the payment request, and if it does, performs the payment processing and then transmits payment result information to the payment gateway server indicating that the payment has been completed, and if the payment processing cannot be completed, transmits payment result information to the payment gateway server indicating that the payment has not been completed. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. Based on the received payment result information, the store server determines whether the transaction identified by the same transaction number is within the timeout period, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period has elapsed, it executes a timeout process to invalidate the transaction related to that transaction number as an abnormal process. The automated service equipment terminal initiates a process for providing a predetermined product or service based on the billing instruction information. As a result, in the electronic payment system for automated service machines according to the eighth aspect of the other invention, the store server generates the transaction number, simplifying the processing in the payment gateway server or the payment server and not affecting the processing speed. Also, the store server performs timeout management in association with the generated transaction number, reducing the calculation processing in the payment server and enabling reliable timeout management, thereby achieving the second object of the present invention. Another advantage is that the government's recommendation to go cashless without using paper money or coins can be achieved in the field of automated service machines.

[0026] According to a ninth aspect of the present invention, a two-dimensional code displayed on a display device of a customer terminal is acquired by an imaging device attached to the automated service equipment terminal, and a payment request is made to a payment server via a payment gateway server and then a store server based on the acquired two-dimensional code, and the price for the automated service equipment is electronically paid from the payer to the payee, and a specified product or service is provided at the automated service equipment based on the electronic payment. A customer who wishes to receive a product or service from the automated service equipment operates the automated service equipment terminal and selects an amount selection button as a service request operation. Based on this service request operation, the imaging device in the automated service equipment terminal goes into an imaging standby state. The user operates the user terminal to transmit payment authorization request information to the payment server. If the payment authorization request information satisfies a predetermined requirement, the payment server transmits a one-time token as payment authorization information to the user terminal. The user terminal converts the one-time token and information necessary for payment into a two-dimensional code, and displays it on the display device of the user terminal. The user holds the two-dimensional code displayed on the user display device over the imaging device. The imaging device in the automated service equipment terminal captures an image of the two-dimensional code, then converts it into processable payment request information and transmits it to the store server. The store server generates a transaction number and starts timing for timeout management, and further sends payment request processing information associated with the transaction number to the payment gateway server as store payment request information (which may include store server identification information). The payment gateway server records the received store payment request information and sends payment GW transaction request information including at least the transaction number (which may include payment gateway server identification information or affiliated store information) to the payment server to make a transaction request. Based on the transaction request, the payment server determines whether the received one-time token meets the appropriate conditions, and if it is appropriate, performs the payment processing and then transmits payment result information to the payment gateway server indicating that the payment has been completed, and if it is inappropriate, transmits payment result information to the payment gateway server indicating that the payment could not be made. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. The store server determines whether the transaction specified by the same transaction number is within the timeout period based on the received payment result information, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period has elapsed, it performs a timeout process to invalidate the transaction related to that transaction number as it is an abnormal process. The automated service equipment terminal outputs a pseudo charging signal based on the charging command information. The automatic service equipment control device provides a predetermined product or service based on the pseudo charging signal. As a result, in the electronic payment system for automated service machines according to the ninth aspect of the other invention, the store server generates the transaction number, so processing in the payment gateway server or payment server is simplified and there is no impact on processing speed. Also, the store server performs timeout management in association with the generated transaction number, so the calculation processing in the payment server is reduced and timeout management can be performed reliably, thereby achieving the second object of the present invention. Another advantage is that in the field of automated service machines, the government's recommendation of going cashless without using paper money or coins can be achieved.

[0027] According to the tenth aspect of the other invention, the basic configuration is the same as the eighth or ninth invention, so that the second object of the present invention can be achieved. Furthermore, in the tenth invention, the imaging device is in an imaging standby state based on permission information from the automatic service equipment control device. In other words, when the automatic service equipment is in an operable state, the imaging device can capture the two-dimensional code. Therefore, there is an advantage that unnecessary payment processing is not performed.

[0028] According to an eleventh aspect of the present invention, the store server generates a transaction number in connection with receiving information relating to a payment request from an automated service equipment terminal and transmits the transaction number to the payment gateway server. The payment gateway server records the store payment request information including the received transaction number, and transmits at least the payment GW payment request information including the transaction number to the payment server to make a payment request. If the payment gateway server determines that the payment request information including the transaction number from the payment gateway server has valid authority, the payment server transmits payment authorization information to the store server associated with the transaction number via the payment gateway server. The store server starts timing for time-out management based on the payment authorization information, and then transmits at least the transaction number to the automated service equipment terminal. The automated service equipment terminal converts the received information, including the transaction number, into a two-dimensional code and displays it on a display device. The two-dimensional code displayed on the display device of the automated service equipment terminal is acquired by the imaging device attached to the user terminal, and a payment request is made to the payment server based on the acquired two-dimensional code. The payment server performs electronic payment of the price for the automated service machine from the payer to the payee based on the payment request, and then transmits a notice of completion of payment to the payment gateway server, and if the payment is not successful, transmits payment result information to the payment gateway server to that effect. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. Based on the received payment result information, the store server determines whether the transaction identified by the same transaction number is within the timeout period, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period has elapsed, it executes a timeout process to invalidate the transaction related to that transaction number as an abnormal process. The automated service equipment terminal performs processing for providing a predetermined product or service based on the billing command information. This allows the store server to generate the transaction number, simplifying the processing in the payment gateway server or payment server and not affecting the processing speed. Also, the store server performs timeout management in association with the generated transaction number, reducing the calculation processing in the payment server and ensuring reliable timeout management, thereby achieving the first object of the present invention. Another advantage is that in the field of automated service equipment, it is possible to achieve the cashless system that does not use paper money or coins, as recommended by the government.

[0029] According to a twelfth aspect of the present invention, the store server generates a transaction number in connection with receiving information relating to a payment request from an automated service equipment terminal and transmits the transaction number to the payment gateway server. The payment gateway server records the store payment request information including the received transaction number, and transmits at least the payment GW payment request information including the transaction number to the payment server to make a payment request. If the payment gateway server determines that the payment request information including the transaction number from the payment gateway server has valid authority, the payment server transmits payment authorization information to the store server associated with the transaction number via the payment gateway server. The store server starts timing for time-out management based on the payment authorization information, and then transmits at least the transaction number to the automated service equipment terminal. The automated service equipment terminal converts the received information, including the transaction number, into a two-dimensional code and displays it on a display device. The two-dimensional code displayed on the display device of the automated service equipment terminal is acquired by the imaging device attached to the user terminal, and a payment request is made to the payment server based on the acquired two-dimensional code. The payment server performs electronic payment of the price for the automated service machine from the payer to the payee based on the payment request, and then transmits a notice of completion of payment to the payment gateway server, and if the payment is not successful, transmits payment result information to the payment gateway server to that effect. The payment gateway server records the payment result information in association with the corresponding transaction number, and transmits the payment result information to the store server. Based on the received payment result information, the store server determines whether the transaction identified by the same transaction number is within the timeout period, and if it is within the timeout period, it assumes that the transaction is a proper transaction and sends billing command information to the automated service equipment terminal.If the timeout period has elapsed, it executes a timeout process to invalidate the transaction related to that transaction number as an abnormal process. The automated service equipment terminal performs processing for providing a predetermined product or service based on the billing command information. This allows the store server to generate the transaction number, simplifying the processing in the payment gateway server or payment server and not affecting the processing speed. Also, the store server performs timeout management in association with the generated transaction number, reducing the calculation processing in the payment server and ensuring reliable timeout management, thereby achieving the second object of the present invention. Another advantage is that in the field of automated service equipment, it is possible to achieve the cashless system that does not use paper money or coins, as recommended by the government. [Brief description of the drawings]

[0030] [Figure 1] FIG. 1 is a schematic diagram of an electronic payment system for an automated service device according to a first embodiment of the present invention. [Diagram 2]FIG. 2 is a connection diagram of the equipment terminal, the store server, and the payment gateway server of the electronic payment system for the automated service equipment of the first embodiment of the present invention. [Diagram 3] FIG. 3 is an overall block diagram of an electronic payment system for an automated service device according to the first embodiment of the present invention. [Figure 4] FIG. 4 is a diagram showing the installation correspondence between a currency identification device and an equipment terminal in a game machine as an automatic service device of the first embodiment of the present invention, in which (A) is a 1:1 configuration, (B) is a 1:2 configuration, (C) is a 1:3 configuration, and (D) is an example of an equipment terminal table. [Diagram 5] FIG. 5 is an explanatory diagram regarding the registration of device terminal identification information in a store server of an automatic service device according to the first embodiment of the present invention, where (A) is a flowchart, (B) is a menu screen, (C) is a new registration screen, and (D) is an example of a correction screen. [Figure 6] FIG. 6 shows a game machine as an automatic service device according to a first embodiment of the present invention, where (A) is an external view and (B) is a block diagram. [Figure 7] FIG. 7 is a flow chart for explaining the operation of the game machine as the automatic service device of the first embodiment according to the present invention. [Figure 8] FIG. 8 shows an automated service machine terminal of the electronic payment system for automated service machines according to the first embodiment of the present invention, where (A) is a block diagram and (B) is an example of a machine terminal table. [Figure 9] FIG. 9 is a flow chart for explaining the operation of the automated service machine terminal of the automated service machine electronic payment system according to the first embodiment of the present invention. [Figure 10] FIG. 10 shows an example of the display on the display device of an automated service equipment terminal of the electronic payment system for automated service equipment of the first embodiment of the present invention, in which (A) is an example of a selection screen for the amount selection button 152, (B) is an example of an image capture waiting screen of the same device, (C) is an example of a screen of the same device during payment processing, and (D) is an example of a payment completion screen. [Figure 11] FIG. 11 is a block diagram of a store server of the embodiment 1 of the electronic settlement device for the automatic service machine according to the first embodiment of the present invention. [Figure 12] FIG. 12 is an example of a management table managed in the store server of the embodiment 1 of the electronic settlement system for the automatic service device according to the first embodiment of the present invention. [Figure 13] FIG. 13 is a flowchart for explaining the operation of the store server of the electronic settlement system for the automated service device according to the first embodiment of the present invention. [Figure 14] FIG. 14 is a block diagram of a payment gateway server of the electronic payment system for an automated service device according to the first embodiment of the present invention. [Figure 15] FIG. 15 is an example of a payment GW table in the payment gateway server of the electronic payment system for the automated service device according to the first embodiment of the present invention. [Figure 16] FIG. 16 is a flowchart for explaining the operation of the payment gateway server of the electronic payment system for the automated service device according to the first embodiment of the present invention. [Figure 17] FIG. 17 is a block diagram of a settlement server of the electronic settlement system for an automated service device according to the first embodiment of the present invention. [Figure 18] FIG. 18 is a flowchart for explaining the operation of the settlement server of the electronic settlement system for the automated service device according to the first embodiment of the present invention. [Figure 19] FIG. 19 is an example of a payment server table in the payment server of the electronic payment system for the automated service device according to the first embodiment of the present invention. [Figure 20] FIG. 20 is an explanatory diagram of the operation of a payment application in a payment server of the electronic payment system of the automated service device of the first embodiment of the present invention, where (A) is a flowchart for explaining a download method, and (B) is an example of a payment application table. [Figure 21] FIG. 21 shows a user terminal (portable information device) of the electronic payment system of the automated service device according to the first embodiment of the present invention, where (A) is a block diagram and (B) is an example of a user terminal storage table. [Figure 22]FIG. 22 is an explanatory diagram of the operation of a customer terminal of an electronic payment system for an automated service device according to the first embodiment of the present invention, where (A) is a flowchart, (B) is a flowchart of a modified example, and (C) is an example of a payment screen in the flowchart of (B). [Diagram 23] FIG. 23 shows display screens on a customer terminal of an electronic payment system for an automated service device according to the first embodiment of the present invention, in which (A) is a payment brand selection screen, (B) is a payment permission request screen, (C) is a screen showing a two-dimensional code on a display, and (D) is an example of a transaction confirmation screen. [Figure 24] FIG. 24 is a flow chart for explaining the operation of the first embodiment of the electronic settlement system for an automated service device according to the present invention. [Diagram 25] FIG. 25 is a flowchart for explaining the operation of the second embodiment of the electronic settlement system for an automated service device according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0031] The electronic settlement system for automated service machines of the present invention comprises an automated service machine for providing an article or service, a currency identification device for outputting a charging signal for operating the automated service machine in response to the deposit of currency, and an automated service machine control means for controlling the automated service machine in response to input of the charging signal output from the currency identification device, the electronic settlement system comprising: a first system for providing the article or service in response to the deposit of currency as payment; and a second system for electronically settling the payment for the first system, the second system having an automated service machine terminal for acquiring a result of electronic settlement of the payment executed by a settlement server connected to a network, and outputting a charging signal for operating the automated service machine in response to the acquired result, and the automated service machine terminal for responding to a request for permission to make electronic settlement of the payment by and inputting a result of the electronic payment of the price made by the payment server based on a request for electronic payment of the price corresponding to a transaction that has been permitted to be electronically paid in advance by the payment server based on the request, and if the price has been electronically paid, the automated service machine terminal outputs a charging signal to the automated service machine, and if the automated service machine provides the item or service and the price has not been electronically paid, the automated service machine terminal does not output a charging signal to the automated service machine, and even if the automated service machine does not provide the item or service and the price has not been electronically paid, if the price has been deposited in currency, the currency identification device outputs a charging signal to the automated service machine and the automated service machine provides the item or service. The electronic payment method of the present invention is an electronic payment method comprising an automated service machine for providing an article or service, a currency identification device for outputting a charging signal for operating the automated service machine in response to the deposit of currency, and an automated service machine control means for controlling the automated service machine in response to input of the charging signal output from the currency identification device, a first system for providing the article or service in response to the deposit of currency as payment, and a second system for electronically paying the payment for the first system, the second system having an automated service machine terminal for acquiring a result of electronic payment of the payment executed by a payment server connected to a network, and outputting a charging signal for operating the automated service machine in response to the acquired result, the automated service machine terminal controlling the automated service machine in response to a request for permission to electronically pay the payment for the payment, the second system having an automated service machine terminal for acquiring a result of electronic payment of the payment executed by a payment server connected to a network, and outputting a charging signal for operating the automated service machine in response to the acquired result, a step of inputting a result of electronic payment of the price performed by a bar, a step of the automated service machine outputting a charging signal if the price has been electronically paid, and a step of not outputting a charging signal to the automated service machine if the price has not been electronically paid, wherein the automated service machine has a step of providing the item or service if a charging signal has been input from the automated service machine terminal, a step of not providing the item or service if a charging signal has not been input from the automated service machine terminal, a step of providing the item or service if a charging signal has been input from the currency identification device, and a step of not providing the item or service if a charging signal has not been input from the currency identification device, wherein even if the price has not been electronically paid, if the price has been deposited in currency, the automated service machine provides the item or service. The automated service machine terminal comprises an automated service machine for providing an article or service, a currency identification device for outputting a charging signal for operating the automated service machine in response to the receipt of currency, and automated service machine control means for controlling the automated service machine in response to input of the charging signal output from the currency identification device, and is an automated service machine terminal for an electronic payment system having a first system for providing the article or service in response to the receipt of currency as payment, and a second system for electronically paying the payment for the first system, the automated service machine terminal being provided in the second system and inputting a result of electronic payment of the payment made by the payment server based on a request for electronic payment of the payment corresponding to a transaction for which electronic payment has been permitted in advance by a payment server based on a request for permission to make electronic payment of the payment, It is preferable that the automatic service equipment terminal outputs a charging signal to operate the automatic service equipment depending on the result of electronic payment of the input fee, and if the fee has been electronically paid, outputs a charging signal to operate the automatic service equipment and provides the item or service by the automatic service equipment, and if the fee has not been electronically paid, does not output a charging signal to operate the automatic service equipment and does not provide the item or service from the automatic service equipment, and even if the fee has not been electronically paid, if the fee has been deposited in currency, the automatic service equipment terminal does not output a charging signal to operate the automatic service equipment, and the currency identification device outputs a charging signal to operate the automatic service equipment and provides the item or service by the automatic service equipment.

[0032] The electronic payment method for an automatic service machine of the present invention includes at least an automatic service machine control device for the automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal or the customer terminal by an imaging device of the customer terminal or the customer terminal, and based on the acquired two-dimensional code, makes a payment request to the store server and then to the payment server via the payment gateway server, electronically paying the price for the automatic service machine from a payer to a payee, and provides a specified product or service at the automatic service machine based on the electronic payment. It is preferable that the electronic payment method for an automatic service machine is characterized in that the store server generates a transaction number based on receiving information related to the two-dimensional code, starts timing a timeout time, and executes a timeout process if the payment result information related to the same transaction number as the transaction number received from the payment server via the payment gateway server is not received within the timeout time. Also, it is preferable that the electronic payment method for an automatic service machine includes at least an automatic service machine control device for the automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal with an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the store server and then to the payment server via the payment gateway server, and electronically settles the price for the automatic service machine from a payer to a payee, and provides a specified product or service at the automatic service machine based on the electronic payment, wherein the store server generates a transaction number in relation to receiving information related to the two-dimensional code and starts timing a timeout period, and executes a timeout process if the payment result information related to the same transaction number as the transaction number received from the payment server via the payment gateway server is not received within the timeout period. The present invention also provides an electronic payment method for an automatic service machine, which includes at least an automatic service machine control device for an automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and which acquires a two-dimensional code displayed on the customer terminal with an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the payment server via the store server and then the payment gateway server, and electronically settles the price for the automatic service machine from a payer to a payee, and provides a predetermined product or service at the automatic service machine based on the electronic payment, wherein the automatic service machine terminal sets the imaging device to an imaging standby state based on the operation of an amount selection button, and the customer terminal issues a payment request to the payment server based on the operation of the payment request. and the payment server transmits a one-time token to the user terminal based on the payment request information, the user terminal converts the received one-time token into the two-dimensional code and displays it on a display device, and when the automated service equipment terminal detects the two-dimensional code in an imaging standby state, it captures the two-dimensional code as image information, converts it into two-dimensional code related information that can be processed, and transmits it to the store server, and the store server generates a transaction number in connection with receiving the two-dimensional code related information and starts timing a timeout time, and if the payment result information related to the same transaction number as the transaction number transmitted from the payment server via the payment gateway server is not received within the timeout time, it executes a timeout process. The present invention further preferably relates to an electronic payment method for automatic service equipment, in which the store server transmits billing command information to the automatic service equipment terminal based on the payment result information, the automatic service equipment terminal outputs a pseudo billing signal to the automatic service equipment control device based on the billing command information, the automatic service equipment control device starts an automatic service function based on the pseudo billing signal and outputs a billing result signal to the automatic service equipment terminal, the automatic service equipment terminal transmits the billing result signal to the store server based on receiving the billing result signal, and the store server records the billing result signal in association with the transaction number. Furthermore, it is preferable that the electronic payment method for an automatic service machine is such that the automatic service machine terminal validates the operation of the amount selection button based on permission information from the automatic service machine control device. The present invention is preferably an electronic payment system for an automatic service machine, which includes at least an automatic service machine control device for an automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and which acquires a two-dimensional code displayed on the automatic service machine terminal or the customer terminal by an imaging device attached to the automatic service machine terminal or the customer terminal, and makes a payment request to the store server and then to the payment server via the payment gateway server based on the acquired two-dimensional code, electronically paying the price for the automatic service machine from a payer to a payee, and providing a specified product or service at the automatic service machine based on the electronic payment, wherein the store server generates a transaction number in relation to receiving information related to the two-dimensional code, starts timing a timeout period, and executes a timeout process if payment result information related to the same transaction number as the transaction number received from the payment server via the payment gateway server is not received within the timeout period. Further, it is preferable that the electronic payment system for an automatic service machine includes at least an automatic service machine control device for an automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal by an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the store server and then to the payment server via the payment gateway server, and based on payment result information from the payment server, electronically pays the price for the automatic service machine from the payer to the payee, and provides a specified product or service at the automatic service machine based on the electronic payment, wherein the store server generates a transaction number in connection with receiving information related to the two-dimensional code and starts timing a timeout period, and if payment result information related to the same transaction number as the transaction number received from the payment server via the payment gateway server is not received within the timeout period, the store server invalidates the processing related to the transaction number. The electronic payment system for an automatic service machine includes at least an automatic service machine control device for the automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the customer terminal by an imaging device attached to the automatic service machine terminal, and based on the acquired two-dimensional code, makes a payment request to the payment server via the store server and then the payment gateway server, and based on payment result information from the payment server, electronically settles the price for the automatic service machine from the payer to the payee, and provides a predetermined product or service at the automatic service machine based on the electronic payment, wherein the automatic service machine terminal has an amount selection button for selecting a fee for the automatic service machine, and based on the operation of the amount selection button, the imaging device goes into an imaging standby state, and based on the imaging by the imaging device, converts the image into two-dimensional code-related information that can be processed and transmits it to the store server, and the customer terminal sends a payment request to the payment server based on a payment request operation. and transmits payment processing request information to the user terminal, converts the one-time token received from the payment server into a two-dimensional code and displays it on its own user terminal display device; the payment gateway server records a transaction number based on receipt of payment request information from the store server and transmits the payment request information to the payment server, and based on receipt of payment result information from the payment server, records the payment result information in association with the same transaction number and transmits it to the store server; the payment server transmits the one-time token to the user terminal based on the payment processing request information, performs payment processing based on the received two-dimensional code related information, and transmits payment result information to the payment gateway server; the store server generates a transaction number in association with receipt of the two-dimensional code related information, starts timing a timeout period, and transmits payment request information to the payment gateway server; if payment result information associated with the same transaction number as the recorded transaction number is not received from the payment gateway server within the timeout period,It is preferable that the electronic payment system for an automated service device is characterized in that the payment processing related to the transaction number is invalidated. The electronic payment system for automatic service equipment of the present invention is preferably further configured such that the store server transmits billing command information to the automatic service equipment terminal based on the payment result information, the automatic service equipment terminal outputs a pseudo-billing signal to the automatic service equipment control device based on the billing command information, the automatic service equipment control device starts an automatic service function based on the pseudo-billing signal and outputs a billing result signal to the automatic service equipment terminal, the automatic service equipment terminal transmits the billing result signal to the store server based on receiving the billing result signal, and the store server records the billing result signal in association with the transaction number. Furthermore, in the electronic payment system for automated service equipment of the present invention, it is preferable that the automated service equipment terminal validates the operation of the amount selection button based on permission information from the automated service equipment control device. The electronic payment method for an automatic service machine according to the present invention includes at least an automatic service machine control device for the automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the automatic service machine terminal by an imaging device attached to the customer terminal, makes a payment request to the payment server based on the acquired two-dimensional code, electronically pays for the automatic service machine from a payer to a payee, and provides a predetermined product or service at the automatic service machine based on the electronic payment, wherein the store server controls the automatic service machine terminal. It is preferable that the method is characterized in that a transaction number is generated in connection with receiving information regarding a payment request from a terminal machine and transmitted to the payment gateway server, and if the payment GW payment request information including the transaction number transmitted through the payment gateway server has valid authority, the payment server transmits payment authorization information to the store server related to the transaction number via the payment gateway server, and the store server starts timing a timeout period based on the payment authorization information (SAI), and executes a timeout process if payment result information related to the same transaction number as the transaction number transmitted through the payment gateway server from the payment server is not received within the timeout period. Furthermore, the electronic payment system for an automatic service machine according to the present invention includes at least an automatic service machine control device for the automatic service machine, an automatic service machine terminal, a store server, a customer terminal, a payment gateway server, and a payment server, and acquires a two-dimensional code displayed on the automatic service machine terminal by an imaging device attached to the customer terminal, makes a payment request to the payment server based on the acquired two-dimensional code, electronically pays for the automatic service machine from a payer to a payee, and provides a predetermined product or service at the automatic service machine based on the electronic payment, and the store server controls the automatic service machine. It is preferable that a transaction number is generated in connection with receiving information related to a payment request from a terminal device and transmitted to the payment gateway server, and if the payment GW payment request information including the transaction number transmitted through the payment gateway server has valid authority, the payment server transmits payment authorization information to the store server related to the transaction number via the payment gateway server, and the store server starts timing a timeout period based on the payment authorization information (SAI), and executes a timeout process if payment result information related to the same transaction number as the transaction number transmitted through the payment gateway server from the payment server is not received within the timeout period. EXAMPLES

[0033] First, referring to FIG. 1, an overview of an electronic settlement system 104 for an automatic service device 102 according to the present invention will be described. In this embodiment 1, the automatic service device 102 is a game machine 106 installed in a facility (amusement facility, so-called game center) 100 (first facility 1001 to n-th facility 100n in FIG. 1). Specifically, a large number of game machines 1061a to 1061n are installed in the first facility 1001, a large number of game machines 1062a to 1062n are installed in the second facility 1002, and a large number of game machines 106na to 106nn are installed in the n-th facility 100n. In the following description, the game machines will be collectively referred to as the game machine 106. An automatic service device terminal 110 (hereinafter referred to as "device terminal 110") having a terminal display device 108 as a display device constituted by a liquid crystal display or the like is individually attached to each game machine 106. Although the terminal display device 108 and the device terminal 110 should be numbered individually, the same number is used for all of them for convenience of explanation. The device terminal 110 is connected to the store server 114 (first store server 1141, second store server 1142, n-th store server 114n) by a LAN (Local Area Network) using a router 112, and the store server 114 is connected to the Internet 116. A payment gateway server 118 (hereinafter referred to as "payment GW server 118") is also connected to the Internet 116. The payment GW server 118 is connected to the payment server 124 via a dedicated line 122. The payment server 124 is further connected to other payment servers 124 such as payment servers related to credit cards or banks via dedicated lines, and is constructed so that payment processing can be performed within a predetermined range. The payment server 124 according to the present invention constitutes the foundation of a payment system that executes payment via the Internet 116 using a two-dimensional code, and constitutes the platform of this payment system, commonly known as the electronic payment brand 130. A customer terminal 126 owned by a customer (a customer) who receives a product or service provided by the automated service device 102, such as a mobile information device such as a smartphone, a mobile phone, or a tablet computer, is also a constituent element.The user terminal 126 can be connected to the settlement server 124 via a public wireless communication line 128 and a communication carrier server 129 .

[0034] Next, the facility 100 will be described with reference to FIG. Taking the facility 1001 as an example, the equipment terminal 110 is installed in correspondence with the currency identification devices 1361-136n installed in the game machines 1061a-1061n, and is connected to a router 112 via a wired or wireless LAN (Local Area Network) 111. The router 112 is connected to a store server 114 by a wired or wireless communication means. Usually, the game machine 106 is configured for each cabinet, and as shown in FIG. 2 or FIG. 3, one currency identification device 1361a is installed in the game machine 1061a, and one equipment terminal 1101a is installed in correspondence with this currency identification device 1361a. However, for example, in a crane game, a single game machine housing may have multiple currency identification devices, for example, two currency identification devices 1362a and 1362b are installed in a game machine 1061b in Fig. 2 and Fig. 4(B), and the currency identification devices 1362a and 1362b are individually associated with and equipped with equipment terminals 1102a and 1102b. Also, in Fig. 2 and Fig. 4(C), three currency identification devices 136na, 136nb, and 136nc are installed in a game machine 1061n, and the equipment terminals 110na, 110nb, and 110nc are respectively associated with and equipped with. Furthermore, there may be cases where four or more currency identification devices 136 and equipment terminals 110 are installed in a single game machine 106.

[0035] Next, the game machine 106, which is an example of the automated service device 102, will be described with reference mainly to FIG. The game machine 106 is a device having the function of providing the execution of a specified game using coins C of a specified value, such as a 100 yen coin 100C, a 500 yen coin 500C, etc., and is, for example, a crane game machine, a video game machine, a medal game machine, a trading card game machine, a photo vending machine, etc.

[0036] Next, the main hardware configuration of the game machine 106 will be described mainly with reference to FIG. The gaming machine 106 broadly includes a gaming machine control device 133 which is an automatic service equipment control device 132, gaming hardware 134, a currency identification device 136, a gaming machine identification information memory device 138, an operation availability information output device 142, a fee information output device 144, a gaming machine communication device 146, an electronic payment activation device 148, and an operation signal output device 149.

[0037] The game machine control device 133 has a function of operating the game hardware 134 based on a charging signal CHS indicating receipt of a fee and a pseudo charging signal FCS to provide a game to a user of the service, and in this embodiment 1, further has a function of outputting operation availability information AVI indicating whether or not the game can be provided, and an operation signal RNS indicating that the game is in operation to the device terminal 110. The game machine control device 133 is formed of, for example, a microcomputer.

[0038] The game hardware 134 has the function of receiving a start-up signal STS from the game machine control device 133, and providing a game by activating various actuators at predetermined timing or by displaying predetermined information on the display based on the operation of operation buttons, etc. by the user.

[0039] The currency identification device 136 has a function of outputting a charging signal CHS such as a pulse signal to the game machine control device 133 when the fee set in the game machine 106 is received in currency, and a known coin selection device or the like is used.

[0040] The game machine identification information storage device 138 has a function of storing the automatic machine identification information AID individually determined for each game machine 106 and outputting it on request, and a known storage device is used. The automatic machine identification information AID is composed of numbers, letters, or a combination thereof, and is stored in advance by an administrator.

[0041] A known storage device is used for the operation possibility information output device 142, which has a function of storing and outputting the operation possibility information AVI output from the operation possibility information output device 142. For example, the operation possibility information AVI outputs game permission information POI of "1" if the game can be provided, and operation impossibility information IPI of "0" if the game cannot be provided.

[0042] The fee information output device 144 has a function of storing and outputting fee information CHI per transaction for the game machine 106, and is stored in advance by an administrator in accordance with the fee setting for the game machine 106. The fee is not limited to one type, but multiple types such as 100 yen and 500 yen can be set, and the selected amount can be used as the fee information CHI. It is preferable to set an upper limit for the fee information CHI. The upper limit is set in order to reduce damage in the event of fraudulent payment processing, and it is preferable to apply, for example, to payments of 5,000 yen or less for the automated service equipment 102 and 800 yen or less for the game machine 106.

[0043] The game machine communication device 146 has a function of exchanging information through communication with the equipment terminal 110, and a known communication device is used. This communication is performed wirelessly or via a wired connection. However, in a game center, it is preferable to adopt a wireless system to increase the degree of freedom in the layout of the game machines 106. In this embodiment 1, as described above, a wireless system via the router 112 is adopted.

[0044] When the electronic payment activation device 148 receives a pseudo charging signal FCS having the same function as the charging signal CHS based on the charging command information CHO from the equipment terminal 110, the electronic payment activation device 148 has the function of outputting an activation signal STS to activate the game hardware 134 or to start a game by the user's operation.

[0045] The operation signal output device 149 has a function of outputting an operation signal RNS when the game machine 106 is in operation. In this embodiment 1, the operation signal output device 149 outputs the operation signal RNS based on the output of the start-up signal STS. Therefore, by detecting the operation signal RNS, it can be estimated that the game machine 106 is in operation. Note that the operation signal RNS can be used as a signal having another similar function, for example, an inhibit signal (inhibit signal) that inhibits the insertion of coins into the currency identification device 136 or the acceptance of the pseudo charging signal FCS during operation, in case of outputting the inhibit signal.

[0046] Next, the operation of the game machine 106 will be described with reference to the flow chart shown in Fig. 7. First, in step AS1, the operation possibility information AVI from the operation possibility information output device 142 is discriminated, and if it is operation possibility information POI, the process proceeds to step AS2, and if it is inoperable information IPI, the process proceeds to step AS3. In step AS2, a signal "1" which is game permission information POI is output to device terminal 110, and the process proceeds to step AS4. In step AS3, the inoperable information IPI signal "0" is sent to the equipment terminal 110, and the process returns to step AS1. In step AS4, it is determined whether or not a charging signal CHS has been output from the currency identification device 136. If the charging signal CHS has been output, the process proceeds to step AS5. If the charging signal CHS has not been output, the process proceeds to step AS6. In step AS6, if the pseudo charging signal FCS from the equipment terminal 110 is determined, the process proceeds to step AS5, and if not, the process returns to step AS1. In step AS5, after the in-operation signal output device 149 outputs the in-operation signal RNS, the process proceeds to step AS7. In step AS7, the electronic payment activation device 148 outputs the activation signal STS, and then the process proceeds to step AS8. In step AS8, the game hardware 134 starts operating based on the start signal STS to start the game, and then the process returns to step AS1.

[0047] Next, the device terminal 110 will be described mainly with reference to FIG. 3 and FIG. When a transaction request operation TRO is performed, the equipment terminal 110 has a function of keeping the imaging device 150 in an imaging standby state for a predetermined time, maintaining an automatic imaging enabled state, and transmitting the captured two-dimensional code TDC and information necessary for a payment request to the store server 114. 8, the device terminal 110 in this embodiment 1 includes an imaging device 150, an amount selection button 152, a device terminal calculation device 154, a device terminal display device 156 (represented as "display device (156)" in the claims), a device terminal input device 157, a touch panel 158, a code conversion device 159, an affiliated store identification information storage device 160, a device terminal storage device 162, a device terminal identification information storage device 164, a device terminal communication device 166, a device terminal clock device 168, and a device terminal bus line 170. Note that in this embodiment 1, the device terminal 110 is configured separately from the game machine 106 which is the automatic service device 102, but it can also be configured as a part of the game machine control device 133, in other words, integrally with the game machine 106, and in this case, a configuration that exerts the same function as the device terminal 110 corresponds to the device terminal 110. In the present embodiment 1, the transaction request operation TRO is a selection operation of the amount selection button 152 provided on the device terminal 110. Specifically, the transaction request operation TRO is to press the selected amount selection button 152, but is not limited to this. For example, an operation button may be provided separately from the amount selection button 152, and the amount selection button 152 may be made to function by pressing the operation button. In the first embodiment, the payment processing request information SRI output from the device terminal 110 includes at least the one-time token 1TT, the fee information CHI, and may also include the device terminal identification information TID. As described above, in the case of a single game machine 106 in which multiple people can play games individually by operating individual operation devices, it is necessary to provide a device terminal 110 for each of the multiple operation devices, so it is preferable to use the device terminal identification information TID. However, when the game machine 106 and the device terminal 110 have a one-to-one relationship, the device terminal identification information TID can be substituted by the automatic machine identification information AID. In this case, the automatic machine identification information AID can be regarded as the device terminal identification information TID. Conversely, the automatic machine identification information AID can also be substituted by the device terminal identification information TID.

[0048] First, the imaging device 150 will be described. The imaging device 150 is in a standby state based on the transaction request operation TRO, and has a function of acquiring image information GRD of the subject, which is the QR code QRC in this embodiment 1, and is a so-called digital camera, which acquires a still image, and provides it to the code conversion device 159. In this embodiment 1, the imaging device 150 has a function of capturing an image of the two-dimensional code TDC, specifically the QR code QRC, which is the payment request code SDC displayed on the user terminal display device 176, and is composed of a known digital camera device such as a CCD (Charge Coupled Device) camera or a CMOS camera. When the imaging device 150 detects the subject, which is the QR code QRC in this embodiment 1, it automatically adjusts the focus and captures the image when it is in focus. The captured image information TPI is recorded in the device terminal storage device 162. The imaging device 150 can be provided integrally with the device terminal 110 or separately. The imaging device 150 may be in a standby state all the time, but this is disadvantageous in terms of power consumption and durability.

[0049] Next, the amount selection button 152 will be described. The amount selection button 152 has a function of selecting and determining the game fee when playing a game using electronic payment, and a function of making a transaction request to start an electronic payment transaction, in other words, a function of performing a transaction request operation TRO. Therefore, when playing a game on the game machine 106, a user who uses electronic payment must first press the amount selection button 152. In this embodiment 1, the amount selection button 152 is used to select the game amount by tapping a 100 yen button 1521 or a 500 yen button 1525 displayed on a touch panel 158 described later, and the imaging device 150 of the device terminal 110 is placed in a shooting standby state in which it can capture an image. The electronic payment brand 130, which is an electronic payment platform, is a basic system that enables payments to be made based on requests from user terminals 126 such as smartphones, and is well known as Alipay (registered trademark) and the like. In this embodiment 1, as shown in Fig. 10, a 100 yen button 1521 and a 500 yen button 1525 are set. When there are three or more types of game fees, three or more amount selection buttons 152 can be arranged, and when there is only one type of game fee, one amount selection button 152 is arranged. When there is only one amount selection button 152, this does not constitute a selection, but in the present invention, this case is also treated as a selection.

[0050] Next, the device terminal arithmetic unit 154 will be described. The device terminal calculation device 154 is composed of a calculation device, a ROM (Read Only Memory), a RAM (Random Access Memory), etc., and has the function of performing the functions of each device that constitutes the device terminal 110 while appropriately communicating with the RAM based on the program stored in the ROM.

[0051] Next, the device terminal display device 156 will be described. The device terminal display device 156 is a display device such as a liquid crystal monitor, and normally displays the amount selection buttons 152, namely the 100 yen button 1521 and the 500 yen button 1525, as mentioned above, and also has the function of displaying a guidance section GUIDE for the recipient and payment result information SEI. After the 100 yen button 1521 or the 500 yen button 1525 is tapped to select the amount, the GUIDE displays a message such as "Payment processing in progress," which means that the payment is being processed. The device terminal display device 156 is the terminal display device 108 described above.

[0052] Next, the device terminal input device 157 will be described. The device terminal input device 157 has a function of inputting necessary information into the device terminal 110. In the first embodiment, a touch screen method is used in which a panel sensor detects a position touched by a fingertip, but the present invention is not limited to this, and other devices having similar functions can be used.

[0053] Next, the touch panel 158 will be described. The touch panel 158 has a function of allowing input operations to be performed by touching with a finger a display portion displayed on the device terminal display device 156. In the first embodiment, the touch panel 158 employs a known touch panel configured by overlapping the device terminal input device 157 on the device terminal display device 156, but is not limited to this, and other devices having similar functions can be used.

[0054] Next, the code conversion device 159 will be described. The code conversion device 159 has the function of converting the QR code QRC, which is a two-dimensional code TDC acquired as image information GRD by the imaging device 150, into information that can be processed by the device terminal calculation device 154 in the device terminal 110, and outputting it, and is configured using a known program. Therefore, the information output from the code conversion device 159 is information related to the two-dimensional code TDC, and the information transmitted from the device terminal 110 is information related to the two-dimensional code.

[0055] Next, the affiliated store identification information storage device 160 will be described. The member store identification information storage device 160 has a function of storing and outputting the member store identification information MID, and a known storage device is used for it. It is preferable that the member store identification information MID is stored in advance in the member store identification information storage device 160 by an administrator and cannot be rewritten. The merchant identification information MID is identification information of the user that is given to a corporation, organization, individual, etc. when they satisfy a certain standard, and is unique identification information in the world. For example, by storing the payment destination information PEI in association with the merchant identification information MID in the payment GW server 118, the payment destination PYE can be indirectly identified, and fraudulent damage due to skimming, etc. during the communication process of electronic payment can be prevented.

[0056] Next, the device terminal memory device 162 will be described. The device terminal storage device 162 has a function of storing information to be processed in the device terminal 110 as necessary, and a known storage device is used. In the first embodiment, the device terminal table TAT stores the automated machine identification information AID, the affiliated store identification information MID, the service name information SNI, the payment gateway server identification information SGI, the fee information CHI, the operation availability information AVI, and the electronic payment brand identification information SBI (payment server identification information SID) in association with the device terminal identification information TID. The automated machine identification information AID, the affiliated store identification information MID, the service name information SNI, and the payment gateway server identification information SGI are recorded in advance by the administrator. The fee information CHI is recorded as the fee information CHI selected by the amount selection button 152. In other words, when the 100 yen button 1521 is tapped, 100 is recorded as the fee information CHI, and when the 500 yen button 1525 is tapped, 500 is recorded as the fee information CHI. The control device operability information AVI is updated every time there is a change in the operability information AVI from the operability information output device 142. The payment gateway server identification information SGI and the payment server identification information SID are, for example, URLs (Uniform Resource Locators).

[0057] Next, the device terminal identification information storage device 164 will be described. The device terminal identification information storage device 164 has a function of storing device terminal identification information TID given to each device terminal 110, and is configured by a known storage device. The device terminal identification information TID is recorded in advance by an administrator.

[0058] Next, the equipment terminal communication device 166 will be described. The equipment terminal communication device 166 has a function of communicating with the automatic service equipment 102, in this embodiment 1, the game machine control device 133 of the game machine 106, and the store server 114, and a known communication device is used. It is preferable that the equipment terminal communication device 166 communicates with the game machine communication device 146 of the game machine 106 by wire, and is connected to the store communication device 228 of the store server 114 via wireless LAN or the like.

[0059] Next, the device terminal clock device 168 will be described. The device terminal clock device 168 has a function of outputting date and time information DTI used in the device terminal 110, and a known clock device is used.

[0060] Next, the device terminal bus line 170 will be described. The device terminal bus line 170 has a function of mediating data transfer between devices constituting the device terminal 110, and a known bus line is used for this purpose.

[0061] Next, the device terminal table TAT will be described. As shown in FIG. 8(B), in this embodiment 1, the device terminal table TAT is stored in the device terminal identification information memory device 164 of the device terminal 110, and the terminal identification information TID is, for example, A-101-001, the payment GW server identification information SGI is the URL of the payment GW server 118, “http / www.asahigw.com”, for example, the affiliated store identification information MID is “1111111111”, the service name information SNI is △△ game, the fee information CHI is, for example, 100 meaning 100 yen, the operation feasibility information AVI is, for example, “1” meaning game permission information POI, and the electronic payment brand identification information SBI (payment server identification information SID) is the URL “http / www.asahisv.com”.

[0062] Next, the operation of the device terminal 110 will be described with reference to the flow chart shown in FIG. First, in step ES1, it is determined whether the operability information AVI from the operability information output device 142 indicates a state in which the game can be provided, in other words, whether the game is permitted, and if so, proceeds to step ES2, and if not, step ES1 is looped. In other words, if the operability information AVI is "1", it is possible to provide the game, so proceeds to step ES2, and if it is "0", step ES1 is looped. In step ES2, the amount selection button 152 is displayed on the device terminal display device 156, and the process proceeds to step ES3. Specifically, as shown in Fig. 10, along with the display of the 100 yen selection button 1521 and the 500 yen selection button 1525, a message to the user, such as "Please select the payment amount," is displayed in the guidance unit GUIDE. The fee information CHI is determined by selecting (tapping) either the displayed 100 yen selection button 1521 or the 500 yen selection button 1525. When there is only one amount, it is simply displayed, and the fee information CHI is set to 100 yen by tapping the amount selection button 152. In step ES3, it is determined whether the 100 yen selection button 1521 or the 500 yen selection button 1525 has been tapped (selected) by the recipient, and if so, the process proceeds to step ES4, and if not, step ES3 is looped. In other words, the fee information CHI is determined by tapping the amount selection button 152. Therefore, step ES3 is a transaction waiting state TWM, and tapping the amount selection button 152 is a transaction request operation TRO. In step ES4, the selected amount is recorded as fee information CHI in the device terminal storage device 162, the imaging device 150 is put into imaging standby mode, and a guide is displayed on the guide unit GUIDE encouraging the user to hold up the two-dimensional code TDC, and then the process proceeds to step ES5. When the imaging device 150 is in imaging standby mode, it automatically adjusts focus based on the detection of the QR code QRC and then captures an image. In step ES5, it is determined whether the QR code QRC on the user terminal display device 176 has been detected. If it has been detected, the process proceeds to step ES6. If it has not been detected, the process proceeds to step ES7. Thus, steps ES4 and ES5 constitute an image capture standby state PWM. In the image capture standby state PWM, it is preferable to actively indicate that the device is in a standby state, for example by blinking the selected amount selection button 152. In step ES7, it is determined whether a predetermined time, for example, 60 seconds, has elapsed since the imaging device 150 became capable of imaging, and if not, the process returns to step ES5, and if so, the process proceeds to step ES8. In other words, timeout management is performed by steps ES5 and ES7. If it is determined in step ES7 that the predetermined time has elapsed, the process proceeds to step ES8. In step ES8, a message indicating that a timeout has occurred is displayed on the device terminal display device 156, and the process ends. On the other hand, if the QR code QRC is held up to the imaging device 150, the QR code QRC is imaged by the imaging device 150 in step ES6, and the process proceeds to step ES9. In step ES9, the device terminal display device 156 displays "processing" and the process proceeds to step ES10. In step ES10, the QR code QRC captured by the imaging device 150 is converted by the code conversion device 159 into information that can be calculated by the calculation device, and the process proceeds to step ES11. In step ES11, information related to the QR code QRC converted from the QR code QRC is transmitted to the store server 114, and then transmitted to step ES12. In step ES12, it is determined whether or not there is charging command information CHO from the shop server 114. If so, the process proceeds to step ES13; if not, the process loops to step ES12. In step ES13, a pseudo charging signal FCS is output to the game machine control device 133, and the process proceeds to step ES14. In step ES14, if it is determined that the in-operation signal RNS is the billing result signal CRS output from the game machine control device 133, the process proceeds to step ES15, and if it is not determined, the process loops to step ES14. Note that, although the in-operation signal RNS is a signal related to the start of the game function of the game machine 106 in the present embodiment 1, a signal that is actually output while the game machine is in operation may be used. Also, since it is a signal related to the start of the game function, it may be a signal that allows the user to start the game by operating the game machine even if the game is not started. In step ES15, the charging result information CEI is recorded in the device terminal storage device 162, and then the process proceeds to step ES16. In step ES16, the charge result information CEI is sent to the store server 114, and the process ends.

[0063] Next, the store server 114 will be described mainly with reference to FIG. When the store server 114 receives payment processing request information SRI that has been converted into computable information after capturing an image of the QR code QRC on the device terminal 110 and then transmitted, it generates a transaction number TNO based on a predetermined rule and transmits store payment request information ORI together with the transaction number TNO to the payment GW server 118, when it receives payment result information SEI from the payment GW server 118, it records it in the store table SST and outputs charging command information CHO to the corresponding device terminal 110, and when it does not receive payment result information SEI from the payment GW server 118 within a predetermined time from the generation of the transaction number TNO, it has a function of invalidating the transaction request based on the payment processing request information SRI.Furthermore, it has a function of registering, deleting, or modifying identification information of the many game machines 1061 to 106n managed by the store server 114, in other words, device terminal identification information TID. In the first embodiment, the store server 114 includes at least a transaction number generation device 218, a store calculation device 222, a store storage device 224, a store display device 226, a store communication device 228, a store input device 232, a store clock device 234, a store timer device 236, and a store bus line 238. In principle, one store should have one store server 114, but in the case of a large store with many game machines 106, multiple store servers 114 can be provided, and in the case of a store with only a few game machines 106, multiple stores can be managed by one store server 114.

[0064] Next, the transaction number generating device 218 will be described. The transaction number generating device 218 has a function of generating a transaction number TNO based on a predetermined rule when it receives the payment processing request information SRI output from the device terminal 110 by tapping the amount selection button 152, and is configured by a program. This transaction number TNO is sent to the payment GW server 118 as store payment request information ORI, either alone or together with other payment processing request information SRI such as store server identification information OID and fee information CHI. The transaction number TNO can be a combination of numbers only, numbers and letters, letters only, or symbols only. The transaction number TNO in this embodiment 1 is a combination of date, time, and device terminal identification information TID as shown in the store table SST in FIG. 12, but can be configured as appropriate.

[0065] Next, the store calculation device 222 will be described. The store computing device 222 is made up of a computing device, ROM, RAM, etc., and has the function of causing each device constituting the store server 114 to function while appropriately communicating with the RAM based on a program stored in the ROM.

[0066] Next, the store storage device 224 will be described. The store storage device 224 has a function of storing necessary information in the process of communicating with the device terminal 110 and the payment GW server 118, and a known storage device is used. The store storage device 224 stores a store table SST described later. The store table SST records (stores) at least the serial number, device terminal identification information TID, electronic payment brand identification information SBI, payment GW server identification information GID, fee information CHI, transaction number generation time TGT, one-time token 1TT, billing command information CHO, payment result information SEI, and billing result information CEI and other necessary information, linked to the transaction number TNO. Each time information is received from the device terminal 110 and the payment GW server 118, various information received linked to the corresponding transaction number TNO is recorded in the store table SST. The payment GW server identification information GID is information for identifying the payment GW server 118, and is, for example, a URL. Furthermore, the store storage device 224 stores a device terminal management table TCT described later.

[0067] Next, the store display device 226 will be described. The store display device 226 has an interface function with an operator, and a known display device is used.

[0068] Next, the store communication device 228 will be described. The store communication device 228 has a function of transmitting various information between the device terminal 110 and the payment GW server 118 via the LAN 111 and the Internet 116, and a known communication device is used. Note that communication with the payment GW server 118 is not limited to the Internet 116.

[0069] Next, the store input device 232 will be described. The store input device 232 has a function for inputting information required by the store server 114, and a known keyboard is used.

[0070] Next, the management of the device terminal control table TCT performed by the store input device 232 will be described with reference mainly to FIG. First, the equipment terminal management table TCT will be described. The equipment terminal management table TCT has a function of relating the game machine 106 to the equipment terminal 110. In other words, it has a function of relating the automatic machine identification information AID, which is the game machine 106, to the equipment terminal identification information TID. Furthermore, it is directly or indirectly related to the currency identification device 136 installed in the game machine 106. By relating the game machine 106 to the equipment terminal 110, it can be used when calculating sales using the equipment terminal 110 in the game machine 106. As shown in FIG. 4(D), the equipment terminal management table TCT registers the equipment terminal identification information TID in association with the automatic machine identification information AID, which is the game machine identification information. In other words, when the game machine 106 and the device terminal 110 have a one-to-one relationship, one device terminal identification information TID is recorded for the automatic machine identification information AID, when there is a one-to-two relationship, two device terminal identification information TIDs are recorded for one automatic machine identification information AID, and when there is a one-to-three relationship, three device terminal identification information TIDs are recorded for one automatic machine identification information AID. Furthermore, it is preferable to record the affiliated store name, service name, etc. in association with the automated machine identification information AID and the device terminal identification information TID in the device terminal management table TCT.

[0071] Next, a method for registering (storing) the automatic machine identification information AID and the terminal device identification information TID will be described with reference to Fig. 5. The registration program is recorded in the store storage device 224. When the registration program is started, first in step RS1, the menu screen MNS shown in FIG. 13B is displayed on the store display device 226, a new registration button 282 and a modification button 284 are displayed, and the program proceeds to step RS2. In step RS2, if the new registration button 282 is pressed, the process proceeds to step RS3, and if the modification button 284 is pressed, the process proceeds to step RS4. In step RS3, the new registration screen NRS shown in FIG. 13C is displayed, displaying an AID input field 286 for the automatic machine identification information AID, a TID input field 288 for the device terminal identification information TID, and a registration button 292, and then the process proceeds to step RS5. If it is determined in step RS5 that the necessary information has been entered into the AID input field 286 and the TID input field 288 using the store input device 232 and that the registration button 292 has been pressed, the process proceeds to step RS6, where the new registration information is recorded in the device terminal management table TCT, and the process ends. As mentioned above, it is preferable to provide input fields for the affiliated store name, service name, etc. so that these can also be recorded. When correcting recorded information, in step RS4, the correction screen RVS shown in the same figure (D) is displayed, which displays a correction AID input field 294 for the target automatic machine identification information AID, a search button 296, a correction TID input field 298 for the device terminal identification information TID, and a correction registration button 300, and then the process proceeds to step RS7. In step RS7, if it is determined that an input has been made in the corrected AID input field 294 and the search button 296 has been pressed, the process proceeds to step RS8. In step RS8, the recorded information corresponding to the automatic machine identification information AID in the correction AID input field 294 is searched for and displayed in the correction AID input field 294 and the correction TID input field 298, and the process proceeds to step RS9. In the displayed correction screen RVS, the automatic machine identification information AID or the device terminal identification information TID is corrected. If it is determined in step RS9 that the correction registration button 300 has been pressed, the process proceeds to step RS6, where, as described above, the information is recorded in the device terminal management table TCT, and the process ends. It is also possible to delete registered information. Furthermore, it is preferable to provide columns for the affiliated store name, service name, etc. on the correction screen RVS so that these can also be corrected. As described above, in the store server 114, the equipment terminal management table TCT and the like can be registered or modified.

[0072] Next, the store clock device 234 will be described. The store clock 234 has the function of outputting date and time information DTI used in the store server 114, and may be a known clock.

[0073] Next, the store timer device 236 will be described. The store timer device 236 starts timing after receiving the payment processing request information SRI from the device terminal 110 and generating the transaction number TNO, and has a function of outputting timeout information TOI if the payment result information SEI is not received from the payment GW server 118 before the timed time has elapsed for a predetermined time. The store server 114 invalidates the processing based on the payment processing request information SRI based on the timeout information TOI, and records this in the store table SST in association with the transaction number TNO. In this embodiment 1, the store timer device 236 is constructed by software, and after the transaction number TNO is generated, timeout management is performed in association with the transaction number TNO. In other words, the store timer device 236 starts timing after the transaction number TNO is generated, and if the payment result information SEI from the payment GW server 118 related to the same transaction number TNO is received within a predetermined timeout time TOH, the payment result information SEI is valid, and if the timeout time TOH is exceeded, the timeout information TOI is output, and the processing related to the transaction number TNO is invalidated as the transaction has been canceled. This invalidation causes the store server 114 not to transmit billing command information CHO to the device terminal 110 based on the settlement process related to the transaction number TNO.

[0074] Next, the store bus line 238 will be described. The store bus line 238 has a function of carrying out communication between the devices that make up the store server 114, and is a known bus line.

[0075] Next, the store table SST stored in the store storage device 224 will be described with reference to FIG. The store table SST is a table for recording various information in association with the generated transaction number TNO, and stores required information and optional information. The store table SST records at least the serial number SNO, device terminal identification information TID, electronic payment brand identification information SBI (payment server identification information SID), payment GW server identification information GID, fee information CHI, transaction number generation time SGT, security information SCI (one-time token 1TT), billing command information CHO, payment result information SEI, and billing result information CEI in association with the transaction number TNO, and can also record date and time information TDI in the device terminal 110, store server identification information OID, and affiliated store identification information MID, etc. The store server identification information OID is, for example, a URL.

[0076] Next, the operation of the store server 114 will be described with reference to the flow chart shown in FIG. First, in step SS1, it is determined whether or not settlement processing request information SRI based on a transaction request operation TRO has been received. If settlement processing request information SRI has been received, the process proceeds to step SS2, and if not, step SS1 is looped. In step SS2, the transaction number generation device 218 automatically generates a transaction number TNO based on predetermined rules, and records the payment processing request information SRI sent from the equipment terminal 110 in association with the transaction number TNO in the store table SST, and then proceeds to step SS3. In step SS3, the store timer device 236 starts counting the timeout period TOH in association with the generated transaction number TNO based on the generated transaction number TNO, and then proceeds to step SS4. In other words, management of the timeout period TOH is started based on the generated transaction number TNO. In step SS4, store payment request information ORI (which includes at least the transaction number TNO and the one-time token 1TT, and may also include store server identification information OID, fee information CHI, payment server identification information SID, device terminal identification information TID, etc.) is sent in association with the transaction number TNO to the payment GW server 118, and then proceeds to step SS5. In step SS5, it is determined whether or not a timeout period TOH preset in the store server 114 has elapsed. In other words, if the timeout information TOI has not been output, the process proceeds to step SS6, and if the timeout information TOI has been output, the process proceeds to step SS7. In step SS6, it is determined whether or not payment result information SEI has been received from the payment GW server 118. If it has been received, the process proceeds to step SS8, and if it has not been received, the process returns to step SS5. Therefore, steps SS5 and SS6 correspond to the store timer device 236, and can be said to be in the timeout management state TMM. In step SS7, timeout information TOI indicating that payment was not made within the timeout time TOH is recorded in the shop table SST in association with the transaction number TNO, and a timeout process TOT is performed to stop processing related to the transaction number TNO, and the process is terminated. In step SS8, the payment result information SEI is recorded in the shop table SST in association with the transaction number TNO, and then the process proceeds to step SS9. In step SS9, the billing command information CHO is output to the equipment terminal 110, and the process proceeds to step SS10. In step SS10, it is determined whether or not charging result information CEI has been received from the payment GW server 118. If it has been received, the process proceeds to step SS12; if it has not been received, step SS10 is looped. In step SS11, the charging result information CEI is recorded in the shop table SST, and then the process ends.

[0077] Next, the payment GW server 118 will be described mainly with reference to FIG. When the payment GW server 118 receives store payment request information ORI (including at least the transaction number TNO and one-time token 1TT, and may include store server identification information OID, etc.) from the store server 114, it records the transaction number TNO and at least necessary information, for example, the store server identification information OID, the device terminal identification information TID, etc., in association with the transaction number TNO, and transmits payment GW payment request information GRI to the payment server 124, and when it receives payment result information SEI from the payment server 124, it has the function of storing the payment result information SEI in association with the transaction number TNO and transmitting it to the store server 114. In this embodiment 1, the payment GW server 118 includes at least a payment GW calculation device 202, a payment GW storage device 204, a payment GW display device 206, a payment GW communication device 208, a payment GW input device 212, a payment GW clock device 214, and a payment GW bus line 216.

[0078] Next, the payment GW computing device 202 will be described. The payment GW calculation device 202 is composed of a calculation device, RAM, ROM, etc., and has the function of performing the functions of each device that constitutes the payment GW server 118 while communicating with the RAM as appropriate based on a program stored in the ROM.

[0079] Next, the payment GW storage device 204 will be described. The payment GW storage device 204 has a function of storing information required in the process of communicating with the store server 114 or the payment server 124, and a known storage device is used. The payment GW storage device 204 stores at least a payment GW table SGT, which will be described later.

[0080] Next, the payment gateway display device 206 will be described. The payment GW display device 206 has an interface function with an operator, and a known display device is used.

[0081] Next, the payment GW communication device 208 will be described. The payment GW communication device 208 has the function of communicating with the store server 114 via the Internet 116 and communicating with the payment server 124 via the dedicated line 122, and a known communication device is used.

[0082] Next, the payment gateway input device 212 will be described. The payment GW input device 212 functions to input necessary information in the payment GW computing device 202, and a known keyboard is used.

[0083] Next, the payment gateway clock device 214 will be described. The payment GW clock device 214 has the function of outputting date and time information DTI used in the payment GW server 118, and a known clock device is used.

[0084] Next, the settlement GW bus line 216 will be described. The payment GW bus line 216 has a function of performing communication between the devices that make up the payment GW server 118, and is a known bus line.

[0085] Next, the payment GW table SGT stored in the payment GW storage device 204 will be described with reference to FIG. The payment GW table SGT shown in Fig. 15 appropriately stores information during the process of communication between the store server 114 and the payment server 124, and is stored for a predetermined period of time. The payment GW table SGT is linked to the transaction number TNO and stores the serial number SNO, device terminal identification information TID, electronic payment brand identification information SBI (payment server identification information SID), fee information CHI, transaction number generation time SGT, store server identification information OID, one-time token 1TT, payment result information SEI, and other necessary information contained in the store payment request information ORI sent from the store server 114.

[0086] Next, the operation of the payment GW server 118 will be described with reference to the flowchart shown in FIG. First, in step GS1, it is determined whether store payment request information ORI, specifically, at least the transaction number TNO, one-time token 1TT, and in this embodiment 1, store server identification information OID, electronic payment brand identification information SBI (payment server SID), fee information CHI, etc. have been received from the store server 114. If received, the process proceeds to step GS2; if not, step GS1 is looped. In step GS2, at least the one-time token 1TT, store server identification information OID, device terminal identification information TID, fee information CHI, payment server identification information SID, and other necessary information are recorded in the payment GW table SGT, linked to the transaction number TNO, and the process proceeds to step GS3. In step GS3, at least the transaction number TNO, the one-time token 1TT, and in this embodiment 1, further the device terminal identification information TID, the payment GW server identification information SGI, the fee information CHI and other necessary transaction information are sent to the payment server 124 identified by the payment server identification information SID included in the store payment request information ORI, and then the process proceeds to step GS4. In step GS4, it is determined whether or not payment result information SEI has been received from the payment server 124. If it has been received, the process proceeds to step GS5, and if it has not been received, step GS4 is looped. Therefore, step GS4 can be said to be a payment result waiting state. In step GS5, the payment result information SEI is recorded in association with the same transaction number TNO in the payment GW table SGT, and then the process proceeds to step GS6. In step GS6, the payment result information SEI is sent to the store server 114 identified by the store server identification information OID linked to the same transaction number TNO, and the process ends. The payment result information SEI records "Compleat" if the payment process is completed, "failure" if the payment process is unsuccessful, "Waiting" if waiting, and "Not yet" before receiving the payment result information SEI.

[0087] Next, the settlement server 124 will be described mainly with reference to FIG. When the payment server 124 receives payment GW payment request information GRI (at least the transaction number TNO, one-time token 1TT, or device terminal identification information TID, transaction number TNO, and payment GW server identification information GID, or fee information CHI, etc.) as payment processing request information from the payment GW server 118, the payment server 124 has a function of determining whether or not a predetermined payment requirement is met, and outputting payment result information SEI to the recipient terminal 126 and the payment GW server 118. That is, if the payment requirement is met, the payment server 124 executes the payment processing SET and transmits payment completion information SFI to the payment GW server 118, and if the payment requirement is not met, the payment server 124 does not execute the payment processing SET and transmits payment failure information SUI to the payment GW server 118 that received the payment request. In other words, the payment server 124 constitutes the electronic payment brand 130. Therefore, a payment server 124 is installed for each electronic payment brand 130. In this embodiment 1, if the one-time token 1TT (security information SCI) is a one-time token 1TT sent by itself, and if the time requirement from the transmission of the one-time token 1TT to the current reception meets a predetermined condition, it is recognized as a payment request based on legitimate authority, and if the predetermined condition is not met, it is processed as an illegal payment request, and if the one-time token 1TT does not meet the predetermined condition, it is also processed as an illegal payment request. The one-time token 1TT may be, for example, a credit card number or a private key in an encryption key. Therefore, the one-time token 1TT is security information SCI. The payment processing SET is a process of transferring funds from a payment source PYS (payment source information PAI) such as a bank account registered by the recipient when signing a contract with the electronic payment brand 130 to a payment destination PYE (payment destination information PEI) such as a bank account of a game center operator that is a service or product provider, and the payment processing SET is considered to be completed by the completion of the fund transfer processing. In other words, in electronic settlement, it means that the processing required for the transfer of funds has been completed, regardless of whether the funds have actually been transferred.In this embodiment 1, the payment server 124 is a computer, and includes at least a payment server calculation device 242, a payment server storage device 244, a payment server display device 246, a payment server communication device 248, a payment server clock device 250, a payment server input device 252, and a payment server bus line 258. It is preferable that the payment server 124 also performs a timeout process if a payment request is not made within a predetermined time period after sending security information SCI to the payment GW server 118. In other words, in the case of a timeout, it is preferable to interrupt the process for the same transaction number TNO in the payment server 124.

[0088] Next, the settlement server computing device 242 will be described. The settlement server calculation device 242 is composed of a calculation device, a ROM, a RAM, etc., and has the function of performing the functions of each device constituting the settlement server 124 while appropriately communicating with the RAM based on the program stored in the ROM.

[0089] Next, the settlement server storage device 244 will be described. The payment server storage device 244 has a function of storing information required for processing while communicating with the payment GW server 118 and the user terminal 126, and may be a known storage device. As will be described later, a payment server table SVT and a payment application table SAT are recorded in the payment server storage device 244.

[0090] Next, the settlement server table SVT will be described with reference to FIG. The payment server table SVT records the payment processing SET and information required for verifying the payment processing SET, linked to the transaction number TNO. For example, the one-time token 1TT (security information SCI), serial number SNO, device terminal identification information TID, electronic payment brand identification information SBI (payment server identification information SID), fee information CHI, transaction number generation time SGT, payment GW server identification information GID, store server identification information OID, recipient identification information UID, recipient email address BMA, and payment result information SEI are recorded, but are not limited to these.

[0091] Next, the settlement server display device 246 will be described. The settlement server display device 246 has an interface function with an operator, and a known display device is used.

[0092] Next, the payment server communication device 248 will be described. The payment server communication device 248 has the function of communicating with the payment GW server 118 to transmit payment GW payment request information GRI via the dedicated line 122, and also communicating with the user terminal 126 via the public wireless communication line 128 and the communication carrier server 129, and a known communication device is used.

[0093] Next, the payment server clock device 250 will be described. The settlement server clock device 250 has a function of outputting date and time information DTI used in the settlement server 124, and a known clock device is used.

[0094] Next, the settlement server input device 252 will be described. The settlement server input device 252 has a function for inputting information required by the settlement server 124, and a known keyboard is used.

[0095] Next, the one-time token generating device 254 will be described. The one-time token generating device 254 has a function of outputting security information SCI for preventing theft or tampering in communication such as Internet communication. The security information SCI is information for preventing information from being stolen by a third party or preventing the communication contents from being understood, and is, for example, coded information and decryption information in the case of encryption, but is not limited to these. In other words, it is a general term for information for preventing a third party from easily accessing the settlement server 124, stealing communication, or understanding the communication contents. In this embodiment 1, the one-time token generating device 254 is configured by software. The one-time token 1TT is a so-called disposable password, and more specifically, a password that is valid only for a certain period of time, or a password that is used once. In this embodiment 1, the one-time token 1TT is information that can be used to establish a connection (access) with the settlement server 124 only once, regardless of whether the person himself or another person uses it, and is, for example, a URL that can be used only once. However, a credit card number or the like can also be used as the one-time token 1TT.

[0096] Next, the payment application providing device 256 will be described. The payment application providing device 256 has a function of providing settlement application software required for settlement in the user terminal 126. In this embodiment 1, when there is a request to download payment application software SAS (hereinafter referred to as "payment application SAP") from the user terminal 126, the payment application providing device 256 has a function of transmitting the software of the payment application SAP to the user terminal 126 and recording information required for use such as payment application login information LGI in the payment application table SAT. The payment application table SAT is recorded in the payment server storage device 244. In this embodiment 1, the payment application providing device 256 is configured by software.

[0097] Next, the payment server bus line 258 will be described. The settlement server bus line 258 has a function of performing communication between the devices that make up the settlement server 124, and is a known bus line.

[0098] Next, the payment application table SAT will be described with reference to FIG. The payment application table SAT stores at least the recipient identification information UID, the recipient email address BMA, the payment application login password BPW, and the payment source information PAI, which are the payment application login information LGI. In the first embodiment, the payment source information PAI is financial institution account information BAI, such as a bank account. However, the payment source information PAI can be the payment source information PAI in a system capable of paying publicly known fees, such as a credit card number or a debit card number, or related information that can be used to reach the payment source information PAI. Therefore, the record of the payment source information PAI can be set not only in the payment server 124, as long as it can be linked and identified.

[0099] Next, the operation of the settlement server 124 will be described with reference to the flowchart in Fig. 18. A maximum settlement amount per transaction is preset in the settlement server storage device 244. In the case of the game machine 106, this amount is, for example, 800 yen. In step PS1, it is determined whether or not the payment authorization request information SAR has been sent from the user terminal 126. If the payment authorization request information SAR has been detected, the process proceeds to step PS2, and if not, the process loops to step PS1. Therefore, step PS1 can be said to be a payment authorization request waiting state AWM. In step PS2, it is determined whether the payment permission request information SAR is a permission request based on legitimate authority, and if it is legitimate, proceed to step PS3, and if it is not legitimate, proceed to step PS4. Whether or not it has legitimate authority can be determined if the payment application login information LGI is correct. In other words, if the recipient email address BMA and payment application login password BPW are correct, it can be determined that it has legitimate authority. In step PS3, the one-time token generating device 254 generates a one-time token 1TT, and then proceeds to step PS5. In step PS4, since the user does not have the proper authority, the unfair request processing UDT is executed. The unfair request processing UDT, for example, transmits unfair request information UDI to the user terminal 126 that transmitted the payment permission request information SAR. The unfair request information UDI is a message such as "The login information is incorrect." In step PS5, the one-time token 1TT is transmitted to the user terminal 126 which has received the payment authorization request information SAR, and then the process proceeds to step PS6. In step PS6, it is determined whether or not payment GW payment processing request information GRI has been received from the payment GW server 118. If it has been received, the process proceeds to step PS7, and if it has not been received, step PS6 is looped. Therefore, step PS6 can be said to be a payment request waiting state SWM. In step PS7, it is determined whether the one-time token 1TT has valid authority. If it has valid authority, proceed to step PS8. If it does not have valid authority, proceed to step PS9. Legitimate authority means that the one-time token 1TT is valid if it is received within the validity period after it was issued. If the one-time token 1TT is a private key for an encryption key, this means that the private key matches. In step PS8, information related to the received payment GW payment request information GRI is recorded in the payment server table SVT, and then the payment process SET is executed and payment result information SEI is sent to the recipient terminal 126 that received the request, and the process proceeds to step PS10. In this embodiment 1, the payment process SET is a process that, for example, identifies the payment recipient PYE based on the payment GW server identification information GID related to the payment recipient information PEI, identifies the financial institution account information BAI which is the payment source information PAI in the payment application table SAT based on the login information (recipient email address BMA, payment application login password BPW, etc.), and performs a fund transfer process of the amount based on the fee information CHI, regardless of whether funds have actually been transferred or not. The payment result information SEI in step PS8 is payment completion information TCI. In step PS9, a payment cancellation process SCT and payment result information SEI are sent, and the process proceeds to step PS10. The payment cancellation process SCT means to end the payment process SET, and as a result, the payment process SET is not performed. The payment result information SEI in this step PS9 is unsettled information USI. In step PS10, the payment result information SEI (payment completion information TCI or unpaid information USI) is linked to the recipient email address MAD registered in the payment application table SAT and sent to the recipient terminal device 126 by email, and then the process proceeds to step PS11. In step PS11, payment result information SEI (payment completion information TCI or outstanding payment information USI) is sent to the payment GW server 118 identified by the payment GW server identification information GID included in the payment GW payment request information GRI, and then the processing is terminated.

[0100] Next, the operation of the payment server 124 when there is a request to download the payment application SAP will be described with reference to the flowchart shown in FIG. In step APS1, payment application providing device 256 determines whether download request information DLR is present from user terminal 126, and if download request information DLR is present, proceeds to step APS2, but if not, loops back to step APS1. In step APS2, the user is prompted to input a user identification information UID required to use the electronic payment brand 130, and the process proceeds to step APS3. The user identification information UID is, for example, but is not limited to, a telephone number assigned to the user terminal 126. In step APS3, if it is determined that the recipient identification information UID has been received, the process proceeds to step APS4, and if not, step APS3 is looped. In step APS4, the payment application login identification information PID is requested, and the process proceeds to step APS5. The payment application login identification information PID is, for example, but is not limited to, an email address. In step APS5, if the payment application login identification information PID is determined, the process proceeds to step APS6, and if not, the process loops to step APS5. In step APS6, the payment application login password BPW is requested, and the process proceeds to step APS7. The payment application login password BPW is, for example, a password that is set arbitrarily. In step APS7, if the payment application login password BPW is received, the process proceeds to step APS8, and if not received, the process loops back to step APS7. In step APS8, input of payment account information SPI is requested, and the process proceeds to step APS9. The payment account information SPI is, for example, financial institution account information BAI, but is not limited to this. If it is determined in step APS9 that the settlement account information SPI has been input, the process proceeds to step APS10. In step APS10, these pieces of information are associated and recorded in the payment application table SAT, and the process ends. The method for downloading the payment application SAP is not limited to the above-mentioned method, and any suitable download method can be adopted, such as enabling downloading when a specific password is entered following the download request DLA. In this case, the above-mentioned information needs to be recorded separately.

[0101] Next, the user terminal 126 will be described mainly with reference to FIG. The user terminal 126 transmits the payment processing request information SRI to the payment server 124, which is the electronic payment brand 130, via the public wireless communication line 128 provided by the communication carrier and the communication carrier server 129 by the acquired payment application SAP, and has a function of displaying the security information SCI (one-time token 1TT) transmitted from the payment server 124 as two-dimensional code information TDC on the device terminal display device 156, which is the terminal display device 108 of the device terminal 110. The user terminal 126 is a portable information device, and a so-called smartphone, tablet computer, etc. are used, and a smartphone is used in this embodiment 1. The user terminal 126 includes at least a user terminal calculation device 172, a user terminal display device 176, a user terminal storage device 178, a user terminal communication device 182, a user terminal input device 186, an encoding device 188, a user terminal clock device 190, and a user terminal bus line 192.

[0102] First, the user terminal computing device 172 will be described. The user terminal calculation device 172 is composed of a calculation device, ROM, RAM, etc., and has the function of performing the functions of each device that constitutes the user terminal 126 while communicating appropriately with the RAM based on a program stored in the ROM.

[0103] Next, the user terminal display device 176 will be described. The user terminal display device 176 has an interface function with a user who is a user, and a known display device (display) is used. In addition, a transparent touch panel (not shown) is disposed on the surface of the user terminal display device 176, thereby forming a user terminal input device 186.

[0104] Next, the customer terminal memory device 178 will be described. The user terminal memory device 178 has a function of storing information required by the user terminal 126, and a known memory device is used for the memory device. The user terminal memory device 178 stores a user terminal table RTT. As shown in FIG. 21(B), the user terminal table RTT records at least the user identification information UID, the payment application login identification information PID (user email address BMA) which is the payment application login information LGI, and the payment application login password APW. By using the stored payment application login information LGII, the operation of logging in to the payment server 124 is simplified. If necessary, payment source information PAI can be recorded and transmitted to the payment server 124 together with security information SCI.

[0105] Next, the user terminal communication device 182 will be described. The user terminal communication device 182 has a function of transmitting and receiving the payment process request information SRI, receipt mail SCM, etc., to and from the payment server 124 via the public wireless communication line 128, and a known communication device is used.

[0106] Next, the payment application storage device 184 will be described. The payment application storage device 184 has a function of storing a payment application SAP for executing payment processing, which is downloaded from the payment server 124 and installed, and a known storage device is used. Multiple payment applications SAP can be installed on one user terminal 126, and can be selectively used according to the purpose. In addition, the payment application storage device 184 stores security information SCI, date and time information DTI when the security information SCI is sent to the payment server 124, payment server identification information SID, receipt email SCM, etc. This history information regarding the payment request can be read out and used as history information when a payment trouble occurs.

[0107] Next, the user terminal input device 186 will be described. The user terminal input device 186 has a function of inputting information required for downloading and logging in to the payment application SAP. In this embodiment 1, it is a known input device configured with a touch panel (not shown) arranged on top of the user terminal display device 176. The user terminal input device 186 can input hiragana, katakana, kanji, uppercase and lowercase letters of the alphabet, numbers, and symbols by switching the character type.

[0108] Next, the encoding device 188 will be described. The coding device 188 has a function of coding at least the one-time token 1TT (security information SCI) received from the payment server 124, which is the payment authorization information SAI, and outputting it as a payment request code SDC, specifically, a function of converting it into a QR code QRC, which is a two-dimensional code TDC, and outputting it, and a QR code conversion device configured by a known program is used. Coding means systematizing characters or numbers so that they can be expressed as symbols to make them easier to handle in computer processing, and in this embodiment 1, it is represented by a two-dimensional code TDC, for example, a QR code QRC. However, other coding means such as a one-dimensional barcode may also be used. Therefore, in this embodiment 1, the payment request code SDC is the QR code QRC. The information to be converted into the two-dimensional code TDC, which is the payment request code SDC, is at least the payment permission information SDI (one-time token 1TT). The payment request code SDC can also include the recipient identification information UID, payment source information PAI, etc., recorded in the recipient terminal 126. The payment source information PAI is information that can directly or indirectly identify the payment recipient PYE. The direct payment recipient information PEI is account information at a financial institution, etc., and the indirect payment recipient information PEI is identification information of the payment GW server 118, etc., in which the account at the financial institution, etc. is recorded. In that sense, the transaction number TNO can also be used as the indirect payment recipient information PEI. Therefore, the QR code QRC can also include other information necessary for electronic payment, such as the payment server identification information SID, etc. As described above, the QR code QRC is a type of two-dimensional code TDC, and therefore can be replaced with other known two-dimensional code TDCs or codes that will appear in the future.

[0109] Next, the user terminal clock device 190 will be described. The user terminal clock device 190 has a function of outputting date and time information DTI used in the user terminal 126, and a known clock device is used.

[0110] Next, the user terminal bus line 192 will be described. The user terminal bus line 192 has a function of mediating data transfer between devices constituting the user terminal 126, and a known bus line is used.

[0111] In this embodiment 1, the payment application SAP is downloaded from the payment server 124 and installed in advance on the user terminal 126. When installing, the user inputs necessary information using the user terminal input device 186. As necessary information, for example, as shown in FIG. 20(B), the mobile phone number MTN as the user identification information UID, the user email address BMA as the payment application login identification information PID, the payment application login password BPW as the payment application login password APW, and the financial institution account information BAI for identifying the payment source information PAI are registered (recorded) in advance in the payment server storage device 244 of the payment server 124 or the user terminal storage device 178. When the payment application login information LGI is stored in the user terminal storage device 178 of the user terminal 126, the stored contents can be used for login to quickly launch the payment application SAP. However, it is preferable that a high level of security is guaranteed, such as by requesting biometric authentication when the user terminal 126 is started up.

[0112] The payment application SAP has a function of transmitting payment authorization request information SAR to the payment server 124, and when receiving payment authorization information ASI (one-time token 1TT) from the payment server 124, converting at least the payment authorization information ASI into a QR code QRC which is an encoded payment request code SDC and displaying it as a two-dimensional code TDC on the user terminal display device 176, and when receiving payment result information SEI from the payment server 124, displaying the payment result information SEI on the user terminal display device 176. Specifically, in this embodiment 1, the payment request code SDC is a one-time token 1TT, and it is determined whether the one-time token 1TT has legitimate authority in the payment server 124 specified by the electronic payment brand identification information SBI (payment server identification information SID). When activating the payment application SAP, the icon of the payment application SAP displayed on the user terminal display device 176 is tapped. In this embodiment 1, as shown in FIG. 23(A), the first payment application SAP1, the second payment application ASP2, and the third payment application SAP3 are displayed, and the appropriate icon for this payment is tapped. The payment application SAP differs for each payment brand, but the processing procedure is the same, so in the following description, they are collectively referred to as the payment application SAP. By tapping the payment application SAP, the payment application SAP is activated, and the user email address BMA and the payment application login password BPW stored in the user terminal storage device 178 of the user terminal 126 are transmitted to the payment server 124 as the payment application login information LGI. As a result, as shown in FIG. 23(B), a processing waiting display WAT such as "payment permission request" is displayed on the user terminal display device 176, indicating that processing is waiting, until the payment authorization information GAI, etc. is transmitted from the payment server 124. If the payment server 124 finds that the information matches the information previously stored (registered) in the payment server storage device 244, the payment authorization information SAI (one-time token 1TT) is sent to the user terminal 126. The user terminal 126, which has received the payment authorization information SAI, converts the payment authorization information SAI into a two-dimensional code TDC based on a predetermined rule in the encoding device 188, and then displays the two-dimensional code TDC, QR code QRC, on the user terminal display device 176, as shown in FIG. 1C. The payment application login information LGI, etc. can also be manually entered. When the user holds the QR code QRC displayed on the user terminal display device 176 over the imaging device 150 of the device terminal 110, the QR code QRC is automatically captured by the imaging device 150 as image information. When payment completion information SFI is transmitted, the recipient terminal display device 176 displays the payment completion indication TCI, affiliated store name MNA, fee information CHI, payment date, transaction number TNO, etc., as shown in FIG. (D). However, it is sufficient that at least the fee information CHI is displayed. Furthermore, it is even better if the terminal identification information TID, service name SNI, and other necessary information, such as the points that can be obtained with this payment, are displayed. When unsettled information USI is transmitted as payment result information SEI, a message indicating that the payment is unsettled is displayed on the recipient terminal display device 176. The affiliated store name MNA can be obtained from the affiliated store identification information MID.

[0113] Next, the operation of the user terminal 126 will be described with reference to the flow chart shown in FIG. First, in step BS1, it is determined whether the payment application SAP has been tapped and selected, and if so, the process proceeds to step BS2. In step BS2, the payment application SAP is launched and a login process is performed to the payment server 124. In this embodiment 1, the recipient's email address BMA, which is the payment application login information LGI, and the recipient's password EPW are automatically sent to login, and the process proceeds to step BS4. As described above, the payment server 124 determines that this login is payment authorization request information SAR, and therefore transmits a one-time token 1TT to the recipient's terminal device 126. In step BS4, it is determined whether payment authorization information SAI has been output from the payment server 124. If it is determined that the one-time token 1TT is payment authorization request information SAR, the process proceeds to step BS5. If it is payment unauthorization information UAI, the process proceeds to step BS6. In step BS5, the one-time token 1TT is converted into a QR code QRC, which is a two-dimensional code TDC, and the QR code QRC is displayed on the user terminal display device 176, after which the process proceeds to step BS7. In step BS6, a message is displayed on the user terminal display device 176 indicating that the payment process SET has been rejected, and then the process is terminated. In step BS7, it is determined whether a receipt email SCM or a payment failure email NSM, which is payment result information SEI, has been received from the payment server 124. If it is a receipt email SCM, the process proceeds to step BS8, and if it is a payment failure email NSM, the process proceeds to step BS9. If no email is received from the payment server 124 within a specified time, it is preferable to treat it as an overtime and end the process with an error. In step BS8, for example, as shown in FIG. 23(D), a payment completion display (receipt email SC) is displayed on the recipient terminal display device 176, and the process ends. In step BS9, an incomplete payment indication (payment impossible mail NSM) is displayed on the recipient terminal display device 176, and the process is terminated. As shown in Fig. 22(B), the process proceeds from step BS8 to step BS8a, and as shown in Fig. 22(C), a payment completion screen SCS is displayed on the user terminal display device 176, and then the process proceeds to step BS8b. The payment completion screen SCS displays a payment completion information field 290, which preferably displays an indication that the payment has been made, such as "payment completed," fee information CHI, and the name of the affiliated store MNI, or other information on the person to be paid. In addition, a screenshot button 302 and a SS cancel button 304 are displayed below the payment completion information field 290. In step BS8b, it is determined whether screenshot button 302 has been tapped, and if so, the process proceeds to step BS8C, and if not, step BS8b is looped. In step BS8b, a copy of the payment completion screen SCS is made and recorded in the user terminal storage device 178, and the process ends. This screenshot record can be used as evidence in the event that any trouble occurs with the payment at a later date.

[0114] Next, the operation of the electronic payment system for the automated service device of the first embodiment will be described with reference to the flowchart of Fig. 24. It is assumed that the payment application SAP is downloaded to the user terminal 126, the payment application login information LGI is stored in advance, and the necessary information is also recorded in the payment server 124, which is the electronic payment brand 130. For example, when setting an upper limit, the upper limit that can be paid in one payment is set to 800 yen in the first embodiment, and when a credit card number is used as the one-time token 1TT, the credit card number of the user is recorded in advance in the payment server storage device 244 of the payment server 124. First, when the power is turned on and the game machine control device 133 starts operating in the game machine 106, which is the automated service device 102, in step AS1, the operation feasibility information output device 142 determines whether the game machine 106 is operable or not. If the game machine 106 is operable, the process proceeds to step AS2, and permission information of "1", which is game permission information POI, is output to the equipment terminal 110 together with the automated machine identification information AID as operation feasibility information AVI. If the game machine 106 is inoperable, a charge non-permission signal of "0", which is inoperability information IPI, is output to the equipment terminal 110 together with the automated machine identification information AID. When the equipment terminal 110 determines in step ES1 that it has received game permission information POI from the game machine control device 133, which is the automatic service equipment control device 132, it proceeds to step ES2. In step ES2, it stores the operation possibility information AVI in association with the equipment terminal identification information TID in the equipment terminal table TAT in the equipment terminal storage device 162, and displays the amount selection buttons 152, 100 yen selection button 1521 and 500 yen selection button 1525, and a guide section GUIDE for "Please select payment amount", on the equipment terminal display device 156, and then proceeds to step ES3, where it is determined whether the amount selection button 152 has been tapped, and the state becomes a transaction waiting state TWM. When the user wishes to receive a game service on the game machine 106, the user taps the amount selection button 152 as a transaction request operation TRO. In other words, if it is determined in step ES3 that either the 100 yen selection button 1521 or the 500 yen selection button 1525 has been tapped (selected) by the user, the process proceeds to step ES4, the imaging device 150 enters an imaging standby state PWM, and a guide section GUIDE is displayed on the device terminal display device 156 as shown in FIG. 10(B), prompting the user to capture the two-dimensional code TDC of "Please let me read the QR code", and the process proceeds to step ES5. In step ES5, the image capture standby state PWM in which the image capture device 150 can detect a QR code QRC, which is a two-dimensional code TDC, continues for a predetermined time. If the QR code QRC is not detected within the predetermined time, the image capture standby state PWM is released and the state goes into a transaction standby state TWM. The user operates his / her user terminal 126 and starts the payment application SAP. That is, in step BS1, the electronic payment brand 130 (payment server 124) is tapped (if there are multiple electronic payment brands 130, one is selected and tapped), the selected payment application SAP is launched, and the process proceeds to step BS3. In step BS3, as described above, the email address MAD and the payment application login password BPW are sent to the payment server 124 to automatically log in. In other words, the email address MAD and the payment application login password BPW are payment permission request information SAR. In step PS1 in the settlement server 124, when it is determined that a settlement authorization request information SAR has been received from the user terminal 126, the process proceeds to step PS2. In step PS2, it is determined whether the settlement authorization request information SAR is based on legitimate authority, and if it is based on legitimate authority, the process proceeds to step PS3, and if it is an illegitimate request, the process proceeds to step PS4. In step PS3, the one-time token generating device 254 outputs the one-time token 1TT, and then in step PS5, it returns the payment authorization request information SAR to the user terminal 126 that sent it, and then proceeds to step PS6, where it enters a payment request waiting state SWM from the payment GW server 118. The output one-time token 1TT is associated with the user terminal identification information BID and payment application login information LGI of the user terminal 126 and recorded in the payment server table SVT. In step BS4, the user terminal 126 determines that it has received a one-time token 1TT as payment authorization information SAI from the payment server 124, then proceeds to step BS5, where the one-time token 1TT is converted by the encoding device 188 into a QR code QRC, which is a two-dimensional code TDC, and displayed on the user terminal display device 176. After that, the user terminal 126 proceeds to step BS7, and enters a standby state for receiving payment result information SEI from the payment server 124. The viewer holds the viewer terminal display device 176 of the viewer terminal 126 over the imaging device 150 . When the device terminal 110 detects the QR code QRC in step ES5, it proceeds to step ES6, captures an image of the QR code QRC, and then proceeds to step ES9. In step ES9, after a "processing display" is displayed on the device terminal display device 156, the QR code QRC is converted into computable information in the code conversion device 159, and then the terminal identification information TID and fee information CHI are transmitted to the store server 114 as payment processing request information SRI together with the one-time token 1TT, and then the process proceeds to step ES12, where the store server 114 waits for billing command information CHO from the store server 114. In this embodiment 1, the payment processing request information SRI preferably includes at least the device terminal identification information TID, electronic payment brand identification information SBI (payment server identification information SID), fee information CHI, and date and time information DTI, taking into consideration that it may be utilized when trouble occurs with the recipient. If the store server 114 determines in step SS1 that it has received the payment processing request information SRI, it proceeds to step SS2, where it generates a transaction number TNO based on a predetermined rule, and then in step SS3 starts timing the timeout time TOH for determining a timeout, and then proceeds to step SS4. In step SS4, it sends store payment request information ORI, which includes at least the transaction number TNO, one-time token 1TT, fee information CHI, and store server identification information OID, to the payment GW server 118, and proceeds to step SS5. In step SS5, it determines whether the timeout time TOH has been reached, and if the timeout time TOH has not been reached, it proceeds to step SS6, where it determines whether payment result information SEI has been received, and if not, it returns to step SS5. Through steps SS5 and SS6, it enters the timeout management state TMM.

[0115] If the payment GW server 118 determines in step GS1 that the store payment request information ORI includes the transaction number TNO, it proceeds to step GS2, where it records the electronic payment brand identification information SBI (payment server identification information SID), fee information CHI, one-time token 1TT, and store server identification information OID included in the received transaction number TNO and store payment request information ORI in the payment GW table SGT in association with the transaction number TNO, and then proceeds to step GS3. In step GS3, it transmits the payment GW payment request information GRI including the one-time token 1TT, transaction number TNO, payment GW identification information GID, store server identification information OID, device terminal identification information TID, fee information CHI, and date and time information DTI to the payment server 124 identified by the electronic payment brand identification information SBI (payment server identification information SID), and then enters a standby state for payment result information SEI.

[0116] When the payment server 124 judges in step PS6 that the payment GW payment request information GRI has been received, it proceeds to step PS7, where it judges whether the one-time token 1TT, which is the security information SCI, is valid. If it is valid, it proceeds to step PS8, where it records the information included in the payment GW payment request information GRI in association with the one-time token 1TT in the payment server table SVT, executes the payment processing SEI, and then proceeds to step PS10. As described above, in this embodiment 1, the payment processing SEI is that the recipient transfers the fee related to the fee information CHI to the business operator operating the facility 100. Therefore, the fee information CHI is recorded in the payment server table SVT of the payment server 124 together with the electronic payment brand identification information SBI (payment server identification information SID). The payment source PYS is recorded in advance in the electronic payment brand 130, and the amount of funds to be transferred can be specified from the fee information CHI. In addition, the payment destination PYE can be specified by the transaction number TNO and the payment GW server identification information GID included in the payment GW processing request information GRI. For example, the payment destination PYE can be identified by recording the payment destination information PEI in the payment GW table SGT identified by the payment GW server identification information GID. This allows the payment process SET to be completed by performing a remittance process from the payment account identified by the financial institution account information BAI of the payer PYS to the payment account identified by the payment destination information PEI of the payment destination PYE. In step PS10 in the payment server 124, the payment result information SEI is sent as a login ID to the recipient email address BMA recorded in the payment server table SVT. Specifically, when the payment process SEI is completed, a receipt email SCM notifying the completion of the payment is sent to the recipient terminal 126, and when it is unsuccessful, a payment failure email NSM notifying the failure of the payment is sent to the recipient terminal 126. Note that the recipient email address BMA can be omitted by providing the recipient terminal 126 with a payment completion screen SCS or a transaction history recording function.

[0117] When the user terminal 126 determines the payment result information SEI received from the payment server 124 in step BS7, it proceeds to step BS8 and displays the payment result information SEI on the user terminal display device 176. For example, if the payment is completed, a receipt mail SCM message such as "Payment completed" is displayed as shown in Fig. 23(D), and if the payment is unsuccessful, a payment failure mail NSM message stating "Payment not possible" is displayed together with the payment processing request information SRI.

[0118] In step PS11, the payment server 124 then transmits the payment result information SEI linked to the transaction number TNO to the payment GW server 118 identified by the payment GW server identification information GID recorded in association with the transaction number TNO.

[0119] When the payment GW server 118 determines in step GS4 that it has received payment result information SEI from the payment server 124, it proceeds to step GS5, associates the payment result information SEI with the transaction number TNO and records it in the payment GW table SGT, and then in step GS6, links it to the transaction number TNO and sends it to the store server 114 identified by the store server identification information OID.

[0120] If the store server 114 determines in step SS6 in the timeout management state TMM that it has received payment result information SEI, it proceeds to step SS8, where it records the received payment result information SEI in association with the same transaction number TNO in the store table SST, then proceeds to step SS9, where it transmits billing command information CHO to the equipment terminal 110 identified by the associated and recorded equipment terminal identification information TID, then proceeds to step SS10, where it waits for billing result information CEI.

[0121] When the device terminal 110 determines in step ES12 that the charging command information CHO is present, it proceeds to step ES13 and outputs a pseudo charging signal FCS to the game machine control device 133. The pseudo charging signal FCS is a signal that exerts the same function as the charging signal CHS output from the currency identification device 136, and in this embodiment 1, is a pulse signal having a predetermined time width and voltage value.

[0122] If the game machine control device 133 determines in step AS6 that a pseudo charging signal FCS has been received from the device terminal 110, it proceeds to step AS5, where it outputs an in-operation signal RNS to the device terminal 110, and then proceeds to step AS7, where it operates the game hardware 134 to start a specified game, or enters a game start standby state.

[0123] If the device terminal 110 determines in step ES14 that the in-operation signal RNS is present, it proceeds to step ES15, where it stores the billing result information CEI in the device terminal storage device 162 in association with the transaction number TNO, and then proceeds to step ES16, where it transmits the billing result information CEI to the store server 114. Note that if the device terminal 110 does not receive the in-operation signal RNS from the game machine control device 133 within a predetermined period of time, it preferably outputs billing failure information.

[0124] If the store server 114 determines that the billing result information CEI is present in step SS10, in which the store server 114 is in a standby state for the billing result information CEI, the store server 114 proceeds to step SS11. In step SS11, the charge result information CEI is recorded in the shop table SST in association with the transaction number TNO, and the process ends. Therefore, the store table SST stores at least the device terminal identification information TID, payment server identification information SID, fee information CHI, transaction number generation time SGT, one-time token 1TT, billing command information CHO, payment result information SEI (payment approval information SAI or operation feasibility information AVI), and billing result information CEI, linked to the transaction number TNO, making it highly convenient when investigating history.

[0125] Next, the process when a new game machine 106 is installed will be described with reference to FIGS. First, the user operates the store input device 232 to proceed to step RS1, where the menu screen MNS shown in Fig. 5(B) is displayed on the store display device 226, and when the new registration button 282 is clicked, the user proceeds to step RS2, where the new registration screen NRS shown in Fig. 5(C) is displayed. After inputting the automatic machine identification information AID in the AID input field 286, the device terminal identification information TID in the TID input field 288, and information corresponding to the other input fields on the new registration screen NRS, the user clicks the registration button 292 to proceed to step RS6, where the information is registered in the device terminal table TAT. When the user wishes to modify the registered automatic machine identification information AID, device terminal identification information TID, etc., the user clicks the modification button 284 on the menu screen MNS to proceed to step RS4, where the modification screen RVS is displayed. Enter the automatic machine identification information AID to be corrected in the correction AID input field 294 and click the search button 296 to proceed to step RS8. The registration information related to the object to be corrected is displayed as shown in FIG. 11(D). After correcting the information that needs to be corrected, click the correction registration button 300 to proceed to step RS6. The correction information is recorded in the equipment terminal table TAT. EXAMPLES

[0126] The above embodiment 1 is an example of a customer-presented two-dimensional code payment in which a service recipient displays a two-dimensional code on the recipient terminal 126 and the code is captured by the store's imaging device 150, but the present invention can also be applied to a store-presented payment in which the store presents a two-dimensional code. In the case of a store-presented payment, it is preferable that the store server 114 generates a transaction number TNO based on information that the device terminal has been made payment-enabled, and then enters a timeout management state TMM from the point in time when payment permission information is received from the electronic payment brand 130 (payment server 124), and executes a timeout process TOT if payment result information SEI is not received from the electronic payment brand 130 within a predetermined timeout time TOH. A second embodiment in which the present invention is applied to a store presentation type payment system will be described.

[0127] Similarly to the first embodiment, the second embodiment has the same basic configuration as the first embodiment, including an automatic service device control device 132 (game device control device 133), a device terminal 110, a store server 114, a payment GW server 118, a user terminal 126, and a payment server 124. However, in the case of the second embodiment, which is a store-presented type, a QR code QRC, which is a two-dimensional code TDC displayed on the device terminal display device 156 of the device terminal 110, is captured by an imaging device 150 provided in the user terminal 126 and converted into information related to the two-dimensional code TDC that can be processed by calculation. Therefore, in the device terminal 110 of the second embodiment, the code conversion device 159 is replaced with the encoding device 188 in the user terminal 126, and the encoding device 188 in the user terminal 126 is replaced with the code conversion device 159, compared to the device terminal 110 of the first embodiment. Also, it is assumed that the device terminal 110 has one amount selection button 152, which is 100 yen.

[0128] Next, the operation of the second embodiment will be described with reference to the overall flow chart of FIG. The game machine control device 133 transmits the game permission information POI to the device terminal 110 in step AS21. When the device terminal 110 determines that the game permission information POI has been received, in step ES21, the electronic payment brand 130 is displayed on the device terminal display device 156, and then the process proceeds to step ES22. In step ES22, it is determined whether an electronic payment brand 130 has been selected. If selected, the program of the electronic payment brand 130 is started and the device terminal identification information TID and the brand information BRI are transmitted to the store server 114 as payment authorization request information SAR.

[0129] When the store server 114 determines that it has received payment authorization request information SAR, it generates a transaction number TNO in step SS21, and then records the device terminal identification information TID and brand information BRI received in association with the transaction number TNO in the store table SST in step SS22.It then transmits at least the transaction number TNO, store server identification information OID, and brand information BRI to the payment GW server 118 as store payment request information ORI.

[0130] When the payment GW server 118 determines that it has received the store payment request information ORI, in step GS21, it records at least the store server identification information OID and brand information BRI in association with the transaction number TNO in the payment GW table SGT, and then transmits at least the transaction number TNO, payment GW server identification information GID, and brand information BRI as payment GW payment request information GRI to the payment server 124, which is the electronic payment brand 130.

[0131] When the payment server 124 determines that it has received the payment GW payment request information GRI, in step PS21 it determines whether it has legitimate authority to make the processing request, and if it has legitimate authority, it proceeds to step PS22 to issue a one-time token 1TT, and then in step PS23 it records at least the transaction number TNO, payment GW identification information SGI, and one-time token 1TT in association with the one-time token 1TT in the payment server table SVT, and then transmits at least the one-time token 1TT and the transaction number as payment authorization information SAI to the payment GW server 118 identified by the payment GW server identification information GID that received the payment GW server 118. The presence or absence of legitimate authority is determined, for example, by the brand information BRI transmitted from the device terminal 110.

[0132] If the payment GW server 118 determines in step GS23 that it is a one-time token 1TT, it records the one-time token 1TT received in association with the same transaction number TNO in the payment GW table SGT, and then transmits the one-time token 1TT to the store server 114 identified by the store server identification information OID recorded in association with the same transaction number TNO.

[0133] If the store server 114 determines that it has received a one-time token 1TT, in step SS23 it records the one-time token 1TT in association with the same transaction number TNO in the store table SST, then proceeds to step SS24, where it starts timing the timeout period TOH for that transaction number TNO, and then transmits at least the one-time token 1TT and the transaction number TNO to the device terminal 110 identified by the device terminal identification information TID recorded in association with the same transaction number TNO. This causes the store server 114 to enter a timeout management state TMM for each transaction number TNO.

[0134] When the equipment terminal 110 determines that the one-time token 1TT and the transaction number TNO have been received, in step ES23 it converts the one-time token 1TT, the transaction number TNO, and the fee information CHI into a QR code QRC and displays it on the equipment terminal display device 156. The QR code QRC is displayed on the equipment terminal display device 156 for, for example, 30 seconds, and after 60 seconds has elapsed, the process proceeds to step ES24 and a display is displayed indicating that the transaction is being processed.

[0135] On the other hand, in step BS21, the user operates his / her user terminal 126, starts up the payment application SAP, proceeds to step BS2, and logs in to the payment application SAP. Therefore, at this point, unauthorized logins are excluded. By this login, the image capture device 150 of the user terminal 126 goes into an image capture standby state TWM. The user operates the imaging device 150 of his / her user terminal 126 to capture an image of the QR code QRC displayed on the device terminal display device 156 in step BS23 of the user terminal 126, and proceeds to step BS24. In step BS24, the user terminal 126 converts the QR code QRC into computationally processable related information by the code conversion device 159, and proceeds to step BS25. The computationally processable related information includes at least the one-time token 1TT, the transaction number TNO, and the fee information CHI.

[0136] In step BS25, when a payment button (not shown) displayed on the recipient terminal display device 176 is tapped, the payment is approved and at least the one-time token 1TT, transaction number TNO, and fee information CHI are sent to the payment server 124 as payment request information SRI. When the payment server 124 determines that it has received the payment request information SRI, in step PS23 it determines whether the transmitted one-time token 1TT has valid authority, and if it has valid authority, it proceeds to step PS24. In this embodiment 2, the valid authority is determined to be valid when the received one-time token 1TT matches the one-time token 1TT recorded in the payment server table SVT, and if they differ, it is determined to be an invalid processing request. After executing the settlement process SET in step PS24, settlement result information SEI is sent together with the transaction number TNO to the recipient terminal 126 which received the settlement request information SRI.

[0137] When the user terminal 126 determines in step BS26 that the payment result information SEI has been received, it displays the payment result information SEI (receipt mail SCM or payment impossible mail NSM) on the user terminal display device 176. Furthermore, the payment server 124 transmits payment result information SEI together with at least the transaction number TNO to the payment GW server 118, which is recorded in association with the received one-time token 1TT in the payment server table SVT. In step GS23, the payment GW server 118 records the payment result information SEI in association with the same transaction number TNO recorded in the payment GW table SGT, and then transmits the payment result information SEI together with at least the transaction number TNO to the store server 114 identified by the store server identification information OID recorded in association with the transaction number TNO.

[0138] When the store server 114 determines that payment result information SEI has been received, in step SS24, it records the received payment result information SEI in association with the same transaction number TNO, and then in step SS26, it determines whether the timeout time TOH related to the same transaction number TNO has exceeded a predetermined time. If it has not, it proceeds to step SS27, records in the store table SST that it is within the timeout time TOH, and then transmits charging command information CHO to the device terminal 110 identified by the device terminal identification information TID recorded in association with the same transaction number TNO recorded in the store table SST. If the timeout time THO has been exceeded, it executes timeout processing TOT, and timeout information TOI is recorded in the store table SST.

[0139] When the device terminal 110 determines that the charging command information CHO has been received, it outputs a pseudo charging signal FCS to the game machine control device 133 in step ES25.

[0140] The game machine control device 133 performs billing processing in step AS22 based on the pseudo billing signal FCS, and then proceeds to step AS23. That is, it becomes possible to execute a game in the game machine 106 based on the pseudo billing signal FCS.

[0141] In step AS23, the game machine control device 133 outputs a RUN signal to the device terminal 110. This RUN signal is a billing result signal CEI, and in step ES26, based on receipt of the billing result signal CEI, the device terminal 110 records the received billing result signal CEI in the device terminal table TAT in association with the same transaction number TNO, and then transmits it together with the transaction number TNO to the store server 114. The store server 114 records the received billing result signal CEI in association with the same transaction number TNO in the store table SST. If a dispute arises between the game center and the user over the transaction, these records can be used to confirm the facts by comparing the records at each stage and to resolve the dispute. [Explanation of symbols]

[0142] 102 Automated Service Equipment 110 Automatic service equipment terminal (equipment terminal) 114 Store Server 118 Payment Gateway Server (Payment GW Server) 124 Payment Server 126 User terminal 130 Payment Brands 132 Automatic service equipment control device 133 Game machine control device 150 Imaging device 152 Price selection button 1TT One-Time Token 176 Display device (user terminal display device) CEI Billing Result Signal CHI Pricing Information CHO Charging Order Information FCS pseudo charging signal POI permission information PWM image capture standby state PYE Payment Destination PYS Payment Source QRC QR Code SEI Payment Result Information SRI Settlement Requirements Information TDC 2D Code TOH Timeout period TNO Transaction Number TOH Timeout period TOT Timeout processing

Claims

1. A store server of an automated service device, which inputs a result of an electronic payment from a payment server connected to the automated service device in a communicable manner and outputs information based on the result to an automated service device connected to the automated service device and providing an article or service based on the receipt of a fee, A plurality of the automated service devices are communicatively connected to the store server; When inputting the request for electronic payment from the automated service machine, inputting payment processing request information including automated service machine identification information and fee information in addition to the request for electronic payment, generating a transaction number for identifying the transaction to be settled based on the input, and storing the payment processing request information in association with the transaction number; When outputting the request for electronic payment to the payment server, outputting store payment request information including the transaction number and the fee information in addition to the request for electronic payment; When the result is input from the payment server, the transaction number is input in addition to the payment result information, and charging command information for operating the automated service machine identified by the automated service machine identification information corresponding to the stored transaction number and the payment processing request information associated with the same transaction number as the input transaction number is output based on the payment processing request information associated with the stored transaction number and the payment processing request information associated with the same transaction number, An automated service machine store server, which mediates the transmission of requests for electronic payment and information based on the results corresponding to the requests between a plurality of the automated service machines and the payment server.

2. The store server of the automatic service equipment as described in claim 1, wherein the request for electronic payment includes a one-time token that authorizes the electronic payment and that is issued by the payment server and obtained by the automatic service equipment from a customer terminal operated by a customer using the automatic service equipment.

3. The store server of the automatic service equipment according to claim 2, characterized in that the automatic service equipment, which has an imaging device, acquires the one-time token from the customer terminal by imaging the two-dimensionally coded one-time token displayed on the customer terminal.

4. A store server of an automatic service device as described in any one of claims 1 to 3, characterized in that a timeout period is started based on the generation of the transaction number, and if the result is not input from the payment server within a preset timeout period, the processing of the payment corresponding to the transaction number is discontinued.

Citation Information

Patent Citations

  • Portable telephone set

    JP2003198681A

  • Server system

    JP2009011672A

  • Charge collection system using electronic currency

    JP2012108746A

  • Settlement system and settlement method

    JP2015122009A

  • Settlement system and information processing device

    JP2017004234A