Label determination method and device for bitcoin transaction address

By combining a common input heuristic method and data source evaluation metrics, and employing multi-dimensional label storage and dynamic scoring algorithms, the accuracy problem of Bitcoin transaction address label judgment was solved, and the true identity of Bitcoin transaction addresses was realized.

CN115239488BActive Publication Date: 2026-11-27BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210567247.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-23
Publication Date
2026-11-27
Estimated Expiration
2042-05-23

AI Technical Summary

Technical Problem

Existing methods for identifying Bitcoin transaction address tags have low accuracy, especially when faced with conflicts between multiple source tags, making it difficult to accurately identify the true identity.

Method used

We employ a common input heuristic to calculate label accuracy, combine data source evaluation metrics to calculate data source scores, and use a multi-dimensional label storage structure and a dynamic label scoring algorithm to determine the label with the highest score as the trusted label.

Benefits of technology

It improves the accuracy of Bitcoin transaction address label identification, effectively resolves label conflicts, and accurately identifies the true identity of Bitcoin transaction addresses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115239488B_ABST
    Figure CN115239488B_ABST
Patent Text Reader

Abstract

The application discloses a label judgment method and device for a bitcoin transaction address, and the method comprises the following steps: for a bitcoin transaction address with multiple labels, the accuracy of each label is calculated based on a common input heuristic method; all data sources providing labels for the bitcoin transaction address are determined; for each label, the data source score of the label is calculated according to the evaluation indexes of the data sources; the score of each label is calculated according to the accuracy and the data source score of each label; and the label with the highest score is judged as the trusted label of the bitcoin transaction address. The application can improve the accuracy of label judgment for the bitcoin transaction address and achieve the purpose of real identity recognition of the bitcoin transaction address.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method and apparatus for determining the label of a Bitcoin transaction address. Background Technology

[0002] Labeling anonymous transaction addresses in Bitcoin transactions allows for the identification of anonymous users. Currently, the primary method for labeling transaction addresses is through Bitcoin address clustering for transaction-level identity tracing. Heuristics are used to group multiple Bitcoin addresses belonging to the same entity into a single address cluster. Commonly used methods for transaction address clustering in Bitcoin transactions include common input methods and heuristics based on change addresses.

[0003] For example, using a common input method can identify multi-input transactions, clustering the transaction addresses of multiple inputs of a multi-input transaction into a cluster as the transaction addresses of the same user.

[0004] However, in reality, there are many conflicts in the digital currency address tags collected from the Internet environment, and the system described above does not support the resolution of conflicts between multiple source tags for the same address.

[0005] Existing technologies have proposed a truth discovery algorithm for multi-source fusion data. This algorithm divides data sources into two types: mutually independent and mutually related. Based on the dataset with known truth values, it calculates parameters such as precision, recall, and false positive rate for each data source. Based on Bayesian rules, it derives a probability formula for calculating the truth of each data point and calculates the credibility of the data in multiple public datasets.

[0006] The inventors of this invention have discovered that most existing truth discovery algorithms rely on the quality of data sources to determine the labels of Bitcoin transaction addresses, resulting in low accuracy. Summary of the Invention

[0007] In view of this, the purpose of this invention is to provide a method and apparatus for determining the label of a Bitcoin transaction address, so as to improve the accuracy of determining the label of a Bitcoin transaction address.

[0008] To achieve the above objectives, the present invention provides a method for determining the label of a Bitcoin transaction address, comprising: For a Bitcoin transaction address with multiple labels, the accuracy of each label is calculated based on a common input heuristic. Identify all data sources that provide labels for the Bitcoin transaction addresses; For each tag, calculate the data source score for that tag based on the evaluation metrics of each data source; Calculate a score for each tag based on its accuracy and the data source score; The highest-rated tag is identified as the trustworthy tag for that Bitcoin transaction address. Specifically, the accuracy calculation for each tag based on the common input heuristic method includes: Find the common input addresses of this Bitcoin transaction address and count the number of common input addresses. ; For each tag, count the number of addresses in the common input address that are labeled with that tag. And based on the statistical quantity and The ratio determines the accuracy of the label.

