Cryptocurrency first-issuing node association mining method based on communication tree

By constructing a communication tree and combining it with blockchain data, it solves the supervision problem in an anonymized environment of cryptocurrency transactions, achieves high-confidence correlation mining of cryptocurrency transaction initiators, and improves supervision efficiency.

CN118552195APending Publication Date: 2024-08-27BEIJING INST OF TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410434142.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-11
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the anonymized environment of cryptocurrency transactions, existing technologies are difficult to effectively supervise transaction initiators, resulting in low supervision efficiency.

Method used

By combining the data information of the blockchain network and the cryptocurrency trading system, we build and merge the communication tree, analyze the transaction flow, mine the relationship between the transaction initiator and the starting node, and use the external currency system to assist in confirmation and screening to achieve node type judgment and Confidence assessment.

Benefits of technology

It achieves high-confidence correlation mining for cryptocurrency transaction initiators, and enhances the regulatory efficiency of the regulatory platform for cryptocurrency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552195A
    Figure CN118552195A
Patent Text Reader

Abstract

The invention relates to a cryptocurrency first-issuing node association mining method based on a communication tree, and belongs to the technical field of block chain analysis. The method comprises the following steps: firstly, obtaining transaction information from a block chain network, and querying to obtain an initiator account information set corresponding to all transactions; and then node association mining is carried out on each account in the account set in sequence, and transactions initiated by the accounts are queried to form a transaction set. In the block chain network, network traffic corresponding to each transaction is extracted, and the forwarding traffic is sorted and a communication tree is constructed and formed. Then, according to the characteristics of the communication tree, nodes close to a tree root are reserved to be added into candidate sets, and each transaction has a first sending node candidate set; and combining all sets to obtain a final account corresponding node candidate set. And finally, through auxiliary judgment of a currency system, a high-confidence associated node is obtained. According to the invention, association mining of the transaction initiator and the first issuing node is realized, and the supervision efficiency of the supervision platform on cryptocurrency is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for mining associations of first-issue nodes of cryptocurrency based on a communication tree, and belongs to the technical field of blockchain analysis. Background Art

[0002] The foundation of cryptocurrency is blockchain technology, which is essentially a distributed database that records transaction history through a chain block structure. It is an open, transparent, and decentralized distributed ledger system.

[0003] Cryptocurrency networks have the following core features and functions:

[0004] 1. Decentralization: The cryptocurrency network adopts a decentralized structural design, which means that there is no single central authority to control or manage transactions. Instead, the operation and maintenance of the entire system are completed by participants (nodes) distributed around the world, which are connected through a peer-to-peer network.

[0005] 2. Distributed ledger: Blockchain technology is the core distributed ledger implementation method of cryptocurrency. Blockchain is an open, transparent, and tamper-proof data record collection. Each participating node keeps a complete copy of the ledger, and a consensus mechanism is used to ensure that the data on all nodes remains consistent.

[0006] 3. Consensus mechanism: The consensus mechanism is a key part of a distributed system, which determines how to reach a consensus without a central authority. For example, Proof of Work (PoW) is used in cryptocurrencies, while in other cryptocurrencies such as Ethereum, there are multiple consensus algorithms such as Proof of Stake (PoS). These mechanisms ensure that only transactions approved by the majority of nodes in the network will be added to the blockchain.

[0007] 4. Node communication and topology: Nodes in a cryptocurrency network communicate through specific protocols, forming a tree-like or mesh-like topology. This structure allows information to spread quickly and reach a global consensus, while also being able to resist attacks and failures to a certain extent.

[0008] 5. Security and anonymity: The nature of distributed systems makes cryptocurrencies highly secure, because tampering with historical records requires controlling a majority of nodes, which is almost impossible in large-scale networks. In addition, although the transactions themselves are publicly recorded on the blockchain, cryptocurrencies can provide a certain degree of anonymity or pseudonymity through complex public key cryptography systems.

[0009] 6. Incentive mechanism: The distributed system also designs an economic incentive mechanism to encourage nodes to participate in the process of verifying transactions, creating new blocks, and maintaining network security. For example, after a full node successfully packs a block, it will receive a newly issued cryptocurrency as a reward. This mechanism promotes the self-sustainment and growth of the network.

[0010] Although blockchain is open and transparent, most cryptocurrencies use privacy protection technology. This covert transaction model poses a huge challenge for regulators to discover potential security threats.

[0011] At present, existing technologies generally analyze account behavior from the ledger transaction level for regulatory identification. However, since blockchain has achieved complete anonymization in ledger transactions, it is impossible to extract effective information from it. Regulatory technology is coarse-grained and low-accuracy. The IP address in network traffic has more user attribute information. Therefore, associating the wallet account with the IP address becomes a bridge for information transmission between the two.

