JP7156889B2 - Payment processing method - Google Patents

Payment processing method Download PDF

Info

Publication number
JP7156889B2
JP7156889B2 JP2018181851A JP2018181851A JP7156889B2 JP 7156889 B2 JP7156889 B2 JP 7156889B2 JP 2018181851 A JP2018181851 A JP 2018181851A JP 2018181851 A JP2018181851 A JP 2018181851A JP 7156889 B2 JP7156889 B2 JP 7156889B2
Authority
JP
Japan
Prior art keywords
payment
server
settlement
token
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018181851A
Other languages
Japanese (ja)
Other versions
JP2020052761A (en
Inventor
知博 奥山
徹 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2018181851A priority Critical patent/JP7156889B2/en
Priority to US17/268,223 priority patent/US20210182843A1/en
Priority to PCT/JP2019/036436 priority patent/WO2020066759A1/en
Priority to CN201980053912.6A priority patent/CN112585639A/en
Publication of JP2020052761A publication Critical patent/JP2020052761A/en
Application granted granted Critical
Publication of JP7156889B2 publication Critical patent/JP7156889B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は決済処理方法及び決済処理システムに関し、特に、決済用コードを用いた決済処理を行う技術に関する。 TECHNICAL FIELD The present invention relates to a payment processing method and a payment processing system, and more particularly to a technique for performing payment processing using a payment code.

紙幣や硬貨等の実物の貨幣を介さず、電子的に決済を行う電子決済が普及してきている。電子決済においては、決済の前提として商品やサービスの対価を支払うユーザの認証が行われる場合があるが、このユーザ認証時に、画像化されたコードをカメラ等のコードリーダで読み取ることによって認証処理を実現する仕組みが普及しつつある(例えば、特許文献1)。 Electronic payment, in which payment is made electronically without using real money such as banknotes and coins, has become widespread. In electronic payment, there are cases where the user who pays for the product or service is authenticated as a prerequisite for payment. At the time of this user authentication, the authentication process is performed by reading the image code with a code reader such as a camera. A mechanism for realizing this is becoming popular (for example, Patent Document 1).

特表2017-503253号公報Japanese Patent Publication No. 2017-503253

特許文献1に記載されている技術は、バーコードやQRコード(登録商標)に埋め込まれた情報に基づいて認証処理を実行する。しかしながら、コードに埋め込むための情報の構造や符号化に関する規格が乱立しつつあり、種別の異なる規格では互換性がないという状況が生じている。このため、上記のような電子決済の利用を望むユーザにとっては、どの規格の電子決済を利用すればよいか判断に迷い、結果として電子決済の普及の妨げになりかねない。 The technology described in Patent Literature 1 performs authentication processing based on information embedded in a barcode or QR code (registered trademark). However, standards regarding the structure and encoding of information to be embedded in codes are being established in abundance, and a situation has arisen in which standards of different types are not compatible with each other. For this reason, users who want to use electronic payment as described above may be at a loss as to which standard of electronic payment to use, and as a result, this may hinder the spread of electronic payment.

本発明はこれらの点に鑑みてなされたものであり、ユーザが電子決済の種別を意識せずに決済を行えるようにする技術を提供することを目的とする。 The present invention has been made in view of these points, and an object of the present invention is to provide a technology that enables a user to make a payment without being aware of the type of electronic payment.

本発明の第1の態様は、決済処理方法である。この方法は、店舗に設置された店舗端末が、前記店舗において利用可能な第1決済事業者が管理する第1決済サーバに、決済用トークンの取得要求を送信するステップと、前記第1決済サーバが、前記第1決済事業者を特定するための第1事業者識別子が関連付けられた決済用トークンを前記店舗端末に送信するステップと、前記店舗端末が、前記決済用トークンに基づいて生成した決済用コードを表示するステップと、前記店舗を利用する顧客の端末である顧客端末が、前記決済用コードを読み取って得られた決済用トークンを取得するステップと、前記顧客端末が、前記決済用トークンと、決済金額と、を含む決済情報を、前記第1決済サーバが利用する暗号鍵で暗号化するステップと、前記顧客端末が、暗号化した前記決済情報を仲介サーバに送信するステップと、前記仲介サーバが、前記顧客端末から受信した決済情報を前記第1決済サーバに転送するステップと、前記第1決済サーバが、前記仲介サーバから転送された決済情報に基づいてユーザ認証を実行するステップと、を含む。 A first aspect of the present invention is a payment processing method. This method comprises the steps of: a store terminal installed in a store transmitting a payment token acquisition request to a first payment server managed by a first payment business operator available in the store; transmitting a payment token associated with a first business operator identifier for specifying the first payment business operator to the store terminal; and payment generated by the shop terminal based on the payment token. a step of displaying a payment code; a step of a customer terminal, which is a terminal of a customer who uses the store, acquiring a payment token obtained by reading the payment code; and a settlement amount using an encryption key used by the first settlement server; the customer terminal transmitting the encrypted settlement information to the brokerage server; a step of an intermediation server transferring payment information received from the customer terminal to the first payment server; and a step of the first payment server performing user authentication based on the payment information transferred from the intermediation server. ,including.

前記決済処理方法は、前記第1決済サーバが、前記第1決済事業者を特定するための第1事業者識別子を含む決済用トークンを生成して前記仲介サーバに送信するステップと、前記仲介サーバが、前記第1決済サーバから受信した決済用トークンと、前記顧客端末から受信した決済用トークンとが不一致の場合、決済処理を中止するステップとをさらに含んでもよい。 The payment processing method comprises the steps of: the first payment server generating a payment token including a first business operator identifier for specifying the first payment business operator and transmitting the payment token to the intermediary server; However, if the payment token received from the first payment server and the payment token received from the customer terminal do not match, the step of canceling payment processing may be further included.

本発明の第2の態様も、決済処理方法である。この方法は、店舗に設置された店舗端末が、前記店舗において利用可能な第1決済事業者が管理する第1決済サーバを利用して決済をするための決済用トークンの取得要求を、仲介サーバに送信するステップと、前記仲介サーバが、前記第1決済事業者を特定するための第1事業者識別子が関連付けられた決済用トークンを前記店舗端末に送信するステップと、前記店舗端末が、前記決済用トークンに基づいて生成した決済用コードを表示するステップと、前記店舗を利用する顧客の端末である顧客端末が、前記決済用コードを読み取って得られた決済用トークンを取得するステップと、前記顧客端末が、前記決済用トークンと、決済金額と、を含む決済情報を、前記第1決済サーバが利用する暗号鍵で暗号化するステップと、前記顧客端末が、暗号化した前記決済情報を仲介サーバに送信するステップと、前記仲介サーバが、前記顧客端末から取得した決済情報を前記第1決済サーバに転送するステップと、前記第1決済サーバが、前記仲介サーバから転送された決済情報に基づいてユーザ認証を実行するステップと、を含む。 A second aspect of the present invention is also a payment processing method. In this method, a store terminal installed in a store transmits a payment token acquisition request for making a payment using a first payment server managed by a first payment business operator that can be used in the store to an intermediation server. a step of the intermediary server transmitting a payment token associated with a first business operator identifier for identifying the first payment business operator to the store terminal; a step of displaying a payment code generated based on a payment token; a step of a customer terminal, which is a terminal of a customer who uses the store, acquiring the payment token obtained by reading the payment code; a step in which the customer terminal encrypts payment information including the payment token and the payment amount with an encryption key used by the first payment server; and a step in which the customer terminal encrypts the encrypted payment information. a step of transmitting to an intermediation server; a step of the intermediation server transferring payment information acquired from the customer terminal to the first payment server; and performing user authentication based on.

本発明の第3の態様は、店舗に設置された店舗端末、前記店舗を利用する顧客が所持する顧客端末、前記店舗において利用可能な第1決済事業者であって前記顧客端末が利用可能な第2決済事業者とは異なる第1決済事業者が管理する決済サーバ、及び仲介サーバを含む決済処理システムである。このシステムにおいて、前記店舗端末は、トークン要求部と表示制御部とを備え、前記決済サーバは、トークン送信部と決済管理部とを備え、前記顧客端末は、コード読取部、決済情報送信部、及び暗号化部を備え、前記仲介サーバは、決済要求部を備える。前記店舗端末のトークン要求部は、前記決済サーバに、決済用トークンの取得要求を送信し、前記決済サーバのトークン送信部は、前記第1決済事業者を特定するための第1事業者識別子が関連付けられた決済用トークンを前記店舗端末に送信し、前記店舗端末の表示制御部は、前記決済用トークンに基づいて生成した決済用コードを表示部に表示させ、前記顧客端末のコード読取部は、前記店舗端末の表示部に表示された前記決済用コードを読み取り、前記顧客端末の暗号化部は、前記決済用トークンと、決済金額と、を含む決済情報を、前記決済サーバが利用する暗号鍵で暗号化し、前記顧客端末の決済情報送信部は、前記暗号化部が暗号化した前記決済情報を仲介サーバに送信し、前記仲介サーバの決済要求部は、前記顧客端末から取得した決済情報を前記決済サーバに転送し、前記決済サーバの決済管理部は、前記仲介サーバから転送された決済情報に基づいてユーザ認証を実行する。 A third aspect of the present invention is a store terminal installed in a store, a customer terminal possessed by a customer who uses the store, and a first payment business operator that can be used in the store and the customer terminal can be used. A payment processing system including a payment server managed by a first payment business operator different from a second payment business operator, and an intermediation server. In this system, the store terminal comprises a token requesting section and a display control section, the settlement server comprises a token transmission section and a settlement management section, and the customer terminal comprises a code reading section, a settlement information transmission section, and an encryption unit, and the mediation server has a payment request unit. The token requesting unit of the store terminal transmits a payment token acquisition request to the payment server, and the token transmission unit of the payment server sends a request for obtaining a payment token to the payment server, and the token transmission unit of the payment server sends a The associated payment token is transmitted to the store terminal, the display control unit of the store terminal causes the display unit to display the payment code generated based on the payment token, and the code reading unit of the customer terminal , the payment code displayed on the display unit of the store terminal is read, and the encryption unit of the customer terminal converts the payment information including the payment token and the payment amount into the encryption used by the payment server. The payment information transmission unit of the customer terminal transmits the payment information encrypted by the encryption unit to the intermediation server, and the payment request unit of the intermediation server transmits the payment information obtained from the customer terminal. is transferred to the payment server, and the payment management unit of the payment server executes user authentication based on the payment information transferred from the mediation server.

本発明によれば、ユーザが電子決済の種別を意識せずに決済を行えるようにする技術を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the technique which enables a user to make a payment without being conscious of the type of electronic payment can be provided.

第1の実施の形態に係る決済処理システムの事前登録処理を説明するための図である。It is a figure for demonstrating the pre-registration process of the payment processing system which concerns on 1st Embodiment. 第1の実施の形態に係る決済処理システムが備える各装置の機能構成を模式的に示す図である。It is a figure which shows typically the functional structure of each apparatus with which the payment processing system which concerns on 1st Embodiment is provided. 第1の実施の形態に係る決済処理システムが実行する決済処理を説明するための図である。4 is a diagram for explaining payment processing executed by the payment processing system according to the first embodiment; FIG. 第1の実施の形態に係る記憶部が記憶する決済用トークンデータベースのデータ構造を模式的に示す図である。4 is a diagram schematically showing the data structure of a payment token database stored in a storage unit according to the first embodiment; FIG. 第1の実施の形態の第1の変形例に係る決済処理システムが実行する決済処理を説明するための図である。It is a figure for demonstrating the payment processing which the payment processing system based on the 1st modification of 1st Embodiment performs. 第1の実施の形態の第2の変形例に係る決済処理システムが実行する決済処理を説明するための図である。It is a figure for demonstrating the payment processing which the payment processing system based on the 2nd modification of 1st Embodiment performs. 第1の実施の形態の第3の変形例に係る決済処理システムが実行する決済処理を説明するための図である。It is a figure for demonstrating the payment processing which the payment processing system based on the 3rd modification of 1st Embodiment performs. 第1の実施の形態の第4の変形例に係る決済処理システムが実行する決済処理を説明するための図である。It is a figure for demonstrating the payment processing which the payment processing system based on the 4th modification of 1st Embodiment performs. 第1の実施の形態の第5の変形例に係る決済処理システムが実行する決済処理を説明するための図である。It is a figure for demonstrating the payment processing which the payment processing system based on the 5th modification of 1st Embodiment performs. 第1の実施の形態の第6の変形例に係る決済処理システムが実行する決済処理を説明するための図である。It is a figure for demonstrating the payment processing which the payment processing system based on the 6th modification of 1st Embodiment performs. 第2の実施の形態に係る決済処理システムが備える各装置の機能構成を模式的に示す図である。It is a figure which shows typically the functional structure of each apparatus with which the payment processing system which concerns on 2nd Embodiment is provided. 第2の実施の形態に係る決済処理システムが実行する決済処理を説明するための図である。FIG. 10 is a diagram for explaining payment processing executed by a payment processing system according to a second embodiment; FIG.

[第1の実施の形態]
<第1の実施の形態の概要>
第1の実施の形態の概要を述べる。第1の実施の形態に係る仲介サーバは、QRコード等を利用した電子決済の仲介をする装置である。第1の実施の形態に係る仲介サーバは、電子決済をしようとするユーザが用いるユーザ端末と、ユーザが利用する店舗に設置されている店舗端末と、ユーザが利用可能な決済事業者の決済サーバと、店舗が利用可能な決済事業者の決済サーバとの4者の間における情報のやり取りを仲介する。
[First embodiment]
<Outline of the first embodiment>
An outline of the first embodiment will be described. The mediation server according to the first embodiment is a device that mediates electronic payment using QR codes or the like. The intermediation server according to the first embodiment includes a user terminal used by a user who wishes to make an electronic payment, a store terminal installed in a store used by the user, and a settlement server of a settlement company available to the user. and a settlement server of a settlement company that can be used by the store.

ここで、コードを利用した電子決済の技術は、店舗を利用するユーザのユーザ端末に表示されたコードを店舗端末が読み取って決済サーバに送信する方式(以下、「ユーザ提示方式」と記載する。)と、店舗端末に表示されたコードをユーザ端末が読み取って決済サーバに送信する方式(以下、「店舗提示方式」と記載する。)との大きく分けて2種類の方式が存在する。 Here, the technique of electronic payment using a code is a method in which the store terminal reads the code displayed on the user terminal of the user who uses the store and transmits it to the settlement server (hereinafter referred to as "user presentation method". ), and a method in which a user terminal reads a code displayed on a store terminal and transmits the code to a settlement server (hereinafter referred to as a "store presentation method").

以下、第1の実施の形態において、コードを表示する端末のユーザを「第1ユーザ」、第1ユーザが利用する端末を「第1ユーザ端末」、第1ユーザが契約している決済事業者を「第1決済事業者」、第1決済事業者が管理している決済サーバを「第1決済サーバ」と記載する。また、第1ユーザ端末が表示するコードを読み取る端末を「第2ユーザ端末」、第2ユーザ端末を利用するユーザを「第2ユーザ」、第2ユーザが契約している決済事業者を「第2決済事業者」、第2決済事業者が管理している決済サーバを「第2決済サーバ」と記載する。 Hereinafter, in the first embodiment, the user of the terminal that displays the code is the "first user", the terminal used by the first user is the "first user terminal", and the settlement operator contracted by the first user is referred to as the "first payment operator", and the payment server managed by the first payment operator is referred to as the "first payment server". In addition, the terminal that reads the code displayed by the first user terminal is the "second user terminal", the user who uses the second user terminal is the "second user", and the settlement operator contracted by the second user is the "second user terminal". 2 payment business operator”, and the payment server managed by the second payment business operator is referred to as the “second payment server”.

したがって、ユーザ提示方式の決済システムでは、店舗を利用するユーザのユーザ端末が第1ユーザ端末となり、ユーザが利用している店舗に設置されている店舗端末が第2ユーザ端末となる。この場合、第2ユーザは店舗の経営者等になる。また、店舗提示方式の決済システムでは、店舗を利用するユーザのユーザ端末が第2ユーザ端末となり、ユーザが利用している店舗に設置されている店舗端末が第1ユーザ端末となる。 Therefore, in the user-presentation payment system, the user terminal of the user who uses the store is the first user terminal, and the store terminal installed at the store used by the user is the second user terminal. In this case, the second user will be a store manager or the like. Further, in the store presentation method payment system, the user terminal of the user who uses the store is the second user terminal, and the store terminal installed at the store used by the user is the first user terminal.

一般に、ある電子決済の決済事業者が決済のために各ユーザ端末とやり取りする情報は、各決済事業者が個別に用いる暗号鍵で暗号化される。したがって、第1決済事業者と第2決済事業者とが異なる場合、第1決済事業者との通信のために第1事業者が用いる暗号鍵で暗号化された決済情報を第2決済事業者が受信しても、第2決済事業者は決済処理をすることは通常できない。 In general, information exchanged with each user terminal for settlement by a certain electronic settlement company is encrypted with an encryption key used individually by each settlement company. Therefore, if the first payment business operator and the second payment business operator are different, the payment information encrypted with the encryption key used by the first business operator for communication with the first payment business operator will be sent to the second payment business operator. is received by the second payment business operator, it is usually not possible to process the payment.

第1の実施の形態に係る仲介サーバは、あらかじめ複数の決済事業者から各決済事業者が用いる暗号鍵を取得し、各社が通信時に用いる暗号化された情報を読み取ることができるように構成されている。このため、第1の実施の形態に係る仲介サーバは、第1ユーザ端末が送信した第1決済サーバ用のトークンを含む決済情報を受信してその内容を読み取り、第2決済サーバに決済情報を転送することができる。 The intermediation server according to the first embodiment is configured so that it can obtain encryption keys used by each payment business operator from a plurality of payment business operators in advance, and can read encrypted information used by each company during communication. ing. Therefore, the intermediation server according to the first embodiment receives the payment information including the token for the first payment server transmitted by the first user terminal, reads the content of the payment information, and sends the payment information to the second payment server. can be transferred.

このように、第1の実施の形態に係る仲介サーバは、電子決済をしようとするユーザが契約している電子決済の決済事業者と、ユーザが利用する店舗が契約している決済事業者とが異なっても、両者の間を仲介して決済処理を実現させることができる。したがって、第1の実施の形態に係る仲介サーバは、ユーザが電子決済の種別を意識せずに決済を行えるようにすることができる。 As described above, the intermediary server according to the first embodiment can connect the electronic payment settlement business operator contracted by the user who intends to make electronic payment and the payment business operator contracted by the store used by the user. are different, the settlement process can be realized by mediating between them. Therefore, the mediation server according to the first embodiment can enable the user to make payments without being aware of the type of electronic payment.

<事前登録処理>
図1は、第1の実施の形態に係る決済処理システムSの事前登録処理を説明するための図である。なお、以下では説明の便宜のため、決済処理システムSがユーザ提示方式の決済を処理するシステムであることを前提として主に説明する。
<Pre-registration process>
FIG. 1 is a diagram for explaining pre-registration processing of the payment processing system S according to the first embodiment. For convenience of explanation, the following description is mainly based on the premise that the payment processing system S is a system that processes payment according to the user presentation method.

図1に示すように、第1の実施の形態に係る決済処理システムSは、第1ユーザU1が利用する端末である第1ユーザ端末T1、第1ユーザU1が利用する店舗Rに設置されている端末である第2ユーザ端末T2、第1ユーザU1が契約している決済事業者が管理する決済サーバQである第1決済サーバQ1、店舗Rの経営者である第2ユーザU2が契約している決済事業者の決済サーバQである第2決済サーバQ2、及び仲介サーバMを含んでいる。 As shown in FIG. 1, the payment processing system S according to the first embodiment is installed in a first user terminal T1, which is a terminal used by a first user U1, and a store R used by the first user U1. a second user terminal T2 which is a terminal where the first user U1 has a contract; It includes a second settlement server Q2, which is a settlement server Q of a settlement business operator Q, and an intermediary server M.

以下、図1を参照して第1の実施の形態に係る決済処理システムSの事前登録処理を(1)から(5)の順序で説明するが、この数字は図1における(1)から(5)と対応する。 Hereinafter, the pre-registration processing of the payment processing system S according to the first embodiment will be described in the order of (1) to (5) with reference to FIG. 5).

