Method and device for extracting virtual currency wallet address

By text processing and address verification of the source information of the virtual currency wallet address, the problem of inaccurate withdrawal of virtual currency wallet addresses in the prior art is solved, and more efficient and accurate virtual currency wallet address recognition is achieved.

CN120069866APending Publication Date: 2025-05-30XIAMEN MEIYABAIKE INFORMATION SECURITY RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510085811.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-12-30
Filing Date
2025-01-20
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

When the prior art extracts virtual currency wallet addresses from massive electronic evidence forensic data, there are problems such as incomplete mining and inaccurate identification, especially inaccurate identification of wallet addresses of different currencies.

Method used

By obtaining the source information of the virtual currency wallet address, text processing is performed to obtain the processed text, and the processed text is checked to determine the target wallet address. This method combines regular expressions and length filtering to improve the accuracy of text processing.

Benefits of technology

It improves the mining efficiency and accuracy of virtual currency wallet addresses, and can more accurately identify the target wallet addresses of various virtual currency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120069866A_ABST
    Figure CN120069866A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information communication, in particular to a method and device for extracting wallet addresses of virtual currencies, and the method comprises the steps: obtaining the source information of wallet addresses of various virtual currencies; performing text processing on the source information to obtain a processed text; performing address verification on the processed text to obtain verification results of the various virtual currencies; and determining a target wallet address of each type of virtual currency based on the verification result of each type of virtual currency. According to the method, the text processing is carried out on various virtual currency, and the address verification is carried out on the processed text, so that the target wallet address of various virtual currency can be identified more accurately, and the mining efficiency and accuracy of the wallet address of various virtual currency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information and communication technologies, and particularly to a method and device for extracting virtual currency wallet addresses in the field of information and communication technologies. Background Art

[0002] In cracking down on virtual currency violation cases, accurately extracting virtual currency wallet addresses from a large amount of electronic forensics data is of utmost importance.

[0003] In related technologies, extracting virtual currency wallet addresses mainly analyzes the forensics result data, and uses regular expressions generated based on the characteristics and rules of different types of virtual wallet addresses for mining. This solution only relies on simple pattern matching, resulting in incomplete mining and inaccurate identification of wallet addresses of different currencies. Summary of the Invention

[0004] The purpose of the present invention is to provide a method and device for extracting virtual currency wallet addresses, and the specific technical solutions adopted are as follows:

[0005] In a first aspect, an embodiment of the present invention provides a method for extracting virtual currency wallet addresses, and the method includes:

[0006] Obtain the source information of the wallet addresses of various virtual currencies;

[0007] Perform text processing on the source information to obtain processed text;

[0008] Perform address verification on the processed text to obtain the verification results of various virtual currencies;

[0009] Based on the verification results of various virtual currencies, determine the target wallet addresses of various virtual currencies.

[0010] In a second aspect, a device for extracting virtual currency wallet addresses is provided, and the device includes:

[0011] An obtaining module, configured to obtain the source information of the wallet addresses of various virtual currencies;

[0012] A processing module, configured to perform text processing on the source information to obtain processed text;

[0013] A verification module, configured to perform address verification on the processed text to obtain the verification results of various virtual currencies;

[0014] A determining module, configured to determine the target wallet addresses of various virtual currencies based on the verification results of various virtual currencies.

[0015] In a third aspect, a computer program product is provided, which includes: computer program code that, when running on a computer, causes the computer to execute the method described in the first aspect above.

[0016] In a fourth aspect, a computer-readable storage medium is provided, which stores computer program code that, when running on a computer, causes the computer to execute the method described in the first aspect above.

[0017] The present invention has the following beneficial effects: After obtaining various virtual coins in the virtual currency trading scenario, text processing is performed on the source information of the wallet addresses of the various virtual coins to obtain processed text; in this way, by performing text processing on the source information, the obtained processed text can be made convenient for address verification. Then, by performing address verification on the processed text, verification results of the various virtual coins are obtained, and according to the verification results of the various virtual coins, the target wallet addresses of the various virtual coins are determined. In this way, by performing text processing on the various virtual coins and performing address verification on the processed text, the target wallet addresses of the various virtual coins can be identified more accurately, thereby improving the mining efficiency and accuracy of the wallet addresses of the various virtual coins. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can be obtained according to these drawings without creative efforts.

