A method and device for identifying entity name of digital currency transaction address

By identifying and pairing words in transaction addresses and text information, and using a language representation model to determine affiliation, the problem in the existing technology of identifying transaction address entity information from unstructured information is solved, and the recognition rate is improved.

CN114492383BActive Publication Date: 2024-09-10BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111564485.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-20
Publication Date
2024-09-10
Estimated Expiration
2041-12-20

AI Technical Summary

Technical Problem

It is difficult for existing technology to effectively identify the entity information of digital currency transaction addresses from unstructured information, resulting in a low recognition rate.

Method used

By identifying name-type words from the text information to be recognized, using regular expressions of digital currency transaction addresses for identification, and pairing the identified transaction addresses and words into the pre-trained language representation model to determine the affiliation of the word pair relationship to identify the entity name of the transaction address.

Benefits of technology

The recognition rate of identifying transaction address entity information from public information is improved, and more transaction address entity information can be identified from unstructured information, with higher identification efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114492383B
    Figure CN114492383B
Patent Text Reader

Abstract

The present invention discloses a method and device for identifying the entity name of a digital currency transaction address, the method comprising: identifying a name-type word from text information to be identified, and identifying the transaction address of the digital currency transaction from the text information using a regular expression of the digital currency transaction address; after pairing the identified transaction address with each name-type word respectively, inputting the paired word pairs and the sentences containing the pair of words into a pre-trained language representation model; after determining the word pairs with affiliation according to the output of the language representation model, identifying the name-type words in the word pairs as the entity names of the transaction addresses in the word pairs. The application of the present invention can identify more entity information of the transaction address from public information, so as to improve the recognition rate of identifying the entity information of the transaction address from public information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for identifying an entity name of a digital currency transaction address. Background Art

[0002] Anonymous transaction addresses in digital currency transactions are marked so that the true identity of anonymous users can be determined. At present, the method of marking transaction addresses mainly uses digital currency address clustering to trace the identity of the transaction layer, and uses heuristic methods to classify multiple digital currency addresses belonging to the same entity into an address cluster. At present, the most commonly used methods for clustering transaction addresses in digital currency transactions include common input methods, change address heuristic methods, etc.

[0003] In addition, information can be collected through a variety of open source information, such as public crowdsourcing websites or user information on social platforms, and entity information can be pre-marked for some transaction addresses; then, based on some addresses in the cluster that are pre-marked with entity information, other anonymous addresses in the cluster are marked, thereby achieving real-time and rapid marking of transaction addresses for a large number of new transactions and the purpose of identity recognition.

[0004] However, currently, the entity information of the transaction address can only be identified from structured language information collected from open source information; for example, the entity information of the transaction address can only be identified from structured language information such as user information on websites or social platforms; and for a large amount of unstructured information, such as news reports and events, it is impossible to identify the entity information of the valid transaction address. In other words, the current method of identifying the entity information of the transaction address from public information has a low recognition rate. Summary of the invention

[0005] In view of this, the purpose of the present invention is to propose a method and device for identifying the entity name of a digital currency transaction address, so as to improve the recognition rate of the entity information of the transaction address from public information, that is, to be able to identify more entity information of the transaction address from public information.

[0006] Based on the above purpose, the present invention provides a method for identifying the entity name of a digital currency transaction address, comprising:

[0007] Identify a word of the name type from the text information to be identified, and identify the transaction address of the digital currency transaction from the text information using a regular expression of the digital currency transaction address;

[0008] After pairing the identified transaction addresses with words of each name type, the paired word pairs and the sentences containing the paired words are input into the pre-trained language representation model;

[0009] After determining the word pairs with affiliation according to the output of the language representation model, the name-type words in the word pairs are identified as entity names of the transaction addresses in the word pairs.

[0010] 3. The language representation model is pre-trained according to the following method:

[0011] Generate multiple positive and negative training samples to form a training sample set; wherein the positive training samples include: transaction addresses and entity names marked with affiliation, and sentences including the entity name, and sentences including the transaction address; the negative training samples include: transaction addresses and entity names without affiliation marked, and sentences including the entity name, and sentences including the transaction address;

[0012] The language representation model is trained using the training sample set.

