Cryptocurrency auxiliary supervision method based on keyword traffic identification

Through the method of keyword traffic recognition, the communication protocol characteristics and simulated packet verification in the blockchain network are used to solve the regulatory problems brought about by the anonymization of cryptocurrency transactions, and the efficient identification and supervision of cryptocurrency traffic is realized, and the efficiency of cryptocurrency traffic is enhanced. Regulatory effectiveness.

CN119067660AActive Publication Date: 2024-12-03BEIJING INST OF TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410983373.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-12-03
Estimated Expiration
2044-07-22

AI Technical Summary

Technical Problem

In the anonymization environment of cryptocurrency transactions, it is difficult for existing technology to effectively regulate cryptocurrency transactions in blockchain, especially because the blockchain's ledger transactions have been completely anonymous, resulting in increased supervision difficulty.

Method used

Using a method based on keyword traffic recognition, by collecting and analyzing network traffic data and data packet information in the blockchain network, using keyword characteristics in the communication protocol for preliminary judgment, and further verification is carried out through simulated data packets and node communication. , realize the identification and supervision of cryptocurrency traffic.

Benefits of technology

It has improved the regulatory efficiency of the regulatory platform on cryptocurrency transactions, achieved efficient identification and supervision of cryptocurrency traffic, and enhanced the regulatory capabilities of cryptocurrency transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119067660A_ABST
    Figure CN119067660A_ABST
Patent Text Reader

Abstract

The invention relates to an encrypted currency auxiliary supervision method based on keyword traffic identification, and belongs to the technical field of block chain supervision. According to the method, data information of a block chain network and a communication function of a network node are combined, firstly, flow data are collected, keyword features in the flow data are extracted according to a communication protocol, a specific field is matched with the category of cryptocurrency, and a preliminary judgment result of the category corresponding to the flow is obtained. And creating a simulation data packet according to the communication protocol of the preliminarily judged target cryptocurrency, establishing connection with the target node, sending the data packet, receiving and analyzing the returned data packet, and analyzing key information in the data packet to verify a judgment result and determine the type of the target node. And storing the node and the information thereof in a database in a tagging manner, continuously monitoring and regularly updating a node tag. According to the invention, efficient identification of the encrypted currency flow is realized, and the supervision efficiency of the supervision platform on the encrypted currency is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a cryptocurrency auxiliary supervision method based on keyword traffic identification, belonging to the technical field of blockchain supervision. Background Art

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

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

[0004] 1. Decentralization: The cryptocurrency network adopts a distributed architecture and does not rely on any central authority (such as a central bank) for management and control. Transaction verification, currency issuance, and ledger maintenance are completed by numerous participants (nodes) around the world, connected through a peer-to-peer (P2P) network, forming an autonomous system without central coordination.

[0005] 2. Distributed ledger: Blockchain technology is the core distributed ledger implementation of cryptocurrency. Transaction history is stored in a chain structure. Each block contains multiple transactions and is connected to the hash value of the previous block through complex mathematical algorithms to ensure the integrity and irreversibility of the data. Each participating node keeps a complete copy of the ledger.

[0006] 3. Consensus mechanism: To ensure that all nodes in the network agree on the validity of transactions, cryptocurrency networks use consensus algorithms such as Proof of Work (PoW) and Proof of Stake (PoS). These mechanisms ensure that only transactions approved by the majority of nodes can be added to the blockchain, preventing double spending and fraud.

[0007] 4. Node communication and network configuration: In the cryptocurrency system, each node interacts with each other following a specific communication protocol, and together builds an organizational model similar to a tree or mesh. This structural design is not only conducive to the rapid dissemination of information and the achievement of consensus across the entire network, but also can enhance the network's resistance to potential attacks and system failures to a certain extent.

[0008] 5. Security and anonymity: Thanks to the inherent attributes of the distributed architecture, the cryptocurrency system exhibits excellent security performance. The tampering of its historical transaction data requires the control of the absolute majority of nodes in the network, which is difficult for a large-scale decentralized network. At the same time, although the transaction details are archived in a public form on the blockchain, with the help of cryptographic mechanisms, cryptocurrency can still give users anonymity or pseudonymous transactions to a certain extent.

[0009] 6. Incentive mechanism: The cryptocurrency network motivates nodes to participate in transaction verification, block creation and network maintenance through economic incentives (such as block rewards and transaction fees), forming a self-regulating and self-maintaining ecosystem.