[0009] Specifically, calculating the data source score for the tag based on the evaluation metrics of each data source includes: For each data source, calculate the score based on whether the data source provides the tag and the data source's evaluation metrics; The scores from each data source are multiplied together to obtain the data source score for that label.

[0010] Specifically, calculating the score of the data source based on whether the data source provides the tag and the data source's evaluation metrics includes: If the data source is the one that provides this tag, then the score for that data source is calculated as follows: / Otherwise, the score for this data source is calculated as (1- ) / (1- ); in, , These represent the recall rate and false positive rate in the evaluation metrics of this data source, respectively.

[0011] The present invention also provides a device for determining the label of a Bitcoin transaction address, comprising: The label accuracy calculation module is used to calculate the accuracy of each label for a Bitcoin transaction address with multiple labels based on a common input heuristic method. The tag data source score calculation module is used to identify all data sources that provide tags for the Bitcoin transaction address; and for each tag, to calculate the data source score for that tag based on the evaluation metrics of each data source. The tag scoring module is used to calculate the score for each tag based on its accuracy and the data source score. The trusted label determination module is used to determine the highest-rated label as the trusted label for the Bitcoin transaction address.

[0012] The present invention also provides an electronic device, including a central processing unit, a signal processing and storage unit, and a computer program stored on the signal processing and storage unit and executable on the central processing unit, wherein the central processing unit executes the Bitcoin transaction address tag determination method as described above.

[0013] In the technical solution of this invention, for a Bitcoin transaction address with multiple tags, the accuracy of each tag is calculated based on a common input heuristic method; all data sources providing tags for the Bitcoin transaction address are identified; for each tag, a data source score is calculated based on the evaluation metrics of each data source; a score is calculated for each tag based on its accuracy and data source score; and the tag with the highest score is identified as a trustworthy tag for the Bitcoin transaction address. Therefore, addressing the problem of numerous tag conflicts in open-source information collection, this invention integrates truth-finding algorithms with the characteristics of Bitcoin transaction addresses. It scores each address tag based on parameters such as the quality of the tag data source and the number of common input tags; and labels the tag with the highest score as a trustworthy tag for the Bitcoin transaction address, thereby improving the accuracy of Bitcoin transaction address tagging and achieving the goal of verifying the true identity of the Bitcoin transaction address. Attached Figure Description

[0014] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0015] Figure 1 A flowchart illustrating a method for determining the label of a Bitcoin transaction address provided in an embodiment of the present invention; Figure 2 A flowchart illustrating a method for calculating evaluation metrics of a data source, provided in an embodiment of the present invention; Figure 3 An internal structural block diagram of a Bitcoin transaction address label determination device provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0016] The implementation of each embodiment of this application complies with the relevant laws, regulations, and provisions of the applicable countries or regions. To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments and the accompanying drawings.

[0017] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this invention should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0018] The inventors of this invention have discovered that most existing truth discovery algorithms are based on the quality of the data source, calculating parameters such as the recall rate and false positive rate of the data source to evaluate the correctness of the data, without combining the characteristics of the data itself for evaluation. Therefore, the accuracy of identifying the labels of Bitcoin transaction addresses is low.

[0019] Tag collection based on open-source information suffers from numerous tag conflicts. To address this, the present invention designs a tag scoring algorithm that integrates the characteristics of truth discovery algorithms and Bitcoin transaction addresses. Based on parameters such as the quality of the tag data source and the number of common input tags, each address tag is scored. The tag with the highest score is designated as the trusted tag for the Bitcoin transaction address, thereby improving the accuracy of Bitcoin transaction address tagging and achieving the goal of verifying the true identity of Bitcoin transaction addresses.

[0020] The technical solutions of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0021] Because the same Bitcoin transaction address may belong to different entities in different dimensions—for example, a user on a social media platform might use an address from a trading platform—it is necessary to annotate the address in multiple dimensions. The core idea of ​​this example is to store the raw tags collected from open-source information and events in multiple dimensions, thereby accurately characterizing the entity to which the address belongs in each dimension.