[0013] Optionally, after determining the word pair with affiliation according to the output of the language representation model, and identifying the word of the name type in the word pair as the entity name of the transaction address in the word pair, the method further includes:

[0014] Label the transaction address according to the entity name;

[0015] Obtain transaction data of newly added digital currency transactions in the digital currency blockchain;

[0016] Clustering transaction addresses in the transaction data;

[0017] For the clusters obtained by clustering, the transaction addresses in the cluster that are pre-labeled with entity names are identified, and the entity names are identified as the entity names of other transaction addresses in the cluster, and the cluster and other transaction addresses in the cluster are labeled according to the entity names.

[0018] Optionally, after determining the word pairs with affiliation according to the output of the language representation model, and identifying the words of the name type in the word pairs as the entity names of the transaction addresses in the word pairs, the method further includes: performing pairwise detection on all entity names identified as transaction addresses to determine different entity names belonging to the same entity:

[0019] For the two entity names to be detected, calculate the string similarity between them;

[0020] If the calculated similarity is greater than the threshold, it is determined that the two entity names belong to the same entity.

[0021] Optionally, after identifying the transaction address in the cluster that is pre-labeled with an entity name for the cluster obtained by clustering, identifying the entity name as the entity name of other transaction addresses in the cluster, and labeling the cluster and other transaction addresses in the cluster according to the entity name, the method further includes:

[0022] Associating different clusters labeled with the same entity name; and

[0023] Associate clusters labeled with different entity names that belong to the same entity.

[0024] The present invention also provides a device for identifying an entity name of a digital currency transaction address, comprising:

[0025] A text information parsing module, used to identify words of the name type from the text information to be identified, and identify the transaction address of the digital currency transaction from the text information using the regular expression of the digital currency transaction address;

[0026] A relationship determination module is used to pair the identified transaction address with each name type of words, and then input each pair of paired words and the sentence containing the pair of words into a pre-trained language representation model; and determine the word pairs with affiliation according to the output of the language representation model;

[0027] The entity name recognition module is used to recognize a name-type word in a word pair with a subordinate relationship as an entity name of a transaction address in the word pair.

[0028] The present invention also provides an electronic device, comprising a central processing unit, a signal processing and storage unit, and a computer program stored in the signal processing and storage unit and executable on the central processing unit, wherein the central processing unit executes the entity name identification method for a digital currency transaction address as described above.

[0029] In the technical solution of the present invention, a name-type word is identified from the text information to be identified, and the transaction address of the digital currency transaction is identified from the text information using the regular expression of the digital currency transaction address; after the identified transaction address is paired with each name-type word respectively, the paired word pair and the sentence containing the pair of words are input into the pre-trained language representation model; after the word pair with a subordinate relationship is determined according to the output of the language representation model, the name-type word in the word pair is identified as the entity name of the transaction address in the word pair. In this way, through the pre-trained language representation model, even for unstructured language and text, the subordinate relationship between the words can be identified, so that the entity information of the transaction address can be determined by judging the entity name to which the word identified as the transaction address belongs. Compared with the existing entity information of the transaction address that can only be identified through structured language, the technical solution of the present invention can identify more entity information of the transaction address from more public information, and has a higher recognition rate of the entity information of the transaction address. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 A flow chart of a method for identifying an entity name of a digital currency transaction address provided by an embodiment of the present invention;

[0032] Figure 2 A flow chart of a language representation model training method provided by an embodiment of the present invention;

[0033] Figure 3 A flow chart of a method for determining different entity names of the same entity provided by an embodiment of the present invention;

[0034] Figure 4 A flow chart of a method for marking transaction addresses of clusters obtained through clustering provided by an embodiment of the present invention;

[0035] Figure 5 A flow chart of a method for clustering transaction addresses in transaction data by combining a common input method, a coin creation transaction clustering heuristic method, and a mining pool address clustering heuristic method, provided in an embodiment of the present invention;

[0036] Figure 6 An internal structural block diagram of an entity name identification device for a digital currency transaction address provided by an embodiment of the present invention;