[0010] Although blockchain technology is known for its transparency, many cryptocurrencies have adopted privacy-enhancing measures. While such secret transaction mechanisms ensure the security of user transaction information, they also provide space for illegal activities to conceal the flow of funds and information transmission, exacerbating the difficulty for regulators to identify and respond to potential risks. Existing technologies generally analyze account behavior from the level of ledger transactions for regulatory identification, but since blockchain achieves complete anonymization in ledger transactions, it is impossible to extract effective information from it, and regulatory technology has the characteristics of coarse granularity and low accuracy. Node information and traffic data in network traffic are public and abundant, so analyzing account behavior with network-level data provides a new idea for supervision.

[0011] Capturing network traffic from the network level, and then using data analysis and machine learning methods to analyze traffic and mine account behavior information at the transaction level is a technical route with great potential. However, the traffic in the network is huge and complex, so it is necessary to identify the traffic of cryptocurrency to assist in regulating the cryptocurrency transaction situation and scale in the blockchain. Summary of the invention

[0012] The purpose of the present invention is to solve the technical problem of how to achieve traffic capture and identification in the anonymized environment of cryptocurrency transactions, and then effectively supervise transactions, and creatively propose a cryptocurrency assisted supervision method based on keyword traffic identification.

[0013] The present invention is based on blockchain network and network nodes, providing network flow data and data packet information respectively.

[0014] in:

[0015] Network traffic data: When a new transaction record is generated or a new block is encapsulated in the blockchain network, the information is instantly broadcast to each node in the network. In this process, a series of interactions will be carried out between nodes, covering mutual identity authentication, synchronization of the latest block data, execution of on-chain status query instructions, and timely response to various external requests. These interactive activities constitute the basic context of network communication, triggering and driving the continuous generation and efficient flow of data traffic in the blockchain network.

[0016] Network nodes: Nodes in the blockchain network have roles and functions such as data storage and verification, network maintenance and information dissemination, consensus participation and decision-making. Nodes can interact with each other through communication protocols that conform to the target cryptocurrency (such as handshakes, broadcasts, queries, confirmations, etc.). Therefore, by simulating the construction of data packets to connect and communicate with network nodes, the judgment results of keyword features can be further verified.

[0017] like Figure 1 As shown, the present invention includes the steps of traffic collection, feature extraction, creation of simulated data packets, establishment of connection, parsing of data packets, data labeling and storage, continuous monitoring, and rapid communication verification.

[0018] A cryptocurrency assisted supervision method based on keyword traffic identification.

[0019] First, traffic data is collected. Keyword features are extracted according to the communication protocol, and specific fields are matched with the categories of cryptocurrencies to obtain preliminary judgment results on the corresponding categories of traffic.

[0020] Then, based on the communication protocol of the target cryptocurrency that was initially determined, a simulated data packet is created, and a connection is established with the target node, a data packet is sent, and the returned data packet is received and parsed, and the key information therein is analyzed to verify the judgment result and determine the type of the target node. After that, the node and its information are labeled and stored in the database, and the node labels are continuously monitored and regularly updated to facilitate the rapid verification of subsequent traffic identification.

[0021] Beneficial Effects

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

[0023] The present invention combines the data information of the blockchain network and the communication function of the network nodes, uses the protocol keyword features as the preliminary judgment indicators, and the node connection and communication as further verification and mining, thereby realizing the efficient identification of cryptocurrency traffic and enhancing the regulatory effectiveness of the regulatory platform on cryptocurrency. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 Schematic diagram of the flow identification process of the present invention.

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

[0026] Figure 3 This is a structural diagram of the relevant traffic analysis of the present invention. DETAILED DESCRIPTION

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

[0028] like Figure 2 As shown, a cryptocurrency assisted supervision method based on keyword traffic identification includes the following steps:

[0029] Step 1: Traffic collection.

[0030] Traffic collection is the first step in implementing keyword-based cryptocurrency traffic identification technology. In order to provide sufficient and accurate traffic data for downstream tasks, multiple traffic collection methods can be used to collect and integrate data from multiple aspects.

[0031] Specifically, traffic collection can be performed in the following ways:

[0032] Network sniffing: Use network sniffing tools, such as Wireshark, to capture data packets on the network, including cryptocurrency traffic.

[0033] Packet capture tools: Deploy packet capture tools, such as tcpdump or tshark, to capture network traffic in real time.

[0034] Log data: Log data generated by network devices (such as firewalls, routers, switches), including cryptocurrency transaction and communication logs.

[0035] Step 2: Feature extraction.

