TWI748490B - Privacy protection method, blockchain node device and storage medium for blockchain transfer transactions - Google Patents

Privacy protection method, blockchain node device and storage medium for blockchain transfer transactions Download PDF

Info

Publication number
TWI748490B
TWI748490B TW109118200A TW109118200A TWI748490B TW I748490 B TWI748490 B TW I748490B TW 109118200 A TW109118200 A TW 109118200A TW 109118200 A TW109118200 A TW 109118200A TW I748490 B TWI748490 B TW I748490B
Authority
TW
Taiwan
Prior art keywords
transfer
node device
sequence number
virtual wallet
blockchain
Prior art date
Application number
TW109118200A
Other languages
Chinese (zh)
Other versions
TW202145096A (en
Inventor
戴永彰
Original Assignee
鴻海精密工業股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 鴻海精密工業股份有限公司 filed Critical 鴻海精密工業股份有限公司
Priority to TW109118200A priority Critical patent/TWI748490B/en
Application granted granted Critical
Publication of TWI748490B publication Critical patent/TWI748490B/en
Publication of TW202145096A publication Critical patent/TW202145096A/en

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present disclosure provides a privacy protection method, a blockchain node device and a storage medium for blockchain transfer transactions. The privacy protection method includes: receiving a transfer request sent by a payee node device, the transfer request carries a plurality of payment account numbers and a total amount of payment; 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, to make the payee node device send the total amount of payment, the at least one transfer serial number and the at least one virtual wallet address corresponding to the transfer serial number to a appropriator node device; receiving the total transfer amount and at least one transfer serial number sent by the appropriator node device; transferring the transfer amount to each of the plurality of payment account numbers to the payee node device according to the total amount of the payment and at least one transfer serial number. The present disclosure uses the blockchain management node device as an intermediate medium to split the total amount of transfer and complete the transfer operation through multiple virtual wallets, thereby protecting the privacy of both parties of the transfer transaction.

Description

區塊鏈轉帳交易隱私保護方法、區塊鏈節點設備及介質 Block chain transfer transaction privacy protection method, block chain node equipment and medium

本發明涉及區塊鏈技術領域,尤其涉及一種區塊鏈轉帳交易隱私保護方法、區塊鏈節點設備及介質。 The present invention relates to the field of blockchain technology, in particular to a method for protecting the privacy of a blockchain transfer transaction, a blockchain node device and a medium.

在區塊鏈技術中,為了保證交易資料的不可篡改,通常會將交易資料上傳添加至區塊鏈,但係這樣就會導致區塊鏈網路中的任意節點均可以獲取到該交易資料,並從該交易資料中獲取交易金額、交易雙方帳號位元址等。 In blockchain technology, in order to ensure that the transaction data cannot be tampered with, the transaction data is usually uploaded and added to the blockchain, but this will cause any node in the blockchain network to obtain the transaction data. And obtain the transaction amount, the account address of both parties to the transaction, etc. from the transaction data.

習知技術中雖有透過加密演算法對交易資料進行加密來確保交易資料的安全性和隱私性,但加密演算法容易被破解,安全級別較低,無法真正起到保護交易隱私的作用。 Although conventional technologies use encryption algorithms to encrypt transaction data to ensure the security and privacy of transaction data, encryption algorithms are easy to crack and have a low security level, which cannot truly protect transaction privacy.

有鑑於此,本發明的主要目的在於提供一種區塊鏈轉帳交易隱私保護方法、區塊鏈節點設備及介質,旨在解決區塊鏈交易資料的安全的技術問題。 In view of this, the main purpose of the present invention is to provide a block chain transfer transaction privacy protection method, block chain node equipment and medium, aiming to solve the technical problem of the security of block chain transaction data.

本發明的第一方面提供一種區塊鏈轉帳交易隱私保護方法,應用於區塊鏈管理節點設備中,所述方法包括:接收收款方節點設備發送的轉帳請求,所述轉帳請求中攜帶有複數個收款帳號及收款總金額; 發送至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至所述收款方節點設備,使得所述收款方節點設備發送所述收款總金額、所述至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至撥款方節點設備中;接收所述撥款方節點設備發送的轉帳總金額及所述至少一個轉帳序號;根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額。 The first aspect of the present invention provides a blockchain transfer transaction privacy protection method, which is applied to a blockchain management node device, and the method includes: receiving a transfer request sent by a payee node device, and the transfer request carries Multiple receiving account numbers and the total amount of the payment; Send at least one transfer sequence number and the virtual wallet address corresponding to the at least one transfer sequence number to the payee node device, so that the payee node device sends the total amount of the payment, the at least one transfer sequence number, and The virtual wallet address corresponding to the at least one transfer sequence number is sent to the grantor node device; the total transfer amount and the at least one transfer sequence number sent by the grantor node device are received; according to the total transfer amount and the at least one transfer sequence number The transfer serial number transfers the transfer amount to each receiving account of the payee node device.

根據本發明的一個可選的實施例,在接收到所述收款方節點設備發送的所述轉帳請求之後,所述方法還包括:回應於所述轉帳請求生成複數個轉帳序號及每個轉帳序號對應的虛擬錢包。 According to an optional embodiment of the present invention, after receiving the transfer request sent by the payee node device, the method further includes: generating a plurality of transfer sequence numbers and each transfer in response to the transfer request The virtual wallet corresponding to the serial number.

根據本發明的一個可選的實施例,所述響應於所述轉帳請求生成複數個轉帳序號及每個轉帳序號對應的虛擬錢包包括:回應於所述轉帳請求隨機生成複數個轉帳序號;調用智能合約虛擬錢包產生器生成複數個虛擬錢包;為每個轉帳序號分配至少一個轉帳位址;為每個轉帳位址指定轉帳金額及新的轉帳序號;將轉帳序號、轉帳位址、轉帳金額及新的轉帳序號關聯儲存在轉帳記錄表中。 According to an optional embodiment of the present 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 includes: randomly generating a plurality of transfer sequence numbers in response to the transfer request; invoking an intelligent The contract virtual wallet generator generates multiple virtual wallets; assigns at least one transfer address to each transfer sequence number; assigns the transfer amount and new transfer sequence number to each transfer address; assigns the transfer sequence number, transfer address, transfer amount and new The transfer sequence number of is associated and stored in the transfer record table.

根據本發明的一個可選的實施例,所述接收所述撥款方節點設備發送的轉帳總金額及所述至少一個轉帳序號包括:透過所述虛擬錢包位址對應的虛擬錢包接收所述轉帳總金額及所述至少一個轉帳序號。 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 appropriator node device includes: receiving the total transfer amount through a virtual wallet corresponding to the virtual wallet address The amount and the at least one transfer serial number.

根據本發明的一個可選的實施例,所述根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額包括:根據所述轉帳記錄表查詢與所述至少一個轉帳序號對應的新的轉帳序號;確定所述新的轉帳序號對應的新的轉帳金額及新的轉帳位址;判斷所述新的轉帳位址為虛擬錢包位址還係收款帳號;當所述新的轉帳位址為所述複數個收款帳號中的一個收款帳號時,直接向所述收款帳號轉入所述新的轉帳金額。 According to an optional embodiment of the present invention, the transferring the transfer amount to each receiving account of the payee node device according to the total transfer amount and the at least one transfer sequence number includes: according to the The transfer record table queries the new transfer sequence number corresponding to the at least one transfer sequence number; determines the new transfer amount and the new transfer address corresponding to the new transfer sequence number; determines that the new transfer address is a virtual wallet location The address is also the receiving account; when the new transfer address is one of the plurality of receiving accounts, the new transfer amount is directly transferred to the receiving account.

根據本發明的一個可選的實施例,所述方法還包括:當所述新的轉帳位址為虛擬錢包位址,向所述新的轉帳位址對應的虛擬錢包中轉入所述新的轉帳金額;查詢所述新的轉帳位址對應的下一個新的轉帳序號;根據所述下一個新的轉帳序號和轉入的所述新的轉帳金額執行轉帳操作直至最終向所述複數個收款帳號轉帳。 According to an optional embodiment of the present invention, the method further includes: when the new transfer address is a virtual wallet address, transferring the new transfer address to the virtual wallet corresponding to the new transfer address Transfer amount; query the next new transfer serial number corresponding to the new transfer address; execute the transfer operation according to the next new transfer serial number and the transferred new transfer amount until the final payment is made to the plurality of transfers Account transfer.

本發明的第二方面提供一種區塊鏈轉帳交易隱私保護方法,應用於收款方節點設備中,所述方法包括:發送轉帳請求至區塊鏈管理節點設備中,所述轉帳請求中攜帶有複數個收款帳號及收款總金額;接收所述區塊鏈管理節點設備回應於所述轉帳請求回饋回的至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址;發送所述收款總金額、所述至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至撥款方節點設備中,使得所述撥款方節點設備向所述區塊鏈管理節點設備中與所述至少一個虛擬錢包位址對應的虛擬錢包中發送轉帳總金額及所述至少一個轉帳序號; 接收所述區塊鏈管理節點設備根據所述轉帳總金額及所述至少一個轉帳序號向每個收款帳號中轉入的轉帳金額。 The second aspect of the present invention provides a method for protecting the privacy of a blockchain transfer transaction, which is applied to a payee node device. The method includes: sending a transfer request to the blockchain management node device, where the transfer request carries A plurality of receiving account numbers and the total amount of money received; receiving at least one transfer sequence number and virtual wallet address corresponding to the at least one transfer sequence number returned by the blockchain management node device in response to the transfer request; sending the The total amount of the payment, the at least one transfer sequence number, and the virtual wallet address corresponding to the at least one transfer sequence number are sent to the appropriator node device, so that the appropriator node device sends the appropriator node device to the blockchain management node device and all Said at least one virtual wallet address corresponding to the total amount of transfers sent in the virtual wallet and the at least one transfer serial number; Receive the transfer amount transferred by the blockchain management node device to each receiving account according to the total transfer amount and the at least one transfer sequence number.

本發明的協力廠商面提供一種區塊鏈轉帳交易隱私保護方法,應用於撥款方節點設備中,所述方法包括:接收收款方節點設備發送的收款總金額、至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址;向區塊鏈管理節點設備中與所述至少一個虛擬錢包位址對應的虛擬錢包發送轉帳總金額及所述至少一個轉帳序號,使得所述區塊鏈管理節點設備根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額。 The third party of the present invention provides a blockchain transfer transaction privacy protection method, which is applied to the appropriator node device, and the method includes: receiving the total amount of the payment sent by the payee node device, at least one transfer serial number, and the A virtual wallet address corresponding to at least one transfer sequence number; sending 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 device, so that the blockchain The management node device transfers the transfer amount to each receiving account of the payee 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 blockchain node device, the blockchain node device comprising: a memory for storing at least one instruction; a processor for implementing the zone when the at least one instruction is executed Blockchain transfer transaction privacy protection method.

本發明的第五方面提供一種電腦可讀儲存介質,所述電腦可讀儲存介質中儲存有至少一個指令,所述至少一個指令被處理器執行時實現所述的區塊鏈轉帳交易隱私保護方法,本發明透過區塊鏈管理節點設備作為中間媒介,將轉帳總金額進行拆分並透過複數個虛擬錢包完整轉帳操作,保護了轉帳交易雙方的隱私。 A fifth aspect of the present invention provides a computer-readable storage medium in which at least one instruction is stored, and when the at least one instruction is executed by a processor, the blockchain transfer transaction privacy protection method is implemented , The present invention uses the blockchain management node device as an intermediate medium to split the total transfer amount and complete transfer operations through multiple virtual wallets, thereby protecting the privacy of both parties in the transfer transaction.

90、100、110:區塊鏈轉帳交易隱私保護裝置 90, 100, 110: Blockchain transfer transaction privacy protection device

901:第一接收模組 901: The first receiving module

902:生成模組 902: Generate Module

903:第一發送模組 903: The first sending module

904:第二接收模組 904: The second receiving module

905:第一轉帳模組 905: The first transfer module

1001:第二發送模組 1001: The second sending module

1002:第三接收模組 1002: The third receiving module

1003:第四發送模組 1003: Fourth sending module

1004:第四接收模組 1004: The fourth receiving module

1101:第五接收模組 1101: Fifth receiving module

1102:第五發送模組 1102: Fifth Sending Module

120:區塊鏈節點設備 120: Blockchain node equipment

1201:記憶體 1201: memory

1202:處理器 1202: processor

1203:通信匯流排 1203: Communication bus

1204:收發器 1204: Transceiver

圖1為本發明第一實施例的區塊鏈轉帳交易隱私保護方法的流程圖。 Fig. 1 is a flowchart of a privacy protection method for a blockchain transfer transaction according to the first embodiment of the present invention.

圖2為本發明第一實施例的區塊鏈轉帳交易隱私保護方法的資料流程圖。 Fig. 2 is a data flow chart of the method for protecting the privacy of a blockchain transfer transaction according to the first embodiment of the present invention.

圖3為本發明實施例一的轉帳記錄表的示意圖。 Fig. 3 is a schematic diagram of a transfer record table according to the first embodiment of the present invention.

圖4為本發明實施例二的轉帳記錄表的示意圖。 Fig. 4 is a schematic diagram of a transfer record table according to the second embodiment of the present invention.

圖5為本發明實施例的區塊鏈管理節點設備分拆轉帳總金額的示意圖。 Fig. 5 is a schematic diagram of a block chain management node device of an embodiment of the present invention splitting and transferring the total amount of money.

圖6為本發明實施例複數個撥款方同時進行轉帳交易的示意圖。 FIG. 6 is a schematic diagram of a plurality of appropriating parties simultaneously conducting transfer transactions according to an embodiment of the present invention.

圖7為本發明第二實施例的區塊鏈轉帳交易隱私保護方法的流程圖。 Fig. 7 is a flowchart of a privacy protection method for a blockchain transfer transaction according to a second embodiment of the present invention.

圖8為本發明第三實施例的區塊鏈轉帳交易隱私保護方法的流程圖。 Fig. 8 is a flowchart of a privacy protection method for a blockchain transfer transaction according to a third embodiment of the present invention.

圖9為本發明第四實施例的區塊鏈轉帳交易隱私保護裝置的功能模組圖。 Fig. 9 is a functional module diagram of a privacy protection device for a blockchain transfer transaction according to a fourth embodiment of the present invention.

圖10為本發明第五實施例的區塊鏈轉帳交易隱私保護裝置的功能模組圖。 Fig. 10 is a functional module diagram of a privacy protection device for a blockchain transfer transaction according to a fifth embodiment of the present invention.

圖11為本發明第六實施例的區塊鏈轉帳交易隱私保護裝置的功能模組圖。 FIG. 11 is a functional module diagram of a privacy protection device for a blockchain transfer transaction according to a sixth embodiment of the present invention.

圖12為本發明第七實施例的區塊鏈節點設備的結構圖。 Fig. 12 is a structural diagram of a blockchain node device according to a seventh embodiment of the present invention.

以下描述將參考附圖以更全面地描述本發明內容。附圖中所示為本發明的示例性實施例。然而,本發明可以以許多不同的形式來實施,並且不應該被解釋為限於在此闡述的示例性實施例。提供這些示例性實施例係為了使本發明透徹和完整,並且將本發明的範圍充分地傳達給本領域技術人員。類似的附圖標記表示相同或類似的組件。 The following description will refer to the accompanying drawings to more fully describe the content of the present invention. The drawings show exemplary embodiments of the invention. However, the present invention can be implemented in many different forms and should not be construed as being limited to the exemplary embodiments set forth herein. These exemplary embodiments are provided to make the present invention thorough and complete, and to fully convey the scope of the present invention to those skilled in the art. Similar reference numerals indicate the same or similar components.

本文使用的術語僅用於描述特定示例性實施例的目的,而不意圖限制本發明。如本文所使用的,除非上下文另外清楚地指出,否則單數形式“一”和“一個”旨在也包括複數形式。此外,當在本文中使用時,“包括”和/或“包含”或“包括”和/或“包括”或“具有”和/或“具有”,整數,步驟,操作,元件和/或元件,但不排除存在或添加一個或複數個其它特徵,區域,整數,步驟,操作,元件,元件和/或其群組。 The terminology used herein is only used for the purpose of describing specific exemplary embodiments, and is not intended to limit the present invention. As used herein, unless the context clearly dictates otherwise, the singular forms "a" and "an" are intended to also include the plural forms. In addition, when used herein, "includes" and/or "includes" or "includes" and/or "includes" or "has" and/or "has", integers, steps, operations, elements and/or elements , But does not exclude the presence or addition of one or more other features, regions, integers, steps, operations, elements, elements and/or groups thereof.

除非另外定義,否則本文使用的所有術語(包括技術和科學術語)具有與本發明所屬領域的普通技術人員通常理解的相同的含義。此外,除非文中明確定義,諸如在通用字典中定義的那些術語應該被解釋為具有與其在相關技術和本發明內容中的含義一致的含義,並且將不被解釋為理想化或過於正式的含義。 Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which the present invention belongs. In addition, unless clearly defined in the text, terms such as those defined in a general dictionary should be interpreted as having meanings consistent with their meanings in the related technology and the content of the present invention, and will not be interpreted as idealized or overly formal meanings.

以下內容將結合附圖對示例性實施例進行描述。須注意的係,參考附圖中所描繪的元件不一定按比例顯示;而相同或類似的組件將被賦予相同或相似的附圖標記表示或類似的技術用語。 The following content will describe exemplary embodiments with reference to the accompanying drawings. It should be noted that the elements depicted in the reference drawings are not necessarily shown to scale; and the same or similar components will be given the same or similar reference signs or similar technical terms.

請同時參閱圖1和圖2所示,為本發明第一實施例提供的區塊鏈轉帳交易隱私保護方法的流程圖。所述區塊鏈轉帳交易隱私保護方法應用於區塊鏈管理節點設備中,具體包括以下步驟,根據不同的需求,該流程圖中步驟的順序可以改變,某些可以省略。 Please refer to FIG. 1 and FIG. 2 at the same time, which are a flowchart of a method for protecting the privacy of a blockchain transfer transaction provided by the first embodiment of the present invention. The block chain transfer transaction privacy protection method is applied to the block chain management node device, and specifically includes the following steps. According to different needs, the sequence of the steps in the flowchart can be changed, and some can be omitted.

S11,區塊鏈管理節點設備接收收款方節點設備發送的轉帳請求,所述轉帳請求中攜帶有複數個收款帳號及收款總金額。 S11: The blockchain management node device receives a transfer request sent by the payee node device, where the transfer request carries a plurality of collection accounts and the total amount of the collection.

區塊鏈系統可以包括區塊鏈管理節點設備、收款方節點設備及撥款方節點設備。其中,所述區塊鏈管理節點設備用於作為中間媒介,將撥款方節點設備發送的轉帳總金額分拆為多筆轉帳金額,並透過複數個虛擬錢包將這多筆轉帳金額轉入收款方節點設備的複數個收款帳號中。所述複數個收款帳號為收款方的可用帳號,收款總金額為撥款方需向收款方轉入的金額總和。 The blockchain system may include a blockchain management node device, a payee node device, and an appropriator node device. Wherein, the blockchain management node device is used as an intermediary to split the total transfer amount sent by the grantor node device into multiple transfer amounts, and transfer the multiple transfer amounts to the collection through multiple virtual wallets Multiple receiving accounts of the party node device. The plurality of receiving account numbers are the available account numbers of the receiving party, and the total amount of receiving money is the sum of the amount that the granting party needs to transfer to the receiving party.

收款方節點設備可以向區塊鏈管理節點設備發送轉帳請求,以請求獲得虛擬錢包位址與轉帳序號,從而使得撥款方節點設備根據所述虛擬錢包位址與轉帳序號進行轉帳。 The payee node device may send a transfer request to the blockchain management node device to request the virtual wallet address and the transfer sequence number, so that the grantor node device performs transfer according to the virtual wallet address and transfer sequence number.

S12,區塊鏈管理節點設備發送至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至所述收款方節點設備。 S12: The blockchain management node device sends at least one transfer sequence number and a virtual wallet address corresponding to the at least one transfer sequence number to the payee node device.

所述收款方節點設備接收到所述至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址後,再將所述收款總金額、所述至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址發送至撥款方節點設備中。 After the payee node device receives the at least one transfer sequence number and the virtual wallet address corresponding to the at least one transfer sequence number, it then transfers the total amount of the payment, the at least one transfer sequence number, and the at least one transfer sequence number to the at least one transfer sequence number. The virtual wallet address corresponding to the transfer serial number is sent to the grantor node device.

S13,區塊鏈管理節點設備接收所述撥款方節點設備發送的轉帳總金額及所述至少一個轉帳序號。 S13. The blockchain management node device receives the total transfer amount and the at least one transfer sequence number sent by the appropriator node device.

S14,區塊鏈管理節點設備根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額。 S14: The blockchain management node device transfers the transfer amount to each receiving account of the payee node device according to the total transfer amount and the at least one transfer sequence number.

區塊鏈管理節點設備向所述收款方節點設備的每個收款帳號中轉入轉帳金額之和為轉帳總金額。 The sum of the transfer amount transferred by the blockchain management node device to each receiving account of the payee node device is the total transfer amount.

在一個可選的實施例中,區塊鏈管理節點設備在接收到所述收款方節點設備發送的所述轉帳請求之後,所述方法還可以包括:區塊鏈管理節點設備回應於所述轉帳請求生成複數個轉帳序號及每個轉帳序號對應的虛擬錢包。 In an optional embodiment, after the blockchain management node device receives the transfer request sent by the payee node device, the method may further include: the blockchain management node device responds to the The transfer request generates a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number.

如圖2所示,收款方節點設備首先發送轉帳請求至區塊鏈管理節點設備,區塊鏈管理節點設備接收到轉帳請求後,調用智慧合約虛擬錢包產生器生成複數個虛擬錢包(例如,虛擬錢包1,虛擬錢包2,虛擬錢包3),並回傳至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至所述收款方節點設備。 As shown in Figure 2, the payee node device first sends a transfer request to the blockchain management node device. After the blockchain management node device receives the transfer request, it calls the smart contract virtual wallet generator to generate multiple virtual wallets (for example, Virtual wallet 1, virtual wallet 2, virtual wallet 3), and return at least one transfer sequence number and the virtual wallet address corresponding to the at least one transfer sequence number to the payee node device.

在一個可選的實施例中,所述區塊鏈管理節點設備回應於所述轉帳請求生成複數個轉帳序號及每個轉帳序號對應的虛擬錢包包括:回應於所述轉帳請求隨機生成複數個轉帳序號;調用智能合約虛擬錢包產生器生成複數個虛擬錢包;為每個轉帳序號分配至少一個轉帳位址;為每個轉帳位址指定轉帳金額及新的轉帳序號;將轉帳序號、轉帳位址、轉帳金額及新的轉帳序號關聯儲存在轉帳記錄表中。 In an optional embodiment, the block chain management node device generating a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number in response to the transfer request includes: randomly generating a plurality of transfers in response to the transfer request Serial number; call the smart contract virtual wallet generator to generate multiple virtual wallets; assign at least one transfer address for each transfer sequence number; specify the transfer amount and new transfer sequence number for each transfer address; transfer the transfer sequence number, transfer address, The transfer amount and the new transfer serial number are associated and stored in the transfer record table.

該可選的實施例中,所述轉帳位址可以為虛擬錢包位址,也可以為收款帳號。 In this optional embodiment, the transfer address may be a virtual wallet address or a receiving account number.

一併結合圖3所示的轉帳記錄表一,區塊鏈管理節點設備回應於所述轉帳請求隨機生成了3個轉帳序號AAA、BBB及CCC,其中,轉帳序號AAA對應2個轉帳位址(虛擬錢包1和虛擬錢包2),轉帳序號BBB對應2個轉帳位址(收款帳號1和收款帳號2),轉帳序號CCC對應1個轉帳位址(收 款帳號1)。為轉帳位址“虛擬錢包1”指定的轉帳金額為500及新的轉帳序號為BBB,為轉帳位址“虛擬錢包2”指定的轉帳金額為200及新的轉帳序號為CCC。 Combined with the transfer record table 1 shown in Figure 3, the blockchain management node device randomly generated 3 transfer serial numbers AAA, BBB, and CCC in response to the transfer request. Among them, the transfer serial number AAA corresponds to the 2 transfer addresses ( Virtual wallet 1 and virtual wallet 2), the transfer serial number BBB corresponds to 2 transfer addresses (receiving account 1 and receiving account 2), and the transfer serial number CCC corresponds to 1 transfer address (receiving Account number 1). The transfer amount specified for the transfer address "virtual wallet 1" is 500 and the new transfer serial number is BBB, and the transfer amount specified for the transfer address "virtual wallet 2" is 200 and the new transfer serial number is CCC.

在一個可選的實施例中,所述接收所述撥款方節點設備發送的轉帳總金額及所述至少一個轉帳序號包括:透過所述虛擬錢包位址對應的虛擬錢包接收所述轉帳總金額及所述至少一個轉帳序號。 In an optional embodiment, the receiving the total transfer amount and the at least one transfer sequence number sent by the grantor node device includes: receiving the total transfer amount through a virtual wallet corresponding to the virtual wallet address and The at least one transfer serial number.

在一個可選的實施例中,所述區塊鏈管理節點設備根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額包括:根據所述轉帳記錄表查詢與所述至少一個轉帳序號對應的新的轉帳序號;確定所述新的轉帳序號對應的新的轉帳金額及新的轉帳位址;判斷所述新的轉帳位址為虛擬錢包位址還係收款帳號;當所述新的轉帳位址為所述複數個收款帳號中的一個收款帳號時,直接向所述收款帳號轉入所述新的轉帳金額;當所述新的轉帳位址為虛擬錢包位址,向所述新的轉帳位址對應的虛擬錢包中轉入所述新的轉帳金額;查詢所述新的轉帳位址對應的下一個新的轉帳序號;根據所述下一個新的轉帳序號和轉入的所述新的轉帳金額執行轉帳操作直至最終向所述複數個收款帳號轉帳。 In an optional embodiment, the transfer amount of the blockchain management node device to each receiving account of the payee node device according to the total transfer amount and the at least one transfer sequence number includes : Query the new transfer sequence number corresponding to the at least one transfer sequence number according to the transfer record table; determine the new transfer amount and the new transfer address corresponding to the new transfer sequence number; determine the new transfer address The virtual wallet address is also the receiving account; when the new transfer address is one of the plurality of receiving accounts, the new transfer amount is directly transferred to the receiving account ; When the new transfer address is a virtual wallet address, transfer the new transfer amount to the virtual wallet corresponding to the new transfer address; query the next new transfer amount corresponding to the new transfer address The transfer sequence number; according to the next new transfer sequence number and the transferred new transfer amount to perform the transfer operation until the final transfer to the plurality of beneficiary accounts.

每個虛擬錢包接收到轉入的金額後向智能合約虛擬錢包產生器發送攜帶有轉帳序號的查詢請求至智能合約虛擬錢包產生器中,智能合約虛擬錢包產生器查詢轉帳記錄表,得到轉帳序號對應的下一個轉帳位址、轉帳金額及在下一個轉帳序號的查詢結果。智能合約虛擬錢包產生器將查詢結果回饋至所述虛擬錢包。接著由所述虛擬錢包執行下一個轉帳序號對應的轉帳操作。 After receiving the transferred amount, each virtual wallet sends a query request carrying the transfer serial number to the smart contract virtual wallet generator. The smart contract virtual wallet generator queries the transfer record table and obtains the corresponding transfer serial number Query result of the next transfer address, transfer amount and the next transfer serial number. The smart contract virtual wallet generator returns the query result to the virtual wallet. Then the virtual wallet executes the transfer operation corresponding to the next transfer sequence number.

本實施例中,由於收款方節點設備與撥款方節點設備在進行轉帳交易時,透過區塊鏈管理節點設備作為中間媒介將轉帳總金額分拆到複數個虛 擬錢包中,並透過複數個虛擬錢包完成向收款方節點設備的轉帳操作,因而無法直觀的確定轉帳交易雙方的帳號位址,從而保護了轉帳交易雙方的隱私安全。 In this embodiment, since the node device of the payee and the node device of the grantor are in the transfer transaction, the block chain management node device is used as an intermediary to split the total amount of transfer into a plurality of virtual funds. In the pseudo-wallet, the transfer operation to the node device of the payee is completed through multiple virtual wallets, so the account addresses of both parties to the transfer transaction cannot be determined intuitively, thereby protecting the privacy of both parties in the transfer transaction.

以下結合圖4和圖5來說明本實施例所述的區塊鏈轉帳交易隱私保護方法。 The following describes the privacy protection method of blockchain transfer transactions in this embodiment with reference to FIG. 4 and FIG. 5.

假設收款方節點設備向區塊鏈管理節點設備發送轉帳請求,所述轉帳請求中攜帶有收款帳戶1和收款帳戶2以及收款總金額1000,區塊鏈管理節點設備回應於所述轉帳請求,調用智慧合約虛擬錢包產生器生成5個虛擬錢包(虛擬錢包0,虛擬錢包1,虛擬錢包2,虛擬錢包3,虛擬錢包4),並隨機生成6個轉帳序號(T0,T1,T2,T3,T4,T5),各個轉帳序號與轉帳位址、轉帳金額及新的轉帳序號之間的關聯關係記錄在如圖4所示的轉帳記錄表二中。 Assuming that the payee node device sends a transfer request to the blockchain management node device, the transfer request carries the receiving account 1 and the receiving account 2 and the total amount of receipt 1000, and the blockchain management node device responds to the said transfer request. Transfer request, call the smart contract virtual wallet generator to generate 5 virtual wallets (virtual wallet 0, virtual wallet 1, virtual wallet 2, virtual wallet 3, virtual wallet 4), and randomly generate 6 transfer serial numbers (T0, T1, T2) , T3, T4, T5), the relationship between each transfer sequence number and the transfer address, the transfer amount and the new transfer sequence number is recorded in the transfer record table 2 shown in Figure 4.

