Block chain transfer transaction privacy protection method, block chain link point equipment and medium

文档序号:1922842 发布日期:2021-12-03 浏览:9次 中文

阅读说明:本技术 区块链转账交易隐私保护方法、区块链节点设备及介质 (Block chain transfer transaction privacy protection method, block chain link point equipment and medium ) 是由 戴永彰 于 2020-05-29 设计创作,主要内容包括:本发明提供一种区块链转账交易隐私保护方法、区块链节点设备及介质。所述方法包括:接收收款方节点设备发送的转账请求,转账请求中携带有多个收款账号及收款总金额;发送至少一个转账序号及至少一个转账序号对应的虚拟钱包地址至收款方节点设备,使得收款方节点设备发送收款总金额、至少一个转账序号及至少一个转账序号对应的虚拟钱包地址至拨款方节点设备中;接收拨款方节点设备发送的转账总金额及至少一个转账序号;根据转账总金额及至少一个转账序号向收款方节点设备的每个收款账号中转入转账金额。本发明通过区块链管理节点设备作为中间媒介,将转账总金额进行拆分并通过多个虚拟钱包完整转账操作,保护了转账交易双方的隐私。(The invention provides a privacy protection method for block chain transfer transaction, block chain link point equipment and a medium. The method comprises the following steps: receiving a transfer request sent by a receiver node device, wherein the transfer request carries a plurality of receiving account numbers and a receiving total amount; sending at least one transfer serial number and at least one virtual wallet address corresponding to the transfer serial number to the payee node device, so that the payee node device sends the total amount of money to be collected, the at least one transfer serial number and the at least one virtual wallet address corresponding to the transfer serial number to the teller node device; receiving a total transfer amount and at least one transfer serial number sent by the node equipment of the teller side; transferring the transfer amount to each receiving account of the receiver node equipment according to the total transfer amount and at least one transfer serial number. According to the invention, the block chain management node device is used as an intermediate medium, the total transfer amount is split, and the transfer operation is completed through a plurality of virtual wallets, so that the privacy of both sides of the transfer transaction is protected.)

1. A privacy protection method for blockchain transfer transaction is applied to blockchain management node equipment, and is characterized in that the method comprises the following steps:

receiving a transfer request sent by a receiver node device, wherein the transfer request carries a plurality of receiving account numbers and a receiving total amount;

sending at least one transfer serial number and a virtual wallet address corresponding to the at least one transfer serial number to the payee node device, so that the payee node device sends the total amount received, the at least one transfer serial number and the virtual wallet address corresponding to the at least one transfer serial number to the payee node device;

receiving the total transfer amount and the at least one transfer serial number sent by the money-dialing node equipment;

transferring the transfer amount to each receiving account of the receiver node equipment according to the transfer total amount and the at least one transfer serial number.

2. A blockchain transfer transaction privacy protection method as recited in claim 1 wherein after receiving the transfer request sent by the recipient node device, the method further comprises:

and responding to the transfer request to generate a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number.

3. A method of privacy protection for blockchain transfer transactions as recited in claim 2 wherein generating a plurality of transfer sequence numbers and a virtual wallet for each transfer sequence number in response to the transfer request includes:

randomly generating a plurality of transfer sequence numbers in response to the transfer request;

invoking a smart contract virtual wallet generator to generate a plurality of virtual wallets;

allocating at least one transfer address for each transfer sequence number;

appointing a transfer amount and a new transfer serial number for each transfer address;

and storing the transfer serial number, the transfer address, the transfer amount and the new transfer serial number in a transfer record table in an associated manner.

4. A method for privacy protection in blockchain transfer transactions as recited in claim 3 wherein said receiving a total transfer amount and said at least one transfer sequence number sent by said payee node device comprises:

and receiving the total transfer amount and the at least one transfer sequence number through a virtual wallet corresponding to the virtual wallet address.

5. A method for privacy protection in blockchain transfer transactions as recited in claim 4 wherein said transferring a transfer amount to each recipient account number of said recipient node device based on said total transfer amount and said at least one transfer sequence number comprises:

inquiring a new transfer sequence number corresponding to the at least one transfer sequence number according to the transfer record table;

determining a new transfer amount and a new transfer address corresponding to the new transfer serial number;

judging whether the new transfer address is a virtual wallet address or a collection account;

and when the new transfer address is one of the plurality of collection account numbers, directly transferring the new transfer amount to the collection account number.

6. A blockchain transfer transaction privacy protection method as recited in claim 5 wherein the method further comprises:

when the new transfer address is the virtual wallet address, transferring the new transfer amount to the virtual wallet corresponding to the new transfer address;

inquiring a next new transfer serial number corresponding to the new transfer address;