(1)第2ユーザU2は、第2決済事業者が提供する電子決済サービスを利用するために、第2決済事業者が管理する第2決済サーバQ2にユーザ登録を行う。これにより、第2ユーザU2は、第2決済サーバQ2が管理している電子決済用の口座を開設する。
(2)第2ユーザU2は、仲介サーバMにユーザ登録を行う。
(1) The second user U2 performs user registration with the second payment server Q2 managed by the second payment business operator in order to use the electronic payment service provided by the second payment business operator. Thereby, the second user U2 opens an account for electronic payment managed by the second payment server Q2.
(2) The second user U2 performs user registration with the mediation server M.

(3)第2決済事業者は仲介サーバMに事業者登録を行い、第2決済事業者が通信時に情報を暗号化するための暗号鍵を仲介サーバMに提供する。
(4)第1決済事業者は仲介サーバMに事業者登録を行い、第1決済事業者が通信時に情報を暗号化するための暗号鍵を仲介サーバMに提供する。
(5)第1ユーザU1は、第1決済事業者が提供する電子決済サービスを利用するために、第1決済事業者が管理する第1決済サーバQ1にユーザ登録を行う。これにより、第1ユーザU1は、第1決済サーバQ1が管理している電子決済用の口座を開設する。
(3) The second payment business operator performs business registration with the mediation server M, and provides the mediation server M with an encryption key for the second payment business operator to encrypt information during communication.
(4) The first settlement business operator performs business registration with the mediation server M, and provides the mediation server M with an encryption key for the first payment business operator to encrypt information during communication.
(5) The first user U1 performs user registration with the first payment server Q1 managed by the first payment business operator in order to use the electronic payment service provided by the first payment business operator. Thereby, the first user U1 opens an account for electronic payment managed by the first payment server Q1.

ここで「決済用トークン」は、第1ユーザU1が第1決済サーバQ1で決済しようとするときに、第1決済サーバQ1が第1ユーザU1の第1ユーザ端末T1に送信するランダムな文字列である。第1決済サーバQ1は、各第1ユーザU1に送信する決済用トークンが重複しないように各決済用トークンを生成する。第1決済サーバQ1は、第1ユーザ端末T1からの要求があったときに決済用トークンを生成して第1ユーザU1のユーザ識別子と紐づけて記憶部に格納する。 Here, the "payment token" is a random character string that the first payment server Q1 transmits to the first user terminal T1 of the first user U1 when the first user U1 tries to make a payment with the first payment server Q1. is. The first payment server Q1 generates each payment token so that the payment tokens to be transmitted to each first user U1 do not overlap. The first payment server Q1 generates a payment token upon receiving a request from the first user terminal T1, associates it with the user identifier of the first user U1, and stores it in the storage unit.

ここで、第1決済サーバQ1は、発行する各決済用トークンに有効期限を定める。第1決済サーバQ1は、有効期限が切れた決済用トークンを、記憶部から削除する。有効期限は、決済に求められる安全性等を考慮して定めればよいが、例えば数分から数十分である。 Here, the first payment server Q1 sets an expiration date for each payment token it issues. The first payment server Q1 deletes the expired payment token from the storage unit. The validity period may be determined in consideration of the security required for settlement, and is, for example, several minutes to several tens of minutes.

第1ユーザ端末T1が決済用トークンに基づいて決済用コード(例えば、QRコードやバーコード等の画像)を生成し、第1ユーザ端末T1の表示部に表示する。この決済用コードを第2ユーザ端末T2が読み取って決済金額とともに第1決済サーバQ1に送信することができれば、第1決済サーバQ1は受信した決済用トークンに紐付けられているユーザ識別子から第1ユーザU1を特定することができる。第1ユーザU1を特定できれば、第1決済サーバQ1は、第2ユーザ端末T2から受信した決済金額で第1ユーザU1の口座から決済をすることができる。 The first user terminal T1 generates a payment code (for example, an image such as a QR code or barcode) based on the payment token, and displays it on the display section of the first user terminal T1. If the second user terminal T2 can read this payment code and transmit it together with the payment amount to the first payment server Q1, the first payment server Q1 will select the first payment code from the user identifier linked to the received payment token. User U1 can be identified. If the first user U1 can be identified, the first payment server Q1 can make a payment from the account of the first user U1 with the payment amount received from the second user terminal T2.

ところが、第2ユーザU2が第1決済事業者の電子決済サービスを利用するためのユーザ登録を行っていない場合、第1ユーザ端末T1が表示部に表示した決済用コードを第2ユーザ端末T2が読み取っても、決済情報を第1決済サーバQ1に送信する術がない。 However, if the second user U2 has not registered as a user to use the electronic payment service of the first payment business operator, the payment code displayed on the display unit by the first user terminal T1 is displayed on the second user terminal T2. Even if it is read, there is no way to send the payment information to the first payment server Q1.

また、一般に、ユーザ端末Tと決済サーバQとの間では暗号化された情報がやり取りされるが、各決済サーバQが情報の暗号化に用いる暗号鍵は互いに異なる。したがって、第2ユーザU2が第1決済事業者の電子決済サービスを利用するための加盟店登録を行っていない場合、第1ユーザ端末T1が表示部に表示した決済用コードを第2ユーザ端末T2が読み取っても、第2ユーザ端末T2は第1決済サーバQ1が用いる暗号鍵を持っていないため、第1決済サーバQ1で解読できるように決済用コードを暗号化することができない。 In general, encrypted information is exchanged between the user terminal T and the settlement server Q, but the cryptographic keys used by each settlement server Q to encrypt the information are different from each other. Therefore, if the second user U2 has not registered as a member store for using the electronic payment service of the first payment business operator, the payment code displayed on the display by the first user terminal T1 is transferred to the second user terminal T2. is read, the second user terminal T2 does not have the encryption key used by the first settlement server Q1, so the settlement code cannot be encrypted so that the first settlement server Q1 can decrypt it.

そこで、仲介サーバMは、第2ユーザ端末T2と第1決済サーバQ1との間の情報の送受信を仲介し、第2ユーザ端末T2から受信した情報を第1決済サーバQ1が扱える情報に変換して第1決済サーバQ1に送信する。これにより、仲介サーバMは、第1ユーザU1が契約している電子決済の種別と第2ユーザU2が契約している電子決済の種別とが異なっても、電子決済を実現させることができる。 Therefore, the mediation server M mediates transmission and reception of information between the second user terminal T2 and the first settlement server Q1, and converts the information received from the second user terminal T2 into information that can be handled by the first settlement server Q1. to the first settlement server Q1. Thus, the mediation server M can realize electronic payment even if the type of electronic payment contracted by the first user U1 is different from the type of electronic payment contracted by the second user U2.

<第1の実施の形態に係る決済処理システムSの機能構成>
図2は、第1の実施の形態に係る決済処理システムSが備える各装置の機能構成を模式的に示す図である。決済処理システムSは、第1ユーザ端末T1、第2ユーザ端末T2、仲介サーバM、第1決済サーバQ1、及び第2決済サーバQ2を備え、これらは通信ネットワークNを介して通信可能な態様で接続している。第1ユーザ端末T1は、記憶部10と制御部11とを備える。第2ユーザ端末T2も、記憶部20と制御部21とを備える。同様に、仲介サーバMは記憶部30と制御部31とを備え、第1決済サーバQ1は記憶部40と制御部41とを備え、第2決済サーバQ2は記憶部50と制御部51とを備える。
<Functional configuration of payment processing system S according to first embodiment>
FIG. 2 is a diagram schematically showing the functional configuration of each device included in the payment processing system S according to the first embodiment. The payment processing system S includes a first user terminal T1, a second user terminal T2, an intermediary server M, a first payment server Q1, and a second payment server Q2, which are communicable via a communication network N. Connected. The first user terminal T1 has a storage unit 10 and a control unit 11 . The second user terminal T2 also has a storage unit 20 and a control unit 21 . Similarly, the mediation server M has a storage unit 30 and a control unit 31, the first settlement server Q1 has a storage unit 40 and a control unit 41, and the second settlement server Q2 has a storage unit 50 and a control unit 51. Prepare.

図2において、矢印は主なデータの流れを示しており、図2に示していないデータの流れがあってもよい。図2において、各機能ブロックはハードウェア(装置)単位の構成ではなく、機能単位の構成を示している。各機能ブロック間のデータの授受は、データバス、ネットワーク、可搬記憶媒体等、任意の手段を介して行われてもよい。 In FIG. 2, arrows indicate main data flows, and there may be data flows not shown in FIG. In FIG. 2, each functional block does not show the configuration in units of hardware (apparatus), but the configuration in units of functions. Data exchange between functional blocks may be performed via any means such as a data bus, network, portable storage medium, or the like.

記憶部10は、第1ユーザ端末T1を実現するコンピュータのBIOS(Basic Input Output System)等を格納するROM(Read Only Memory)や第1ユーザ端末T1の作業領域となるRAM(Random Access Memory)、OS(Operating System)やアプリケーションプログラム、当該アプリケーションプログラムの実行時に参照される種々の情報を格納するHDD(Hard Disk Drive)やSSD(Solid State Drive)等の大容量記憶装置である。 The storage unit 10 includes a ROM (Read Only Memory) that stores the BIOS (Basic Input Output System) of the computer that implements the first user terminal T1, etc., a RAM (Random Access Memory) that serves as a work area for the first user terminal T1, It is a large-capacity storage device such as a HDD (Hard Disk Drive) or an SSD (Solid State Drive) that stores an OS (Operating System), application programs, and various information referred to when the application programs are executed.