第一步,區塊鏈管理節點設備發送轉帳序號T0及虛擬錢包0至所述收款方節點設備,收款方節點設備再將轉帳金額1000、轉帳序號T0及虛擬錢包0發送給撥款方節點設備。 In the first step, the blockchain management node device sends the transfer serial number T0 and virtual wallet 0 to the recipient node device, and the recipient node device sends the transfer amount 1000, the transfer serial number T0 and the virtual wallet 0 to the grantor node. equipment.

第二步,撥款方節點設備向轉帳位址為虛擬錢包0對應的虛擬錢包中發送轉帳金額1000及轉帳序號T0。 In the second step, the grantor node device sends the transfer amount 1000 and the transfer sequence number T0 to the virtual wallet corresponding to the virtual wallet 0 as the transfer address.

第三步,轉帳位址為虛擬錢包0對應的虛擬錢包發送攜帶有轉帳序號T0的查詢請求至智能合約虛擬錢包產生器中,智能合約虛擬錢包產生器第一次查詢轉帳記錄表二,得到第一次查詢結果為:轉帳序號T0對應新的轉帳序號T1,轉帳序號T1對應兩個轉帳位址(虛擬錢包1,600,新的轉帳序號T2;虛擬錢包2,400,新的轉帳序號T3)。智能合約虛擬錢包產生器將第一次查詢結果回饋至轉帳位址為虛擬錢包0對應的虛擬錢包。接著由轉帳位址為虛擬錢包0對應的虛擬錢包執行轉帳序號T1對應的轉帳操作:向轉帳位址為虛擬錢包1對應的虛擬錢包中轉入600,向轉帳位址為虛擬錢包2對應的虛擬錢包中轉入400。 In the third step, the virtual wallet corresponding to the virtual wallet 0 sends a query request carrying the transfer serial number T0 to the smart contract virtual wallet generator. The smart contract virtual wallet generator queries the transfer record table two for the first time, and obtains the first The result of an inquiry is: the transfer sequence number T0 corresponds to the 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) . The smart contract virtual wallet generator will return the result of the first query to the virtual wallet whose transfer address is virtual wallet 0. Then the virtual wallet whose transfer address is virtual wallet 0 performs the transfer operation corresponding to the transfer sequence number T1: transfer 600 to the virtual wallet whose transfer address is virtual wallet 1 and transfer 600 to the virtual wallet whose transfer address is virtual wallet 2 Transfer 400 into the wallet.

