Currency use device, electronic currency system, currency use method, and program

The currency usage device with a secure processing unit and used currency tables prevents double spending by signing currency data and maintaining records, effectively addressing the challenge of double use in electronic currency systems.

WO2024176410A1PCT designated stage expired Publication Date: 2024-08-29NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/006581
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

In electronic currency systems, preventing double spending of currency is challenging, as existing technologies rely on server-side checks, which may not effectively prevent double use at the user terminal level.

Method used

A currency usage device equipped with a secure processing unit that signs currency data using a private key and maintains tables to record used currencies, enabling real-time double-use detection and notification.

Benefits of technology

The solution effectively prevents double spending by ensuring only legitimate currency is used for payments, enhancing security and integrity within the electronic currency system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023006581_29082024_PF_FP_ABST
    Figure JP2023006581_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention provides a currency use device comprising a secure processing unit, wherein: the currency use device comprises a payment processing unit that requests the secure processing unit to apply a signature, using a private key of the currency-using device, to currency data corresponding to currency that can be used to make a payment to another device; and the secure processing unit comprises a table in which currency data on used currency is recorded, and determines whether duplicate use of the currency is present or absent by checking whether or not the currency data for which the signature has been requested is recorded in the table.
Need to check novelty before this filing date? Find Prior Art

Description

Currency utilization device, electronic currency system, currency utilization method, and program

[0001] The present invention relates to a currency using device, an electronic currency system, a currency using method, and a program.

[0002] Research into electronic currency has been ongoing for many years. Experiments are underway in which legal tender issuing banks, such as the Bank of Japan, issue electronic currency and circulate it over the Internet through financial institutions.

[0003] For example, Patent Document 1 discloses an electronic currency system that allows transactions to be completed only between users.

[0004] WO2022254624

[0005] In an electronic currency system, it is important to ensure that issued currency is not double-spent. The technology disclosed in Patent Literature 1 can detect whether or not double-spent has occurred by checking the withdrawn currency on the issuing bank server, for example.

[0006] However, it is desirable that the user terminal (an example of a currency using device) be prevented from using the same currency twice when paying with the currency.

[0007] The present invention has been made in view of the above points, and has as its object to provide a technique for detecting double use of currency in a currency-using device.

[0008] According to the disclosed technology, there is provided a currency using device having a secure processing unit, and a payment processing unit that requests the secure processing unit to sign currency data corresponding to a currency that can be used for payments to other devices using the private key of the currency using device, and the secure processing unit has a table that records currency data of used currency, and determines whether the currency has been used twice by checking whether the currency data for which the signature request has been made is recorded in the table.

[0009] According to the disclosed technology, it is possible to detect double use of currency in a currency-using device.

[0010] 1 is a diagram showing an example of the system configuration of an electronic currency system. FIG. 1 is a functional configuration diagram of an issuing bank server. FIG. 2 is a functional configuration diagram of a root certificate authority server. FIG. 3 is a functional configuration diagram of a financial institution server. FIG. 4 is a functional configuration diagram of an intermediate certificate authority server. FIG. 5 is a functional configuration diagram of a user terminal. FIG. 6 is a sequence diagram showing an example of the flow of a currency issuance process. FIG. 7 is a sequence diagram showing an example of the flow of a withdrawal process. FIG. 8 is a sequence diagram showing an example of the flow of a credit process. FIG. 9 is a sequence diagram showing an example of the flow of a deposit process. FIG. 10 is a sequence diagram showing an example of the flow of a withdrawal process. FIG. 11 is a diagram showing an example of the configuration of a user terminal 30. FIG. 12 is a sequence diagram for explaining an example of operation for double spend detection. FIG. 13 is a diagram showing an image of an unused currency table and a used currency table. FIG. 14 is a diagram showing an image of a currency use management table. FIG. 15 is a diagram showing an image of detecting double spend by branching of a signature chain. FIG. 16 is a diagram showing an image of detection at the time double spend is performed (when attempted). FIG. 17 is a diagram showing an example of the hardware configuration of a computer.

