[go: up one dir, main page]

CN112801784A - Bit currency address mining method and device for digital currency exchange - Google Patents

Bit currency address mining method and device for digital currency exchange Download PDF

Info

Publication number
CN112801784A
CN112801784A CN202110013889.7A CN202110013889A CN112801784A CN 112801784 A CN112801784 A CN 112801784A CN 202110013889 A CN202110013889 A CN 202110013889A CN 112801784 A CN112801784 A CN 112801784A
Authority
CN
China
Prior art keywords
address
bitcoin
addresses
initial
classification model
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110013889.7A
Other languages
Chinese (zh)
Inventor
郑子彬
薛更盛
陈志广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
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 Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CN202110013889.7A priority Critical patent/CN112801784A/en
Publication of CN112801784A publication Critical patent/CN112801784A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Accounting & Taxation (AREA)
  • Evolutionary Biology (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种数字货币交易所的比特币地址挖掘方法及装置,其中,方法包括:获取比特币区块链上的交易信息,根据交易信息获取多个初始地址;基于交易信息,构建每个初始地址的比特币转移网络;基于预设启发式规则,对比特币转移网络中的地址进行聚类,得到每个初始地址的地址集合;训练地址分类模型,通过地址分类模型对地址集合中的比特币地址进行分类,得到地址集合中的比特币地址的类别。解决了现有的比特币交易所地址识别和分类的方法依赖资源多,需要进行人工数据标注,特征提取的过程复杂,无法大范围的使用的技术问题。

Figure 202110013889

The invention discloses a bitcoin address mining method and device for a digital currency exchange, wherein the method includes: acquiring transaction information on a bitcoin blockchain, acquiring a plurality of initial addresses according to the transaction information; A bitcoin transfer network with an initial address; based on preset heuristic rules, the addresses in the bitcoin transfer network are clustered to obtain the address set of each initial address; the address classification model is trained, and the address classification model is used to classify the addresses in the address set. Classify the bitcoin addresses of the address set to get the category of the bitcoin addresses in the address set. It solves the technical problems that the existing methods for identifying and classifying addresses of bitcoin exchanges rely on many resources, require manual data annotation, and the process of feature extraction is complicated and cannot be used on a large scale.

Figure 202110013889

Description

Bit currency address mining method and device for digital currency exchange
Technical Field
The invention relates to the technical field of data processing, in particular to a bit currency address mining method and device for a digital currency exchange.
Background
With the development of digital currency, bitcoin is widely used as the first issued digital currency. The Bizhou exchange is the most important part of the Bizhou ecosystem. Identifying the wallet address of the exchange is helpful for people to know the current fund and operation state of the exchange and help investors to select more chartered exchanges. In addition, identifying the wallet address of the bitcoin exchange may help the regulatory body to better regulate and investigate.
The existing address mining of the bit currency exchange mainly comprises two aspects of identifying and classifying addresses, and is realized by the following two methods:
a data collection method: some users or organizations will disclose their identity information and bitcoin addresses in bitcoin forums (such as bitcoin forums), exchange announcements, etc. on-line communities or websites, and by collecting these disclosed user identity information and bitcoin addresses, can find some exchange wallet addresses.
Supervised learning classification: and training by using a monitoring learning classifier through feature extraction and by using the collected label data to learn an address recognition model. Common feature extraction methods include: directly extracting statistical characteristics from historical transaction records of the address; based on historical transaction records, a whole transaction network is constructed, and a series of statistical characteristics of bitcoin addresses are extracted from the transaction network by utilizing a graph analysis technology.
However, the data collection method involves privacy protection, enterprise security and other problems, is relatively expensive, and has a small number of collected addresses, so that the most important cold and hot wallet addresses of the exchange are difficult to collect, and cannot be applied in a large scale.
Supervised learning classification: the classification task of the supervised learning classifier is often coarse-grained, that is, the attribution of an address is classified according to exchange, mine pool, Pompe fraudster and the like, rather than the fine-grained classification such as exchange cold wallet, hot wallet and recharge wallet; training of the classifier requires a large amount of label data, which is difficult to obtain in reality; the performance of the classifier depends on the quality of the extracted features, while the process of feature extraction relies on a priori knowledge of the researcher, so that different researchers will extract different numbers and different kinds of features.
Disclosure of Invention
The invention provides a bit currency address mining method and device for a digital currency exchange, which are used for solving the technical problems that the existing bit currency exchange address identification and classification method depends on more resources, manual data labeling is needed, the process of feature extraction is complex, and the method cannot be used in a large range.
The invention provides a bit currency address mining method of a digital currency exchange, which comprises the following steps:
acquiring transaction information on a bitcoin blockchain, and acquiring a plurality of initial addresses according to the transaction information; the initial address is the address with the most bitcoins;
constructing a bitcoin transfer network for each of the initial addresses based on the transaction information;
clustering addresses in the bitcoin transfer network based on a preset heuristic rule to obtain an address set of each initial address; wherein the addresses in the address set belong to the same digital currency exchange;
training an address classification model, and classifying the bit currency addresses in the address set through the address classification model to obtain the category of the bit currency addresses in the address set.
Optionally, the step of constructing a bitcoin transfer network for each of the initial addresses based on the transaction information includes:
and constructing the bitcoin transfer network of each initial address by adopting a breadth-first search algorithm based on the transaction information.
Optionally, the preset heuristic rule includes: address clustering heuristic based on multiple input transactions or address clustering heuristic based on change addresses.
Optionally, the step of training the address classification model, classifying the bitcoin addresses in the address set by the address classification model, and obtaining the category of the bitcoin addresses in the address set includes:
extracting historical transaction records of bitcoin addresses in the address set, and constructing training characteristics according to the historical transaction records;
carrying out normalization processing on the training features to obtain normalized features;
training a preset initial address classification model by adopting the normalized features to obtain an address classification model;
and classifying the bitcoin addresses in the address set through the address classification model to obtain the category of the bitcoin addresses in the address set.
The invention also provides a bit currency address mining device of the digital currency exchange, which comprises:
the initial address acquisition module is used for acquiring transaction information on the bitcoin blockchain and acquiring a plurality of initial addresses according to the transaction information; the initial address is the address with the most bitcoins;
the bit coin transfer network construction module is used for constructing a bit coin transfer network of each initial address based on the transaction information;
the clustering module is used for clustering the addresses in the bitcoin transfer network based on a preset heuristic rule to obtain an address set of each initial address; wherein the addresses in the address set belong to the same digital currency exchange;
and the classification module is used for training an address classification model, and classifying the bit currency addresses in the address set through the address classification model to obtain the category of the bit currency addresses in the address set.
Optionally, the bitcoin transfer network constructing module includes:
and the bit coin transfer network construction submodule is used for constructing the bit coin transfer network of each initial address by adopting an breadth-first search algorithm based on the transaction information.
Optionally, the preset heuristic rule includes: address clustering heuristic based on multiple input transactions or address clustering heuristic based on change addresses.
Optionally, the classification module includes:
the training feature construction submodule is used for extracting the historical transaction records of the bitcoin addresses in the address set and constructing training features according to the historical transaction records;
the normalization submodule is used for performing normalization processing on the training characteristics to obtain normalized characteristics;
the address classification model generation submodule is used for training a preset initial address classification model by adopting the normalized features to obtain an address classification model;
and the classification submodule is used for classifying the bitcoin addresses in the address set through the address classification model to obtain the category of the bitcoin addresses in the address set.
The invention also provides an electronic device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the bitcoin address mining method of a digital money exchange as described in any one of the above in accordance with instructions in the program code.
The present invention also provides a computer readable storage medium characterized in that the computer readable storage medium is used for storing program code for performing the bit currency address mining method of a digital currency exchange as described in any one of the above.
According to the technical scheme, the invention has the following advantages: the method comprises the steps of obtaining transaction information on a bitcoin blockchain, and obtaining a plurality of initial addresses according to the transaction information; constructing a bitcoin transfer network of each initial address based on the transaction information; clustering addresses in the bitcoin transfer network based on a preset heuristic rule to obtain an address set of each initial address; and classifying the bit currency addresses in the address set through a preset address classification model to obtain the category of the bit currency addresses in the address set. Compared with the prior art, the method has the advantages of less dependence on resources, no need of manual data annotation, simple process of feature extraction and wide application range.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart illustrating the steps of a method for mining bitcoin addresses of an exchange for digital currency according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for bitcoin address mining for digital currency exchanges according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a bitcoin transfer network constructed from transaction information according to an embodiment of the present invention;
fig. 4 is a block diagram of a bit currency address mining apparatus of a digital currency exchange according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a bit currency address mining method and device for a digital currency exchange, which are used for solving the technical problems that the existing bit currency exchange address identification and classification method depends on more resources, manual data labeling is needed, the process of feature extraction is complex, and the method cannot be used in a large range.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a bitcoin address mining method for a digital currency exchange according to an embodiment of the present invention.
The invention provides a bit currency address mining method of a digital currency exchange, which specifically comprises the following steps:
step 101, acquiring transaction information on a bitcoin blockchain, and acquiring a plurality of initial addresses according to the transaction information; the initial address is the address with the most bit coins;
102, constructing a bitcoin transfer network of each initial address based on transaction information;
103, clustering addresses in the bitcoin transfer network based on a preset heuristic rule to obtain an address set of each initial address; wherein, the addresses in the address set belong to the same digital currency exchange;
and 104, training an address classification model, and classifying the bit currency addresses in the address set through the address classification model to obtain the category of the bit currency addresses in the address set.
The method comprises the steps of acquiring transaction information on a bitcoin blockchain, and acquiring a plurality of initial addresses according to the transaction information; constructing a bitcoin transfer network of each initial address based on the transaction information; clustering addresses in the bitcoin transfer network based on a preset initiation rule to obtain an address set of each initial address; and classifying the bit currency addresses in the address set through a preset address classification model to obtain the category of the bit currency addresses in the address set. Compared with the prior art, the method has the advantages of less dependence on resources, no need of manual data marking, simple process of feature extraction and wide application range.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a method for mining bitcoin addresses of digital currency exchanges according to another embodiment of the present invention. The method may specifically comprise the steps of:
step 201, acquiring transaction information on a bitcoin blockchain, and acquiring a plurality of initial addresses according to the transaction information; the initial address is the address with the most bit coins;
for exchanges, it is imperative that a large number of bits be stored using addresses, referred to as cold wallet addresses. A cold wallet address can easily find a combination (but a hot wallet address or a top-up wallet address is difficult to find because many are not used and are difficult to determine), and a candidate set containing the cold wallet address can be found from the K addresses with the largest number of bitcoin.
Step 202, based on transaction information, adopting a breadth-first search algorithm to construct a bitcoin transfer network of each initial address;
breadth-first search algorithm (BFS): it is a blind search method, which aims to systematically expand and check all nodes to find the result.
For a cold wallet address containing a large number of bitcoins, the primary task is to determine the source of the bitcoin, and thus to mine more information and find the address associated with this cold wallet address, i.e. the set of addresses controlled by the same entity. The specific operation is as follows:
constructing a bitcoin transfer network based on single transaction:
in the bitcoin transfer network, bitcoin addresses are used as nodes, and bitcoin transfer relations between input addresses and output addresses in transactions are used as edges. Because the bit currency transaction data only contains the number of bit currencies transferred in/out by one address and the specific number of the bit currencies flowing from each input address to each output address is not given, an edge exists between each input address and each output address in one transaction. Specifically, as shown in fig. 3, A, B, C, D is a node, and a, b, c, and d are edges.
Based on the principle of constructing the bitcoin transfer network by the single transaction, the bit coin transfer network is constructed for each initial address by adopting a breadth-first search algorithm. The input of the algorithm is as follows:
a: the starting point of the bit currency transfer network to be constructed is one of K initial addresses with the maximum bit currency quantity;
t: the initial address A is a transaction set of all received bitcoins;
n: depth used to control BFS search:
p: for controlling the conditions of pruning.
The output of the algorithm is: and the bitcoin transfer network G corresponding to the initial address A.
The construction process comprises the following steps: for the starting point a, the transaction set T is traversed, and the transaction corresponding to each input in each transaction (i.e. from which transaction the UTXO corresponding to this input comes) is added to the set S; in the process of each round of BFS search, elements in the queue Q are taken out one by one, when the queue Q is empty, all transactions in the set S are pressed into the queue Q, and the next round of BFS search is carried out; and when the search depth of the BFS search reaches the maximum depth N, ending the process.
Pruning: when the input contains too few bits during the traversal of each input of a transaction, the BFS search is not expanded and searched during the BFS search due to the time complexity.
In one example, the pseudo code for implementation of the algorithm may be as follows:
Figure BDA0002886039770000071
Figure BDA0002886039770000081
step 203, clustering addresses in the bitcoin transfer network based on a preset heuristic rule to obtain an address set of each initial address; wherein, the addresses in the address set belong to the same digital currency exchange;
in the bitcoin transfer network constructed in step 202, not all nodes (i.e., addresses) are controlled by the same entity. Therefore, it is necessary to filter the address set controlled by the same entity from the initial address a. In the embodiment of the invention, the clustering of the addresses can be realized by address clustering heuristic rules based on multi-input transaction or address clustering heuristic rules based on change-giving addresses.
And 204, training an address classification model, and classifying the bit currency addresses in the address set through the address classification model to obtain the category of the bit currency addresses in the address set.
After clustering, the addresses of the initial address a in the same cluster need to be further classified. The wallet framework of the exchange is divided into a cold wallet, a hot wallet and a recharging wallet. Of which the cold and hot wallets are of the most importance to the exchange and therefore there is a need to further distinguish to which type of wallet the addresses in the cluster belong.
In an embodiment of the present invention, step 204 may include the following sub-steps:
extracting historical transaction records of the bitcoin addresses in the address set, and constructing training characteristics according to the historical transaction records;
carrying out normalization processing on the training characteristics to obtain normalized characteristics;
training a preset initial address classification model by using the normalized features to obtain an address classification model;
and classifying the bit currency addresses in the address set through an address classification model to obtain the category of the bit currency addresses in the address set.
In practical application, the training process for the address classification model is as follows:
firstly, an address set V in a cluster obtained by clustering is given, and the historical transaction record set of each address in the cluster is TaWherein a ∈ V. X is formed by R|V|×dIs the feature space constructed from the historical transaction records for each bitcoin address in V, d is the size of the feature space for each feature vector, and R is the real number set. Y is a set of tags whose values may include 0 (cold wallet address), 1 (hot wallet address), 2 (top up wallet address). The training of the address classification model is to learn a mapping function f from the feature space to the label set: x → Y.
The features used by the address classification model include:
the current balance of the address;
the total number of bitcoin received and sent by the address;
the total number of bit coins received by the address;
the total number of the transmitted bitcoins of the address;
the total transaction number of addresses;
the transaction amount of the total received bitcoin of the address;
the transaction number of the total sending bitcoin of the address;
UTXO number of addresses.
Due to the large scale and large difference between the trading volume of different exchanges, the above used features need to be normalized in order to make the trained address classification model have better universality. The procedure for normalization is as follows:
for each feature x, its normalized value x' is:
Figure BDA0002886039770000091
wherein x ismin,vIs the minimum value of the characteristic x of each address in the address set V of the cluster, xmax,vIs the maximum value of the characteristic x of each address in the set of addresses V for that cluster. After normalization, the range of x' is [0,1 ]]。
In the embodiment of the invention, the training of the address classification model can be realized by adopting a CART classification tree model, and the training method comprises the following steps:
the input of the algorithm is a training set x (namely the characteristic space of the structure), a threshold value g of a Gini coefficient and a threshold value t of the number of samples; the output is a decision tree T, the process is as follows:
1) if the sample set of the current node is D, if the number of the samples in D is less than a threshold value t or no characteristic exists, the current node is not split any more, and the current decision tree sub-tree is returned;
2) calculating the kini coefficient of the sample set D, if the kini coefficient is smaller than a threshold value g, the current node is not split, and the current decision tree subtree is returned;
3) calculating the Gini coefficient of each characteristic value pair set D of each existing characteristic of the current node, selecting the characteristic B with the minimum Gini coefficient and the corresponding characteristic value B, dividing the sample set D into two parts D1 and D2 according to the optimal characteristic and the optimal characteristic value, and splitting the current node at the same time, wherein the sample set of the left node is D1, and the sample set of the right node is D2;
4) calling the left and right child nodes in a recursive manner in steps 1) -3) to generate a decision tree;
5) generating decision trees with various pruning effects based on the decision trees generated in the steps 1) -4), then testing the various pruning effects by using cross validation, and selecting the pruned decision tree with the best generalization prediction capability as a final CART tree.
After the address classification model is obtained through training, the address classification model is adopted to classify the bit currency addresses in the address set, and the address category to which each bit currency belongs can be determined. Wherein the address categories include a cold wallet address, a hot wallet address, and a top-up wallet address.
The method comprises the steps of acquiring transaction information on a bitcoin blockchain, and acquiring a plurality of initial addresses according to the transaction information; constructing a bitcoin transfer network of each initial address based on the transaction information; clustering addresses in the bitcoin transfer network based on a preset initiation rule to obtain an address set of each initial address; and classifying the bit currency addresses in the address set through a preset address classification model to obtain the category of the bit currency addresses in the address set. Compared with the prior art, the method has the advantages of less dependence on resources, no need of manual data marking, simple process of feature extraction and wide application range.
Referring to fig. 4, fig. 4 is a block diagram illustrating a bitcoin address mining apparatus of a digital currency exchange according to an embodiment of the present invention.
The invention provides a bit currency address mining device of a digital currency exchange, which specifically comprises the following steps:
an initial address obtaining module 401, configured to obtain transaction information on a bitcoin blockchain, and obtain multiple initial addresses according to the transaction information; the initial address is the address with the most bit coins;
a bitcoin transfer network construction module 402, configured to construct a bitcoin transfer network for each initial address based on the transaction information;
a clustering module 403, configured to cluster addresses in the bitcoin transfer network based on a preset heuristic rule to obtain an address set of each initial address; wherein the addresses in the address set belong to the same digital currency exchange;
the classification module 404 is configured to train an address classification model, and classify the bit currency addresses in the address set through the address classification model to obtain the category of the bit currency addresses in the address set.
In this embodiment of the present invention, the bitcoin transfer network constructing module 402 includes:
and the bit coin transfer network construction submodule is used for constructing the bit coin transfer network of each initial address by adopting a breadth-first search algorithm based on the transaction information.
In the embodiment of the present invention, the presetting of the heuristic rule includes: address clustering heuristic based on multiple input transactions or address clustering heuristic based on change addresses.
In an embodiment of the present invention, the classification module 404 includes:
the training characteristic construction submodule is used for extracting the historical transaction records of the bitcoin addresses in the address set and constructing training characteristics according to the historical transaction records;
the normalization submodule is used for performing normalization processing on the training characteristics to obtain normalized characteristics;
the address classification model generation submodule is used for training a preset initial address classification model by adopting the normalized features to obtain an address classification model;
and the classification submodule is used for classifying the bit currency addresses in the address set through the address classification model to obtain the classes of the bit currency addresses in the address set.
The invention also provides an electronic device comprising a processor and a memory:
the memory is used for storing the program codes and transmitting the program codes to the processor;
the processor is configured to perform the bitcoin address mining method of the digital currency exchange of an embodiment of the present invention according to instructions in the program code.
The present invention also provides a computer-readable storage medium for storing program code for performing the bitcoin address mining method of the digital money exchange of the embodiments of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1.一种数字货币交易所的比特币地址挖掘方法,其特征在于,包括:1. A bitcoin address mining method of a digital currency exchange, characterized in that, comprising: 获取比特币区块链上的交易信息,根据所述交易信息获取多个初始地址;所述初始地址为拥有比特币最多的地址;Obtain transaction information on the Bitcoin blockchain, and obtain multiple initial addresses according to the transaction information; the initial address is the address with the most bitcoins; 基于所述交易信息,构建每个所述初始地址的比特币转移网络;constructing a bitcoin transfer network for each of the initial addresses based on the transaction information; 基于预设启发式规则,对所述比特币转移网络中的地址进行聚类,得到每个所述初始地址的地址集合;其中,所述地址集合中的地址归属于同一个数字货币交易所;Based on preset heuristic rules, the addresses in the bitcoin transfer network are clustered to obtain an address set of each initial address; wherein, the addresses in the address set belong to the same digital currency exchange; 训练地址分类模型,通过所述地址分类模型对所述地址集合中的比特币地址进行分类,得到所述地址集合中的比特币地址的类别。An address classification model is trained, and the bitcoin addresses in the address set are classified by the address classification model to obtain the category of the bitcoin addresses in the address set. 2.根据权利要求1所述的方法,其特征在于,所述基于所述交易信息,构建每个所述初始地址的比特币转移网络的步骤,包括:2. The method according to claim 1, wherein the step of constructing a bitcoin transfer network for each of the initial addresses based on the transaction information comprises: 基于所述交易信息,采用基于广度优先搜索算法,构建每个所述初始地址的比特币转移网络。Based on the transaction information, a breadth-first search algorithm is used to construct a bitcoin transfer network for each of the initial addresses. 3.根据权利要求1所述的方法,其特征在于,所述预设启发式规则包括:基于多输入交易的地址聚类启发式规则或基于找零地址的地址聚类启发式规则。3 . The method according to claim 1 , wherein the preset heuristic rules comprise: address clustering heuristic rules based on multi-input transactions or address clustering heuristic rules based on change addresses. 4 . 4.根据权利要求1所述的方法,其特征在于,所述训练地址分类模型,通过所述地址分类模型对所述地址集合中的比特币地址进行分类,得到所述地址集合中的比特币地址的类别的步骤,包括:4 . The method according to claim 1 , wherein, in the training address classification model, the bitcoin addresses in the address set are classified by the address classification model to obtain the bitcoin addresses in the address set. 5 . The steps to address the category include: 提取所述地址集合中的比特币地址的历史交易记录,并根据所述历史交易记录构造训练特征;Extracting the historical transaction records of the bitcoin addresses in the address set, and constructing training features according to the historical transaction records; 对所述训练特征进行归一化处理,得到归一化特征;Normalize the training features to obtain normalized features; 采用所述归一化特征训练预设初始地址分类模型,得到地址分类模型;Using the normalized feature to train a preset initial address classification model to obtain an address classification model; 通过所述地址分类模型对所述地址集合中的比特币地址进行分类,得到所述地址集合中的比特币地址的类别。Classify the bitcoin addresses in the address set by using the address classification model to obtain the category of the bitcoin addresses in the address set. 5.一种数字货币交易所的比特币地址挖掘装置,其特征在于,包括:5. A bitcoin address mining device of a digital currency exchange, characterized in that it comprises: 初始地址获取模块,用于获取比特币区块链上的交易信息,根据所述交易信息获取多个初始地址;所述初始地址为拥有比特币最多的地址;an initial address obtaining module, used to obtain transaction information on the Bitcoin blockchain, and obtain a plurality of initial addresses according to the transaction information; the initial address is the address with the most bitcoins; 比特币转移网络构建模块,用于基于所述交易信息,构建每个所述初始地址的比特币转移网络;a bitcoin transfer network building module, configured to construct a bitcoin transfer network for each of the initial addresses based on the transaction information; 聚类模块,用于基于预设启发式规则,对所述比特币转移网络中的地址进行聚类,得到每个所述初始地址的地址集合;其中,所述地址集合中的地址归属于同一个数字货币交易所;A clustering module, configured to cluster addresses in the Bitcoin transfer network based on preset heuristic rules, to obtain an address set of each of the initial addresses; wherein, the addresses in the address set belong to the same a digital currency exchange; 分类模块,用于训练地址分类模型,通过所述地址分类模型对所述地址集合中的比特币地址进行分类,得到所述地址集合中的比特币地址的类别。The classification module is used for training an address classification model, and classifies the bitcoin addresses in the address set by using the address classification model to obtain the category of the bitcoin addresses in the address set. 6.根据权利要求5所述的装置,其特征在于,所述比特币转移网络构建模块,包括:6. The device according to claim 5, wherein the Bitcoin transfer network building module comprises: 比特币转移网络构建子模块,用于基于所述交易信息,采用基于广度优先搜索算法,构建每个所述初始地址的比特币转移网络。The bitcoin transfer network construction sub-module is configured to construct a bitcoin transfer network for each of the initial addresses based on the transaction information and a breadth-first search algorithm. 7.根据权利要求5所述的装置,其特征在于,所述预设启发式规则包括:基于多输入交易的地址聚类启发式规则或基于找零地址的地址聚类启发式规则。7 . The device according to claim 5 , wherein the preset heuristic rules comprise: address clustering heuristic rules based on multi-input transactions or address clustering heuristic rules based on change addresses. 8 . 8.根据权利要求5所述的装置,其特征在于,所述分类模块,包括:8. The device according to claim 5, wherein the classification module comprises: 训练特征构造子模块,用于提取所述地址集合中的比特币地址的历史交易记录,并根据所述历史交易记录构造训练特征;A training feature construction submodule, used to extract the historical transaction records of the bitcoin addresses in the address set, and construct training features according to the historical transaction records; 归一化子模块,用于对所述训练特征进行归一化处理,得到归一化特征;a normalization sub-module, which is used to perform normalization processing on the training features to obtain normalized features; 地址分类模型生成子模块,用于采用所述归一化特征训练预设初始地址分类模型,得到地址分类模型;The address classification model generation submodule is used to train a preset initial address classification model by using the normalized feature to obtain an address classification model; 分类子模块,用于通过所述地址分类模型对所述地址集合中的比特币地址进行分类,得到所述地址集合中的比特币地址的类别。The classification submodule is configured to classify the bitcoin addresses in the address set by using the address classification model to obtain the category of the bitcoin addresses in the address set. 9.一种电子设备,其特征在于,所述设备包括处理器以及存储器:9. An electronic device, characterized in that the device comprises a processor and a memory: 所述存储器用于存储程序代码,并将所述程序代码传输给所述处理器;the memory is used to store program code and transmit the program code to the processor; 所述处理器用于根据所述程序代码中的指令执行权利要求1-4任一项所述的数字货币交易所的比特币地址挖掘方法。The processor is configured to execute the bitcoin address mining method of the digital currency exchange according to any one of claims 1-4 according to the instructions in the program code. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储程序代码,所述程序代码用于执行权利要求1-4任一项所述的数字货币交易所的比特币地址挖掘方法。10. A computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and the program codes are used to execute the digital currency exchange according to any one of claims 1-4. Bitcoin address mining method.
CN202110013889.7A 2021-01-06 2021-01-06 Bit currency address mining method and device for digital currency exchange Pending CN112801784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110013889.7A CN112801784A (en) 2021-01-06 2021-01-06 Bit currency address mining method and device for digital currency exchange

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110013889.7A CN112801784A (en) 2021-01-06 2021-01-06 Bit currency address mining method and device for digital currency exchange