第四步,轉帳位址為虛擬錢包1對應的虛擬錢包發送攜帶有轉帳序號T2的查詢請求至智能合約虛擬錢包產生器中,智能合約虛擬錢包產生器第二次查詢轉帳記錄表二,得到第二次查詢結果為:轉帳序號T2對應兩個轉帳位址(虛擬錢包3,400,新的轉帳序號T4;收款帳戶1,200)。智能合約虛擬錢包產生器將第二次查詢結果回饋至轉帳位址為虛擬錢包1對應的虛擬錢包。接著由轉帳位址為虛擬錢包1對應的虛擬錢包執行轉帳序號T2對應的轉帳操作:向轉帳位址為虛擬錢包3對應的虛擬錢包中轉入400,向轉帳位址為收款帳戶1中轉入200。 In the fourth step, the virtual wallet corresponding to the virtual wallet 1 sends a query request carrying the transfer serial number T2 to the smart contract virtual wallet generator. The smart contract virtual wallet generator queries the transfer record table two for the second time, and obtains The result of the second query is: the transfer sequence number T2 corresponds to two transfer addresses (virtual wallet 3,400, new transfer sequence number T4; collection account 1,200). The smart contract virtual wallet generator returns the result of the second query to the virtual wallet corresponding to the virtual wallet 1 as the transfer address. Then the virtual wallet corresponding to the virtual wallet 1 at the transfer address executes the transfer operation corresponding to the transfer sequence number T2: transfer 400 to the virtual wallet corresponding to the virtual wallet 3 at the transfer address, and transfer to the receiving account 1 at the transfer address Enter 200.