[0012] The transaction process of cryptocurrency requires the joint efforts of the transaction initiator and the transaction recipient. For the regulatory platform, the transaction initiator plays an important leading role in the current transaction process. Therefore, it is necessary to conduct correlation mining on the first issuance node of cryptocurrency. Summary of the invention

[0013] The purpose of the present invention is to solve the technical problem of how to effectively supervise the transaction initiator in the anonymization environment of cryptocurrency transactions, and creatively proposes a cryptocurrency initial node association mining method based on a communication tree.

[0014] The present invention is based on a cryptocurrency trading system and a blockchain network, which provide data and information at the book transaction and network communication levels respectively.

[0015] Ledger transaction data: includes transaction ID, digital currency addresses of the initiator and recipient, transaction amount, transaction timestamp, transaction fee, and valid signature and public key used to verify the transaction. Transaction data on the blockchain is public and cannot be tampered with. Each block contains a set of transaction records connected by hash operations.

[0016] Network traffic data: When a new transaction is generated or a new block is packaged in the blockchain, it will be transmitted to each node through the network. The handshake, synchronization of blocks, query status, response to requests and other activities between nodes will also generate network traffic. There is a behavioral feature that the transaction initiating node is responsible for the creation and initial broadcast of the corresponding transaction data and is the starting point for the propagation of transaction data.

[0017] like Figure 1As shown, the method of the present invention includes traffic analysis, transaction collection, transaction query, traffic extraction, communication tree construction, address candidate, and address screening.

[0018] First, the broadcast traffic of cryptocurrency transactions captured from the blockchain network is parsed to obtain transaction information, and the account information set of the initiator corresponding to all transactions is queried in the cryptocurrency trading system.

[0019] Then, node association mining is performed on each account in the account set in turn, and multiple transactions initiated by the account are queried to form a transaction set. In the blockchain network, the network traffic corresponding to each transaction is extracted, the forwarding traffic is sorted out and a communication tree is constructed.

[0020] Afterwards, according to the characteristics of the communication tree, the nodes close to the root are retained and added to the candidate set. Each transaction has a starting node candidate set. All sets are merged to obtain the final account-corresponding node candidate set.

[0021] Finally, with the assistance of an external currency system, further confirmation and screening are carried out to determine the node type and provide confidence in the judgment.

[0022] Beneficial Effects

[0023] Compared with the prior art, the present invention has the following advantages:

[0024] The present invention combines the data information of the blockchain network and the cryptocurrency trading system, and heuristically realizes the association mining between the transaction initiator and the initial node by constructing and merging the communication tree, obtains the high-confidence corresponding node of the account, and enhances the regulatory efficiency of the regulatory platform on cryptocurrency. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 Schematic diagram of the association mining process of the present invention.

[0026] Figure 2 Flow chart of the method of the present invention.

[0027] Figure 3 This is a structural diagram of the relevant traffic analysis described in the present invention.

[0028] Figure 4 Schematic diagram of the communication tree construction process of the present invention DETAILED DESCRIPTION

[0029] The method of the present invention is further described in detail below with reference to the accompanying drawings.

[0030] like Figure 2 As shown, a method for mining associations of first-issue nodes of cryptocurrency based on a communication tree comprises the following steps:

[0031] Step 1: Traffic analysis.

[0032] The traffic captured from the blockchain network has a specific format and contains a lot of information, so it is necessary to parse out key information from it.

[0033] Specifically, the required source IP address, destination IP address, and transaction hash (transaction record identifier) ​​are selected from the traffic data. The source IP address and destination IP address are directly read from the traffic packet and used to build the communication tree, and the transaction hash is deconstructed and mined from the message to distinguish the traffic data of different transactions.

[0034] Taking the most widely used encrypted digital currency as an example, the first node association mining based on the communication tree is based on the analysis of inv messages. Figure 3 It shows the structure of inv, including the message header and data payload. The message header contains the magic number, instruction, data length and checksum, which is used to find the next message when the information flow state is unknown; the instruction identifies the content of the data packet and is filled with NULL; the data length indicates the byte length of the data payload; the checksum is the first 4 bytes of sha256, which is used to verify the integrity of the message during network transmission. The data payload contains the most important transaction information, which are the number of transactions and the list vector of each transaction. Each 36-byte vector contains a 32-byte transaction hash, which is the unique identifier of the transaction.

[0035] Step 2: Transaction collection.

[0036] Specifically, according to the transaction hash extracted after traffic analysis, for each transaction hash, the API of the cryptocurrency trading system is called to query the complete transaction record in the ledger to form a transaction set Transaction.

[0037] By using the RPC command getrawtransaction to view and decodeawtransaction to decode the transaction, input the transaction hash and the API, the following information is returned:

[0038] Transaction initiator wallet account (Input Addresses): The wallet address that initiates the cryptocurrency transfer. It may contain multiple addresses.

[0039] Transaction Recipient Wallet Account (Output Addresses): The wallet address that receives cryptocurrency transfers. It may contain multiple addresses.

[0040] Transaction Amount: It is divided into the outgoing amount of the initiating account and the incoming amount of the receiving account. The outgoing and incoming amounts correspond to multiple wallet addresses respectively.

[0041] Transaction Fees: A handling fee is generated during cryptocurrency transactions, which is used to pay for the accounting costs of the full node.

[0042] Traverse each transaction in the transaction set Transaction, extract the initiator wallet account (Input_Addresses) involved, and form the account set C_Wallet.

[0043] Step 3: Transaction query.

[0044] The mining of the first node association between accounts is independent. Therefore, we need to target each transaction initiator wallet account Wallet in the account set C_Wallet separately. i , conduct traffic analysis and node association mining.

[0045] In the transaction collection Transaction, query the Wallet i The transaction hash of the initiator's wallet account forms the transaction set Transaction of account i i .

[0046] Step 4: Traffic extraction.

[0047] For node association mining of account i, for each transaction set Transaction i Transaction record identifier H ij , query the corresponding communication record in the IP address communication data to form a collection Message ij , Message ij Contains network traffic data for one transaction for one account.

[0048] Step 5: Communication tree construction.

[0049] For the collection Message ij From the records in , extract the source IP and occurrence time, and build a communication tree.

[0050] If the node IP a and IP b Appear in one record at the same time, and IP a is the source address, IP b is the destination address, then in IP a and IP b IP a Point to IP b , forming a communication tree and recording the time as the edge attribute.

[0051] If IP aAppears in two different records at the same time, one of which contains IP a is the source address, IP b is the destination address, and the other is the IP a Destination address, IP c is the source address, the communication trees represented by the two records are merged into a communication tree containing three nodes, which is represented by IP c Point to IP a , and then by IP a Point to IP b Path relationship.

[0052] According to the above results, the communication tree is established and merged to obtain transaction H ij Communication Tree ij .

[0053] like Figure 4 As shown in the figure, the communication tree construction process of cryptocurrency transaction information broadcast in the blockchain is represented. The black points are nodes with known transaction information, which broadcast transaction information to neighboring nodes, and the white points are nodes with unknown transaction information, which broadcast to their neighbors after receiving and confirming the transaction information. This process propagates continuously in the network, and the nodes at both ends of the broadcast are regarded as tree nodes, and the broadcast process is regarded as a directed edge connecting the nodes. The nodes communicate with each other, forming an IP address communication tree for cryptocurrency transaction information.

[0054] Step 6: Address Candidates.

[0055] Due to the difficulty of obtaining all broadcast messages in a complex network and the existence of factors such as network delays, the cryptocurrency communication tree is no longer a complete and connected tree.

[0056] By building a Message ij Corresponding communication tree, obtain the IP of its root node, and form the candidate set IPtbd corresponding to this tree ij If for a transaction H ij If there are multiple communication trees that cannot be merged, extract the time interval between the recorded time and the earliest time in all tree roots that does not exceed the network allowed delay TH delay (usually 1s) The node IP is added to the candidate set IPtbd ij .

[0057] For Wallet i All node candidate sets IPtbd ij , find the intersection and get the candidate set IPtbd i =IPtbd i1 ∩Iptbd i2 ∩IPtbd i3 ……∩IPtbdim , where m is Wallet i The number of transactions initiated in .

[0058] Step 7: Address screening.

[0059] Get Wallet i The corresponding node association candidate set IPtbd i After that, an external currency system is used to assist in further confirmation and screening. The external currency system can determine the node type of the IP and provide its judgment confidence.

[0060] The specific process is as follows: For the candidate set IPtbd i For each IP in the currency system, query its node type and probability (1 / 0&Conf). If its node type is 1 (full node), remove it from IPtbd i ; If its node type is 0 (light node), and the confidence Conf> light node judgment confidence TH spv (TH spv Generally, it is 0.8) will be retained and the confidence Conf will be added.

[0061] For the filtered IPtbd i , normalize the confidence of each IP address, get the probability that the IP address is the associated address, and return the associated IP addresses sorted by probability.

[0062] Check all wallet accounts one by one i After the analysis and processing is completed, the entire cryptocurrency first-issue node associated mining process is completed.

Claims