[0037] Figure 7 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0039] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present invention should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0040] In the technical solution of the present invention, a name-type word is identified from the text information to be identified, and the transaction address of the digital currency transaction is identified from the text information using the regular expression of the digital currency transaction address; after the identified transaction address is paired with each name-type word respectively, the paired word pair and the sentence containing the pair of words are input into the pre-trained language representation model; after the word pair with a subordinate relationship is determined according to the output of the language representation model, the name-type word in the word pair is identified as the entity name of the transaction address in the word pair. In this way, through the pre-trained language representation model, even for unstructured language and text, the subordinate relationship between the words can be identified, so that the entity information of the transaction address can be determined by judging the entity name to which the word identified as the transaction address belongs. Compared with the existing entity information of the transaction address that can only be identified through structured language, the technical solution of the present invention can identify more entity information of the transaction address from more public information, and has a higher recognition rate of the entity information of the transaction address.

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

[0042] An embodiment of the present invention provides a method for identifying an entity name of a digital currency transaction address, the process is as follows: Figure 1As shown, the following steps are included:

[0043] Step S101: identifying words of the name type from the text information to be identified;

[0044] The text information to be identified may be information extracted from open source information, such as user information on websites or social platforms, and transaction event information automatically extracted from news reports and events;

[0045] In this step, for the text information to be recognized, all periods are identified, and sentences are divided into sentences; then the information of each sentence in the text information is input into the HanLP (natural language processing) tool in turn for word segmentation, part-of-speech tagging and named entity recognition, so that the three types of words of Person (person's name), Organization (organization name), and Postal code (a combination of alphanumeric characters) are recognized as words of the name type and stored in List 1.

[0046] Preferably, in this step, the word segmentation results of the text information can be scanned, and only the words with noun parts of speech are retained and stored in list 2;

[0047] Then, for each word in List 2, determine whether it satisfies one of the following conditions; if so, store the word in List 3;

[0048] Condition 1: The term is a proper noun;

[0049] Condition 2: The term matches one of the entity names in the list of common entities for digital currency transactions;

[0050] Condition 3: the term matches one of the entity names in the knowledge base;

[0051] Each word in the list obtained by removing duplicates and merging List 1 and List 3 is used as the word of the name type finally recognized.

[0052] In addition, the words of the name type identified from the text information can be classified as entity names to be matched:

[0053] In the digital currency transaction traceability, nine types of entities are stipulated, including: illegal entities, trading platform entities, digital currency service provider entities, organization entities, ransomware entities, digital currency address entities, address fragment entities, transaction ID entities and other entities.

[0054] The entity name can be used to determine which type of entity it belongs to. The specific methods include: 1. Using address tags extracted from public intelligence sources to query trading platforms, ransomware, and organizational entities; 2. Based on a public knowledge base, entity descriptions and attribute information are extracted, and entities are classified based on the KNN classification algorithm (K nearest neighbor classification algorithm).

[0055] Step S102: using a regular expression of a digital currency transaction address to identify a transaction address of a digital currency transaction from the text information.

[0056] Step S103: After pairing the identified transaction address with the words of each name type respectively, the paired word pairs and the sentences containing the paired words are input into the pre-trained language representation model.

[0057] Specifically, for each identified transaction address, the transaction address is paired with a word of each name type respectively;

[0058] For each paired word pair, the two words of the word pair and the sentence containing the two words are input into the pre-trained language representation model.

[0059] For example, for a word pair including a transaction address and a name-type word, the transaction address and the name-type word in the word pair, as well as the sentence containing the transaction address and the sentence containing the name-type word are input into a pre-trained language representation model; the language representation model determines whether the two words in the word pair have a subordinate relationship based on the input sentence.

[0060] Step S104: after determining the word pairs with affiliation according to the output of the language representation model, the name-type words in the word pairs are identified as entity names of the transaction addresses in the word pairs.

[0061] Specifically, for a word pair determined by the language representation model to have a subordinate relationship, after the name-type word in the word pair is identified as the entity name of the transaction address in the word pair, the transaction address is labeled with the entity name.

[0062] The above language representation model is pre-trained. The specific method flow is as follows: Figure 2 As shown, the following steps are included:

[0063] Step S201: Generate a training sample set.

[0064] Generate multiple positive and negative training samples to form a training sample set;

[0065] The positive training samples include: a transaction address and an entity name marked as affiliation, and a statement including the entity name and a statement including the transaction address;

[0066] The negative training samples include: transaction addresses and entity names without affiliation annotations, as well as sentences including the entity names and sentences including the transaction addresses;

[0067] Among them, negative training samples can be training samples labeled with other relations:

[0068] Negative training samples marked with attack relations include: word pairs marked with attack relations, and sentence information containing the word pairs;

[0069] Negative training samples labeled with transaction (trans) relations include: word pairs labeled with transaction relations, and sentence information containing the word pairs;

[0070] Negative training samples marked with unknown relations include: word pairs marked with unknown relations and sentence information containing the word pairs.

[0071] Step S202: using the training sample set to train the language representation model.

[0072] In this step, the training sample set is used to train a model based on BERT (full name: Bidirectional Encoder Representation from Transformers, a pre-trained language representation model);

[0073] Specifically, the training samples in the training sample set are sequentially input into the language representation model, and the parameters of the language representation model are adjusted according to the difference between the output of the language representation model and the pre-annotated relations in the training samples.

[0074] When the number of training times reaches a set value, or the output of the language representation model has converged, the training of the language representation model is completed.

[0075] Considering that there are a lot of vague and incomplete news reports and entity information has alias problems, the technical solution of the present invention also provides a method for determining whether two entity names belong to the same entity: for all entity names identified as transaction addresses, two-by-two detections can be performed to determine different entity names belonging to the same entity. The specific method flow is as follows: Figure 3 As shown, the following steps are included:

[0076] Step S301: for two entity names to be detected, calculating the string similarity between the two;

[0077] In this step, for two entity names to be detected, the string similarity between the two is calculated, for example, the Levenshtein similarity of the strings between the two entity names is calculated.

[0078] Step S302: determine whether the calculated similarity is greater than a threshold; if so, determine that the two entity names belong to the same entity and set an association relationship between the two entity names; otherwise, execute the following step S303.

[0079] Specifically, those skilled in the art may set the threshold value based on experience, for example, the threshold value may be set to 0.7.

[0080] Step S303: query a public knowledge base (such as a WikiData knowledge base). If the public knowledge base records that one of the two entity names is an alias of the other, determine that the two entity names belong to the same entity and set an association relationship between the two entity names; otherwise, determine that the two entity names do not belong to the same entity.

[0081] Furthermore, after obtaining some transaction addresses marked with entity names, the transaction addresses for more digital currencies (such as Bitcoin) can be marked by clustering methods. The specific method flow is as follows: Figure 4 As shown, the following steps are included:

[0082] Step S401: Acquire transaction data of newly added digital currency (such as Bitcoin) transactions in the digital currency (such as Bitcoin) blockchain.

[0083] Specifically, in a digital currency (such as Bitcoin) transaction, the sender of funds is called input, and the receiver is called output. In an ordinary digital currency (such as Bitcoin) transaction, the input and output may contain one or more digital currency (such as Bitcoin) transaction addresses. The entity that uses a transaction address to trade digital currency (such as Bitcoin) may be a digital currency (such as Bitcoin) user, a trading platform, or a ransomware gang, etc. This entity may have one or more digital currency (such as Bitcoin) transaction addresses.

[0084] In an exemplary embodiment, the full node of a digital currency (such as Bitcoin) can be used to parse the latest block data and transaction data in the digital currency (such as Bitcoin) blockchain in real time and store them in a database. Specifically, the latest block data and transaction data in the digital currency (such as Bitcoin) blockchain, i.e., the transaction data of newly added digital currency (such as Bitcoin) transactions, can be regularly extracted every set time period, such as every 10 minutes.

[0085] Step S402: clustering the transaction addresses in the transaction data.

[0086] Specifically, after extracting the transaction data of the newly added digital currency transaction, in this step, the digital currency transaction data is parsed in real time, and a variety of clustering methods are applied to cluster the parsed transaction addresses. For example, a common input method and a change address heuristic method can be used for clustering.

[0087] In an exemplary embodiment, the transaction addresses in the digital currency (such as Bitcoin) transaction data can be clustered by combining the common input method, the coin creation transaction clustering heuristic method, and the mining pool address clustering heuristic method. The specific method flow is as follows: Figure 5 As shown, it includes the following sub-steps:

[0088] Sub-step S501: for each digital currency transaction in the transaction data, determining the transaction address of the input and output of the digital currency transaction;

[0089] In this sub-step, all digital currency transactions of the extracted unclustered blocks are stored in a list, and each digital currency transaction is traversed to parse out the input and output transaction addresses of the digital currency transaction.

[0090] Sub-step S502: Filter out mixed currency transactions based on the transaction characteristics of each digital currency transaction.

[0091] Specifically, if a digital currency transaction meets the following characteristics, it can be judged as a CoinJoin transaction and is not applicable to the following clustering methods:

[0092] Feature 1: The characteristics of the number of transaction addresses of input and output of the transaction: the number of input transaction addresses is not less than 2, and the number of output transactions is not less than 4, and the number of input transaction addresses is not greater than the number of output transaction addresses, and not less than 1 / 2 of the number of output transaction addresses;

[0093] Feature 2: Transaction output address feature: The output transaction address does not contain an OP_RETURN (Bitcoin note information) type address, and the output transaction address does not contain a SatoshiDice (Dice Network) type address; and there is at least one set of outputs with the same output value, and the number of outputs with the same maximum output value must be less than or equal to the number of inputs;

[0094] Feature 3: Transaction input and output value feature: The sum of the number of elements in the set of outputs with the same output value is greater than 50% of the total number of inputs.

[0095] After filtering out mixed currency transactions, cluster the transaction addresses of other digital currency transactions:

[0096] Sub-step S503: Traverse each digital currency transaction of other digital currency transactions.

[0097] In this sub-step, after filtering out CoinJoin transactions, the remaining digital currency transactions are traversed and the transaction addresses are clustered according to the following sub-steps:

[0098] Sub-step S504: If the currently traversed digital currency transaction is determined to be a coin creation transaction, the output transaction addresses of the digital currency transaction are clustered into the same cluster;

[0099] Sub-step S505: Determine whether the currently traversed digital currency transaction is a single-input transaction. If so, execute sub-step S506; otherwise, execute the following sub-step S507.

[0100] Sub-step S506: If the currently traversed digital currency transaction is a single-input transaction, after determining that the input transaction address of the digital currency transaction does not belong to any existing cluster, a new cluster including the transaction address is created; then directly jump to sub-step S510.

[0101] Sub-step S507: If the currently traversed digital currency transaction is determined to be a multi-input transaction, further determine how many of the input transaction addresses belong to existing clusters; if it is determined that one of the input transaction addresses belongs to an existing cluster, and the other transaction addresses do not belong to any existing cluster, execute the following sub-step S508; if it is determined that multiple transaction addresses of the input transaction addresses belong to multiple existing clusters, execute the following sub-step S509; in other cases, directly execute sub-step S510;

[0102] Sub-step S508: If the currently traversed digital currency transaction is determined to be a multi-input transaction, and it is determined that one of the transaction addresses input belongs to an existing cluster, and the other transaction addresses do not belong to any existing cluster, then the other transaction addresses input are added to the cluster; then jump directly to sub-step S510.

[0103] Sub-step S509: If the currently traversed digital currency transaction is determined to be a multi-input transaction, and there are multiple transaction addresses among the input transaction addresses that belong to multiple existing clusters, then the multiple existing clusters are merged, and the other input transaction addresses are added to the merged cluster; then jump directly to sub-step S510.

[0104] Sub-step S510: If the number of transaction addresses output by the currently traversed digital currency transaction is greater than or equal to the set value, and there is a transaction address with an entity name marked as a mining pool tag, then the transaction addresses output are clustered into the same cluster.

[0105] Step S403: for the clusters obtained by clustering, identifying the transaction addresses in the clusters that are pre-labeled with entity names, and labeling other transaction addresses in the clusters according to the entity names of the identified transaction addresses.

[0106] In this step, the clustering results are used to find the transaction addresses pre-labeled with entity names, that is, the cluster of transaction addresses labeled with original labels, and determine whether the cluster is an exchange or service address cluster or a user's wallet address cluster based on the original labels. The address cluster is then labeled to achieve the labeling of other anonymous transaction addresses in the cluster; thus, based on the entity names labeled with the transaction addresses, the true identities of the transaction addresses in the cluster can be accurately determined.

[0107] Step S404: associating different clusters labeled with the same entity name; and associating clusters labeled with different entity names belonging to the same entity.

[0108] Based on the above-mentioned entity name identification method of digital currency transaction address, an embodiment of the present invention provides an entity name identification device for digital currency transaction address, whose internal structure is as follows: Figure 6 As shown, it includes: a text information parsing module 601, a relationship determination module 602, and an entity name recognition module 603;

[0109] The text information parsing module 601 is used to identify a name-type word from the text information to be identified, and identify a transaction address of a digital currency transaction from the text information using a regular expression of a digital currency transaction address;

[0110] The relationship determination module 602 is used to pair the identified transaction address with each word of the name type, and then input each pair of words and the sentence containing the pair of words into a pre-trained language representation model; and determine the word pairs with affiliation according to the output of the language representation model;

[0111] The entity name identification module 603 is used to identify a word of the name type in a word pair having a subordinate relationship as an entity name of a transaction address in the word pair.

[0112] Furthermore, the entity name recognition device for a digital currency transaction address provided by an embodiment of the present invention may also include: a model training module 604.

[0113] The model training module 604 is used to train the language representation model using the training sample set; wherein the positive training samples in the training sample set include: transaction addresses and entity names marked with affiliation, and sentences including the entity name, and sentences including the transaction address; the negative training samples in the training sample set include: transaction addresses and entity names without affiliation marked, and sentences including the entity name, and sentences including the transaction address.

[0114] The implementation method of the functions of each module in the above-mentioned digital currency transaction address marking device can refer to the above-mentioned Figure 1 , 2 The methods in each step of the process shown in , 3, 4, and 5 will not be repeated here.

[0115] Figure 7 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and 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, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0116] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the entity name identification method of the digital currency transaction address provided in the embodiments of this specification.

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