第五步,轉帳位址為虛擬錢包2對應的虛擬錢包發送攜帶有轉帳序號T3的查詢請求至智能合約虛擬錢包產生器中,智能合約虛擬錢包產生器第三次查詢轉帳記錄表二,得到第三次查詢結果為:轉帳序號T3對應兩個轉帳位址(虛擬錢包4,300,新的轉帳序號T5;收款帳戶2,100)。智能合約虛擬錢包產生器將第三次查詢結果回饋至轉帳位址為虛擬錢包2對應的虛擬錢包。接著由轉帳位址為虛擬錢包2對應的虛擬錢包執行轉帳序號T3對應的轉帳操作:向轉帳位址為虛擬錢包4對應的虛擬錢包中轉入300,向轉帳位址為收款帳戶2中轉入100。 In the fifth step, the virtual wallet corresponding to the virtual wallet 2 sends a query request carrying the transfer serial number T3 to the smart contract virtual wallet generator. The smart contract virtual wallet generator queries the transfer record table 2 for the third time, and obtains The results of the three queries are: the transfer sequence number T3 corresponds to two transfer addresses (virtual wallet 4,300, new transfer sequence number T5; collection account 2,100). The smart contract virtual wallet generator returns the result of the third query to the virtual wallet corresponding to the virtual wallet 2 as the transfer address. Then the virtual wallet corresponding to the virtual wallet 2 at the transfer address performs the transfer operation corresponding to the transfer sequence number T3: transfer 300 to the virtual wallet corresponding to the virtual wallet 4 at the transfer address, and transfer to the receiving account 2 at the transfer address Enter 100.

第六步,轉帳位址為虛擬錢包3對應的虛擬錢包發送攜帶有轉帳序號T4的查詢請求至智能合約虛擬錢包產生器中,智能合約虛擬錢包產生器第四次查詢轉帳記錄表二,得到第四次查詢結果為:轉帳序號T4對應兩個轉帳位址(收款帳戶1,100;收款帳戶2,300)。智能合約虛擬錢包產生器將第四次查詢結果回饋至轉帳位址為虛擬錢包3對應的虛擬錢包。接著由轉帳位址為虛擬錢包3對應的虛擬錢包執行轉帳序號T4對應的轉帳操作:向轉帳地址為收款帳戶1中轉入100,向轉帳地址為收款帳戶2中轉入300。 In the sixth step, the virtual wallet corresponding to the virtual wallet 3 sends a query request carrying the transfer serial number T4 to the smart contract virtual wallet generator. The smart contract virtual wallet generator queries the transfer record table two for the fourth time, and obtains The results of the four queries are: the transfer serial number T4 corresponds to two transfer addresses (receiving account 1,100; receiving account 2,300). The smart contract virtual wallet generator returns the result of the fourth query to the virtual wallet corresponding to the virtual wallet 3 as the transfer address. Then the virtual wallet corresponding to the virtual wallet 3 executes the transfer operation corresponding to the transfer sequence number T4: transfer 100 to the receiving account 1 as the transfer address, and 300 to the receiving account 2 as the transfer address.

第七步,轉帳位址為虛擬錢包4對應的虛擬錢包發送攜帶有轉帳序號T5的查詢請求至智能合約虛擬錢包產生器中,智能合約虛擬錢包產生器第五次查詢轉帳記錄表二,得到第五次查詢結果為:轉帳序號T5對應兩個轉帳位 址(收款帳戶1,100;收款帳戶2,200)。智能合約虛擬錢包產生器將第五次查詢結果回饋至轉帳位址為虛擬錢包4對應的虛擬錢包。接著由轉帳位址為虛擬錢包4對應的虛擬錢包執行轉帳序號T5對應的轉帳操作:向轉帳地址為收款帳戶1中轉入100,向轉帳地址為收款帳戶2中轉入200。 In the seventh step, the virtual wallet corresponding to the virtual wallet 4 sends a query request carrying the transfer serial number T5 to the smart contract virtual wallet generator. The smart contract virtual wallet generator queries the transfer record table 2 for the fifth time, and obtains The result of the five queries is: the transfer serial number T5 corresponds to two transfer positions Address (receiving account 1,100; receiving account 2,200). The smart contract virtual wallet generator returns the result of the fifth query to the virtual wallet corresponding to the virtual wallet 4 as the transfer address. Then, the virtual wallet corresponding to the virtual wallet 4 at the transfer address performs the transfer operation corresponding to the transfer sequence number T5: transfer 100 to the receiving account 1 as the transfer address, and 200 to the receiving account 2 as the transfer address.