and executing transfer operation according to the next new transfer serial number and the transferred new transfer amount until the transfer is finally carried out to the plurality of collection account numbers.

7. A privacy protection method for blockchain transfer transaction is applied to a payee node device, and is characterized by comprising the following steps:

sending a transfer request to the block chain management node equipment, wherein the transfer request carries a plurality of collection account numbers and a collection total amount;

receiving at least one transfer sequence number fed back by the blockchain management node device in response to the transfer request and a virtual wallet address corresponding to the at least one transfer sequence number;

sending the total amount of money received, the at least one transfer serial number and a virtual wallet address corresponding to the at least one transfer serial number to a dialer node device, so that the dialer node device sends the total amount of money transferred and the at least one transfer serial number to a virtual wallet corresponding to the at least one virtual wallet address in the blockchain management node device;

and receiving the transfer amount transferred to each receiving account by the block chain management node equipment according to the total transfer amount and the at least one transfer serial number.

8. A privacy protection method for block chain transfer transaction is applied to a fund-transferring party node device, and is characterized in that the method comprises the following steps:

receiving a total amount of money to be collected, at least one transfer serial number and a virtual wallet address corresponding to the at least one transfer serial number, which are sent by a receiver node device;

and sending a total transfer amount and the at least one transfer sequence number to a virtual wallet corresponding to the at least one virtual wallet address in the blockchain management node device, so that the blockchain management node device transfers the transfer amount to each collection account of the receiver node device according to the total transfer amount and the at least one transfer sequence number.

9. A block chain node device, comprising:

a memory to store at least one instruction;

a processor configured to execute the at least one instruction to implement the blockchain transfer transaction privacy protection method of any one of claims 1 to 6, or to implement the blockchain transfer transaction privacy protection method of claim 7, or to implement the blockchain transfer transaction privacy protection method of claim 8.

10. A computer-readable storage medium having stored therein at least one instruction which, when executed by a processor, implements the blockchain transfer transaction privacy protection method of any one of claims 1 to 6, or implements the blockchain transfer transaction privacy protection method of claim 7, or implements the blockchain transfer transaction privacy protection method of claim 8.

Technical Field

The invention relates to the technical field of block chains, in particular to a block chain transfer transaction privacy protection method, block chain link point equipment and a block chain transfer transaction privacy protection medium.

Background

In the blockchain technology, in order to ensure that transaction data cannot be tampered, the transaction data is generally uploaded and added to a blockchain, but this results in that any node in the blockchain network can acquire the transaction data, and acquire a transaction amount, an account address of both parties of the transaction, and the like from the transaction data.

In the prior art, although the transaction data is encrypted through an encryption algorithm to ensure the security and privacy of the transaction data, the encryption algorithm is easy to be broken, the security level is low, and the function of protecting the transaction privacy cannot be really played.

Disclosure of Invention

In view of the above, the main objective of the present invention is to provide a privacy protection method for blockchain transfer transaction, a blockchain link point device and a medium, which aim to solve the technical problem of security of blockchain transaction data.

The invention provides a privacy protection method for blockchain transfer transaction, which is applied to blockchain management node equipment and comprises the following steps:

receiving a transfer request sent by a receiver node device, wherein the transfer request carries a plurality of receiving account numbers and a receiving total amount;

sending at least one transfer serial number and a virtual wallet address corresponding to the at least one transfer serial number to the payee node device, so that the payee node device sends the total amount received, the at least one transfer serial number and the virtual wallet address corresponding to the at least one transfer serial number to the payee node device;

receiving the total transfer amount and the at least one transfer serial number sent by the money-dialing node equipment;

transferring the transfer amount to each receiving account of the receiver node equipment according to the transfer total amount and the at least one transfer serial number.

According to an alternative embodiment of the invention, after receiving the transfer request sent by the recipient node device, the method further comprises:

and responding to the transfer request to generate a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number.

According to an optional embodiment of the invention, the generating a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number in response to the transfer request comprises:

randomly generating a plurality of transfer sequence numbers in response to the transfer request;

invoking a smart contract virtual wallet generator to generate a plurality of virtual wallets;

allocating at least one transfer address for each transfer sequence number;

appointing a transfer amount and a new transfer serial number for each transfer address;

and storing the transfer serial number, the transfer address, the transfer amount and the new transfer serial number in a transfer record table in an associated manner.

According to an optional embodiment of the present invention, the receiving the total transfer amount and the at least one transfer sequence number sent by the payee node device includes:

and receiving the total transfer amount and the at least one transfer sequence number through a virtual wallet corresponding to the virtual wallet address.

According to an optional embodiment of the present invention, the transferring the transfer amount into each receiving account of the receiver node device according to the total transfer amount and the at least one transfer serial number comprises:

inquiring a new transfer sequence number corresponding to the at least one transfer sequence number according to the transfer record table;

determining a new transfer amount and a new transfer address corresponding to the new transfer serial number;

judging whether the new transfer address is a virtual wallet address or a collection account;

and when the new transfer address is one of the plurality of collection account numbers, directly transferring the new transfer amount to the collection account number.

According to an alternative embodiment of the invention, the method further comprises:

when the new transfer address is the virtual wallet address, transferring the new transfer amount to the virtual wallet corresponding to the new transfer address;

inquiring a next new transfer serial number corresponding to the new transfer address;

and executing transfer operation according to the next new transfer serial number and the transferred new transfer amount until the transfer is finally carried out to the plurality of collection account numbers.

The invention provides a privacy protection method for a block chain transfer transaction, which is applied to a payee node device and comprises the following steps:

sending a transfer request to the block chain management node equipment, wherein the transfer request carries a plurality of collection account numbers and a collection total amount;

receiving at least one transfer sequence number fed back by the blockchain management node device in response to the transfer request and a virtual wallet address corresponding to the at least one transfer sequence number;

sending the total amount of money received, the at least one transfer serial number and a virtual wallet address corresponding to the at least one transfer serial number to a dialer node device, so that the dialer node device sends the total amount of money transferred and the at least one transfer serial number to a virtual wallet corresponding to the at least one virtual wallet address in the blockchain management node device;

and receiving the transfer amount transferred to each receiving account by the block chain management node equipment according to the total transfer amount and the at least one transfer serial number.

The invention provides a privacy protection method for block chain transfer transaction, which is applied to a node device of a fund-shifting party and comprises the following steps:

receiving a total amount of money to be collected, at least one transfer serial number and a virtual wallet address corresponding to the at least one transfer serial number, which are sent by a receiver node device;

and sending a total transfer amount and the at least one transfer sequence number to a virtual wallet corresponding to the at least one virtual wallet address in the blockchain management node device, so that the blockchain management node device transfers the transfer amount to each collection account of the receiver node device according to the total transfer amount and the at least one transfer sequence number.

A fourth aspect of the present invention provides a block link point apparatus comprising: a memory to store at least one instruction; a processor configured to implement the method for privacy protection of blockchain transfer transactions when executing the at least one instruction.

A fifth aspect of the invention provides a computer-readable storage medium having stored therein at least one instruction which, when executed by a processor, implements the method for privacy protection of blockchain transfer transactions,

according to the invention, the block chain management node device is used as an intermediate medium, the total transfer amount is split, and the transfer operation is completed through a plurality of virtual wallets, so that the privacy of both sides of the transfer transaction is protected.

Drawings

FIG. 1 is a flow chart of a method for privacy protection of blockchain transfer transactions according to a first embodiment of the present invention.

Fig. 2 is a data flow diagram of a method for privacy preserving blockchain transfer transactions according to a first embodiment of the present invention.

Fig. 3 is a diagram illustrating a transfer record table according to a first embodiment of the present invention.

Fig. 4 is a diagram illustrating a transfer record table according to a second embodiment of the present invention.

Fig. 5 is a diagram illustrating a total split transfer amount of a blockchain management node device according to an embodiment of the present invention.

FIG. 6 is a diagram illustrating a transfer transaction being performed simultaneously by multiple parties, according to an embodiment of the invention.

FIG. 7 is a flow chart of a method for privacy protection of blockchain transfer transactions according to a second embodiment of the present invention.

FIG. 8 is a flowchart of a method for privacy preserving blockchain transfer transactions according to a third embodiment of the present invention.

FIG. 9 is a functional block diagram of a privacy protection mechanism for blockchain transfer transactions according to a fourth embodiment of the present invention.

Fig. 10 is a functional block diagram of a privacy protection apparatus for blockchain transfer transactions according to a fifth embodiment of the present invention.

FIG. 11 is a functional block diagram of a privacy protection mechanism for blockchain transfer transactions according to a sixth embodiment of the present invention.

Fig. 12 is a structural view of a block link point device according to a seventh embodiment of the present invention.

Description of the main elements

Block chain transfer transaction privacy protection devices 90, 100, 110

First receiving module 901

Generation module 902

First sending module 903

Second receiving module 904

First transfer module 905

Second transmission module 1001

Third receiving module 1002

Fourth transmission module 1003

Fourth receiving module 1004

Fifth receiving module 1101

Fifth sending module 1102

Block link point device 120

Memory 1201

Processor 1202

Communication bus 1203

Transceiver 1204

Detailed Description

The following description will more fully describe the present disclosure with reference to the accompanying drawings. There is shown in the drawings exemplary embodiments of the invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. These exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like reference numerals designate identical or similar components.