[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment.

[0012] In the following, the first embodiment will explain the basic electronic currency system, and the second embodiment will explain the technology for detecting double use of currency in a currency using device (specifically, user terminal 30).

[0013] The second embodiment is based on the first embodiment, but is not limited to this premise. The double-spend detection technology described in the second embodiment may be applied to systems other than the electronic currency system described in the first embodiment.

[0014] (Outline of First Embodiment) The electronic currency system according to the first embodiment is a system for electronic currency issued by a specific issuing bank (a central bank in the case of a CBDC, or the Bank of Japan in the case of the yen), such as a central bank digital currency (CBDC). It is proposed that the value of the electronic currency be guaranteed to be the same as that of legal tender. Below, an electronic currency with the same value as the Japanese yen will be described as an example, but this is not limiting, and the electronic currency may be one with the same value as legal tender in another country, or it may not be an electronic currency with the same value as legal tender, such as a CBDC.

[0015] In the electronic currency system according to the first embodiment, a server managed by an issuing bank issues electronic currency (hereinafter simply referred to as "currency") by signing each predetermined electronic currency unit (e.g., 1,000 yen). Furthermore, transaction history data is managed by a financial institution other than the issuing bank (a commercial bank in the case of CBDC). Furthermore, when transactions occur between users, the users' terminals communicate directly with each other to execute the transaction processing.

[0016] The configuration and operation of the first embodiment will be described below.

[0017] (Details of the First Embodiment) Figure 1 is a diagram showing an example of the system configuration of an electronic currency system. The electronic currency system 1 according to the first embodiment includes an issuing bank server 10, a root certificate authority server 11, a financial institution server 20, an intermediate certificate authority server 25, and a user terminal 30. These devices are connected to each other so as to be able to communicate with each other via a communication network such as the Internet.

[0018] The issuing bank server 10 is an information processing device managed by the issuing bank (e.g., a central bank such as the Bank of Japan) that issues the currency. The issuing bank server 10 adds signature data to message data indicating the issuance of currency and transmits the message data to the financial institution server 20. The issuing bank server 10 also has a function to accept a withdrawal request from the financial institution server 20.

[0019] The root certification authority server 11 is an information processing device that has the function of a root certification authority in cryptographic communication. The root certification authority server 11 may be realized by the same hardware as the issuing bank server 10, and is assumed to be managed by the issuing bank, but is not limited to this.

[0020] As a preparation step for issuing currency, the root certification authority server 11 generates a root certification key, issues a root certificate, and transmits it to the intermediate certification authority server 12. The root certification authority server 11 also authenticates each financial institution, generates financial institution public key certificate issuance information, and transmits the generated financial institution public key certificate issuance information to the issuing bank server 10.

[0021] The financial institution server 20 is an information processing device managed by a financial institution (for example, a commercial bank). The financial institution server 20 is authenticated by the root certification authority server 11 and receives a request for currency issuance from the issuing bank server 10.

[0022] The financial institution server 20 also accepts transaction requests such as withdrawals, currency exchange, deposits, and credit from the user terminal 30. Furthermore, the financial institution server 20 requests the issuing bank server 10 to make a refund.

[0023] In the following description, when distinguishing between the financial institution servers 20, the financial institution servers 20 will be referred to as financial institution server 20-1, financial institution server 20-2, and so on.

[0024] The intermediate certification authority server 25 is an information processing device that has the function of an intermediate certification authority in cryptographic communication. The intermediate certification authority server 25 may be realized by the same hardware as the financial institution server 20, and is assumed to be managed by the financial institution, but is not limited to this.

[0025] As a preparation step for issuing the currency, the intermediate certificate authority server 25 generates an intermediate authentication key, issues an intermediate certificate, and transmits it to the user terminal 30. The intermediate certificate authority server 25 also authenticates each user and generates user public key certificate issuance information.

[0026] In the following description, when distinguishing between the intermediate certification authority servers 25, the intermediate certification authority servers 25 will be referred to as intermediate certification authority server 25-1, intermediate certification authority server 25-2, and so on.

[0027] The user terminal 30 is an information processing device used by users (individual consumers, stores, etc.) who use currency. Before starting a transaction, the user terminal 30 is authenticated by the intermediate certificate authority server 25. The user terminal 30 also requests transactions such as withdrawals, currency exchanges, deposits, and credit from the financial institution server 20.

[0028] In the following description, when distinguishing between the user terminals 30, the user terminals 30 will be referred to as user terminal 30-1, user terminal 30-2, and so on.

[0029] A user terminal 30 (e.g., user terminal 30-1) requests payment from another user terminal 30 (e.g., user terminal 30-2) or accepts a payment request. Here, a payment request means a request to accept execution of a "payment" transaction in which a user pays a counterparty, but does not mean a request from the counterparty to make payment to the user.

[0030] (Example of Functional Configuration of Each Device According to First Embodiment) Next, an example of the functional configuration of each device according to the first embodiment will be described.

[0031] 2 is a functional block diagram of the issuing bank server 10. The issuing bank server 10 includes a currency issuance key generation unit 101, a currency issuance certificate issuance unit 102, a financial institution public key certificate issuance information acquisition unit 103, a currency issuing unit 104, a refund acceptance unit 105, a currency issuance key storage unit 106, and a refunded currency storage unit 107.

[0032] The currency issuance key generation unit 101 generates cryptographic key data (hereinafter referred to as a currency issuance key) for verifying the validity of message data indicating the issuance of currency (hereinafter referred to as a currency issuance message). The currency issuance key includes a private key and a public key.

[0033] The currency issuance certificate issuing unit 102 generates data indicating a certificate for certifying the public key of the currency issuance key (hereinafter referred to as the currency issuance certificate), and transmits the generated currency issuance certificate to each financial institution server 20 and each user terminal 30.

[0034] The financial institution public key certificate issuance information acquisition unit 103 acquires financial institution public key certificate issuance information from the root certificate authority server 11. The financial institution public key certificate issuance information will be described later.

[0035] The currency issuing unit 104 generates a currency issuance message using the currency issuance key and the financial institution public key certificate issuance information, and transmits the generated currency issuance message to the financial institution server 20 .

[0036] The refund receiving unit 105 receives refunds from the financial institution server 20 and stores the refunded currency in the refunded currency storage unit 107. A refund is a transaction in which each financial institution deposits currency that it will not use for the time being with the issuing bank and returns it to circulation.

[0037] The currency issuing key storage unit 106 stores the currency issuing key generated by the currency issuing key generation unit 101 .

[0038] The refunded currency storage unit 107 stores the currency for which the refund acceptance unit 105 has accepted the refund (hereinafter referred to as the refunded currency).

[0039] 3 is a functional block diagram of the root certification authority server 11. The root certification authority server 11 includes a root certification key generation unit 111, a root certificate issuance unit 112, a financial institution authentication unit 113, a financial institution public key certificate issuance information transmission unit 114, a root certification key storage unit 115, and a financial institution public key certificate issuance information storage unit 116.

[0040] The root certification key generator 111 generates encryption key data (hereinafter referred to as a root certification key) for verifying the legitimacy of the root certification authority. The root certification key includes a private key and a public key.

[0041] The root certificate issuance unit 112 issues certificate data (hereinafter referred to as a root certificate) for verifying the legitimacy of certificate data (hereinafter referred to as an intermediate certificate) for verifying the legitimacy of an intermediate certification authority, and transmits the certificate data to each intermediate certification authority server 25.

[0042] The financial institution authentication unit 113 receives encryption key data (hereinafter referred to as the financial institution key) for verifying the legitimacy of each financial institution from the financial institution server 20 and accepts an authentication request. The financial institution authentication unit 113 then generates data indicating a certificate for certifying the public key of the financial institution key (hereinafter referred to as the financial institution public key certificate) and transmits the generated financial institution public key certificate to the financial institution server 20 that requested authentication. Furthermore, the financial institution authentication unit 113 generates information indicating the issuance of the financial institution public key certificate (hereinafter referred to as the financial institution public key certificate issuance information).

[0043] Financial institution public key certificate issuance information transmitter 114 transmits the generated financial institution public key certificate issuance information to issuing bank server 10. Note that if issuing bank server 10 and root certification authority server 11 are realized by the same hardware, financial institution public key certificate issuance information transmitter 114 is not necessary.

[0044] The root authentication key storage unit 115 stores the root authentication key generated by the root authentication key generation unit 111 .

[0045] The financial institution public key certificate issuance information storage unit 116 stores the financial institution public key certificate issuance information generated by the financial institution authentication unit 113 .

[0046] 4 is a functional block diagram of the financial institution server 20. The financial institution server 20 includes a currency issuance certificate issuance acceptance unit 201, a financial institution key generation unit 202, a financial institution authentication request unit 203, a currency issuance acceptance unit 204, a withdrawal acceptance unit 205, an update processing unit 206, a currency exchange / deposit acceptance unit 207, a payment request unit 208, a payment acceptance unit 209, a credit acceptance unit 210, a refund request unit 211, a currency issuance certificate storage unit 212, a financial institution key storage unit 213, a financial institution public key certificate storage unit 214, an unused currency storage unit 215, a currency in use storage unit 216, an updated currency storage unit 217, and a used currency storage unit 218.

[0047] The currency issuance certificate issuance reception unit 201 receives a request for the issuance of a currency issuance certificate from the issuing bank server 10 .

[0048] The financial institution key generation unit 202 generates a financial institution key, which includes a private key and a public key.

[0049] The financial institution authentication request unit 203 transmits the financial institution key to the root certification authority server 11 to request authentication of the financial institution, and receives a financial institution public key certificate from the root certification authority server 11 .

[0050] The currency issuance reception unit 204 receives a currency issuance request from the issuing bank server 10. Specifically, the currency issuance reception unit 204 receives a currency issuance message from the issuing bank server 10 and verifies the signature of the received currency issuance message using the public key included in the currency issuance certificate.

[0051] The withdrawal acceptance unit 205 accepts a withdrawal request from the user terminal 30 and transmits currency to the user terminal 30 .

[0052] The update processing unit 206 updates used currency (hereinafter referred to as used currency) as necessary in response to a withdrawal request from the user terminal 30. Specifically, the update processing unit 206 deletes information (currency additional information) added to the used currency. The currency additional information is added by a payment transaction, which will be described later. The withdrawal acceptance unit 205 transmits unused currency (hereinafter referred to as unused currency) or the currency updated by the update processing unit 206 to the user terminal 30.

[0053] The currency exchange / deposit reception unit 207 accepts requests for currency exchange or deposits from the user terminal 30. Specifically, when the currency exchange / deposit reception unit 207 accepts a request for currency exchange from the user terminal 30, the payment reception unit 209 accepts payment of the amount to be exchanged, and the payment request unit 208 requests multiple payments that total the amount to be exchanged. Also, when the currency exchange / deposit reception unit 207 accepts a request for deposit, the payment reception unit 209 accepts payment of the amount to be deposited.

[0054] The credit acceptance unit 210 accepts a credit request by receiving currency from the user terminal 30. The credit acceptance unit 210 determines whether the currency is a currency in use (hereinafter referred to as a currency in use) and transmits the determination result to the user terminal 30.

[0055] The refund request unit 211 sends the currency to the issuing bank server 10 to request a refund.

[0056] The currency issuance certificate storage unit 212 stores the currency issuance certificate whose issuance has been accepted by the currency issuance certificate issuance acceptance unit 201 .

[0057] The financial institution key storage unit 213 stores the financial institution key generated by the financial institution key generation unit 202 .

[0058] The financial institution public key certificate storage unit 214 stores the financial institution public key certificate that the financial institution authentication request unit 203 receives from the root certification authority server 11 .

[0059] The unused currency storage unit 215 stores the currency accepted for issuance by the currency issuance acceptance unit 204 as unused currency.

[0060] The currency in use storage unit 216 stores the currency for which the withdrawal acceptance unit 205 accepts a withdrawal as a currency in use.

[0061] The updated currency storage unit 217 stores the currency updated by the update processing unit 206 (hereinafter referred to as updated currency) in the state before the update.

[0062] The used currency storage unit 218 stores currencies that have been used but are not currently in use. Specifically, the used currency storage unit 218 stores, as used currency, the currency that is received when the exchange / deposit receiving unit 207 receives a request for exchange or deposit and the payment receiving unit 209 receives payment.

[0063] 5 is a functional block diagram of the intermediate certification authority server 25. The intermediate certification authority server 25 includes an intermediate authentication key generation unit 251, an intermediate certificate issuance unit 252, a user authentication unit 253, an intermediate authentication key storage unit 254, and a user public key certificate issuance information storage unit 255.

[0064] The intermediate authentication key generation unit 251 generates encryption key data (hereinafter referred to as intermediate authentication key) for verifying the legitimacy of the intermediate certificate authority. The intermediate authentication key includes a private key and a public key.

[0065] The intermediate certificate issuing unit 252 issues an intermediate certificate and transmits it to each user terminal 30 .

[0066] The user authentication unit 253 receives encryption key data (hereinafter referred to as user key) for verifying the legitimacy of each user from the user terminal 30 and accepts an authentication request. The user authentication unit 253 then generates data indicating a certificate for certifying the public key of the user key (hereinafter referred to as user public key certificate) and transmits the generated user public key certificate to the user terminal 30 that requested authentication. Furthermore, the user authentication unit 253 generates information indicating the issuance of the user public key certificate (hereinafter referred to as user public key certificate issuance information).

[0067] The intermediate authentication key storage unit 254 stores the intermediate authentication key generated by the intermediate authentication key generation unit 251 .

[0068] The user public key certificate issuance information storage unit 255 stores the user public key certificate issuance information generated by the user authentication unit 253 .

[0069] 6 is a functional configuration diagram of the user terminal 20. The user terminal 30 includes a currency issuance certificate issuance acceptance unit 301, an intermediate certificate issuance acceptance unit 302, a user key generation unit 303, a user authentication request unit 304, a withdrawal request unit 305, a payment request unit 306, a payment acceptance unit 307, an exchange / deposit request unit 308, a credit request unit 309, a currency issuance certificate storage unit 310, an intermediate certificate storage unit 311, a user key storage unit 312, a user public key certificate storage unit 313, and a user currency storage unit 314.

[0070] The currency issuance certificate issuance acceptance unit 301 accepts the issuance of a currency issuance certificate from the issuing bank server 10 .

[0071] The intermediate certificate issuance acceptance unit 302 accepts the issuance of an intermediate certificate from the intermediate certificate authority server 25 .

[0072] The user key generation unit 303 generates a user key, which includes a private key and a public key.

[0073] The user authentication request unit 304 transmits the user key to the intermediate certification authority server 25 to request authentication of the user, and receives the user public key certificate from the intermediate certification authority server 25 .

[0074] The withdrawal request unit 305 specifies the face value and requests a withdrawal from the financial institution server 20. The withdrawal request unit 305 receives the withdrawn currency from the financial institution server 20.

[0075] The payment request unit 306 transmits the currency to be paid and requests payment from the financial institution server 20 or another user terminal 30 .

[0076] The payment acceptance unit 307 receives the currency to be paid and accepts the payment from the financial institution server 20 or another user terminal 30 .

[0077] The exchange / deposit request unit 308 requests exchange or deposit from the financial institution server 20. Specifically, when the exchange / deposit request unit 308 requests exchange and the financial institution server 20 accepts the request, the payment request unit 306 transmits the currency of the face value to be exchanged and requests payment from the financial institution server 20, and the payment acceptance unit 307 accepts from the financial institution server 20 a plurality of payments whose total is the face value to be exchanged. Furthermore, when the exchange / deposit request unit 308 requests a deposit and the financial institution server 20 accepts the request, the payment request unit 306 transmits the currency to be deposited and requests payment from the financial institution server 20.

[0078] The credit request unit 309 transmits currency to request credit from the financial institution server 20 and receives the credit result.

[0079] The currency issuance certificate storage unit 310 stores the currency issuance certificate whose issuance has been accepted by the currency issuance certificate issuance acceptance unit 301 .

[0080] The intermediate certificate storage unit 311 stores the intermediate certificate whose issuance has been accepted by the intermediate certificate issuance acceptance unit 302 .

[0081] The user key storage unit 312 stores the user key generated by the user key generation unit 303 .

[0082] The user public key certificate storage unit 313 stores the user public key certificate received by the user authentication request unit 304 .

[0083] The user currency storage unit 314 stores the currency currently used by the user. Specifically, the user currency storage unit 314 stores the currency that the withdrawal request unit 305 received from the financial institution server 20 and the currency that the payment acceptance unit 307 received from the financial institution server 20 or another user terminal 30.

[0084] (Operation of the Electronic Currency System According to the First Embodiment) Next, the operation of the electronic currency system 1 according to the first embodiment will be described. 0 , each financial institution B i (B 0 , B 1 , ...), root certification authority A 0 , each intermediate certification authority A i (A 0 , A 1 , ...), each user is a U j (U 0 , U 1 The concept will be explained using symbols such as , ....

[0085] 7 is a sequence diagram showing an example of the flow of currency issuing processing. The currency issuing processing is started periodically or in response to an operation by a person in charge.

[0086] The currency issuing key generation unit 101 of the issuing bank server 10 generates a currency issuing key (step S101). Specifically, the currency issuing key generation unit 101 generates a currency issuing key pair (secret key skB 0vy and the public key pkB 0vy ) to generate the

[0087] Then, the currency issuance certificate issuing unit 102 issues the public key pkB 0vy Certificate of issuance of currency CERT (pkB) 0vy ) to each financial institution server 20 (step S102), and then to each user terminal 30 (step S103). The currency issuance certificate issuance acceptance unit 201 of each financial institution server 20 sends the currency issuance certificate CERT(pkB 0vy ) and stores it in the currency issuance certificate storage unit 212. In addition, the currency issuance certificate issuance reception unit 301 of each user terminal 30 receives the currency issuance certificate CERT(pkB 0vy) and stores it in the currency issuance certificate storage unit 310.

[0088] The issuance amount v may be less than 1 yen. For example, when issuing currency of 0.1 yen in 2021, the currency issuance certificate issuing unit 102 issues a currency issuance certificate CERT(pkB 0(0.1円)(2021年) ) to each financial institution server 20 and each user terminal 30.

[0089] The currency issuance certificate issuing unit 102 issues the currency issuance certificate CERT(pkB 0vy ) does not have to be sent directly to each financial institution server 20 and each user terminal 30, but may be uploaded to a server device or the like that is publicly available on a communication network, and then downloaded to each financial institution server 20 and each user terminal 30.

[0090] Next, the root authentication key generation unit 111 of the root authentication authority server 11 generates a root authentication key (step S104). 0 and the public key pkA 0 Next, the root certificate issuing unit 112 generates the private key skA. 0 and sign it as root certificate Auth(pkA 0 ) and transmits it to each financial institution server 20 (step S105).

[0091] The root certificate issuing unit 112 directly issues the root certificate Auth(pkA 0 ) does not have to be transmitted to each financial institution server 20, but may be uploaded to a server device or the like that is publicly available on a communication network and then downloaded to each financial institution server 20.

[0092] Next, the intermediate authentication key generation unit 251 of the intermediate authentication authority server 25 generates an intermediate authentication key (step S106). i and the public key pkA i Includes.

[0093] Next, the intermediate certificate issuing unit 252 issues the private key skA i and the root certificate Auth(pkA 0 ) to authenticate the intermediate certificate Auth(pkAi , pkA 0 ) is generated. i , pkA 0 ) is Auth(pkA i Then, the intermediate certificate issuance unit 252 generates the intermediate certificate Auth(pkA i ) to each user terminal 30 (step S107). The intermediate certificate issuance acceptance unit 302 of each user terminal 30 transmits the intermediate certificate Auth(pkA i ) and stores it in the intermediate certificate storage unit 311.

[0094] The intermediate certificate issuing unit 252 directly issues the intermediate certificate Auth(pkA i ) does not have to be transmitted to each user terminal 30, but may be uploaded to a server device or the like that is publicly available on a communication network, and then downloaded to each user terminal 30.

[0095] Next, the user key generation unit 303 of the user terminal 30 generates a user key (step S108). j and the public key pkU j Next, the user authentication request unit 304 receives the public key pkU j to request user authentication from the intermediate certification authority server 25 (step S109).

[0096] The user authentication unit 253 of the intermediate certificate authority server 25 authenticates the root certificate Auth(pkA 0 ) and intermediate certificate Auth(pkA i ) to obtain the user public key certificate Auth(pkU j , pkA i , pkA 0 ) is generated (step S110). Hereinafter, the user public key certificate Auth(pkU j , pkA i , pkA 0 ) is Auth(pkU j The user authentication unit 253 generates the user public key certificate Auth(pkU j ) to the user terminal 30 (step S111). jand the public key pkU j and the user public key certificate Auth(pkU j ) is held.

[0097] Furthermore, the user authentication unit 253 receives user public key certificate issuance information (U j , pkU j , Auth(pkU j )) and store it in the user public key certificate issuance information storage unit 255. j , pkU j , Auth(pkU j )) is the personal information of the user j Contains:

[0098] Next, the financial institution key generation unit 202 of the financial institution server 20 generates a financial institution key (step S112). i and the public key pkB i Next, the financial institution authentication request unit 203 receives the public key pkB i to request financial institution authentication from the root certification authority server 11 (step S113).

[0099] The financial institution authentication unit 113 of the root certificate authority server 11 receives the root certificate Auth(pkA 0 ) to obtain the financial institution public key certificate Auth(pkB i , pkA 0 ) is generated (step S114). Hereinafter, the financial institution public key certificate Auth(pkB i , pkA 0 ) is Auth(pkB i The financial institution authentication unit 113 generates the financial institution public key certificate Auth(pkB i ) to the financial institution server 20 (step S115). i and the public key pkB i and financial institution public key certificate Auth(pkB i ) is held.

[0100] Furthermore, the financial institution authentication unit 113 receives financial institution public key certificate issuance information (B i , pkB i, Auth(pkB i )) is generated and stored in the financial institution public key certificate issuance information storage unit 116. i , pkB i , Auth(pkB i )) is the institution information B about financial institutions i Then, the financial institution public key certificate issuance information sending unit 114 sends the financial institution public key certificate issuance information (B i , pkB i , Auth(pkB i )) is sent to the issuing bank server 10 (step S116).

[0101] The financial institution public key certificate issuance information acquisition unit 103 of the issuing bank server 10 acquires the financial institution public key certificate issuance information (B i , pkB i , Auth(pkB i )) and stores it in the financial institution public key certificate issuance information storage unit 116.

[0102] The order of the processes from step S108 to step S111 and the processes from step S112 to step S116 is merely an example, and may be reversed. The processes from step S108 to step S111 are executed individually by each user terminal 30. The processes from step S112 to step S116 are executed individually by each financial institution server 20.

[0103] Furthermore, the user terminal 30 may execute the processes from step S108 to step S111 multiple times to add a user key.

[0104] Next, the currency issuing unit 104 of the issuing bank server 10 issues the financial institution public key certificate issuance information (B i , pkB i , Auth(pkB i )) is used, the issue amount v, the issue year y, and financial institution B i The currency issuance message (v, y, B i , pkB i) stored in the currency issuing key storage unit 106 (step S117). 0vy Using (v, y, B i , pkB i The currency issuing unit 104 signs the signature S 0 The currency issuance message (v, y, B i , pkB i ) to the financial institution server 20 (step S118).

[0105] The currency issuance acceptance unit 204 of the financial institution server 20 issues the signature S 0 The currency issuance message (v, y, B i , pkB i ) is received, and the currency issuance certificate CERT(pkB 0vy ) public key pkB 0vy Use the signature S 0 Then, the currency issuance acceptance unit 204 verifies the currency T 0 :=(v, y, B i , pkB i , S 0 ) is generated and stored in the unused currency storage unit 215.

[0106] FIG. 8 is a sequence diagram showing an example of the flow of a withdrawal process. j The process is started in response to an operation instructing withdrawal of the card.

[0107] The withdrawal request unit 305 of the user terminal 30 receives the denomination information indicating the denomination v of the withdrawal and the public key pkU of the user key stored in the user key storage unit 312. j and requests the financial institution server 20 to withdraw the money (step S201).

[0108] The withdrawal acceptance unit 205 of the financial institution server 20 accepts the withdrawal (step S202). Specifically, the withdrawal acceptance unit 205 selects unused currency T that matches the face value v from the unused currency storage unit 215. 0 Cut out and add currency information T 1 :=(pkU j , S 1 ) added to the currency in use (T1 , T 0 ) and stored in the currency-in-use storage unit 216. 1 is the private key skB of the financial institution key i Using (pkU j , T 0 ) is a signature for

[0109] Next, the withdrawal acceptance unit 205 receives the current currency (T 1 , T 0 ) currency data and financial institution public key certificate Auth(pkB i ) to the user terminal 30 (step S203). The withdrawal request unit 305 of the user terminal 30 transmits the current currency (T 1 , T 0 ) currency data and financial institution public key certificate Auth(pkB i ) and verify the currency in use (T 1 , T 0 ) is stored in the user currency storage unit 314. 1 , T 0 ) may be called unused currency.

[0110] In step S202, the withdrawal acceptance unit 205 may use used currency stored in the used currency storage unit 218 instead of unused currency stored in the unused currency storage unit 215, as necessary. In this case, the update processing unit 206 updates the used currency to a currency from which the currency additional information has been deleted. The withdrawal acceptance unit 205 determines whether to use used currency in accordance with predetermined conditions. For example, the withdrawal acceptance unit 205 may use used currency when the amount of data of used currency reaches or exceeds a threshold.

[0111] For example, the withdrawal acceptance unit 205 receives the used currency (T n , ..., T 0 ) is used for withdrawal, the update processing unit 206 updates the currency before the update (T n , ..., T 0 ) in the updated currency storage unit 217. Then, the update processing unit 206 stores the used currency (T n , ..., T 0 ) and currency additional information (T n , ..., T1 ) has been removed from the currency T 0 Then, the withdrawal acceptance unit 205 updates the updated currency T 0 Currency information added to T n+1 :=(pkU j , S n+1 ) added to the currency in use (T n+1 , T 0 ) is stored in the currency-in-use storage unit 216.

[0112] Next, the withdrawal acceptance unit 205 receives the current currency (T n+1 , T 0 ) currency data and financial institution public key certificate Auth(pkB i ) to the user terminal 30 (step S203). The withdrawal request unit 305 of the user terminal 30 transmits the current currency (T n+1 , T 0 ) currency data and financial institution public key certificate Auth(pkB i ) and verify the currency in use (T n+1 , T 0 ) is stored in the user currency storage unit 314.

[0113] The update processing unit 206 may also update a currency that has already been updated one or more times. In this case, the update processing unit 206 updates the currency (T n , ...T 1 , T 0 ) to the currency before this update (T n+k , ..., T n+1 , T 0 ) combined currency (T n+k , ..., T 1 , T 0 ) is stored in the updated currency storage unit 217.

[0114] FIG. 9 is a sequence diagram showing an example of the flow of the payment process (transmission process from the remitter to the recipient) according to the first embodiment. j User U on the receiving side k It is initiated in response to an operation instructing payment to.

[0115] The user terminal 30-1 is a user U jThe user terminal 30-2 is operated by the user U k The payment request unit 306 of the user terminal 30-1 receives the payment amount v in the currency (T n-1 , ..., T 0 ) from the currency T 0 and the user public key certificate Auth(pkU j ) to request payment from the user terminal 30-2 (step S301). n-1 = (pkU j , S n-1 ) may be additionally transmitted to the user terminal 30-2.

[0116] The payment acceptance unit 307 of the user terminal 30-2 accepts the payment (step S302). 0 and the user public key certificate Auth(pkU j ) is verified. Here, the payment acceptance unit 307 verifies the signature data included in the currency when verifying the currency. For example, the payment acceptance unit 307 verifies the signature data included in the currency. 0 :=(v, y, B i , pkB i , S 0 ) signature S 0 Furthermore, the payment acceptance unit 307 verifies T n-1 = (pkU j , S n-1 ) S n-1 may be verified.

[0117] Next, the payment acceptance unit 307 receives the public key pkU of the user key stored in the user key storage unit 312 of the user terminal 30-2. k The payment request unit 306 of the user terminal 30-1 transmits the received public key pkU k and currency data (e.g., T n-1 , or T n-1 The information including the hash value of the user key skU is stored in the user key storage unit 312 of the user terminal 30-1. j Sign using n ) and calculate the currency additional information T n :=(pkUk , S n ) is generated (step S304). The currency additional information may be called currency data.

[0118] The payment request unit 306 receives the currency additional information (T n-1 , ..., T 1 ) and the generated currency additional information T n :=(pkU k , S n ) and currency additional information (T n , ..., T 1 ) to the user terminal 30-2 (step S305).

[0119] The payment acceptance unit 307 of the user terminal 30-2 receives the currency additional information (T n , ..., T 1 Specifically, the payment acceptance unit 307 verifies the public key pkU j Using S n The payment acceptance unit 307 may verify each signature data included in the currency additional information. For example, the payment acceptance unit 307 verifies the currency additional information T n-1 :=(pkU j , S nー1 ) signature S nー1 The payment acceptance unit 307 verifies the received currency T 0 Currency information added to n , ..., T 1 ) added to the currency (T n , ..., T 0 ) is stored in the user currency storage unit 314 of the user terminal 30-2.

[0120] FIG. 10 is a sequence diagram showing an example of the flow of the currency exchange process. j The process is initiated in response to an operation instructing the exchange of currency.

[0121] The exchange / deposit request unit 308 of the user terminal 30 receives face value information indicating the face value v of the exchange and the public key pkU of the user key stored in the user key storage unit 312. j and requests the financial institution server 20 to exchange money (step S401).

[0122] The exchange / deposit acceptance unit 207 of the financial institution server 20 accepts the exchange (step S402). The exchange / deposit acceptance unit 207 transmits exchange acceptance information indicating the acceptance of the exchange to the user terminal 30 (step S403).

[0123] When the exchange / deposit request unit 308 of the user terminal 30 receives the exchange acceptance information, the payment request unit 306 requests payment from the financial institution server 20 according to the payment process shown in FIG. 9 (step S404).

[0124] The payment request unit 208 of the financial institution server 20 calculates the amount v that totals up to the exchange amount v. 1 , ..., v x When exchanging to v 1 , ..., v x For each of the above, payment is requested from the user terminal 30 in accordance with the payment process shown in FIG. 9 (steps S405-1, S405-2).

[0125] FIG. 11 is a sequence diagram showing an example of the flow of the credit processing. j The process is initiated in response to an operation instructing the credit of the customer.

[0126] The credit request unit 309 of the user terminal 30 receives the currency T whose availability is to be confirmed. 0 The credit acceptance unit 210 of the financial institution server 20 then accepts the credit request (step S502). 0 is searched from the currency in use storage unit 216, and T 0 Records containing, for example, (T 1 , T 0 ) exists, the credit result indicating the credit success ack is transmitted to the user terminal 30 (step S503).

[0127] FIG. 12 is a sequence diagram showing an example of the flow of a deposit process. j The deposit is initiated in response to an operation instructing the deposit of

[0128] The exchange / deposit request unit 308 of the user terminal 30 receives face value information indicating the face value v of the deposit and the public key pkU of the user key stored in the user key storage unit 312.j and requests the financial institution server 20 to exchange money (step S601).

[0129] The exchange and deposit acceptance unit 207 of the financial institution server 20 accepts the deposit (step S602). The exchange and deposit acceptance unit 207 transmits deposit acceptance information indicating the acceptance of the deposit to the user terminal 30 (step S603).

[0130] When the exchange / deposit request unit 308 of the user terminal 30 receives the deposit acceptance information, the payment request unit 306 requests payment from the financial institution server 20 according to the payment process shown in FIG. 9 (step S604).

[0131] FIG. 13 is a sequence diagram showing an example of the flow of the refund process. i It is initiated in response to an operation instructing the withdrawal of

[0132] The refund request unit 211 of the financial institution server 20 transmits the currency data to be refunded and requests a refund from the issuing bank server 10 (step S701). The currency data to be refunded may be unused currency or used currency. When refunding unused currency, the refund request unit 211 sends the unused currency T 0 is extracted from the unused currency storage unit 215 and transmitted to the issuing bank server 10.

[0133] In addition, when refunding used currency, the refund request unit 211 returns the used currency (T n , ..., T 0 ) from the used currency storage unit 218 and transmits it to the issuing bank server 10. m , ..., T k+1 , T 0 ) has been updated, the refund request unit 211 retrieves the pre-update currency additional information (T k , ..., T 1 ) and read out the used currency (T m , ..., T k+1 , T 0 ) and combine it with the combined currency (T m , ..., T 0 ) is sent to the issuing bank server 10.