[0118] The input / output interface 1030 is used to connect the input / output module, and can be connected to the nonlinear receiver to receive information from the nonlinear receiver to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator light, etc.

[0119] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0120] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0121] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0122] In the technical solution of the present invention, a name-type word is identified from the text information to be identified, and the transaction address of the digital currency transaction is identified from the text information using the regular expression of the digital currency transaction address; after the identified transaction address is paired with each name-type word respectively, the paired word pair and the sentence containing the pair of words are input into the pre-trained language representation model; after the word pair with a subordinate relationship is determined according to the output of the language representation model, the name-type word in the word pair is identified as the entity name of the transaction address in the word pair. In this way, through the pre-trained language representation model, even for unstructured language and text, the subordinate relationship between the words can be identified, so that the entity information of the transaction address can be determined by judging the entity name to which the word identified as the transaction address belongs. Compared with the existing entity information of the transaction address that can only be identified through structured language, the technical solution of the present invention can identify more entity information of the transaction address from more public information, and has a higher recognition rate of the entity information of the transaction address.

[0123] Computer-readable media of embodiments include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, modules of programs, 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), erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0124] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Within the scope of the present invention, the above embodiments or technical features in different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.

[0125] In addition, to simplify the description and discussion, and in order not to obscure the present invention, known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the devices may be shown in the form of block diagrams to avoid obscuring the present invention, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the present invention will be implemented (i.e., these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present invention, it will be apparent to those skilled in the art that the present invention may be implemented without these specific details or with variations in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0126] Although the invention has been described in conjunction with specific embodiments of the invention, many replacements, 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 use the embodiments discussed.

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