至此,收款帳戶1中共轉入金額400,收款帳戶2中共轉入金額600,合計1000。 So far, a total of 400 has been transferred to the receiving account 1, and a total of 600 has been transferred to the receiving account 2, a total of 1,000.

上述實施例為一個收款方節點設備與一個撥款方節點設備之間的轉帳交易,對於複數個收款方節點設備與一個撥款方節點設備之間的轉帳交易,一個收款方節點設備與複數個撥款方節點設備之間的轉帳交易,複數個收款方節點設備與複數個撥款方節點設備之間的轉帳交易同樣適用。 The above-mentioned embodiment is a transfer transaction between a payee node device and a grantor node device. For transfer transactions between a plurality of payee node devices and a grantor node device, one payee node device and a plurality of The transfer transactions between the appropriator node devices, and the transfer transactions between a plurality of payee node devices and a plurality of appropriator node devices are also applicable.

具體實施時,將複數個收款方節點設備中的每一個收款方節點設備與複數個撥款方節點設備中的每一個撥款方節點設備進行關聯,然後按照單個收款方節點設備與單個撥款方節點設備之間的轉帳交易執行,直至完成所有的轉帳交易。如圖6所示,為一個收款方節點設備與兩個撥款方節點設備之間的轉帳交易的示意圖。其中,虛線代表撥款方節點設備1向收款方節點設備的收款帳戶1轉帳的資料流程,實線代表撥款方節點設備2向收款方節點設備的收款帳戶2轉帳的資料流程。撥款方節點設備1先向轉帳位址為虛擬錢包2對應的虛擬錢包轉入需要轉帳的總金額,再透過轉帳位址為虛擬錢包2對應的虛擬錢包向轉帳位址為虛擬錢包1對應的虛擬錢包轉入第一金額和向轉帳位址為虛擬錢包3對應的虛擬錢包轉入第二金額,最後由轉帳位址為虛擬錢包1對應的虛擬錢包轉入第一金額至收款帳戶1中,由轉帳位址為虛擬錢包3對應的虛擬錢包轉入第二金額至收款帳戶1中。撥款方節點設備2先向轉帳位址為虛擬錢包1對應的虛擬錢包轉入需要轉帳的總金額,再透過轉帳位址為虛擬錢包1對應的虛擬錢包向轉帳位址為虛擬錢包2對應的虛擬錢包轉入第三金額和向轉帳位址為虛擬錢包3對應的虛擬錢包轉入第四金額,最後由轉帳位址為虛擬錢包2對應的虛 擬錢包轉入第三金額至收款帳戶2中,由轉帳位址為虛擬錢包3對應的虛擬錢包轉入第四金額至收款帳戶2中。 In the specific implementation, each of the multiple recipient node devices is associated with each of the multiple grantor node devices, and then the single recipient node device is associated with a single grant The transfer transactions between the party node devices are executed until all transfer transactions are completed. As shown in Figure 6, it is a schematic diagram of a transfer transaction between a payee node device and two approve node devices. Among them, the dotted line represents the data flow of the grantor node device 1 to the beneficiary account 1 of the beneficiary node device, and the solid line represents the data flow of the grantor node device 2 to the beneficiary account 2 of the beneficiary node device. The grantor node device 1 first transfers the total amount to be transferred to the virtual wallet corresponding to the virtual wallet 2 at the transfer address, and then transfers the virtual wallet corresponding to the virtual wallet 2 to the virtual wallet corresponding to the virtual wallet 1 through the transfer address to the virtual wallet corresponding to the virtual wallet 1. The wallet transfers the first amount and transfers the second amount to the virtual wallet corresponding to the virtual wallet 3 at the transfer address, and finally transfers the first amount to the receiving account 1 from the virtual wallet corresponding to the virtual wallet 1 at the transfer address. The virtual wallet corresponding to the virtual wallet 3 transfers the second amount to the receiving account 1 from the transfer address. The grantor node device 2 first transfers the total amount to be transferred to the virtual wallet corresponding to the virtual wallet 1 at the transfer address, and then transfers the virtual wallet corresponding to the virtual wallet 1 to the virtual wallet corresponding to the virtual wallet 2 through the transfer address to the virtual wallet corresponding to the virtual wallet 2. The third amount is transferred from the wallet and the fourth amount is transferred to the virtual wallet corresponding to the virtual wallet 3 at the transfer address, and finally the virtual wallet corresponding to the virtual wallet 2 is transferred from the transfer address. The intended wallet transfers the third amount to the receiving account 2, and the virtual wallet corresponding to the virtual wallet 3 at the transfer address transfers the fourth amount to the receiving account 2.

參閱圖7所示,為本發明第三實施例提供的區塊鏈轉帳交易隱私保護方法的流程圖。所述區塊鏈轉帳交易隱私保護方法應用於收款方節點設備中,具體包括以下步驟,根據不同的需求,該流程圖中步驟的順序可以改變,某些可以省略。 Refer to FIG. 7, which is a flowchart of a privacy protection method for a blockchain transfer transaction provided by the third embodiment of the present invention. The block chain transfer transaction privacy protection method is applied to the payee node device, and specifically includes the following steps. According to different needs, the sequence of the steps in the flowchart can be changed, and some can be omitted.

S71,收款方節點設備發送轉帳請求至區塊鏈管理節點設備中,所述轉帳請求中攜帶有複數個收款帳號及收款總金額。 S71: The payee node device sends a transfer request to the blockchain management node device, and the transfer request carries a plurality of receiving account numbers and the total amount of the payment.

S72,收款方節點設備接收所述區塊鏈管理節點設備回應於所述轉帳請求回饋回的至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址。 S72: The payee node device receives the at least one transfer sequence number returned by the blockchain management node device in response to the transfer request and the virtual wallet address corresponding to the at least one transfer sequence number.

S73,收款方節點設備發送所述收款總金額、所述至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至撥款方節點設備中。 S73: The payee node device sends the total amount of the payment, the at least one transfer sequence number, and the virtual wallet address corresponding to the at least one transfer sequence number to the grantee node device.

撥款方節點設備接收到所述收款總金額、所述至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址,則向所述區塊鏈管理節點設備轉帳。 Upon receiving the total amount of the payment, the at least one transfer sequence number, and the virtual wallet address corresponding to the at least one transfer sequence number, the grantor node device transfers the funds to the blockchain management node device.

具體實施中,撥款方節點設備向所述區塊鏈管理節點設備中與所述至少一個虛擬錢包位址對應的虛擬錢包中發送轉帳總金額,所述轉帳總金額與所述收款總金額相等。 In specific implementation, the grantor node device sends the total amount of transfer to the virtual wallet corresponding to the at least one virtual wallet address in the blockchain management node device, and the total amount of transfer is equal to the total amount of receipts .

撥款方節點設備向所述區塊鏈管理節點設備轉帳時除了發送轉帳總金額,還發送所述至少一個轉帳序號,便於區塊鏈管理節點設備根據所述至少一個轉帳序號確定新的轉帳序號,從而執行新的轉帳序號對應的轉帳操作。 When transferring funds to the blockchain management node device, in addition to sending the total amount of the transfer, the grantor node device also sends the at least one transfer sequence number, so that the blockchain management node device can determine a new transfer sequence number based on the at least one transfer sequence number, Thereby, the transfer operation corresponding to the new transfer sequence number is executed.

S74,收款方節點設備接收所述區塊鏈管理節點設備根據所述轉帳總金額及所述至少一個轉帳序號向每個收款帳號中轉入的轉帳金額。 S74: The payee node device receives the transfer amount transferred by the blockchain management node device to each payee account according to the total transfer amount and the at least one transfer sequence number.

本實施例中,由於收款方節點設備與撥款方節點設備在進行轉帳交易時,透過區塊鏈管理節點設備作為中間媒介將轉帳總金額分拆到複數個虛 擬錢包中,並透過複數個虛擬錢包完成向收款方節點設備的轉帳操作,因而無法直觀的確定轉帳交易雙方的帳號位址,從而保護了轉帳交易雙方的隱私安全。 In this embodiment, since the node device of the payee and the node device of the grantor are in the transfer transaction, the block chain management node device is used as an intermediary to split the total amount of transfer into a plurality of virtual funds. In the pseudo-wallet, the transfer operation to the node device of the payee is completed through multiple virtual wallets, so the account addresses of both parties to the transfer transaction cannot be determined intuitively, thereby protecting the privacy of both parties in the transfer transaction.

參閱圖8所示,為本發明第四實施例提供的區塊鏈轉帳交易隱私保護方法的流程圖。所述區塊鏈轉帳交易隱私保護方法應用於撥款方節點設備中,具體包括以下步驟,根據不同的需求,該流程圖中步驟的順序可以改變,某些可以省略。 Refer to FIG. 8, which is a flowchart of a method for protecting the privacy of a blockchain transfer transaction provided by the fourth embodiment of the present invention. The block chain transfer transaction privacy protection method is applied to the appropriator node device, and specifically includes the following steps. According to different needs, the sequence of the steps in the flowchart can be changed, and some can be omitted.

