WO2020168564A1 - 数字货币的交易和账户验证方法,装置及存储介质 - Google Patents

数字货币的交易和账户验证方法,装置及存储介质 Download PDF

Info

Publication number
WO2020168564A1
WO2020168564A1 PCT/CN2019/075936 CN2019075936W WO2020168564A1 WO 2020168564 A1 WO2020168564 A1 WO 2020168564A1 CN 2019075936 W CN2019075936 W CN 2019075936W WO 2020168564 A1 WO2020168564 A1 WO 2020168564A1
Authority
WO
WIPO (PCT)
Prior art keywords
digital currency
account
physical carrier
private key
signatures
Prior art date
Application number
PCT/CN2019/075936
Other languages
English (en)
French (fr)
Inventor
王健
Original Assignee
王健
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 王健 filed Critical 王健
Priority to CN201980092465.5A priority Critical patent/CN113474804A/zh
Priority to PCT/CN2019/075936 priority patent/WO2020168564A1/zh
Publication of WO2020168564A1 publication Critical patent/WO2020168564A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists

Definitions

  • the present disclosure relates to the field of digital currency, and in particular to a method, device and storage medium for digital currency transactions and account verification.
  • Digital currency is an alternative currency in the form of electronic currency.
  • Current digital currencies such as Bitcoin, Litecoin, and PPCoin, rely on checksum cryptography to create, issue, and circulate electronic currency. Its characteristic is to use P2P peer-to-peer network technology to issue, manage and circulate.
  • P2P peer-to-peer network technology In order to make digital currency easy to circulate, related technologies provide a digital currency physical carrier with built-in account information, which can not only realize the transfer of digital currency ownership, but also serve as a user's identity certificate.
  • the account verification method in the related technology usually depends on whether the private key built into the digital currency physical carrier is signed for use. If the private key has been signed for use, the account status of the digital currency physical carrier is considered insecure. However, this method is not suitable for physical carriers of digital currency that need to be used multiple times.
  • the present disclosure provides a digital currency transaction and account verification method, device and storage medium to solve the technical problem that the existing account verification method cannot be applied to the digital currency physical carrier that needs to be used multiple times.
  • the first aspect of the present disclosure provides a method for verifying an account of digital currency, which is applied to a terminal device, and the method includes: sending a query request to a physical carrier of digital currency, wherein the physical carrier of digital currency Stored with the account information of the blockchain account and the number of signatures of the private key; receiving the query response sent by the digital currency physical carrier, the query response including the account information and the number of signatures; according to the account information query area
  • the block chain obtains the number of transactions of the blockchain account; and verifies the legality of the digital currency physical carrier according to the number of transactions and the number of signatures.
  • the second aspect of the present disclosure provides a digital currency account verification method, which is applied to a digital currency physical carrier, wherein the digital currency physical carrier stores the account information of the blockchain account and the number of signatures of the private key, so
  • the method includes: receiving a query request sent by a terminal device; in response to the query request, obtaining the account information and the number of signatures stored in the digital currency physical carrier; sending a query response to the terminal device, the The query response includes the account information and the number of signatures, and the query response is used by the terminal device to verify the legitimacy of the digital currency physical carrier according to the account information and the number of signatures.
  • a third aspect of the present disclosure provides a digital currency transaction method, the method is applied to a digital currency physical carrier, the digital currency physical carrier stores the private key of a blockchain account, the method includes: receiving a terminal device sent Signature request; use the private key to sign the transaction information carried in the signature request, and after the signature is successful, update the number of signatures of the private key; send a signature response to the terminal device, the signature response including the signature After the transaction information, the signature response is used by the terminal device to initiate a transaction to the blockchain network according to the transaction information.
  • a fourth aspect of the present disclosure provides a digital currency transaction method, the method is applied to a terminal device, the method includes: creating transaction information; sending a signature request to a digital currency physical carrier, the signature request including the transaction information, Wherein, the digital currency physical carrier stores the private key of the blockchain account; receives a signature response sent by the digital currency physical carrier, and the signature response includes the transaction information signed by the private key; The transaction information signed by the private key initiates a transaction to the blockchain network.
  • a fifth aspect of the present disclosure provides a digital currency account verification device, the device is applied to a terminal device, the device includes: a first sending module for sending a query request to a digital currency physical carrier, wherein the digital currency The physical carrier stores the account information of the blockchain account and the number of signatures of the private key; the first receiving module is used to receive the query response sent by the digital currency physical carrier, the query response including the account information and the signature The query module is used to query the blockchain based on the account information to obtain the number of transactions of the blockchain account; the verification module is used to verify the digital currency physical carrier based on the number of transactions and the number of signatures The legitimacy of the account is verified.
  • a sixth aspect of the present disclosure provides a digital currency account verification device, which is applied to a digital currency physical carrier, wherein the digital currency physical carrier stores the account information of the blockchain account and the number of signatures of the private key, so
  • the device includes: a second receiving module, configured to receive a query request sent by a terminal device; an acquiring module, configured to obtain the account information and the number of signatures stored in the digital currency physical carrier in response to the query request.
  • the second sending module is configured to send a query response to the terminal device, the query response includes the account information and the number of signatures, and the query response is used by the terminal device according to the account information and the The number of signatures verifies the account legitimacy of the digital currency physical carrier.
  • a seventh aspect of the present disclosure provides a digital currency transaction device, the device is applied to a digital currency physical carrier, the digital currency physical carrier stores a private key of a blockchain account, and the device includes: a third receiving module, Used to receive a signature request sent by a terminal device; a signature module, used to use the private key to sign the transaction information carried in the signature request; an update module, used to update the number of signatures of the private key after the signature is successful
  • the third sending module is used to send a signature response to the terminal device, the signature response includes the transaction information after the signature, and the signature response is used by the terminal device to send the terminal device to the blockchain network according to the transaction information Initiate a transaction.
  • An eighth aspect of the present disclosure provides a digital currency transaction device, the device is applied to a terminal device, the device includes: a creation module, used to create transaction information; a fourth sending module, used to send a signature to the digital currency physical carrier Request, the signature request includes the transaction information, wherein the digital currency physical carrier stores the private key of the blockchain account; the fourth receiving module is used to receive the signature response sent by the digital currency physical carrier, so The signature response includes the transaction information signed by the private key; an initiation module is used to initiate a transaction to the blockchain network according to the transaction information signed by the private key.
  • a ninth aspect of the present disclosure provides a terminal device, including: a memory on which a computer program is stored; and a processor for executing the computer program in the memory to implement the methods described in the first and fourth aspects A step of.
  • a tenth aspect of the present disclosure provides a computer-readable storage medium, which implements the steps of the methods described in the first and fourth aspects when the program is executed by a processor.
  • the eleventh aspect of the present disclosure provides a digital currency physical carrier, including: a memory on which a computer program is stored; and a processor for executing the computer program in the memory to implement the second and third aspects The steps of the method.
  • a twelfth aspect of the present disclosure provides a computer-readable storage medium, which implements the steps of the methods described in the second and third aspects when the program is executed by a processor.
  • the terminal device when the terminal device needs to verify the legality of the digital currency physical carrier's account, it sends a query request to the digital currency physical carrier, and receives the digital currency physical carrier carrying account information. Based on the query response of the number of signatures of the private key, the number of transactions of the physical carrier of the digital currency can be obtained by querying the blockchain according to the account information.
  • the decentralization and non-tampering characteristics of the blockchain ensure that the number of transactions obtained by the terminal device is true and reliable.
  • the legality of the digital currency physical carrier account can be verified based on the number of transactions obtained and the number of signatures of the private key. Ensure that the verification result is reliable, and compared to the prior art that only verifies whether the private key is used for signature or not, it is still applicable to digital currency physical carriers that need to be used multiple times, and will not hinder the continued use and circulation of digital currency physical carriers.
  • Figure 1 is a flowchart of a digital currency transaction method provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of an implementation environment of an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of signaling interaction of a digital currency transaction method provided by an embodiment of the present disclosure
  • FIG. 5 is a flowchart of a method for verifying an account of digital currency according to an embodiment of the present disclosure
  • FIG. 6 is a flowchart of another method for verifying an account of digital currency provided by an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of signaling interaction of a digital currency account verification method provided by an embodiment of the present disclosure.
  • FIG. 8 is a block diagram of an account verification device for digital currency provided by an embodiment of the present disclosure, wherein the account verification device is applied to terminal equipment;
  • FIG. 9 is a block diagram of another digital currency account verification device provided by an embodiment of the present disclosure, wherein the account verification device is applied to terminal equipment;
  • FIG. 10 is a block diagram of another digital currency account verification device provided by an embodiment of the present disclosure.
  • FIG. 11 is a block diagram of a digital currency transaction device provided by an embodiment of the present disclosure.
  • FIG. 12 is a block diagram of another digital currency transaction device provided by an embodiment of the present disclosure.
  • FIG. 13 is a block diagram of another digital currency transaction device provided by an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a terminal device provided by an embodiment of the present disclosure.
  • the embodiment of the present disclosure provides a digital currency transaction method, which is applied to a digital currency physical carrier, wherein the digital currency physical carrier stores the private key of a blockchain account, as shown in FIG. 1, the Trading methods include:
  • step S101 a signature request sent by a terminal device is received.
  • the signature request includes transaction information that needs to be signed by the physical carrier of digital currency.
  • the transaction information may be currency transaction information, such as the address of the payee.
  • step S102 the private key is used to sign the transaction information carried in the signature request, and after the signature is successful, the number of signatures of the private key is updated.
  • the physical carrier of digital currency records the number of times it uses the private key to sign transaction information.
  • a count value for counting the number of signatures of the private key can be set, and the count value is set every time the digital currency physical carrier uses the private key to sign the transaction information in the signature request. plus 1.
  • a logical counter can be set in the digital currency physical carrier and an initial value (for example, set to 0) for the logical counter.
  • the digital currency physical carrier uses the private key to sign the transaction information once, triggers the The logic counter increments the count value by 1. In this way, by reading the count value in the logical counter, the number of private key signatures of the digital currency physical carrier can be obtained.
  • step S103 a signature response is sent to the terminal device, the signature response includes the signed transaction information, and the signature response is used for the terminal device to initiate a transaction to the blockchain network according to the transaction information.
  • the digital currency physical carrier sends the signature response carrying the signed transaction information to the terminal device, and the terminal device initiates the transaction to the blockchain, so that every transaction information of the digital currency physical carrier is recorded on the blockchain Query the blockchain based on the account information of the digital currency physical carrier (such as public key or wallet address), etc., and then all transaction information (such as the number of transactions) of the digital currency physical carrier can be obtained.
  • the decentralization and non-tamperability of the blockchain can ensure that the recorded transaction information is true and reliable.
  • the embodiment of the present disclosure also provides another digital currency transaction method.
  • the transaction method is applied to a terminal device. As shown in FIG. 2, the transaction method includes:
  • step S201 transaction information is created.
  • the transaction information may be currency transaction information used for currency transaction circulation.
  • the transaction information is created by the terminal device based on user operations.
  • step S202 a signature request is sent to the digital currency physical carrier, where the signature request includes the transaction information.
  • the private key of the blockchain account is stored in the physical carrier of the digital currency.
  • the terminal device sends a signature request to the digital currency physical carrier, and the digital currency physical carrier uses the private key to sign transaction information in response to the signature request, and sends a signature response carrying the transaction information signed by the private key to the terminal device .
  • step S203 a signature response sent by the digital currency physical carrier is received, the signature response including the transaction information signed by the private key.
  • step S204 a transaction is initiated to the blockchain network based on the transaction information signed by the private key.
  • the terminal device After receiving the signature response sent by the digital currency physical carrier, the terminal device initiates a transaction to the blockchain according to the transaction information signed by the private key of the digital currency physical carrier carried in the signature response. In this way, the blockchain will record the transaction information.
  • Each transaction information of the digital currency physical carrier in turn, enables blockchain nodes including terminal devices to obtain transaction information (such as the number of transactions, etc.) of the digital currency physical carrier by querying the blockchain. The decentralization and non-tamperability of the blockchain can ensure that the recorded transaction information is true and reliable.
  • FIG. 3 is a schematic diagram of an implementation environment of an embodiment of the present disclosure. As shown in FIG. 3, the implementation environment includes a digital currency physical carrier 10, a terminal device 20 and a blockchain network 30.
  • the digital currency physical carrier 10 can be any programmable smart card, such as a Java Card, and the shape can also be a coin type, which is not limited in the present disclosure, and FIG. 3 is only a coin type.
  • the digital currency physical carrier 10 can be provided with a logical counter 11 that can be used to record the number of signatures of the private key of the digital currency physical carrier 10.
  • the terminal device 20 is a blockchain node in the blockchain network 30, which may include, but is not limited to, a smart phone, a tablet computer, a smart wearable device, a computer, etc., as shown in FIG. 3 only by a smart phone.
  • the transaction method include:
  • step S401 the terminal device 20 creates transaction information.
  • the transaction information may be currency transaction information used for currency transaction circulation, such as a payee address.
  • the transaction information is created by the terminal device based on user operations.
  • step S402 the terminal device 20 sends a signature request to the digital currency physical carrier 10.
  • the signature request includes the transaction information.
  • step S403 the digital currency physical carrier 10 uses the private key to sign the transaction information carried in the signature request, and after the signature is successful, the number of signatures of the private key is updated.
  • the digital currency physical carrier 10 stores the private key of the blockchain account.
  • the digital currency physical carrier 10 will record the number of times it uses the private key to sign transaction information, which is used to characterize the number of transactions of the digital currency physical carrier.
  • the digital currency physical carrier 10 may set a count value for counting the number of signatures of the private key, and each time the private key is used to sign the transaction information in the signature request, the count The value is increased by 1.
  • a logical counter can be set in the digital currency physical carrier and an initial value (for example, set to 0) for the logical counter.
  • the digital currency physical carrier uses the private key to sign the transaction information once, triggers the The logic counter increments the count value by 1. In this way, by reading the count value in the logical counter, the number of private key signatures of the digital currency physical carrier can be obtained.
  • step S404 the digital currency physical carrier 10 sends a signature response to the terminal device 20.
  • the signature response includes signed transaction information.
  • step S405 the terminal device 20 initiates a transaction to the blockchain network according to the signed transaction information carried in the signature response.
  • the embodiment of the present disclosure also provides an account verification method for digital currency.
  • the method is applied to a terminal device. As shown in FIG. 5, the method includes:
  • step S501 a query request is sent to a digital currency physical carrier, where the digital currency physical carrier stores the account information of the blockchain account and the number of signatures of the private key.
  • the terminal device When the terminal device needs to verify the account legitimacy of the digital currency physical carrier, it can send a query request to the digital currency physical carrier, and the digital currency physical carrier returns the stored account information and the number of signatures of the private key in response to the query request To the terminal equipment.
  • the account information may include the wallet address of the blockchain account, and may also include the key pair (public key and private key) of the blockchain account, where the wallet address is generated based on the public key.
  • the key pair public key and private key
  • step S502 a query response sent by a digital currency physical carrier is received, where the query response includes the number of signatures of the account information and the private key.
  • step S503 query the blockchain network according to the account information to obtain the number of transactions of the blockchain account.
  • the account information may include a wallet address.
  • the terminal device queries the blockchain according to the wallet address to obtain the number of transactions of the blockchain account.
  • step S504 the legality of the digital currency physical carrier account is verified according to the number of transactions and the number of signatures.
  • the information stored in the blockchain has the characteristics of non-tampering, the information stored in the blockchain can be trusted. Therefore, after querying the number of transactions of the blockchain account, you can The inquired number of transactions and the number of signatures are compared for consistency, and whether the account of the digital currency physical carrier is legal or not is determined according to the comparison result.
  • the number of signatures of the private key is the same as the number of transactions found, it can be considered that every transaction signed by the private key has been completed, and the account of the digital currency physical carrier can be determined to be legal; otherwise, it can be considered digital currency The account of the physical carrier is illegal. Further, if the number of signatures of the private key is greater than the number of transactions found, it can be considered that there are unfinished transactions in the account of the digital currency physical carrier; if the number of signatures of the private key is less than the number of transactions found, it can be considered as the physical account of the digital currency There is an error.
  • the physical carrier of digital currency in a legal state, can be used as a physical currency for transactions, and can also be used as an identity certificate; in an insecure state, the physical carrier of digital currency may have signed a transaction with a private key, but the transaction Unconfirmed, among which, the transaction has not been broadcast to the blockchain network, or has not been accepted by the blockchain network, etc., which can cause the transaction to be in an unconfirmed state.
  • the digital currency physical carrier is both It cannot be used for transactions, nor can it be used as an identity certificate.
  • the terminal device when the terminal device determines that the account of the digital currency physical carrier is legal, it can also perform recharge and/or balance inquiry on the wallet of the blockchain account according to the account information.
  • the account information includes a wallet address, and the terminal device can read the wallet address, and perform recharge and/or balance inquiry to the wallet address.
  • the balance queried according to the account information is the actual balance of the blockchain account of the digital currency physical carrier.
  • the terminal device when the terminal device needs to verify the account legitimacy of the digital currency physical carrier, it sends a query request to the digital currency physical carrier, and receives the query response sent by the digital currency physical carrier carrying account information and the number of private key signatures. , Query the blockchain according to the account information to obtain the number of transactions of the digital currency physical carrier.
  • the decentralization and non-tampering characteristics of the blockchain ensure that the number of transactions obtained by the terminal device is true and reliable. In this way, the legality of the digital currency physical carrier account can be verified based on the number of transactions obtained and the number of signatures of the private key. Ensure that the verification result is reliable, and compared to the prior art that only verifies whether the private key is used for signature or not, it is still applicable to digital currency physical carriers that need to be used multiple times, and will not hinder the continued use and circulation of digital currency physical carriers.
  • the embodiment of the present disclosure also provides another digital currency account verification method, the account verification method is applied to the digital currency physical carrier, as shown in FIG. 6, the account verification method includes:
  • step S601 a query request sent by a terminal device is received.
  • the terminal device When the terminal device needs to verify the legality of the account of the digital currency physical carrier, it will send a query request to the digital currency physical carrier.
  • step S602 in response to the query request, the number of signatures of the account information and the private key stored in the digital currency physical carrier is obtained.
  • the digital currency physical carrier stores the account information of the blockchain account and the number of signatures of the private key.
  • the account information may include, but is not limited to, a key pair (public key and private key), wallet address, etc.
  • the wallet address is generated based on the public key.
  • step S603 a query response is sent to the terminal device, where the query response includes the account information and the number of signatures of the private key.
  • the signature response is used by the terminal device to verify the legality of the digital currency physical carrier according to the number of signatures of the account information and the private key.
  • the method for verifying the account legitimacy of the digital currency physical carrier by the terminal device refer to the related description of the method embodiment shown in FIG. 5.
  • the digital currency physical carrier sends the stored account information of the blockchain account and the number of signatures of the private key to the terminal device in response to the query request sent by the terminal device, so that the terminal device can query the block based on the account information Chain to get the number of transactions of the digital currency physical carrier.
  • the decentralization and non-tampering characteristics of the blockchain ensure that the number of transactions obtained by the terminal device is true and reliable, so that the terminal device can check the legality of the digital currency physical carrier account based on the number of true and reliable transactions and the number of signatures of the private key.
  • Verification can ensure that the verification result is reliable, and compared with the prior art based on whether the private key is only used for signature verification, it is still applicable to digital currency physical carriers that need to be used multiple times, and will not hinder the continued use of digital currency physical carriers. Circulation.
  • the account Verification methods include:
  • step S701 the terminal device 20 sends a query request to the digital currency physical carrier 10.
  • the digital currency physical carrier stores the account information of the blockchain account and the number of signatures of the private key.
  • the account information may include the wallet address of the blockchain account, and may also include the key pair (public key and private key) of the blockchain account, where the wallet address is generated based on the public key.
  • step S702 the digital currency physical carrier 10 obtains the account information of the blockchain account and the number of signatures of the private key stored in the digital currency physical carrier in response to the query request.
  • step S703 the digital currency physical carrier 10 sends a query response to the terminal device 20, the query response including the account information and the number of signatures of the private key.
  • step S704 the terminal device 20 queries the blockchain according to the account information to obtain the number of transactions of the blockchain account.
  • step S705 the terminal device 20 verifies the legality of the account of the digital currency physical carrier 10 according to the number of transactions and the number of signatures of the private key that are queried.
  • the information stored in the blockchain has the characteristics of non-tampering, the information stored in the blockchain can be trusted. Therefore, after querying the number of transactions of the blockchain account, you can The inquired number of transactions and the number of signatures are compared for consistency, and whether the account of the digital currency physical carrier is legal or not is determined according to the comparison result.
  • the number of signatures of the private key is consistent with the number of transactions found, it can be considered that every transaction signed by the private key has been completed, and the account of the digital currency physical carrier can be determined to be legal; otherwise, , The account of the physical carrier of digital currency can be considered illegal. Further, if the number of signatures of the private key is greater than the number of transactions found, it can be considered that there are unfinished transactions in the account of the digital currency physical carrier; if the number of signatures of the private key is less than the number of transactions found, it can be considered as the physical account of the digital currency There is an error.
  • the physical carrier of digital currency in a legal state, can be used as a physical currency for transactions, and can also be used as an identity certificate; in an insecure state, the physical carrier of digital currency may have signed a transaction with a private key, but the transaction Unconfirmed, among which, the transaction has not been broadcast to the blockchain network, or has not been accepted by the blockchain network, etc., which can cause the transaction to be in an unconfirmed state. In this state, the digital currency physical carrier is both It cannot be used for transactions or used as an identity certificate.
  • the authenticator receives the physical carrier of digital currency, and uses the authentication device (ie terminal device) to verify the legality of the physical carrier of digital currency ,
  • the verification method is shown in Figure 5.
  • the interaction between the terminal device and the digital currency physical carrier involved in FIGS. 1 to 7 requires a communication connection between the terminal device and the digital currency physical carrier, and the communication connection may be wired. It can also be wireless, contactless, or non-contact. Among them, the contact type may be, for example, NFC communication (Near Field Communication), and in this way, the terminal device may be a smart phone with an NFC interface.
  • NFC communication Near Field Communication
  • the embodiment of the present disclosure also provides an account verification device for digital currency.
  • the account verification device is applied to a terminal device.
  • the account verification device 800 includes: a first sending module 801 for sending a The physical carrier sends a query request, where the digital currency physical carrier stores the account information of the blockchain account and the number of signatures of the private key; the first receiving module 802 is configured to receive the query response sent by the digital currency physical carrier, The query response includes the account information and the number of signatures; the query module 803 is used to query the blockchain according to the account information to obtain the number of transactions of the blockchain account; the verification module 804 is used to query the blockchain according to the The number of transactions and the number of signatures verify the account legitimacy of the digital currency physical carrier.
  • the verification module 804 includes: a comparison sub-module 841, configured to perform a consistent comparison of the number of signatures and the number of transactions; and a determining sub-module 842, configured to If the number of signatures is consistent with the number of transactions, it is determined that the account of the digital currency physical carrier is legal.
  • the account verification device 800 further includes: a query module 805, configured to check the blockchain account according to the account information when it is determined that the account of the digital currency physical carrier is legal To recharge and/or check balance in your wallet.
  • a query module 805 configured to check the blockchain account according to the account information when it is determined that the account of the digital currency physical carrier is legal To recharge and/or check balance in your wallet.
  • the embodiment of the present disclosure also provides an account verification device for digital currency.
  • the account verification device is applied to a digital currency physical carrier.
  • the account verification device 1000 includes: a second receiving module 1001 for receiving A query request sent by a terminal device; an obtaining module 1002, in response to the query request, obtaining the account information and the number of signatures stored in the digital currency physical carrier; a second sending module 1003, used to send The terminal device sends a query response, the query response includes the account information and the number of signatures, and the query response is used by the terminal device to verify the digital currency physical carrier based on the account information and the number of signatures Account legitimacy.
  • the embodiment of the present disclosure also provides a digital currency transaction device, which is applied to a digital currency physical carrier, and the digital currency physical carrier stores the private key of a blockchain account.
  • the transaction The apparatus 1100 includes: a third receiving module 1101, configured to receive a signature request sent by a terminal device; a signature module 1102, configured to use the private key to sign the transaction information carried in the signature request; an update module 1103, configured to After the signature is successful, the number of signatures of the private key is updated; the third sending module 1104 is configured to send a signature response to the terminal device, the signature response includes the signed transaction information, and the signature response is used for all
  • the terminal device initiates a transaction to the blockchain network according to the transaction information.
  • the update module 1103 includes: a setting submodule 1131, configured to set a count value for counting the number of signatures of the private key; and an update submodule 1132, configured to use the The private key signs the transaction information carried in the signature request once, and increases the count value by one.
  • the embodiment of the present disclosure also provides a digital currency transaction device, the transaction device is applied to a terminal device, as shown in FIG. 13, the transaction device 1300 includes: a creation module 1301 for creating transaction information; a fourth sending module 1302, configured to send a signature request to a digital currency physical carrier, where the signature request includes the transaction information, wherein the digital currency physical carrier stores a private key of a blockchain account; the fourth receiving module 1303 is configured to receive The signature response sent by the digital currency physical carrier, the signature response including the transaction information signed by the private key; an initiation module 1304, configured to send the transaction information signed by the private key to the blockchain The network initiates a transaction.
  • the embodiment of the present disclosure also provides a digital currency physical carrier, including: a memory on which a computer program is stored; a processor, configured to execute the computer program in the memory, so as to implement the digital currency provided by the foregoing method embodiment The method steps performed by the physical carrier of digital currency in the transaction and account verification method.
  • the embodiment of the present disclosure also provides a computer-readable storage medium, which when the program is executed by the processor, realizes the method steps executed by the digital currency physical carrier in the digital currency transaction and account verification method provided in the foregoing method embodiment.
  • An embodiment of the present disclosure also provides a terminal device, including: a memory on which a computer program is stored; a processor, configured to execute the computer program in the memory to implement the digital currency transaction provided by the above method embodiment And the method steps performed by the terminal device in the account verification method.
  • FIG. 14 is a schematic diagram of a possible structure of the foregoing terminal device.
  • the terminal device 1400 may include: a processor 1401 and a memory 1402.
  • the terminal device 1400 may further include one or more of a multimedia component 1403, an input/output (I/O) interface 1404, and a communication component 1405.
  • a multimedia component 1403 an input/output (I/O) interface 1404
  • the processor 1401 is used to control the overall operation of the terminal device 1400 to complete the method steps executed by the terminal device in the digital currency transaction and account verification method provided in the foregoing method embodiment.
  • the memory 1402 is used to store various types of data to support operations on the terminal device 1400. For example, these data may include instructions for any application or method to operate on the terminal device 1400, and application-related data. For example, contact data, messages sent and received, pictures, audio, video, etc.
  • the memory 1402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-only Memory (Read-Only Memory, ROM for short), magnetic memory, flash memory, magnetic disk or optical disk.
  • the multimedia component 703 may include a screen and an audio component.
  • the screen may be a touch screen, for example, and the audio component is used to output and/or input audio signals.
  • the audio component may include a microphone, which is used to receive external audio signals.
  • the received audio signal may be further stored in the memory 1402 or sent through the communication component 1405.
  • the audio component also includes at least one speaker for outputting audio signals.
  • the I/O interface 1404 provides an interface between the processor 1401 and other interface modules.
  • the above-mentioned other interface modules may be keyboards, mice, buttons, and so on. These buttons can be virtual buttons or physical buttons.
  • the communication component 1405 is used for wired or wireless communication between the terminal device 1400 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so the corresponding communication component 1405 may include: Wi-Fi module, Bluetooth module, NFC module.
  • the terminal device 1400 may be configured by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processor (Digital Signal Processor, DSP for short), and digital signal processing equipment (Digital Signal Processor).
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • Digital Signal Processor Digital Signal Processor
  • DSPD Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or other electronic components Realization is used to execute the method steps executed by the terminal device in the digital currency transaction and account verification method provided by the foregoing method embodiment.
  • a computer-readable storage medium provided by an embodiment of the present disclosure may be the above-mentioned memory 1402 including program instructions, which can be executed by the processor 1401 of the terminal device 1400 to complete the digital currency transaction provided by the above-mentioned method embodiment. And the method steps performed by the terminal device in the account verification method.
  • the digital currency can be physically The currency validity and hardware legitimacy of the carrier are verified, that is, the method shown in Fig. 2 and Fig. 7 are combined into the method flow shown in Fig. 3. In order to avoid unnecessary repetition, various possible combinations are not further described in this disclosure.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