[0019] Figure 1 is a schematic flowchart of the implementation of a method for extracting virtual currency wallet addresses provided by an embodiment of the present invention;

[0020] Figure 2 is another schematic flowchart of the implementation of a method for extracting virtual currency wallet addresses provided by an embodiment of the present invention;

[0021] Figure 3 is a schematic diagram of an application scenario of a method for extracting virtual currency wallet addresses provided by an embodiment of the present invention;

[0022] Figure 4 is a schematic diagram of the composition structure of a device for extracting virtual currency wallet addresses provided by an embodiment of the present invention;

[0023] Figure 5 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention. Detailed Implementation Manner

[0024] In order to further elaborate on the technical means and effects adopted by the present invention to achieve the intended invention purpose, the following will, in combination with the accompanying drawings and preferred embodiments, elaborate in detail on a method for extracting virtual currency wallet addresses proposed according to the present invention, its specific implementation manner, structure, features and effects. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments can be combined in any suitable form.

[0025] Among them, in the description of the embodiments of the present invention, unless otherwise specified, " / " means "or". For example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present invention, "a plurality" means two or more than two.

[0026] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present invention belongs.

[0028] In the related art, different types of virtual currency wallet addresses usually have specific formats and features. For example, the wallet address of Bitcoin is generally a string composed of numbers and letters (case-sensitive), usually between 26 and 35 characters in length, and often starts with "1", "3" or "bc1". The regular expression rules are: (1|3)[1-9A-HJ-NP-Za-km-z]{26,33} and

[0029] bc1[0-9A-Za-z]{11,72}. The wallet address of Ethereum is a string composed of 40 hexadecimal characters, starting with "0x", and the regular expression rule is (0x|0X)[0-9a-fA-F]{40}. By using the efficient text matching tool of regular expressions, it is possible to quickly locate possible wallet addresses in a large amount of data. Compared with the traditional search method that relies on manual checking one by one, it shows a relatively significant advantage in work efficiency, but there are still problems with recognition accuracy. The high false recognition rate leads to a large number of invalid wallet addresses being mined, interfering with the case handlers.

[0030] Based on this, an embodiment of the present invention provides a method for extracting virtual currency wallet addresses. Through text extraction, text preprocessing, address type recognition and verification, and result sorting module processing, the mining efficiency, wallet address accuracy, integrity, and scalability are significantly improved.

[0031] The following specifically describes the specific solution of a method for extracting virtual currency wallet addresses provided by the present invention in conjunction with the accompanying drawings. Please refer to Figure 1 , which shows a schematic diagram of the implementation process of a method for extracting virtual currency wallet addresses provided by an embodiment of the present invention. The method includes:

[0032] 101. Obtain the source information of the wallet addresses of various virtual currencies.

[0033] Here, in the virtual currency trading scenario, obtain the source information of the wallet addresses of various virtual currencies. The virtual currency trading scenario can be any type of virtual currency trading; among them, various virtual currencies are various different cryptocurrencies, including: Bitcoin, Ethereum, Tron, etc. The source information of the wallet addresses of various virtual currencies can include multiple aspects, such as virtual currency-related application programs (APPs), personal computer (PC) programs, chat records in chat software, multimedia files such as photo albums and screenshots, and so on.

[0034] 102. Perform text processing on the source information to obtain the processed text.

[0035] Here, by performing text extraction on the source information and preprocessing the extracted text, the processed text is obtained.

[0036] In some possible implementation manners, the above step 102 can be implemented through the following steps 121 and 122 (not shown in the figure):

[0037] 121. Perform text extraction on the various virtual currencies to obtain the extracted text.

[0038] Here, since the sources of wallet addresses are diverse and their forms are various, it is necessary to perform unified text extraction and processing on the source information of wallet addresses. The specific processing logic is as follows:

[0039] Take evidence of virtual currency-related APPs and PC programs, extract all valid fields in the structured forensic result data, and concatenate all fields in each record into a single piece of plain text.

[0040] Use the detection document tool (Apache Tika) to implement the document content parsing function, extract the body content of all document files, and convert it into plain text; and use Optical Character Recognition (OCR) technology to extract the text in all types of pictures (such as.jpg,.png,.bmp,.tiff), including pictures from Office and PDF, and convert it into plain text, so as to obtain the extracted text.

[0041] 122. Perform text preprocessing on the extracted text to obtain the processed text.

[0042] Here, the extracted text can be preprocessed by a combination method of regular expressions and length filtering to reduce the amount of data for subsequent verification and obtain more accurate processed text.

[0043] In some possible implementation manners, first use the regular expression matching the extracted text to perform regularization processing on the extracted text to obtain the regularized text; then use the length filtering function to filter the string length of the regularized text to obtain the processed text. Here, to quickly and accurately screen out potential wallet addresses from a large amount of text, a combination method of regular expressions and length filtering is used to preprocess the extracted text, thereby reducing the amount of data for subsequent verification. The algorithm is C(t) = R(t) ∩ L(t); where C(t) is the set of potential wallet addresses after filtering, and R(t) is the regular expression matching function. Since wallet addresses are composed of letters and numbers, regular expressions can be used to match possible address strings. The regular expression rule adopted is: \w*[a-zA-Z]\w*\d\w*|\w*\d\w*[a-zA-Z]\w*. The logic of this regular expression is to accurately identify those strings that must contain both letters and numbers. Specifically, \w in the expression means to match zero or more word characters (including letters and numbers), [a-zA-Z] clearly specifies the range of letters to be matched, and \d is used to match numbers. Through the combined use of the two matching modes (\w[a-zA-Z]\w*\d\w and \w\d\w*[a-zA-Z]\w*) of this regular expression, potential wallet address strings that meet the requirements can be comprehensively and accurately captured.

[0044] L(t) represents the length filtering function, L(t) = {s|s∈Σ, 20≤|s|≤62}. Based on the common length range characteristics of virtual currency wallet addresses, strict length filtering conditions are set to further narrow the screening range. That is, strings with a length less than 20 and strings with a length greater than 62 are filtered out. Through such a length screening mechanism, strings that obviously do not meet the conventional length of wallet addresses can be excluded in advance, thereby greatly reducing the amount of data that needs to be verified later, thereby improving the efficiency and accuracy of the entire wallet address mining process.

[0045] 103, performing address verification on the processed text to obtain verification results of the various types of virtual currencies.

[0046] Here, by performing address identification and verification on the processed text, verification results of various virtual currencies are obtained. In some possible implementations, the above step 103 can be performed by Figure 2 The steps shown achieve:

[0047] 201, performing character verification on the processed text to obtain a character verification result.

[0048] Here, by performing a string prefix check, a string length judgment, an encoding method check, etc. on the processed text, a character check of the processed text is implemented to obtain a character check result. In some possible implementations, the above step 201 can be implemented by the following steps 211 to 213 (not shown):

[0049] 211, obtain a preset string prefix and a preset string length.

[0050] Here, the string prefix of the processed text is checked, and its valid prefix should be "1" or "3", and the string length should be greater than 26 and less than 35. That is, the preset string prefix is ​​"1" or "3", and the preset string length is greater than 26 and less than 35.

[0051] 212 , based on the preset string prefix and the preset string length, respectively verify the string prefix and the string length of the processed text to obtain a first verification result.

[0052] Here, it is determined whether the string prefix of the processed text is a preset string prefix, and whether the string length of the processed text satisfies the preset string length, thereby obtaining a first verification result.

[0053] 213, perform encoding attribute verification on the character string of the processed text to obtain a second verification result.

[0054] Among them, the character verification result includes the first verification result and the second verification result. The Legacy / P2SH type address uses Base58 encoding, so the string does not contain the number 0 (zero), the uppercase letter O, the lowercase letter l (the lowercase form of L), and the uppercase letter I. Based on this, it is determined whether the string of the processed text meets this encoding to obtain the second verification result. In this way, by verifying the string prefix, string length, and encoding attributes of the processed text, the character verification of the processed text can be more accurately implemented to obtain a relatively rich character verification result.