S81,撥款方節點設備接收收款方節點設備發送的收款總金額、至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址。 S81: The grantor node device receives the total amount of money received, the at least one transfer sequence number, and the virtual wallet address corresponding to the at least one transfer sequence number sent by the payee node device.

S82,撥款方節點設備向區塊鏈管理節點設備中與所述至少一個虛擬錢包位址對應的虛擬錢包發送轉帳總金額及所述至少一個轉帳序號。 S82. The grantor node device 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 device.

所述區塊鏈管理節點設備接收到撥款方節點設備發送的轉帳總金額及至少一個轉帳序號後,根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額。每個收款帳號中轉入的轉帳金額總和為轉帳總金額。 After the blockchain management node device receives the total transfer amount and at least one transfer sequence number sent by the appropriator node device, it sends each of the payee node devices according to the total transfer amount and the at least one transfer sequence number. Transfer amount in the receiving account. The sum of the transfer amount transferred in each receiving account is the total transfer amount.

所述區塊鏈管理節點設備向所述收款方節點設備的每個收款帳號中轉入轉帳金額的具體過程參見實施例一及其相關描述。 For the specific process of the block chain management node device transferring the transfer amount to each receiving account of the payee node device, please refer to the first embodiment and its related description.

圖9係本發明實施例四提供的區塊鏈轉帳交易隱私保護裝置的功能模組圖。 FIG. 9 is a functional module diagram of a privacy protection device for a blockchain transfer transaction provided by the fourth embodiment of the present invention.

區塊鏈轉帳交易隱私保護裝置90可以包括複數個由程式碼段所組成的功能模組。所述區塊鏈轉帳交易隱私保護裝置90中的各個程式段的程式碼可以儲存於區塊鏈管理節點設備的記憶體中,並由區塊鏈管理節點設備的至少一個處理器所執行,以執行區塊鏈轉帳交易隱私保護的功能。 The block chain transfer transaction privacy protection device 90 may include a plurality of functional modules composed of code segments. The code of each program segment in the block chain transfer transaction privacy protection device 90 can be stored in the memory of the block chain management node device and executed by at least one processor of the block chain management node device to Perform the function of protecting the privacy of blockchain transfer transactions.

本實施例中,所述區塊鏈轉帳交易隱私保護裝置90根據其所執行的功能,可以被劃分為複數個功能模組。所述功能模組可以包括:第一接收模組901、生成模組902、第一發送模組903、第二接收模組904及第一轉帳模組 905。本發明所稱的模組係指一種能夠被至少一個處理器所執行並且能夠完成固定功能的一系列電腦程式段,其儲存在記憶體中。在本實施例中,關於各模組的功能將在後續的實施例中詳述。 In this embodiment, the block chain transfer transaction privacy protection device 90 can be divided into a plurality of functional modules according to the functions it performs. The functional modules may include: a first receiving module 901, a generating module 902, a first sending module 903, a second receiving module 904, and a first transfer module 905. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, and are stored in memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

所述第一接收模組901,用於接收收款方節點設備發送的轉帳請求,所述轉帳請求中攜帶有複數個收款帳號及收款總金額; 所述生成模組902,用於回應於所述轉帳請求生成複數個轉帳序號及每個轉帳序號對應的虛擬錢包。 The first receiving module 901 is configured to receive a transfer request sent by a payee node device, and the transfer request carries a plurality of collection accounts and the total amount of the collection; The generating module 902 is used to generate a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number in response to the transfer request.

所述第一發送模組903,用於發送至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至所述收款方節點設備。 The first sending module 903 is configured to send at least one transfer sequence number and a virtual wallet address corresponding to the at least one transfer sequence number to the payee node device.

所述第二接收模組904,用於接收所述撥款方節點設備發送的轉帳總金額及所述至少一個轉帳序號; 所述第一轉帳模組905,用於根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額。 The second receiving module 904 is configured to receive the total transfer amount and the at least one transfer sequence number sent by the appropriator node device; The first transfer module 905 is configured to transfer the transfer amount to each receiving account of the payee node device according to the total transfer amount and the at least one transfer sequence number.

關於所述第一接收模組901、生成模組902、第一發送模組903、第二接收模組904及第一轉帳模組905的具體功能請參閱圖1及其相關描述,本發明不再贅述。 For the 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 transfer module 905, please refer to FIG. 1 and related descriptions. The present invention does not Repeat it again.

圖10係本發明實施例五提供的區塊鏈轉帳交易隱私保護裝置的功能模組圖。 FIG. 10 is a functional module diagram of a privacy protection device for a blockchain transfer transaction provided by the fifth embodiment of the present invention.

區塊鏈轉帳交易隱私保護裝置100可以包括複數個由程式碼段所組成的功能模組。所述區塊鏈轉帳交易隱私保護裝置100中的各個程式段的程式碼可以儲存於收款方節點設備的記憶體中,並由收款方節點設備的至少一個處理器所執行,以執行區塊鏈轉帳交易隱私保護的功能。 The block chain transfer transaction privacy protection device 100 may include a plurality of functional modules composed of code segments. The code of each program segment in the device 100 for protecting the privacy of the blockchain transfer transaction can be stored in the memory of the payee node device and executed by at least one processor of the payee node device to execute the region. Blockchain transfer transaction privacy protection function.

本實施例中,所述區塊鏈轉帳交易隱私保護裝置100根據其所執行的功能,可以被劃分為複數個功能模組。所述功能模組可以包括:第二發送模組1001、第三接收模組1002、第四發送模組1003及第四接收模組1004。本發明所稱的模組係指一種能夠被至少一個處理器所執行並且能夠完成固定功能 的一系列電腦程式段,其儲存在記憶體中。在本實施例中,關於各模組的功能將在後續的實施例中詳述。 In this embodiment, the block chain transfer transaction privacy protection device 100 can be divided into a plurality of functional modules according to the functions it performs. The functional modules 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 in the present invention refers to a type that can be executed by at least one processor and can complete fixed functions A series of computer program segments, which are stored in memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

所述第二發送模組1001,用於發送轉帳請求至區塊鏈管理節點設備中,所述轉帳請求中攜帶有複數個收款帳號及收款總金額。 The second sending module 1001 is configured to send a transfer request to the blockchain management node device, and the transfer request carries a plurality of collection accounts and the total amount of the collection.

所述第三接收模組1002,用於接收所述區塊鏈管理節點設備回應於所述轉帳請求回饋回的至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址。 The third receiving module 1002 is configured to receive at least one transfer sequence number and a virtual wallet address corresponding to the at least one transfer sequence number returned by the blockchain management node device in response to the transfer request.

所述第四發送模組1003,用於發送所述收款總金額、所述至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至撥款方節點設備中,使得所述撥款方節點設備向所述區塊鏈管理節點設備中與所述至少一個虛擬錢包位址對應的虛擬錢包中發送轉帳總金額及所述至少一個轉帳序號; 所述第四接收模組1004,用於接收所述區塊鏈管理節點設備根據所述轉帳總金額及所述至少一個轉帳序號向每個收款帳號中轉入的轉帳金額。 The fourth sending module 1003 is configured to send the total amount of the payment, the at least one transfer sequence number, and the virtual wallet address corresponding to the at least one transfer sequence number to the appropriator node device, so that the appropriator The node device 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 device; The fourth receiving module 1004 is configured to receive the transfer amount transferred by the blockchain management node device to each receiving account according to the total transfer amount and the at least one transfer serial number.

關於所述第二發送模組1001、第三接收模組1002、第四發送模組1003及第四接收模組1004的具體功能參見圖7及其相關描述,本發明不再贅述。 For the 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 related descriptions, which will not be repeated in the present invention.

圖11係本發明實施例六提供的區塊鏈轉帳交易隱私保護裝置的功能模組圖。 FIG. 11 is a functional module diagram of a privacy protection device for a blockchain transfer transaction provided by the sixth embodiment of the present invention.

區塊鏈轉帳交易隱私保護裝置110可以包括複數個由程式碼段所組成的功能模組。所述區塊鏈轉帳交易隱私保護裝置110中的各個程式段的程式碼可以儲存於撥款方節點設備的記憶體中,並由撥款方節點設備的至少一個處理器所執行,以執行區塊鏈轉帳交易隱私保護的功能。 The block chain transfer transaction privacy protection device 110 may include a plurality of functional modules composed of code segments. The code of each program segment in the device 110 for protecting the privacy of the blockchain transfer transaction can be stored in the memory of the grantor node device and executed by at least one processor of the grantor node device to execute the blockchain The function of protecting the privacy of transfer transactions.

本實施例中,所述區塊鏈轉帳交易隱私保護裝置110根據其所執行的功能,可以被劃分為複數個功能模組。所述功能模組可以包括:第五接收模組1101及第五發送模組1102。本發明所稱的模組係指一種能夠被至少一個處 理器所執行並且能夠完成固定功能的一系列電腦程式段,其儲存在記憶體中。在本實施例中,關於各模組的功能將在後續的實施例中詳述。 In this embodiment, the block chain transfer transaction privacy protection device 110 can be divided into a plurality of functional modules according to the functions it performs. The functional modules may include: a fifth receiving module 1101 and a fifth sending module 1102. The module referred to in the present invention refers to a type that can be used in at least one location A series of computer program segments executed by the processor and capable of completing fixed functions, which are stored in the memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

所述第五接收模組1101,用於接收收款方節點設備發送的收款總金額、至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址。 The fifth receiving module 1101 is configured to receive the total amount of money received, at least one transfer sequence number, and the virtual wallet address corresponding to the at least one transfer sequence number sent by the payee node device.