The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Further, as used herein, the terms "comprises," "comprising," "includes" and/or "including" or "having" and/or "having," integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, regions, integers, steps, operations, elements, components, and/or groups thereof.

Unless defined otherwise, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Furthermore, unless otherwise defined herein, terms such as those defined in commonly used dictionaries should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present invention, and will not be interpreted in an idealized or overly formal sense.

The following description of exemplary embodiments refers to the accompanying drawings. It should be noted that the components depicted in the referenced drawings are not necessarily shown to scale; and the same or similar components will be given the same or similar reference numerals or similar terms.

Please refer to fig. 1 and fig. 2, which are flowcharts illustrating a method for privacy protection of blockchain transfer transactions according to a first embodiment of the present invention. The privacy protection method for the blockchain transfer transaction is applied to blockchain management node equipment and specifically comprises the following steps, and according to different requirements, the sequence of the steps in the flowchart can be changed, and some steps can be omitted.

And S11, the blockchain management node equipment receives a transfer request sent by the receiver node equipment, wherein the transfer request carries a plurality of receiving account numbers and a receiving total amount.

The blockchain system may include a blockchain management node device, a payee node device, and a payee node device. The block chain management node equipment is used as an intermediate medium, divides the total transfer amount sent by the money-drawing party node equipment into a plurality of transfer amounts, and transfers the transfer amounts to a plurality of collection account numbers of the collection party node equipment through a plurality of virtual wallets. The plurality of collection account numbers are available account numbers of a collector, and the total collection amount is the sum of the amount of money transferred to the collector by a teller.

The payee node device may send a transfer request to the blockchain management node device to request to obtain a virtual wallet address and a transfer sequence number, so that the teller node device transfers money according to the virtual wallet address and the transfer sequence number.

And S12, the blockchain management node equipment sends at least one transfer serial number and a virtual wallet address corresponding to the at least one transfer serial number to the receiver node equipment.

And after receiving the at least one transfer serial number and the virtual wallet address corresponding to the at least one transfer serial number, the receiver node equipment sends the total amount received, the at least one transfer serial number and the virtual wallet address corresponding to the at least one transfer serial number to the teller node equipment.

And S13, the blockchain management node equipment receives the total transfer amount and the at least one transfer serial number sent by the dialer node equipment.

And S14, transferring the transfer amount to each collection account of the receiver node equipment by the blockchain management node equipment according to the total transfer amount and the at least one transfer serial number.

And the block chain management node equipment transfers the sum of transfer amount to each collection account of the receiver node equipment to be the total transfer amount.

In an optional embodiment, after receiving the transfer request sent by the receiver node device, the method may further include:

and the block chain management node equipment responds to the transfer request to generate a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number.

As shown in fig. 2, the receiving side node device first sends a transfer request to the blockchain management node device, and after receiving the transfer request, the blockchain management node device invokes the smart contract virtual wallet generator to generate a plurality of virtual wallets (e.g., virtual wallet 1, virtual wallet 2, virtual wallet 3), and returns at least one transfer sequence number and a virtual wallet address corresponding to the at least one transfer sequence number to the receiving side node device.

In an optional embodiment, the generating, by the blockchain management node device in response to the transfer request, a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number includes:

randomly generating a plurality of transfer sequence numbers in response to the transfer request;

invoking a smart contract virtual wallet generator to generate a plurality of virtual wallets;

allocating at least one transfer address for each transfer sequence number;

appointing a transfer amount and a new transfer serial number for each transfer address;

and storing the transfer serial number, the transfer address, the transfer amount and the new transfer serial number in a transfer record table in an associated manner.

In this alternative embodiment, the transfer address may be a virtual wallet address or a collection account.

And in combination with the first transfer record table shown in fig. 3, the blockchain management node device randomly generates 3 transfer sequence numbers AAA, BBB and CCC in response to the transfer request, wherein the transfer sequence number AAA corresponds to 2 transfer addresses (virtual wallet 1 and virtual wallet 2), the transfer sequence number BBB corresponds to 2 transfer addresses (collection account 1 and collection account 2), and the transfer sequence number CCC corresponds to 1 transfer address (collection account 1). The transfer amount designated for the transfer address "virtual wallet 1" is 500 and the new transfer sequence number is BBB, the transfer amount designated for the transfer address "virtual wallet 2" is 200 and the new transfer sequence number is CCC.

In an optional embodiment, the receiving the total transfer amount and the at least one transfer sequence number sent by the payee node device includes:

and receiving the total transfer amount and the at least one transfer sequence number through a virtual wallet corresponding to the virtual wallet address.