[0134] The refund receiving unit 105 of the issuing bank server 10 receives the refund (step S702). Specifically, the refund receiving unit 105 stores the received currency data in the refunded currency storage unit 107.

[0135] Effect of the First Embodiment According to the electronic currency system 1 according to the first embodiment, the issuing bank server 10 issues currency by signing each predetermined electronic currency unit, and a chain of signatures in subsequent transactions is executed for each predetermined electronic currency unit, which makes it easy to manage the issued currency.

[0136] The financial institution server 20 also manages transaction history by including it in the currency as additional currency information. The financial institution server 20 also refreshes the additional currency information, including the signature chain, through an update process, thereby reducing the amount of communication traffic. Furthermore, various transactions can be completed without the intervention of the issuing bank server 10, thereby reducing the processing load on the issuing bank server 10.

[0137] Second Embodiment In the electronic currency system 1, it is important that issued currency is not double-spent by the user terminal 30. In the technology according to the first embodiment described above, for example, the issuing bank server 10 or the financial institution server 20 can detect double-spent currency by checking whether or not the signature chain for the withdrawn / deposited currency has branched due to double-spent currency.

[0138] However, it is more desirable to prevent the double use of currency when making a payment at the user terminal 30. Therefore, in the second embodiment, the user terminal 30 is provided with a mechanism for detecting the double use of currency.