[0055] 202. Perform a hash verification on the processed text to obtain an initial verification result.

[0056] Here, by using the public key hash and the initial checksum, the hash verification of the processed text is implemented to obtain the initial verification result. In some possible implementation manners, the above step 202 can be implemented through the following steps 221 and 222 (not shown in the figure):

[0057] 221. Perform a character encoding check on the processed file to obtain the public key hash and the initial checksum.

[0058] Here, the Base58 decoding is performed on the string address of the processed file, and it is converted into the corresponding byte value according to the character mapping table, and the original byte data sequence is gradually restored. The original byte sequence mainly consists of two parts: the public key hash + the trailing 4-byte checksum. The public key hash is denoted as E, and the trailing 4-byte checksum is denoted as F.

[0059] 222. Based on the public key hash and the initial checksum, perform a hash verification on the processed text to obtain the initial verification result.

[0060] Here, by using the public key hash as the input, two hash operations are performed to obtain the candidate checksum, and the candidate checksum is compared with the initial checksum to obtain the initial verification result. In some possible implementation manners, the above step 222 can be implemented through the following process:

[0061] First, perform a first hash operation on the public key hash to obtain an initial hash value. Second, perform a hash operation on the initial hash value to obtain a candidate hash value. Third, select a preset byte from the candidate hash value to obtain the candidate checksum. Finally, compare the initial checksum with the candidate checksum to obtain the initial verification result. In this way, two hash operations are performed based on the public key hash to obtain the candidate checksum, so as to compare the initial checksum with the candidate checksum to obtain a relatively accurate initial verification result.

[0062] Here, the public key hash E is taken as the input, and the first SHA256 hash operation is performed to obtain a 256-bit hash value G 1 = SHA256(E) (i.e., the initial hash value); then, the initial hash value is taken as the input again, and the second SHA256 hash operation is performed to obtain another 256-bit hash value G 1 = SHA256(G 2 )(i.e., the candidate hash value). The first 4 bytes are taken from the hash value G 2 obtained from the second SHA256 operation and denoted as H. These 4 bytes are the calculated checksum (i.e., the candidate checksum). If the initial check result indicates that F = H, it means that the candidate checksum verification passes, and the string is a valid BTC address. In this way, by combining the public key hash and the initial checksum, hash verification is performed on the processed text, thereby improving the accuracy of the initial check result.

[0063] 203, the character check result and the initial check result are fused to obtain the check results of various virtual currencies.

[0064] Here, for different types of virtual currencies, the first check result, the second check result, and the initial check result of various virtual currencies are combined to obtain a combined result; if the combined result indicates that at least one type of virtual currency among various virtual currencies passes the check, then it is determined that the check result is a pass. Here, since different types of cryptocurrencies each have unique wallet address formats and rules, the corresponding check algorithms also vary. To achieve comprehensive identification and verification of wallet addresses of multiple cryptocurrencies, an embodiment of the present invention constructs a general address identification and verification phase framework, expressed as: V(a) = ∨(Vi(a)), i ∈ {BTC, ETH, TRX,...}; where V(a) represents the overall verification result of any given wallet address a, which is obtained by performing a logical OR (∨) operation on the respective verification functions Vi(a) of various different cryptocurrencies (such as Bitcoin BTC, Ethereum ETH, Troncoin RTX, etc.). This means that as long as the verification function result of one cryptocurrency is true, the overall address verification can be regarded as passing.

[0065] For any type of virtual currency, obtain the first verification result, the second verification result, and the initial verification result of the any type of virtual currency; if the first verification result, the second verification result, and the initial verification result of the any type of virtual currency all pass the verification, determine that the verification result of the any type of virtual currency is verification passed. Here, for each cryptocurrency, its verification function is further refined as: Vi(a) = Pi(a) ∧ Hi(a) ∧ Ci(a), where Pi(a) represents the first verification result, which is mainly responsible for verifying identification features such as specific prefixes of wallet addresses to determine whether the address meets the format requirements of the cryptocurrency; Hi(a) represents the second verification result, which focuses on checking a certain specific attribute of the address (such as encoding method, case rules, etc.); Ci(a) represents the initial verification result, which involves a more core verification algorithm for verifying the integrity and validity of the address to ensure that the address can be used normally in the cryptocurrency system and has not been tampered with; the three functions perform a logical AND (∧) operation to obtain the final result.