一种数字货币的交易和账户验证方法,装置及存储介质。所述数字货币的账户验证方法应用于终端设备(20),所述方法包括:向数字货币物理载体(10)发送查询请求,其中,数字货币物理载体(10)存储有区块链账户的账户信息和私钥的签名次数(S501);接收数字货币物理载体(10)发送的查询响应,所述查询响应包括所述账户信息和所述签名次数(S502);根据所述账户信息查询区块链网络(30),获得所述区块链账户的交易次数(S503);根据所述交易次数和所述签名次数对所述数字货币物理载体(10)的账户合法性进行验证(S504)。所述方法能够确保验证结果可靠,并且对需多次使用的数字货币物理载体(10)仍适用,不会阻碍数字货币物理载体(10)的继续使用和流通。

Description

数字货币的交易和账户验证方法,装置及存储介质 技术领域
本公开涉及数字货币领域,具体地,涉及一种数字货币的交易和账户验证方法,装置及存储介质。
背景技术
数字货币是电子货币形式的替代货币,现在的数子货币,比如比特币、莱特币和PPCoin是依靠校验和密码技术来创建、发行和流通的电子货币。其特点是运用P2P对等网络技术来发行、管理和流通。为了使数字货币易于流通,相关技术中提供了一种数字货币物理载体,其内置有账户信息,不仅能够实现数字货币所有权转移,还能够作为用户的身份凭证等。
为保证数字货币物理载体的使用安全性,通常需要对数字货币物理载体的账户进行合法性验证。相关技术中的账户验证方法,通常依据数字货币物理载体内置的私钥是否签名使用,若该私钥已经签名使用,则认为该数字货币物理载体的账户状态不安全。然而,当该方式对于需多次使用的数字货币物理载体并不适用。
发明内容
本公开提供一种数字货币的交易和账户验证方法,装置及存储介质,用以解决现有的账户验证方法不能适用于需多次使用的数字货币物理载体的技术问题。
为了实现上述目的,本公开第一方面提供一种数字货币的账户验证方法,所述方法应用于终端设备,所述方法包括:向数字货币物理载体发送查询请求,其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数;接收所述数字货币物理载体发送的查询响应,所述查询响应包括所述账户信息和所述签名次数;根据所述账户信息查询区块链,获得所述区块链账户的交易次数;根据所述交易次数和所述签名次数对所述数字货币物理载体的账户合法性进行验证。
本公开第二方面提供一种数字货币的账户验证方法,所述方法应用于数字货币物理载体,其中,所述数字货币物理载体存储有区块链账户的账户信 息和私钥的签名次数,所述方法包括:接收终端设备发送的查询请求;响应于所述查询请求,获取所述数字货币物理载体中存储的所述账户信息和所述签名次数;向所述终端设备发送查询响应,所述查询响应包括所述账户信息和所述签名次数,所述查询响应用于所述终端设备根据所述账户信息和所述签名次数验证所述数字货币物理载体的账户合法性。
本公开第三方面提供一种数字货币的交易方法,所述方法应用于数字货币物理载体,所述数字货币物理载体存储有区块链账户的私钥,所述方法包括:接收终端设备发送的签名请求;利用所述私钥对所述签名请求携带的交易信息进行签名,并在签名成功后,更新所述私钥的签名次数;向所述终端设备发送签名响应,所述签名响应包括签名后的所述交易信息,所述签名响应用于所述终端设备根据所述交易信息向区块链网络发起交易。
本公开第四方面提供一种数字货币的交易方法,所述方法应用于终端设备,所述方法包括:创建交易信息;向数字货币物理载体发送签名请求,所述签名请求包括所述交易信息,其中,所述数字货币物理载体存储有区块链账户的私钥;接收所述数字货币物理载体发送的签名响应,所述签名响应包括经所述私钥签名的所述交易信息;根据经所述私钥签名的所述交易信息向区块链网络发起交易。
本公开第五方面提供一种数字货币的账户验证装置,所述装置应用于终端设备,所述装置包括:第一发送模块,用于向数字货币物理载体发送查询请求,其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数;第一接收模块,用于接收所述数字货币物理载体发送的查询响应,所述查询响应包括所述账户信息和所述签名次数;查询模块,用于根据所述账户信息查询区块链,获得所述区块链账户的交易次数;验证模块,用于根据所述交易次数和所述签名次数对所述数字货币物理载体的账户合法性进行验证。
本公开第六方面提供一种数字货币的账户验证装置,所述装置应用于数字货币物理载体,其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数,所述装置包括:第二接收模块,用于接收终端设备发送的查询请求;获取模块,用于响应于所述查询请求,获取所述数字货币物理载体中存储的所述账户信息和所述签名次数;第二发送模块,用于向所述终端设备发送查询响应,所述查询响应包括所述账户信息和所述签名次数, 所述查询响应用于所述终端设备根据所述账户信息和所述签名次数验证所述数字货币物理载体的账户合法性。
本公开第七方面提供一种数字货币的交易装置,所述装置应用于数字货币物理载体,所述数字货币物理载体存储有区块链账户的私钥,所述装置包括:第三接收模块,用于接收终端设备发送的签名请求;签名模块,用于利用所述私钥对所述签名请求携带的交易信息进行签名;更新模块,用于在签名成功后,更新所述私钥的签名次数;第三发送模块,用于向所述终端设备发送签名响应,所述签名响应包括签名后的所述交易信息,所述签名响应用于所述终端设备根据所述交易信息向区块链网络发起交易。
本公开第八方面提供一种数字货币的交易装置,所述装置应用于终端设备,所述装置包括:创建模块,用于创建交易信息;第四发送模块,用于向数字货币物理载体发送签名请求,所述签名请求包括所述交易信息,其中,所述数字货币物理载体存储有区块链账户的私钥;第四接收模块,用于接收所述数字货币物理载体发送的签名响应,所述签名响应包括经所述私钥签名的所述交易信息;发起模块,用于根据经所述私钥签名的所述交易信息向区块链网络发起交易。
本公开第九方面提供一种终端设备,包括:存储器,其上存储有计算机程序;处理器,用于执行所述存储器中的所述计算机程序,以实现第一方面和第四方面所述方法的步骤。
本公开第十方面提供一种计算机可读存储介质,该程序被处理器执行时实现第一方面和第四方面所述方法的步骤。
本公开第十一方面提供一种数字货币物理载体,包括:存储器,其上存储有计算机程序;处理器,用于执行所述存储器中的所述计算机程序,以实现第二方面和第三方面所述方法的步骤。
本公开第十二方面提供一种计算机可读存储介质,该程序被处理器执行时实现第二方面和第三方面所述方法的步骤。
采用上述技术方案,至少可以达到如下技术效果:终端设备在需要对数字货币物理载体的账户合法性进行验证时,通过向数字货币物理载体发送查询请求,接收数字货币物理载体发送的携带有账户信息和私钥签名次数的查询响应,根据账户信息查询区块链可以获取到该数字货币物理载体的交易次数。区块链的去中心化和不可篡改特性确保了终端设备获取到的交易次数 真实可靠,这样,基于获取到的交易次数和私钥的签名次数对数字货币物理载体的账户合法性进行验证,可以确保验证结果可靠,并且相比于现有技术中仅根据私钥是否签名使用来验证,对需多次使用的数字货币物理载体仍适用,不会阻碍数字货币物理载体的继续使用和流通。
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。
附图说明
图1是本公开实施例提供的一种数字货币的交易方法的流程图;
图2是本公开实施例提供的另一种数字货币的交易方法的流程图;
图3是本公开实施例的一种实施环境示意图;
图4是本公开实施例提供的数字货币的交易方法的信令交互示意图;
图5是本公开实施例还提供一种数字货币的账户验证方法的流程图;
图6是本公开实施例提供的另一种数字货币的账户验证方法的流程图;
图7是本公开实施例提供的一种数字货币的账户验证方法的信令交互示意图;
图8是本公开实施例提供的一种数字货币的账户验证装置的框图,其中,该账户验证装置应用于终端设备;
图9是本公开实施例提供的另一种数字货币的账户验证装置的框图,其中,该账户验证装置应用于终端设备;
图10是本公开实施例提供的另一种数字货币的账户验证装置的框图;
图11是本公开实施例提供的一种数字货币的交易装置的框图;
图12是本公开实施例提供的另一种数字货币的交易装置的框图;
图13是本公开实施例提供的另一种数字货币的交易装置的框图;
图14是本公开实施例提供的一种终端设备的结构示意图。
具体实施方式
以下结合附图对本公开的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制本公开。
值得说明的是,本公开的说明书和权利要求书以及上述附图中的术语 “第一”、“第二”等是用于区别类似的对象,而不必理解为特定的顺序或先后次序。
本公开实施例提供一种数字货币的交易方法,该交易方法应用于数字货币物理载体,其中,所述数字货币物理载体中存储有区块链账户的私钥,如图1所示,所述交易方法包括:
在步骤S101中,接收终端设备发送的签名请求。
其中,签名请求包括需要数字货币物理载体签署的交易信息。示例地,交易信息可以是货币交易信息,例如收款人地址等。
在步骤S102中,利用私钥对签名请求携带的交易信息进行签名,并在签名成功后,更新私钥的签名次数。
数字货币物理载体会记录其利用私钥对交易信息进行签名的次数。在一种可能的实现方式中,可设置用于统计私钥的签名次数的计数值,在数字货币物理载体每利用所述私钥对签名请求中的交易信息进行一次签名时,将该计数值加1。
在具体实施时,可在数字货币物理载体中设置一逻辑计数器并为该逻辑计数器设置一初始值(例如设置为0),数字货币物理载体每利用私钥对交易信息进行一次签名,就触发该逻辑计数器将计数值加1。这样,通过读取该逻辑计数器中的计数值,就可以得到该数字货币物理载体的私钥签名次数。
在步骤S103中,向终端设备发送签名响应,所述签名响应包括签名后的交易信息,所述签名响应用于终端设备根据交易信息向区块链网络发起交易。
由数字货币物理载体将携带有签名后的交易信息的签名响应发送给终端设备,由终端设备向区块链发起交易,这样,区块链上便记录有该数字货币物理载体的每一次交易信息,根据该数字货币物理载体的账户信息(例如公钥或钱包地址)等查询区块链,便可以获取到该数字货币物理载体的所有交易信息(例如交易次数)。区块链的去中心化和不可篡改特性可以保证记录的交易信息真实可靠。
本公开实施例还提供另一种数字货币的交易方法,所述交易方法应用于终端设备,如图2所示,所述交易方法包括:
在步骤S201中,创建交易信息。
示例地,交易信息可以是用于进行货币交易流通的货币交易信息。该交 易信息由终端设备基于用户操作创建。
在步骤S202中,向数字货币物理载体发送签名请求,所述签名请求包括所述交易信息。
其中,数字货币物理载体中存储有区块链账户的私钥。终端设备向数字货币物理载体发送签名请求,由数字货币物理载体响应于该签名请求,利用所述私钥对交易信息进行签名,并向终端设备发送携带有经私钥签名的交易信息的签名响应。
在步骤S203中,接收数字货币物理载体发送的签名响应,所述签名响应包括经私钥签名的交易信息。
在步骤S204中,根据经私钥签名的交易信息向区块链网络发起交易。
值得说明的是,终端设备向区块链网络发起交易的流程与现有区块链上交易流程一致,此处不再赘述。
终端设备在接收到数字货币物理载体发送的签名响应后,根据签名响应携带的经数字货币物理载体的私钥签名的交易信息,向区块链发起交易,这样,区块链上便记录有该数字货币物理载体的每一次交易信息,进而使得包括终端设备在内的区块链节点都可通过查询区块链获取到该数字货币物理载体的交易信息(例如交易次数等)。区块链的去中心化和不可篡改特性可以保证记录的交易信息真实可靠。
图3是本公开实施例的一种实施环境示意图,如图3所示,该实施环境包括数字货币物理载体10、终端设备20以及区块链网络30。
其中,数字货币物理载体10可以是任意可编程的智能卡,例如Java Card,造型也可以是币型,本公开对此不做限定,图3仅以币型示意。数字货币物理载体10内可设置有一逻辑计数器11,可用于记录数字货币物理载体10的私钥的签名次数。终端设备20是区块链网络30中的区块链节点,其可以包括但不限于智能手机、平板电脑、智能可穿戴设备、计算机等,图3仅以智能手机示意。
为了使本领域技术人员更容易理解本公开实施例提供的技术方案,下面结合图3,对本公开实施例提供的一种数字货币的交易方法进行详细说明,如图4所示,所述交易方法包括:
在步骤S401中,终端设备20创建交易信息。
示例地,交易信息可以是用于进行货币交易流通的货币交易信息,例如 收款人地址。该交易信息由终端设备基于用户操作创建。
在步骤S402中,终端设备20向数字货币物理载体10发送签名请求。
其中,所述签名请求包括所述交易信息。
在步骤S403中,数字货币物理载体10利用私钥对签名请求携带的交易信息进行签名,并在签名成功后,更新私钥的签名次数。
其中,数字货币物理载体10中存储有区块链账户的私钥。
数字货币物理载体10会记录其利用私钥对交易信息进行签名的次数,用于表征数字货币物理载体的交易次数。
在一种可能的实现方式中,数字货币物理载体10可设置用于统计私钥的签名次数的计数值,在每利用所述私钥对签名请求中的交易信息进行一次签名时,将该计数值加1。
在具体实施时,可在数字货币物理载体中设置一逻辑计数器并为该逻辑计数器设置一初始值(例如设置为0),数字货币物理载体每利用私钥对交易信息进行一次签名,就触发该逻辑计数器将计数值加1。这样,通过读取该逻辑计数器中的计数值,就可以得到该数字货币物理载体的私钥签名次数。
在步骤S404中,数字货币物理载体10向终端设备20发送签名响应。
其中,所述签名响应包括签名后的交易信息。
在步骤S405中,终端设备20根据签名响应携带的签名后的交易信息,向区块链网络发起交易。
值得说明的是,终端设备向区块链网络发起交易的流程与现有区块链上交易流程一致,此处不再赘述。
另外,对于上述数字货币的交易方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开并不受所描述的动作顺序的限制。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本公开所必须的。
本公开实施例还提供一种数字货币的账户验证方法,该方法应用于终端设备,如图5所示,该方法包括:
在步骤S501中,向数字货币物理载体发送查询请求,其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数。
终端设备在需要对数字货币物理载体的账户合法性进行验证时,可以向 数字货币物理载体发送查询请求,由数字货币物理载体响应于该查询请求,将存储的账户信息和私钥的签名次数返回给终端设备。
示例地,该账户信息可以包括该区块链账户的钱包地址,还可以包括该区块链账户的密钥对(公钥和私钥),其中,钱包地址是根据公钥生成的。
在步骤S502中,接收数字货币物理载体发送的查询响应,所述查询响应包括所述账户信息和私钥的签名次数。
在步骤S503中,根据所述账户信息查询区块链网络,获得所述区块链账户的交易次数。
示例地,账户信息可以包括钱包地址。相应地,终端设备根据该钱包地址查询区块链,可得到所述区块链账户的交易次数。
在步骤S504中,根据交易次数和签名次数对数字货币物理载体的账户合法性进行验证。
在一种可能的实现方式中,由于区块链中存储的信息具有不可篡改的特性,使得区块链中存储的信息可以被信任,因而在查询到该区块链账户的交易次数后,可将查询到的交易次数与签名次数进行一致性比对,根据比对结果确定所述数字货币物理载体的账户是否合法。
具体地,若私钥的签名次数与查询到的交易次数一致,可认为经私钥签名的每一笔交易均已完成,则可确定数字货币物理载体的账户合法;否则,则可认为数字货币物理载体的账户不合法。进一步地,若私钥的签名次数大于查询到的交易次数,可认为数字货币物理载体的账户存在未完成的交易;若私钥的签名次数小于查询到的交易次数,可认为数字货币的物理账户存在错误。
值得说明的是,在合法状态下,数字货币物理载体可作为实体货币进行交易,也可以用作身份凭证;在不安全状态下,数字货币物理载体可能已经利用私钥签署过交易,但是该交易还未被确认,其中,交易未被广播到区块链网络,或者还未被区块链网络接受等原因均可导致交易处于未被确认状态,在此种状态下,该数字货币物理载体既不可用于交易,也不可作为身份凭证。
在本公开的另一个实施例中,终端设备在确定数字货币物理载体的账户合法时,还可以根据账户信息对区块链账户的钱包进行充值和/或余额查询。示例地,账户信息包括钱包地址,终端设备可读取钱包地址,向钱包地址进 行充值和/或余额查询。
值得说明的是,若数字货币物理载体的账户合法时,根据账户信息查询到的余额即为该数字货币物理载体的区块链账户的实际余额。
通过上述方法,终端设备在需要对数字货币物理载体的账户合法性进行验证时,通过向数字货币物理载体发送查询请求,接收数字货币物理载体发送的携带有账户信息和私钥签名次数的查询响应,根据账户信息查询区块链可以获取到该数字货币物理载体的交易次数。区块链的去中心化和不可篡改特性确保了终端设备获取到的交易次数真实可靠,这样,基于获取到的交易次数和私钥的签名次数对数字货币物理载体的账户合法性进行验证,可以确保验证结果可靠,并且相比于现有技术中仅根据私钥是否签名使用来验证,对需多次使用的数字货币物理载体仍适用,不会阻碍数字货币物理载体的继续使用和流通。
本公开实施例还提供另一种数字货币的账户验证方法,所述账户验证方法应用于数字货币物理载体,如图6所示,所述账户验证方法包括:
在步骤S601中,接收终端设备发送的查询请求。
终端设备在需要对数字货币物理载体的账户合法性进行验证时,会向数字货币物理载体发送查询请求。
在步骤S602中,响应于查询请求,获取数字货币物理载体中存储的账户信息和私钥的签名次数。
示例地,数字货币物理载体中存储有区块链账户的账户信息和私钥的签名次数。其中,账户信息可以包括但不限于密钥对(公钥和私钥)、钱包地址等,钱包地址是根据公钥生成的。
在步骤S603中,向终端设备发送查询响应,所述查询响应包括账户信息和私钥的签名次数。
其中,所述签名响应用于终端设备根据账户信息和私钥的签名次数验证数字货币物理载体的账户合法性。终端设备对数字货币物理载体的账户合法性验证方法可参见图5所示的方法实施例的相关描述。
通过上述方法,数字货币物理载体响应于终端设备发送的查询请求,将其存储的区块链账户的账户信息和私钥的签名次数发送给终端设备,这样,终端设备根据账户信息可以查询区块链,得到该数字货币物理载体的交易次数。区块链的去中心化和不可篡改特性确保了终端设备获取到的交易次数真 实可靠,这样,使得终端设备根据真实可靠的交易次数和私钥的签名次数对数字货币物理载体的账户合法性进行验证,可以确保验证结果可靠,并且相比于现有技术中仅根据私钥是否签名使用来验证,对需多次使用的数字货币物理载体仍适用,不会阻碍数字货币物理载体的继续使用和流通。
为了使本领域技术人员更容易理解本公开实施例提供的技术方案,下面结合图3,对本公开实施例提供的一种数字货币的账户验证方法进行详细说明,如图7所示,所述账户验证方法包括:
在步骤S701中,终端设备20向数字货币物理载体10发送查询请求。
其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数。示例地,该账户信息可以包括该区块链账户的钱包地址,还可以包括该区块链账户的密钥对(公钥和私钥),其中,钱包地址是根据公钥生成的。
在步骤S702中,数字货币物理载体10响应于所述查询请求,获取数字货币物理载体中存储的区块链账户的账户信息和私钥的签名次数。
在步骤S703中,数字货币物理载体10向终端设备20发送查询响应,所述查询响应包括所述账户信息和私钥的签名次数。
在步骤S704中,终端设备20根据所述账户信息查询区块链,获得所述区块链账户的交易次数。
在步骤S705中,终端设备20根据查询到的交易次数和私钥的签名次数对数字货币物理载体10的账户合法性进行验证。
在一种可能的实现方式中,由于区块链中存储的信息具有不可篡改的特性,使得区块链中存储的信息可以被信任,因而在查询到该区块链账户的交易次数后,可将查询到的交易次数与签名次数进行一致性比对,根据比对结果确定所述数字货币物理载体的账户是否合法。
具体地,如表1所示,若私钥的签名次数与查询到的交易次数一致,可认为经私钥签名的每一笔交易均已完成,则可确定数字货币物理载体的账户合法;否则,则可认为数字货币物理载体的账户不合法。进一步地,若私钥的签名次数大于查询到的交易次数,可认为数字货币物理载体的账户存在未完成的交易;若私钥的签名次数小于查询到的交易次数,可认为数字货币的物理账户存在错误。
值得说明的是,在合法状态下,数字货币物理载体可作为实体货币进行 交易,也可以用作身份凭证;在不安全状态下,数字货币物理载体可能已经利用私钥签署过交易,但是该交易还未被确认,其中,交易未被广播到区块链网络,或者还未被区块链网络接受等原因均可导致交易处于未被确认状态,在此种状态下,该数字货币物理载体既不可用于交易,也不可作为身份凭证。
因此,在一种可能的应用场景下,拥有数字货币物理载体的用户在进行消费时,收款人收取数字货币物理载体时,利用自身携带的智能手机(即终端设备)对该数字货币物理载体的账户合法性进行验证,验证方法如图5所示。在确认该数字货币物理载体的账户合法时,完成交易;若该数字货币物理载体的账户不合法时,则可以拒绝收取。
在另一种可能的应用场景下,拥有数字货币物理载体的用户在进行身份认证时,认证方收取数字货币物理载体,利用认证设备(即终端设备)对该数字货币物理载体的合法性进行验证,验证方法如图5所示。在确认该数字货币物理载体的账户合法时,则确定该用户通过身份认证;否则,则确定该用户未通过身份认证。
需要补充说明的是,图1至图7中所涉及到的终端设备与数字货币物理载体之间的交互,需要终端设备与数字货币物理载体之间建立通信连接,该通信连接可以是有线的,也可以是无线的,可以是接触式的,也可以是非接触式的。其中,接触式的例如可以是NFC通信(Near Field Communication,近距离无线通信),这样,终端设备即可以是带有NFC接口的智能手机。
本公开实施例还提供一种数字货币的账户验证装置,所述账户验证装置应用于终端设备,如图8所示,所述账户验证装置800包括:第一发送模块801,用于向数字货币物理载体发送查询请求,其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数;第一接收模块802,用于接收所述数字货币物理载体发送的查询响应,所述查询响应包括所述账户信息和所述签名次数;查询模块803,用于根据所述账户信息查询区块链,获得所述区块链账户的交易次数;验证模块804,用于根据所述交易次数和所述签名次数对所述数字货币物理载体的账户合法性进行验证。
可选地,如图9所示,所述验证模块804包括:比对子模块841,用于将所述签名次数和所述交易次数进行一致性比对;确定子模块842,用于若所述签名次数与所述交易次数一致,则确定所述数字货币物理载体的账户合 法。
可选地,如图9所示,所述账户验证装置800还包括:查询模块805,用于在确定所述数字货币物理载体的账户合法时,根据所述账户信息对所述区块链账户的钱包进行充值和/或查询余额。
本公开实施例还提供一种数字货币的账户验证装置,所述账户验证装置应用于数字货币物理载体,如图10所示,所述账户验证装置1000包括:第二接收模块1001,用于接收终端设备发送的查询请求;获取模块1002,用于响应于所述查询请求,获取所述数字货币物理载体中存储的所述账户信息和所述签名次数;第二发送模块1003,用于向所述终端设备发送查询响应,所述查询响应包括所述账户信息和所述签名次数,所述查询响应用于所述终端设备根据所述账户信息和所述签名次数验证所述数字货币物理载体的账户合法性。
本公开实施例还提供一种数字货币的交易装置,所述交易装置应用于数字货币物理载体,所述数字货币物理载体存储有区块链账户的私钥,如图11所示,所述交易装置1100包括:第三接收模块1101,用于接收终端设备发送的签名请求;签名模块1102,用于利用所述私钥对所述签名请求携带的交易信息进行签名;更新模块1103,用于在签名成功后,更新所述私钥的签名次数;第三发送模块1104,用于向所述终端设备发送签名响应,所述签名响应包括签名后的所述交易信息,所述签名响应用于所述终端设备根据所述交易信息向区块链网络发起交易。
可选地,如图12所示,所述更新模块1103包括:设置子模块1131,用于设置用于统计所述私钥的签名次数的计数值;更新子模块1132,用于每利用所述私钥对所述签名请求携带的交易信息进行一次签名,将所述计数值增加1。
本公开实施例还提供一种数字货币的交易装置,所述交易装置应用于终端设备,如图13所示,所述交易装置1300包括:创建模块1301,用于创建交易信息;第四发送模块1302,用于向数字货币物理载体发送签名请求,所述签名请求包括所述交易信息,其中,所述数字货币物理载体存储有区块链账户的私钥;第四接收模块1303,用于接收所述数字货币物理载体发送的签名响应,所述签名响应包括经所述私钥签名的所述交易信息;发起模块1304,用于根据经所述私钥签名的所述交易信息向区块链网络发起交易。
本公开实施例还提供一种数字货币物理载体,包括:存储器,其上存储有计算机程序;处理器,用于执行所述存储器中的所述计算机程序,以实现上述方法实施例提供的数字货币的交易和账户验证方法中数字货币物理载体执行的方法步骤。
本公开实施例还提供一种计算机可读存储介质,该程序被处理器执行时实现上述方法实施例提供的数字货币的交易和账户验证方法中数字货币物理载体执行的方法步骤。
本公开实施例还提供一种终端设备,包括:存储器,其上存储有计算机程序;处理器,用于执行所述存储器中的所述计算机程序,以实现上述方法实施例提供的数字货币的交易和账户验证方法中终端设备执行的方法步骤。
示例地,图14是上述终端设备的一种可能的结构示意图。如图14所示,该终端设备1400可以包括:处理器1401,存储器1402。该终端设备1400还可以包括多媒体组件1403,输入/输出(I/O)接口1404,以及通信组件1405中的一者或多者。
其中,处理器1401用于控制该终端设备1400的整体操作,以完成上述方法实施例提供的数字货币的交易和账户验证方法中终端设备执行的方法步骤。存储器1402用于存储各种类型的数据以支持在该终端设备1400的操作,这些数据例如可以包括用于在该终端设备1400上操作的任何应用程序或方法的指令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该存储器1402可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。多媒体组件703可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1402或通过通信组件1405发送。音频组件还包括至少一个扬声器,用于输出音频信号。I/O接口1404为处理器1401 和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。通信组件1405用于该终端设备1400与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near Field Communication,简称NFC),2G、3G或4G,或它们中的一种或几种的组合,因此相应的该通信组件1405可以包括:Wi-Fi模块,蓝牙模块,NFC模块。
在一示例性实施例中,终端设备1400可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法实施例提供的数字货币的交易和账户验证方法中终端设备执行的方法步骤。
此外,本公开实施例提供的一种计算机可读存储介质即可以为上述包括程序指令的存储器1402,上述程序指令可由终端设备1400的处理器1401执行以完成上述方法实施例提供的数字货币的交易和账户验证方法中终端设备执行的方法步骤。
以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合,例如,可以在线上交易的流程中,对数字货币物理载体的货币有效性以及硬件合法性进行验证,也就是说,将图2和图7的方法结合到图3所示的方法流程中。为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。
此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公开的思想,其同样应当视为本公开所公开的内容。

