Method, apparatus and electronic device for blockchain transactions

US11244306B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11244306-B2
Application numberUS-201916531476-A
CountryUS
Kind codeB2
Filing dateAug 5, 2019
Priority dateAug 6, 2018
Publication dateFeb 8, 2022
Grant dateFeb 8, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the application provide a method, apparatus, and electronic device for implementing blockchain-based transactions. The method comprises: determining a transaction amount to be remitted from a remitter's blockchain account into a receiver's blockchain account, wherein a commitment of the remitter's balance is recorded with the remitter's blockchain account in a blockchain, a commitment of the receiver's balance is recorded with the receiver's blockchain account in the blockchain; obtaining a commitment of the transaction amount by using the homomorphic encryption algorithm according to the transaction amount; and submitting to the blockchain a transaction comprising information of the remitter's and the receiver's blockchain accounts, and the commitment of the transaction amount, for the commitment of the transaction amount to be deducted from the commitment of the remitter's balance and the commitment of the transaction amount to be added to the commitment of the receiver's balance.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for implementing blockchain-based transactions, comprising: calculating, by a receiver device, a commitment of a receiver's balance using a homomorphic encryption algorithm; recording, by the receiver device, the commitment of a receiver's balance with a receiver's blockchain account in a blockchain; calculating, by a remitter device, a commitment of a remitter's balance using the homomorphic encryption algorithm; recording, by the remitter device, the commitment of the remitter's balance with a remitter's blockchain account in the blockchain; obtaining, by the remitter device from a remitter user, a transaction amount to be remitted from the remitter's blockchain account into the receiver's blockchain account; sending, by the remitter device to the receiver device, the transaction amount via an off-chain channel that is separate from the blockchain; verifying, by the receiver device, the transaction amount; generating, by the receiver device, a receiver signature in response to the transaction amount being verified; sending, by the receiver device to the remitter device via the off-chain channel, the receiver signature; obtaining, by the remitter device, a commitment of the transaction amount using the homomorphic encryption algorithm according to the transaction amount; submitting, by the remitter device to one or more blockchain nodes in the blockchain, a transaction comprising information of the remitter's blockchain account, information of the receiver's blockchain account, the receiver signature, and the commitment of the transaction amount, for the commitment of the transaction amount to be deducted from the commitment of the remitter's balance and the commitment of the transaction amount to be added to the commitment of the receiver's balance; verifying, by the one or more blockchain nodes, the transaction submitted by the remitter device; in response to the transaction being verified: deducting, by the one or more blockchain nodes, the commitment of the transaction amount from the commitment of the remitter's balance; and adding, by the one or more blockchain nodes, the commitment of the transaction amount to the commitment of the receiver's balance. 2. The method as described in claim 1 , wherein: calculating, by the receiver device, the commitment of the receiver's balance using the homomorphic encryption algorithm comprises: calculating, by the receiver device, the commitment of the receiver's balance using the homomorphic encryption algorithm according to the receiver's balance and a first random number; obtaining, by the remitter device, the commitment of the transaction amount using the homomorphic encryption algorithm comprises: calculating, by the remitter device, the commitment of the transaction amount using the homomorphic encryption algorithm according to the transaction amount and a transaction random number; and before submitting the transaction, the method further comprises: sending, by the remitter device, the transaction random number to the receiver device via the off-chain channel for the receiver device to determine an updated receiver's balance according to an updated commitment of the receiver's balance and an updated first random number, wherein: the updated commitment of the receiver's balance is a sum of the commitment of the transaction amount and the commitment of the receiver's balance; the updated first random number is a sum of the transaction random number and the first random number; and the updated receiver's balance is a sum of the receiver's balance and the transaction amount. 3. The method as described in claim 2 , before submitting the transaction, further comprising: sending, by the remitter device, the commitment of the transaction amount to the receiver device via the off-chain channel for the receiver device to verify an association among the commitment of the transaction amount, the transaction random number, and the transaction amount. 4. The method as described in claim 3 , before submitting the transaction, further comprising: obtaining, by the remitter device from the receiver device, the receiver signature generated by the receiver device based on a receiver private key and related to the commitment of the transaction amount, wherein the receiver signature is generated in response to the association being verified; and adding, by the remitter device, the receiver signature to the transaction for the one or more blockchain nodes in the blockchain to verify the receiver signature. 5. The method as described in claim 1 , before submitting the transaction, further comprising: generating, by the remitter device, a remitter signature related to the commitment of the transaction amount based on a remitter private key; and adding by the remitter device, the remitter signature to the transaction for the one or more blockchain nodes in the blockchain to verify the remitter signature. 6. The method as described in claim 1 , wherein: calculating, by the remitter device, the commitment of the remitter's balance using the homomorphic encryption algorithm comprises: calculating, by the remitter device, the commitment of the remitter's balance using the homomorphic encryption algorithm according to the remitter's balance and a second random number; and obtaining, by the remitter device, the commitment of the transaction amount using the homomorphic encryption algorithm comprises: calculating, by the remitter device, the commitment of the transaction amount using the homomorphic encryption algorithm according to the transaction amount and a transaction random number, wherein the transaction random number is deducted from the second random number. 7. The method as described in claim 6 , further comprising: generating, by the remitter device, a range proof according to the second random number, the remitter's balance, the commitment of the remitter's balance, the transaction random number, the transaction amount, and the commitment of the transaction amount; adding, by the remitter device, the range proof to the transaction; and verifying, by the one or more blockchain nodes, whether the transaction amount is not less than zero and not more than the remitter's balance according to the range proof added to the transaction. 8. An apparatus for implementing blockchain-based transactions, comprising: a receiver device, comprising: (i) one or more receiver device processors and (ii) one or more receiver device memories storing first computer-readable instructions that, when executed by the one or more receiver device processors, cause the one or more receiver device processors to perform operations comprising: calculating a commitment of a receiver's balance using a homomorphic encryption algorithm; recording the commitment of a receiver's balance with a receiver's blockchain account in a blockchain; verifying a transaction amount; and generating a receiver signature in response to the transaction amount being verified; a remitter device, comprising: (i) one or more remitter device processors and (ii) one or more remitter device memories storing second computer-readable instructions that, when executed by the one or more remitter device processors, cause the one or more remitter device processors to perform operations comprising: calculating a commitment of a remitter's balance using the homomorphic encryption algorithm; recording the commitment of the remitter's balance with a remitter's blockchain account in the blockchain; obtaining, from a remitter user, the transaction amount, wherein the transaction amount is to be remitted from the remitter's blockchain account into the receiver's blockchain account; sending, to the re

Assignees

Inventors

Classifications

  • using hash chains, e.g. blockchains or hash trees · CPC title

  • Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM] · CPC title

  • Balancing accounts · CPC title

  • involving homomorphic encryption · CPC title

  • G06F21/602Primary

    Providing cryptographic facilities or services · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11244306B2 cover?
Embodiments of the application provide a method, apparatus, and electronic device for implementing blockchain-based transactions. The method comprises: determining a transaction amount to be remitted from a remitter's blockchain account into a receiver's blockchain account, wherein a commitment of the remitter's balance is recorded with the remitter's blockchain account in a blockchain, a commi…
Who is the assignee on this patent?
Advanced New Technologies Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06Q20/3676. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 08 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).