[0139] The user terminal 30 is an example of a device that detects duplicate use of currency. More generally, a device that detects duplicate use of currency when currency is used may be called a "currency using device."

[0140] <Configuration Example of User Terminal 30 in Second Embodiment> A configuration example of the user terminal 30 in the second embodiment is shown in Fig. 14. As shown in Fig. 14, the user terminal 30 includes a secure processing unit 320, a payment processing unit 330, and a notification unit 340.

[0141] The secure processing unit 320 is, for example, a Secure Element or TrustZone (registered trademark), but is not limited to a specific type. Information (tables, programs, data, etc.) held in the secure processing unit 320 cannot be tampered with from the outside.

[0142] The secure processing unit 320 may be called secure hardware. The secure processing unit 320 itself, excluding the processing logic, can be realized using various conventional technologies.

[0143] For example, in the user terminal 30, by completely separating the processing unit (including a CPU, memory, etc.) that requires secure processing from the general processing unit (including a CPU, memory, etc.) in hardware, the processing unit that requires secure processing can be realized as the secure processing unit 320.

[0144] Furthermore, a processing unit requiring secure processing and a general processing unit share some hardware, but the processing unit requiring secure processing in terms of software may be called the secure processing unit 320 .

[0145] The payment processing unit 330 has the processing functions related to payments described in the first embodiment (FIGS. 6, 9, etc.). However, in the second embodiment, the secure processing unit 320 executes the signature process using the private key and the double-spend detection process.