[0066] Through the above steps 201 to 203, by performing character verification and hash verification on the processed text, it is possible to more comprehensively and accurately implement the verification of different types of virtual currencies.

[0067] 104. Based on the verification results of the various types of virtual currencies, determine the target wallet addresses of the various types of virtual currencies.

[0068] Here, first obtain the financial-related information of each wallet address; among them, the financial-related information includes: the balance of the wallet address, transaction records, transfers in, transfers out, the most recent transaction time, and other information. Then, perform a combined statistics on the verification results of the various types of virtual currencies to obtain the number of occurrences of each wallet address and the identification information of the original data where each wallet address appears; here, the wallet addresses are from the forensics results and evidence files, and it is necessary to perform a combined statistics on the results to calculate the number of occurrences of each wallet address and record the id of the original data where each wallet address appears in order to implement the traceability function. Finally, based on the financial-related information, the number of occurrences, and the identification information, identify the target wallet addresses. Here, simultaneously call the API interface of the blockchain analysis platform to query the balance of the wallet address, transaction records, transfers in, transfers out, the most recent transaction time, and other information, so as to assist the case-handling personnel to quickly analyze and identify the key wallet addresses. In a specific example, apply the method of extracting virtual currency wallet addresses to a specific product, and obtain Figure 3The displayed interface, where area 31 presents the recognition result categories, including: entity recognition, image recognition, virtual currency (and wallet address), and clue focusing, etc.; area 32 presents the detailed content of each wallet address. Thus, the method for extracting virtual currency wallet addresses provided by the embodiments of the present invention can well mine the wallet addresses in structured forensic result data and unstructured files, and query the wallet address transaction information, which can provide further analysis ideas and breakthrough points for analysts, greatly improving the work efficiency of forensic analysis, providing an important idea for other similar forensic and analysis products, and will be widely applied in the field of electronic data forensic analysis.

[0069] In the embodiments of the present invention, after obtaining various virtual currencies in the virtual currency transaction scenario, the obtained text is processed through text processing of the various virtual currencies; in this way, through text processing of the various virtual currencies, the obtained processed text can be made convenient for address verification. Then, through address verification of the processed text, the verification results of the various virtual currencies are obtained, and according to the verification results of the various virtual currencies, the target wallet addresses of the various virtual currencies are determined. In this way, through text processing of the various virtual currencies and address verification of the processed text, the target wallet addresses of the various virtual currencies can be more accurately identified, thereby improving the mining efficiency and accuracy of the wallet addresses of the various virtual currencies.

[0070] The embodiments of the present invention provide a device for extracting virtual currency wallet addresses. Please refer to Figure 4 , which shows a schematic structural diagram of the composition of a device for extracting virtual currency wallet addresses provided by an embodiment of the present invention. The device 400 includes: an acquisition module 401, configured to acquire the source information of the wallet addresses of various virtual currencies; a processing module 402, configured to perform text processing on the source information to obtain processed text; a verification module 403, configured to perform address verification on the processed text to obtain the verification results of the various virtual currencies; and a determination module 404, configured to determine the target wallet addresses of the various virtual currencies based on the verification results of the various virtual currencies.

[0071] In some possible implementation manners, the verification module 403 is further configured to perform character verification on the processed text to obtain a character verification result; perform hash verification on the processed text to obtain an initial verification result; and fuse the character verification result and the initial verification result to obtain the verification results of the various virtual currencies.

[0072] In some possible implementation manners, the verification module 403 is further configured to obtain a preset string prefix and a preset string length; based on the preset string prefix and the preset string length, respectively verify the string prefix and the string length of the processed text to obtain a first verification result; verify the encoding attribute of the string of the processed text to obtain a second verification result; wherein the character verification result includes the first verification result and the second verification result.