Publications (1)

Publication Number Publication Date
CN112801784A true CN112801784A (en) 2021-05-14

Family

ID=75808665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110013889.7A Pending CN112801784A (en) 2021-01-06 2021-01-06 Bit currency address mining method and device for digital currency exchange

Country Status (1)

Country Link
CN (1) CN112801784A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177784A (en) * 2021-05-31 2021-07-27 清华大学 Address type identification method and device
CN114022281A (en) * 2021-11-08 2022-02-08 北京理工大学 Block chain digital currency address correlation system and method
CN114358101A (en) * 2021-09-06 2022-04-15 成都链安科技有限公司 Virtual currency exchange name identification method and device based on transaction opponent matching
CN114386966A (en) * 2021-12-30 2022-04-22 江苏通付盾科技有限公司 A deep learning-based identification method for blockchain encrypted currency addresses
CN114819968A (en) * 2022-03-25 2022-07-29 杭州趣链科技有限公司 Transaction address analysis and query method, system, device, equipment and storage medium
CN115174493A (en) * 2022-04-12 2022-10-11 北京理工大学 Bit currency node detection method based on multithreading pipeline technology

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918584A (en) * 2019-03-25 2019-06-21 中国科学院自动化研究所 Bitcoin exchange address identification method, system and device
CN111444232A (en) * 2020-01-03 2020-07-24 上海宓猿信息技术有限公司 Method for mining digital currency exchange address and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918584A (en) * 2019-03-25 2019-06-21 中国科学院自动化研究所 Bitcoin exchange address identification method, system and device
CN111444232A (en) * 2020-01-03 2020-07-24 上海宓猿信息技术有限公司 Method for mining digital currency exchange address and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177784A (en) * 2021-05-31 2021-07-27 清华大学 Address type identification method and device
CN113177784B (en) * 2021-05-31 2022-05-03 清华大学 Address type identification method and device
CN114358101A (en) * 2021-09-06 2022-04-15 成都链安科技有限公司 Virtual currency exchange name identification method and device based on transaction opponent matching
CN114022281A (en) * 2021-11-08 2022-02-08 北京理工大学 Block chain digital currency address correlation system and method
CN114386966A (en) * 2021-12-30 2022-04-22 江苏通付盾科技有限公司 A deep learning-based identification method for blockchain encrypted currency addresses
CN114819968A (en) * 2022-03-25 2022-07-29 杭州趣链科技有限公司 Transaction address analysis and query method, system, device, equipment and storage medium
CN115174493A (en) * 2022-04-12 2022-10-11 北京理工大学 Bit currency node detection method based on multithreading pipeline technology
CN115174493B (en) * 2022-04-12 2023-07-14 北京理工大学 A Bitcoin node detection method based on multi-thread pipeline technology