制御部11は、第1ユーザ端末T1のCPU(Central Processing Unit)やGPU(Graphics Processing Unit)等のプロセッサであり、記憶部10に記憶されたプログラムを実行することによってトークン要求部110及び表示制御部111として機能する。 The control unit 11 is a processor such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit) of the first user terminal T1, and executes a program stored in the storage unit 10 to control the token request unit 110 and display control. It functions as part 111 .

同様に、記憶部20は、第2ユーザ端末T2を実現するコンピュータのBIOS等を格納するROMや第2ユーザ端末T2の作業領域となるRAM、OSやアプリケーションプログラム、当該アプリケーションプログラムの実行時に参照される種々の情報を格納するHDDやSSD等の大容量記憶装置である。制御部21は、第2ユーザ端末T2のCPUやGPU等のプロセッサであり、記憶部20に記憶されたプログラムを実行することによってコード読取部210及び決済情報送信部211として機能する。 Similarly, the storage unit 20 includes a ROM that stores the BIOS and the like of the computer that implements the second user terminal T2, a RAM that serves as a work area for the second user terminal T2, an OS, an application program, and a memory that is referred to when the application program is executed. It is a large-capacity storage device such as an HDD or an SSD that stores various types of information. The control unit 21 is a processor such as a CPU or GPU of the second user terminal T2 and functions as a code reading unit 210 and a payment information transmitting unit 211 by executing programs stored in the storage unit 20 .

記憶部30は、仲介サーバMを実現するコンピュータのBIOS等を格納するROMや仲介サーバMの作業領域となるRAM、OSやアプリケーションプログラム、当該アプリケーションプログラムの実行時に参照される種々の情報を格納するHDDやSSD等の大容量記憶装置である。制御部31は、仲介サーバMのCPUやGPU等のプロセッサであり、記憶部30に記憶されたプログラムを実行することによって決済情報受信部310、決済要求部311、及び通知部312として機能する。 The storage unit 30 stores a ROM that stores the BIOS and the like of a computer that implements the mediation server M, a RAM that serves as a work area for the mediation server M, an OS, application programs, and various information that is referred to when the application programs are executed. It is a large-capacity storage device such as an HDD or an SSD. The control unit 31 is a processor such as a CPU or GPU of the mediation server M, and functions as a payment information receiving unit 310 , a payment requesting unit 311 and a notification unit 312 by executing programs stored in the storage unit 30 .

記憶部40は、第1決済サーバQ1を実現するコンピュータのBIOS等を格納するROMや仲介サーバMの作業領域となるRAM、OSやアプリケーションプログラム、当該アプリケーションプログラムの実行時に参照される種々の情報を格納するHDDやSSD等の大容量記憶装置である。制御部41は、第1決済サーバQ1のCPUやGPU等のプロセッサであり、記憶部40に記憶されたプログラムを実行することによってトークン送信部410、決済管理部411、及び精算管理部412として機能する。 The storage unit 40 stores a ROM that stores the BIOS and the like of the computer that implements the first settlement server Q1, a RAM that serves as a work area for the mediation server M, an OS, application programs, and various information that is referred to when the application programs are executed. It is a large-capacity storage device such as an HDD or SSD for storing. The control unit 41 is a processor such as a CPU or GPU of the first payment server Q1, and functions as a token transmission unit 410, a payment management unit 411, and a settlement management unit 412 by executing programs stored in the storage unit 40. do.

記憶部50は、第2決済サーバQ2を実現するコンピュータのBIOS等を格納するROMや仲介サーバMの作業領域となるRAM、OSやアプリケーションプログラム、当該アプリケーションプログラムの実行時に参照される種々の情報を格納するHDDやSSD等の大容量記憶装置である。制御部51は、第2決済サーバQ2のCPUやGPU等のプロセッサであり、記憶部50に記憶されたプログラムを実行することによってトークン送信部510、決済管理部511、及び精算管理部512として機能する。 The storage unit 50 stores a ROM that stores the BIOS and the like of the computer that implements the second settlement server Q2, a RAM that serves as a work area for the mediation server M, an OS, application programs, and various information that is referred to when the application programs are executed. It is a large-capacity storage device such as an HDD or SSD for storing. The control unit 51 is a processor such as a CPU or GPU of the second payment server Q2, and functions as a token transmission unit 510, a payment management unit 511, and a settlement management unit 512 by executing programs stored in the storage unit 50. do.

図3は、第1の実施の形態に係る決済処理システムSが実行する決済処理を説明するための図である。以下、図2及び図3を参照しながら、第1の実施の形態に係る決済処理システムSが実行する決済処理を(1)から(13)の順序で説明するが、この数字は図3における(1)から(13)と対応する。 FIG. 3 is a diagram for explaining payment processing executed by the payment processing system S according to the first embodiment. 2 and 3, the payment processing executed by the payment processing system S according to the first embodiment will be described in the order of (1) to (13). Corresponds to (1) to (13).

(1)第1ユーザ端末T1のトークン要求部110は、第1ユーザU1が利用可能な第1決済事業者が管理する第1決済サーバQ1に、決済用トークンの取得要求を送信する。
(2)第1決済サーバQ1のトークン送信部410は、第1ユーザ端末T1から取得した取得要求に応答して、第1決済事業者を特定するための第1事業者識別子が関連付けられたトークンを生成して第1ユーザ端末T1に送信する。トークン送信部410は、第1ユーザ端末T1に送信した決済用トークンを、第1ユーザU1を特定するための第1ユーザ識別子と紐づけて記憶部40に記憶させる。なお、第1決済サーバQ1は、第1ユーザ端末T1のトークン要求部110からトークンの要求があったとき、又はトークンの要求に先立って、第1ユーザ端末T1を用いるユーザのユーザ認証を実行する。このユーザ認証が成功することを条件として、第1決済サーバQ1のトークン送信部410は、決済用トークンを生成する。
(1) The token requesting unit 110 of the first user terminal T1 transmits a payment token acquisition request to the first payment server Q1 managed by the first payment business operator that is available to the first user U1.
(2) In response to the acquisition request acquired from the first user terminal T1, the token transmission unit 410 of the first payment server Q1 sends a token associated with the first business operator identifier for specifying the first payment business operator. is generated and transmitted to the first user terminal T1. The token transmission unit 410 causes the storage unit 40 to store the payment token transmitted to the first user terminal T1 in association with the first user identifier for identifying the first user U1. The first settlement server Q1 executes user authentication of the user using the first user terminal T1 when a token request is received from the token requesting unit 110 of the first user terminal T1 or prior to the token request. . On the condition that this user authentication succeeds, the token transmission unit 410 of the first payment server Q1 generates a payment token.

図4は、第1の実施の形態に係る記憶部40が記憶する決済用トークンデータベースのデータ構造を模式的に示す図である。決済用トークンデータベースは、各ユーザ識別子、決済用トークン、及び有効期限を紐づけて格納している。 FIG. 4 is a diagram schematically showing the data structure of the payment token database stored in the storage unit 40 according to the first embodiment. The payment token database associates and stores each user identifier, payment token, and expiration date.

図4に示す決済用トークンデータベースは、第1決済サーバQ1の記憶部40に格納されている。図4に示すように、決済用トークンは基本的にランダムな文字列であるが先頭の3つの文字はすべて共通の「001」という文字列である。この文字列は第1事業者識別子に対応する。このように、図4に示す例では、決済用トークンに事業者識別子を含める形で決済用トークンと事業者識別子とが関連付けられている。これにより、決済用トークンを取得した装置は、どの決済サーバQが扱う決済用トークンであるかを判別することができる。 The payment token database shown in FIG. 4 is stored in the storage unit 40 of the first payment server Q1. As shown in FIG. 4, the payment token is basically a random character string, but the first three characters are all the common character string "001". This string corresponds to the first operator identifier. Thus, in the example shown in FIG. 4, the payment token and the business identifier are associated in such a manner that the payment token includes the business identifier. As a result, the device that has acquired the payment token can determine which payment server Q handles the payment token.

図3の説明に戻る。
(3)第1ユーザ端末T1の表示制御部111は、第1決済サーバQ1から受信した決済用トークンに基づいて生成した決済用コードを、第1ユーザ端末T1の表示部に表示させる。
(4)第2ユーザ端末T2のコード読取部210は、第1ユーザ端末T1の表示部に表示された決済用コードを読み取って決済用トークンを取得する。
Returning to the description of FIG.
(3) The display control unit 111 of the first user terminal T1 causes the display unit of the first user terminal T1 to display the payment code generated based on the payment token received from the first payment server Q1.
(4) The code reading section 210 of the second user terminal T2 reads the payment code displayed on the display section of the first user terminal T1 to obtain a payment token.

(5)第2ユーザ端末T2の決済情報送信部211は、コード読取部210が読み取って取得した決済用トークンと、第2ユーザ端末T2を利用する第2ユーザU2を特定するための第2ユーザ識別子と、第2ユーザU2が利用可能な第2決済事業者を特定するための第2事業者識別子と、決済金額と、を含む決済情報を仲介サーバMに送信する。 (5) The payment information transmission unit 211 of the second user terminal T2 transmits the payment token read and acquired by the code reading unit 210 and the second user for specifying the second user U2 who uses the second user terminal T2. The payment information including the identifier, the second business operator identifier for specifying the second payment business operator that can be used by the second user U2, and the payment amount is transmitted to the mediation server M.

(6)仲介サーバMの決済情報受信部310は、第2ユーザ端末T2から決済情報を受信する。
(7)仲介サーバMの決済要求部311は、決済情報受信部310が受信した決済情報に含まれる決済用トークンから取得した第1事業者識別子で特定される第1決済事業者の第1決済サーバQ1に、決済用トークンと決済金額とを送信する。
(6) The payment information receiving unit 310 of the mediation server M receives payment information from the second user terminal T2.
(7) The payment request unit 311 of the intermediation server M makes the first payment of the first payment business operator identified by the first business operator identifier acquired from the payment token included in the payment information received by the payment information reception unit 310. The payment token and the payment amount are transmitted to the server Q1.

(8)第1決済サーバQ1の決済管理部411は、第1ユーザ端末T1に送信した決済用トークンと仲介サーバMから受信した決済用トークンとが一致するか否かを判定することにより、ユーザ認証を実行する。第1決済サーバQ1の決済管理部411は、第1ユーザ端末T1に送信した決済用トークンと仲介サーバMから受信した決済用トークンとが一致することを条件として、仲介サーバMから受信した決済用トークンに紐付けられている第1ユーザ識別子を記憶部40から取得し、第1ユーザ識別子で特定される第1ユーザU1の口座の残金で決済金額を決済できるか否かを判定し、結果を決済承認に関する情報として仲介サーバMに通知する。 (8) The settlement management unit 411 of the first settlement server Q1 determines whether or not the settlement token transmitted to the first user terminal T1 and the settlement token received from the mediation server M match each other. perform authentication. The payment management unit 411 of the first payment server Q1 receives the payment token received from the intermediation server M on the condition that the payment token transmitted to the first user terminal T1 and the payment token received from the intermediation server M match. The first user identifier linked to the token is acquired from the storage unit 40, it is determined whether or not the settlement amount can be settled with the balance of the account of the first user U1 identified by the first user identifier, and the result is determined. It is notified to the intermediary server M as information related to settlement approval.

(9)仲介サーバMの決済要求部311は、第1ユーザU1の口座の残金で決済金額を決済できる場合、第2決済事業者が管理する第2決済サーバQ2に、第2ユーザ識別子と決済情報に含まれる決済金額の決済要求とを送信する。なお、第1ユーザU1の口座の残金で決済金額を決済できない場合、決済要求部311は決済処理を中止する。 (9) If the settlement amount can be settled with the balance of the account of the first user U1, the settlement request unit 311 of the intermediary server M sends the second user identifier and the settlement amount to the second settlement server Q2 managed by the second settlement operator. Send a payment request for the payment amount included in the information. Note that if the settlement amount cannot be settled with the balance of the account of the first user U1, the settlement requesting unit 311 stops the settlement processing.

(10)第2決済サーバQ2の決済管理部511は、仲介サーバMの決済要求部311から受信した第2ユーザ識別子に基づくユーザ認証が成功することを条件として、仲介サーバMから受信した決済金額で決済を実行する。具体的には、決済管理部511は、第2ユーザU2が開設している口座に決済金額に相当する額を振り込む。これは、第2決済サーバQ2が第1ユーザU1の支払いを立て替えていることになる。なお、ユーザ認証に失敗した場合、すなわち、第2ユーザU2が第2決済事業者にユーザ登録をしていない場合、第2決済サーバQ2の決済管理部511は決済処理を中止する。 (10) The settlement management unit 511 of the second settlement server Q2 sets the settlement amount received from the intermediary server M on condition that the user authentication based on the second user identifier received from the settlement request unit 311 of the intermediation server M is successful. to execute the payment. Specifically, the payment management unit 511 transfers an amount corresponding to the payment amount to the account opened by the second user U2. This means that the second settlement server Q2 is paying on behalf of the first user U1. If the user authentication fails, that is, if the second user U2 has not registered as a user with the second payment operator, the payment management unit 511 of the second payment server Q2 stops the payment processing.

(11)決済管理部511は、決済が完了したことを第2ユーザ端末T2に通知する。
(12)仲介サーバMの通知部312は、第2決済サーバQ2に決済要求を送信すると、決済が完了したことを第1ユーザ端末T1に通知する。
(11) The payment management unit 511 notifies the second user terminal T2 that the payment has been completed.
(12) After transmitting the payment request to the second payment server Q2, the notification unit 312 of the mediation server M notifies the first user terminal T1 that the payment has been completed.

(13)第2決済サーバQ2の精算管理部512は、第1決済サーバQ1の精算管理部412に精算要求を行う。この結果、第1決済サーバQ1が管理する第1ユーザU1の口座から決済金額に相当する額が第2決済サーバQ2に送金され、第2決済サーバQ2が立て替えた第1ユーザU1の支払いが精算される。なお、仲介サーバMは、第1決済サーバQ1と第2決済サーバQ2との間で行われる精算処理を仲介してもよい。例えば、仲介サーバMの図示しない精算仲介部が第2決済サーバQ2の精算管理部512から精算要求を受信し、第1決済サーバQ1の精算管理部412に転送してもよい。 (13) The settlement management unit 512 of the second settlement server Q2 issues a settlement request to the settlement management unit 412 of the first settlement server Q1. As a result, an amount corresponding to the settlement amount is transferred from the account of the first user U1 managed by the first settlement server Q1 to the second settlement server Q2, and the payment made by the second settlement server Q2 for the first user U1 is settled. be done. In addition, the mediation server M may mediate settlement processing performed between the first settlement server Q1 and the second settlement server Q2. For example, the unillustrated settlement mediation unit of the mediation server M may receive the settlement request from the settlement management unit 512 of the second settlement server Q2 and transfer it to the settlement management unit 412 of the first settlement server Q1.