[0022] Since the raw tags collected from various open-source information sources contain a large number of address tags with different dimensions, this invention designs a multi-dimensional tag storage structure. Based on the different types of address tag descriptions, the address tags are stored according to the following dimensions: Platform dimension: A description of a Bitcoin transaction address at the platform level, such as whether the address belongs to a certain digital currency trading platform or a certain trading market.

[0023] User dimension: Description of Bitcoin transaction addresses at the user level on social platforms, such as an address for a social platform or communication software account, or an email account, etc.

[0024] Mining Pool Dimension: A description of a Bitcoin transaction address at the mining pool level, such as whether the address belongs to a certain cryptocurrency mining pool.

[0025] Other dimensions: Tags for Bitcoin transaction addresses other than platform, user, and mining pool dimensions, such as fraudulent services.

[0026] The same Bitcoin transaction address may have different dimensions of tags, which is called multi-dimensional tags.

[0027] This invention designs a method for labeling and using Bitcoin address transactions based on a multi-dimensional label structure and a dynamic label scoring algorithm. It can score Bitcoin address labels based on information such as the source of label data and common input address labels. When the same address has multiple labels, it can accurately describe and resolve conflicts to determine the most credible label.

[0028] Tagging based on open-source information collection suffers from numerous tag conflicts. To address this, this invention provides a tag determination method for Bitcoin transaction addresses. This method integrates truth discovery algorithms with the characteristics of Bitcoin transaction addresses, scoring each address tag based on parameters such as the quality of the tag data source and the number of common input tags. When an address has multiple tags in the same dimension, this method determines the trustworthiness of the address's tags. The specific process of this method is as follows: Figure 1 As shown, it includes the following steps: Step S101: For a Bitcoin transaction address with multiple labels, calculate the accuracy of each label based on a common input heuristic.

[0029] In this step, we find the common input addresses of the Bitcoin transaction address and count the number of common input addresses. For each label, count the number of addresses in the common input address set that are labeled with that label. And based on the statistical quantity and The ratio determines the accuracy of the label.

[0030] Specifically, the Bitcoin transaction address is used as the target address. All Bitcoin transactions with the target address as input are searched. From the searched Bitcoin transactions, all other Bitcoin transaction addresses that have been input with the target address are extracted as the common input addresses of the target address.

[0031] The number of common input addresses is denoted as For a label of a target address, the number of addresses with the same label among the common input addresses is denoted as . Then the common input weight of the label is calculated as follows: This serves as the accuracy of the label; If the target address has no common input address, or if all common input addresses are unlabeled, then the accuracy of each label of the target address is set to 1. =1.

[0032] Step S102: For each tag, calculate the data source score for that tag based on the evaluation metrics of each data source.

[0033] In this step, all data sources that provide tags for the Bitcoin transaction address are identified. For any one of these data sources, its score is calculated as follows: For each tag of the Bitcoin transaction address, it is determined whether the data source has provided information for that tag. Based on whether the data source has provided the tag for the Bitcoin transaction address and the data source's evaluation metrics, the data source's score is calculated: If the data source has provided the tag for the Bitcoin transaction address, then the data source's score is calculated as follows: / Otherwise, the score for this data source is calculated as (1- ) / (1- );in, , These represent the recall rate and false positive rate in the evaluation metrics of this data source, respectively.

[0034] Then, the scores from each data source are multiplied together to obtain the data source score μ for this label, as shown in Formula 1: (Formula 1) in, S i Indicates the first i One data source, S t This represents the set of data sources that provided the label for the stated Bitcoin transaction address. This indicates the set of data sources among all identified data sources that do not provide this label for the stated Bitcoin transaction address; , Representing data sources respectively S i Recall rate and false alarm rate.

[0035] Step S103: Calculate the score for each tag based on the accuracy of each tag and the data source score.