所述第五發送模組1102,用於向區塊鏈管理節點設備中與所述至少一個虛擬錢包位址對應的虛擬錢包發送轉帳總金額及所述至少一個轉帳序號,使得所述區塊鏈管理節點設備根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額。 The fifth sending module 1102 is configured to send 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 device, so that the blockchain The management node device transfers the transfer amount to each receiving account of the payee node device according to the total transfer amount and the at least one transfer sequence number.

關於第五接收模組1101及第五發送模組1102的具體功能參見圖8及其相關描述,本發明不再贅述。 For specific functions of the fifth receiving module 1101 and the fifth sending module 1102, refer to FIG. 8 and related descriptions, which will not be repeated in the present invention.

圖12為本發明實施例七提供的區塊鏈節點設備的結構示意圖。 FIG. 12 is a schematic structural diagram of a blockchain node device provided by Embodiment 7 of the present invention.

區塊鏈節點設備120可以包括記憶體1201、至少一個處理器1202、至少一條通信匯流排1203及收發器1204。 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.

本領域技術人員應該瞭解,圖12示出的區塊鏈節點設備120的結構並不構成本發明實施例的限定,既可以係匯流排型結構,也可以係星形結構,所述區塊鏈節點設備120還可以包括比圖示更多或更少的其他硬體或者軟體,或者不同的部件佈置。 Those skilled in the art should understand that the structure of the blockchain node device 120 shown in FIG. 12 does not constitute a limitation of the embodiment of the present invention. It can be a bus-bar structure or a star-shaped structure. The node device 120 may also include more or less other hardware or software than shown in the figure, or a different arrangement of components.

所述記憶體1201包括唯讀記憶體(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,EEPROM)、唯讀光碟(Compact Disc Read-Only Memory,CD-ROM)或其他光碟記憶體、磁碟記憶體、磁帶記憶體、或者能夠用於攜帶或儲存資料的電腦可讀的任何其他介質。 The memory 1201 includes Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), and Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory). -Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM) , Compact Disc Read-Only Memory (CD-ROM) or other optical disc memory, magnetic disk memory, tape memory, or any other computer-readable medium that can be used to carry or store data.

在一些實施例中,所述至少一個處理器1202可以包括一個或者複數個中央處理器(Central Processing unit,CPU)、微處理器、數文書處理晶片、圖形處理器及各種控制晶片的組合等。 In some embodiments, the at least one processor 1202 may include one or more central processing units (CPUs), microprocessors, digital word processing chips, graphics processors, and combinations of various control chips.

在一些實施例中,所述至少一條通信匯流排1203被設置為實現所述記憶體1201以及所述至少一個處理器1202等之間的連接通信。 In some embodiments, the at least one communication bus 1203 is configured to implement connection and communication between the memory 1201 and the at least one processor 1202 and the like.

所述記憶體1201中儲存有程式碼,所述程式碼為電腦可讀指令。所述至少一個處理器1202可調用所述記憶體1201中儲存的程式碼以執行相關的功能。例如,圖9/圖10/圖11中所述的各個模組係儲存在所述記憶體1201中的程式碼,並由所述至少一個處理器1202所執行,從而實現所述各個模組的功能以達到區塊鏈轉帳交易隱私保護的目的。 Program codes are stored in the memory 1201, and the program codes are computer-readable instructions. The at least one processor 1202 can call the program code stored in the memory 1201 to perform related functions. For example, each module described in FIG. 9/FIG. 10/FIG. 11 is a program code stored in the memory 1201 and executed by the at least one processor 1202, so as to realize the Function to achieve the purpose of privacy protection of blockchain transfer transactions.

在本發明所提供的幾個實施例中,應該理解到,所揭露的裝置和方法,可以透過其它的方式實現。例如,以上所描述的裝置實施例僅僅係示意性的,例如,所述模組的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式。 In the several embodiments provided by the present invention, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

所述作為分離部件說明的模組可以係或者也可以不係物理上分開的,作為模組顯示的部件可以係或者也可以不係物理單元,即可以位於一個地方,或者也可以分佈到複數個網路單元上。可以根據實際的需要選擇其中的部分或者全部模組來實現本實施例方案的目的。 The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple On the network unit. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

另外,在本發明各個實施例中的各功能模組可以集成在一個處理單元中,也可以係各個單元單獨物理存在,也可以兩個或兩個以上單元集成在一個單元中。上述集成的單元既可以採用硬體的形式實現,也可以採用硬體加軟體功能模組的形式實現。 In addition, the functional modules in the various embodiments of the present invention 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 realized either in the form of hardware, or in the form of hardware plus software functional modules.

對於本領域技術人員而言,顯然本發明不限於上述示範性實施例的細節,而且在不背離本發明的精神或基本特徵的情況下,能夠以其他的具體形式實現本發明。因此,無論從哪一點來看,均應將實施例看作係示範性的,而且係非限制性的,本發明的範圍由所附請求項而不係上述說明限定,因此旨 在將落在請求項的等同要件的含義和範圍內的所有變化涵括在本發明內。不應將請求項中的任何附圖標記視為限制所涉及的請求項。此外,顯然“包括”一詞不排除其他單元或,單數不排除複數。裝置請求項中陳述的複數個單元或裝置也可以由一個單元或裝置透過軟體或者硬體來實現。第一,第二等詞語用來表示名稱,而並不表示任何特定的順序。 For those skilled in the art, it is obvious that the present invention is not limited to the details of the foregoing exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims and not by the above description, and therefore it is intended to All changes that fall within the meaning and scope of equivalent elements of the claim are included in the present invention. Any reference signs in the request shall not be regarded as the request item involved in the restriction. In addition, it is obvious that the word "including" does not exclude other elements or, and the singular does not exclude the plural. The plural units or devices stated in the device request item can also be realized by one unit or device through software or hardware. Words such as first and second are used to denote names, but do not denote any specific order.

最後應說明的係,以上實施例僅用以說明本發明的技術方案而非限制,儘管參照較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或等同替換,而不脫離本發明技術方案的精神和範圍。 The last thing to be explained is that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements are made without departing from the spirit and scope of the technical solution of the present invention.

Claims (9)