このように、第1の実施の形態に係る仲介サーバMは、第1ユーザ端末T1、第2ユーザ端末T2、第1決済サーバQ1、及び第2決済サーバQ2の間で行われる決済処理を仲介する。これにより、仲介サーバMは、第1ユーザU1が契約している電子決済の種別と第2ユーザU2が契約している電子決済の種別とが異なっても、電子決済を実現させることができる。 As described above, the mediation server M according to the first embodiment mediates settlement processing performed between the first user terminal T1, the second user terminal T2, the first settlement server Q1, and the second settlement server Q2. do. Thus, the mediation server M can realize electronic payment even if the type of electronic payment contracted by the first user U1 is different from the type of electronic payment contracted by the second user U2.

<第1の実施の形態に係る仲介サーバMが奏する効果>
以上説明したように、実施の形態に係る仲介サーバMによれば、ユーザUが電子決済の種別を意識せずに決済を行えるようにすることができる。
<Effects of Intermediation Server M According to First Embodiment>
As described above, according to the intermediation server M according to the embodiment, the user U can make a payment without being aware of the type of electronic payment.

<第1の実施の形態の第1の変形例>
図5は、第1の実施の形態の第1の変形例に係る決済処理システムSが実行する決済処理を説明するための図である。第1の実施の形態の第1の変形例に係る決済処理システムSは、第1の実施の形態に係る決済処理システムSとは異なり、第1決済サーバQ1が決済情報に基づいて決済処理を実行する。
<First Modification of First Embodiment>
FIG. 5 is a diagram for explaining payment processing executed by the payment processing system S according to the first modification of the first embodiment. In the payment processing system S according to the first modification of the first embodiment, unlike the payment processing system S according to the first embodiment, the first payment server Q1 performs payment processing based on payment information. Run.

以下、図5を参照しながら、第1の実施の形態の第1の変形例に係る決済処理システムSが実行する決済処理を(1)から(12)の順序で説明するが、この数字は図5における(1)から(12)と対応する。なお、(1)から(7)までの処理は図3における(1)から(7)までの処理と同様であるため省略する。 Hereinafter, the payment processing executed by the payment processing system S according to the first modification of the first embodiment will be described in the order of (1) to (12) with reference to FIG. This corresponds to (1) to (12) in FIG. Note that the processing from (1) to (7) is the same as the processing from (1) to (7) in FIG. 3, and therefore will be omitted.

(8)第1決済サーバQ1の決済管理部411は、第1ユーザ端末T1に送信した決済用トークンと仲介サーバMから受信した決済用トークンとが一致するか否かを判定することにより、ユーザ認証を実行する。第1決済サーバQ1の決済管理部411は、第1ユーザ端末T1に送信した決済用トークンと仲介サーバMから受信した決済用トークンとが一致することを条件として、仲介サーバMから受信した決済用トークンに紐付けられている第1ユーザ識別子を記憶部40から取得し、第1ユーザ識別子で特定される第1ユーザU1の口座からの残金で決済金額を決済できるか否かを判定し、決済可能な場合は決済を実行して第1ユーザU1の口座から決済金額に相当する額を引き落とす。 (8) The settlement management unit 411 of the first settlement server Q1 determines whether or not the settlement token transmitted to the first user terminal T1 and the settlement token received from the mediation server M match each other. perform authentication. The payment management unit 411 of the first payment server Q1 receives the payment token received from the intermediation server M on the condition that the payment token transmitted to the first user terminal T1 and the payment token received from the intermediation server M match. The first user identifier linked to the token is acquired from the storage unit 40, and it is determined whether or not the balance of the account of the first user U1 specified by the first user identifier can be used to settle the settlement amount, and settlement is performed. If possible, the settlement is executed and the amount equivalent to the settlement amount is withdrawn from the account of the first user U1.

(9)第1決済サーバQ1の決済管理部411は、決済の結果を仲介サーバMに送信する。
(10)仲介サーバMの通知部312は、第1決済サーバQ1から受信した決済の結果を第2ユーザ端末T2に送信する。
(11)仲介サーバMの通知部312は、第1決済サーバQ1から受信した決済の結果を第1ユーザ端末T1に送信する。
(9) The settlement management unit 411 of the first settlement server Q1 transmits the settlement result to the mediation server M.
(10) The notification unit 312 of the mediation server M transmits the settlement result received from the first settlement server Q1 to the second user terminal T2.
(11) The notification unit 312 of the mediation server M transmits the settlement result received from the first settlement server Q1 to the first user terminal T1.

(12)第1決済サーバQ1の精算管理部412は、第2決済サーバQ2の精算管理部512に精算要求を行う。この結果、第1決済サーバQ1が管理する第1ユーザU1の口座から引き落とされた決済金額に相当する額が、第2決済サーバQ2が管理する第2ユーザU2の口座に振り込まれる。なお、仲介サーバMは、第1決済サーバQ1と第2決済サーバQ2との間で行われる精算処理を仲介してもよい。 (12) The settlement management unit 412 of the first settlement server Q1 issues a settlement request to the settlement management unit 512 of the second settlement server Q2. As a result, the amount equivalent to the settlement amount withdrawn from the account of the first user U1 managed by the first settlement server Q1 is transferred to the account of the second user U2 managed by the second settlement server Q2. In addition, the mediation server M may mediate settlement processing performed between the first settlement server Q1 and the second settlement server Q2.

このように、第1の実施の形態の第1の変形例に係る決済処理システムSは、第1の実施の形態に係る決済処理システムSと異なり、第1ユーザU1が利用可能な決済事業者の第1決済サーバQ1が決済処理を実行する。このため、第1の実施の形態の第1の変形例に係る決済処理システムSは、第1ユーザU1の口座に決済金額を決済するだけの残高が存在すれば、残高確認の結果を仲介サーバMに通知する処理を省略してすぐに決済処理が実行できるため、決済処理を迅速化することができる。 In this way, unlike the payment processing system S according to the first embodiment, the payment processing system S according to the first modification of the first embodiment is a payment operator that can be used by the first user U1. The first settlement server Q1 executes settlement processing. For this reason, the settlement processing system S according to the first modification of the first embodiment, if there is a balance sufficient for settlement of the settlement amount in the account of the first user U1, sends the result of the balance confirmation to the mediation server. Since the process of notifying M can be omitted and the settlement process can be executed immediately, the settlement process can be speeded up.

第1の実施の形態に係る決済処理システムSと、第1の実施の形態の第1の変形例に係る決済処理システムSとを考慮すると、仲介サーバMの決済要求部311は、第1決済サーバQ1と、第2決済サーバQ2とのいずれか一方の決済サーバQに、決済金額の決済要求を送信すればよいとも言える。決済要求を受信した一方の決済サーバQが決済処理を実行して、他方の決済サーバQに精算要求を送信することにより、決済処理システムSは、第1ユーザU1が契約している電子決済の種別と第2ユーザU2が契約している電子決済の種別とが異なっても、電子決済を実現させることができる。 Considering the payment processing system S according to the first embodiment and the payment processing system S according to the first modification of the first embodiment, the payment requesting unit 311 of the intermediary server M performs the first payment It can also be said that a payment request for the payment amount should be sent to either one of the server Q1 and the second payment server Q2. One settlement server Q that has received the settlement request executes settlement processing and transmits the settlement request to the other settlement server Q, whereby the settlement processing system S performs electronic settlement for which the first user U1 has a contract. Even if the type is different from the electronic payment type contracted by the second user U2, the electronic payment can be realized.

<第1の実施の形態の第2の変形例>
図6は、第1の実施の形態の第2の変形例に係る決済処理システムSが実行する決済処理を説明するための図である。第1の実施の形態の第2の変形例に係る決済処理システムSは、第1の実施の形態に係る決済処理システムSとは異なり、仲介サーバMは、第1ユーザ端末T1及び第1決済サーバQ1との間でやり取りする情報を第1決済サーバQ1が用いる暗号鍵で暗号化する。また、仲介サーバMは、第2ユーザ端末T2及び第2決済サーバQ2との間でやり取りする情報を第2決済サーバQ2が用いる暗号鍵で暗号化する。
<Second Modification of First Embodiment>
FIG. 6 is a diagram for explaining payment processing executed by the payment processing system S according to the second modification of the first embodiment. Unlike the payment processing system S according to the first embodiment, the payment processing system S according to the second modification of the first embodiment differs from the payment processing system S according to the first embodiment. Information exchanged with the server Q1 is encrypted with an encryption key used by the first settlement server Q1. In addition, the mediation server M encrypts information exchanged between the second user terminal T2 and the second settlement server Q2 with an encryption key used by the second settlement server Q2.

以下、図6を参照しながら、第1の実施の形態の第2の変形例に係る決済処理システムSが実行する決済処理を(1)から(14)の順序で説明するが、この数字は図6における(1)から(14)と対応する。なお、(1)の処理は、図3における(1)の処理と同様であるため省略する。 Hereinafter, the payment processing executed by the payment processing system S according to the second modification of the first embodiment will be described in the order of (1) to (14) with reference to FIG. This corresponds to (1) to (14) in FIG. Note that the processing of (1) is the same as the processing of (1) in FIG. 3, and therefore will be omitted.

(2)第1決済サーバQ1のトークン送信部410は、第1ユーザ端末T1から取得した取得要求に応答して、第1決済事業者を特定するための第1事業者識別子が関連付けられたトークンを生成し、生成した決済用トークンを第1決済サーバQ1が用いる暗号鍵で暗号化した上で第1ユーザ端末T1に送信する。トークン送信部410は、第1ユーザ端末T1に送信した決済用トークンを、第1ユーザU1を特定するための第1ユーザ識別子と紐づけて記憶部40に記憶させる。なお、第1決済サーバQ1は、第1ユーザ端末T1のトークン要求部110からトークンの要求があったとき、又はトークンの要求に先立って、第1ユーザ端末T1を用いるユーザのユーザ認証を実行する。このユーザ認証が成功することを条件として、第1決済サーバQ1のトークン送信部410は、決済用トークンを生成する。 (2) In response to the acquisition request acquired from the first user terminal T1, the token transmission unit 410 of the first payment server Q1 sends a token associated with the first business operator identifier for specifying the first payment business operator. is generated, and the generated payment token is encrypted with the encryption key used by the first payment server Q1 and then transmitted to the first user terminal T1. The token transmission unit 410 causes the storage unit 40 to store the payment token transmitted to the first user terminal T1 in association with the first user identifier for identifying the first user U1. The first settlement server Q1 executes user authentication of the user using the first user terminal T1 when a token request is received from the token requesting unit 110 of the first user terminal T1 or prior to the token request. . On the condition that this user authentication succeeds, the token transmission unit 410 of the first payment server Q1 generates a payment token.

(3)第1ユーザ端末T1の表示制御部111は、第1決済サーバQ1から受信した暗号化された決済用トークンを復号し、得られた決済用トークンに基づいて生成した決済用コードを、第1ユーザ端末T1の表示部に表示させる。
(4)第2ユーザ端末T2のコード読取部210は、第1ユーザ端末T1の表示部に表示された決済用コードを読み取って決済用トークンを取得する。
(3) The display control unit 111 of the first user terminal T1 decrypts the encrypted payment token received from the first payment server Q1, generates a payment code based on the obtained payment token, Displayed on the display unit of the first user terminal T1.
(4) The code reading section 210 of the second user terminal T2 reads the payment code displayed on the display section of the first user terminal T1 to obtain a payment token.

(5)第2ユーザ端末T2の決済情報送信部211は、コード読取部210が取得した決済用トークンと、第2ユーザ端末T2を利用する第2ユーザU2を特定するための第2ユーザ識別子と、第2ユーザU2が利用可能な第2決済事業者を特定するための第2事業者識別子と、決済金額とを含む決済情報を、第2決済サーバQ2が利用する暗号鍵で暗号化して仲介サーバMに送信する。 (5) The payment information transmission unit 211 of the second user terminal T2 transmits the payment token acquired by the code reading unit 210 and the second user identifier for specifying the second user U2 who uses the second user terminal T2. , a second business operator identifier for specifying a second payment business operator that can be used by the second user U2, and payment information including a payment amount, are encrypted with an encryption key used by the second payment server Q2, and act as an intermediary. Send to server M.

(6)仲介サーバMの決済情報受信部310は、暗号化された決済情報を第2ユーザ端末T2から受信する。
(7)決済情報受信部310は、第2ユーザ端末T2から受信した暗号化された決済情報を、第2決済サーバQ2が利用する暗号鍵を用いて復号する。
(6) The payment information receiving unit 310 of the mediation server M receives the encrypted payment information from the second user terminal T2.
(7) The payment information receiving unit 310 decrypts the encrypted payment information received from the second user terminal T2 using the encryption key used by the second payment server Q2.

(8)仲介サーバMの決済要求部311は、決済情報受信部310が受信した決済情報に含まれる決済用トークンから取得した第1事業者識別子で特定される第1決済事業者の第1決済サーバQ1に、決済用トークンと決済金額とを含む情報を第1決済サーバQ1が利用する暗号鍵で暗号化して送信する。 (8) The payment requesting unit 311 of the intermediary server M makes the first payment of the first payment business operator identified by the first business operator identifier acquired from the payment token included in the payment information received by the payment information receiving unit 310. Information including the payment token and the payment amount is encrypted with an encryption key used by the first payment server Q1 and transmitted to the server Q1.

(9)第1決済サーバQ1の決済管理部411は、第1ユーザ端末T1に送信した決済用トークンと仲介サーバMから受信した決済用トークンとが一致するか否かを判定することにより、ユーザ認証を実行する。第1決済サーバQ1の決済管理部411は、第1ユーザ端末T1に送信した決済用トークンと仲介サーバMから受信した決済用トークンとが一致することを条件として、仲介サーバMから受信した情報を復号して決済用トークンに紐付けられている第1ユーザ識別子を記憶部40から取得する。決済管理部411は、第1ユーザ識別子で特定される第1ユーザU1の口座の残金で決済金額を決済できるか否かを判定し、結果を暗号化して仲介サーバMに通知する。 (9) The payment management unit 411 of the first payment server Q1 determines whether the payment token sent to the first user terminal T1 and the payment token received from the intermediary server M match each other. perform authentication. The payment management unit 411 of the first payment server Q1 accepts the information received from the intermediation server M on the condition that the payment token sent to the first user terminal T1 and the payment token received from the intermediation server M match. After decryption, the first user identifier linked to the payment token is acquired from the storage unit 40 . The settlement management unit 411 determines whether the settlement amount can be settled with the balance of the account of the first user U1 identified by the first user identifier, encrypts the result, and notifies it to the mediation server M.