[0146] When double use is detected, the notification unit 340 notifies the issuing bank server 10 of this, for example.

[0147] <Example of Operation for Detecting Double Usage> An example of operation for detecting double usage by the user terminal 30 will be described with reference to the sequence diagram of FIG.

[0148] The processing in Figure 15 corresponds to the processing on the payer side (user terminal 30-1) in the "payment processing from user terminal 30-1 to user terminal 30-2" described in Figure 9. Note that payment may also be called "remittance," and receiving payment may also be called "deposit."

[0149] That is, the user terminal 30 here corresponds to the "user terminal 30-1" (sender) in Fig. 9. However, in the second embodiment, a double-spend detection process is performed using the secure processing unit 320.

[0150] 9 has been completed before S10 in Fig. 15. That is, at this point, the user terminal 30 has received the public key pkU k holds.

[0151] In the second embodiment, the user terminal 30-2 (recipient) transmits the public key pkU to the user terminal 30 (sender). k The public key pkU is also sent along with a random number (called a nonce). k The nonce and the digits may be sent separately from the user terminal 30-2 (recipient) to the user terminal 30 (sender).

[0152] Therefore, the user terminal 30 uses the private key skU j Before signing using the private key skU j , public key pkU j , public key certificate Auth(pkU j ), currency of face value v (T n-1 , ..., T 0 ), public key pkU k , nonce".

