Transaction matching method and system for anonymous instant cryptocurrency exchange services

By analyzing and matching the transaction data of anonymized instant cryptocurrency exchange services, the problem of malicious fund tracking in anonymized services is solved, efficient matching of transactions on the blockchain is achieved, and important clues for supervision and law enforcement are provided.

CN118485441BActive Publication Date: 2024-10-11ZHEJIANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410933480.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-11
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

The anonymity and decentralized nature of anonymized instant cryptocurrency exchange services make incoming and outgoing transactions difficult to track, posing significant regulatory and law enforcement challenges, making it difficult to track and analyze malicious financial flows.

Method used

By analyzing the characteristics of cross-chain transaction services, we select an anonymous instant cryptocurrency exchange service with an independent hot wallet, collect its basic information and sample transactions, build a complete instant cryptocurrency exchange process, and obtain and summarize the centralized hot spots on the blockchain. After cleaning, classifying and adding auxiliary information to the wallet address, a deposit and withdrawal transaction data set is constructed, and the matching algorithm is used to match the deposit and withdrawal transactions.

Benefits of technology

Efficient, automated matching of deposit and withdrawal transactions for an anonymized instant cryptocurrency exchange service is achieved, enabling tracking of incoming and outgoing malicious funds, providing important clues to assist regulatory and law enforcement authorities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118485441B_ABST
    Figure CN118485441B_ABST
Patent Text Reader

Abstract

The present invention discloses a transaction matching method and system for an anonymous instant cryptocurrency exchange service. By analyzing the characteristics of the cryptocurrency cross-chain transaction service, the centralized hot wallet address of the anonymous instant cryptocurrency exchange service on the blockchain is summarized, and the transaction records and token transfer records are collected. By cleaning, classifying and adding auxiliary information to the transaction records on the chain, a deposit and withdrawal transaction data set is constructed. Based on the integrated information of the deposit and withdrawal transaction data sets, the key information of each deposit transaction is extracted to match the corresponding withdrawal transaction. The present invention uses public blockchain data to achieve deposit and withdrawal transaction matching of the anonymous instant cryptocurrency exchange service on the blockchain, which helps to deepen the understanding of the anonymous instant cryptocurrency exchange service and track the flow of malicious funds in the anonymous instant cryptocurrency exchange service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cryptocurrency and blockchain, and in particular to a transaction matching method and system for anonymous instant cryptocurrency exchange services. Background Art

[0002] With the rapid development of the cryptocurrency market, users have an increasing demand for efficient and secure cross-chain fund exchange. Traditional cryptocurrency exchange is mainly carried out through centralized exchanges, which requires a cumbersome registration process, personal information submission, and waiting for transaction confirmation. In order to meet users' demand for convenient, low-cost instant exchange, anonymous instant cryptocurrency exchange services have emerged.

[0003] The anonymous instant cryptocurrency exchange service allows users to exchange cryptocurrencies instantly without providing personal information. Through smart contracts and decentralized trading protocols, users can complete fund exchanges directly on the chain without relying on third parties or providing personal identification information. This currency exchange model significantly simplifies the transaction process, reduces the need for intermediaries and human intervention, and thus greatly improves transaction efficiency and user experience.

[0004] However, although anonymous instant cryptocurrency exchange services provide great convenience for on-chain transactions, their anonymity and decentralization also make them a tool for some criminals to conduct illegal fund transfers and illegal transactions. Since anonymous instant cryptocurrency exchange services do not reveal the correlation between user information and transaction history, transactions flowing into and out of anonymous instant cryptocurrency exchange services become difficult to track and analyze, which poses significant challenges to supervision and law enforcement. Summary of the invention

[0005] In view of the shortcomings of the prior art and in order to fill the current gap in the research on anonymous instant cryptocurrency exchange services, the present invention proposes a transaction matching method and system for anonymous instant cryptocurrency exchange services. The method and system can achieve efficient and automatic matching of deposit and withdrawal transactions of anonymous instant cryptocurrency exchange services on the blockchain, thereby tracking malicious funds flowing into and out of the anonymous instant cryptocurrency exchange service, so as to assist regulatory and law enforcement agencies in obtaining important clues of using anonymous instant cryptocurrency exchange services to transfer malicious funds.

[0006] The purpose of the present invention is achieved through the following technical solutions:

[0007] A transaction matching method for an anonymous instant cryptocurrency exchange service, the method comprising the following steps:

[0008] Step 1: Analyze the characteristics of cross-chain transaction services, select an anonymous instant cryptocurrency exchange service with an independent hot wallet, and collect its basic information; obtain sample transactions by using a small amount of cryptocurrency to interact with the anonymous instant cryptocurrency exchange service; analyze the sample transactions and construct a complete instant cryptocurrency exchange process for the anonymous instant cryptocurrency exchange service;