[0073] In some possible implementation manners, the verification module 403 is further configured to, for different types of virtual coins, merge the first verification result, the second verification result, and the initial verification result of each type of virtual coin to obtain a merged result; if the merged result indicates that at least one type of virtual coin among the various types of virtual coins passes the verification, then determine that the verification result is a pass.

[0074] In some possible implementation manners, the verification module 403 is further configured to, for any type of virtual coin, obtain the first verification result, the second verification result, and the initial verification result of the any type of virtual coin; if the first verification result, the second verification result, and the initial verification result of the any type of virtual coin all pass the verification, determine that the verification result of the any type of virtual coin is a pass.

[0075] In some possible implementation manners, the verification module 403 is further configured to perform a character encoding check on the processed file to obtain a public key hash and an initial checksum; based on the public key hash and the initial checksum, perform a hash verification on the processed text to obtain the initial verification result.

[0076] In some possible implementation manners, the verification module 403 is further configured to perform a first hash operation on the public key hash to obtain an initial hash value; perform a hash operation on the initial hash value to obtain a candidate hash value; select a preset byte from the candidate hash values to obtain the candidate checksum; compare the initial checksum with the candidate checksum to obtain the initial verification result.

[0077] In some possible implementation manners, the processing module 402 is further configured to perform text extraction on the various types of virtual coins to obtain the extracted text; perform text preprocessing on the extracted text to obtain the processed text.

[0078] In some possible implementation manners, the processing module 402 is further configured to perform a regularization process on the extracted text by using a regular expression matching the extracted text to obtain the regularized text; filter the string length of the regularized text by using a length filtering function to obtain the processed text.

[0079] Optionally, the transmission medium may be a wired link (such as, but not limited to, coaxial cable, optical fiber, Digital Subscriber Line (DSL), etc.) or a wireless link (such as, but not limited to, Wireless Fidelity (WIFI), Bluetooth, mobile device network, etc.). It should be noted that: For the device provided in the above embodiments, only the division of the above functional modules is used for illustration. In practical applications, the above functions may be assigned to different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the method embodiments provided in the above embodiments belong to the same concept. For the specific implementation process, please refer to the method embodiments and will not be elaborated here.

[0080] Figure 5 It is a schematic structural diagram of a computer device provided by an embodiment of the present invention. Exemplarily, as Figure 5 shown, the computer device 500 includes: a memory 501, a processor 502, and a computer program 503 stored in the memory 501 and running on the processor 502. When the processor 502 executes the computer program 503, the computer device can execute any one of the methods for extracting virtual currency wallet addresses introduced above.

[0081] In addition, an embodiment of the present invention also protects a device, which may include a memory and a processor. The memory stores executable program code, and the processor is used to call and execute the executable program code to execute a method for extracting a virtual currency wallet address provided by an embodiment of the present invention. In this embodiment, the functional modules of the device can be divided according to the above method examples. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there may be other division methods in actual implementation. It should be noted that all relevant contents of each step involved in the above method embodiments can be cited in the function description of the corresponding functional modules and will not be elaborated here.

[0082] It should be understood that the device provided in this embodiment is used to execute the above method for extracting virtual currency wallet addresses, so the same effects as the above implementation method can be achieved. In the case of adopting an integrated unit, the device may include a processing module and a storage module. Among them, when the device is applied to a device, the processing module can be used to control and manage the actions of the device. The storage module can be used to support the device to execute mutual program codes, etc. Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure of the present invention. The processor can also be a combination that realizes computing functions, such as including a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory.

[0083] In addition, the device provided in the embodiment of the present invention can specifically be a chip, a component or a module. The chip may include a connected processor and a memory. Among them, the memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute the method for extracting a virtual currency wallet address provided in the above embodiment. This embodiment also provides a computer-readable storage medium. Computer program code is stored in the computer-readable storage medium. When the computer program code runs on a computer, the computer is caused to execute the above relevant method steps to implement the method for extracting a virtual currency wallet address provided in the above embodiment.