[0153] Among the above information, at least the private key skU j The secure processing unit 320 holds (manages) the private key skU. j In addition to the above, any of the above information can be accessed and used to n can be generated.

[0154] Furthermore, the secure processing unit 320 holds a used currency table and an unused currency table. The used currency table may be called a double-spend detection table, and the unused currency table may be called a usable currency table. Details of these tables will be described later. The unused currency table may be held by the payment processing unit 330, which is external to the secure processing unit 320. The "table" may also be called a "list."

[0155] In S10 of Fig. 15, the payment processing unit 330 requests the secure processing unit 320 to sign. n The terminal requests the secure processing unit 320 to generate a request for authentication. Specifically, this request is made by calling an API that cannot be used by an attacker on the NW or an attacker external to the secure processing unit 320 on the terminal. As a result, the processing of S11 is performed in an isolated process on the secure processing unit 320.

[0156] In addition to or instead of performing processing in an isolated process using the API described above, the process of the secure processing unit 320 may be provided with a function for controlling access to the calling terminal (specifically, the payment processing unit 330 of the user terminal 30, etc.).

[0157] The function of performing access control is, for example, a function that allows only a calling terminal that presents a specific identifier to access the secure processing unit 320 .

[0158] In S11, the secure processing unit 320 generates the following signature S n Calculate the signature S n Using T n Generate T n may be called a token or may be called currency data.