In an optional embodiment, the step of the blockchain management node device transferring the transfer amount to each collection account of the receiver node device according to the total transfer amount and the at least one transfer sequence number includes:

inquiring a new transfer sequence number corresponding to the at least one transfer sequence number according to the transfer record table;

determining a new transfer amount and a new transfer address corresponding to the new transfer serial number;

judging whether the new transfer address is a virtual wallet address or a collection account;

when the new transfer address is one of the plurality of collection account numbers, directly transferring the new transfer amount to the collection account number;

when the new transfer address is the virtual wallet address, transferring the new transfer amount to the virtual wallet corresponding to the new transfer address; inquiring a next new transfer serial number corresponding to the new transfer address; and executing transfer operation according to the next new transfer serial number and the transferred new transfer amount until the transfer is finally carried out to the plurality of collection account numbers.

And after receiving the transferred amount, each virtual wallet sends an inquiry request carrying a transfer sequence number to the intelligent contract virtual wallet generator, and the intelligent contract virtual wallet generator inquires a transfer record table to obtain a next transfer address corresponding to the transfer sequence number, the transfer amount and an inquiry result of the next transfer sequence number. The smart contract virtual wallet generator feeds back the query result to the virtual wallet. And then the virtual wallet executes the transfer operation corresponding to the next transfer sequence number.

In this embodiment, when the transfer transaction is performed between the payee node device and the dialer node device, the total transfer amount is split into the plurality of virtual wallets by using the blockchain management node device as an intermediary, and the transfer operation to the payee node device is completed through the plurality of virtual wallets, so that account addresses of both sides of the transfer transaction cannot be visually determined, and privacy and safety of both sides of the transfer transaction are protected.

The method for privacy protection of blockchain transfer transactions according to the present embodiment is described below with reference to fig. 4 and 5.

Assuming that the receiving side node device sends a transfer request to the blockchain management node device, the transfer request carries a receiving account 1 and a receiving account 2 and a total receiving amount of 1000, the blockchain management node device calls the smart contract virtual wallet generator to generate 5 virtual wallets (virtual wallet 0, virtual wallet 1, virtual wallet 2, virtual wallet 3 and virtual wallet 4) and randomly generates 6 transfer sequence numbers (T0, T1, T2, T3, T4 and T5) in response to the transfer request, and the association relationship between each transfer sequence number and the transfer address, the transfer amount and the new transfer sequence number is recorded in a transfer record table II shown in FIG. 4.

Firstly, the blockchain management node device sends a transfer serial number T0 and a virtual wallet 0 to the receiver node device, and the receiver node device sends the transfer amount 1000, the transfer serial number T0 and the virtual wallet 0 to the teller node device.

And secondly, the node equipment at the teller side sends the transfer amount 1000 and the transfer sequence number T0 to the virtual wallet corresponding to the transfer address of the virtual wallet 0.

Thirdly, the transfer address is that the virtual wallet corresponding to the virtual wallet 0 sends an inquiry request carrying a transfer sequence number T0 to the intelligent contract virtual wallet generator, and the intelligent contract virtual wallet generator inquires a transfer record table II for the first time to obtain a first inquiry result: the transfer sequence number T0 corresponds to a new transfer sequence number T1 and the transfer sequence number T1 corresponds to two transfer addresses (virtual wallet 1, 600, new transfer sequence number T2; virtual wallet 2, 400, new transfer sequence number T3). And the intelligent contract virtual wallet generator feeds back the first inquiry result to the virtual wallet with the transfer address corresponding to the virtual wallet 0. And then, the transfer operation corresponding to the transfer sequence number T1 is executed by the virtual wallet with the transfer address corresponding to the virtual wallet 0: and transferring 600 to a virtual wallet corresponding to the transfer address of the virtual wallet 1, and transferring 400 to a virtual wallet corresponding to the transfer address of the virtual wallet 2.

Fourthly, the transfer address is that the virtual wallet corresponding to the virtual wallet 1 sends an inquiry request carrying the transfer sequence number T2 to the intelligent contract virtual wallet generator, and the intelligent contract virtual wallet generator inquires the transfer record table II for the second time, and the second inquiry result is obtained: the transfer sequence number T2 corresponds to two transfer addresses (virtual wallet 3, 400, new transfer sequence number T4; collection account 1, 200). And the intelligent contract virtual wallet generator feeds back the second inquiry result to the virtual wallet with the transfer address corresponding to the virtual wallet 1. And then, executing transfer operation corresponding to the transfer sequence number T2 by the virtual wallet corresponding to the transfer address of the virtual wallet 1: and transferring to 400 in the virtual wallet with the transfer address of the virtual wallet 3 and transferring to 200 in the transfer account with the transfer address of the collection account 1.

