Abstract
The present invention comprises an electronic carrier and an electronic device. The electronic carrier comprises a microprocessor and a security chip stored with a transaction authorizing key and a transaction confirmation program. The electronic device is installed with a transaction application applicable to a plurality of cryptocurrencies. The transaction application is stored with a plurality of scripts and can generate a transaction request after receiving a cryptocurrency balance through a networking module. The transaction request includes a raw data that is incapable of being executed independently and a target script. The electronic carrier generates a transaction authorization data according to the target script and the raw data, and the transaction authorization data is transferred to the cloud transaction platform for completing the transaction of cryptocurrency. Therefore, the electronic carrier is applicable to various released cryptocurrency types, and the loading of electronic carrier is reduced.
Claims
1. A cryptocurrency transaction system, comprising an electronic carrier, having a security chip, a display screen, an operation interface, a transmission module to make pairing connection, and a microprocessor, the security chip stores a transaction authorizing key and a transaction confirmation program; an electronic device, installed with a transaction application applicable to a plurality of cryptocurrencies, and making pairing connection with the transmission module of the electronic carrier, the transaction application stores a plurality of scripts that one-to-one match the cryptocurrency formats, and the transaction application receives a cryptocurrency balance of a cloud account book via a networking module, and one of the formats of the cryptocurrency will be selected by the transaction application to generate a transaction request, the transaction request includes a raw data that cannot be independently executed by the transaction confirmation program and a target script matching the format of the cryptocurrency, and then the transaction application transmits the target script and the raw data to the microprocessor of the electronic carrier; wherein the transaction confirmation program calculates the raw data according to the target script to generate a transaction detail for displaying on the display screen and a transaction data; wherein when the transaction confirmation program receives a confirmation instruction generated by the operation interface, the transaction data will be combined with the transaction authorizing key to generate a transaction authorization data, and the transaction authorization data will then be transmitted to the transaction application through the transmission module; and wherein the transaction application transmits the transaction authorization data to a cloud transaction platform comprising the cloud account book to complete the cryptocurrency transaction.
2. The cryptocurrency transaction system according to claim 1, wherein the transaction application further stores a pairing public key and a pairing private key, and a pairing signature is generated by the pairing private key, and the pairing signature is transmitted to the security chip for storage when the electronic device makes pairing connection with the electronic carrier; the scripts and the target script all have an authorization code that can be verified by the transaction confirmation program.
3. The cryptocurrency transaction system according to claim 2, wherein the target script, the raw data, and the paring signature are integrated by the transaction application into a data packet that is transmitted to the electronic carrier.
4. The cryptocurrency transaction system according to claim 3, wherein the transaction confirmation program has an authentication module and a calculation module, the calculation module is restricted by the authentication module to a locked state where the calculation is suspended, and the authorization code and the pairing signature of the target script would be verified by the authentication module, so that the calculation module is shifted into an unlocked state that can calculate the raw data according to the target script.
5. The cryptocurrency transaction system according to claim 1, wherein the transaction application comprises a database module and a transaction requesting module; the database module stores a plurality of scripts that one-to-one match the cryptocurrency formats, and the database module can update and store other scripts to add additional cryptocurrency formats; and wherein one of the scripts will be selected by the transaction requesting module to be the target script to match the assigned cryptocurrency format.
6. The cryptocurrency transaction system according to claim 1, wherein the target script comprises a display instruction and a composing instruction, a plurality of display data are generated distributedly from the chosen part of the raw data according to the display instruction, and the transaction details are composed of the display data; and a plurality of composing data are generated distributedly from all the raw data according to the composing instruction, and the transaction data are composed of the combination of the composing data and a main body.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0019] FIG. 1 is a schematic illustrating cryptocurrency transaction system of the present invention;
[0020] FIG. 2 is a schematic illustrating the internal structure of the electronic device;
[0021] FIG. 3 is a schematic illustrating the transaction application adding and storing other scripts;
[0022] FIG. 4 is a schematic illustrating the internal structure of the electronic carrier;
[0023] FIG. 5 is a schematic illustrating the pairing connection between the electronic device and the electronic carrier;
[0024] FIG. 6 is a schematic illustrating the electronic device obtaining a cryptocurrency balance from a cloud account book;
[0025] FIG. 7 is a schematic illustrating the transaction confirmation program for transaction confirmation and date calculation;
[0026] FIG. 8 is a schematic illustrating two kinds calculation performed by the script;
[0027] FIG. 9 is a schematic illustrating the electronic carrier receiving the confirmation instruction to complete the authorization signature; and
[0028] FIG. 10 is a schematic illustrating the electronic device obtaining authorization to conduct cryptocurrency transactions.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
[0029] In order to further understand the structure, usage and features of the present disclosure more clearly, the present disclosure is described in detail below with references to the accompanying drawings and specific preferred embodiments.
[0030] Please refer to FIG. 1. The cryptocurrency transaction system of the present invention includes an electronic carrier used as a cold wallet (such as a smart card) and an electronic device (such as a mobile phone, a tablet, a laptop) that can connect to the Internet. As shown in FIG. 2, the electronic device has a networking module that can connect to the Internet and a transaction application that is adapted for making transactions with multiple cryptocurrencies (such as Bitcoin, Ethereum, Litecoin, and the like.). In addition, the networking module can make pairing connection with the electronic carrier, and the transaction application comprises a database module and a transaction requesting module.
[0031] The database module stores a plurality of scripts that one-to-one match the cryptocurrency formats. In addition, the transaction requesting module can select one of a plurality of scripts as the target script matching the cryptocurrency, and the transaction requesting module can calculate to generate original data (raw data) that cannot be independently determined to execute. The selection of the scripts is based on the type of cryptocurrency inputted in the transaction application by a user to determine the target script, and the raw data is generated according to the transaction-related data inputted by the user.
[0032] In addition, as shown in FIG. 3, if the database module initially stores only the scripts corresponding to three different cryptocurrency types, the transaction application can still be updated later to enable the database module to add forth, fifth and even sixth script.
[0033] Please refer to FIG. 4. The electronic carrier includes a security chip, a display screen, an operation interface, a transmission module and a microprocessor. The security chip is used to store a transaction authorizing key and a transaction confirmation program, and the transaction confirmation program has an authentication module and a calculation module. The display screen is used to display related data such as pairing request and transaction confirmation, and the operation interface is for users to manually operate the pairing and confirmation procedures. The transmission module is used to pair the networking module for connecting the electronic device, and the microprocessor is electrically connected between the security chip, the display screen, the operation interface, and the transmission module.
[0034] Please refer to FIG. 5. When the electronic device connects to the transmission module of the electronic carrier through the networking module to make a pairing request, the electronic carrier will detect whether a pairing public key for arbitrary electronic device is internally stored in the security chips; if there is no pairing public key, the electronic carrier will request the electronic device to provide a pairing public key, when the transaction confirmation program is completely installed on the electronic device, a pairing public key and a pairing private key are already stored therein, and accordingly, the pairing public key will be directly transferred to and stored in the security chip of the electronic carrier. However, if the security chip already stores a pairing public key, the electronic carrier will directly request the electronic device to generate a pairing signature calculated from the pairing private key, so as to increase the security of data transmission between the electronic device and the electronic carrier.
[0035] Furthermore, in order to increase the security of data transmission, the transaction application of the electronic device, the transaction confirmation program of the electronic carrier, and each script that meets the characteristics of each cryptocurrency must be developed by the same company, so that they can mutually confirm the source of program data. Therefore, the scripts must comprise an authorization code (as shown in FIG. 3). The authorization code can be stored in both of the transaction application and the transaction confirmation program.
[0036] Please refer to FIG. 6. When making a cryptocurrency transaction, first the user must confirm the status of the cryptocurrency of oneself through the transaction application, so that the networking module sends a query request to a cloud account book of a cloud transaction platform. The cloud account book transmits a corresponding cryptocurrency balance to the transaction application according to the query request, allowing the transaction application to display the cryptocurrency balance to the user.
[0037] Please refer to FIG. 1 again. After obtaining the cryptocurrency balance, the user can select the cryptocurrency type to be traded, and input the transaction object and transaction amount that allows the transaction application to select the corresponding one of cryptocurrency types from the scripts to be the target script. The transaction requesting module calculates out the raw data according to data such as the transaction object, transaction amount, and cryptocurrency type. The transaction requesting module will then integrate the target script, the raw data, and the pairing signature into one data packet, and the data packet will be transmitted to the electronic carrier by the networking module.
[0038] Please refer to FIG. 7. The authentication module of the transaction confirmation program restricts the calculation module to a locked state where the calculation is suspended. Therefore, when the electronic carrier receives the data packet, the authorization code of the target script and the pairing signature are obtained by the authentication module. The authentication module will perform verification by two different verified data; subsequently, the calculation module will be shifted by the authentication module into an unlocked state capable of calculating.
[0039] Please refer to FIG. 8. In the unlocked state, the calculation module will calculate the raw data according to the target script, and thus generate a transaction detail and transaction data displayed on the display screen; in one preferred embodiment, in addition to the authorization code, the target script also comprises a display instruction and a composing instruction. The display instruction is to distributedly extract part of the raw data into a plurality of display data, and the display data constitute the transaction details; the composing instruction is to distributedly extract all the raw data into a plurality of composing data, and combine the composing data in main body data to jointly constitute the transaction data.
[0040] Please refer to FIG. 9. Later, the user can know the content of the transaction details through the display screen and confirm whether the transaction details are consistent with the details initially inputted on the electronic device. After the confirmation, the transaction confirmation program will then receive a confirmation instruction generated by the operation interface, and the calculation module will again combine the transaction data with the transaction authorizing key to generate transaction authorization data.
[0041] Please refer to FIG. 10. Finally, the transaction authorization data is transmitted to the transaction application through the transmission module; then the transaction application transmits the transaction authorization data to the cloud transaction platform through the networking module. The cloud transaction platform will complete the cryptocurrency transaction according to the transaction object, transaction amount and cryptocurrency type in the transaction authorization data, and transmits the cryptocurrency balance to the electronic device for display after the transaction is completed.