(10)仲介サーバMの決済要求部311は、決済管理部411から受け取った通知を第1決済サーバQ1が用いる暗号鍵で復号する。仲介サーバMの決済要求部311は、第1ユーザU1の口座の残金で決済金額を決済できる場合、第2決済事業者が管理する第2決済サーバQ2に、決済情報に含まれる決済金額の決済要求と第2ユーザ識別子とを第2決済サーバQ2が用いる暗号鍵で暗号化して送信する。 (10) The payment requesting unit 311 of the mediation server M decrypts the notification received from the payment management unit 411 using the encryption key used by the first payment server Q1. If the settlement amount can be settled with the balance of the account of the first user U1, the settlement request unit 311 of the intermediation server M requests the second settlement server Q2 managed by the second settlement operator to settle the settlement amount included in the settlement information. The request and the second user identifier are encrypted with an encryption key used by the second settlement server Q2 and transmitted.

(11)第2決済サーバQ2の決済管理部511は、仲介サーバMの決済要求部311から受信した第2ユーザ識別子に基づくユーザ認証が成功することを条件として、仲介サーバMから受信した情報を復号し、決済金額で決済を実行する。
(12)決済管理部511は、決済が完了したことを示す情報を第2決済サーバQ2が用いる暗号鍵で暗号化して第2ユーザ端末T2に通知する。
(11) The settlement management unit 511 of the second settlement server Q2 accepts the information received from the intermediation server M on condition that the user authentication based on the second user identifier received from the settlement request unit 311 of the intermediation server M is successful. Decrypt and execute payment with the payment amount.
(12) The settlement management unit 511 encrypts the information indicating that the settlement has been completed with the encryption key used by the second settlement server Q2, and notifies the second user terminal T2.

(13)仲介サーバMの通知部312は、第2決済サーバQ2に決済要求を送信すると、決済が完了したことを示す情報を第1決済サーバQ1が用いる暗号鍵で暗号化して第1ユーザ端末T1に通知する。
(14)第2決済サーバQ2の精算管理部512は、第1決済サーバQ1の精算管理部412に精算要求を行う。なお、仲介サーバMは、第1決済サーバQ1と第2決済サーバQ2との間で行われる精算処理を仲介してもよい。
(13) After transmitting the settlement request to the second settlement server Q2, the notification unit 312 of the intermediary server M encrypts the information indicating that the settlement has been completed with the encryption key used by the first settlement server Q1, and sends it to the first user terminal. Notify T1.
(14) The settlement management unit 512 of the second settlement server Q2 issues a settlement request to the settlement management unit 412 of the first settlement server Q1. In addition, the mediation server M may mediate settlement processing performed between the first settlement server Q1 and the second settlement server Q2.

このように、仲介サーバMは、第1ユーザ端末T1及び第1決済サーバQ1との間でやり取りする情報を第1決済サーバQ1が用いる暗号鍵で暗号化する。また、仲介サーバMは、第2ユーザ端末T2及び第2決済サーバQ2との間でやり取りする情報を第2決済サーバQ2が用いる暗号鍵で暗号化する。これより、仲介サーバMは、決済処理の安全性をより向上することができる。 In this way, the mediation server M encrypts the information exchanged between the first user terminal T1 and the first settlement server Q1 with the encryption key used by the first settlement server Q1. In addition, the mediation server M encrypts information exchanged between the second user terminal T2 and the second settlement server Q2 with an encryption key used by the second settlement server Q2. As a result, the mediation server M can further improve the security of settlement processing.

<第1の実施の形態の第3の変形例>
図7は、第1の実施の形態の第3の変形例に係る決済処理システムSが実行する決済処理を説明するための図である。第1の実施の形態の第3の変形例に係る決済処理システムSは、第1の実施の形態に係る決済処理システムSと異なり、第1決済サーバQ1は、生成した決済用トークンを仲介サーバMにも送信する。
<Third Modification of First Embodiment>
FIG. 7 is a diagram for explaining payment processing executed by the payment processing system S according to the third modification of the first embodiment. Unlike the payment processing system S according to the first embodiment, the payment processing system S according to the third modification of the first embodiment differs from the payment processing system S according to the first embodiment in that the first payment server Q1 transfers the generated payment token to the mediation server. Send to M.

以下、図7を参照しながら、第1の実施の形態の第3の変形例に係る決済処理システムSが実行する決済処理を(1)から(15)の順序で説明するが、この数字は図7における(1)から(15)と対応する。なお、(1)及び(2)の処理は、図3における(1)及び(2)の処理と同様であるため省略する。 Hereinafter, the payment processing executed by the payment processing system S according to the third modification of the first embodiment will be described in the order of (1) to (15) with reference to FIG. This corresponds to (1) to (15) in FIG. Note that the processes (1) and (2) are the same as the processes (1) and (2) in FIG. 3, so they are omitted.

(3)トークン送信部410は、生成した決済用トークンを仲介サーバMに送信する。
(4)第1ユーザ端末T1の表示制御部111は、第1決済サーバQ1から受信した決済用トークンに基づいて生成した決済用コードを、第1ユーザ端末T1の表示部に表示させる。
(5)第2ユーザ端末T2のコード読取部210は、第1ユーザ端末T1の表示部に表示された決済用コードを読み取って決済用トークンを取得する。
(3) The token transmission unit 410 transmits the generated payment token to the mediation server M.
(4) The display control unit 111 of the first user terminal T1 causes the display unit of the first user terminal T1 to display the payment code generated based on the payment token received from the first payment server Q1.
(5) The code reading section 210 of the second user terminal T2 reads the payment code displayed on the display section of the first user terminal T1 to obtain a payment token.

(6)第2ユーザ端末T2の決済情報送信部211は、コード読取部210が取得した決済用トークンと、第2ユーザ端末T2を利用する第2ユーザU2を特定するための第2ユーザ識別子と、第2ユーザU2が利用可能な第2決済事業者を特定するための第2事業者識別子と、決済金額と、を含む決済情報を仲介サーバMに送信する。 (6) The payment information transmission unit 211 of the second user terminal T2 transmits the payment token acquired by the code reading unit 210 and the second user identifier for specifying the second user U2 who uses the second user terminal T2. , payment information including a second business operator identifier for specifying a second payment business operator that can be used by the second user U2 and a payment amount.

(7)仲介サーバMの決済情報受信部310は、第2ユーザ端末T2から決済情報を受信する。
(8)仲介サーバMの決済要求部311は、第1決済サーバQ1から受信した決済用トークンと、第2ユーザ端末T2から受信した決済用トークンとが不一致の場合、決済処理を中止する。具体的には、決済要求部311は、第1決済サーバQ1から受信した決済用トークンのうち有効期限が切れていない決済用トークンのいずれかに、第2ユーザ端末T2から受信した決済用トークンが含まれていない場合に不一致と判断する。
(7) The payment information receiving unit 310 of the mediation server M receives payment information from the second user terminal T2.
(8) If the payment token received from the first payment server Q1 and the payment token received from the second user terminal T2 do not match, the payment request unit 311 of the mediation server M stops the payment process. Specifically, the payment request unit 311 adds the payment token received from the second user terminal T2 to any of the payment tokens that have not expired among the payment tokens received from the first payment server Q1. If it is not included, it is judged to be inconsistent.

(9)仲介サーバMの決済要求部311は、第1決済サーバQ1から受信した決済用トークンと、第2ユーザ端末T2から受信した決済用トークンとが一致する場合、決済用トークンと決済金額とを第1決済サーバQ1に送信する。 (9) If the payment token received from the first payment server Q1 and the payment token received from the second user terminal T2 match, the payment request unit 311 of the intermediation server M determines the payment token and the payment amount. to the first settlement server Q1.

(10)第1決済サーバQ1の決済管理部411は、仲介サーバMから受信した決済用トークンに紐付けられている第1ユーザ識別子を記憶部40から取得し、第1ユーザ識別子で特定される第1ユーザU1の口座の残金で決済金額を決済できるか否かを判定し、結果を仲介サーバMに通知する。 (10) The payment management unit 411 of the first payment server Q1 acquires from the storage unit 40 the first user identifier linked to the payment token received from the mediation server M, and is identified by the first user identifier. It is determined whether or not the settlement amount can be settled with the balance of the account of the first user U1, and the mediation server M is notified of the result.

(11)仲介サーバMの決済要求部311は、第1ユーザU1の口座の残金で決済金額を決済できる場合、第2決済事業者が管理する第2決済サーバQ2に、決済情報に含まれる決済金額の決済要求を送信する。
(12)第2決済サーバQ2の決済管理部511は、仲介サーバMから受信した決済金額で決済を実行する。具体的には、決済管理部511は、第2ユーザU2が開設している口座に決済金額に相当する額を振り込む。
(11) If the settlement amount can be settled with the balance of the account of the first user U1, the settlement request unit 311 of the intermediation server M sends the settlement amount included in the settlement information to the second settlement server Q2 managed by the second settlement operator. Submit a payment request for an amount.
(12) The settlement management unit 511 of the second settlement server Q2 executes settlement with the settlement amount received from the mediation server M. Specifically, the payment management unit 511 transfers an amount corresponding to the payment amount to the account opened by the second user U2.

(13)決済管理部511は、決済が完了したことを第2ユーザ端末T2に通知する。
(14)仲介サーバMの通知部312は、第2決済サーバQ2に決済要求を送信すると、決済が完了したことを第1ユーザ端末T1に通知する。
(13) The payment management unit 511 notifies the second user terminal T2 that the payment has been completed.
(14) After transmitting the payment request to the second payment server Q2, the notification unit 312 of the mediation server M notifies the first user terminal T1 that the payment has been completed.

(15)第2決済サーバQ2の精算管理部512は、第1決済サーバQ1の精算管理部412に精算要求を行う。この結果、第1決済サーバQ1が管理する第1ユーザU1の口座から決済金額に相当する額が第2決済サーバQ2に送金される。なお、仲介サーバMは、第1決済サーバQ1と第2決済サーバQ2との間で行われる精算処理を仲介してもよい。 (15) The settlement management unit 512 of the second settlement server Q2 issues a settlement request to the settlement management unit 412 of the first settlement server Q1. As a result, an amount equivalent to the settlement amount is transferred from the account of the first user U1 managed by the first settlement server Q1 to the second settlement server Q2. In addition, the mediation server M may mediate settlement processing performed between the first settlement server Q1 and the second settlement server Q2.

このように、第1の実施の形態の第3の変形例に係る仲介サーバMにおいて、決済要求部311は、第1決済サーバQ1から受信した決済用トークンと、第2ユーザ端末T2から受信した決済用トークンとが不一致の場合、決済処理を中止する。これにより、仲介サーバMは、第1決済サーバQ1が残高確認等の処理を実行することを抑制できるため、第1決済サーバQ1の負荷を軽減することができる。 Thus, in the mediation server M according to the third modification of the first embodiment, the payment request unit 311 receives the payment token received from the first payment server Q1 and the payment token received from the second user terminal T2. If the token for payment does not match, stop the payment process. As a result, the mediation server M can prevent the first settlement server Q1 from executing processes such as checking the balance, thereby reducing the load on the first settlement server Q1.

なお、第1決済サーバQ1は、第1ユーザ端末T1の決済用トークンの取得要求に応じて生成する決済用トークンに、第1事業者識別子を含めなくてもよい。この場合、仲介サーバMは、第1決済サーバQ1から決済用トークンを受信したとき、受信した決済用トークンを第1事業者識別子と関連付けて記憶部30に記憶する。仲介サーバMは、第2ユーザ端末T2から受信した決済情報に含まれる決済用トークンと一致する決済用トークンを記憶部30から読み出し、その決済用トークンに関連付けられている第1事業者識別子を取得することで、第1ユーザU1が利用可能な決済事業者を特定することができる。 Note that the first payment server Q1 may not include the first business operator identifier in the payment token generated in response to the payment token acquisition request from the first user terminal T1. In this case, when the mediation server M receives the payment token from the first payment server Q1, it stores the received payment token in the storage unit 30 in association with the first business operator identifier. The mediation server M reads from the storage unit 30 a payment token that matches the payment token included in the payment information received from the second user terminal T2, and acquires the first business operator identifier associated with the payment token. By doing so, it is possible to specify the payment service providers that can be used by the first user U1.

<第1の実施の形態に係る第4の変形例>
図8は、第1の実施の形態の第4の変形例に係る決済処理システムSが実行する決済処理を説明するための図である。第1の実施の形態の第4の変形例に係る決済処理システムSは、第1の実施の形態に係る決済処理システムSと異なり、決済用コードを読み取った第2ユーザ端末T2は、決済情報を仲介サーバMではなく第2決済サーバQ2に送信する。
<Fourth Modification of First Embodiment>
FIG. 8 is a diagram for explaining payment processing executed by the payment processing system S according to the fourth modification of the first embodiment. The payment processing system S according to the fourth modification of the first embodiment is different from the payment processing system S according to the first embodiment. is sent to the second settlement server Q2 instead of the mediation server M.

以下、図8を参照しながら、第1の実施の形態の第4の変形例に係る決済処理システムSが実行する決済処理を(1)から(14)の順序で説明するが、この数字は図8における(1)から(14)と対応する。なお、(1)から(4)までの処理は、図3における(1)から(4)までの処理と同様であるため省略する。 Hereinafter, the payment processing executed by the payment processing system S according to the fourth modification of the first embodiment will be described in the order of (1) to (14) with reference to FIG. This corresponds to (1) to (14) in FIG. Note that the processing from (1) to (4) is the same as the processing from (1) to (4) in FIG. 3, and therefore will be omitted.

(5)第2ユーザ端末T2の決済情報送信部211は、コード読取部210が取得した決済用トークンと、決済金額と、を含む決済情報を第2決済サーバQ2に送信する。 (5) The payment information transmission unit 211 of the second user terminal T2 transmits payment information including the payment token acquired by the code reading unit 210 and the payment amount to the second payment server Q2.