[0009] Step 2: According to the complete instant cryptocurrency exchange process, obtain and summarize the centralized hot wallet address of the anonymous instant cryptocurrency exchange service on the blockchain; collect the transaction records and token transfer records on the centralized hot wallet address, and integrate them to obtain complete on-chain transaction data;

[0010] Step 3: Clean and classify the on-chain transaction data in turn, add auxiliary information, and construct a deposit transaction data set and a withdrawal transaction data set respectively;

[0011] Step 4: For each deposit transaction in the deposit transaction data set, extract the on-chain transaction information and auxiliary information, and match the corresponding withdrawal transaction in the withdrawal transaction data set.

[0012] Furthermore, in the step 1, the basic information of the anonymous instant cryptocurrency exchange service includes blockchain information supported by the service, token information supported by the service, exchange rates provided by the service, and expected transaction completion time provided by the service.

[0013] Furthermore, the token information supported by the service includes the name and symbol of the token, the on-chain address information of the token, and the minimum precision supported by the token.

[0014] Furthermore, in the step 1, if the anonymous instant cryptocurrency exchange service has public historical transaction records, basic information of the public historical transaction records is collected, including transaction access chain information, transaction access currency information, transaction timestamp and transaction amount, and the anonymous instant cryptocurrency exchange service is analyzed together with the sample transaction to construct a complete instant cryptocurrency exchange process for the anonymous instant cryptocurrency exchange service.

[0015] Furthermore, in the step 1, the sample transactions should cover different types of cryptocurrencies, different transaction volumes and transaction frequencies to ensure that the established instant cryptocurrency exchange transaction flow is representative and comprehensive; based on the sample transaction data, a complete instant cryptocurrency exchange service transaction flow is established, including user transaction requests, user deposits, deposit confirmations, user withdrawals and service provider fund collection.

[0016] Furthermore, the step three specifically includes the following sub-steps:

[0017] (3.1) Cleaning on-chain transaction data: deleting duplicate and abnormal transaction records; filtering all token transfer records based on the blockchain information and token types supported by the anonymous instant cryptocurrency exchange service, and only retaining token transfer records supported by the anonymous instant cryptocurrency exchange service;

[0018] (3.2) Classifying on-chain transaction data: Based on the complete instant cryptocurrency exchange transaction process of the anonymized instant cryptocurrency exchange service, obtain the characteristic information of deposit transactions and withdrawal transactions; based on the deposit and withdrawal characteristics of the service, classify the cleaned on-chain transaction data into deposit transactions and withdrawal transactions; where deposit transactions refer to transactions that transfer funds from the user's external address to the centralized hot wallet address, and withdrawal transactions refer to transactions that transfer funds from the centralized hot wallet address to the external address specified by the user;

[0019] (3.3) Add auxiliary information: Based on the timestamps of deposit and withdrawal transactions, use the API provided by the centralized exchange to obtain the stablecoin price of the corresponding currency at the time of the transaction, and add this price information as auxiliary information to the transaction dataset.

[0020] Furthermore, the step 4 comprises the following sub-steps:

[0021] (4.1) For each deposit transaction, based on the transaction chain information and transaction currency information, filter the withdrawal transactions in the withdrawal data set that have the same currency type and transaction blockchain as the deposit transaction;

[0022] (4.2) Determine the deposit and withdrawal time threshold and the deposit and withdrawal currency corresponding to the stablecoin price ratio threshold;

[0023] (4.3) Selecting withdrawal transactions within the two threshold ranges to obtain a preliminary screened withdrawal transaction set;

[0024] (4.4) Determine the size of the withdrawal transaction set. If it is 1, the withdrawal transaction is the withdrawal transaction that matches the deposit transaction. If it is 0, jump to step (4.6). If it is greater than 1, continue to determine whether there is a withdrawal transaction with the same withdrawal address as the deposit transaction address. If not, jump to step (4.5). If so, use the condition that the withdrawal address is the same as the deposit address to filter the withdrawal transaction set. Continue to determine the size of the transaction set. If it is 1, the withdrawal transaction is the withdrawal transaction that matches the deposit transaction. If it is greater than 1, jump to step (4.5).

[0025] (4.5) Matching the withdrawal transaction with the smallest difference in withdrawal time within the price ratio threshold range of the stablecoin corresponding to the deposited currency, and the matched withdrawal transaction is the withdrawal transaction matching the deposit transaction;

[0026] (4.6) Considering the situation that the anonymous instant cryptocurrency exchange service has concentrated deposits and withdrawals for large transactions, determine whether the deposit transaction is a large transaction. If not, the deposit transaction has not matched a suitable withdrawal transaction; if yes, continue to determine whether the deposit and withdrawal time threshold has been expanded. If not, return to step (4.2) and expand the deposit and withdrawal time threshold under the premise that the threshold of the price ratio of the deposit and exchange currency corresponding to the stable currency remains unchanged; if yes, the deposit transaction has not matched a suitable withdrawal transaction.