Claims (18)

  1. 一种数字货币的账户验证方法,其特征在于,所述方法应用于终端设备,所述方法包括:
    向数字货币物理载体发送查询请求,其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数;
    接收所述数字货币物理载体发送的查询响应,所述查询响应包括所述账户信息和所述签名次数;
    根据所述账户信息查询区块链,获得所述区块链账户的交易次数;
    根据所述交易次数和所述签名次数对所述数字货币物理载体的账户合法性进行验证。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述交易次数和所述签名次数对所述数字货币物理载体的账户合法性进行验证,包括:
    将所述签名次数和所述交易次数进行一致性比对;
    若所述签名次数与所述交易次数一致,则确定所述数字货币物理载体的账户合法。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    若所述数字货币物理载体的账户合法,则根据所述账户信息对所述区块链账户的钱包进行充值和/或查询余额。
  4. 一种数字货币的账户验证方法,其特征在于,所述方法应用于数字货币物理载体,其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数,所述方法包括:
    接收终端设备发送的查询请求;
    响应于所述查询请求,获取所述数字货币物理载体中存储的所述账户信息和所述签名次数;
    向所述终端设备发送查询响应,所述查询响应包括所述账户信息和所述签名次数,所述查询响应用于所述终端设备根据所述账户信息和所述签名次数验证所述数字货币物理载体的账户合法性。
  5. 一种数字货币的交易方法,其特征在于,所述方法应用于数字货币物理载体,所述数字货币物理载体存储有区块链账户的私钥,所述方法包括:
    接收终端设备发送的签名请求;
    利用所述私钥对所述签名请求携带的交易信息进行签名,并在签名成功后,更新所述私钥的签名次数;
    向所述终端设备发送签名响应,所述签名响应包括签名后的所述交易信息,所述签名响应用于所述终端设备根据所述交易信息向区块链网络发起交易。
  6. 根据权利要求5所述的方法,其特征在于,所述更新所述私钥的签名次数,包括:
    设置用于统计所述私钥的签名次数的计数值;
    每利用所述私钥对所述签名请求携带的交易信息进行一次签名,将所述计数值增加1。
  7. 一种数字货币的交易方法,其特征在于,所述方法应用于终端设备,所述方法包括:
    创建交易信息;
    向数字货币物理载体发送签名请求,所述签名请求包括所述交易信息,其中,所述数字货币物理载体存储有区块链账户的私钥;
    接收所述数字货币物理载体发送的签名响应,所述签名响应包括经所述私钥签名的所述交易信息;
    根据经所述私钥签名的所述交易信息向区块链网络发起交易。
  8. 一种数字货币的账户验证装置,其特征在于,所述装置应用于终端设备,所述装置包括:
    第一发送模块,用于向数字货币物理载体发送查询请求,其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数;
    第一接收模块,用于接收所述数字货币物理载体发送的查询响应,所述查询响应包括所述账户信息和所述签名次数;
    查询模块,用于根据所述账户信息查询区块链,获得所述区块链账户的 交易次数;
    验证模块,用于根据所述交易次数和所述签名次数对所述数字货币物理载体的账户合法性进行验证。
  9. 根据权利要求8所述的装置,其特征在于,所述验证模块包括:
    比对子模块,用于将所述签名次数和所述交易次数进行一致性比对;
    确定子模块,用于若所述签名次数与所述交易次数一致,则确定所述数字货币物理载体的账户合法。
  10. 根据权利要求8或9所述的装置,其特征在于,所述装置还包括:
    查询模块,用于在确定所述数字货币物理载体的账户合法时,根据所述账户信息对所述区块链账户的钱包进行充值和/或查询余额。
  11. 一种数字货币的账户验证装置,其特征在于,所述装置应用于数字货币物理载体,其中,所述数字货币物理载体存储有区块链账户的账户信息和私钥的签名次数,所述装置包括:
    第二接收模块,用于接收终端设备发送的查询请求;
    获取模块,用于响应于所述查询请求,获取所述数字货币物理载体中存储的所述账户信息和所述签名次数;
    第二发送模块,用于向所述终端设备发送查询响应,所述查询响应包括所述账户信息和所述签名次数,所述查询响应用于所述终端设备根据所述账户信息和所述签名次数验证所述数字货币物理载体的账户合法性。
  12. 一种数字货币的交易装置,其特征在于,所述装置应用于数字货币物理载体,所述数字货币物理载体存储有区块链账户的私钥,所述装置包括:
    第三接收模块,用于接收终端设备发送的签名请求;
    签名模块,用于利用所述私钥对所述签名请求携带的交易信息进行签名;
    更新模块,用于在签名成功后,更新所述私钥的签名次数;
    第三发送模块,用于向所述终端设备发送签名响应,所述签名响应包括签名后的所述交易信息,所述签名响应用于所述终端设备根据所述交易信息向区块链网络发起交易。
  13. 根据权利要求12所述的装置,其特征在于,所述更新模块包括:
    设置子模块,用于设置用于统计所述私钥的签名次数的计数值;
    更新子模块,用于每利用所述私钥对所述签名请求携带的交易信息进行一次签名,将所述计数值增加1。
  14. 一种数字货币的交易装置,其特征在于,所述装置应用于终端设备,所述装置包括:
    创建模块,用于创建交易信息;
    第四发送模块,用于向数字货币物理载体发送签名请求,所述签名请求包括所述交易信息,其中,所述数字货币物理载体存储有区块链账户的私钥;
    第四接收模块,用于接收所述数字货币物理载体发送的签名响应,所述签名响应包括经所述私钥签名的所述交易信息;
    发起模块,用于根据经所述私钥签名的所述交易信息向区块链网络发起交易。
  15. 一种终端设备,其特征在于,包括:
    存储器,其上存储有计算机程序;
    处理器,用于执行所述存储器中的所述计算机程序,以实现权利要求1至3以及权利要求7中任一项所述方法的步骤。
  16. 一种计算机可读存储介质,其特征在于,该程序被处理器执行时实现权利要求1至3以及权利要求7中任一项所述方法的步骤。
  17. 一种数字货币物理载体,其特征在于,包括:
    存储器,其上存储有计算机程序;
    处理器,用于执行所述存储器中的所述计算机程序,以实现权利要求4至6中任一项所述方法的步骤。
  18. 一种计算机可读存储介质,其特征在于,该程序被处理器执行时实现权利要求4至6中任一项所述方法的步骤。