Claims

1. A method for identifying the entity name of a digital currency transaction address, characterized in that: include: Identify a word of the name type from the text information to be identified, and identify the transaction address of the digital currency transaction from the text information using a regular expression of the digital currency transaction address; After pairing the identified transaction addresses with words of each name type, the paired word pairs and the sentences containing the paired words are input into the pre-trained language representation model; The language representation model determines whether two words in the word pair have a subordinate relationship according to the input sentence; For the word pairs determined by the language representation model to have a subordinate relationship, the name-type words in the word pairs are identified as entity names of the transaction addresses in the word pairs.

2. The method according to claim 1, characterized in that The language representation model is pre-trained specifically according to the following method: Generate multiple positive and negative training samples to form a training sample set; wherein the positive training samples include: transaction addresses and entity names marked with affiliation, and sentences including the entity name, and sentences including the transaction address; the negative training samples include: transaction addresses and entity names without affiliation marked, and sentences including the entity name, and sentences including the transaction address; The language representation model is trained using the training sample set.

3. The method according to claim 1, characterized in that The step of identifying a word of a name type from the text information to be identified specifically includes: Dividing the text information into sentences; Input each sentence obtained by the division into the natural language processing tool in turn; The words of the person's name, organization name, and alphanumeric character string type recognized by the natural language processing tool are regarded as the recognized name type words.