Fifthly, the transfer address is that the virtual wallet corresponding to the virtual wallet 2 sends an inquiry request carrying a transfer sequence number T3 to the intelligent contract virtual wallet generator, and the intelligent contract virtual wallet generator inquires a transfer record table II for the third time to obtain a third inquiry result: the transfer sequence number T3 corresponds to two transfer addresses (virtual wallet 4, 300, new transfer sequence number T5; collection account 2, 100). And the intelligent contract virtual wallet generator feeds back the third inquiry result to the virtual wallet with the transfer address corresponding to the virtual wallet 2. And then, the transfer address is used for carrying out transfer operation corresponding to the transfer sequence number T3 for the virtual wallet corresponding to the virtual wallet 2: transfer 300 to the virtual wallet with transfer address of virtual wallet 4 and 100 to the transfer account 2.

Sixthly, the transfer address is that the virtual wallet corresponding to the virtual wallet 3 sends an inquiry request carrying the transfer sequence number T4 to the intelligent contract virtual wallet generator, and the intelligent contract virtual wallet generator inquires the transfer record table II for the fourth time, so that the obtained fourth inquiry result is: the transfer serial number T4 corresponds to two transfer addresses (collection account 1, 100; collection account 2, 300). And the intelligent contract virtual wallet generator feeds back the fourth inquiry result to the virtual wallet with the transfer address corresponding to the virtual wallet 3. And then, the transfer address is used for carrying out transfer operation corresponding to the transfer sequence number T4 for the virtual wallet corresponding to the virtual wallet 3: transfer 100 to transfer account 1 and 300 to transfer account 2.

Seventhly, the transfer address is that the virtual wallet corresponding to the virtual wallet 4 sends an inquiry request carrying the transfer sequence number T5 to the intelligent contract virtual wallet generator, and the intelligent contract virtual wallet generator inquires the second transfer record table for the fifth time, so that the fifth inquiry result is obtained: the transfer serial number T5 corresponds to two transfer addresses (collection account 1, 100; collection account 2, 200). And the intelligent contract virtual wallet generator feeds back the fifth inquiry result to the virtual wallet with the transfer address corresponding to the virtual wallet 4. And then, the transfer address is used for carrying out transfer operation corresponding to the transfer sequence number T5 for the virtual wallet corresponding to the virtual wallet 4: transfer 100 to transfer account 1 and 200 to transfer account 2.

At this point, the total amount of transfer 400 in the charge account 1 and the total amount of transfer 600 in the charge account 2 totals 1000.

The above embodiment is a transfer transaction between one payee node device and one payee node device, and is also applicable to a transfer transaction between a plurality of payee node devices and one payee node device, a transfer transaction between one payee node device and a plurality of payee node devices, and a transfer transaction between a plurality of payee node devices and a plurality of payee node devices.

In specific implementation, each of the plurality of payee node devices is associated with each of the plurality of payee node devices, and then the transfer transaction is executed according to the transfer transaction between a single payee node device and a single payee node device until all the transfer transactions are completed. FIG. 6 is a schematic diagram of a transfer transaction between one payee node device and two payee node devices. Wherein the dotted line represents the data flow of the transfer from the dialer node device 1 to the collection account 1 of the collector node device, and the solid line represents the data flow of the transfer from the dialer node device 2 to the collection account 2 of the collector node device. The money transfer side node equipment 1 transfers the total amount to be transferred to the virtual wallet with the transfer address corresponding to the virtual wallet 2, transfers the first amount to the virtual wallet with the transfer address corresponding to the virtual wallet 1 and transfers the second amount to the virtual wallet with the transfer address corresponding to the virtual wallet 3 through the virtual wallet with the transfer address corresponding to the virtual wallet 2, transfers the first amount to the collection account 1 through the virtual wallet with the transfer address corresponding to the virtual wallet 1, and transfers the second amount to the collection account 1 through the virtual wallet with the transfer address corresponding to the virtual wallet 3. The money transfer side node equipment 2 transfers the total amount to be transferred to the virtual wallet with the transfer address corresponding to the virtual wallet 1, transfers a third amount to the virtual wallet with the transfer address corresponding to the virtual wallet 1 and transfers a fourth amount to the virtual wallet with the transfer address corresponding to the virtual wallet 3, transfers the third amount to the collection account 2 from the virtual wallet with the transfer address corresponding to the virtual wallet 2, and transfers the fourth amount to the collection account 2 from the virtual wallet with the transfer address corresponding to the virtual wallet 3.

Referring to fig. 7, a flowchart of a privacy protection method for blockchain transfer transactions according to a third embodiment of the present invention is shown. The privacy protection method for the block chain transfer transaction is applied to the node equipment of the receiver and specifically comprises the following steps, wherein the sequence of the steps in the flowchart can be changed and some steps can be omitted according to different requirements.

