WO2021031460A1 - 一种区块链交易结算方法、系统及相关设备 - Google Patents

一种区块链交易结算方法、系统及相关设备 Download PDF

Info

Publication number
WO2021031460A1
WO2021031460A1 PCT/CN2019/123590 CN2019123590W WO2021031460A1 WO 2021031460 A1 WO2021031460 A1 WO 2021031460A1 CN 2019123590 W CN2019123590 W CN 2019123590W WO 2021031460 A1 WO2021031460 A1 WO 2021031460A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
utxo
amount
target asset
currency
Prior art date
Application number
PCT/CN2019/123590
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 深圳市网心科技有限公司
Publication of WO2021031460A1 publication Critical patent/WO2021031460A1/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/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to the field of blockchain technology, in particular to a blockchain transaction settlement method, system and related equipment.
  • the transaction privacy protection chain in the prior art for example, the blockchain corresponding to Monero, uses Monero to conduct transactions, and other users cannot obtain specific Monero transaction privacy information.
  • Monero only supports the transaction privacy protection of one asset (Monero).
  • Cross-chain asset transfer on the blockchain corresponding to Monero or trading Token assets generated by deploying contracts you can only Transaction accounting on public blocks cannot achieve transaction privacy protection for asset transfers other than Monero.
  • the embodiment of the present invention provides a blockchain transaction settlement method, system and related equipment, which are used to realize the compatibility of multiple asset transactions on the same blockchain and the protection of transaction privacy.
  • a blockchain transaction settlement method of the present invention is characterized in that it is applied to a blockchain node device, and the method includes:
  • the transaction information includes a transfer account, a transfer amount, a credit account, and a target asset identifier, where the target asset identifier is one of multiple preset asset identifiers;
  • said performing privacy protection processing on the transaction information to generate privacy transaction data includes:
  • the generating private transaction data based on the input ring signature, the currency public key of the second-type UTXO coin, and the amount commitment includes:
  • the ring signature algorithm is used to generate the transaction ring signature corresponding to the input message, and the transaction ring signature and Transaction elements are used as private transaction data.
  • the transaction elements include: the second-type UTXO coin and its currency public key, the input ring signature, the amount commitment and its zero-knowledge proof, and the target asset identification.
  • the blockchain transaction settlement method in the embodiment of the present invention further includes:
  • the blockchain transaction settlement method in the embodiment of the present invention further includes:
  • the second aspect of the embodiments of the present invention provides a blockchain transaction settlement method, which is applied to a blockchain node device, and the method includes:
  • the private transaction data is generated by the privacy protection processing of transaction information, and the transaction information includes the transfer account, the transfer amount, An account and a target asset identifier, where the target asset identifier is one of multiple preset asset identifiers;
  • the target account private key is used to parse the private transaction data Get the transfer amount and target asset identifier, including:
  • a third aspect of the embodiments of the present invention provides a blockchain transaction settlement system, which is characterized in that it includes:
  • An acquiring unit for acquiring transaction information for acquiring transaction information, the transaction information including a transfer account, a transfer amount, an account and a target asset identifier, the target asset identifier being one of a plurality of preset asset identifiers;
  • the processing unit is configured to verify whether the amount of the target asset corresponding to the target asset identifier in the transfer account is greater than the transfer amount, and if it is greater, then the transaction information is subjected to privacy protection processing to generate privacy transaction data, so that The transaction information cannot be parsed without the private keys of both parties to the transaction;
  • the broadcasting unit is used to broadcast the private transaction data to the blockchain for verification, and execute the transaction corresponding to the transaction information after the verification is passed.
  • the processing unit 302 in this embodiment of the present invention may include:
  • the verification module is configured to verify whether the amount of the target asset corresponding to the target asset identifier in the transfer account is greater than the transfer amount, and if it is greater, trigger the first processing module.
  • the first processing module is configured to determine the coin public key corresponding to the UTXO coin of the first type used for payment in the transfer account, and use a linkable ring signature algorithm to generate the input ring signature corresponding to the UTXO coin of the first type;
  • the second processing module is configured to generate, according to a preset key agreement protocol, the currency public key of the UTXO currency of the second type used by the entry account for collection;
  • the third processing module is configured to use the homomorphic commitment algorithm to calculate the amount commitment corresponding to the second type of UTXO currency;
  • the fourth processing module is used to generate the zero-knowledge proof of the amount commitment corresponding to the second type of UTXO coin according to the zero-knowledge proof algorithm;
  • the fifth processing module is configured to generate private transaction data according to the second-type UTXO coin and its coin public key, the input ring signature, the amount commitment and its zero-knowledge proof.
  • the fifth processing module in the embodiment of the present invention is configured to use the input ring signature, the currency public key of the second type UTXO currency, and the amount commitment as input Message
  • the ring signature algorithm is used to generate the transaction ring signature corresponding to the input message
  • the transaction ring signature and transaction elements are used as private transaction data.
  • the transaction elements include: the second type UTXO coin and its coin public key , The input ring signature, the amount commitment and its zero-knowledge proof, and the target asset identification.
  • the blockchain transaction settlement system in the embodiment of the present invention further includes:
  • the encryption unit is used to encrypt the amount of the UTXO currency of the second category by using the currency public key of the UTXO currency of the second category to hide the transfer amount.
  • the blockchain transaction settlement system in the embodiment of the present invention further includes:
  • a receiving unit configured to receive an amount checking request message, where the amount checking request message includes a target asset identifier
  • the query unit is used to query the current amount of the target asset corresponding to the target asset identifier, and display the current amount of the target asset.
  • the fourth aspect of the embodiments of the present invention provides a blockchain node device.
  • the blockchain node device includes a memory and a processor.
  • the memory stores a computer program that can run on the processor.
  • the program is executed by the processor, the steps in the blockchain transaction settlement method in the first aspect and any one of the possible implementations of the first aspect are implemented.
  • the blockchain node device in the embodiment of the present invention is a node forming a CDN network or a blockchain network.
  • a fifth aspect of the embodiments of the present invention provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and the computer program may be executed by one or more processors to implement the first aspect And the steps in the blockchain transaction settlement method in any possible implementation of the first aspect.
  • multiple asset identifiers are preset in the blockchain system, which is compatible with multiple types of asset transaction settlement.
  • the transaction information After the transaction information is acquired, it can be verified whether the amount of the target asset corresponding to the target asset identifier in the transfer account is If it is greater than the transfer amount, the transaction information will be processed for privacy protection to generate private transaction data, and the private transaction data will be broadcast to the blockchain for verification, and after the verification is passed, the transaction corresponding to the transaction information is executed to realize the blockchain Privacy protection for asset transactions other than legal currency.
  • Figure 1 is a schematic diagram of an embodiment of a blockchain transaction settlement method in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another embodiment of a method for settlement of a blockchain transaction in an embodiment of the present invention
  • FIG. 3 is a schematic diagram of another embodiment of a blockchain transaction settlement method in an embodiment of the present invention.
  • Figure 4 is a schematic diagram of the flow of amount binding in a blockchain transaction settlement method in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a process of performing public key expansion in a blockchain transaction settlement method in an embodiment of the present invention
  • FIG. 6 is a schematic diagram of an embodiment of a blockchain transaction settlement system in an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an embodiment of a blockchain node device in an embodiment of the present invention.
  • An embodiment of a method for settlement of blockchain transactions provided by the present invention may include:
  • the blockchain system in the embodiment of the present invention is a transaction privacy protection chain.
  • the transaction privacy chain if a transfer transaction, except for the transaction issuer and the transfer receiver, no other third party can access the transaction without the corresponding private key. Under the circumstances, the account information and transfer amount of both parties to the transaction are analyzed, and the relevance of the privacy transaction on the chain cannot be analyzed, then the transaction is a privacy protection transaction.
  • the target blockchain system may be any blockchain system that can protect transaction privacy, such as the blockchain corresponding to Monero , Ethereum blockchain, Zerocash blockchain system, etc.
  • unique asset identifiers are respectively set for various assets of different types, so as to be compatible with transaction settlement of multiple assets.
  • the same account can have multiple types of assets (such as Bitcoin, Monero, Ether, etc.), and various types of assets are distinguished by their respective asset identifiers.
  • the blockchain node device can obtain transaction information from the client, or the blockchain node device itself can obtain the transaction information generated by the user's selection/input operation as the client.
  • the transaction information includes at least the transfer account, transfer amount, The entry account and the target asset identifier, where the target asset identifier is one of multiple preset asset identifiers.
  • the blockchain node device After obtaining the transaction information, the blockchain node device needs to verify whether the amount of the target asset corresponding to the target asset identifier in the transfer account is greater than the transfer amount. If it is greater, the transfer transaction is reasonable, and the blockchain node device or client The transaction information can be processed for privacy protection to generate private transaction data, so that the transaction information cannot be parsed without the private keys of both parties to the transaction. If the amount of the target asset corresponding to the target asset identifier in the transfer account is less than the transfer amount, it may be prompted that the input is incorrect or the balance is insufficient.
  • the blockchain node device needs to broadcast the private transaction data to the blockchain for verification, and after the verification is passed, the transaction corresponding to the transaction information is executed, and the transaction information is executed on the blockchain. A new block is generated in.
  • multiple asset identifiers are preset in the blockchain system, which is compatible with multiple types of asset transaction settlement.
  • the transaction information After the transaction information is acquired, it can be verified whether the amount of the target asset corresponding to the target asset identifier in the transfer account is If it is greater than the transfer amount, the transaction information will be processed for privacy protection to generate private transaction data, and the private transaction data will be broadcast to the blockchain for verification, and after the verification is passed, the transaction corresponding to the transaction information is executed to realize the blockchain Privacy protection for asset transactions other than legal currency.
  • the process of performing privacy protection processing on transaction information to generate privacy transaction data may include:
  • the wallet client of the target blockchain system can use the UTXO model, in which UTXO coins refer to the confirmed but unspent digital currency on the current blockchain, that is, an unspent amount of money.
  • Each UTXO in the target blockchain system contains the public and private keys (PK, SK) and the amount commitment (COM) of the coin.
  • the owner of the money has the currency private key (SK), the currency public key (PK) and the amount commitment ( COM) public.
  • the first type of UTXO currency used for payment in the transfer account performs a linkable ring signature operation on L to generate an input ring signature corresponding to the first type of UTXO currency.
  • the blockchain node device generates the currency public key of the second type of UTXO used for the collection of the account according to the preset key agreement protocol, such as using a random number (random key) and the recipient's private key to generate a new currency public key Key, and the new currency public key can only be calculated by the recipient.
  • the preset key agreement protocol such as using a random number (random key) and the recipient's private key to generate a new currency public key Key, and the new currency public key can only be calculated by the recipient.
  • Blockchain node devices can use the homomorphic commitment algorithm to calculate the amount commitment corresponding to the second type of UTXO according to the zero-knowledge proof algorithm to generate a zero-knowledge proof of the amount commitment corresponding to the second type of UTXO coin.
  • the bulletproof algorithm is used to generate the zero-knowledge proof of the amount commitment corresponding to the second type of UTXO currency.
  • the blockchain node device generates private transaction data according to the second type of UTXO currency and its currency public key, input ring signature, amount commitment and zero-knowledge proof.
  • the input ring signature, the currency public key of the second type UTXO currency and the amount commitment are used as the input message
  • the ring signature algorithm is used to generate the transaction ring signature corresponding to the input message
  • the transaction ring signature and transaction elements are used as private transaction data, transaction elements Including: the second type of UTXO currency and its currency public key, input ring signature, amount commitment and its zero-knowledge proof, and target asset identification.
  • the transaction elements can also include negotiation key information, the amount of UTXO coins of the second type, and the target asset identifier after the public key of the second type UTXO coins is encrypted. Encrypted information and encrypted data after the random number in the key negotiation process is encrypted, and the details are not limited here.
  • the currency public key of the second type UTXO currency may be used to encrypt the amount of the second type UTXO currency to hide the transfer amount.
  • the blockchain node device in the embodiment of the present invention may also: receive an amount update request message, which includes the target asset identifier; query the target asset corresponding to the target asset identifier The current amount of the target asset, using voice or text to display the current amount of the target asset.
  • the foregoing embodiment describes the blockchain transaction settlement method in the embodiment of the present invention from the transfer party. Please refer to FIG. 3.
  • the following describes the blockchain transaction settlement method in the embodiment of the present invention from the account party.
  • the embodiment of the present invention Another embodiment of a method for settlement of transactions on a blockchain in the above may include:
  • the transfer party of the transaction After the transfer party of the transaction performs privacy protection processing on the transaction information such as the transfer account, the transfer amount, the entry account, and the target asset identifier to generate private transaction data, the transaction information cannot be parsed without the private keys of both parties.
  • the blockchain node device to which the account belongs After a new block is generated after the node verification on the blockchain is passed, the blockchain node device to which the account belongs can obtain the private transaction data, and use the target account private key to analyze the private transaction data to obtain the transfer amount and target asset identifier .
  • the specific process of parsing private transaction data is compatible with the algorithm adopted by each transaction privacy chain. For details, you can refer to the blockchain corresponding to Monero, the Ethereum blockchain, the Zerocash blockchain system and other realized transaction privacy chains. The process of conducting fiat currency transactions in China.
  • the blockchain node device to which the account belongs can obtain part of the transaction privacy data, which may specifically include transaction ring signatures, second
  • the private key of the target account is used to parse the private transaction data to obtain the transfer amount and target asset identifier, including:
  • the blockchain node device to which the account account belongs can update the amount of the target asset corresponding to the target asset identifier of the target account according to the transfer amount and the target asset identifier.
  • UTXO and UTXO' where UTXO has 5 yuan and UTXO' has 6 yuan
  • Alice expands the group, using the z i G+b i H and zG calculated above, calculates a new list of public keys, and joins them as new group members, as shown in Figure 5 (one group for each row, a total of n groups , 3 members in each group), where the public key of each UTXO is in parentheses, and the newly added element in the third column is also regarded as the public key. It is easy to know that Alice has the private keys corresponding to all public keys in the first row, Without mastering the private keys of other lines.
  • Alice also needs to perform the key agreement process for the new UTXO.
  • Alice can directly generate a new set of public and private key pairs, without the need for key agreement with herself.
  • Alice needs to prove that the new UTXO amount is legal, that is, to prove that the corresponding amounts (10 and 1) of sG+10H and s'G+1H belong to the legal range [0, 2 d-1 ], so that the verifier can verify the legality of the transaction and the amount For this reason, Alice uses the Bulletproofs scheme to perform zero-knowledge proofs for the amount range.
  • the transaction verifier performs the following operations: verifies the legitimacy of the old UTXO; verifies whether it is double spend; verifies the legitimacy of the ring signature; verifies the validity interval proof of the amount of the new UTXO.
  • the encryption method (using Bob's public key x B G, or using Bob's negotiated public key x B tG) is added to the bill. After receiving it, Bob decrypts and verifies whether the promise is correct. Specifically, Bob performs the following operations for all new UTXOs in the block (he does not know which is the money for him):
  • An embodiment of the present invention also provides a blockchain transaction settlement system, which is characterized in that it includes:
  • the obtaining unit 601 is configured to obtain transaction information, the transaction information includes a transfer account, a transfer amount, a credit account, and a target asset identifier, the target asset identifier being one of multiple preset asset identifiers;
  • the processing unit 602 is used for verifying whether the amount of the target asset corresponding to the target asset identifier in the transfer account is greater than the transfer amount, and if it is greater, then the transaction information is subjected to privacy protection processing to generate private transaction data, so that in the absence of the private keys of both parties The transaction information cannot be parsed down;
  • the broadcasting unit 603 is used to broadcast the private transaction data to the blockchain for verification, and execute the transaction corresponding to the transaction information after the verification is passed.
  • the processing unit 302 in this embodiment of the present invention may include:
  • the verification module is used to verify whether the amount of the target asset corresponding to the target asset identifier in the transfer account is greater than the transfer amount, and if it is greater, trigger the first processing module.
  • the first processing module is used to determine the currency public key corresponding to the UTXO currency of the first type used for payment in the transfer account, and use the linkable ring signature algorithm to generate the input ring signature corresponding to the UTXO currency of the first type;
  • the second processing module is configured to generate the currency public key of the UTXO currency of the second type used by the account account for collection according to the preset key agreement protocol;
  • the third processing module is used to calculate the amount commitment corresponding to the second type of UTXO currency by using the homomorphic commitment algorithm
  • the fourth processing module is used to generate the zero-knowledge proof of the amount commitment corresponding to the second type of UTXO coin according to the zero-knowledge proof algorithm;
  • the fifth processing module is used to generate private transaction data based on the second-type UTXO currency and its currency public key, input ring signature, amount commitment and zero-knowledge proof.
  • the fifth processing module in the embodiment of the present invention is used to input the ring signature, the currency public key of the second type UTXO currency, and the amount commitment as the input message, using the ring signature algorithm Generate a transaction ring signature corresponding to the input message, and use the transaction ring signature and transaction elements as private transaction data.
  • the transaction elements include: the second type of UTXO currency and its currency public key, the input ring signature, and the The amount commitment and its zero-knowledge proof and the target asset identification.
  • the blockchain transaction settlement system in the embodiment of the present invention further includes:
  • the encryption unit is used to encrypt the amount of the UTXO currency of the second category by using the currency public key of the UTXO currency of the second category to hide the transfer amount.
  • the blockchain transaction settlement system in the embodiment of the present invention further includes:
  • the receiving unit is configured to receive an amount checking request message, and the amount checking request message contains the target asset identifier;
  • the query unit is used to query the current amount of the target asset corresponding to the target asset identifier, and display the current amount of the target asset.
  • the blockchain node device 1 can be a PC (Personal Computer), or a smart phone, a tablet, a handheld computer, Portable computers, smart routers, mining machines, network storage equipment terminal equipment.
  • the blockchain node device 1 may be a node forming a CDN network or a blockchain network.
  • the blockchain node device 1 may include a memory 11, a processor 12, and a bus 13.
  • the processor 11 executes the computer program, the steps in the above embodiment of the blockchain-based blockchain transaction settlement method shown in FIG. 1 are implemented, such as steps 101 to 103 shown in FIG. 1.
  • the processor executes the computer program, the function of each module or unit in the foregoing device embodiments is realized.
  • the processor is specifically configured to implement the following steps:
  • the transaction information includes the transfer account, the transfer amount, the entry account and the target asset identifier, and the target asset identifier is one of the preset multiple asset identifiers;
  • the processor may also be used to implement the following steps:
  • the homomorphic commitment algorithm is used to calculate the amount commitment corresponding to the second type of UTXO currency
  • the processor may also be used to implement the following steps:
  • the ring signature algorithm is used to generate the transaction ring signature corresponding to the input message, and the transaction ring signature and transaction elements are used as private transaction data.
  • the transaction elements include: the second-type UTXO currency and its currency public key, the input ring signature, the amount commitment and its zero-knowledge proof, and the target asset identification.
  • the processor may also be used to implement the following steps:
  • the currency public key of the second UTXO currency is used to encrypt the amount of the second UTXO currency to hide the transfer amount.
  • the processor may also be used to implement the following steps:
  • the processor may also be used to implement the following steps:
  • the private transaction data is generated by the privacy protection processing of the transaction information.
  • the transaction information includes the transfer account, the transfer amount, the credit account and the target asset identification ,
  • the target asset identifier is one of the preset multiple asset identifiers;
  • the processor may also be used to implement the following steps:
  • the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc.
  • the memory 11 may be an internal storage unit of the blockchain node device 1 in some embodiments, such as the hard disk of the blockchain node device 1.
  • the memory 11 may also be an external storage device of the blockchain node device 1, for example, a plug-in hard disk equipped on the blockchain node device 1, a smart media card (SMC), and a secure digital (Secure Digital, SD) card, Flash Card, etc.
  • the memory 11 may also include both an internal storage unit of the blockchain node device 1 and an external storage device.
  • the memory 11 can be used not only to store application software and various data installed in the blockchain node device 1, such as the code of **program 01, etc., but also to temporarily store data that has been output or will be output.
  • the processor 12 may be a central processing unit (CPU), controller, microcontroller, microprocessor or other data processing chip in some embodiments, and is used to run the program code or processing stored in the memory 11 Data, such as execution of computer program 01, etc.
  • CPU central processing unit
  • controller microcontroller
  • microprocessor or other data processing chip in some embodiments, and is used to run the program code or processing stored in the memory 11 Data, such as execution of computer program 01, etc.
  • the bus 13 may be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
  • PCI peripheral component interconnect standard
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
  • the blockchain node device may also include a network interface 14.
  • the network interface 14 may optionally include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used in the blockchain
  • the node device 1 establishes a communication connection with other electronic devices.
  • the blockchain node device 1 may also include a user interface.
  • the user interface may include a display (Display) and an input unit such as a keyboard (Keyboard).
  • the optional user interface may also include a standard wired interface and a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light emitting diode) touch device, etc.
  • the display may also be appropriately called a display screen or a display unit, which is used to display the information processed in the blockchain node device 1 and to display a visualized user interface.
  • Figure 7 only shows the blockchain node device 1 with components 11-14 and the computer program 01. Those skilled in the art can understand that the structure shown in Figure 1 does not constitute a limitation on the blockchain node device 1. It may include fewer or more components than shown, or a combination of some components, or a different component arrangement.
  • the present invention also provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the following steps can be implemented:
  • the transaction information includes the transfer account, the transfer amount, the entry account and the target asset identifier, and the target asset identifier is one of the preset multiple asset identifiers;
  • multiple asset identifiers are preset in the blockchain system, which is compatible with multiple types of asset transaction settlement.
  • the transaction information After the transaction information is acquired, it can be verified whether the amount of the target asset corresponding to the target asset identifier in the transfer account is If it is greater than the transfer amount, the transaction information will be processed for privacy protection to generate private transaction data, and the private transaction data will be broadcast to the blockchain for verification, and after the verification is passed, the transaction corresponding to the transaction information is executed to realize the blockchain Privacy protection for asset transactions other than legal currency.
  • the processor may also be used to implement the following steps:
  • the homomorphic commitment algorithm is used to calculate the amount commitment corresponding to the second type of UTXO currency
  • the processor may also be used to implement the following steps:
  • the ring signature algorithm is used to generate the transaction ring signature corresponding to the input message, and the transaction ring signature and transaction elements are used as private transaction data.
  • the transaction elements include: the second-type UTXO currency and its currency public key, the input ring signature, the amount commitment and its zero-knowledge proof, and the target asset identification.
  • the processor may also be used to implement the following steps:
  • the currency public key of the second UTXO currency is used to encrypt the amount of the second UTXO currency to hide the transfer amount.
  • the processor may also be used to implement the following steps:
  • the processor may also be used to implement the following steps:
  • the private transaction data is generated by the privacy protection processing of the transaction information.
  • the transaction information includes the transfer account, the transfer amount, the credit account and the target asset identification ,
  • the target asset identifier is one of the preset multiple asset identifiers;
  • the processor may also be used to implement the following steps:
  • the embodiment of the present invention also provides a computer program product including one or more computer instructions.
  • the computer can be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.
  • Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • computer instructions can be transmitted from a website, computer, server, or data center through a cable (such as Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means to transmit to another website, computer, server or data center.
  • a cable such as Coaxial cable, optical fiber, digital subscriber line (DSL)
  • wireless such as infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • Available media can be magnetic media (for example, floppy disks, hard drives, tapes), optical media (for example, DVDs), or semiconductor media (for example, Solid State Disks (SSD)), etc.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .

Landscapes

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

Abstract

一种区块链交易结算方法、系统及相关设备,用于实现同一区块链上多种资产交易的兼容及交易隐私保护。该方法包括:获取交易信息,所述交易信息包含转账账户、转账金额、入账账户及目标资产标识(101),所述目标资产标识为预设的多种资产标识中的一种;校验所述转账账户中所述目标资产标识对应的目标资产的金额是否大于所述转账金额,若大于,则对所述交易信息进行隐私保护处理生成隐私交易数据(102),使得在没有交易双方私钥的情况下无法解析出所述交易信息;将所述隐私交易数据广播至区块链中进行验证,并在验证通过之后执行所述交易信息对应的交易(103)。

Description

一种区块链交易结算方法、系统及相关设备
本申请要求于2019年8月20日提交中国专利局、申请号为201910770811.2、发明名称为“一种区块链交易结算方法、系统及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及区块链技术领域,尤其涉及一种区块链交易结算方法、系统及相关设备。
背景技术
在区块链的应用过程中,隐私信息保护的需求越来越受重视,比如隐藏用户在区块链中的交易双方账户及交易金额等隐私信息,为此现有技术中开发出了越来越多的交易隐私保护链。交易隐私保护链中,如果一笔转账交易,除了交易签发者和转账接收者,没有其它第三者能够在没有相应私钥的情况下解析出交易双方账户信息和转账金额,且无法分析链上隐私交易关联性,那么这笔交易就是隐私保护交易。
现有技术中的交易隐私保护链,例如门罗币对应的区块链,借助门罗币进行交易,其他用户无法获知具体的门罗币交易隐私信息。然而门罗币只支持一种资产(门罗币)的交易隐私保护,在门罗币对应的区块链上进行跨链资产转移或通过部署合约而生成的Token资产进行交易时,只能在公开的区块上进行交易记账,无法实现门罗币之外的资产转移的交易隐私保护。
发明内容
本发明实施例提供了一种区块链交易结算方法、系统及相关设备,用于实现同一区块链上多种资产交易的兼容及交易隐私保护。
为实现上述目的,本发明一种区块链交易结算方法,其特征在于,运用于区块链节点设备,所述方法包括:
获取交易信息,所述交易信息包含转账账户、转账金额、入账账户及 目标资产标识,所述目标资产标识为预设的多种资产标识中的一种;
校验所述转账账户中所述目标资产标识对应的目标资产的金额是否大于所述转账金额,若大于,则对所述交易信息进行隐私保护处理生成隐私交易数据,使得在没有交易双方私钥的情况下无法解析出所述交易信息;
将所述隐私交易数据广播至区块链中进行验证,并在验证通过之后执行所述交易信息对应的交易。
可选的,作为一种可能的实施方式,本发明实施例中,所述对所述交易信息进行隐私保护处理生成隐私交易数据,包括:
确定所述转账账户中用于支付的第一类UTXO币对应的币公钥,并采用可链接环签名算法生成所述第一类UTXO币对应的输入环签名;
根据预设的密钥协商协议生成所述入账账户用于收账的第二类UTXO币的币公钥;
采用同态承诺算法计算所述第二类UTXO币对应的金额承诺;
根据零知识证明算法生成所述第二类UTXO币对应的金额承诺的零知识证明;
根据所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明生成隐私交易数据。
可选的,作为一种可能的实施方式,本发明实施例中,所述根据所述输入环签名、所述第二类UTXO币的币公钥及所述金额承诺生成隐私交易数据,包括:
将所述输入环签名、所述第二类UTXO币的币公钥及所述金额承诺作为输入消息,采用环签名算法生成所述输入消息对应的交易环签名,并将所述交易环签名及交易要素作为隐私交易数据,所述交易要素包括:所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明以及所述目标资产标识。
可选的,作为一种可能的实施方式,本发明实施例中的区块链交易结算方法还包括:
采用所述第二类UTXO币的币公钥对所述第二类UTXO币的金额进行加密,以隐藏转账金额。
可选的,作为一种可能的实施方式,本发明实施例中的区块链交易结算方法还包括:
接收金额查新请求消息,所述金额查新请求消息中包含目标资产标识;
查询所述目标资产标识对应的目标资产的当前金额,并展示所述目标资产的当前金额。
本发明实施例第二方面提供了一种区块链交易结算方法,运用于区块链节点设备,所述方法包括:
获取隐私交易数据,并使用目标账户私钥解析所述隐私交易数据得到转账金额及目标资产标识,所述隐私交易数据为交易信息进行隐私保护处理生成,所述交易信息包含转账账户、转账金额、入账账户及目标资产标识,所述目标资产标识为预设的多种资产标识中的一种;
根据所述转账金额及所述目标资产标识更新所述目标账户所属的所述目标资产标识对应的目标资产的金额。
可选的,作为一种可能的实施方式,当所述交易隐私数据包含交易环签名、第二类UTXO币加密数据及其币公钥时,所述使用目标账户私钥解析所述隐私交易数据得到转账金额及目标资产标识,包括:
验证所述交易环签名是否合法,若合法,则使用所述目标账户私钥及所述第二类UTXO币的币公钥计算所述第二类UTXO币的币私钥;
并根据所述第二类UTXO币的币私钥解密所述第二类UTXO币加密数据得到转账金额以及目标资产标识。
本发明实施例第三方面提供了一种区块链交易结算系统,其特征在于,包括:
获取单元,用于获取交易信息,所述交易信息包含转账账户、转账金额、入账账户及目标资产标识,所述目标资产标识为预设的多种资产标识中的一种;
处理单元,用于校验所述转账账户中所述目标资产标识对应的目标资产的金额是否大于所述转账金额,若大于,则对所述交易信息进行隐私保护处理生成隐私交易数据,使得在没有交易双方私钥的情况下无法解析出所述交易信息;
广播单元,用于将所述隐私交易数据广播至区块链中进行验证,并在验证通过之后执行所述交易信息对应的交易。
可选的,作为一种可能的实施方式,本发明实施例中的处理单元302可以包括:
校验模块,用于校验所述转账账户中所述目标资产标识对应的目标资产的金额是否大于所述转账金额,若大于,则触发第一处理模块。
第一处理模块,用于确定所述转账账户中用于支付的第一类UTXO币对应的币公钥,并采用可链接环签名算法生成所述第一类UTXO币对应的输入环签名;
第二处理模块,用于根据预设的密钥协商协议生成所述入账账户用于收账的第二类UTXO币的币公钥;
第三处理模块,用于采用同态承诺算法计算所述第二类UTXO币对应的金额承诺;
第四处理模块,用于根据零知识证明算法生成所述第二类UTXO币对应的金额承诺的零知识证明;
第五处理模块,用于根据所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明生成隐私交易数据。
可选的,作为一种可能的实施方式,本发明实施例中的第五处理模块,用于将所述输入环签名、所述第二类UTXO币的币公钥及所述金额承诺作为输入消息,采用环签名算法生成所述输入消息对应的交易环签名,并将所述交易环签名及交易要素作为隐私交易数据,所述交易要素包括:所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明以及所述目标资产标识。
可选的,作为一种可能的实施方式,本发明实施例中的区块链交易结算系统,还包括:
加密单元,用于采用所述第二类UTXO币的币公钥对所述第二类UTXO币的金额进行加密,以隐藏转账金额。
可选的,作为一种可能的实施方式,本发明实施例中的区块链交易结算系统,还包括:
接收单元,用于接收金额查新请求消息,所述金额查新请求消息中包含目标资产标识;
查询单元,用于查询所述目标资产标识对应的目标资产的当前金额,并展示所述目标资产的当前金额。
本发明实施例第四方面提供了一种区块链节点设备,该区块链节点设备包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现第一方面及第一方面任一种可能的实施方式中区块链交易结算方法中的步骤。
可选的,作为一种可能的实时方式,本发明实施例中的区块链节点设备为组成CDN网络或者区块链网络的节点。
本发明实施例第五方面提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序可被一个或者多个处理器执行,以实现如第一方面及第一方面任一种可能的实施方式中区块链交易结算方法中的步骤。
本发明实施例中,区块链系统中预设多种资产标识,兼容多种类型的资产交易结算,当获取到获取交易信息之后可以校验转账账户中目标资产标识对应的目标资产的金额是否大于转账金额,若大于,则对交易信息进行隐私保护处理生成隐私交易数据,并将隐私交易数据广播至区块链中进行验证,并在验证通过之后执行交易信息对应的交易实现了区块链法币之外的资产交易的隐私保护。
附图说明
图1为本发明实施例中一种区块链交易结算方法的一个实施例示意图;
图2为本发明实施例中一种区块链交易结算方法的另一个实施例示意图;
图3为本发明实施例中一种区块链交易结算方法的另一个实施例示意图;
图4为本发明实施例中一种区块链交易结算方法中进行金额绑定的流 程示意图;
图5为本发明实施例中一种区块链交易结算方法中进行公钥扩充的流程示意图;
图6为本发明实施例中一种区块链交易结算系统的一个实施例示意图;
图7为本发明实施例中一种区块链节点设备一个实施例示意图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
需要说明的是,在本发明中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。
请参阅图1,本发明实施例中的流程进行说明本发明提供一种区块链 交易结算方法的一个实施例可包括:
101、获取交易信息,交易信息包含转账账户、转账金额、入账账户及目标资产标识;
本发明实施例中的区块链系统是一种交易隐私保护链,交易隐私链中,如果一笔转账交易,除了交易签发者和转账接收者,没有其它第三者能够在没有相应私钥的情况下解析出交易双方账户信息和转账金额,且无法分析链上隐私交易关联性,那么这笔交易就是隐私保护交易。为了便于区分本发明实施例中的区块链系统统称为目标区块链系统,该目标区块链系统可以是任何可以实现交易隐私保护的区块链系统,例如门罗币对应的区块链、以太坊区块链、Zerocash区块链系统等。本发明实施例中的目标区块链系统中为不同种类的各种资产分别设置了唯一的资产标识,以兼容多种资产的交易结算。用户在目标区块链系统中注册之后,同一账户可以拥有多种类型的资产(例如比特币、门罗币、以太币等),各种类型的资产以各自的资产标识进行区分。
在进行交易时,区块链节点设备可以从客户端获取交易信息,或者区块链节点设备本身作为客户端获取用户选择/输入操作生成的交易信息,该交易信息至少包含转账账户、转账金额、入账账户及目标资产标识,该目标资产标识为预设的多种资产标识中的一种。
102、校验转账账户中目标资产标识对应的目标资产的金额是否大于转账金额,若大于,则对交易信息进行隐私保护处理生成隐私交易数据;
在获取到交易信息之后,区块链节点设备需要校验转账账户中目标资产标识对应的目标资产的金额是否大于转账金额,若大于,则此次转账交易合理,区块链节点设备或客户端可以对交易信息进行隐私保护处理生成隐私交易数据,使得在没有交易双方私钥的情况下无法解析出交易信息。若转账账户中目标资产标识对应的目标资产的金额小于转账金额,则可以提示输入有误或余额不足。具体对交易信息进行隐私保护处理的过程,可以参照现有已实现交易隐私保护的区块链系统,例如门罗币对应的区块链、以太坊区块链、Zerocash区块链系统,具体的隐私保护处理的过程此处不做限定。
103、将隐私交易数据广播至区块链中进行验证,并在验证通过之后执行交易信息对应的交易。
在对交易信息进行隐私保护处理生成隐私交易数据之后,区块链节点设备需要将隐私交易数据广播至区块链中进行验证,并在验证通过之后执行交易信息对应的交易,并在区块链中生成新的区块。
本发明实施例中,区块链系统中预设多种资产标识,兼容多种类型的资产交易结算,当获取到获取交易信息之后可以校验转账账户中目标资产标识对应的目标资产的金额是否大于转账金额,若大于,则对交易信息进行隐私保护处理生成隐私交易数据,并将隐私交易数据广播至区块链中进行验证,并在验证通过之后执行交易信息对应的交易实现了区块链法币之外的资产交易的隐私保护。
为了便于理解,下面将对本发明实施例中的交易信息进行隐私保护处理生成隐私交易数据的过程的一种可能的实施方式进行描述,交易信息进行隐私保护处理生成隐私交易数据的过程可包括:
201、确定转账账户中用于支付的第一类UTXO对应的币公钥,并采用可链接环签名算法生成第一类UTXO对应的输入环签名;
具体的,目标区块链系统的钱包客户端可以使用UTXO模型,该模型中中UTXO币指的是当前区块链上已确认但未花费的数字货币,即未花费的一笔钱。目标区块链系统中每笔UTXO包含币的公私钥(PK、SK)以及金额承诺(COM),该笔钱的所有者掌握币私钥(SK),币公钥(PK)以及金额承诺(COM)公开。每次消费时,区块链节点设备随机选取链上的其他UTXO币,结合用于支付的第一类UTXO币一起生成公钥集合(L={PK1,PK2,……,PKn}),对转账账户中用于支付的第一类UTXO币进行关于L的可链接环签名运算生成第一类UTXO币对应的输入环签名。
202、根据预设的密钥协商协议生成入账账户用于收账的第二类UTXO的币公钥;
区块链节点设备根据预设的密钥协商协议生成入账账户用于收账的第二类UTXO的币公钥,例如使用随机数(随机密钥)与接收者的私钥生成新的币公钥,并且新的币公钥只有接收者才能计算得到。
203、采用同态承诺算法计算第二类UTXO对应的金额承诺,根据零知识证明算法生成第二类UTXO对应的金额承诺的零知识证明;
区块链节点设备可以采用同态承诺算法计算第二类UTXO对应的金额承诺根据零知识证明算法生成第二类UTXO币对应的金额承诺的零知识证明。例如,采用bulletproof算法生成第二类UTXO币对应的金额承诺的零知识证明。
204、根据第二类UTXO及其币公钥、输入环签名、金额承诺及其零知识证明生成隐私交易数据。
最后,区块链节点设备根据第二类UTXO币及其币公钥、输入环签名、金额承诺及其零知识证明生成隐私交易数据。例如将输入环签名、第二类UTXO币的币公钥及金额承诺作为输入消息,采用环签名算法生成输入消息对应的交易环签名,并将交易环签名及交易要素作为隐私交易数据,交易要素包括:第二类UTXO币及其币公钥、输入环签名、金额承诺及其零知识证明以及目标资产标识。可以理解的是,可以根据实际需求在交易要素中加入更多的信息,例如还可以包括协商密钥信息、第二类UTXO币的金额及目标资产标识经过第二类UTXO币公钥加密之后的加密信息以及密钥协商过程中的随机数经过加密之后的加密数据,具体此处不做限定。
可选的,为了提高数据的安全性,本发明实施例中可以采用第二类UTXO币的币公钥对第二类UTXO币的金额进行加密,以隐藏转账金额。
可选的,为了便于用户查询资产,本发明实施例中的区块链节点设备还可以:接收金额查新请求消息,金额查新请求消息中包含目标资产标识;查询目标资产标识对应的目标资产的当前金额,并采用语音或文字展示目标资产的当前金额。
上述实施例从转账方对本发明实施例中的区块链交易结算方法进行了描述,请参阅图3下面将从入账方对本发明实施例中的区块链交易结算方法进行描述,本发明实施例中一种区块链交易结算方法的另一个实施例可包括:
301、获取隐私交易数据,并使用目标账户私钥解析隐私交易数据得到转账金额及目标资产标识;
在交易的转账方对转账账户、转账金额、入账账户及目标资产标识等交易信息进行隐私保护处理生成隐私交易数据之后,使得在没有交易双方私钥的情况下无法解析出交易信息。经过区块链上的节点验证通过之后生成新的区块之后,入账方所属的区块链节点设备可以获取到隐私交易数据,并使用目标账户私钥解析隐私交易数据得到转账金额及目标资产标识。具体的解析隐私交易数据的过程与各个交易隐私链所采用的算法相适应,具体可以参照门罗币对应的区块链、以太坊区块链、Zerocash区块链系统等已实现的交易隐私链中进行法币交易的过程。
可选的,当采用本发明实施例中图2所示的隐私交易过程时,入账账户所属的区块链节点设备可以获取到该交易隐私数据的部分数据,具体可以包含交易环签名、第二类UTXO币加密数据及其币公钥时,使用目标账户私钥解析隐私交易数据得到转账金额及目标资产标识,包括:
验证交易环签名是否合法,若合法,则使用目标账户私钥及第二类UTXO币的币公钥计算第二类UTXO币的币私钥;
并根据第二类UTXO币的币私钥解密第二类UTXO币加密数据得到转账金额以及目标资产标识。
302、根据转账金额及目标资产标识更新目标账户所属的目标资产标识对应的目标资产的金额。在解析隐私交易数据得到转账金额及目标资产标识之后,入账账户所属的区块链节点设备可以根据转账金额及目标资产标识更新目标账户所属的目标资产标识对应的目标资产的金额。
为了便于理解,下面将结合具体的运用实例对本发明实施例中的隐私交易流程进行说明。
假设用户Alice掌握两笔隐私UTXO币,记为UTXO和UTXO’,其中UTXO有5元,UTXO’有6元,Alice想给Bob转账10元,给自己找零1元,然而Alice不能暴露新的UTXO是由哪两个旧UTXO产生,于是Alice从链上找来其他n-1组UTXO(每一组包含两个UTXO,记为UTXO k与UTXO k'),Alice并不知道这些UTXO的私钥,只是使用其作为混淆,隐藏自己的真实UTXO。Alice将所有输入UTXO的公钥拿出来组成集合L,L由n组公钥组成,L={(xG,x'G),(x 1G,x 1'G),...,(x (n-1)G,x (n-1)'G)}, 其中(xG,x'G)表示UTXO和UTXO’的公钥;对UTXO和UTXO’进行关于L的可链接环签名运算生成对应的输入环签名,实现旧UTXO的隐藏。
接下来Alice计算输出的UTXO的金额绑定值,如图4所示,即为sG+10H和s'G+1H,真实交易的UTXO和UTXO’(第一组),Alice进行金额承诺计算:rG+5H+r'G+6H-(sG+10H+s'G+1H)=(r+r'-s-s')G=zG,其中r为混淆因子s为对应的UTXO的金额绑定值,其中H与G为向量常量;
对于其他n-1组混淆UTXO,i=1,…,n-1,Alice计算:r iG+a iH+r i'G+a' iH-(sG+10H+s'G+1H)=(r i+r i'-s-s')G+(a i+a i'-11)H=z iG+b i H,计算完成后,只有真实交易的交易,H的系数可以消去,Alice可以得到z的具体数值,而混淆的UTXO,Alice无法知道z i和b i
接下来Alice进行组扩充,使用上面计算出的z iG+b iH和zG,计算一列新公钥,并加入成为新的组成员,如图5所示(每行为一组,一共n组,每组3个成员),其中,括号内为每个UTXO的公钥,将第三列的新加入元素也看做公钥,容易知道,Alice掌握第一行所有公钥对应的私钥,而不掌握其他行的私钥。将每一行三个公钥看做环签名的一个成员,则一共有n个成员,扩充后的公钥集合为:L1={(xG,x'G,(x+x'+z)G),(x 1G,x1'G,(x 1+x1'+z 1G)+b 1H),...,(x (n-1)G,x (n-1)'G,(x (n-1)+x (n-1)'+z (n-1))G+b (n-1)H)},该公钥集合L1可以在签发交易时使用环签名,从而实现了身份的隐藏。
此外,Alice还需进行新UTXO的密钥协商过程,对于新产生的newUTXO和newUTXO’,其中对于发给Bob的newUTXO,假设Bob的地址公钥为(xB G=P B,y BG=P B'),对应的私钥为(x B,y B),Alice计算(H为哈希):tG及H(t P B)G+P B',其中t为随机密钥或约定密钥,当Bob收钱时,使用自己的私钥计算并检验H(t P B)G+P B'与H(x Bt G)G+P B'是否相等,由于t P B=t*x BG=x Bt G,所以只有Bob才能解出新的公钥对应的私钥,他令新的newUTXO币公钥为yG=H(x BtG)G+P' B,币私钥为y=H(x BtG)+y B。对于Alice自己的找零交易,Alice直接生成一组新的公私钥对即可,不需要跟自己进行密钥协商。
Alice需要证明新的UTXO金额合法,即证明sG+10H和s'G+1H的对应金额(10和1)属于合法的区间[0,2 d-1],便于验证者验证交易和金额的 合法性,Alice使用Bulletproofs方案进行金额区间零知识证明。
Alice将所有的交易信息,包括自己和所有混淆UTXO公钥和金额承诺,新的UTXO公钥和金额承诺,新的UTXO金额的区间证明,协商密钥信息,加密信息,全部打包,作为输入消息,并且用公钥集合L1进行环签名签署之后,发送到链上进行验证。交易验证者进行以下操作:验证旧的UTXO合法性;检验是否双花;验证环签名的合法性;验证新UTXO的金额合法性区间证明。
Bob虽然可以获得新的币私钥,但是Bob只知道承诺newCom=sG+10H,尚不知道钱的数量(10元)和承诺混淆值(s),Alice需要在交易中将这两个值通过加密的方式(使用Bob公钥x BG,或者使用Bob协商的公钥x BtG)添加在账单中,Bob收到后解密并验证承诺是否正确。具体的,Bob对于区块内的所有新UTXO(他并不知道哪个是给他的钱),进行如下操作:
a、用自己的私钥计算H(x BtG)G+P' B,检验是否与H(tP B)G+P' B相等;
b、如果相等,则Bob知道这是给他的钱,他计算新的UTXO公钥为yG=H(x BtG)G+P' B,私钥为y=H(x BtG)+y B
c、Bob解密钱的金额和混淆值,并检验是否与承诺值匹配,即newCom=sG+10H是否成立;
d、如果检查通过,Bob使用钱包收下这笔钱,下次花这笔钱时,可以使用新的币私钥y进行签署。
请参阅图6本发明实施例还提供了一种区块链交易结算系统,其特征在于,包括:
获取单元601,用于获取交易信息,交易信息包含转账账户、转账金额、入账账户及目标资产标识,目标资产标识为预设的多种资产标识中的一种;
处理单元602,用于校验转账账户中目标资产标识对应的目标资产的金额是否大于转账金额,若大于,则对交易信息进行隐私保护处理生成隐私交易数据,使得在没有交易双方私钥的情况下无法解析出交易信息;
广播单元603,用于将隐私交易数据广播至区块链中进行验证,并在 验证通过之后执行交易信息对应的交易。
可选的,作为一种可能的实施方式,本发明实施例中的处理单元302可以包括:
校验模块,用于校验转账账户中目标资产标识对应的目标资产的金额是否大于转账金额,若大于,则触发第一处理模块。
第一处理模块,用于确定转账账户中用于支付的第一类UTXO币对应的币公钥,并采用可链接环签名算法生成第一类UTXO币对应的输入环签名;
第二处理模块,用于根据预设的密钥协商协议生成入账账户用于收账的第二类UTXO币的币公钥;
第三处理模块,用于采用同态承诺算法计算第二类UTXO币对应的金额承诺;
第四处理模块,用于根据零知识证明算法生成第二类UTXO币对应的金额承诺的零知识证明;
第五处理模块,用于根据第二类UTXO币及其币公钥、输入环签名、金额承诺及其零知识证明生成隐私交易数据。
可选的,作为一种可能的实施方式,本发明实施例中的第五处理模块,用于将输入环签名、第二类UTXO币的币公钥及金额承诺作为输入消息,采用环签名算法生成输入消息对应的交易环签名,并将所述交易环签名及交易要素作为隐私交易数据,所述交易要素包括:所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明以及所述目标资产标识。
可选的,作为一种可能的实施方式,本发明实施例中的区块链交易结算系统,还包括:
加密单元,用于采用第二类UTXO币的币公钥对第二类UTXO币的金额进行加密,以隐藏转账金额。
可选的,作为一种可能的实施方式,本发明实施例中的区块链交易结算系统,还包括:
接收单元,用于接收金额查新请求消息,金额查新请求消息中包含目 标资产标识;
查询单元,用于查询目标资产标识对应的目标资产的当前金额,并展示目标资产的当前金额。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
请参阅图7,在本实施例中还提供了一种区块链节点设备,区块链节点设备1可以是PC(Personal Computer,个人电脑),也可以是智能手机、平板电脑、掌上电脑、便携计算机、智能路由器、矿机、网络存储设备终端设备。
该区块链节点设备1可以是组成CDN网络或者区块链网络的节点。
该区块链节点设备1可以包括存储器11、处理器12和总线13。处理器11执行计算机程序时实现上述图1所示的基于区块链的区块链交易结算方法实施例中的步骤,例如图1所示的步骤101至103。或者,处理器执行计算机程序时实现上述各装置实施例中各模块或单元的功能。
本发明的一些实施例中,处理器具体用于实现如下步骤:
获取交易信息,交易信息包含转账账户、转账金额、入账账户及目标资产标识,目标资产标识为预设的多种资产标识中的一种;
校验转账账户中目标资产标识对应的目标资产的金额是否大于转账金额,若大于,则对交易信息进行隐私保护处理生成隐私交易数据,使得在没有交易双方私钥的情况下无法解析出交易信息;
将隐私交易数据广播至区块链中进行验证,并在验证通过之后执行交易信息对应的交易。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
确定转账账户中用于支付的第一类UTXO币对应的币公钥,并采用可链接环签名算法生成第一类UTXO币对应的输入环签名;
根据预设的密钥协商协议生成入账账户用于收账的第二类UTXO币的币公钥;
采用同态承诺算法计算第二类UTXO币对应的金额承诺;
根据零知识证明算法生成第二类UTXO币对应的金额承诺的零知识证明;
根据第二类UTXO币及其币公钥、输入环签名、金额承诺及其零知识证明生成隐私交易数据。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
将输入环签名、第二类UTXO币的币公钥及金额承诺作为输入消息,采用环签名算法生成输入消息对应的交易环签名,并将所述交易环签名及交易要素作为隐私交易数据,所述交易要素包括:所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明以及所述目标资产标识。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
采用第二类UTXO币的币公钥对第二类UTXO币的金额进行加密,以隐藏转账金额。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
接收金额查新请求消息,金额查新请求消息中包含目标资产标识;
查询目标资产标识对应的目标资产的当前金额,并展示目标资产的当前金额。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
获取隐私交易数据,并使用目标账户私钥解析隐私交易数据得到转账金额及目标资产标识,隐私交易数据为交易信息进行隐私保护处理生成,交易信息包含转账账户、转账金额、入账账户及目标资产标识,目标资产标识为预设的多种资产标识中的一种;
根据转账金额及目标资产标识更新目标账户所属的目标资产标识对应的目标资产的金额。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
验证交易环签名是否合法,若合法,则使用目标账户私钥及第二类UTXO币的币公钥计算第二类UTXO币的币私钥;
并根据第二类UTXO币的币私钥解密第二类UTXO币加密数据得到转账金额以及目标资产标识。
其中,存储器11至少包括一种类型的可读存储介质,可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是区块链节点设备1的内部存储单元,例如该区块链节点设备1的硬盘。存储器11在另一些实施例中也可以是区块链节点设备1的外部存储设备,例如区块链节点设备1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括区块链节点设备1的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于区块链节点设备1的应用软件及各类数据,例如**程序01的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行计算机程序01等。
该总线13可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
进一步地,区块链节点设备还可以包括网络接口14,网络接口14可选的可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该区块链节点设备1与其他电子设备之间建立通信连接。
可选地,该区块链节点设备1还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在区块链节点设备1中处理的信息以及用于显示可视化的用户界面。
图7仅示出了具有组件11-14以及计算机程序01的区块链节点设备1,本领域技术人员可以理解的是,图1示出的结构并不构成对区块链节点设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。
本发明还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时,可以实现如下步骤:
获取交易信息,交易信息包含转账账户、转账金额、入账账户及目标资产标识,目标资产标识为预设的多种资产标识中的一种;
校验转账账户中目标资产标识对应的目标资产的金额是否大于转账金额,若大于,则对交易信息进行隐私保护处理生成隐私交易数据,使得在没有交易双方私钥的情况下无法解析出交易信息;
将隐私交易数据广播至区块链中进行验证,并在验证通过之后执行交易信息对应的交易。
本发明实施例中,区块链系统中预设多种资产标识,兼容多种类型的资产交易结算,当获取到获取交易信息之后可以校验转账账户中目标资产标识对应的目标资产的金额是否大于转账金额,若大于,则对交易信息进行隐私保护处理生成隐私交易数据,并将隐私交易数据广播至区块链中进行验证,并在验证通过之后执行交易信息对应的交易实现了区块链法币之外的资产交易的隐私保护。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
确定转账账户中用于支付的第一类UTXO币对应的币公钥,并采用可链接环签名算法生成第一类UTXO币对应的输入环签名;
根据预设的密钥协商协议生成入账账户用于收账的第二类UTXO币的币公钥;
采用同态承诺算法计算第二类UTXO币对应的金额承诺;
根据零知识证明算法生成第二类UTXO币对应的金额承诺的零知识证明;
根据第二类UTXO币及其币公钥、输入环签名、金额承诺及其零知识证明生成隐私交易数据。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
将输入环签名、第二类UTXO币的币公钥及金额承诺作为输入消息,采用环签名算法生成输入消息对应的交易环签名,并将所述交易环签名及交易要素作为隐私交易数据,所述交易要素包括:所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明以及所述目标资产标识。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
采用第二类UTXO币的币公钥对第二类UTXO币的金额进行加密,以隐藏转账金额。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
接收金额查新请求消息,金额查新请求消息中包含目标资产标识;
查询目标资产标识对应的目标资产的当前金额,并展示目标资产的当前金额。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
获取隐私交易数据,并使用目标账户私钥解析隐私交易数据得到转账金额及目标资产标识,隐私交易数据为交易信息进行隐私保护处理生成,交易信息包含转账账户、转账金额、入账账户及目标资产标识,目标资产标识为预设的多种资产标识中的一种;
根据转账金额及目标资产标识更新目标账户所属的目标资产标识对应的目标资产的金额。
可选的,本发明的一些实施例中,处理器还可以用于实现如下步骤:
验证交易环签名是否合法,若合法,则使用目标账户私钥及第二类UTXO币的币公钥计算第二类UTXO币的币私钥;
并根据第二类UTXO币的币私钥解密第二类UTXO币加密数据得到转账金额以及目标资产标识。
本发明实施例还提供了一种计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本发明实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介 质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部 或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
需要说明的是,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (11)

  1. 一种区块链交易结算方法,其特征在于,运用于区块链节点设备,所述方法包括:
    获取交易信息,所述交易信息包含转账账户、转账金额、入账账户及目标资产标识,所述目标资产标识为预设的多种资产标识中的一种;
    校验所述转账账户中所述目标资产标识对应的目标资产的金额是否大于所述转账金额,若大于,则对所述交易信息进行隐私保护处理生成隐私交易数据,使得在没有交易双方私钥的情况下无法解析出所述交易信息;
    将所述隐私交易数据广播至区块链中进行验证,并在验证通过之后执行所述交易信息对应的交易。
  2. 如权利要求1所述的方法,其特征在于,所述对所述交易信息进行隐私保护处理生成隐私交易数据,包括:
    确定所述转账账户中用于支付的第一类UTXO币对应的币公钥,并采用可链接环签名算法生成所述第一类UTXO币对应的输入环签名;
    根据预设的密钥协商协议生成所述入账账户用于收账的第二类UTXO币的币公钥;
    采用同态承诺算法计算所述第二类UTXO币对应的金额承诺;
    根据零知识证明算法生成所述第二类UTXO币对应的金额承诺的零知识证明;
    根据所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明生成隐私交易数据。
  3. 如权利要求2所述的方法,其特征在于,所述根据所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明生成隐私交易数据,包括:
    将所述输入环签名、所述第二类UTXO币的币公钥及所述金额承诺作为输入消息,采用环签名算法生成所述输入消息对应的交易环签名,并将所述交易环签名及交易要素作为隐私交易数据,所述交易要素包括:所述第二类UTXO币及其币公钥、所述输入环签名、所述金额承诺及其零知识证明以及所述目标资产标识。
  4. 如权利要求3所述的方法,其特征在于,还包括:
    采用所述第二类UTXO币的币公钥对所述第二类UTXO币的金额及所述目标资产标识进行加密,以隐藏转账金额。
  5. 如权利要求1至4中任一项所述的方法,其特征在于,还包括:
    接收金额查新请求消息,所述金额查新请求消息中包含目标资产标识;
    查询所述目标资产标识对应的目标资产的当前金额,并展示所述目标资产的当前金额。
  6. 一种区块链交易结算方法,其特征在于,运用于区块链节点设备,所述方法包括:
    获取隐私交易数据,并使用目标账户私钥解析所述隐私交易数据得到转账金额及目标资产标识,所述隐私交易数据为交易信息进行隐私保护处理生成,所述交易信息包含转账账户、转账金额、入账账户及目标资产标识,所述目标资产标识为预设的多种资产标识中的一种;
    根据所述转账金额及所述目标资产标识更新所述目标账户所属的所述目标资产标识对应的目标资产的金额。
  7. 如权利要求6所述的方法,其特征在于,当所述交易隐私数据包含交易环签名、第二类UTXO币加密数据及其币公钥时,所述使用目标账户私钥解析所述隐私交易数据得到转账金额及目标资产标识,包括:
    验证所述交易环签名是否合法,若合法,则使用所述目标账户私钥及所述第二类UTXO币的币公钥计算所述第二类UTXO币的币私钥;
    并根据所述第二类UTXO币的币私钥解密所述第二类UTXO币加密数据得到转账金额以及目标资产标识。
  8. 一种区块链交易结算系统,其特征在于,包括:
    获取单元,用于获取交易信息,所述交易信息包含转账账户、转账金额、入账账户及目标资产标识,所述目标资产标识为预设的多种资产标识中的一种;
    处理单元,用于校验所述转账账户中所述目标资产标识对应的目标资产的金额是否大于所述转账金额,若大于,则对所述交易信息进行隐私保护处理生成隐私交易数据,使得在没有交易双方私钥的情况下无法解析出 所述交易信息;
    广播单元,用于将所述隐私交易数据广播至区块链中进行验证,并在验证通过之后执行所述交易信息对应的交易。
  9. 一种区块链节点设备,其特征在于,所述区块链节点设备包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1-7任一项所述的区块链交易结算方法。
  10. 根据权利要求9所述的区块链节点设备,其特征在于,所述区块链节点设备为组成CDN网络或者区块链网络的节点。
  11. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序可被一个或者多个处理器执行,以实现如权利要求1至7中任一项所述的区块链交易结算方法。
PCT/CN2019/123590 2019-08-20 2019-12-06 一种区块链交易结算方法、系统及相关设备 WO2021031460A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910770811.2A CN110473105B (zh) 2019-08-20 2019-08-20 一种区块链交易结算方法、系统及相关设备
CN201910770811.2 2019-08-20

Publications (1)

Publication Number Publication Date
WO2021031460A1 true WO2021031460A1 (zh) 2021-02-25

Family

ID=68513083

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/123590 WO2021031460A1 (zh) 2019-08-20 2019-12-06 一种区块链交易结算方法、系统及相关设备

Country Status (2)

Country Link
CN (1) CN110473105B (zh)
WO (1) WO2021031460A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117808470A (zh) * 2023-12-21 2024-04-02 暨南大学 一种基于门限签名的高效匿名原子交换的跨链方法及系统

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110473105B (zh) * 2019-08-20 2024-01-16 深圳市迅雷网络技术有限公司 一种区块链交易结算方法、系统及相关设备
CN111027947B (zh) * 2019-12-06 2023-09-19 湖北文理学院 Utxo钱包的选择方法、设备、存储介质及装置
CN111159694A (zh) * 2019-12-17 2020-05-15 上海七印信息科技有限公司 基于零知识证明的区块链数字资产的私密使用授权方法
CN111126988B (zh) * 2019-12-24 2024-04-19 深圳前海微众银行股份有限公司 基于区块链的转账方法、装置、设备及计算机介质
CN111105235B (zh) * 2019-12-31 2024-01-16 深圳市迅雷网络技术有限公司 基于区块链的供应链交易隐私保护系统、方法及相关设备
CN111311265B (zh) * 2020-02-13 2023-07-25 布比(北京)网络技术有限公司 区块链私密交易证明方法、装置、计算机设备和存储介质
CN111275406B (zh) * 2020-02-13 2023-07-28 布比(北京)网络技术有限公司 区块链交易合约审计方法、装置、计算机设备和存储介质
CN113378212B (zh) * 2020-03-10 2023-04-28 深圳市迅雷网络技术有限公司 区块链系统及信息处理方法、系统、装置、计算机介质
CN111178894B (zh) * 2020-04-10 2020-09-11 支付宝(杭州)信息技术有限公司 资产类型注册、交易记录验证方法及系统
CN111507721B (zh) * 2020-04-23 2021-07-23 深圳前海微众银行股份有限公司 一种区块链的跨链交易方法及装置
CN111583002A (zh) * 2020-04-30 2020-08-25 财付通支付科技有限公司 一种数据处理方法、数据处理装置、电子设备及存储介质
CN111756743B (zh) * 2020-06-24 2021-12-14 腾讯科技(深圳)有限公司 基于区块链的资源转移方法、装置、计算机设备和存储介质
CN112365252A (zh) * 2020-07-31 2021-02-12 深圳市网心科技有限公司 基于账户模型的隐私交易方法、装置及相关设备
CN111861456B (zh) * 2020-08-06 2023-08-22 中国银行股份有限公司 基于区块链的5g消息转账交易验证方法、系统及装置
CN112115201B (zh) * 2020-09-16 2021-11-16 建信金融科技有限责任公司 基于区块链的交易处理方法、交易追踪方法及装置
CN112348677B (zh) * 2020-11-11 2024-04-26 郑杰骞 地址生成、区块链在线离线交易方法、装置、系统及介质
CN112288434B (zh) * 2020-11-20 2023-07-25 网易(杭州)网络有限公司 隐私交易方法、装置、零知识证明系统和隐私交易架构模型
CN112561701A (zh) * 2020-12-15 2021-03-26 长沙理工大学 一种区块链系统的交易创建方法、验证方法及交易设备
CN112288579B (zh) * 2020-12-24 2021-05-04 北京百度网讯科技有限公司 基于区块链的碳减排处理方法、装置、设备和存储介质
CN112765668B (zh) * 2021-01-31 2023-01-03 西安电子科技大学 一种零知识证明隐私保护方法、系统、存储介质、设备
CN112819467A (zh) * 2021-02-23 2021-05-18 中国信息通信研究院 一种隐私交易方法、装置及系统
CN112861080A (zh) * 2021-03-31 2021-05-28 中国工商银行股份有限公司 基于区块链的多媒体数据管理方法和装置
CN113450224B (zh) * 2021-07-13 2024-02-27 成都质数斯达克科技有限公司 基于utxo模型的事务处理方法、装置、设备及存储介质
CN113570369B (zh) * 2021-07-29 2024-05-28 成都质数斯达克科技有限公司 一种区块链隐私交易方法、装置、设备及可读存储介质
US20230087602A1 (en) * 2021-09-19 2023-03-23 International Business Machines Corporation Privacy-preserving state reference
CN113570373B (zh) * 2021-09-23 2022-02-11 北京理工大学 一种基于区块链的可追责交易方法及系统
TWI822441B (zh) * 2022-11-04 2023-11-11 第一商業銀行股份有限公司 基於區塊鏈的帳務清算方法及系統

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140074720A1 (en) * 2012-09-10 2014-03-13 King Fahd University Of Petroleum And Minerals Virtual account and token-based digital cash protocols
US20150178730A1 (en) * 2012-03-23 2015-06-25 The Toronto-Dominion Bank System and method for downloading an electronic product to a pin-pad terminal using a directly-transmitted electronic shopping basket entry
CN109034800A (zh) * 2018-07-31 2018-12-18 杭州复杂美科技有限公司 一种隐私交易方法、系统及设备
CN110011781A (zh) * 2019-03-04 2019-07-12 华中科技大学 一种用于交易金额加密且支持零知识证明的同态加密方法
CN110089069A (zh) * 2018-11-27 2019-08-02 阿里巴巴集团控股有限公司 用于信息保护的系统和方法
CN110473105A (zh) * 2019-08-20 2019-11-19 深圳市网心科技有限公司 一种区块链交易结算方法、系统及相关设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170357966A1 (en) * 2016-06-09 2017-12-14 Mastercard International Incorporated Method and system for use of a proprietary private blockchain
CN107085810A (zh) * 2017-04-19 2017-08-22 朱皞罡 一种区块链的跨链操作方法及区块链管理系统
CN108418783B (zh) * 2017-09-01 2021-03-19 矩阵元技术(深圳)有限公司 一种保护区块链智能合约隐私的方法、介质
CN108418689B (zh) * 2017-11-30 2020-07-10 矩阵元技术(深圳)有限公司 一种适合区块链隐私保护的零知识证明方法和介质
CN110084068B (zh) * 2018-01-26 2023-09-29 阿里巴巴集团控股有限公司 区块链系统及用于区块链系统的数据处理方法
KR102215773B1 (ko) * 2018-11-07 2021-02-17 어드밴스드 뉴 테크놀로지스 씨오., 엘티디. 영-지식 증명을 갖는 계정 노트 모델에 기초한 블록체인 데이터 보호
KR102180991B1 (ko) * 2018-11-07 2020-12-17 어드밴스드 뉴 테크놀로지스 씨오., 엘티디. 블록 체인 기밀 거래의 규제
CN109710695B (zh) * 2018-12-26 2021-10-08 百度在线网络技术(北京)有限公司 事务请求有效性识别和发起方法、装置、设备和介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150178730A1 (en) * 2012-03-23 2015-06-25 The Toronto-Dominion Bank System and method for downloading an electronic product to a pin-pad terminal using a directly-transmitted electronic shopping basket entry
US20140074720A1 (en) * 2012-09-10 2014-03-13 King Fahd University Of Petroleum And Minerals Virtual account and token-based digital cash protocols
CN109034800A (zh) * 2018-07-31 2018-12-18 杭州复杂美科技有限公司 一种隐私交易方法、系统及设备
CN110089069A (zh) * 2018-11-27 2019-08-02 阿里巴巴集团控股有限公司 用于信息保护的系统和方法
CN110011781A (zh) * 2019-03-04 2019-07-12 华中科技大学 一种用于交易金额加密且支持零知识证明的同态加密方法
CN110473105A (zh) * 2019-08-20 2019-11-19 深圳市网心科技有限公司 一种区块链交易结算方法、系统及相关设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117808470A (zh) * 2023-12-21 2024-04-02 暨南大学 一种基于门限签名的高效匿名原子交换的跨链方法及系统

Also Published As

Publication number Publication date
CN110473105B (zh) 2024-01-16
CN110473105A (zh) 2019-11-19

Similar Documents

Publication Publication Date Title
WO2021031460A1 (zh) 一种区块链交易结算方法、系统及相关设备
CN110493007B (zh) 一种基于区块链的信息验证方法、装置、设备及存储介质
CN109862041B (zh) 一种数字身份认证方法、设备、装置、系统及存储介质
US11232478B2 (en) Methods and system for collecting statistics against distributed private data
TWI723658B (zh) 基於區塊鏈中智慧合約保護交易活動敏感資料的方法和設備
US11757643B2 (en) System and method for authenticating user identity
JP7210466B2 (ja) ブロックチェーンを用いてデータ記録を分配するシステム及び方法
WO2021046668A1 (zh) 区块链系统及信息传输方法、系统、装置、计算机介质
CN109951489A (zh) 一种数字身份认证方法、设备、装置、系统及存储介质
US20210344500A1 (en) Computer-implemented system and method for transferring access to digital resource
WO2020073546A1 (zh) 数字证书的处理方法及相关装置
CN101739624A (zh) 一种可信支付网络系统
KR102227578B1 (ko) 블록체인 네트워크를 이용한 영지식 증명 기반의 인증서 서비스 방법, 이를 이용한 인증 지원 서버 및 사용자 단말
CN110770774A (zh) 数据存储中的验证和加密方案
JP2013009201A (ja) コンテンツデータ配信システム、コンテンツデータ配信方法、及び半導体装置
US20150200783A1 (en) Secure access for sensitive digital information
CN109361508A (zh) 数据传输方法、电子设备及计算机可读存储介质
CN109919611A (zh) 基于对称密钥池服务器的抗量子计算区块链交易方法和系统
WO2023273070A1 (zh) 注册方法、系统、电子设备、存储介质及计算机程序产品
CN105227380B (zh) 用户数据处理的方法、装置及系统
KR20200021349A (ko) 블록체인 기반의 사용자 만족도 평가 시스템 및 방법
CN109660344A (zh) 基于非对称密钥池路由装置的抗量子计算区块链交易方法和系统
CN107911220B (zh) 一种签名方法、签名装置及终端设备
CN113783690B (zh) 基于认证的招标方法和装置
JPWO2011058629A1 (ja) 情報管理システム

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: 19942130

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: 19942130

Country of ref document: EP

Kind code of ref document: A1