一種區塊鏈轉帳交易隱私保護方法,應用於區塊鏈管理節點設備中,其中,所述方法包括:接收收款方節點設備發送的轉帳請求,所述轉帳請求中攜帶有複數個收款帳號及收款總金額;回應於所述轉帳請求生成複數個轉帳序號及每個轉帳序號對應的虛擬錢包;發送至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至所述收款方節點設備,使得所述收款方節點設備發送所述收款總金額、所述至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至撥款方節點設備中;接收所述撥款方節點設備發送的轉帳總金額及所述至少一個轉帳序號;根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額。 A privacy protection method for blockchain transfer transactions is applied to a blockchain management node device, wherein the method includes: receiving a transfer request sent by the payee node device, and the transfer request carries a plurality of beneficiary account numbers And the total amount of money received; in response to the transfer request, generate a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number; send at least one transfer sequence number and the virtual wallet address corresponding to the at least one transfer sequence number to the payment Party node device, so that the recipient node device sends the total amount of the collection, the at least one transfer sequence number, and the virtual wallet address corresponding to the at least one transfer sequence number to the grantor node device; receiving the appropriation The total transfer amount and the at least one transfer sequence number sent by the party node device; the transfer amount is transferred to each receiving account of the payee node device according to the total transfer amount and the at least one transfer sequence number. 如請求項1所述的區塊鏈轉帳交易隱私保護方法,其中,所述回應於所述轉帳請求生成複數個轉帳序號及每個轉帳序號對應的虛擬錢包包括:回應於所述轉帳請求隨機生成複數個轉帳序號;調用智能合約虛擬錢包產生器生成複數個虛擬錢包;為每個轉帳序號分配至少一個轉帳位址;為每個轉帳位址指定轉帳金額及新的轉帳序號;將轉帳序號、轉帳位址、轉帳金額及新的轉帳序號關聯儲存在轉帳記錄表中。 The method for protecting the privacy of a blockchain transfer transaction according to claim 1, wherein the generating a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number in response to the transfer request includes: randomly generating in response to the transfer request Multiple transfer sequence numbers; call the smart contract virtual wallet generator to generate multiple virtual wallets; assign at least one transfer address for each transfer sequence number; specify the transfer amount and new transfer sequence number for each transfer address; transfer the transfer sequence number and transfer The address, the transfer amount and the new transfer serial number are associated and stored in the transfer record table. 如請求項2所述的區塊鏈轉帳交易隱私保護方法,其中,所述接收所述撥款方節點設備發送的轉帳總金額及所述至少一個轉帳序號包括:透過所述虛擬錢包位址對應的虛擬錢包接收所述轉帳總金額及所述至少一個轉帳序號。 The method for protecting the privacy of a blockchain transfer transaction according to claim 2, wherein the receiving the total transfer amount and the at least one transfer sequence number sent by the appropriator node device includes: through the virtual wallet address corresponding to The virtual wallet receives the total transfer amount and the at least one transfer sequence number. 如請求項3所述的區塊鏈轉帳交易隱私保護方法,其中,所述 根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額包括:根據所述轉帳記錄表查詢與所述至少一個轉帳序號對應的新的轉帳序號;確定所述新的轉帳序號對應的新的轉帳金額及新的轉帳位址;判斷所述新的轉帳位址為虛擬錢包位址還係收款帳號;當所述新的轉帳位址為所述複數個收款帳號中的一個收款帳號時,直接向所述收款帳號轉入所述新的轉帳金額。 The method for protecting the privacy of a blockchain transfer transaction according to claim 3, wherein the Transferring a transfer amount to each receiving account of the payee node device according to the total transfer amount and the at least one transfer sequence number includes: querying the transfer record table corresponding to the at least one transfer sequence number New transfer sequence number; determine the new transfer amount and new transfer address corresponding to the new transfer sequence number; determine that the new transfer address is a virtual wallet address and it is the receiving account number; when the new transfer address is When the address is one of the plurality of receiving accounts, the new transfer amount is directly transferred to the receiving account. 如請求項4所述的區塊鏈轉帳交易隱私保護方法,其中,所述方法還包括:當所述新的轉帳位址為虛擬錢包位址,向所述新的轉帳位址對應的虛擬錢包中轉入所述新的轉帳金額;查詢所述新的轉帳位址對應的下一個新的轉帳序號;根據所述下一個新的轉帳序號和轉入的所述新的轉帳金額執行轉帳操作直至最終向所述複數個收款帳號轉帳。 The method for protecting the privacy of a blockchain transfer transaction according to claim 4, wherein the method further includes: when the new transfer address is a virtual wallet address, sending to the virtual wallet corresponding to the new transfer address Transfer in the new transfer amount; query the next new transfer sequence number corresponding to the new transfer address; execute the transfer operation according to the next new transfer sequence number and the transferred new transfer amount until Finally, transfer funds to the plurality of receiving accounts. 一種區塊鏈轉帳交易隱私保護方法,應用於收款方節點設備中,其中,所述方法包括:發送轉帳請求至區塊鏈管理節點設備中,所述轉帳請求中攜帶有複數個收款帳號及收款總金額,所述區塊鏈管理節點設備回應於所述轉帳請求生成複數個轉帳序號及每個轉帳序號對應的虛擬錢包;接收所述區塊鏈管理節點設備回應於所述轉帳請求回饋回的至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址;發送所述收款總金額、所述至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址至撥款方節點設備中,使得所述撥款方節點設備向所述區塊鏈管理節點設備中與所述至少一個虛擬錢包位址對應的虛擬錢包中發送轉帳總金額及所述至少一個轉帳序號;接收所述區塊鏈管理節點設備根據所述轉帳總金額及所述至少一個轉帳序 號向每個收款帳號中轉入的轉帳金額。 A method for protecting the privacy of a blockchain transfer transaction, which is applied to a recipient node device, wherein the method includes: sending a transfer request to the blockchain management node device, and the transfer request carries a plurality of beneficiary account numbers And the total amount of money received, the blockchain management node device generates a plurality of transfer sequence numbers and a virtual wallet corresponding to each transfer sequence number in response to the transfer request; receiving the blockchain management node device in response to the transfer request Return at least one transfer serial number and the virtual wallet address corresponding to the at least one transfer serial number; send the total amount of the collection, the at least one transfer serial number, and the virtual wallet address corresponding to the at least one transfer serial number to the appropriation In the party node device, the grantor node device is caused to send the total transfer amount and the at least one transfer serial number to the virtual wallet corresponding to the at least one virtual wallet address in the blockchain management node device; The blockchain management node device is based on the total amount of transfer and the at least one transfer sequence The number of transfer amount transferred to each receiving account. 一種區塊鏈轉帳交易隱私保護方法,應用於撥款方節點設備中,其中,所述方法包括:接收收款方節點設備發送的收款總金額、至少一個轉帳序號及所述至少一個轉帳序號對應的虛擬錢包位址,其中,所述收款方節點設備先向區塊鏈管理節點設備發送轉帳請求,使得所述區塊鏈管理節點設備回應於所述轉帳請求生成複數個轉帳序號及每個轉帳序號對應的虛擬錢包;向所述區塊鏈管理節點設備中與所述至少一個虛擬錢包位址對應的虛擬錢包發送轉帳總金額及所述至少一個轉帳序號,使得所述區塊鏈管理節點設備根據所述轉帳總金額及所述至少一個轉帳序號向所述收款方節點設備的每個收款帳號中轉入轉帳金額。 A method for protecting the privacy of a blockchain transfer transaction, which is applied to an appropriator node device, wherein the method includes: receiving the total amount of the payment sent by the payee node device, at least one transfer sequence number, and the corresponding at least one transfer sequence number The virtual wallet address of, wherein the payee node device first sends a transfer request to the blockchain management node device, so that the blockchain management node device generates a plurality of transfer sequence numbers and each of them in response to the transfer request The virtual wallet corresponding to the transfer sequence number; sending 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 device, so that the blockchain management node The device transfers the transfer amount to each receiving account of the payee node device according to the total transfer amount and the at least one transfer sequence number. 一種區塊鏈節點設備,其中,所述區塊鏈節點設備包括:記憶體,用於儲存至少一個指令;處理器,用於執行所述至少一個指令時實現如請求項1至5中任意一項所述的區塊鏈轉帳交易隱私保護方法,或者實現如請求項6所述的區塊鏈轉帳交易隱私保護方法,或者實現如請求項7所述的區塊鏈轉帳交易隱私保護方法。 A block chain node device, wherein the block chain node device includes: a memory for storing at least one instruction; a processor for executing the at least one instruction to implement any one of request items 1 to 5 The method for protecting the privacy of a blockchain transfer transaction as described in item 6, or implements the method for protecting the privacy of a blockchain transfer transaction as described in claim 6, or the method for protecting the privacy of a blockchain transfer transaction as described in claim 7. 一種電腦可讀儲存介質,其中,所述電腦可讀儲存介質中儲存有至少一個指令所述至少一個指令被處理器執行時實現如請求項1至5中任意一項所述的區塊鏈轉帳交易隱私保護方法,或者實現如請求項6所述的區塊鏈轉帳交易隱私保護方法,或者實現如請求項7所述的區塊鏈轉帳交易隱私保護方法。 A computer-readable storage medium, wherein at least one instruction is stored in the computer-readable storage medium, when the at least one instruction is executed by a processor, the blockchain transfer according to any one of request items 1 to 5 is realized The transaction privacy protection method either implements the blockchain transfer transaction privacy protection method as described in claim 6, or implements the blockchain transfer transaction privacy protection method as described in claim 7.
TW109118200A 2020-05-29 2020-05-29 Privacy protection method, blockchain node device and storage medium for blockchain transfer transactions TWI748490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109118200A TWI748490B (en) 2020-05-29 2020-05-29 Privacy protection method, blockchain node device and storage medium for blockchain transfer transactions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109118200A TWI748490B (en) 2020-05-29 2020-05-29 Privacy protection method, blockchain node device and storage medium for blockchain transfer transactions

Publications (2)

Publication Number Publication Date
TWI748490B true TWI748490B (en) 2021-12-01
TW202145096A TW202145096A (en) 2021-12-01

Family

ID=80680814

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109118200A TWI748490B (en) 2020-05-29 2020-05-29 Privacy protection method, blockchain node device and storage medium for blockchain transfer transactions

Country Status (1)

Country Link
TW (1) TWI748490B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190238311A1 (en) * 2018-01-26 2019-08-01 Alibaba Group Holding Limited Blockchain system and data processing method for blockchain system
CN110969529A (en) * 2019-11-08 2020-04-07 海南新软软件有限公司 Communication method, device and system for digital asset transaction
CN111028081A (en) * 2019-12-11 2020-04-17 深圳市亦区科技有限公司 Asset transfer method, device, electronic equipment and storage medium
TW202018567A (en) * 2018-10-31 2020-05-16 香港商阿里巴巴集團服務有限公司 Privacy transaction method and apparatus based on blockchain, and application method and apparatus therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190238311A1 (en) * 2018-01-26 2019-08-01 Alibaba Group Holding Limited Blockchain system and data processing method for blockchain system
TW202018567A (en) * 2018-10-31 2020-05-16 香港商阿里巴巴集團服務有限公司 Privacy transaction method and apparatus based on blockchain, and application method and apparatus therefor
CN110969529A (en) * 2019-11-08 2020-04-07 海南新软软件有限公司 Communication method, device and system for digital asset transaction
CN111028081A (en) * 2019-12-11 2020-04-17 深圳市亦区科技有限公司 Asset transfer method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
TW202145096A (en) 2021-12-01

Similar Documents

Publication Publication Date Title
US11388009B2 (en) Token management system and token management method
US10698885B2 (en) Method and device for writing service data in block chain system
CN111344706B (en) Method and system for managing transactions on blockchain
US11544794B2 (en) Claim settlement method and apparatus employing blockchain technology
EP3968200B1 (en) Methods and devices for transferring the result of processing on data assets based on blockchain
EP3393081B1 (en) Selective data security within data storage layers
US20200082388A1 (en) Authenticating server and method for transactions on blockchain
US11972414B2 (en) Data recording methods and apparatuses, electronic devices, and storage media
WO2021220062A1 (en) Blockchain transaction
EP3701482A1 (en) Federated personally identifiable information (pii) service
TWI748490B (en) Privacy protection method, blockchain node device and storage medium for blockchain transfer transactions
TW202101351A (en) Method, transaction management device and computer-readable media for facilitating concurrent transactions
US11983713B2 (en) Blockchain transaction privacy protection method and blockchain node device
KR102348739B1 (en) Apparatus and method for storaging electronic receipt based on block chain
KR102227442B1 (en) Method for the settlement of personal information
TWM617030U (en) Residence permit number conversion and update system
WO2021169553A1 (en) Method and apparatus for processing order
EP3702931A1 (en) Compound transaction processing in a distributed sequential transactional database
US20190333147A1 (en) Peer-to-peer database protocol for distributed ledger technology (dlt)-based tokens
TWM650097U (en) Long-term care trust management system
CN117974141A (en) Block chain wallet protection method and device, storage medium and electronic equipment