CPC G06Q 20/401 (2013.01) [G06Q 20/363 (2013.01); G06Q 2220/00 (2013.01)] | 6 Claims |
1. A blockchain transaction privacy protection method, executed by a blockchain management node device, the method comprising:
receiving, by a blockchain management node device, a transaction request, the transaction request comprising a plurality of receiving accounts and a total amount receivable from a receiving node device;
randomly generating, by the blockchain management node device, a plurality of transaction sequence numbers in response to the transaction request;
generating, by a smart contract virtual wallet generator, a plurality of virtual wallets, the plurality of the virtual wallets corresponding to the plurality of transaction sequence numbers;
assigning, by the blockchain management node device, at least one transaction address for each of the transaction sequence numbers;
setting, by the blockchain management node device, a transaction amount and assigning a new transaction sequence number for each of the at least one transaction address;
associating, by the blockchain management node device, the transaction sequence number, the transaction address, the transaction amount and the new transaction sequence number in a transaction record table;
sending, by the blockchain management node device, the plurality of transaction sequence numbers and a virtual wallet address corresponding to each of the plurality of transaction sequence numbers to the receiving node device, thereby making the receiving node device send a total amount receivable, the plurality of transaction sequence numbers, and the virtual wallet address corresponding to the plurality of transaction sequence numbers to a granting node device;
receiving, by the blockchain management node device, a total amount receivable and the plurality of transaction sequence numbers sent by the granting node device; and
transferring, by the blockchain management node device, a transaction amount to each receiving account of the receiving node device according to the total amount receivable and the plurality of transaction sequence numbers, wherein the transferring, by the blockchain management node device, the transaction amount to each receiving account of the receiving node device according to the total amount receivable and the plurality of transaction sequence numbers to protect privacy of the receiving node device and the granting node device comprises:
querying, by the blockchain management node device, the new transaction sequence number corresponding to the plurality of transaction sequence numbers according to the transaction record table;
determining, by the blockchain management node device, a new transaction amount and a new transaction address corresponding to the new transaction sequence number;
determining, by the blockchain management node device, whether the new transaction address is a virtual wallet address or a receiving account;
when the new transaction address is determined to be one of the plurality of receiving accounts, transferring, by the blockchain management node device, the new transaction amount to the new transaction address;
when the new transaction address is determined to be a virtual wallet address, transferring, by the blockchain management node device, the new transaction amount to a virtual wallet corresponding to the new transaction address;
querying, by the blockchain management node device, a next new transaction sequence number corresponding to the new transaction address;
performing, by the blockchain management node device, a transfer operation according to the next new transaction sequence number and the transferred new transaction amount, until all of the receivable amount is transferred to the plurality of receiving accounts.
|