(6)第2決済サーバQ2の決済管理部511は、第2ユーザ端末T2から受信した決済情報に含まれる決済用トークンが第2決済サーバQ2が用いる決済用トークンとは異なる場合、第2ユーザ端末T2から受信した決済情報を仲介サーバMに転送する。
(7)仲介サーバMの決済情報受信部310は、第2決済サーバQ2から決済情報を受信する。
(8)仲介サーバMの決済要求部311は、決済情報受信部310が受信した決済情報に含まれる決済用トークンから取得した第1事業者識別子で特定される第1決済事業者の第1決済サーバQ1に、決済用トークンと決済金額とを送信する。
(6) If the payment token included in the payment information received from the second user terminal T2 is different from the payment token used by the second payment server Q2, the payment management unit 511 of the second payment server Q2 The payment information received from the terminal T2 is transferred to the mediation server M.
(7) The payment information receiving unit 310 of the mediation server M receives payment information from the second payment server Q2.
(8) The payment requesting unit 311 of the intermediary server M makes the first payment of the first payment business operator identified by the first business operator identifier acquired from the payment token included in the payment information received by the payment information receiving unit 310. The payment token and the payment amount are transmitted to the server Q1.

(9)第1決済サーバQ1の決済管理部411は、第1ユーザ端末T1に送信した決済用トークンと仲介サーバMから受信した決済用トークンとが一致するか否かを判定することにより、ユーザ認証を実行する。第1決済サーバQ1の決済管理部411は、第1ユーザ端末T1に送信した決済用トークンと仲介サーバMから受信した決済用トークンとが一致することを条件として、仲介サーバMから受信した決済用トークンに紐付けられている第1ユーザ識別子を記憶部40から取得し、第1ユーザ識別子で特定される第1ユーザU1の口座の残金で決済金額を決済できるか否かを判定し、結果を仲介サーバMに通知する。 (9) The payment management unit 411 of the first payment server Q1 determines whether the payment token sent to the first user terminal T1 and the payment token received from the intermediary server M match each other. perform authentication. The payment management unit 411 of the first payment server Q1 receives the payment token received from the intermediation server M on the condition that the payment token transmitted to the first user terminal T1 and the payment token received from the intermediation server M match. The first user identifier linked to the token is acquired from the storage unit 40, it is determined whether or not the settlement amount can be settled with the balance of the account of the first user U1 identified by the first user identifier, and the result is determined. The mediation server M is notified.

(10)仲介サーバMの決済要求部311は、第1ユーザU1の口座の残金で決済金額を決済できる場合、第2決済事業者が管理する第2決済サーバQ2に、決済情報に含まれる決済金額の決済要求を送信する。
(11)第2決済サーバQ2の決済管理部511は、仲介サーバMの決済要求部311から受信した第2ユーザ識別子に基づくユーザ認証が成功することを条件として、仲介サーバMから受信した決済金額で決済を実行する。
(12)決済管理部511は、決済が完了したことを第2ユーザ端末T2に通知する。
(10) If the settlement amount can be settled with the balance of the account of the first user U1, the settlement request unit 311 of the intermediation server M sends the settlement amount included in the settlement information to the second settlement server Q2 managed by the second settlement operator. Submit a payment request for an amount.
(11) The settlement management unit 511 of the second settlement server Q2, on the condition that the user authentication based on the second user identifier received from the settlement request unit 311 of the intermediation server M is successful, to execute the payment.
(12) The payment management unit 511 notifies the second user terminal T2 that the payment has been completed.

(13)仲介サーバMの通知部312は、第2決済サーバQ2に決済要求を送信すると、決済が完了したことを第1ユーザ端末T1に通知する。
(14)第2決済サーバQ2の精算管理部512は、第1決済サーバQ1の精算管理部412に精算要求を行う。なお、仲介サーバMは、第1決済サーバQ1と第2決済サーバQ2との間で行われる精算処理を仲介してもよい。
(13) After transmitting the payment request to the second payment server Q2, the notification unit 312 of the mediation server M notifies the first user terminal T1 that the payment has been completed.
(14) The settlement management unit 512 of the second settlement server Q2 issues a settlement request to the settlement management unit 412 of the first settlement server Q1. In addition, the mediation server M may mediate settlement processing performed between the first settlement server Q1 and the second settlement server Q2.

このように、第1の実施の形態の第4の変形例に係る決済処理システムSでは、第2ユーザ端末T2は、決済情報を仲介サーバMではなく第2決済サーバQ2に送信する。第2決済サーバQ2は、受信した決済情報に含まれる決済用トークンは第1決済サーバQ1が生成したものであるため決済処理を実行できないので、決済情報を仲介サーバMに転送する。第2ユーザ端末T2と仲介サーバMとの間の情報のやり取りが不要となるため、第2ユーザU2が仲介サーバMに加盟店登録を指定しなくても、第2決済サーバQ2が仲介サーバMに事業者登録をしていれば、仲介サーバMは決済処理を仲介することができる。 Thus, in the payment processing system S according to the fourth modification of the first embodiment, the second user terminal T2 transmits payment information not to the mediation server M but to the second payment server Q2. The second payment server Q2 transfers the payment information to the mediation server M because the payment token included in the received payment information is generated by the first payment server Q1 and cannot execute the payment processing. Since there is no need to exchange information between the second user terminal T2 and the intermediary server M, even if the second user U2 does not designate the intermediation server M to register as a member store, the second settlement server Q2 can , the mediation server M can mediate settlement processing.

<第1の実施の形態の第5の変形例>
図9は、第1の実施の形態の第5の変形例に係る決済処理システムSが実行する決済処理を説明するための図である。第1の実施の形態の第5の変形例に係る決済処理システムSは、第1の実施の形態に係る決済処理システムSと異なり、第1ユーザ端末T1は、仲介サーバMに決済用トークンの取得要求を送信する。
<Fifth Modification of First Embodiment>
FIG. 9 is a diagram for explaining payment processing executed by the payment processing system S according to the fifth modification of the first embodiment. The payment processing system S according to the fifth modification of the first embodiment differs from the payment processing system S according to the first embodiment in that the first user terminal T1 sends the mediation server M a payment token. Submit a retrieval request.

以下、図9を参照しながら、第1の実施の形態の第5の変形例に係る決済処理システムSが実行する決済処理を(1)から(13)の順序で説明するが、この数字は図9における(1)から(13)と対応する。 Hereinafter, the payment processing executed by the payment processing system S according to the fifth modification of the first embodiment will be described in the order of (1) to (13) with reference to FIG. This corresponds to (1) to (13) in FIG.

(1)第1ユーザ端末T1のトークン要求部110は、第1決済サーバQ1を利用して決済をするための決済用トークンの取得要求を、仲介サーバMに送信する。
(2)仲介サーバMのトークン送信部(不図示)は、第1ユーザ端末T1から取得した取得要求に応答して、第1決済事業者を特定するための第1事業者識別子が関連付けられたトークンを生成して第1ユーザ端末T1に送信する。記憶部30は、第1ユーザ端末T1に送信した決済用トークンを、第1ユーザU1を特定するための第1ユーザ識別子と紐づけて記憶する。
(1) The token requesting unit 110 of the first user terminal T1 transmits to the intermediary server M a request to acquire a payment token for making a payment using the first payment server Q1.
(2) The token transmission unit (not shown) of the mediation server M responds to the acquisition request acquired from the first user terminal T1, and is associated with the first business operator identifier for specifying the first payment business operator. A token is generated and sent to the first user terminal T1. The storage unit 30 stores the payment token transmitted to the first user terminal T1 in association with the first user identifier for identifying the first user U1.

なお、仲介サーバMは、第1ユーザ端末T1のトークン要求部110からトークンの要求があったとき、又はトークンの要求に先立って、第1ユーザ端末T1を用いるユーザのユーザ認証を実行する。具体的には、第1ユーザ端末T1が、第1ユーザ識別子に関連付けられた識別子で仲介サーバMにサインインすることをもって、仲介サーバMはユーザ認証を実現できる。又は、仲介サーバMは、第1ユーザ端末T1のトークン要求部110からトークンの要求があったときに、トークン要求部110から第1事業者識別子を取得することを条件として、ユーザ認証が成功したとみなしてもよい。このユーザ認証が成功することを条件として、第1決済サーバQ1のトークン送信部410は、決済用トークンを生成する。 In addition, the mediation server M performs user authentication of the user using the first user terminal T1 when the token request unit 110 of the first user terminal T1 requests the token or prior to the request for the token. Specifically, when the first user terminal T1 signs in to the mediation server M with an identifier associated with the first user identifier, the mediation server M can realize user authentication. Alternatively, when the token is requested by the token requesting unit 110 of the first user terminal T1, the intermediation server M has successfully authenticated the user under the condition that the first business identifier is obtained from the token requesting unit 110. may be regarded as On the condition that this user authentication succeeds, the token transmission unit 410 of the first payment server Q1 generates a payment token.

図9における(3)から(13)までの処理は、図3における(3)から(13)までの処理と同様であるため省略する。第1の実施の形態の第5の変形例に係る決済処理システムSでは、仲介サーバMにユーザ登録をしているユーザ端末Tから決済用トークンの取得要求があった場合、仲介サーバMが決済用トークンを生成する。このように、決済用トークンの生成処理の一部を仲介サーバMが担えるため、第1の実施の形態の第5の変形例に係る決済処理システムSは、第1決済サーバQ1の処理負荷を分散させることができる。 The processing from (3) to (13) in FIG. 9 is the same as the processing from (3) to (13) in FIG. 3, so it is omitted. In the payment processing system S according to the fifth modification of the first embodiment, when a request for acquisition of a payment token is received from a user terminal T registered as a user in the intermediation server M, the intermediation server M makes a payment. Generate a token for In this way, since the mediation server M can bear part of the generation processing of the payment token, the payment processing system S according to the fifth modification of the first embodiment reduces the processing load of the first payment server Q1. can be dispersed.

<第1の実施の形態の第6の変形例>
図10は、第1の実施の形態の第6の変形例に係る決済処理システムSが実行する決済処理を説明するための図である。具体的には、第6の変形例に係る決済処理システムSは、店舗提示方式の決済システムである。したがって、第1ユーザ端末T1が店舗端末となり、第1ユーザU1は店舗端末が設置されている店舗Rの経営者等である。また、店舗Rの顧客が第2ユーザU2となり、第2ユーザU2のユーザ端末が第2ユーザ端末T2となる。
<Sixth Modification of First Embodiment>
FIG. 10 is a diagram for explaining payment processing executed by the payment processing system S according to the sixth modification of the first embodiment. Specifically, the payment processing system S according to the sixth modification is a shop presentation type payment system. Therefore, the first user terminal T1 is the store terminal, and the first user U1 is the manager of the store R where the store terminal is installed. Also, the customer of the store R becomes the second user U2, and the user terminal of the second user U2 becomes the second user terminal T2.

以下、図10を参照しながら、第1の実施の形態の第6の変形例に係る決済処理システムSが実行する決済処理を(1)から(13)の順序で説明するが、この数字は図10における(1)から(13)と対応する。 Hereinafter, the payment processing executed by the payment processing system S according to the sixth modification of the first embodiment will be described in the order of (1) to (13) with reference to FIG. This corresponds to (1) to (13) in FIG.

(1)第1ユーザ端末T1のトークン要求部110は、第1ユーザU1が利用可能な第1決済事業者が管理する第1決済サーバQ1に、決済用トークンの取得要求を送信する。
(2)第1決済サーバQ1のトークン送信部410は、第1ユーザ端末T1から取得した取得要求に応答して、第1決済事業者を特定するための第1事業者識別子が関連付けられたトークンを生成して第1ユーザ端末T1に送信する。
(1) The token requesting unit 110 of the first user terminal T1 transmits a payment token acquisition request to the first payment server Q1 managed by the first payment business operator that is available to the first user U1.
(2) In response to the acquisition request acquired from the first user terminal T1, the token transmission unit 410 of the first payment server Q1 sends a token associated with the first business operator identifier for specifying the first payment business operator. is generated and transmitted to the first user terminal T1.

(3)第1ユーザ端末T1の表示制御部111は、第1決済サーバQ1から受信した決済用トークンに基づいて生成した決済用コードを、第1ユーザ端末T1の表示部に表示させる。
(4)第2ユーザ端末T2のコード読取部210は、第1ユーザ端末T1の表示部に表示された決済用コードを読み取って決済用トークンを取得する。
(3) The display control unit 111 of the first user terminal T1 causes the display unit of the first user terminal T1 to display the payment code generated based on the payment token received from the first payment server Q1.
(4) The code reading section 210 of the second user terminal T2 reads the payment code displayed on the display section of the first user terminal T1 to obtain a payment token.

(5)第2ユーザ端末T2の決済情報送信部211は、コード読取部210が取得した決済用トークンと、第2ユーザ端末T2を利用する第2ユーザU2を特定するための第2ユーザ識別子と、第2ユーザU2が利用可能な第2決済事業者を特定するための第2事業者識別子と、決済金額と、を含む決済情報を仲介サーバMに送信する。 (5) The payment information transmission unit 211 of the second user terminal T2 transmits the payment token acquired by the code reading unit 210 and the second user identifier for specifying the second user U2 who uses the second user terminal T2. , payment information including a second business operator identifier for specifying a second payment business operator that can be used by the second user U2 and a payment amount.

(6)仲介サーバMの決済情報受信部310は、第2ユーザ端末T2から決済情報を受信する。
(7)仲介サーバMの決済要求部311は、第2ユーザ端末T2を所持する第2ユーザU2が契約をしている第2決済事業者の第2決済サーバQ2に、決済金額、及び第2ユーザU2を特定するための第2ユーザ識別子を送信する。
(6) The payment information receiving unit 310 of the mediation server M receives payment information from the second user terminal T2.
(7) The settlement request unit 311 of the mediation server M sends the settlement amount and the second A second user identifier for identifying user U2 is transmitted.

(8)第2決済サーバQ2の決済管理部511は、仲介サーバMから受信した第2ユーザ識別子で特定される第2ユーザU2の口座の残金で決済金額を決済できるか否かを判定し、結果を仲介サーバMに通知する。 (8) The settlement management unit 511 of the second settlement server Q2 determines whether the settlement amount can be settled with the balance of the account of the second user U2 identified by the second user identifier received from the mediation server M, Notify mediation server M of the result.

(9)仲介サーバMの決済要求部311は、第2ユーザU2の口座の残金で決済金額を決済できる場合、第1決済事業者が管理する第1決済サーバQ1に、決済情報に含まれる決済金額の決済要求を送信する。
(10)第1決済サーバQ1の決済管理部411は、仲介サーバMから受信した決済金額で決済を実行する。具体的には、決済管理部411は、第1ユーザU1が開設している口座に決済金額に相当する額を振り込む。
(9) If the settlement amount can be settled with the balance of the account of the second user U2, the settlement request unit 311 of the intermediary server M requests the first settlement server Q1 managed by the first settlement operator to make the settlement included in the settlement information. Submit a payment request for an amount.
(10) The settlement management unit 411 of the first settlement server Q1 executes settlement with the settlement amount received from the mediation server M. Specifically, the payment management unit 411 transfers an amount equivalent to the payment amount to the account opened by the first user U1.