[0027] Furthermore, in step 4, if the anonymous instant cryptocurrency exchange service has public historical transaction records, the historical transactions provided by the on-chain real data verification service are used, and the real transaction data set is verified on the chain based on the basic information of the historical transactions. The access time threshold and the stable currency price ratio threshold corresponding to the deposited currency are determined by statistical analysis of the real transaction data set; otherwise, the appropriate access time threshold and the stable currency price ratio threshold corresponding to the deposited currency are determined based on the sample transactions and the real-time exchange rate and estimated transaction time provided by the anonymous instant cryptocurrency exchange service.

[0028] A transaction matching system for anonymized instant cryptocurrency exchange services, comprising a service analysis module, a hot wallet address aggregation module, a transaction data collection module, a transaction data processing module, and a transaction data matching module;

[0029] The service analysis module is used to collect and analyze sample transactions and construct a complete instant cryptocurrency exchange process for the anonymized instant cryptocurrency exchange service;

[0030] The hot wallet address aggregation module obtains and aggregates the centralized hot wallet addresses of the anonymized instant cryptocurrency exchange service on the blockchain according to the complete instant cryptocurrency exchange process, and constructs a hot wallet address list;

[0031] The transaction data collection module collects the transaction records and token transfer records on each centralized hot wallet address according to the hot wallet address list, and integrates all transaction records to form complete on-chain transaction data;

[0032] The transaction data processing module cleans and classifies the on-chain transaction data in turn, and after adding necessary auxiliary information, constructs a deposit transaction data set and a withdrawal transaction data set respectively;

[0033] The transaction data matching module extracts relevant on-chain transaction information and auxiliary information for each deposit transaction data, finds the corresponding withdrawal transaction in the withdrawal transaction data set through a matching algorithm, and finally outputs the matching result.

[0034] A computer-readable storage medium stores a program thereon, which, when executed by a processor, implements a transaction matching method for an anonymous instant cryptocurrency exchange service.

[0035] The beneficial effects of the present invention are as follows:

[0036] The transaction matching method and system for anonymous instant cryptocurrency exchange services proposed in the present invention can efficiently and automatically match deposit and withdrawal transactions of anonymous instant cryptocurrency exchange services on the blockchain by utilizing fully public blockchain data, thereby tracking malicious funds flowing into and out of anonymous instant cryptocurrency exchange services. Such analysis helps to fully and deeply understand anonymous instant cryptocurrency exchange services and their operating mechanisms, and provides important clues in tracking malicious fund flows and investigating cryptocurrency criminal activities. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 The present invention is a flowchart of a transaction matching method for an anonymous instant cryptocurrency exchange service according to an embodiment of the present invention.

[0038] Figure 2 A flow chart of an anonymous instant cryptocurrency exchange service according to an embodiment of the present invention is shown.

[0039] Figure 3 This is a flowchart of the specific deposit transaction data set and withdrawal transaction data set matching method in step 4.

[0040] Figure 4 It is a schematic diagram of the transaction matching system module of the present invention.

[0041] Figure 5 This is a transaction flow chart of an anonymous instant cryptocurrency exchange service according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The present invention will be described in detail below based on the accompanying drawings and preferred embodiments, and the purpose and effects of the present invention will become more clear. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0043] like Figure 1 As shown, the overall matching process of the present invention example includes the following steps:

[0044] Step 1: Analyze the characteristics of cross-chain transaction services, select anonymous instant cryptocurrency exchange services with independent hot wallets and collect basic information about the services. Obtain sample transactions by using a small amount of cryptocurrency to interact with the anonymous instant cryptocurrency exchange service; analyze sample transactions and build a complete instant cryptocurrency exchange process for the anonymous instant cryptocurrency exchange service.

[0045] The anonymous instant cryptocurrency exchange service is controlled and managed by a centralized entity, and the user's funds will be stored in an independent centralized hot wallet instead of being dispersed among multiple nodes; all exchange requests in the anonymous instant cryptocurrency exchange service are processed through on-chain transactions, and most of the requested deposits and withdrawals are completed in a short time; the anonymous instant cryptocurrency exchange service should have an independent centralized hot wallet, and all user deposits will eventually be pooled into this hot wallet, and correspondingly, user withdrawals will also be issued from this hot wallet. Different from traditional centralized exchanges, anonymous instant cryptocurrency exchange services do not require users to register or provide KYC information; different from cross-chain bridges, anonymous instant cryptocurrency exchange services adopt a centralized custody method, and user funds are held in hot wallets by the service operator, and the relationship between user information and transaction history is not disclosed.