[0159] S n :=Sign((pkU k , nonceU k , H(T n-1 )) , skU j ) T n :=((pkU k , nonceU k , H(Tn-1 )), S n ) The above nonceU k is the nonce received from the payee. n-1 ) is T n-1 is the hash value of T n-1 The hash value of may be called currency data.

[0160] The above signature S n is (pkU k , nonceU k , H(T n-1 )) with the sender's private key skU j This is the data obtained by encrypting it with

[0161] The secure processing unit 320 n In the calculation process, we will check whether there is any double use. Specifically, we will check as follows.

[0162] As a prerequisite for the double-spend confirmation process, the secure processing unit 320 holds a used currency table. Figure 16 shows an image of the unused currency table held by the payment processing unit 330 and the used currency table held by the secure processing unit 320. As described above, the secure processing unit 320 may hold both the unused currency table and the used currency table.

[0163] The unused currency table records the chain of tokens for each unused currency held by the user terminal 30. For example, for unused currency A, (T n-1 , ..., T 0 ) is recorded. (T n-1 , ..., T 0 ) is a bit string of data. The chain of tokens can also be called currency data.

[0164] The currency recorded in the unused currency table is used (i.e., the T for that currency). n is generated) and the currency data (T n-1 , ..., T 0) is deleted from the unused currency table, and the data is recorded in the used currency table. Note that the data recorded in the used currency table is the data before the sender's signature is attached.

[0165] In the example shown in FIG. 16, the used currency table records currencies E, F, and G as used currencies.

[0166] The process of checking whether there is any double spending using the above table will be explained. Here, the currency to be used is assumed to be "currency A." In S11, a signature request (T n The secure processing unit 320, which has received a request to generate a signature for a currency A, checks whether a bit string that matches the bit string of the currency data of currency A (the currency to be signed) is recorded in the used currency table, and if it is recorded, determines that there is a double use. If not, determines that there is no double use. The currency data to be compared with the used currency table is (T n-1 , ..., T 0 ), or, for example, T n-1 It may be only.

[0167] If the secure processing unit 320 detects double spending, the secure processing unit 320 notifies the notification unit 340 in the user terminal 30 that double spending has been detected. In S12, the notification unit 340 notifies, for example, the issuing bank server 10, that double spending of the currency A has been detected.

[0168] Furthermore, if duplicate use is detected, the notification unit 340 may notify the user of the user terminal 30 that currency A has already been used and cannot be used for payment.

[0169] If no double use is detected, the secure processing unit 320 n Calculate T n Generate T n is sent to the payment processing unit 330 (S13).

[0170] In S14, the secure processing unit 320 updates the table. That is, the currency data of currency A is deleted from the unused currency table and recorded in the used currency table. Note that the process of S14 may be performed before S13 after confirming that there is no double use.

[0171] Thereafter, as described in FIG. 9, the payment processing unit 330 n , ..., T 1 ) to the recipient (user terminal 30-2).

[0172] In the above example, the condition for the secure processing unit 320 to execute a signature on currency A was "currency A is not recorded in the used currency table." However, in more detail, the condition for the secure processing unit 320 to execute a signature on currency A may be "(1) and (2) and (3)" as follows:

[0173] Conditions for executing a signature: (1) the signature request source is a legitimate client application that cooperates with the isolated process in the secure processing unit 320, (2) currency A is the currency of the payer user U j (3) Currency A is not recorded in the used currency table. j "Being a currency belonging to" means, for example, n-1 The public key contained in j Public key pkU of j It is to be.

[0174] <Other Examples of Tables> In the above example, two tables were used: an unused currency table and a used currency table. However, by using a "deletion flag," the two tables can be managed as a single table. This table is called a "currency usage management table." An example of the currency usage management table is shown in FIG. 17. If the deletion flag is set (shown as D in FIG. 17), it indicates that the currency in question has been used.

[0175] The secure processing unit 320 holds (manages) a currency usage management table. In the "currency usage management table," used currencies can be identified by deletion flags, so the "currency usage management table" may also be called a "used currency table."

[0176] The following describes the processing performed by the secure processing unit 320 when using the currency usage management table. In the following, it is assumed that the target currency is "currency A."

[0177] When the user terminal 30 newly acquires currency A by receiving payment from another terminal, the secure processing unit 320 acquires the currency data (T n-1 , ..., T 0 ) is recorded in the currency usage management table.

[0178] In the case of remittance (payment) of currency A, when the secure processing unit 320 receives a signature request from the payment processing unit 330, the secure processing unit 320 n-1 The secure processing unit 320 searches the currency usage management table using the above and checks whether the deletion flag of the matching entry is set. If the secure processing unit 320 detects that the deletion flag is set, it determines that there has been double usage and notifies the notification unit 340 of this fact.

[0179] When the secure processing unit 320 confirms that the deletion flag is not set, it executes the signature and n and sends T n The secure processing unit 320 also sets a deletion flag in the currency usage management table for currency A used for signing (i.e., currency A used for payment).

[0180] <Summary and Effects of the Second Embodiment> As described above, in the second embodiment, the user terminal 30 includes the secure processing unit 320, which includes the private key of the user terminal 30 and the used currency table. By using the secure processing unit 320, it is possible to prevent tampering with the used currency table. Furthermore, since the private key of the user terminal 30 is prevented from being leaked, a general application outside the secure processing unit 320 cannot directly use the private key of the user terminal 30.

[0181] By using a securely managed used currency table and private key, the secure processing unit 320 can issue a signature for a payment (remittance) while preventing duplicate use. Furthermore, since the process of deleting used currency is performed on the secure processing unit 320, the deletion process can be executed reliably and used currency can be reliably recorded in the used currency table (or currency use management table).

[0182] Furthermore, by making the user terminal 30 required to have a secure processing unit 320 and the above-mentioned mechanism for preventing double spend a requirement for providing electronic cash services, it becomes possible to detect all double spend (i.e., branching of the signature chain). In other words, this method makes it possible to detect double spend at the time it occurs (or is attempted). An illustration of detecting double spend by branching of the signature chain is shown in Figure 18.

[0183] Furthermore, since the double-use check process is performed on the secure processing unit 320, the authenticity and integrity of the check process are guaranteed without being affected by tampering by the terminal user. It has been verified that the double-use detection method described in the second embodiment can be realized using a formal verification tool (ProVerif).