[0036] For each data packet, keyword features are extracted, such as the network magic number (a fixed field used to identify the type of cryptocurrency to which the traffic belongs). By extracting and matching these fields, the currency type of the data packet is determined, and the type of encrypted digital currency to which the corresponding traffic belongs is initially known. The data packet contains the address information of both parties in the traffic communication, and the IP address and port of the target network node can be known.

[0037] Step 3: Create a simulated data packet.

[0038] Keyword features such as magic numbers provide a preliminary classification judgment for traffic identification, but there may still be collision errors with network traffic that is not the corresponding cryptocurrency but has the same data information as the magic number. Therefore, it is necessary to create simulated data packets and communicate with the target node for further verification and confirmation, and implement node monitoring.

[0039] Specifically, the simulated data packet should have characteristics consistent with the communication protocol of the target cryptocurrency to ensure that the communication mode with the target node is similar. Taking the most widely used cryptocurrency as an example, its data packet format is as follows: Figure 3 As shown in FIG. 1 , it includes a message header and a data payload. The message header includes a magic number, an instruction, a data length, and a checksum, and the data payload stores the main content of the message.

[0040] Creating a simulated data package includes the following specific steps:

[0041] Step 1: Protocol Analysis: First, study the communication protocol specifications of the target cryptocurrency, including details such as message types, packet formats, field structures, and communication behaviors.

[0042] Step 2: Simulate the data packet structure. Based on the results of the protocol analysis, create a simulated data packet structure, including defining the content and format of the data packet header, data packet body, and data packet tail.

[0043] Step 3: Fill in the packet fields. According to the protocol specifications, fill in the values ​​of the packet fields to simulate real interactions and ensure that the simulated packets contain keyword features related to the target cryptocurrency, such as network magic numbers.

[0044] Step 4: Packet encoding. Encode the simulated data packet into the format required by the target cryptocurrency's communication protocol. Usually binary or hexadecimal encoding.

[0045] Step 4: Establish connection.

[0046] Once the simulated data packet is created, the next step is to establish a connection to the target node. This includes setting up a network node and establishing a network connection with the target node in order to send the simulated data packet and receive a response.

[0047] Establishing a connection includes the following specific steps:

[0048] Step 1: Identify the target node. Determine the IP address and port number of the target node.

[0049] Since the network node IP address and port number associated with the current traffic have been recorded while capturing and parsing the network traffic in step 2, the sniffed node can be directly connected.

[0050] Step 2: Establish a network connection. Use network socket programming or communication libraries to establish a network connection to the target node and ensure the stability and reliability of the connection.

[0051] Step 3: Send the simulated data packet. Use the established network connection to send the created simulated data packet to the target node. The simulated data packet needs to be sent to the IP address and port number of the target node.

[0052] Step 4: Receive response. Wait for the target node’s response. Once the response packet is received, store it for subsequent analysis.

[0053] Step 5: Parse the data packet.

[0054] After receiving the response from the target node, the returned data packet is parsed to extract information and characteristics about the traffic and node.

[0055] Parsing the returned data packet includes the following specific steps:

[0056] Step 1: Data packet decoding. If the response data packet is sent in a specific encoding method (such as binary or hexadecimal), it must first be decoded to restore it to readable data.

[0057] Step 2: Data packet analysis: Analyze the returned data packets and extract key information, such as the node type, version, and function.

[0058] Step 3: Feature extraction. Extract features related to the target cryptocurrency, such as network magic number, message type, etc. Verify whether the information is returned in the traffic format of the target cryptocurrency to verify whether the traffic is judged correctly.

[0059] Step 4: Determine the node type. Based on the parsing results, determine the type of the target node, such as a light node or a full node.

[0060] Step 6: Data labeling and storage.

[0061] The results of activity detection and currency type identification are associated with the corresponding node and traffic data, and the node's label data is stored in the database together with its IP address to support subsequent communication verification of the same type of traffic.

[0062] Step 7: Continue monitoring.

[0063] For the node data and their corresponding labels in the data set, a long-term and effective monitoring mechanism is established. A supporting node monitoring program is written for the data set, which regularly scans the node activity in the sniffer and updates the node labels in a timely manner.

[0064] Step 8: Quick communication verification.

[0065] After the node label data is stored and continuously monitored, the active nodes of the target cryptocurrency are saved. When the acquired traffic is identified later, after the initial judgment of the magic number keyword, the communication connection with the node in the database is established first, and the identification result of the cryptocurrency traffic type is verified by simulating data packets.

Claims