[0036] In this step, for each tag, the score for that tag is calculated according to the following formula 2: (Formula 2) in, This indicates the rating of the tag. This indicates the data source score for this label. This indicates the accuracy of the label, where α is the set probability threshold.

[0037] Step S104: Determine the highest-rated tag as the trusted tag of the Bitcoin transaction address.

[0038] In this step, the tags are sorted according to their ratings, and the tag with the highest rating is identified as a trustworthy tag for the Bitcoin transaction address.

[0039] The evaluation metrics for the above data sources can be calculated using the following method, the specific process of which is as follows: Figure 2 As shown, it includes the following steps: Step S201: For each data source, select the dataset used to calculate the evaluation metrics for that data source; In this step, for each data source, N Bitcoin transaction addresses are randomly selected from that data source. For each selected Bitcoin transaction address, an API (Application Programming Interface) is used to obtain the tags labeled by a public blockchain explorer (e.g., OkLink) for that Bitcoin transaction address. The selected Bitcoin transaction addresses and their tags are used as the dataset for that data source.

[0040] Those skilled in the art can set the value of N based on experience, for example, setting N=100.

[0041] Step S202: Based on the selected dataset, calculate the evaluation metrics for each data source; In this step, based on the selected dataset, the evaluation metrics for each data source are calculated; the evaluation metrics for the data source may include three metrics: precision, recall, and false positive rate (FPR). Specifically, no. i Data sources S i Evaluation metrics: accuracy ;in, TP This indicates the data source S i The number of correct data in the dataset; TP + FP This indicates the total number of data points in the dataset; No. i Data sources S iEvaluation metrics: Recall rate ;in, TP + FN This indicates the number of correct data points in the dataset across all data sources. No. i Data sources S i Evaluation metrics: False alarm rate ; When the data source label information is updated, the dataset is reselected and the evaluation metrics of the data source are calculated.

[0042] Based on the above-described method for determining the label of a Bitcoin transaction address, this embodiment of the invention provides a device for determining the label of a Bitcoin transaction address, the internal structure of which is as follows: Figure 3 As shown, it includes: a tag accuracy calculation module 301, a tag data source score calculation module 302, a tag scoring module 303, and a trustworthy tag judgment module 304; The label accuracy calculation module 301 is used to calculate the accuracy of each label for a Bitcoin transaction address with multiple labels based on a common input heuristic method. Specifically, the label accuracy calculation module 301 finds the common input addresses of the Bitcoin transaction address and counts the number of common input addresses. For each label, count the number of addresses in the common input address set that are labeled with that label. And based on the statistical quantity and The ratio determines the accuracy of the label.

[0043] The tag data source score calculation module 302 is used to determine all data sources that provide tags for the Bitcoin transaction address; and for each tag, calculate the data source score for that tag based on the evaluation indicators of each data source; specifically, the tag data source score calculation module 302 determines all data sources that provide tags for the Bitcoin transaction address; then, for each tag, for each data source, calculate the score of that data source based on whether that data source provides the tag and the evaluation indicators of that data source; and multiply the scores of each data source together to obtain the data source score for that tag.

[0044] The tag scoring module 303 is used to calculate the score of each tag based on the accuracy of each tag and the data source score; specifically, the tag scoring module 303 can calculate the tag score according to the above formula 2.

[0045] The trusted label determination module 304 is used to determine the highest-rated label as the trusted label of the Bitcoin transaction address.

[0046] The implementation methods of each module in the aforementioned Bitcoin transaction address tagging device can be found in the above description.Figure 1 The methods used in each step of the process shown will not be repeated here.

[0047] Figure 4 This embodiment illustrates a more specific hardware structure of an electronic device. The device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0048] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the Bitcoin transaction address tag determination method provided in the embodiments of this specification.