(11)決済管理部411は、決済が完了したことを第1ユーザ端末T1に通知する。
(12)仲介サーバMの通知部312は、第1決済サーバQ1に決済要求を送信すると、決済が完了したことを第2ユーザ端末T2に通知する。
(11) The payment management unit 411 notifies the first user terminal T1 that the payment has been completed.
(12) After transmitting the payment request to the first payment server Q1, the notification unit 312 of the mediation server M notifies the second user terminal T2 that the payment has been completed.

(13)第1決済サーバQ1の精算管理部412は、第2決済サーバQ2の精算管理部512に精算要求を行う。この結果、第2決済サーバQ2が管理する第2ユーザU2の口座から決済金額に相当する額が第1決済サーバQ1に送金される。なお、仲介サーバMは、第1決済サーバQ1と第2決済サーバQ2との間で行われる精算処理を仲介してもよい。 (13) The settlement management unit 412 of the first settlement server Q1 issues a settlement request to the settlement management unit 512 of the second settlement server Q2. As a result, an amount equivalent to the settlement amount is transferred from the account of the second user U2 managed by the second settlement server Q2 to the first settlement server Q1. In addition, the mediation server M may mediate settlement processing performed between the first settlement server Q1 and the second settlement server Q2.

これにより、決済処理システムSは、第1ユーザU1が契約している電子決済の種別と第2ユーザU2が契約している電子決済の種別とが異なっても、電子決済を実現させることができる。 Thus, the payment processing system S can realize electronic payment even if the electronic payment type contracted by the first user U1 and the electronic payment type contracted by the second user U2 are different. .

[第2の実施の形態]
<第2の実施の形態の概要>
第2の実施の形態の概要を述べる。第2の実施の形態に係る決済処理システムSは、店舗提示方式の決済システムである。したがって、第2の実施の形態に係る決済処理システムSにおいては、第1ユーザ端末T1は店舗Rに設置された店舗端末であり、第2ユーザ端末は店舗Rを利用する顧客が所持する顧客端末である。以下、第2の実施の形態に係る決済処理システムSにおいては、第1ユーザ端末T1である店舗端末を「店舗端末T1」、第2ユーザ端末T2である顧客端末を「顧客端末T2」と記載する。
[Second embodiment]
<Overview of Second Embodiment>
An outline of the second embodiment will be described. The payment processing system S according to the second embodiment is a store presentation type payment system. Therefore, in the payment processing system S according to the second embodiment, the first user terminal T1 is a store terminal installed at the store R, and the second user terminal is a customer terminal owned by a customer who uses the store R. is. Hereinafter, in the payment processing system S according to the second embodiment, the store terminal that is the first user terminal T1 is referred to as "store terminal T1", and the customer terminal that is the second user terminal T2 is referred to as "customer terminal T2". do.

第2の実施の形態に係る顧客端末T2には、あらかじめ複数の異なる決済サーバQで用いられるコード生成アルゴリズム及び暗号化鍵を備えるアプリケーションソフトウェア(以下、「決済用アプリ」と記載する。)がインストールされている。具体的には、顧客端末T2の所有者が仲介サーバMにユーザ登録をすると、顧客端末T2は仲介サーバMから決済用アプリをダウンロードすることができるようになる。 In the customer terminal T2 according to the second embodiment, application software (hereinafter referred to as "payment application") having a code generation algorithm and an encryption key used by a plurality of different payment servers Q is installed in advance. It is Specifically, when the owner of the customer terminal T2 registers with the mediation server M as a user, the customer terminal T2 can download the payment application from the mediation server M.

第2の実施の形態に係る顧客端末T2は決済用アプリを備えているため、店舗端末T1から読み取った決済用トークンをその決済用トークンを用いる決済サーバQが用いるアルゴリズムで符号化したり、決済サーバQが用いる暗号鍵で暗号化したりすることができる。第2の実施の形態に係る決済処理システムSでは、顧客端末T2が、店舗端末T1から受信した情報を第1決済サーバQ1が扱える情報に変換したり、変換した情報を第1決済サーバQ1が用いる暗号鍵で暗号化したりすることを実行する。この点で、第1の実施の形態における特に第2の変形例に係る決済処理システムSと異なる。 Since the customer terminal T2 according to the second embodiment is equipped with a payment application, the payment token read from the store terminal T1 is encoded with an algorithm used by the payment server Q using the payment token, It can be encrypted with the encryption key used by Q. In the payment processing system S according to the second embodiment, the customer terminal T2 converts information received from the store terminal T1 into information that can be handled by the first payment server Q1, and the converted information is sent to the first payment server Q1. perform encryption with the encryption key used. In this point, the payment processing system S particularly according to the second modification differs from the first embodiment.

以下、第2の実施の形態に係る決済処理システムSが備える各装置の機能構成、及び第2の実施の形態に係る決済処理システムSが実行する決済処理を説明するが、第1の実施の形態に係る決済処理システムS又はその各種変形例と重複する記載については、適宜省略又は簡略化して説明する。 Hereinafter, the functional configuration of each device included in the payment processing system S according to the second embodiment and the payment processing executed by the payment processing system S according to the second embodiment will be described. Descriptions that overlap with the payment processing system S according to the embodiment or various modifications thereof will be omitted or simplified as appropriate.

図11は、第2の実施の形態に係る決済処理システムSが備える各装置の機能構成を模式的に示す図である。図11において、仲介サーバM、第1決済サーバQ1、及び第2決済サーバQ2は、図2に示す第1の実施の形態に係る仲介サーバM、第1決済サーバQ1、及び第2決済サーバQ2と同様の機能構成を有するため詳細な図示を省略している。図11に示すように、第2の実施の形態に係る顧客端末T2の制御部21が、暗号化部212を備えている点で、第1の実施の形態に係る第2ユーザ端末T2と異なる。 FIG. 11 is a diagram schematically showing the functional configuration of each device included in the payment processing system S according to the second embodiment. In FIG. 11, the mediation server M, the first settlement server Q1, and the second settlement server Q2 are the mediation server M, the first settlement server Q1, and the second settlement server Q2 according to the first embodiment shown in FIG. Since it has the same functional configuration as , detailed illustration is omitted. As shown in FIG. 11, the control unit 21 of the customer terminal T2 according to the second embodiment differs from the second user terminal T2 according to the first embodiment in that it includes an encryption unit 212. .

図12は、第2の実施の形態に係る決済処理システムSが実行する決済処理を説明するための図である。以下、図11及び図12を参照しながら、第2の実施の形態に係る決済処理システムSが実行する決済処理を(1)から(15)の順序で説明するが、この数字は図3における(1)から(15)と対応する。 FIG. 12 is a diagram for explaining payment processing executed by the payment processing system S according to the second embodiment. 11 and 12, the payment processing executed by the payment processing system S according to the second embodiment will be described in the order of (1) to (15). Corresponds to (1) to (15).

(1)店舗端末T1のトークン要求部110は、店舗端末T1が設置されている店舗Rの経営者が利用可能な第1決済事業者が管理する第1決済サーバQ1に、決済用トークンの取得要求を送信する。 (1) The token requesting unit 110 of the shop terminal T1 sends a payment token to the first payment server Q1 managed by the first payment operator that can be used by the manager of the shop R where the shop terminal T1 is installed. Submit your request.

(2)第1決済サーバQ1のトークン送信部410は、店舗端末T1から取得した取得要求に応答して、第1決済事業者を特定するための第1事業者識別子が関連付けられたトークンを生成して店舗端末T1に送信する。 (2) The token transmission unit 410 of the first payment server Q1 generates a token associated with the first business operator identifier for specifying the first payment business operator in response to the acquisition request acquired from the store terminal T1. and transmit it to the store terminal T1.

(3)店舗端末T1の表示制御部111は、第1決済サーバQ1から受信した決済用トークンに基づいて生成した決済用コードを、店舗端末T1の表示部に表示させる。
(4)顧客端末T2のコード読取部210は、第1ユーザ端末T1の表示部に表示された決済用コードを読み取って決済用トークンを取得する。
(3) The display control unit 111 of the shop terminal T1 causes the display unit of the shop terminal T1 to display the payment code generated based on the payment token received from the first payment server Q1.
(4) The code reading section 210 of the customer terminal T2 reads the payment code displayed on the display section of the first user terminal T1 and acquires the payment token.

(5)顧客端末T2の暗号化部212は、顧客端末T2を所持する顧客が利用可能な第2決済事業者を特定するための第2事業者識別子と、決済用トークンと、決済金額と、を含む決済情報を、第1決済事業者の決済サーバである第1決済サーバQ1が利用する暗号鍵で暗号化する。 (5) The encryption unit 212 of the customer terminal T2 stores a second business operator identifier for specifying a second payment business operator that can be used by the customer who owns the customer terminal T2, a payment token, a payment amount, is encrypted with an encryption key used by the first settlement server Q1, which is the settlement server of the first settlement business operator.

(6)顧客端末T2の決済情報送信部211は、暗号化部212が暗号化した決済情報を仲介サーバMに送信する。
(7)仲介サーバMの決済情報受信部310は、顧客端末T2から暗号化された決済情報を受信する。
(6) The payment information transmission unit 211 of the customer terminal T2 transmits the payment information encrypted by the encryption unit 212 to the mediation server M.
(7) The payment information receiving unit 310 of the mediation server M receives the encrypted payment information from the customer terminal T2.

(8)仲介サーバMの暗号化部212は、顧客端末T2から受信した決済情報を復号し、決済用トークンに含まれる第1事業者識別子を取得する。
(9)仲介サーバMの決済要求部311は、顧客端末T2から取得した暗号化された決済情報を第1決済サーバQ1に転送する。
(10)第1決済サーバの決済管理部411は、仲介サーバMから転送された決済情報に基づいて店舗端末T1のユーザである顧客のユーザ認証を実行して認証結果を仲介サーバMに送信する。具体的には、第1決済サーバの決済管理部411は、トークン送信部410が店舗端末T1に送信した決済用トークンと、仲介サーバMから受信した決済情報に含まれる決済用トークンとが一致する場合、顧客の認証が成功したと判定する。
(8) The encryption unit 212 of the mediation server M decrypts the payment information received from the customer terminal T2 and acquires the first business operator identifier included in the payment token.
(9) The payment requesting unit 311 of the mediation server M transfers the encrypted payment information obtained from the customer terminal T2 to the first payment server Q1.
(10) The settlement management unit 411 of the first settlement server executes user authentication of the customer who is the user of the store terminal T1 based on the settlement information transferred from the intermediary server M, and transmits the authentication result to the intermediary server M. . Specifically, the payment management unit 411 of the first payment server determines that the payment token transmitted by the token transmission unit 410 to the store terminal T1 matches the payment token included in the payment information received from the mediation server M. If so, it is determined that the customer has been successfully authenticated.

(11)仲介サーバMの決済要求部311は、認証が成功した場合、第2決済サーバQ2に決済金額の決済要求を送信する。
(12)第2決済サーバQ2の決済管理部511は、顧客の口座の残高で決済できる場合、決済を実行する。
(13)第2決済サーバQ2の決済管理部511は、決済完了の通知を仲介サーバMに送信する。
(11) If the authentication is successful, the payment requesting unit 311 of the mediation server M transmits a payment request for the payment amount to the second payment server Q2.
(12) The settlement management unit 511 of the second settlement server Q2 executes settlement when the balance of the customer's account can be used for settlement.
(13) The payment management unit 511 of the second payment server Q2 transmits a payment completion notification to the mediation server M.

(14)仲介サーバMの通知部312は、店舗端末T1及び顧客端末T2に決済完了を通知する。
(15)第2決済サーバQ2の精算管理部512は、第1決済サーバQ1の精算管理部412に精算要求を行う。この結果、第2決済サーバQ2が管理する顧客の口座から決済金額に相当する額が第1決済サーバQ1に送金される。なお、仲介サーバMは、第1決済サーバQ1と第2決済サーバQ2との間で行われる精算処理を仲介してもよい。
(14) The notification unit 312 of the mediation server M notifies the store terminal T1 and the customer terminal T2 of the settlement completion.
(15) The settlement management unit 512 of the second settlement server Q2 issues a settlement request to the settlement management unit 412 of the first settlement server Q1. As a result, an amount corresponding to the settlement amount is transferred from the customer's account managed by the second settlement server Q2 to the first settlement server Q1. In addition, the mediation server M may mediate settlement processing performed between the first settlement server Q1 and the second settlement server Q2.

<第2の実施の形態に係る決済処理システムSが奏する効果>
以上説明したように、第2の実施の形態に係る決済処理システムSによれば、ユーザUが電子決済の種別を意識せずに決済を行えるようにすることができる。
<Effects of the payment processing system S according to the second embodiment>
As described above, according to the payment processing system S according to the second embodiment, it is possible for the user U to make a payment without being aware of the type of electronic payment.

特に、第2の実施の形態に係る決済処理システムSでは、顧客端末T2が、店舗端末T1から受信した情報を第1決済サーバQ1が扱える情報に変換したり、変換した情報を第1決済サーバQ1が用いる暗号鍵で暗号化したりすることを実行する。第2の実施の形態に係る決済処理システムSでは、仲介サーバM又は決済サーバQが実行すべき処理の一部を顧客端末T2が肩代わりするため、システム全体としての負荷を分散できる。 In particular, in the payment processing system S according to the second embodiment, the customer terminal T2 converts information received from the store terminal T1 into information that can be handled by the first payment server Q1, and transfers the converted information to the first payment server Q1. Encrypt with the encryption key used by Q1. In the payment processing system S according to the second embodiment, the customer terminal T2 takes over part of the processing that should be executed by the mediation server M or the payment server Q, so that the load of the entire system can be distributed.

<第2の実施の形態の第1の変形例>
上記では、第2決済サーバQ2が決済情報に基づいて決済し、事後的に第1決済サーバQ1に精算要求をする場合について説明した。これに替えて、第1決済サーバQ1が決済情報に基づいて決済し、事後的に第2決済サーバに精算要求をしてもよい。すなわち、仲介サーバMの決済要求部311は、第1決済サーバQ1と、第2決済サーバQ2とのいずれか一方の決済サーバQに、決済金額の決済要求を送信すればよいとも言える。決済要求を受信した一方の決済サーバQが決済処理を実行して、他方の決済サーバQに精算要求を送信することにより、決済処理システムSは、店舗Rの経営者が契約している電子決済の種別と顧客が契約している電子決済の種別とが異なっても、電子決済を実現させることができる。
<First Modification of Second Embodiment>
A case has been described above in which the second settlement server Q2 makes a settlement based on the settlement information and subsequently issues a settlement request to the first settlement server Q1. Instead of this, the first settlement server Q1 may settle based on the settlement information, and then send a settlement request to the second settlement server after the fact. That is, it can be said that the settlement request unit 311 of the mediation server M should transmit a settlement request for the settlement amount to either one of the first settlement server Q1 and the second settlement server Q2. One settlement server Q that received the settlement request executes settlement processing and transmits the settlement request to the other settlement server Q, whereby the settlement processing system S performs the electronic settlement contracted by the manager of the store R. Even if the type of payment is different from the type of electronic payment contracted by the customer, the electronic payment can be realized.