[0084] This embodiment also provides a computer program product. When the computer program product runs on a computer, it causes the computer to execute the above-related steps to implement a method for extracting virtual currency wallet addresses provided in the above embodiment. Among them, the device, computer-readable storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, which will not be elaborated here. Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by the present invention, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0085] It should be noted that: the above sequence of embodiments of the present invention is only for description and does not represent the superiority or inferiority of the embodiments. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous. Each embodiment in this specification is described in a progressive manner. The same or similar parts between each embodiment can be referred to each other. Each embodiment focuses on the differences from other embodiments. The above content is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present invention.

Claims

1. A method for extracting a virtual currency wallet address, characterized in that: The method comprises: Obtain the source information of wallet addresses of various virtual currencies; Performing text processing on the source information to obtain processed text; Performing address verification on the processed text to obtain verification results of the various virtual currencies; Based on the verification results of the various virtual currencies, the target wallet addresses of the various virtual currencies are determined.

2. The method according to claim 1, characterized in that The address verification of the processed text is performed to obtain verification results of the various virtual currencies, including: Performing character verification on the processed text to obtain a character verification result; Performing a hash check on the processed text to obtain an initial check result; The character verification result and the initial verification result are merged to obtain the verification results of the various virtual currencies.

3. The method according to claim 2, characterized in that The performing character verification on the processed text to obtain a character verification result includes: Get the preset string prefix and preset string length; Based on the preset string prefix and the preset string length, respectively verify the string prefix and the string length of the processed text to obtain a first verification result; Perform encoding attribute verification on the character string of the processed text to obtain a second verification result; wherein the character verification result includes: the first verification result and the second verification result.

4. The method according to claim 3, characterized in that The character verification result and the initial verification result are merged to obtain the verification results of the various virtual currencies, including: For different types of virtual coins, the first verification result, the second verification result and the initial verification result of each type of virtual currency are combined to obtain a combined result; If the combined result indicates that at least one type of virtual currency among the various types of virtual currency has passed the verification, then the verification result is determined to be passed.

5. The method according to claim 4, characterized in that The character verification result and the initial verification result are merged to obtain the verification results of the various virtual currencies, including: For any type of virtual currency, obtaining a first verification result, a second verification result, and an initial verification result of the virtual currency of the any type; If the first verification result, the second verification result and the initial verification result of any type of virtual currency are all verified to be passed, it is determined that the verification result of any type of virtual currency is verified to be passed.

6. The method according to claim 2, characterized in that The performing hash verification on the processed text to obtain an initial verification result includes: Performing a character encoding check on the processed file to obtain a public key hash and an initial checksum; Based on the public key hash and the initial checksum, a hash check is performed on the processed text to obtain the initial check result.

7. The method according to claim 6, characterized in that The step of performing a hash check on the processed text based on the public key hash and the initial checksum to obtain the initial check result includes: Performing a first hash operation on the public key hash to obtain an initial hash value; Performing a hash operation on the initial hash value to obtain a candidate hash value; Selecting a preset byte from the candidate hash value to obtain the candidate checksum; The initial checksum is compared with the candidate checksum to obtain the initial check result.

8. The method according to claim 1, characterized in that: The text processing of the various virtual currencies to obtain processed texts includes: Extracting text from the various virtual currencies to obtain extracted text; The extracted text is subjected to text preprocessing to obtain a processed text.

9. The method according to claim 8, characterized in that Performing text preprocessing on the extracted text to obtain processed text includes: Using a regular expression that matches the extracted text, regularizing the extracted text to obtain a regularized text; The length of the character string of the regularized text is filtered using a length filtering function to obtain the processed text.

10. A device for extracting a virtual currency wallet address, characterized in that: The device comprises: The acquisition module is used to obtain the source information of the wallet addresses of various virtual currencies; A processing module, used for performing text processing on the source information to obtain processed text; A verification module, used to perform address verification on the processed text to obtain verification results of the various virtual currencies; The determination module is used to determine the target wallet address of each type of virtual currency based on the verification results of the various types of virtual currency.