Similar Documents

Publication Publication Date Title
CN112801784A (en) Bit currency address mining method and device for digital currency exchange
EP3985578A1 (en) Method and system for automatically training machine learning model
AU2021218110B2 (en) Learning from distributed data
CN113095927B (en) Method and equipment for identifying suspected transactions of backwashing money
CN109918584A (en) Bitcoin exchange address identification method, system and device
CN113657896A (en) A method and device for analyzing topological graph of blockchain transactions based on graph neural network
CN113052577B (en) Class speculation method and system for block chain digital currency virtual address
CN111160959B (en) User click conversion prediction method and device
CN113537960B (en) Determination method, device and equipment for abnormal resource transfer link
CN115409518A (en) User transaction risk warning method and device
CN113538154A (en) Risk object identification method and device, storage medium and electronic equipment
CN112990989A (en) Value prediction model input data generation method, device, equipment and medium
CN117993910A (en) Verification method and related device for abnormal transaction response strategy
CN119272210A (en) A transaction chain classification method and system based on graph neural network
WO2025161305A1 (en) Sensitive-information identification method and apparatus, and electronic device and storage medium
CN112069392B (en) Method and device for preventing and controlling network-related crime, computer equipment and storage medium
CN114239697A (en) Classification method, device, electronic device and storage medium of target object
CN114358101B (en) Method and device for identifying virtual currency exchange names based on counterparty matching
CN113988878B (en) Graph database technology-based anti-fraud method and system
CN116805039A (en) Feature screening method, device, computer equipment and data disturbance method
CN113919447B (en) Digital asset transaction management method and system based on DNA molecular encryption and LightGBM algorithm
CN115952468A (en) Feature processing method, device, equipment and computer storage medium
Macingwane et al. Investigating frequent pattern-based models for improving community policing in south Africa
CN115205025A (en) Risk account identification method and device, computer equipment and storage medium
CN116664290A (en) Blockchain digital currency gambling transaction identification method and system based on rule matching

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210514

RJ01 Rejection of invention patent application after publication