4. The method according to claim 3, characterized in that After the words of the person name, organization name, and alphanumeric character string type identified by the natural language processing tool are used as words of the identified name type, the following is further included: Storing the identified words of the name type in list 1; Scan the word segmentation results of the text information, and store the words with the noun part of speech in list 2; For each word in List 2, determine whether it satisfies one of the following conditions; if so, store the word in List 3; Condition 1: The term is a proper noun; Condition 2: The term matches one of the entity names in the list of common entities for digital currency transactions; Condition 3: the term matches one of the entity names in the knowledge base; Each word in the list obtained by removing duplicates and merging List 1 and List 3 is used as the word of the name type finally recognized.

5. The method according to claim 1, characterized in that After determining the word pair with affiliation according to the output of the language representation model, and identifying the word of the name type in the word pair as the entity name of the transaction address in the word pair, the method further includes: Label the transaction address according to the entity name; Obtain transaction data of newly added digital currency transactions in the digital currency blockchain; Clustering transaction addresses in the transaction data; For the clusters obtained by clustering, the transaction addresses in the cluster that are pre-labeled with entity names are identified, and the entity names are identified as the entity names of other transaction addresses in the cluster, and the cluster and other transaction addresses in the cluster are labeled according to the entity names.

6. The method according to claim 5, characterized in that After determining the word pairs with affiliation according to the output of the language representation model, and identifying the words of the name type in the word pairs as the entity names of the transaction addresses in the word pairs, the method further includes: performing pairwise detection on all entity names identified as transaction addresses to determine different entity names belonging to the same entity: For the two entity names to be detected, calculate the string similarity between them; If the calculated similarity is greater than the threshold, it is determined that the two entity names belong to the same entity.