[0046] The specific selection process of selecting an anonymous instant cryptocurrency exchange service with an independent hot wallet is as follows Figure 2 As shown in the figure, first collect the existing cryptocurrency exchange services on the market and obtain the basic information of these services, including service name, official website, supported currencies, fee structure, etc. Then check whether the service has a centralized hot wallet, confirm whether user deposits are collected and withdrawals are from the centralized hot wallet of the service provider; check whether deposits and withdrawals are completed in a short time and all exchange requests are processed through on-chain transactions; check whether the service requires users to register or provide KYC information, and whether the service promises not to collect and disclose users' personal information; through the above checks, the selected anonymous instant cryptocurrency exchange service is obtained.

[0047] The selected anonymous instant cryptocurrency exchange service should support instant exchange of cryptocurrencies between different blockchains. For example, exchange ETH on the Ethereum network to TRX on the TRON network; the service should be able to complete most deposit and withdrawal transactions in a short time; the service should record all transactions through the blockchain to ensure that each transaction is transparent and traceable.

[0048] The basic information of the anonymous instant cryptocurrency exchange service includes the blockchain information supported by the service, the token information supported by the service, the exchange rate provided by the service, and the expected transaction completion time provided by the service. Among them, the token information supported by the service includes the name and symbol of the token, the on-chain address information of the token, and the minimum precision supported by the token. In addition, if the service has public historical transaction records, collect the basic information of the public historical transaction records, including transaction access chain information, transaction access token information, transaction timestamp and transaction amount. Save the basic information of the service for subsequent use.

[0049] Use real transaction sample data to analyze the anonymized instant cryptocurrency exchange service and obtain the complete transaction process. Through actual interaction with the service, use a small amount of cryptocurrency to conduct sample transactions. The sample transactions should cover different types of cryptocurrencies, different transaction volumes and transaction frequencies to ensure that the established instant cryptocurrency exchange transaction flow is representative and comprehensive; record all details of each transaction in detail, including transaction initiation time, transaction amount, transaction fee, transaction confirmation time, etc. This data will be used to build and analyze the transaction process. Based on the recorded transaction details, establish a complete transaction process for instant cryptocurrency exchange services. The process should include the following links: user-initiated transaction request, user deposit, deposit confirmation, user withdrawal, and service provider fund collection. Through this process, understand the specific content and dependencies of each step in the transaction process.

[0050] Step 2: According to the complete instant cryptocurrency exchange process, obtain and summarize the centralized hot wallet address of the anonymous instant cryptocurrency exchange service on the blockchain; collect the transaction records and token transfer records on the centralized hot wallet address, and integrate them to obtain complete on-chain transaction data;

[0051] Step 3: Clean and classify the on-chain transaction data in turn, add auxiliary information, and construct the deposit transaction data set and withdrawal transaction data set respectively;

[0052] As one implementation method, step three is divided into the following sub-steps:

[0053] (3.1) Cleaning on-chain transaction data. Perform preliminary processing on the collected on-chain transaction data and delete duplicate and abnormal transaction records. Duplicate transaction records refer to the same transaction that is recorded repeatedly at different times or for different reasons. These duplicate records may lead to inaccurate data analysis and must be deleted. Abnormal transaction records include invalid transactions caused by network delays, service failures, or user misoperation. These abnormal records need to be cleaned up to ensure the authenticity and accuracy of the data; filter all token transfer records based on the blockchain information and token types supported by the anonymous instant cryptocurrency exchange service, and only retain the token transfer records supported by the anonymous instant cryptocurrency exchange service. For example, if an exchange service only supports ETH, BSC, and USDT, only the transfer records of these currencies will be retained to facilitate subsequent analysis and processing.

[0054] (3.2) Classification of on-chain transaction data: By analyzing the complete instant cryptocurrency exchange transaction process of the anonymized instant cryptocurrency exchange service, the characteristic information of deposit transactions and withdrawal transactions is obtained. According to the deposit and withdrawal characteristics of the service, the cleaned on-chain transaction data is divided into deposit transactions and withdrawal transactions. The characteristic of deposit transactions is that funds are transferred from the user's external address to the centralized hot wallet address provided by the exchange service. These transactions mark that the user deposits funds into the exchange service. The characteristic of withdrawal transactions is that funds are transferred from the centralized hot wallet address to the external address specified by the user. These transactions mark that the user withdraws funds from the exchange service. In order to ensure the accuracy of the classification, some representative transactions are manually checked. This includes further checking the on-chain records of each transaction to confirm the direction of the transaction and the addresses involved.

[0055] (3.3) Add auxiliary information: Based on the timestamps of deposit and withdrawal transactions, call the application program (API) interface provided by centralized exchanges (such as Coinbase, Binance, etc.) to obtain the stablecoin price of the corresponding currency at the time of the transaction. This price information will be added to the transaction dataset as auxiliary data to evaluate the actual value of each transaction.

[0056] Step 4: For each deposit transaction in the deposit transaction data set, extract the on-chain transaction information and auxiliary information, and match the corresponding withdrawal transaction in the withdrawal transaction data set.