1. A method for mining the association of first-issue nodes of cryptocurrency based on communication tree, It is characterized in that Based on the cryptocurrency trading system and blockchain network, it provides data and information at the ledger transaction and network communication levels respectively; First, the broadcast traffic of cryptocurrency transactions captured from the blockchain network is parsed to obtain transaction information, and the account information set of the initiator corresponding to all transactions is queried in the cryptocurrency trading system; Then, node association mining is performed on each account in the account set in turn, and multiple transactions initiated by the account are queried to form a transaction set; in the blockchain network, the network traffic corresponding to each transaction is extracted, the forwarding traffic is sorted out and a communication tree is constructed; Afterwards, according to the characteristics of the communication tree, the nodes close to the root are retained and added to the candidate set. Each transaction has a starting node candidate set. All sets are merged to obtain the final account-corresponding node candidate set. Finally, with the assistance of an external currency system, further confirmation and screening are carried out to determine the node type and provide confidence in the judgment.

2. A method for mining associations of first issuance nodes of cryptocurrency based on a communication tree as claimed in claim 1, It is characterized in that When performing traffic analysis, select the required source IP address, destination IP address, and transaction hash from the traffic data; Among them, the source IP address and destination IP address are directly read from the traffic packet and used to build the communication tree. The transaction hash is deconstructed and mined from the message to distinguish the traffic data of different transactions.

3. A method for mining the association of first-issue nodes of cryptocurrency based on a communication tree as claimed in claim 1, It is characterized in that When collecting transactions, based on the transaction hash extracted after traffic analysis, for each transaction hash, the API of the cryptocurrency trading system is called to query the complete transaction record in the ledger to form a transaction set Transaction; By using the RPC command to view and decode the transaction, input the transaction hash and the API, the following information is returned: Input Addresses of the transaction initiator’s wallet account: the wallet address that initiates the cryptocurrency transfer; Transaction recipient wallet account Output Addresses: The wallet address that receives the cryptocurrency transfer; Transaction amount: divided into the outgoing amount of the initiating account and the incoming amount of the receiving account; the outgoing and incoming amounts correspond to multiple wallet addresses respectively; Transaction Fees: A handling fee is generated during cryptocurrency transactions, which is used to pay for the full node accounting fees; Traverse each transaction in the transaction set Transaction, extract the initiator wallet account Input_Addresses involved, and form the account set C_Wallet; When querying transactions, query each transaction initiator wallet account Wallet in the account set C_Wallet i , perform traffic analysis and node association mining; in the transaction set Transaction, query the Wallet i The transaction hash of the initiator's wallet account forms the transaction set Transaction of account i i ; When extracting traffic, we mine the node associations of account i. For each transaction set Transaction i Transaction record identifier H ij , query the corresponding communication record in the IP address communication data to form a collection Message ij , Message ij Network traffic data containing one transaction for one account; When building a communication tree, for the collection Message ij In the records, extract its source IP and occurrence time, and build a communication tree; if the node IP a and IP b Appear in one record at the same time, and IP a is the source address, IP b is the destination address, then in IP a and IP b IP a Point to IP b , forming a communication tree and recording the time as the edge attribute; if IP a Appears in two different records at the same time, one of which contains IP a is the source address, IP b is the destination address, and the other is the IP a Destination address, IP c is the source address, the communication trees represented by the two records are merged into a communication tree containing three nodes, which is represented by IP c Point to IP a , and then by IP a Point to IP b Path relationship; Based on the above results, establish and merge the communication tree to obtain transaction H ij Communication Tree ij ; When address candidates are being created, ij Corresponding communication tree, obtain the IP of its root node, and form the candidate set IPtbd corresponding to this tree ij ; If for a transaction H ij If there are multiple communication trees that cannot be merged, extract the time interval between the recorded time and the earliest time in all tree roots that does not exceed the network allowed delay TH delay The node IP is added to the candidate set IPtbd ij ;For Wallet i All node candidate sets IPtbd ij , find the intersection and get the candidate set IPtbd i =IPtbd i1 ∩IPtbd i2 ∩IPtbd i3 ……∩IPtbd im , where m is Wallet i The number of transactions initiated in When filtering addresses, for the candidate set IPtbd i For each IP in the currency system, query its node type and probability; If the node type is a full node, remove it from IPtbd i ; If its node type is a light node, and the confidence Conf> light node judgment confidence TH spv It will be retained and the confidence level Conf will be added; for the filtered IPtbd i , normalize the confidence of each IP address, get the probability that the IP address is the associated address, and return the associated IP addresses sorted by probability; Check all wallet accounts one by one i After the analysis and processing is completed, the entire cryptocurrency first-issue node associated mining process is completed.

4. A method for mining associations of first issuance nodes of cryptocurrency based on a communication tree as claimed in claim 3, It is characterized in that Network allowed delay TH delay is 1s.

5. A method for mining associations of first issuance nodes of cryptocurrency based on a communication tree as claimed in claim 3, It is characterized in that TH spv is 0.8.