1. A cryptocurrency assisted supervision method based on keyword traffic identification, characterized in that: First, traffic data is collected, keyword features are extracted according to the communication protocol, and specific fields are matched with the categories of cryptocurrencies to obtain a preliminary judgment result of the corresponding category of the traffic; then, a simulated data packet is created according to the communication protocol of the target cryptocurrency that is preliminarily judged, and a connection is established with the target node, a data packet is sent, and the returned data packet is received and parsed, and the key information is analyzed to verify the judgment result and determine the type of the target node; then, this node and its information are labeled and stored in the database, and the node labels are continuously monitored and updated regularly; Step 1: Collect traffic data; Step 2: Feature extraction; For each data packet, extract the keyword features; By extracting and matching these fields, we can determine the currency type of the data packet and preliminarily know the type of encrypted digital currency to which the corresponding traffic belongs. In the data packet, the address information of both parties in the traffic communication is saved, and the IP address and port of the target network node can be known; Step 3: Create a simulated data packet; the simulated data packet should have characteristics consistent with the communication protocol of the target cryptocurrency to ensure that the communication pattern with the target node is similar; Step 4: Establish connection; After creating the simulated data packet, a connection to the target node is established, including establishing a network node and establishing a network connection with the target node in order to send the simulated data packet and receive a response; Step 5: Parse the data packet; After receiving the response from the target node, the returned data packet is parsed to extract information and features about the traffic and node; Step 6: Data labeling and storage; The results of liveness detection and currency type identification are associated with the corresponding node and traffic data, and the node’s label data is stored in the database together with its IP address to support subsequent communication verification of the same type of traffic; Step 7: Continuous monitoring; Establish a monitoring mechanism for the node data and its corresponding labels in the dataset; write a supporting node monitoring program for the dataset, regularly scan the node activity in the sniffer and update the node labels in a timely manner; Step 8: Quick communication verification; After the node tag data is stored and continuously monitored, active nodes of the target cryptocurrency are saved; When identifying the acquired traffic, after a preliminary judgment of the magic number keyword, a communication connection is established with the nodes in the database first, and the identification results of the cryptocurrency traffic type are verified by simulating data packets.

2. A cryptocurrency auxiliary supervision method based on keyword traffic identification as claimed in claim 1, characterized in that: In step 1, the collection methods include network sniffing, packet capture tools, and log data; Among them, log data includes cryptocurrency transactions and communication logs.

3. A cryptocurrency auxiliary supervision method based on keyword traffic identification as claimed in claim 1, characterized in that: In step 3, create a simulated data packet, including the following steps: Step 1: Protocol Analysis: Study the communication protocol specifications of the target cryptocurrency, including understanding the details of message types, packet formats, field structures, and communication behaviors. Step 2: Simulate the data packet structure: Based on the results of the protocol analysis, create a simulated data packet structure, including defining the content and format of the data packet header, data packet body, and data packet tail; Step 3: Fill in the packet fields; fill in the values ​​of the packet fields according to the protocol specifications to simulate real interactions and ensure that the simulated packet contains keyword features related to the target cryptocurrency; Step 4: Packet encoding: Encode the simulated data packet into the format required by the communication protocol of the target cryptocurrency.

4. The cryptocurrency auxiliary supervision method based on keyword traffic identification as claimed in claim 1, characterized in that: Step 4 includes the following steps: Step 1: Identify the target node, including determining the IP address and port number of the target node; Step 2: Establish a network connection; use network socket programming or communication library to establish a network connection to the target node; Step 3: Send simulated data packets; use the established network connection to send the created simulated data packets to the target node; the simulated data packets need to be sent to the IP address and port number of the target node; Step 4: Receive response; wait for the target node's response, and once the response data packet is received, store it.

5. The cryptocurrency auxiliary supervision method based on keyword traffic identification as claimed in claim 1, characterized in that: Step 5 includes the following steps: Step 1: Data packet decoding; if the response data packet is sent in a specific encoding method, first decode it to restore it to readable data; Step 2: Data packet analysis: Analyze the returned data packets and extract key information, including the type, version, and function of the node; Step 3: Feature extraction: extract features related to the target cryptocurrency; verify whether the information is returned in the traffic format of the target cryptocurrency to verify whether the traffic is correctly judged; Step 4: Based on the parsing results, determine the type of the target node.

Citation Information

Patent Citations

  • Lightweight Ethereum encrypted traffic identification method

    CN111865823A

  • Cryptocurrency network mining flow detection method

    CN116668053A

  • Digital currency cross-regional transaction identification method based on traffic group characteristics

    CN118365450A

  • Cryptocurrency wallet that supports every cryptocurrency

    WO2024151263A1