[0057] As one implementation method, step 4 is divided into the following sub-steps: Figure 3 As shown:

[0058] (4.1) For each deposit transaction, based on the on-chain transaction information and transaction currency information of each deposit transaction, the withdrawal transactions with the same currency type and transaction blockchain as the deposit transaction are filtered out from the withdrawal data set. This is because the matching withdrawal transaction cannot use the same currency as the deposit transaction and be conducted on the same blockchain. By comparing the blockchain information and token type of the deposit and withdrawal transactions, we can preliminarily identify and exclude the withdrawal transactions that do not meet the matching conditions.

[0059] (4.2) Determine the deposit and withdrawal time threshold and the deposit and withdrawal currency corresponding to the stablecoin price ratio threshold.

[0060] In order to further accurately match deposit transactions and withdrawal transactions, it is necessary to determine reasonable deposit and withdrawal time thresholds and deposit and withdrawal currency corresponding stablecoin price ratio thresholds. The deposit and withdrawal time threshold is used to limit the time difference between deposit transactions and withdrawal transactions to ensure that the matched transactions occur within a reasonable time range. The deposit and withdrawal currency corresponding stablecoin price ratio threshold is used to evaluate the changes in transaction amounts to ensure that the matched transaction amounts fluctuate within a reasonable range.

[0061] If the anonymous instant cryptocurrency exchange service has public historical transaction records, the historical transactions provided by the service are verified using real on-chain data. The real transaction data set is verified on-chain based on the basic information of the historical transactions. The access time threshold and the price ratio threshold of the deposited currency corresponding to the stable currency are determined through statistical analysis of the real transaction data set. For cases where there is no public historical transaction data, the appropriate access time threshold and the price ratio threshold of the deposited currency corresponding to the stable currency are determined based on sample transactions and the real-time exchange rate and estimated transaction time provided by the anonymous instant cryptocurrency exchange service.

[0062] (4.3) Select the withdrawal transactions within the two threshold ranges to obtain a preliminary screened withdrawal transaction set.

[0063] (4.4) Determine the size of the withdrawal transaction set. If it is 1, the withdrawal transaction is the withdrawal transaction that matches the deposit transaction. If it is 0, jump to step (4.6). If it is greater than 1, continue to determine whether there is a withdrawal transaction with the same withdrawal address as the deposit transaction address, that is, use the address reuse condition for further screening. The address reuse condition means that transactions with the same deposit address and withdrawal address are matched first. If not, jump to step (4.5). If so, use the condition that the withdrawal address is the same as the deposit address to filter the withdrawal transaction set. Continue to determine the size of the transaction set. If it is 1, the withdrawal transaction is the withdrawal transaction that matches the deposit transaction. If it is greater than 1, jump to step (4.5).

[0064] (4.5) Matching the withdrawal transaction with the smallest difference in withdrawal time within the price ratio threshold range of the stablecoin corresponding to the deposited currency, and the matched withdrawal transaction is the withdrawal transaction matching the deposit transaction;

[0065] (4.6) Considering the situation that the anonymous instant cryptocurrency exchange service has concentrated deposits and withdrawals for large transactions, determine whether the deposit transaction is a large transaction. If not, the deposit transaction has not matched a suitable withdrawal transaction; if yes, continue to determine whether the deposit and withdrawal time threshold has been expanded. If not, return to step (4.2) and expand the deposit and withdrawal time threshold under the premise that the threshold of the price ratio of the deposit and exchange currency corresponding to the stable currency remains unchanged; if yes, the deposit transaction has not matched a suitable withdrawal transaction.

[0066] The definition of large transactions is determined by setting a specific value threshold. Through multiple screening mechanisms, it is ensured that the transactions that are finally matched meet the conditions. When a deposit transaction does not match a suitable withdrawal transaction, the withdrawal transaction may be on other unsupported chains.

[0067] The above deposit and withdrawal transaction matching process constitutes a transaction matching system for cryptocurrency anonymization instant cryptocurrency exchange service, as follows: Figure 4As shown. A transaction matching system for anonymized instant cryptocurrency exchange service includes a service analysis module, a hot wallet address aggregation module, a transaction data collection module, a transaction data processing module and a transaction data matching module.

[0068] The service analysis module is used to collect and analyze sample transactions and construct a complete instant cryptocurrency exchange process of the anonymized instant cryptocurrency exchange service;

[0069] The hot wallet address aggregation module obtains and aggregates the centralized hot wallet addresses of the anonymized instant cryptocurrency exchange service on the blockchain according to the complete instant cryptocurrency exchange process, and constructs a hot wallet address list;

[0070] The transaction data collection module collects the transaction records and token transfer records on each centralized hot wallet address according to the hot wallet address list, and integrates all transaction records to form complete on-chain transaction data;