And S71, the receiving side node equipment sends a transfer request to the block chain management node equipment, wherein the transfer request carries a plurality of receiving account numbers and receiving total amount.

And S72, the receiving side node equipment receives at least one transfer sequence number fed back by the block chain management node equipment in response to the transfer request and the virtual wallet address corresponding to the at least one transfer sequence number.

And S73, the payee node equipment sends the total amount collected, the at least one transfer serial number and the virtual wallet address corresponding to the at least one transfer serial number to the payee node equipment.

And the money transfer side node equipment receives the total amount of money to be collected, the at least one transfer serial number and the virtual wallet address corresponding to the at least one transfer serial number, and transfers money to the block chain management node equipment.

In specific implementation, the money-dialing side node device sends a total transfer amount to a virtual wallet corresponding to the at least one virtual wallet address in the block chain management node device, and the total transfer amount is equal to the total collection amount.

And the money transfer side node equipment sends the at least one transfer serial number besides the total transfer amount when transferring money to the block chain management node equipment, so that the block chain management node equipment can determine a new transfer serial number according to the at least one transfer serial number, and then transfer operation corresponding to the new transfer serial number is executed.

And S74, the receiving party node equipment receives the transfer amount transferred to each receiving account by the block chain management node equipment according to the total transfer amount and the at least one transfer sequence number.

In this embodiment, when the transfer transaction is performed between the payee node device and the dialer node device, the total transfer amount is split into the plurality of virtual wallets by using the blockchain management node device as an intermediary, and the transfer operation to the payee node device is completed through the plurality of virtual wallets, so that account addresses of both sides of the transfer transaction cannot be visually determined, and privacy and safety of both sides of the transfer transaction are protected.

Referring to fig. 8, a flowchart of a privacy protection method for blockchain transfer transactions according to a fourth embodiment of the present invention is shown. The privacy protection method for the block chain transfer transaction is applied to the node equipment of the teller side, and specifically comprises the following steps, wherein the sequence of the steps in the flowchart can be changed and some steps can be omitted according to different requirements.

And S81, the dialer node equipment receives the total amount of money received, the at least one transfer serial number and the virtual wallet address corresponding to the at least one transfer serial number, which are sent by the payee node equipment.

And S82, the money-drawer node equipment sends the total transfer amount and the at least one transfer sequence number to the virtual wallet corresponding to the at least one virtual wallet address in the blockchain management node equipment.

And after receiving the total transfer amount and the at least one transfer serial number sent by the money-dialing party node equipment, the block chain management node equipment transfers the transfer amount to each collection account of the receiver node equipment according to the total transfer amount and the at least one transfer serial number. The sum of transfer amount transferred in each receiving account number is total transfer amount.

The specific process of transferring the transfer amount to each collection account of the receiver node device by the block chain management node device refers to embodiment one and the related description thereof.

Fig. 9 is a functional block diagram of a privacy protection apparatus for blockchain transfer transactions according to the fourth embodiment of the present invention.

The blockchain transfer transaction privacy device 90 may include a number of functional blocks comprised of program code segments. Program code for various segments of the blockchain transfer transaction privacy protection apparatus 90 may be stored in a memory of the blockchain management node device and executed by at least one processor of the blockchain management node device to perform the functions of blockchain transfer transaction privacy protection.

In this embodiment, the blockchain transfer transaction privacy protecting apparatus 90 may be divided into a plurality of functional modules according to the functions performed by the blockchain transfer transaction privacy protecting apparatus. The functional module may include: the system comprises a first receiving module 901, a generating module 902, a first sending module 903, a second receiving module 904 and a first transferring module 905. The module referred to herein is a series of computer program segments capable of being executed by at least one processor and capable of performing a fixed function and is stored in memory. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.

The first receiving module 901 is configured to receive a transfer request sent by a receiver node device, where the transfer request carries multiple receiving account numbers and a total receiving amount;

the generating module 902 is configured to generate a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number in response to the transfer request.

The first sending module 903 is configured to send at least one transfer serial number and a virtual wallet address corresponding to the at least one transfer serial number to the recipient node device.

The second receiving module 904 is configured to receive the total transfer amount and the at least one transfer serial number sent by the payee node device;

and the first transfer module 905 is configured to transfer a transfer amount to each receiving account of the receiver node device according to the total transfer amount and the at least one transfer sequence number.

For specific functions of the first receiving module 901, the generating module 902, the first sending module 903, the second receiving module 904, and the first forwarding module 905, please refer to fig. 1 and the related description thereof, which is not repeated herein.

Fig. 10 is a functional block diagram of a device for protecting privacy of blockchain transfer transactions according to a fifth embodiment of the present invention.