[0049] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0050] The input / output interface 1030 is used to connect input / output modules, which can be connected to a nonlinear receiver to receive information and realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0051] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0052] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0053] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0054] In the technical solution of this invention, for a Bitcoin transaction address with multiple tags, the accuracy of each tag is calculated based on a common input heuristic method; all data sources providing tags for the Bitcoin transaction address are identified; for each tag, a data source score is calculated based on the evaluation metrics of each data source; a score is calculated for each tag based on its accuracy and data source score; and the tag with the highest score is identified as a trustworthy tag for the Bitcoin transaction address. Therefore, addressing the problem of numerous tag conflicts in open-source information collection, this invention integrates truth-finding algorithms with the characteristics of Bitcoin transaction addresses. It scores each address tag based on parameters such as the quality of the tag data source and the number of common input tags; and labels the tag with the highest score as a trustworthy tag for the Bitcoin transaction address, thereby improving the accuracy of Bitcoin transaction address tagging and achieving the goal of verifying the true identity of the Bitcoin transaction address.

[0055] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0056] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure (including the claims) is limited to these examples; within the framework of this invention, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in the details for the sake of brevity.

[0057] Additionally, to simplify the description and discussion, and to avoid obscuring the invention, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the invention, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the invention will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) are set forth to describe exemplary embodiments of the invention, it will be apparent to those skilled in the art that the invention may be practiced without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0058] Although the invention has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0059] The embodiments of this invention are intended to cover all such substitutions, modifications, and variations falling within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for determining the label of a Bitcoin transaction address, characterized in that, include: For a Bitcoin transaction address with multiple labels, the accuracy of each label is calculated based on a common input heuristic, including: Find the common input addresses of the Bitcoin transaction address and count the number n of common input addresses; For each tag, count the number m of addresses labeled with that tag in the common input address, and determine the accuracy of the tag based on the ratio of the count m to n; Identify all data sources that provide labels for the Bitcoin transaction addresses; For each tag, calculate the data source score for that tag based on the evaluation metrics of each data source. Specifically, for each data source, calculate its score based on whether it provides the tag and its evaluation metrics. If the data source is the one that provides this tag, then the score for that data source is calculated as follows: / Otherwise, the score for this data source is calculated as (1- ) / (1- ); in, , These represent the recall rate and false positive rate in the evaluation metrics of this data source, respectively. Multiply the scores from each data source to obtain the data source score for that tag; Each tag's score is calculated based on its accuracy and data source score, specifically including: For each tag, calculate the tag's score according to the following formula: in, This indicates the rating of the tag. This indicates the data source score for this label. This indicates the accuracy of the label, where α is the set probability threshold. The highest-rated tag is considered a trustworthy tag for that Bitcoin transaction address.

2. A device for identifying the label of a Bitcoin transaction address, characterized in that, include: The label accuracy calculation module is used to calculate the accuracy of each label for a Bitcoin transaction address with multiple labels, based on a common input heuristic, including: Find the common input addresses of the Bitcoin transaction address and count the number n of common input addresses; For each tag, count the number m of addresses labeled with that tag in the common input address, and determine the accuracy of the tag based on the ratio of the count m to n; The tag data source score calculation module is used to identify all data sources that provide tags for the Bitcoin transaction address; and for each tag, to calculate the data source score for that tag based on the evaluation metrics of each data source, specifically including: for each data source, calculating the score of the data source based on whether the data source provides the tag and the evaluation metrics of the data source, specifically including: If the data source is the one that provides this tag, then the score for that data source is calculated as follows: / Otherwise, the score for this data source is calculated as (1- ) / (1- ); in, , These represent the recall rate and false positive rate in the evaluation metrics of this data source, respectively. Multiply the scores from each data source to obtain the data source score for that tag; The tag scoring module calculates a score for each tag based on its accuracy and data source score. Specifically, it includes: For each tag, calculate the tag's score according to the following formula: in, This indicates the rating of the tag. This indicates the data source score for this label. This indicates the accuracy of the label, where α is the set probability threshold. The trusted label determination module is used to determine the highest-rated label as the trusted label for the Bitcoin transaction address.

3. An electronic device comprising a central processing unit, a signal processing and storage unit, and a computer program stored on the signal processing and storage unit and executable on the central processing unit, characterized in that, When the central processing unit executes the program, it implements the method as described in claim 1.