[0071] The transaction data processing module cleans and classifies the on-chain transaction data in turn, and after adding necessary auxiliary information, constructs the deposit transaction data set and the withdrawal transaction data set respectively;

[0072] The transaction data matching module extracts relevant on-chain transaction information and auxiliary information for each deposit transaction data, finds the corresponding withdrawal transaction in the withdrawal transaction data set through a matching algorithm, and finally outputs the matching result.

[0073] An embodiment of the present invention also provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, a transaction matching method for an anonymous instant cryptocurrency exchange service is implemented.

[0074] In order to demonstrate the effect of the embodiment of the present invention, a real analysis process is taken as an example, and the anonymous instant cryptocurrency exchange service FixedFloat is selected to match its deposit and withdrawal transactions on Ethereum and TRON.

[0075] Use the method of querying FixedFloat technical documents and official website information to obtain and save basic information related to the FixedFloat service, including supported blockchain information, service supported token information, service provided exchange rate, service provided expected transaction completion time.

[0076] Use a small amount of cryptocurrency to interact with the service to obtain sample transactions. The sample transaction data should cover different types of tokens and transaction volumes to ensure the representativeness and diversity of the data. Record the detailed information of each transaction, including the transaction initiation time, completion time, transaction amount, handling fee, and addresses involved. Analyze the complete transaction process of FixedFloat based on the sample transaction data, including user request, user deposit, user withdrawal, and service provider fund collection. Figure 5 shown.

[0077] (1) User request: FixedFloat receives a request from a user, which includes information such as the source chain, source token, amount, target chain, target token, and target address. After receiving the user request, FixedFloat creates a unique deposit address. This deposit address serves as a link mechanism to match user requests with on-chain transactions, making it easier for FixedFloat to process user deposits.

[0078] (2) User deposits: After creating a deposit address, the service waits for the user to confirm the deposit to the provided address. The deposit address is controlled by the service, and deposits can collect user funds immediately or deferred to their hot wallet.

[0079] (3) User withdrawal: Once the user's deposit is confirmed, FixedFloat directly initiates a transaction from its hot wallet and sends the requested tokens to the destination address specified by the user.

[0080] (4) Service provider fund aggregation: After receiving user deposits, FixedFloat aggregates the funds received by the deposit address and integrates them into a hot wallet. The fund collection step aims to aggregate small user inputs into a central hot wallet to meet exchange requests involving larger amounts.

[0081] After analyzing the FixedFloat transaction process, the centralized hot wallet address of FixedFloat on the supported blockchain is determined. The hot wallet address is shown in Table 1.

[0082] Table 1 List of centralized hot wallet addresses

[0083]

[0084] Use the transaction query interface provided by the blockchain browser API to obtain on-chain transaction data. Filter on-chain transaction data according to the supported token types disclosed by FixedFloat to ensure that only transaction records related to the service are retained. Classify the filtered transaction data into deposit transaction data sets and withdrawal transaction data sets. Use the API provided by Binance Exchange to query the stablecoin price corresponding to the timestamp of each transaction data in the data set and record it in detail.

[0085] Determine the access time threshold and the price ratio threshold of the corresponding stablecoin for the deposit and withdrawal transaction matching of FixedFloat. Collect some transaction information disclosed by FixedFloat, which usually includes basic details of the transaction, such as transaction time, token type, transaction amount, etc. Compare the public information with the on-chain transaction data to match the real deposit and withdrawal transactions on the chain. Establish a ground data set through the matching of the real on-chain deposit and withdrawal transaction data. This data set contains all verified transaction records, including transaction timestamps, token types, transaction amounts, handling fees, and other information.

[0086] Furthermore, the rate calculation method and specific rate data disclosed by FixedFloat are queried. By comparing the public rate information with the actual transaction rates recorded in the ground data set, a reasonable threshold range can be comprehensively determined. By analyzing the rate calculation formula, the key factors affecting the rate are determined, including transaction amount, token type and transaction frequency.

[0087] The transaction fee rate of each transaction recorded in the ground data set is compared and verified with the public fee calculation formula. Based on the verification results, factors such as transaction time, amount and token type are comprehensively considered to determine the reasonable deposit and withdrawal time threshold and the stablecoin price ratio threshold corresponding to the deposit and withdrawal token.

[0088] The deposit and access time threshold and the deposit and access currency corresponding to the stable currency price ratio threshold will be used in the transaction matching algorithm. The matching algorithm is used to match the FixedFloat deposit and access transaction data set to obtain the deposit and access transaction pair.

[0089] Those skilled in the art can understand that the above are only preferred examples of the invention and are not intended to limit the invention. Although the invention is described in detail with reference to the above examples, those skilled in the art can still modify the technical solutions recorded in the above examples or replace some of the technical features therein with equivalents. Any modification, equivalent replacement, etc. made within the spirit and principle of the invention shall be included in the protection scope of the invention.

