Currency transaction path determination method and device, electronic equipment and program product
By obtaining the key addresses and their associated address sets and determining the currency transaction path according to the criticality level, the problem of low efficiency in determining currency transaction paths in the existing technology is solved, and more efficient path determination is achieved.
Patent Information
- Application Number
- CN202411621584.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-11-13
AI Technical Summary
The existing methods of determining currency transaction paths are inefficient and are prone to waste time on uncritical address analysis and retrieval.
By obtaining at least one key address and its associated multi-level associated address set, the criticality level of each address is determined separately, and the currency transaction path from the target address to the key address is determined according to the criticality level.
By first determining the criticality level of the key addresses and associated addresses, the analysis and retrieval of uncritical addresses is reduced, thereby improving the efficiency of determining the currency transaction path.
Smart Images

Figure CN119648400A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of financial data analysis, and in particular, relates to a method, device, electronic equipment and program product for determining a currency transaction path. Background Art
[0002] Determining the currency transaction path of an address can help users identify risky activities of the address, and then supervise the risky activities, thereby improving the security of currency transactions.
[0003] In actual applications, since criminals may interfere by transferring a large number of small amounts or distributing transfers back and forth among multiple addresses, when determining the currency transaction path, time may be wasted on performing irrelevant analysis and retrieval of some non-critical addresses, thereby reducing the efficiency of determining the currency transaction path. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a method, device, electronic device and program product for determining a currency transaction path to solve the technical problem of low efficiency in the existing process of determining a currency transaction path.
[0005] In a first aspect, an embodiment of the present application provides a method for determining a currency transaction path, including:
[0006] Acquire at least one key address, and acquire N associated address sets associated with the at least one key address, wherein the N associated address sets include a first-level associated address set to an N-th-level associated address set, wherein the first-level associated address set includes at least one first-level associated address, and the N-th-level associated address set includes at least one N-th-level associated address, wherein a preset currency transaction behavior exists between the first-level associated address and the at least one key address, and wherein the preset currency transaction behavior exists between the N-th-level associated address and the N-1-th-level associated address, and N≥1;
[0007] Determine the criticality level of the at least one critical address and the criticality level of each address in the set of N associated addresses respectively, wherein the criticality level of each of the critical addresses is greater than the criticality level of each of the first-level associated addresses, and the criticality level of each of the N-1th-level associated addresses is greater than the criticality level of each of the Nth-level associated addresses;
[0008] Determine the target address of the currency transaction path to be obtained from the N associated address sets;
[0009] A currency transaction path from the target address to the at least one key address is determined based on the criticality level of the target address, the criticality level of the at least one key address, and the criticality level of each address in the set of N associated addresses.
[0010] Optionally, obtaining at least one key address includes:
[0011] At least one address with a preset label is searched from a preset target address library as the at least one key address.
[0012] Optionally, after acquiring N associated address sets associated with the at least one key address, the method further includes:
[0013] If at least two of the N associated address sets have the same address, the same address in all associated address sets whose corresponding addresses in the at least two associated address sets are not of the highest criticality level is deleted.
[0014] Optionally, determining the currency transaction path from the target address to the at least one key address according to the criticality level of the target address, the criticality level of the at least one key address, and the criticality level of each address in the set of N associated addresses includes:
[0015] Determine, from the at least one key address and the N associated address sets, a current address having the preset currency transaction behavior with the target address, wherein the criticality level of the current address is greater than the criticality level of the target address;
[0016] If the current address is any of the key addresses, determining the currency transaction path according to the target address and the current address;
[0017] If the current address is not any of the key addresses, the target address is replaced with the current address, and the process returns to the step of determining the current address having the preset currency transaction behavior with the target address from among the at least one key address and the N associated address sets.
[0018] Optionally, the preset currency transaction behavior includes a transaction behavior in which the currency flow is in a preset direction.
[0019] Optionally, after determining the currency transaction path from the target address to the at least one key address, the method further includes:
[0020] Determine an address in the currency transaction path that has the preset currency transaction behavior with the at least one key address as a key interaction address;
[0021] Risk identification is performed on the key interaction addresses.
[0022] Optionally, after determining the currency transaction path from the target address to the at least one key address, the method further includes:
[0023] If the number of the currency transaction paths is greater than or equal to two, then the number of addresses contained in each of the currency transaction paths and the total amount involved in the preset currency transaction behavior between each of the addresses contained in each of the currency transaction paths are determined respectively;
[0024] According to the number of addresses and the total amount corresponding to each of the currency transaction paths, a key transaction path is determined from the various currency transaction paths.
[0025] In a second aspect, an embodiment of the present application provides a device for determining a currency transaction path, including:
[0026] An address acquisition unit, configured to acquire at least one key address, and acquire N associated address sets associated with the at least one key address, wherein the N associated address sets include a first-level associated address set to an N-th-level associated address set, wherein the first-level associated address set includes at least one first-level associated address, and the N-th-level associated address set includes at least one N-th-level associated address, wherein a preset currency transaction behavior exists between the first-level associated address and the at least one key address, and wherein the preset currency transaction behavior exists between the N-th-level associated address and the N-1-th-level associated address, and N≥1;
[0027] a criticality level determination unit, configured to respectively determine the criticality level of the at least one critical address and the criticality level of each address in the set of N associated addresses, wherein the criticality level of each of the critical addresses is greater than the criticality level of each of the first-level associated addresses, and the criticality level of each of the N-1th-level associated addresses is greater than the criticality level of each of the Nth-level associated addresses;
[0028] A target address determination unit, used to determine a target address of a currency transaction path to be obtained from the N associated address sets;
[0029] A currency transaction path determination unit is used to determine a currency transaction path from the target address to the at least one key address based on the criticality level of the target address, the criticality level of the at least one key address, and the criticality level of each address in the set of N associated addresses.
[0030] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, each step of the method for determining a currency transaction path as described in the first aspect is implemented.
[0031] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for determining a currency transaction path as described in the first aspect above.
[0032] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is executed on an electronic device, the electronic device executes each step of the method for determining a currency transaction path in the first aspect described above.
[0033] The method, device, electronic device and program product for determining a currency transaction path provided by the embodiments of the present application have the following beneficial effects:
[0034] In the method for determining the currency transaction path provided in the embodiment of the present application, at least one key address is first obtained, and a set of N associated addresses associated with the at least one key address is obtained, and then the criticality level of the at least one key address and the criticality level of each address in the set of N associated addresses are determined respectively, and then the target address of the currency transaction path to be obtained is determined from the set of N associated addresses, and finally the currency transaction path from the target address to the key address is determined according to the criticality level of the target address, the criticality level of at least one key address, and the criticality level of each address in the set of N associated addresses. In the method of the present application, the criticality level of the key address and the criticality level of each associated address can be determined first, and then the currency transaction path can be determined according to the criticality level of each address, so that the analysis and retrieval of non-critical addresses can be reduced according to the criticality level, thereby improving the efficiency of determining the currency transaction path. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0036] Figure 1 A flowchart of a method for determining a currency transaction path provided in an embodiment of the present application;
[0037] Figure 2 A schematic diagram of a key address and a set of N associated addresses provided in an embodiment of the present application;
[0038] Figure 3 A schematic diagram of the structure of a device for determining a currency transaction path provided in an embodiment of the present application;
[0039] Figure 4A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] It should be noted that the terms used in the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. In the description of the embodiments of the present application, unless otherwise specified, "multiple" refers to two or more than two, and "at least one", "one or more" refers to one, two or more. The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, it is defined that the "first" and "second" features can explicitly or implicitly include one or more of the features.
[0041] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0042] The method for determining the currency transaction path provided in the embodiment of the present application can be applied to various scenarios for determining the currency transaction path from the target address to the key address. It should be noted that the currency described in the embodiment of the present application is a legal currency, such as RMB, USD, etc.
[0043] The execution subject of the method for determining a currency transaction path provided in the embodiment of the present application may include but is not limited to electronic devices such as mobile phones, tablet computers, laptop computers, and desktop computers.
[0044] See also Figure 1 , Figure 1 The present invention provides a flowchart of a method for determining a currency transaction path according to an embodiment of the present invention. The method for determining a currency transaction path according to an embodiment of the present invention may include steps S101 to S104, which are described in detail as follows:
[0045] In S101, at least one key address is obtained, and a set of N associated addresses associated with the at least one key address is obtained.
[0046] Among them, the N associated address sets include a first-level associated address set to an N-th level associated address set, the first-level associated address set includes at least one first-level associated address, the N-th level associated address set includes at least one N-th level associated address, there is a preset currency transaction behavior between the first-level associated address and at least one key address, there is a preset currency transaction behavior between the N-th level associated address and the N-1-th level associated address, and N≥1.
[0047] In an embodiment of the present application, the electronic device can obtain at least one key address from a preset target address library, and obtain a set of N associated addresses associated with the at least one key address.
[0048] Exemplarily, a user may input a target address library into an electronic device so that the electronic device may obtain the target address library. After obtaining the target address library, the electronic device may first determine at least one key address in the target address library.
[0049] In a possible implementation, the electronic device may search for at least one address with a preset tag from a preset target address library as at least one key address. Exemplarily, the preset tag may include but is not limited to an exchange, a cross-chain bridge, etc.
[0050] After determining at least one key address, the electronic device may obtain N associated address sets associated with the at least one key address according to the at least one key address. There is a preset currency transaction between a first-level associated address included in a first-level associated address set in the N associated address sets and at least one key address, there is a preset currency transaction between a second-level associated address included in a second-level associated address set in the N associated address sets and at least one first-level associated address, and so on, there is a preset currency transaction between an N-th level associated address included in an N-th level associated address set in the N associated address sets and at least one N-1-th level associated address.
[0051] In the embodiment of the present application, the preset currency transaction behavior may include a transaction behavior in which the currency flows in a preset direction. Exemplarily, the preset currency transaction behavior between address A and address B may be a currency transaction behavior in which the currency of address B flows to address A. Of course, the preset currency transaction behavior between address A and address B may also be a currency transaction behavior in which the currency of address A flows to address B. For the convenience of description, the preset currency transaction behavior between address A and address B in the embodiment of the present application is a currency transaction behavior in which the currency of address B flows to address A.
[0052] The following is an example of obtaining a key address and a set of N associated addresses. Figure 2 , Figure 2A schematic diagram of a key address and a set of N associated addresses provided in an embodiment of the present application.
[0053] exist Figure 2 In the example, the preset target address library may include address 1, address 2, address 3, address 4, address 5, address 6, address 7, address 8 and address 9, the key addresses may be address 1 and address 9, the arrow between any two addresses may indicate that there is a currency transaction between the two addresses, and the direction of the arrow may indicate the flow direction of the currency. Since there is a preset currency transaction between address 1 and address 2 (i.e., there is a currency transaction between address 1 and address 2, where the currency of address 2 flows to address 1), address 2 may be a first-level associated address, and similarly, address 3 and address 4 may also be first-level associated addresses. In addition, since there is also a preset currency transaction between address 8 and address 9, address 8 may be a first-level associated address, that is, the first-level associated address set may include address 2, address 3, address 4 and address 8.
[0054] Similarly, for the first-level associated addresses of address 2, address 3, address 4 and address 8 in the first-level associated address set, address 3, address 6 and address 7 can be determined as second-level associated addresses, so the second-level associated address set can include address 3, address 6 and address 7.
[0055] Similarly, for the second-level associated addresses of address 3, address 6 and address 7 in the second-level associated address set, it can be determined that address 5 and address 8 are third-level associated addresses, so the third-level associated address set can include address 5 and address 8.
[0056] After obtaining N associated address sets, the electronic device can determine whether there are at least two associated address sets in the N associated address sets that have the same address. If it is determined that there are at least two associated address sets in the N associated address sets that have the same address, the same address in all associated address sets whose corresponding addresses in the at least two associated address sets with the same address are not the highest in criticality level will be deleted.
[0057] It should be noted that in the embodiment of the present application, the criticality level of each critical address is greater than the criticality level of each first-level associated address, the criticality level of each first-level associated address is greater than the criticality level of each second-level associated address, and so on. The criticality level of each N-1th level associated address is greater than the criticality level of each Nth level associated address.
[0058] by Figure 2Taking the example shown as an example, since the first-level associated address set includes address 2, address 3, address 4 and address 8, the second-level associated address set includes address 3, address 6 and address 7, the third-level associated address set may include address 5 and address 8.
[0059] It can be seen that the first-level associated address set and the second-level associated address set both include address 3. Since the criticality level of the address corresponding to the first-level associated address set is higher than the criticality level of the address corresponding to the second-level associated address set, the second-level associated address set is "the set of all associated addresses whose criticality level of the corresponding address is not the highest", that is, the same address in the second-level associated address set can be deleted, that is, address 3 in the second-level associated address set can be deleted. At this time, address 3 is a first-level associated address, not a second-level associated address.
[0060] Similarly, the first-level associated address set and the third-level associated address set both include address 8. Since the criticality level of the address corresponding to the first-level associated address set is higher than the criticality level of the address corresponding to the third-level associated address set, the third-level associated address set is "the set of all associated addresses whose corresponding addresses have a non-highest criticality level", that is, the same address in the third-level associated address set can be deleted, that is, address 8 in the third-level associated address set can be deleted. At this time, address 8 is a first-level associated address, not a third-level associated address.
[0061] After completing the above steps, the key addresses are address 1 and address 9, the first level associated address set includes address 2, address 3, address 4 and address 8, the second level associated address set includes address 6 and address 7, and the third level associated address set may include address 5.
[0062] Through the steps of this embodiment, the electronic device can obtain the key address and the multi-level associated address set associated with the key address, so as to determine the criticality of each address in each associated address set.
[0063] In S102, a criticality level of at least one critical address and a criticality level of each address in a set of N associated addresses are determined respectively.
[0064] In an embodiment of the present application, after acquiring the critical address and N associated address sets, the electronic device may respectively determine the criticality level of each critical address, and determine the criticality level of each address in the N associated address sets.
[0065] Among them, the rules for determining the criticality level are consistent with the rules for determining the criticality level described in S101, that is, the criticality of each critical address is equal to or greater than the criticality level of each first-level associated address, and the criticality level of each N-1th level associated address is greater than the criticality level of each Nth level associated address.
[0066] exist Figure 2 In the corresponding example, the critical addresses are address 1 and address 9, the first-level associated address set includes address 2, address 3, address 4 and address 8, the second-level associated address set includes address 6 and address 7, and the third-level associated address set may include address 5. Based on the above rules for determining the criticality level, it can be concluded that the criticality level of address 1 and address 9 is the highest level, the criticality level of address 2, address 3, address 4 and address 8 is the second highest level, the criticality level of address 6 and address 7 is the third highest level, and the criticality level of address 5 is the fourth highest level.
[0067] Through the steps of this embodiment, the electronic device can determine the criticality level of the critical address and the criticality level of each address in the set of N associated addresses, so that the currency transaction path can be determined according to the criticality of each address, thereby reducing the analysis and retrieval of uncritical addresses, and ultimately improving the efficiency of determining the currency transaction path.
[0068] In S103, the target address of the currency transaction path to be obtained is determined from the N associated address sets.
[0069] In the embodiment of the present application, after obtaining N associated address sets, the electronic device can determine the target address of the currency transaction path to be obtained from the N associated address sets.
[0070] Exemplarily, the user may input the target address of the currency transaction path to be obtained into the electronic device so that the electronic device can obtain the target address.
[0071] The target address may be any one of the N associated address sets, and the target address may be set according to user needs. For example, when the user wants to determine the currency transaction path between address 5 and the key address, the electronic device may determine address 5 as the target address of the currency transaction path to be obtained.
[0072] In S104, a currency transaction path from the target address to the critical address is determined according to the criticality level of the target address, the criticality level of at least one critical address, and the criticality level of each address in the set of N associated addresses.
[0073] In an embodiment of the present application, after determining the target address, and determining the criticality level of each critical address and the criticality level of each address in a set of N associated addresses, the electronic device can first determine the criticality level of the target address, and then can determine the currency transaction path from the target address to the critical address based on the criticality level of the target address, the criticality level of at least one critical address, and the criticality level of each address in a set of N associated addresses.
[0074] In a possible implementation, the electronic device may determine the currency transaction path from the target address to at least one key address through steps a to c, as described in detail below:
[0075] In step a, a current address having a preset currency transaction behavior with a target address is determined from at least one key address and a set of N associated addresses.
[0076] The criticality level of the current address is greater than the criticality level of the target address.
[0077] In this implementation, when it is necessary to determine the currency transaction path from the target address to the key address, the electronic device can first determine from at least one key address and a set of N associated addresses that there is a preset currency transaction behavior with the target address, and the criticality level is greater than the current address of the target address.
[0078] by Figure 2 Taking the example in as an example, the target address can be address 5. Since there is a currency transaction behavior from address 5 to address 6, that is, there is a preset currency transaction behavior between address 6 and address 5, and since the criticality level of address 6 is greater than the criticality level of address 5, the electronic device can determine that the current address is address 6.
[0079] In step b, if the current address is any key address, the currency transaction path is determined based on the target address and the current address.
[0080] In this implementation, after each time a new current address is determined, the electronic device can determine whether the current address is any key address. If the current address is any key address, the currency transaction path is determined based on the target address and the current address.
[0081] by Figure 2 Taking the example in as an example, since the current address is address 6 at this time, and address 6 is not any key address, the electronic device may not execute the step of determining the currency transaction path according to the target address and the current address, but may execute step c.
[0082] In step c, if the current address is not any key address, the target address is replaced with the current address, and the process returns to the step of determining the current address that has a preset currency transaction behavior with the target address from at least one key address and a set of N associated addresses.
[0083] In this implementation, each time a new current address is determined, the electronic device can determine whether the current address is any key address. If the current address is not any key address, the target address can be replaced with the current address, and the step of determining the current address that has a preset currency transaction behavior with the target address from at least one key address and a set of N associated addresses is returned.
[0084] by Figure 2 Taking the example in as an example, since the latest current address is address 6, and address 6 is not any key address, the electronic device can replace the original target address (address 5) with the current address (address 6), and based on the new target address (address 6), again determine the current address that has a preset currency transaction behavior with the new target address from at least one key address and a set of N associated addresses.
[0085] Since there is a preset currency transaction behavior between address 2 and address 6, and since the criticality level of address 2 is greater than the criticality level of address 6, the electronic device can determine that the current address is address 2.
[0086] After determining the latest current address (address 2), the electronic device can determine whether the new current address (address 2) is any key address. Since the new current address (address 2) is not any key address, the electronic device can replace the original target address (address 6) with the current address (address 2), and based on the new target address (address 2), again determine the current address that has a preset currency transaction behavior with the new target address from at least one key address and a set of N associated addresses.
[0087] Since there is a preset currency transaction behavior between address 1 and address 2, and since the criticality level of address 1 is greater than the criticality level of address 2, the electronic device can determine that the current address is address 1.
[0088] After determining the latest current address (address 1), the electronic device can determine whether the new current address (address 1) is any key address. Since the new current address (address 1) is any key address, the electronic device can determine the currency transaction path based on each target address (address 5, address 6, address 2) and the current address (address 1). Specifically, the electronic device can determine the set of paths from address 5 to address 6, the path from address 6 to address 2, and the path from address 2 to address 1 as the currency transaction path from the target address to the key address.
[0089] The following is an analysis of the technical effects of the method for determining the currency transaction path provided in this application in combination with examples:
[0090] Likewise Figure 2 Taking the example shown as an example, and taking address 3 as the target address, it is necessary to determine the currency transaction path between address 3 and any key address.
[0091] When the target address is address 3, according to the method for determining the currency transaction path provided in the embodiment of the present application, the currency transaction path determined is the path from address 3 to address 1, rather than the path from address 3 to address 2 and from address 2 to address 1. Therefore, in the process of determining the currency transaction path by the method for determining the currency transaction path provided in the embodiment of the present application, there is no need to analyze and retrieve the uncritical address (address 2).
[0092] However, since the method for determining the currency transaction path in the prior art does not determine the currency transaction path according to the criticality level, the currency transaction path determined by the method for determining the currency transaction path in the prior art includes the path from address 3 to address 1, and the path from address 3 to address 2 and the path from address 2 to address 1. Therefore, in the process of determining the currency transaction path by the method for determining the currency transaction path in the prior art, the non-critical address (address 2) needs to be analyzed and retrieved.
[0093] In actual applications, since criminals may interfere by transferring a large number of small amounts or distributing transfers back and forth among multiple addresses, there may be many uncritical addresses similar to address 2. Since the method for determining the currency transaction path provided in the embodiment of the present application does not require analysis and retrieval of all uncritical addresses in the process of determining the currency transaction path, the efficiency of determining the currency transaction path can be greatly improved.
[0094] As can be seen from the above, in the method for determining the currency transaction path provided in the embodiment of the present application, at least one key address is first obtained, and a set of N associated addresses associated with the at least one key address is obtained, and then the criticality level of the at least one key address and the criticality level of each address in the set of N associated addresses are determined respectively, and then the target address of the currency transaction path to be obtained is determined from the set of N associated addresses, and finally the currency transaction path from the target address to the key address is determined according to the criticality level of the target address, the criticality level of at least one key address, and the criticality level of each address in the set of N associated addresses. In the method of the present application, the criticality level of the key address and the criticality level of each associated address can be determined first, and then the currency transaction path can be determined according to the criticality level, so that the analysis and retrieval of non-critical addresses can be reduced according to the criticality level, thereby improving the efficiency of determining the currency transaction path.
[0095] In one possible implementation, after determining the currency transaction path, the electronic device may also determine an address in the currency transaction path that has a preset currency transaction behavior with at least one key address as a key interaction address, and after determining the key interaction address, the electronic device may perform risk identification on the key interaction address.
[0096] by Figure 2 Taking the example in as an example, when the target address is address 5, the currency transaction path is the set of the path from address 5 to address 6, the path from address 6 to address 2, and the path from address 2 to address 1. Therefore, in this currency transaction path, the address that has a preset currency transaction behavior with the key address is address 2. Therefore, address 2 can be determined as the key interaction address and risk identification can be performed on address 2.
[0097] Continue with Figure 2 Taking the example in as an example, when the target address is address 3, the currency transaction path is the path from address 3 to address 1. Therefore, in this currency transaction path, the address that has a preset currency transaction behavior with the key address is address 3. Therefore, address 3 can be determined as the key interaction address and risk identification can be performed on address 3.
[0098] It should be noted that the key interaction address and the uncritical address will be different if the target address is different. For example, when the target address is address 5, the key interaction address is address 2, and when the target address is address 3, the key interaction address is address 3, and the uncritical address is address 2.
[0099] In an embodiment of the present application, after risk identification is performed on a key interaction address, if it is identified that the key interaction address has risks, the electronic device may also take preset measures to perform risk management on the key interaction address.
[0100] In one possible implementation, after determining the currency transaction path, the electronic device can determine whether the number of currency transaction paths is greater than or equal to two. If the electronic device determines that the number of currency transaction paths is greater than or equal to two, the electronic device can determine the number of addresses contained in each currency transaction path and the total amount involved in the preset currency transaction behaviors between each address contained in each path, and can determine the key transaction path from each currency transaction path based on the number of addresses contained in each currency transaction path and the total amount involved in the preset currency transaction behaviors between each address contained in each path.
[0101] For example, if there are two currency transaction paths, and the two currency transaction paths each contain the same number of addresses, and the total amount involved in the preset currency transaction behaviors between the addresses included in currency transaction path 1 is greater than the total amount involved in the preset currency transaction behaviors between the addresses included in currency transaction path 2, then currency transaction path 1 can be determined as the key transaction path.
[0102] If the total amount involved in the preset currency transaction behaviors between the addresses contained in the two currency transaction paths is the same, and the number of addresses contained in currency transaction path 1 is less than the number of addresses contained in currency transaction path 2, then currency transaction path 1 can be determined as the key transaction path.
[0103] If the total amount of the preset currency transaction between the addresses included in the two currency transaction paths is different, and the number of addresses included in each path is also different, the key transaction path can be determined according to the first weight corresponding to the preset total amount and the second weight corresponding to the preset number of addresses. The first weight and the second weight can be set according to the actual needs of the user and are not limited here.
[0104] After determining the key transaction path, users can focus on analyzing and controlling the key transaction path.
[0105] Based on the method for determining the currency transaction path provided in the above embodiment, the present application further provides a device for determining the currency transaction path to implement the above method embodiment. Figure 3 , Figure 3 A schematic diagram of a device for determining a currency transaction path provided in an embodiment of the present application. Figure 3 As shown, the device 30 for determining a currency transaction path may include: an address acquisition unit 31, a criticality level determination unit 32, a target address determination unit 33, and a currency transaction path determination unit 34. Among them:
[0106] The address acquisition unit 31 is used to acquire at least one key address, and acquire N associated address sets associated with at least one key address, the N associated address sets include a first-level associated address set to an N-th-level associated address set, the first-level associated address set includes at least one first-level associated address, the N-th-level associated address set includes at least one N-th-level associated address, there is a preset currency transaction behavior between the first-level associated address and at least one key address, there is a preset currency transaction behavior between the N-th-level associated address and the N-1-th-level associated address, and N≥1.
[0107] The criticality level determination unit 32 is used to respectively determine the criticality level of at least one critical address and the criticality level of each address in the set of N associated addresses, wherein the criticality level of each critical address is greater than the criticality level of each first-level associated address, and the criticality level of each N-1th-level associated address is greater than the criticality level of each Nth-level associated address.
[0108] The target address determination unit 33 is used to determine the target address of the currency transaction path to be obtained from the N associated address sets.
[0109] The money transaction path determination unit 34 is used to determine the money transaction path from the target address to at least one key address according to the criticality level of the target address, the criticality level of at least one key address and the criticality level of each address in the set of N associated addresses.
[0110] Optionally, the address obtaining unit 31 is specifically used for:
[0111] At least one address with a preset label is searched from a preset target address library as at least one key address.
[0112] Optionally, the address obtaining unit 31 is further configured to:
[0113] If at least two of the N associated address sets have the same address, the same address in all associated address sets whose corresponding addresses in the at least two associated address sets are not of the highest criticality level are deleted.
[0114] Optionally, the currency transaction path determining unit 34 is specifically configured to:
[0115] Determine, from at least one key address and a set of N associated addresses, a current address that has a preset currency transaction behavior with a target address, wherein the criticality level of the current address is greater than the criticality level of the target address;
[0116] If the current address is any key address, the currency transaction path is determined based on the target address and the current address;
[0117] If the current address is not any key address, the target address is replaced with the current address, and the process returns to the step of determining the current address that has a preset currency transaction behavior with the target address from at least one key address and a set of N associated addresses.
[0118] Optionally, the device 30 for determining a currency transaction path may further include a key interaction address identification unit.
[0119] in:
[0120] The key interaction address identification unit is specifically used for:
[0121] Determine the address in the currency transaction path that has a preset currency transaction behavior with at least one key address as a key interaction address;
[0122] Identify risks at key interaction addresses.
[0123] Optionally, the device 30 for determining a currency transaction path may further include a key transaction path determining unit.
[0124] in:
[0125] The key transaction path determination unit is specifically used for:
[0126] If the number of currency transaction paths is greater than or equal to two, then determine the number of addresses contained in each currency transaction path and the total amount involved in the preset currency transaction behavior between each address contained in each currency transaction path;
[0127] According to the number of addresses and total amount corresponding to each currency transaction path, the key transaction path is determined from each currency transaction path.
[0128] It should be noted that the information interaction, execution process and other contents between the above-mentioned units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be specifically referred to the method embodiment part and will not be repeated here.
[0129] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown, the electronic device 4 provided in this embodiment may include: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40, such as a program corresponding to the method for determining a currency transaction path. When the processor 40 executes the computer program 42, the steps in the method for determining a currency transaction path described above are implemented, such as Figure 1Alternatively, when the processor 40 executes the computer program 42, the functions of each module / unit in the above-mentioned embodiment of the device for determining the currency transaction path are realized, for example Figure 3 The functions of the units 31 to 34 are shown.
[0130] Exemplarily, the computer program 42 may be divided into one or more modules / units, one or more modules / units are stored in the memory 41 and executed by the processor 40 to complete the present application. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 42 in the electronic device 4. For example, the computer program 42 may be divided into an address acquisition unit 31, a criticality level determination unit 32, a target address determination unit 33, and a currency transaction path determination unit 34. For the specific functions of each unit, please refer to Figure 3 The relevant descriptions in the corresponding embodiments are not repeated here.
[0131] Those skilled in the art will understand that Figure 4 The electronic device 4 is merely an example and does not limit the electronic device 4 . The electronic device 4 may include more or fewer components than shown in the figure, or may combine certain components, or may include different components.
[0132] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0133] The memory 41 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. The memory 41 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, or a flash card, etc., equipped on the electronic device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 41 is used to store computer programs and other programs and data required by the electronic device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
[0134] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units is used as an example. In practical applications, the above-mentioned functions can be assigned to different functional units as needed, that is, the internal structure of the device for determining the currency transaction path can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiment can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the unit in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0135] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0136] An embodiment of the present application provides a computer program product. When the computer program product is executed on a terminal device, the terminal device implements the steps in the above-mentioned various method embodiments.
[0137] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0138] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0139] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for determining a currency transaction path, characterized in that: include: Acquire at least one key address, and acquire N associated address sets associated with the at least one key address, wherein the N associated address sets include a first-level associated address set to an N-th-level associated address set, wherein the first-level associated address set includes at least one first-level associated address, and the N-th-level associated address set includes at least one N-th-level associated address, wherein a preset currency transaction behavior exists between the first-level associated address and the at least one key address, and wherein the preset currency transaction behavior exists between the N-th-level associated address and the N-1-th-level associated address, and N≥1; Determine the criticality level of the at least one critical address and the criticality level of each address in the set of N associated addresses respectively, wherein the criticality level of each of the critical addresses is greater than the criticality level of each of the first-level associated addresses, and the criticality level of each of the N-1th-level associated addresses is greater than the criticality level of each of the Nth-level associated addresses; Determine a target address of the currency transaction path to be obtained from the N associated address sets; A currency transaction path from the target address to the at least one key address is determined based on the criticality level of the target address, the criticality level of the at least one key address, and the criticality level of each address in the set of N associated addresses.
2. The method according to claim 1, characterized in that The obtaining of at least one key address includes: At least one address with a preset label is searched from a preset target address library as the at least one key address.
3. The method according to claim 1, characterized in that After obtaining N associated address sets associated with the at least one key address, the method further includes: If at least two of the N associated address sets have the same address, the same address in all associated address sets whose corresponding addresses in the at least two associated address sets are not of the highest criticality level is deleted.
4. The method according to claim 1, characterized in that: The determining, according to the criticality level of the target address, the criticality level of the at least one critical address, and the criticality level of each address in the set of N associated addresses, a currency transaction path from the target address to the at least one critical address comprises: Determine, from the at least one key address and the N associated address sets, a current address having the preset currency transaction behavior with the target address, wherein the criticality level of the current address is greater than the criticality level of the target address; If the current address is any of the key addresses, determining the currency transaction path according to the target address and the current address; If the current address is not any of the key addresses, the target address is replaced with the current address, and the process returns to the step of determining the current address having the preset currency transaction behavior with the target address from among the at least one key address and the N associated address sets.
5. The method according to claim 4, characterized in that The preset currency transaction behavior includes a transaction behavior in which the currency flow is in a preset direction.
6. The method according to claim 1, characterized in that After determining the currency transaction path from the target address to the at least one key address, the method further comprises: Determine an address in the currency transaction path that has the preset currency transaction behavior with the at least one key address as a key interaction address; Risk identification is performed on the key interaction addresses.
7. The method according to any one of claims 1 to 6, characterized in that: After determining the currency transaction path from the target address to the at least one key address, the method further includes: If the number of the currency transaction paths is greater than or equal to two, then the number of addresses contained in each of the currency transaction paths and the total amount involved in the preset currency transaction behavior between each of the addresses contained in each of the currency transaction paths are determined respectively; According to the number of addresses and the total amount corresponding to each of the currency transaction paths, a key transaction path is determined from the various currency transaction paths.
8. A device for determining a currency transaction path, characterized in that: include: An address acquisition unit, configured to acquire at least one key address, and acquire N associated address sets associated with the at least one key address, wherein the N associated address sets include a first-level associated address set to an N-th-level associated address set, wherein the first-level associated address set includes at least one first-level associated address, and the N-th-level associated address set includes at least one N-th-level associated address, wherein a preset currency transaction behavior exists between the first-level associated address and the at least one key address, and wherein the preset currency transaction behavior exists between the N-th-level associated address and the N-1-th-level associated address, and N≥1; a criticality level determination unit, configured to respectively determine the criticality level of the at least one critical address and the criticality level of each address in the set of N associated addresses, wherein the criticality level of each of the critical addresses is greater than the criticality level of each of the first-level associated addresses, and the criticality level of each of the N-1th-level associated addresses is greater than the criticality level of each of the Nth-level associated addresses; A target address determination unit, used to determine a target address of a currency transaction path to be obtained from the N associated address sets; A currency transaction path determination unit is used to determine a currency transaction path from the target address to the at least one key address based on the criticality level of the target address, the criticality level of the at least one key address, and the criticality level of each address in the set of N associated addresses.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, each step of the method for determining a currency transaction path according to any one of claims 1 to 7 is implemented.
10. A computer program product, when the computer program product is run on a computer device, enables the computer device to execute the method for determining a currency transaction path according to any one of claims 1 to 7.
Citation Information
Patent Citations
Digital currency flow direction tracking method and device
CN111383005A
Cryptocurrency flow direction tracking method and device based on graph database
CN112650890A
Block chain transaction association address discovery method and device
CN118690342A
Systems and Methods for Crypto Currency Automated Transaction Flow Detection
US20190370797A1
Data communication method and apparatus, computer device, and storage medium
US20230089134A1