The blockchain transfer transaction privacy device 100 may include a plurality of functional blocks comprised of program code segments. Program code for various segments of the blockchain transfer transaction privacy protection apparatus 100 may be stored in a memory of the recipient node device and executed by at least one processor of the recipient node device to perform the functions of blockchain transfer transaction privacy protection.

In this embodiment, the blockchain transfer transaction privacy protecting apparatus 100 may be divided into a plurality of functional modules according to the functions performed by the blockchain transfer transaction privacy protecting apparatus. The functional module may include: a second sending module 1001, a third receiving module 1002, a fourth sending module 1003 and a fourth receiving module 1004. The module referred to herein is a series of computer program segments capable of being executed by at least one processor and capable of performing a fixed function and is stored in memory. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.

The second sending module 1001 is configured to send a transfer request to the blockchain management node device, where the transfer request carries a plurality of collection account numbers and a collection total amount.

The third receiving module 1002 is configured to receive at least one transfer sequence number fed back by the blockchain management node device in response to the transfer request and a virtual wallet address corresponding to the at least one transfer sequence number.

The fourth sending module 1003 is configured to send the total amount received, the at least one transfer serial number, and the virtual wallet address corresponding to the at least one transfer serial number to a payee node device, so that the payee node device sends the total amount transferred and the at least one transfer serial number to a virtual wallet corresponding to the at least one virtual wallet address in the blockchain management node device;

the fourth receiving module 1004 is configured to receive a transfer amount transferred to each collection account by the blockchain management node device according to the total transfer amount and the at least one transfer sequence number.

For specific functions of the second sending module 1001, the third receiving module 1002, the fourth sending module 1003 and the fourth receiving module 1004, refer to fig. 7 and the related description thereof, and the detailed description of the present invention is omitted.

Fig. 11 is a functional block diagram of a privacy protection apparatus for blockchain transfer transactions according to a sixth embodiment of the present invention.

The blockchain transfer transaction privacy device 110 may include a number of functional blocks comprised of program code segments. Program code for various program segments in the blockchain transfer transaction privacy protection apparatus 110 may be stored in a memory of the payee node device and executed by at least one processor of the payee node device to perform the functions of blockchain transfer transaction privacy protection.

In this embodiment, the blockchain transfer transaction privacy protecting apparatus 110 may be divided into a plurality of functional modules according to the functions performed by the blockchain transfer transaction privacy protecting apparatus. The functional module may include: a fifth receiving module 1101 and a fifth transmitting module 1102. The module referred to herein is a series of computer program segments capable of being executed by at least one processor and capable of performing a fixed function and is stored in memory. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.

The fifth receiving module 1101 is configured to receive a total amount received by the receiving party node device, at least one transfer sequence number, and a virtual wallet address corresponding to the at least one transfer sequence number.

The fifth sending module 1102 is configured to send a total transfer amount and the at least one transfer sequence number to a virtual wallet corresponding to the at least one virtual wallet address in the blockchain management node device, so that the blockchain management node device transfers the transfer amount to each collection account of the receiver node device according to the total transfer amount and the at least one transfer sequence number.

For specific functions of the fifth receiving module 1101 and the fifth sending module 1102, refer to fig. 8 and the related description thereof, and the detailed description of the present invention is omitted.

Fig. 12 is a schematic structural diagram of a block link point device according to a seventh embodiment of the present invention.

The blockchain node device 120 may include a memory 1201, at least one processor 1202, at least one communication bus 1203, and a transceiver 1204.

Those skilled in the art will appreciate that the configuration of the blockchain node device 120 shown in fig. 12 is not limiting to the embodiments of the present invention, and may be a bus-type configuration, a star-type configuration, or a configuration, and that the blockchain node device 120 may include more or less hardware or software than those shown, or a different arrangement of components.

The Memory 1201 includes Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (Electrically-Erasable Programmable Read-Only Memory (EEPROM), an EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, a magnetic disk storage, a tape storage, or any other medium readable by a computer capable of carrying or storing data.

In some embodiments, the at least one processor 1202 may include one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips, among others.

In some embodiments, the at least one communication bus 1203 is configured to enable connectivity communications between the memory 1201 and the at least one processor 1202, etc.

The memory 1201 has stored therein program code that is computer readable instructions. The at least one processor 1202 may invoke program code stored in the memory 1201 to perform the associated functions. For example, the various modules illustrated in fig. 9/10/11 are program code stored in the memory 1201 and executed by the at least one processor 1202 to perform the functions of the various modules for the purposes of privacy protection for blockchain transfer transactions.

In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.

The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.

In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.

It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or that the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

21页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:记录介质、结算系统以及结算服务器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!