Claims

1. A transaction matching method for an anonymous instant cryptocurrency exchange service, characterized in that: The method comprises the following steps: Step 1: Analyze the characteristics of cross-chain transaction services, select an anonymous instant cryptocurrency exchange service with an independent hot wallet, and collect its basic information; obtain sample transactions by using a small amount of cryptocurrency to interact with the anonymous instant cryptocurrency exchange service; analyze the sample transactions and construct a complete instant cryptocurrency exchange process for the anonymous instant cryptocurrency exchange service; Step 2: According to the complete instant cryptocurrency exchange process, obtain and summarize the centralized hot wallet address of the anonymous instant cryptocurrency exchange service on the blockchain; collect the transaction records and token transfer records on the centralized hot wallet address, and integrate them to obtain complete on-chain transaction data; Step 3: Clean and classify the on-chain transaction data in turn, add auxiliary information, and construct a deposit transaction data set and a withdrawal transaction data set respectively; Step 4: For each deposit transaction in the deposit transaction data set, extract the on-chain transaction information and auxiliary information, and match the corresponding withdrawal transaction in the withdrawal transaction data set; Step 4 includes the following sub-steps: (4.1) For each deposit transaction, based on the transaction chain information and transaction currency information, filter the withdrawal transactions in the withdrawal data set that have the same currency type and transaction blockchain as the deposit transaction; (4.2) Determine the deposit and withdrawal time threshold and the deposit and withdrawal currency corresponding to the stablecoin price ratio threshold; (4.3) Selecting withdrawal transactions within the two threshold ranges to obtain a preliminary screened withdrawal transaction set; (4.4) Determine the size of the withdrawal transaction set. If it is 1, the withdrawal transaction is the withdrawal transaction that matches the deposit transaction. If it is 0, jump to step (4.6). If it is greater than 1, continue to determine whether there is a withdrawal transaction with the same withdrawal address as the deposit transaction address. If not, jump to step (4.5). If so, use the condition that the withdrawal address is the same as the deposit address to filter the withdrawal transaction set. Continue to determine the size of the transaction set. If it is 1, the withdrawal transaction is the withdrawal transaction that matches the deposit transaction. If it is greater than 1, jump to step (4.5). (4.5) Matching the withdrawal transaction with the smallest difference in withdrawal time within the price ratio threshold range of the stablecoin corresponding to the deposited currency, and the matched withdrawal transaction is the withdrawal transaction matching the deposit transaction; (4.6) Considering the situation that the anonymous instant cryptocurrency exchange service has concentrated deposits and withdrawals for large transactions, determine whether the deposit transaction is a large transaction. If not, the deposit transaction has not matched a suitable withdrawal transaction; if yes, continue to determine whether the deposit and withdrawal time threshold has been expanded. If not, return to step (4.2) and expand the deposit and withdrawal time threshold under the premise that the threshold of the price ratio of the deposit and exchange currency corresponding to the stable currency remains unchanged; if yes, the deposit transaction has not matched a suitable withdrawal transaction.

2. The transaction matching method for anonymous instant cryptocurrency exchange service according to claim 1, characterized in that: In the step 1, the basic information of the anonymous instant cryptocurrency exchange service includes blockchain information supported by the service, token information supported by the service, exchange rates provided by the service, and expected transaction completion time provided by the service.

3. The transaction matching method for anonymous instant cryptocurrency exchange service according to claim 2, characterized in that: The token information supported by the service includes the name and symbol of the token, the on-chain address information of the token, and the minimum precision supported by the token.

4. The transaction matching method for anonymous instant cryptocurrency exchange service according to claim 1, characterized in that: In the step 1, if the anonymous instant cryptocurrency exchange service has public historical transaction records, basic information of the public historical transaction records is collected, including transaction access chain information, transaction access currency information, transaction timestamp and transaction amount, and the anonymous instant cryptocurrency exchange service is analyzed together with the sample transaction to construct a complete instant cryptocurrency exchange process for the anonymous instant cryptocurrency exchange service.

5. The transaction matching method for anonymous instant cryptocurrency exchange service according to claim 1, characterized in that: In step 1, the sample transactions should cover different types of cryptocurrencies, different transaction volumes and transaction frequencies to ensure that the established instant cryptocurrency exchange transaction flow is representative and comprehensive; based on the sample transaction data, a complete instant cryptocurrency exchange service transaction flow is established, including user-initiated transaction requests, user deposits, deposit confirmations, user withdrawals and service provider fund collection.