PCT/CN2019/075936 2019-02-22 2019-02-22 数字货币的交易和账户验证方法,装置及存储介质 WO2020168564A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980092465.5A CN113474804A (zh) 2019-02-22 2019-02-22 数字货币的交易和账户验证方法,装置及存储介质
PCT/CN2019/075936 WO2020168564A1 (zh) 2019-02-22 2019-02-22 数字货币的交易和账户验证方法,装置及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/075936 WO2020168564A1 (zh) 2019-02-22 2019-02-22 数字货币的交易和账户验证方法,装置及存储介质

Publications (1)

Publication Number Publication Date
WO2020168564A1 true WO2020168564A1 (zh) 2020-08-27

Family

ID=72143992

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/075936 WO2020168564A1 (zh) 2019-02-22 2019-02-22 数字货币的交易和账户验证方法,装置及存储介质

Country Status (2)

Country Link
CN (1) CN113474804A (zh)
WO (1) WO2020168564A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202564A (zh) * 2020-09-14 2021-01-08 成都质数斯达克科技有限公司 交易传递方法、装置、电子设备及可读存储介质
CN112419062A (zh) * 2020-11-26 2021-02-26 深圳市朗科科技股份有限公司 一种nfc数字货币交易方法及系统
CN113052599A (zh) * 2021-03-31 2021-06-29 中国人民银行数字货币研究所 交易凭证的生成、验证及存储方法、装置、设备和系统
CN114066451A (zh) * 2021-11-16 2022-02-18 支付宝(杭州)信息技术有限公司 管理资金交易的方法和系统、电子设备

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115374421B (zh) * 2022-10-24 2023-01-31 浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心) 用于目标对象的电子凭证的管理方法、装置及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850200A (zh) * 2017-01-25 2017-06-13 中钞信用卡产业发展有限公司北京智能卡技术研究院 一种使用基于区块链的数字货币的方法、系统及终端
CN107993066A (zh) * 2017-12-20 2018-05-04 国民认证科技(北京)有限公司 一种资源交易方法及电子钱包系统
CN108492183A (zh) * 2018-03-29 2018-09-04 深圳前海微众银行股份有限公司 区块链的账户交易方法、系统和计算机可读存储介质
CN108964924A (zh) * 2018-07-24 2018-12-07 腾讯科技(深圳)有限公司 数字证书校验方法、装置、计算机设备和存储介质
CN108985100A (zh) * 2018-08-15 2018-12-11 百度在线网络技术(北京)有限公司 基于区块链的元素安全性证明方法、装置、设备和介质
CN109118186A (zh) * 2018-08-21 2019-01-01 甲骨文科技时代(深圳)有限公司 一种基于硬件芯片的数字货币交易方法
US20190036700A1 (en) * 2016-07-29 2019-01-31 Trusted Key Solutions Inc. Blockchain-based secure credential and token management across multiple devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190036700A1 (en) * 2016-07-29 2019-01-31 Trusted Key Solutions Inc. Blockchain-based secure credential and token management across multiple devices
CN106850200A (zh) * 2017-01-25 2017-06-13 中钞信用卡产业发展有限公司北京智能卡技术研究院 一种使用基于区块链的数字货币的方法、系统及终端
CN107993066A (zh) * 2017-12-20 2018-05-04 国民认证科技(北京)有限公司 一种资源交易方法及电子钱包系统
CN108492183A (zh) * 2018-03-29 2018-09-04 深圳前海微众银行股份有限公司 区块链的账户交易方法、系统和计算机可读存储介质
CN108964924A (zh) * 2018-07-24 2018-12-07 腾讯科技(深圳)有限公司 数字证书校验方法、装置、计算机设备和存储介质
CN108985100A (zh) * 2018-08-15 2018-12-11 百度在线网络技术(北京)有限公司 基于区块链的元素安全性证明方法、装置、设备和介质
CN109118186A (zh) * 2018-08-21 2019-01-01 甲骨文科技时代(深圳)有限公司 一种基于硬件芯片的数字货币交易方法

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202564A (zh) * 2020-09-14 2021-01-08 成都质数斯达克科技有限公司 交易传递方法、装置、电子设备及可读存储介质
CN112419062A (zh) * 2020-11-26 2021-02-26 深圳市朗科科技股份有限公司 一种nfc数字货币交易方法及系统
CN112419062B (zh) * 2020-11-26 2024-05-24 深圳市朗科科技股份有限公司 一种nfc数字货币交易方法及系统
CN113052599A (zh) * 2021-03-31 2021-06-29 中国人民银行数字货币研究所 交易凭证的生成、验证及存储方法、装置、设备和系统
CN113052599B (zh) * 2021-03-31 2024-05-28 中国人民银行数字货币研究所 交易凭证的生成、验证及存储方法、装置、设备和系统
CN114066451A (zh) * 2021-11-16 2022-02-18 支付宝(杭州)信息技术有限公司 管理资金交易的方法和系统、电子设备