<第2の実施の形態の第2の変形例>
第2の実施の形態の第2の変形例に係る決済処理システムSは、第2の実施の形態に係る決済処理システムSと異なり、第1決済サーバQ1は、生成した決済用トークンを仲介サーバMにも送信する。
<Second Modification of Second Embodiment>
Unlike the payment processing system S according to the second embodiment, the payment processing system S according to the second modification of the second embodiment differs from the payment processing system S according to the second embodiment in that the first payment server Q1 transfers the generated payment token to the mediation server. Send to M.

第2の実施の形態の第2の変形例に係る仲介サーバMにおいて、決済要求部311は、第1決済サーバQ1から受信した決済用トークンと、顧客端末T2から受信した決済用トークンとが不一致の場合、決済処理を中止する。より具体的には、仲介サーバMは、第1決済サーバQ1から第1決済サーバQ1が用いる暗号鍵で暗号化された決済用トークンを受信し、同じ暗号鍵を用いて復号することで決済用トークンを取得する。また、仲介サーバMは、顧客端末T2から第1決済サーバQ1が用いる暗号鍵で暗号化された決済情報を受信し、同じ暗号鍵を用いて復号した上で決済用トークンを抽出する。仲介サーバMは、第1決済サーバQ1に由来する決済用トークンと、顧客端末T2に由来する決済用トークンとを比較して、両者が一致するか否かを判定する。これにより、仲介サーバMは、第1決済サーバQ1による店舗端末T1の認証処理に相当する処理を実行することになるので、第1決済サーバQ1の負荷を軽減することができる。 In the intermediary server M according to the second modification of the second embodiment, the payment request unit 311 determines that the payment token received from the first payment server Q1 does not match the payment token received from the customer terminal T2. If so, cancel the payment process. More specifically, the intermediation server M receives from the first settlement server Q1 a settlement token encrypted with an encryption key used by the first settlement server Q1, and decrypts the settlement token using the same encryption key. get a token. The mediation server M also receives payment information encrypted with the encryption key used by the first payment server Q1 from the customer terminal T2, decrypts it using the same encryption key, and extracts the payment token. The mediation server M compares the payment token derived from the first payment server Q1 and the payment token derived from the customer terminal T2, and determines whether or not they match. As a result, the intermediary server M executes processing corresponding to authentication processing of the store terminal T1 by the first settlement server Q1, so that the load on the first settlement server Q1 can be reduced.

<第2の実施の形態の第3の変形例>
第2の実施の形態の第3の変形例に係る決済処理システムSは、第2の実施の形態に係る決済処理システムSと異なり、店舗端末T1は、仲介サーバMに決済用トークンの取得要求を送信する。これにより、決済用トークンの生成処理の一部を仲介サーバMが担えるため、第2の実施の形態の第3の変形例に係る決済処理システムSは、第1決済サーバQ1の処理負荷を分散させることができる。
<Third Modification of Second Embodiment>
The payment processing system S according to the third modification of the second embodiment differs from the payment processing system S according to the second embodiment in that the store terminal T1 requests the mediation server M to acquire a payment token. to send. As a result, the intermediation server M can bear part of the payment token generation processing, so that the payment processing system S according to the third modification of the second embodiment distributes the processing load of the first payment server Q1. can be made

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の分散・統合の具体的な実施の形態は、以上の実施の形態に限られず、その全部又は一部について、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を合わせ持つ。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes are possible within the scope of the gist thereof. be. For example, the specific embodiment of the distributed/integrated device is not limited to the above-described embodiments, and all or part of it may be functionally or physically distributed/integrated in arbitrary units. can be done. Further, new embodiments resulting from arbitrary combinations of multiple embodiments are also included in the embodiments of the present invention. The effect of the new embodiment caused by the combination has the effect of the original embodiment.

T1・・・第1ユーザ端末
10・・・記憶部
11・・・制御部
110・・・トークン要求部
111・・・表示制御部
T2・・・第2ユーザ端末
20・・・記憶部
21・・・制御部
210・・・コード読取部
211・・・決済情報送信部
212・・・暗号化部
M・・・仲介サーバ
30・・・記憶部
31・・・制御部
310・・・決済情報受信部
311・・・決済要求部
312・・・通知部
Q1・・・第1決済サーバ
40・・・記憶部
41・・・制御部
410・・・トークン送信部
411・・・決済管理部
412・・・精算管理部
Q2・・・第2決済サーバ
50・・・記憶部
51・・・制御部
510・・・トークン送信部
511・・・決済管理部
512・・・精算管理部
N・・・通信ネットワーク
S・・・決済処理システム
T1 First user terminal 10 Storage unit 11 Control unit 110 Token request unit 111 Display control unit T2 Second user terminal 20 Storage unit 21 Control unit 210 Code reading unit 211 Payment information transmission unit 212 Encryption unit M Intermediary server 30 Storage unit 31 Control unit 310 Payment information Reception unit 311 Payment request unit 312 Notification unit Q1 First payment server 40 Storage unit 41 Control unit 410 Token transmission unit 411 Payment management unit 412 Settlement management unit Q2 Second settlement server 50 Storage unit 51 Control unit 510 Token transmission unit 511 Settlement management unit 512 Settlement management unit N・Communication network S: payment processing system

Claims (7)

決済処理方法であって、
店舗を利用する顧客の端末である顧客端末が、前記店舗において表示された、前記店舗において利用可能な第1決済事業者を特定するための第1事業者識別子が関連付けられた決済用トークンに基づき生成された決済用コードを読み取るステップと、
前記顧客端末が、前記決済用トークンと、前記第1事業者識別子と、を含む決済情報を前記顧客が利用可能な決済事業者であり前記第1決済事業者とは異なる第2決済事業者が通信時に情報を暗号化するための暗号鍵を用いて暗号化するステップと、
前記顧客端末が、暗号化した前記決済情報を仲介サーバに送信するステップと、を含み、
前記仲介サーバは、前記第1決済事業者と第2決済事業者とを含む複数の決済事業者がそれぞれ通信時に情報を暗号化するための暗号鍵を有しており、
前記決済処理方法はさらに、
前記仲介サーバが、前記顧客端末から受信した決済情報を前記第2決済事業者が利用する暗号鍵を用いて復号して前記第1事業者識別子を取得するステップと、
前記仲介サーバが、復号した前記決済情報を前記第1決済事業者が通信時に情報を暗号化するための暗号鍵を用いて暗号化して前記第1決済事業者の決済サーバである第1決済サーバに転送するステップと、
前記第1決済サーバが、前記仲介サーバから転送された決済情報に基づいてユーザ認証を実行するステップと、
を含む決済処理方法。
A payment processing method comprising:
A customer terminal, which is a terminal of a customer who uses a store, is based on a payment token associated with a first business operator identifier for specifying a first payment business operator available at the store, displayed at the store. reading the generated payment code;
The customer terminal is a payment business operator with which the customer can use payment information including the payment token and the first business identifier, and a second payment business operator different from the first payment business operator. encrypting with a cryptographic key for encrypting information during communication ;
said customer terminal transmitting said encrypted payment information to an intermediary server;
The intermediary server has an encryption key for encrypting information when each of a plurality of payment business operators including the first payment business operator and the second payment business operator communicates,
The payment processing method further comprises:
a step in which the intermediation server decrypts the payment information received from the customer terminal using an encryption key used by the second payment business operator to obtain the first business operator identifier;
The intermediation server encrypts the decrypted payment information using an encryption key for encrypting the information during communication by the first payment business operator, and the first payment server is the payment server of the first payment business operator. transferring to
the first payment server performing user authentication based on the payment information transferred from the intermediation server;
payment processing methods, including;
前記暗号化するステップにおいて、前記顧客端末は、決済金額をさらに含めて暗号化する、
請求項1に記載の決済処理方法。
In the encrypting step, the customer terminal further encrypts the payment amount,
The settlement processing method according to claim 1.
前記顧客は、前記第1決済事業者が提供する決済サービスを利用するための登録を行っていないユーザである、
請求項2に記載の決済処理方法。
The customer is a user who has not registered to use the payment service provided by the first payment business operator,
The payment processing method according to claim 2.
前記顧客端末が決済情報を暗号化するステップにおいて、前記顧客端末は、前記顧客が利用可能な決済事業者が管理する第2決済サーバを特定するための第2事業者識別子をさらに含む決済情報を暗号化する、
請求項2からのいずれか一項に記載の決済処理方法。
In the step of encrypting the payment information by the customer terminal, the customer terminal encrypts the payment information further including a second business identifier for specifying a second payment server managed by the payment business operator that can be used by the customer. encrypt,
The settlement processing method according to any one of claims 2 and 3 .
前記第1決済サーバは、前記店舗に提供して当該店舗に表示された決済トークンと前記仲介サーバから受信した決済トークンとが一致することを条件として、前記顧客が前記決済金額を決済できるか否かを判定した判定結果を前記仲介サーバに通知する、
請求項2からのいずれか一項に記載の決済処理方法。
The first payment server determines whether the customer can settle the payment amount on the condition that the payment token provided to the store and displayed at the store matches the payment token received from the intermediary server. Notifying the mediation server of the determination result of determining whether
The settlement processing method according to any one of claims 2 to 4 .
前記仲介サーバは、前記顧客が前記決済金額を決済できる場合、前記顧客端末が登録された第2決済事業者が管理する第2決済サーバに、前記決済情報に含まれる決済金額の決済要求を送信する、
請求項に記載の決済処理方法。
When the customer can settle the settlement amount, the intermediation server transmits a settlement request for the settlement amount included in the settlement information to a second settlement server managed by a second settlement operator with which the customer terminal is registered. do,
The payment processing method according to claim 5 .
前記仲介サーバが、前記第1決済サーバから受信した決済用トークンと、前記顧客端末から受信した決済用トークンとが不一致の場合、決済処理を中止するステップとをさらに含む請求項1からのいずれか一項に記載の決済処理方法。 7. The intermediate server according to any one of claims 1 to 6 , further comprising a step of stopping payment processing when the payment token received from the first payment server and the payment token received from the customer terminal do not match. or the payment processing method described in paragraph 1.
JP2018181851A 2018-09-27 2018-09-27 Payment processing method Active JP7156889B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2018181851A JP7156889B2 (en) 2018-09-27 2018-09-27 Payment processing method
US17/268,223 US20210182843A1 (en) 2018-09-27 2019-09-18 Settlement processing method and settlement processing system
PCT/JP2019/036436 WO2020066759A1 (en) 2018-09-27 2019-09-18 Settlement processing method and settlement processing system
CN201980053912.6A CN112585639A (en) 2018-09-27 2019-09-18 Settlement processing method and settlement processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018181851A JP7156889B2 (en) 2018-09-27 2018-09-27 Payment processing method

Publications (2)

Publication Number Publication Date
JP2020052761A JP2020052761A (en) 2020-04-02
JP7156889B2 true JP7156889B2 (en) 2022-10-19

Family

ID=69997255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018181851A Active JP7156889B2 (en) 2018-09-27 2018-09-27 Payment processing method

Country Status (1)

Country Link
JP (1) JP7156889B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6928151B1 (en) * 2020-06-12 2021-09-01 Kddi株式会社 Information processing method and information processing equipment
JP6931412B1 (en) * 2020-06-18 2021-09-01 Kddi株式会社 Payment processing method and payment processing device
JP6931411B1 (en) * 2020-06-18 2021-09-01 Kddi株式会社 Payment processing method and payment processing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014225103A (en) 2013-05-15 2014-12-04 株式会社フライトシステムコンサルティング Settlement terminal device, method of switching connection destination in the same, and program
JP2015194796A (en) 2014-03-31 2015-11-05 ウェブペイ株式会社 Electronic settlement system, electronic settlement method, electronic settlement terminal, and program
JP2016173752A (en) 2015-03-17 2016-09-29 株式会社 みずほ銀行 Settlement processing method and settlement processing system
JP2017102886A (en) 2015-11-19 2017-06-08 株式会社リクルートホールディングス Settlement support system, settlement support method, and settlement support program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014225103A (en) 2013-05-15 2014-12-04 株式会社フライトシステムコンサルティング Settlement terminal device, method of switching connection destination in the same, and program
JP2015194796A (en) 2014-03-31 2015-11-05 ウェブペイ株式会社 Electronic settlement system, electronic settlement method, electronic settlement terminal, and program
JP2016173752A (en) 2015-03-17 2016-09-29 株式会社 みずほ銀行 Settlement processing method and settlement processing system
JP2017102886A (en) 2015-11-19 2017-06-08 株式会社リクルートホールディングス Settlement support system, settlement support method, and settlement support program

Also Published As

Publication number Publication date
JP2020052761A (en) 2020-04-02

Similar Documents

Publication Publication Date Title
US10956901B2 (en) Methods, apparatus and computer program products for securely accessing account data
US8996423B2 (en) Authentication for a commercial transaction using a mobile module
JP4391375B2 (en) Information management apparatus and method, and program
JP4326443B2 (en) Information processing apparatus, information processing method, and program
US20170124556A1 (en) Event synchronization systems and methods
US20060235795A1 (en) Secure network commercial transactions
US20040196981A1 (en) Information processing device and method, information processing system, recording medium, and program
JP4516399B2 (en) Information processing apparatus and method, and program
TW486902B (en) Method capable of preventing electronic documents from being illegally copied and its system
KR20190028517A (en) Distributing digital assets by transactional devices
WO2001075562A2 (en) Digital rights management within an embedded storage device
JP2008541206A (en) Network commerce
JP7156889B2 (en) Payment processing method
JPH1185499A (en) Data distribution system using open network for program or the like
US20230108366A1 (en) Systems for encryption using blockchain distributed ledgers
JP2011501250A (en) Digital content counting system and method
JP2018022346A (en) Data transaction system and program
JP7156888B2 (en) Payment processing method
JP4410038B2 (en) Electronic ticket sales / transfer method, server device, program, and recording medium
US20230283466A1 (en) Content protection system
JP2004086409A (en) Information management system, information processor, authentication server, issue server, accounting server, community server, restricted access content, executing information, information processing method, information processing program, and recording medium
JP2006155052A (en) On-line shopping system, its user management device, network store device, and user terminal device
WO2009113154A1 (en) Id managing system and id managing method
WO2020066759A1 (en) Settlement processing method and settlement processing system
CN108027850B (en) Electronic system and method for managing digital content related to art

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210907

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211105

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220405

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220630

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20220630

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20220707

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20220712

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221006

R150 Certificate of patent or registration of utility model

Ref document number: 7156889

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150