6. The transaction matching method for anonymous instant cryptocurrency exchange service according to claim 1, characterized in that: The step three specifically includes the following sub-steps: (3.1) Cleaning on-chain transaction data: deleting duplicate and abnormal transaction records; filtering all token transfer records based on the blockchain information and token types supported by the anonymous instant cryptocurrency exchange service, and only retaining token transfer records supported by the anonymous instant cryptocurrency exchange service; (3.2) Classifying on-chain transaction data: Based on the complete instant cryptocurrency exchange transaction process of the anonymized instant cryptocurrency exchange service, obtain the characteristic information of deposit transactions and withdrawal transactions; based on the deposit and withdrawal characteristics of the service, classify the cleaned on-chain transaction data into deposit transactions and withdrawal transactions; where deposit transactions refer to transactions that transfer funds from the user's external address to the centralized hot wallet address, and withdrawal transactions refer to transactions that transfer funds from the centralized hot wallet address to the external address specified by the user; (3.3) Add auxiliary information: Based on the timestamps of deposit and withdrawal transactions, use the API provided by the centralized exchange to obtain the stablecoin price of the corresponding currency at the time of the transaction, and add this price information as auxiliary information to the transaction dataset.

7. The transaction matching method for anonymous instant cryptocurrency exchange service according to claim 1, characterized in that: In step 4, if the anonymous instant cryptocurrency exchange service has public historical transaction records, the historical transactions provided by the service are verified using real data on the chain, and the real transaction data set is obtained by verifying the basic information of the historical transactions on the chain. The access time threshold and the stablecoin price ratio threshold corresponding to the deposit and withdrawal token are determined by statistical analysis of the real transaction data set; Otherwise, determine the appropriate deposit and withdrawal time threshold and the price ratio threshold of the deposited token corresponding to the stablecoin based on the real-time exchange rate and estimated transaction time provided by the sample transaction and the anonymous instant cryptocurrency exchange service.

8. A transaction matching system for anonymized instant cryptocurrency exchange services, characterized in that: It includes service analysis module, hot wallet address aggregation module, transaction data collection module, transaction data processing module and transaction data matching module; The service analysis module is used to collect and analyze sample transactions and construct a complete instant cryptocurrency exchange process for the anonymized instant cryptocurrency exchange service; The hot wallet address aggregation module obtains and aggregates the centralized hot wallet addresses of the anonymized instant cryptocurrency exchange service on the blockchain according to the complete instant cryptocurrency exchange process, and constructs a hot wallet address list; The transaction data collection module collects the transaction records and token transfer records on each centralized hot wallet address according to the hot wallet address list, and integrates all transaction records to form complete on-chain transaction data; The transaction data processing module cleans and classifies the on-chain transaction data in turn, and after adding auxiliary information, constructs a deposit transaction data set and a withdrawal transaction data set respectively; The transaction data matching module extracts the relevant on-chain transaction information and auxiliary information for each deposit transaction data, finds the corresponding withdrawal transaction in the withdrawal transaction data set through the matching algorithm, and finally outputs the matching result; the specific matching process is as follows: (4.1) For each deposit transaction, based on the transaction chain information and transaction currency information, filter the withdrawal transactions in the withdrawal data set that have the same currency type and transaction blockchain as the deposit transaction; (4.2) Determine the deposit and withdrawal time threshold and the deposit and withdrawal currency corresponding to the stablecoin price ratio threshold; (4.3) Selecting withdrawal transactions within the two threshold ranges to obtain a preliminary screened withdrawal transaction set; (4.4) Determine the size of the withdrawal transaction set. If it is 1, the withdrawal transaction is the withdrawal transaction that matches the deposit transaction. If it is 0, jump to step (4.6). If it is greater than 1, continue to determine whether there is a withdrawal transaction with the same withdrawal address as the deposit transaction address. If not, jump to step (4.5). If so, use the condition that the withdrawal address is the same as the deposit address to filter the withdrawal transaction set. Continue to determine the size of the transaction set. If it is 1, the withdrawal transaction is the withdrawal transaction that matches the deposit transaction. If it is greater than 1, jump to step (4.5). (4.5) Matching the withdrawal transaction with the smallest difference in withdrawal time within the price ratio threshold range of the stablecoin corresponding to the deposited currency, and the matched withdrawal transaction is the withdrawal transaction matching the deposit transaction; (4.6) Considering the situation that the anonymous instant cryptocurrency exchange service has concentrated deposits and withdrawals for large transactions, determine whether the deposit transaction is a large transaction. If not, the deposit transaction has not matched a suitable withdrawal transaction; if yes, continue to determine whether the deposit and withdrawal time threshold has been expanded. If not, return to step (4.2) and expand the deposit and withdrawal time threshold under the premise that the threshold of the price ratio of the deposit and exchange currency corresponding to the stable currency remains unchanged; if yes, the deposit transaction has not matched a suitable withdrawal transaction.

9. A computer-readable storage medium, characterized in that: A program is stored thereon, and when the program is executed by a processor, the transaction matching method for an anonymous instant cryptocurrency exchange service described in any one of claims 1 to 7 is implemented.