7. The method according to claim 6, characterized in that After identifying the transaction address in the cluster that is pre-labeled with an entity name for the cluster obtained by clustering, identifying the entity name as the entity name of other transaction addresses in the cluster, and labeling the cluster and other transaction addresses in the cluster according to the entity name, the method further includes: Associating different clusters labeled with the same entity name; and Associate clusters labeled with different entity names that belong to the same entity.

8. A device for identifying the entity name of a digital currency transaction address, characterized in that: include: A text information parsing module, used to identify words of the name type from the text information to be identified, and identify the transaction address of the digital currency transaction from the text information using the regular expression of the digital currency transaction address; A relationship determination module, for pairing the identified transaction address with each word of the name type, and inputting each pair of words and the sentence containing the pair of words into a pre-trained language representation model; The language representation model determines whether two words in the word pair have a subordinate relationship according to the input sentence; The entity name recognition module is used to recognize the name-type words in the word pair determined by the language representation model to have a subordinate relationship as the entity name of the transaction address in the word pair.

9. The device according to claim 8, characterized in that Also includes: A model training module is used to train the language representation model using the training sample set; wherein the positive training samples in the training sample set include: transaction addresses and entity names marked with affiliation, and sentences including the entity name, and sentences including the transaction address; the negative training samples in the training sample set include: transaction addresses and entity names without affiliation marked, and sentences including the entity name, and sentences including the transaction address.

10. An electronic device comprising a central processing unit, a signal processing and storage unit, and a computer program stored in the signal processing and storage unit and executable on the central processing unit, characterized in that: When the central processing unit executes the program, the method according to any one of claims 1 to 7 is implemented.