Also Published As

Publication number Publication date
CN113474804A (zh) 2021-10-01

Similar Documents

Publication Publication Date Title
WO2020168564A1 (zh) 数字货币的交易和账户验证方法,装置及存储介质
TWI828857B (zh) 在區塊鏈網路上實施轉移之電腦實施系統及方法
WO2018120121A1 (zh) 区块链权限控制方法、装置及节点设备
CA3011600C (en) Information transaction infrastructure
TWI727594B (zh) 塊鏈式帳本中的簽名驗證方法、系統、裝置及設備
US10387856B2 (en) Online payment method, system, and apparatus
TW202018572A (zh) 基於利用零知識證明的帳戶票據模型的區塊鏈資料保護
TW201935384A (zh) 資產管理方法及裝置、電子設備
TW201935383A (zh) 資產管理方法及裝置、電子設備
TWI721552B (zh) 基於區塊鏈的資料存證方法及裝置、電子設備
US20160358135A1 (en) Digital currency management method and digital currency node apparatus
JP2020512715A (ja) ブロックチェーンノード間の通信のための方法、装置および電子デバイス、ならびにブロックチェーンに基づく証明書管理のための方法、装置および電子デバイス
CN110177124B (zh) 基于区块链的身份认证方法及相关设备
KR20170040079A (ko) 블록 검증을 위한 복수의 일방향 함수를 지원하는 블록 체인
TW201822033A (zh) 資源處理方法及裝置
WO2020258857A1 (zh) 一种基于区块链智能合约的转账方法及系统
JP2018093434A (ja) トランザクション管理方法、トランザクション管理プログラム及びトランザクション管理装置
WO2020056601A1 (zh) 资产托管方法,存储介质,区块链系统及区块链节点
CN109067545A (zh) 密钥管理方法、装置及存储介质
CN109428722A (zh) 一种内容发布方法及装置
US20240143202A1 (en) Customer-specific activation of functionality in a semiconductor device
JP2022539283A (ja) ブロックチェーンとは異なる形式のストレージに格納されるブロックチェーンデータを検証する方法およびシステム
CN111314066B (zh) 基于区块链的数据转移方法、终端及计算机可读存储介质
KR102348232B1 (ko) 탈중앙화 아이디 기반의 가상 자산 서비스 제공 방법 및 이를 이용한 가상 자산 서비스 제공 서버
CN111899104B (zh) 一种业务执行方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19916256

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19916256

Country of ref document: EP

Kind code of ref document: A1