[0184] Figure 19 shows an image of detection at the time of double spending (when it is attempted). In the example of Figure 19, for example, at user terminal 30-2, a signature is made on currency having token T1, and the currency (having token T2) is transferred to user terminal 30-3. If user terminal 30-2 subsequently attempts to sign again on currency having token T1 (attempts to generate T2'), the double spending is detected by the logic already described, and this is reported to, for example, issuing bank server 10.

[0185] (Hardware Configuration Example) An example of a hardware configuration common to the first and second embodiments will be described. Each device included in the electronic currency system 1 can be realized, for example, by having a computer execute a program that describes the processing content described in this embodiment. Note that this "computer" may be a physical machine or a virtual machine on the cloud. When a virtual machine is used, the "hardware" described here is virtual hardware.

[0186] The program can be stored and distributed by recording it on a computer-readable recording medium (such as a portable memory device).The program can also be provided via a network such as the Internet or email.

[0187] Fig. 20 is a diagram showing an example of the hardware configuration of the computer. The computer in Fig. 20 includes a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, and the like, all of which are interconnected via a bus B.

[0188] The program that realizes the processing on the computer is provided by a recording medium 1001, such as a CD-ROM or a memory card. When the recording medium 1001 storing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001, but may be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files, data, etc.

[0189] The memory device 1003 reads and stores a program from the auxiliary storage device 1002 when a program startup instruction is received. The CPU 1004 implements functions related to the device in accordance with the program stored in the memory device 1003. The interface device 1005 is used as an interface for connecting to a network. The display device 1006 displays a program-based GUI (Graphical User Interface), etc. The input device 1007 is composed of a keyboard, mouse, buttons, a touch panel, etc., and is used to input various operational instructions. The output device 1008 outputs calculation results. Note that the computer may include a GPU (Graphics Processing Unit) or TPU (Tensor Processing Unit) instead of the CPU 1004, or may include a GPU or TPU in addition to the CPU 1004. In this case, processing may be shared, such as processing requiring special calculations such as neural networks being performed by the GPU or TPU, and other processing being performed by the CPU 1004.

[0190] 20 is used as a currency-using device (e.g., user terminal 30), secure hardware may be additionally provided as secure processing unit 320. For example, secure processing unit 320 can be realized by having the secure hardware execute a program. The program may also be provided by recording medium 1001 or downloaded from a network.

[0191] The following additional notes are provided regarding the above-described embodiments.

[0192] <Additional Notes> (Additional Item 1) A currency using device comprising a secure processing unit, comprising: a payment processing unit that requests the secure processing unit to sign currency data corresponding to a currency that can be used for payments to other devices using a private key of the currency using device, wherein the secure processing unit comprises: a table that records currency data of used currency, and determines whether the currency data for which the signature request has been made is recorded in the table. (Additional Item 2) The currency using device according to Additional Item 1, wherein the table represents used currency using currency data and a deletion flag. (Additional Item 3) The currency using device according to Additional Item 1 or 2, further comprising: a notification unit that, when the secure processing unit determines that the currency has been double-spent, notifies a server that issues the currency of information indicating that the currency has been double-spent. (Supplementary Item 4) The currency using device according to any one of Supplementary Items 1 to 3, wherein the secure processing unit executes the signing and transmits the currency data with the signature to the payment processing unit when it is confirmed that the currency data for which the signature request has been made is not recorded in the table as currency data of a used currency. (Supplementary Item 5) An electronic currency system including the currency using device according to any one of Supplementary Items 1 to 4 and a server that issues the currency. (Supplementary Item 6) A currency using method executed by a currency using device having a secure processing unit, wherein the secure processing unit has a table that records currency data of used currency, and the method comprises the steps of requesting the secure processing unit to sign currency data corresponding to a currency that can be used for payments to other devices using a private key of the currency using device, and the secure processing unit confirming whether the currency data for which the signature request has been made is recorded in the table, thereby determining whether the currency has been double-spended. (Supplementary Item 7) A non-transitory storage medium storing a program for causing secure hardware used as the secure processing unit to execute the processing of the secure processing unit according to any one of Supplementary Items 1 to 4.

[0193] Although the present embodiment has been described above, the present invention is not limited to such a specific embodiment, and various modifications and changes are possible within the scope of the gist of the present invention described in the claims.

[0194] 1 Electronic currency system 10 Issuing bank server 11 Root certification authority server 20 Financial institution server 25 Intermediate certification authority server 30 User terminal 101 Currency issuance key generation unit 102 Currency issuance certificate issuance unit 103 Financial institution public key certificate issuance information acquisition unit 104 Currency issuance unit 105 Withdrawal acceptance unit 106 Currency issuance key storage unit 107 Withdrawn currency storage unit 111 Root certification key generation unit 112 Root certificate issuance unit 113 Financial institution authentication unit 114 Financial institution public key certificate issuance information transmission unit 115 Root certification key storage unit 116 Financial institution public key certificate issuance information storage unit 201 Currency issuance certificate issuance acceptance unit 202 Financial institution key generation unit 203 Financial institution authentication request unit 204 Currency issuance acceptance unit 205 Withdrawal acceptance unit 206 Update processing unit 207 Currency exchange / deposit acceptance unit 208 Payment request unit 209 Payment acceptance unit 210 Credit acceptance unit 211 Refund request unit 212 Currency issuance certificate storage unit 213 Financial institution key storage unit 214 Financial institution public key certificate storage unit 215 Unused currency storage unit 216 Currency in use storage unit 217 Updated currency storage unit 218 Used currency storage unit 251 Intermediate authentication key generation unit 252 Intermediate certificate issuance unit 253 User authentication unit 254 Intermediate authentication key storage unit 255 User public key certificate issuance information storage unit 301 Currency issuance certificate issuance acceptance unit 302 Intermediate certificate issuance acceptance unit 303 User key generation unit 304 User authentication request unit 305 Withdrawal request unit 306 Payment request unit 307 Payment acceptance unit 308 Exchange / deposit request unit 309 Credit request unit 310 Currency issuance certificate storage unit 311 Intermediate certificate storage unit 312 User key storage unit 313 User public key certificate storage unit 314 User currency storage unit 320 Secure processing unit 330 Payment processing unit 340 Notification unit 1000 Drive device 1001 Recording medium 1002 Auxiliary storage device 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input device 1008 Output device

Claims

1. A currency using device having a secure processing unit, further comprising a payment processing unit that requests the secure processing unit to sign, using the private key of the currency using device, currency data corresponding to a currency that can be used for payments to other devices, wherein the secure processing unit has a table that records currency data of used currencies, and determines whether the currency has been used twice by checking whether the currency data requested to be signed is recorded in the table.

2. The currency using device according to claim 1, wherein the table indicates used currency by currency data and a deletion flag.

3. The currency utilization device according to claim 1, further comprising a notification unit which, when the secure processing unit determines that the currency has been double-spent, notifies a server which issued the currency of information indicating that the currency has been double-spent.

4. The currency utilization device of claim 1, wherein when the secure processing unit confirms that the currency data requested to be signed is not recorded in the table as currency data of a used currency, it executes the signing and transmits the currency data with the signature attached to the payment processing unit.

5. An electronic currency system comprising a currency using device according to any one of claims 1 to 4 and a server which issues the currency.

6. A currency usage method executed by a currency usage device having a secure processing unit, wherein the secure processing unit has a table that records currency data of used currencies, and the method comprises the steps of requesting the secure processing unit to sign, using the private key of the currency usage device, currency data corresponding to currencies that can be used for payments to other devices, and the secure processing unit determining whether the currency has been used twice by checking whether the currency data requested to be signed is recorded in the table.

7. A program for causing secure hardware used as the secure processing unit to execute the processing of the secure processing unit according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Electronic money circulation method

    JP2004185361A

  • Electronic settlement system and electronic settlement method

    JP2007156726A

  • Operation method of user terminal and server device

    JP2010152735A