Transaction relationship analysis method and apparatus, electronic device, and storage medium
By generating a transaction link relationship diagram, the problem of traditional transaction relationship analysis being unable to intuitively display the flow of funds is solved, and efficient and accurate transaction relationship analysis is achieved.
Patent Information
- Application Number
- CN202110923927.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-12
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2041-08-12
AI Technical Summary
Traditional transaction relationship analysis cannot intuitively display the overall flow of funds, and relies on manual analysis to expand the upstream and downstream connections of opponents, which is inefficient.
By determining the target transaction object level, obtaining transaction data and selecting transaction-related objects based on screening conditions, a transaction link relationship diagram is generated to intuitively display the transaction relationship.
It improves the efficiency and accuracy of transaction relationship analysis, reduces human interference, intuitively displays the source and destination of transaction objects, and simplifies the analysis of multi-layer transaction relationships.
Smart Images

Figure CN115905625B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computers, in particular to a transaction relationship analysis method and device, an electronic device and a storage medium. BACKGROUND
[0002] With the continuous development of Internet technology, many merchants or users will conduct transactions and daily resource transfer activities through designated financial applications or payment applications, and thus it is necessary to prevent and control the risks that may exist in each merchant or user (such as the risk of converting resources obtained through illegal channels into legal resources). Each financial institution can detect whether the transaction corresponding to the transaction data is risky by analyzing the transaction data, such as selecting effective data from massive data, conducting qualitative and quantitative analysis, deeply mining multi-level and diversified information of customers, and determining suspicious transaction behaviors of customers. In recent years, the People's Bank and financial institutions have gradually standardized the monitoring and analysis of large-value transactions and suspicious transactions, and have effectively cracked down on illegal transactions.
[0003] However, the current traditional scheme can only see the first-degree upstream and downstream counterparts of the subject, and cannot intuitively display the overall flow of funds. If the upstream and downstream counterparts of the counterparties are to be expanded, and the correlation and strength of the correlation between the expanded counterparts and the upstream and downstream counterparts of the main account are to be known, artificial analysis is required, which is low in efficiency. SUMMARY
[0004] The embodiments of the present application provide a transaction relationship analysis method and device, an electronic device and a storage medium, which can effectively improve the efficiency of transaction relationship analysis.
[0005] The embodiments of the present application provide a transaction relationship analysis method, which comprises:
[0006] determining a target transaction object and a target object level to be analyzed at present;
[0007] obtaining a transaction object to be analyzed corresponding to the target object level and a transaction screening condition, and transaction data of the transaction object to be analyzed, and determining a candidate transaction object of the transaction object to be analyzed according to the transaction data;
[0008] selecting an object satisfying the transaction screening condition from the candidate transaction object according to the transaction screening condition, obtaining a transaction correlation object of the target transaction object at the target object level, and a transaction correlation relationship between the target transaction object and the transaction correlation object;
[0009] update a current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, to obtain an updated transaction relationship set, wherein the transaction relationship set comprises at least one object level and a transaction association relationship corresponding to the object level;
[0010] generate a transaction link relationship graph of the target transaction object according to the updated transaction relationship set, wherein the transaction link relationship graph comprises a plurality of node levels and links of nodes, each node level corresponds to an object level, and the links between the node levels indicate transaction association relationships between transaction objects in the object levels.
[0011] Correspondingly, the embodiment of the application further provides a transaction relationship analysis device, comprising:
[0012] a determination unit configured to determine a target transaction object and a target object level to be analyzed currently;
[0013] an acquisition unit configured to acquire a transaction object to be analyzed corresponding to the target object level and a transaction screening condition, and transaction data of the transaction object to be analyzed, and determine a candidate transaction object of the transaction object to be analyzed according to the transaction data;
[0014] a screening unit configured to select an object satisfying the transaction screening condition from the candidate transaction object according to the transaction screening condition, to obtain a transaction association object of the target transaction object in the target object level and a transaction association relationship between the target transaction object and the transaction association object;
[0015] an update unit configured to update a current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, to obtain an updated transaction relationship set, wherein the transaction relationship set comprises at least one object level and a transaction association relationship corresponding to the object level;
[0016] a generation unit configured to generate a transaction link relationship graph of the target transaction object according to the updated transaction relationship set, wherein the transaction link relationship graph comprises a plurality of node levels and links of nodes, each node level corresponds to an object level, and the links between the node levels indicate transaction association relationships between transaction objects in the object levels.
[0017] Optionally, in some embodiments, the generation unit can be specifically configured to, when the transaction relationship analysis does not satisfy a preset ending condition, return to execute the step of determining the target object level to be analyzed currently, taking the transaction association object as the transaction object to be analyzed; and when the transaction relationship analysis satisfies the preset ending condition, generate the transaction link relationship graph of the target transaction object according to the updated transaction relationship set.
[0018] Optionally, in some embodiments, the generating unit comprises a determining sub-unit and a screening sub-unit, as follows:
[0019] The determining sub-unit is configured to determine a transaction screening range for transaction relationship analysis.
[0020] The screening sub-unit is configured to screen a target transaction relationship set from the updated transaction relationship set according to the transaction screening range, and generate the transaction link relationship graph of the target transaction object based on the target transaction relationship set.
[0021] Optionally, in some embodiments, the determining sub-unit can be specifically configured to display a transaction relationship analysis page, wherein the transaction relationship analysis page comprises a screening control; and in response to a screening operation on the screening control, the transaction screening range for transaction relationship analysis is determined.
[0022] Optionally, in some embodiments, the transaction relationship analysis page comprises a refresh control, and the screening sub-unit can be specifically configured to, in response to a refresh operation on the refresh control, determine a target transaction relationship set from the updated transaction relationship set based on the transaction screening range; and generate the transaction link relationship graph of the target transaction object based on the target transaction relationship set.
[0023] Optionally, in some embodiments, the generating unit comprises a position sub-unit and a generating sub-unit, as follows:
[0024] The position sub-unit is configured to determine position information of each transaction associated object based on the updated transaction relationship set.
[0025] The generating sub-unit is configured to generate the transaction link relationship graph of the target transaction object based on the position information of the transaction associated object.
[0026] Optionally, in some embodiments, the position sub-unit can be specifically configured to classify the transaction associated objects in the updated transaction relationship set to obtain a point relationship list of the target transaction object, wherein the point relationship list comprises at least one transaction associated object and an object level corresponding to each transaction associated object; and the position information of each transaction associated object is calculated based on the object level corresponding to the transaction associated object in the point relationship list.
[0027] Optionally, in some embodiments, the point relationship list includes a serial number of an object level where each transaction associated object is located, and the position subunit can be specifically configured to determine a number of transaction associated objects corresponding to each object level; based on the transaction object to be analyzed corresponding to each object level, the number of transaction associated objects corresponding to each object level, and the serial number of the transaction associated objects in each object level, the position information of the transaction associated objects in each object level is calculated, and the position information is position information of each transaction associated object relative to the transaction object to be analyzed of the object level.
[0028] Optionally, in some embodiments, the generation subunit can be specifically configured to take the target transaction object and the transaction associated object as a node; classify the transaction associated relationship in the updated transaction relationship set to obtain an edge relationship list of the target transaction object, the edge relationship list including edge relationships between the target transaction object and the transaction associated object and between the transaction associated objects; based on the edge relationship list, connect the nodes with the edge relationship, and take a connection line between the nodes as a link of the node; and based on the node and the link of the node, generate a transaction link relationship graph of the target transaction object.
[0029] In addition, an embodiment of the present application further provides a computer readable storage medium, which stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute steps in any transaction relationship analysis method provided by the embodiment of the present application.
[0030] In addition, an embodiment of the present application further provides an electronic device, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the program to implement steps in any transaction relationship analysis method provided by the embodiment of the present application.
[0031] According to an aspect of the present application, a computer program product or computer program is provided, which includes computer instructions stored in a computer readable storage medium, and a processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the method provided in various optional implementation manners of the transaction relationship analysis aspect.
[0032] The embodiment can determine a target transaction object and a current target object level to be analyzed, then acquire a transaction object to be analyzed and a transaction screening condition corresponding to the target object level, and transaction data of the transaction object to be analyzed, and determine a candidate transaction object of the transaction object to be analyzed according to the transaction data; then, according to the transaction screening condition, select an object satisfying the transaction screening condition from the candidate transaction object, to obtain a transaction associated object of the target transaction object in the target object level and a transaction association relationship between the target transaction object and the transaction associated object; then, according to the transaction association relationship, update a current transaction relationship set corresponding to the target transaction object to obtain an updated transaction relationship set, wherein the transaction relationship set includes at least one object level and a transaction association relationship corresponding to the object level; and then, according to the updated transaction relationship set, generate a transaction link relationship diagram of the target transaction object, wherein the transaction link relationship diagram includes multiple node levels and links of nodes, each node level corresponds to an object level, and the links between the node levels indicate transaction association relationships of transaction objects between the object levels. The scheme can effectively improve the efficiency of transaction relationship analysis. BRIEF DESCRIPTION OF DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0034] Figure 1a is a scene diagram of the transaction relationship analysis method provided by the embodiment of the present application;
[0035] Figure 1b is a first flowchart of the transaction relationship analysis method provided by the embodiment of the present application;
[0036] Figure 2a is a second flowchart of the transaction relationship analysis method provided by the embodiment of the present application;
[0037] Figure 2b is a structural diagram of the transaction relationship analysis method provided by the embodiment of the present application;
[0038] Figure 2c is a calculation diagram of the transaction relationship analysis method provided by the embodiment of the present application;
[0039] Figure 2d is a first diagram of the transaction relationship analysis page provided by the embodiment of the present application;
[0040] Figure 2eFIG. 2 is a second schematic view of a transaction relationship analysis page according to an embodiment of the present application;
[0041] Figure 2f FIG. 3 is a third schematic view of a transaction relationship analysis page according to an embodiment of the present application;
[0042] Figure 2g FIG. 4 is a fourth schematic view of a transaction relationship analysis page according to an embodiment of the present application;
[0043] Figure 2h FIG. 5 is a fifth schematic view of a transaction relationship analysis page according to an embodiment of the present application;
[0044] Figure 3 FIG. 6 is a structural schematic view of a transaction relationship analysis device according to an embodiment of the present application;
[0045] Figure 4 FIG. 7 is a structural schematic view of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0047] The principles of the present application are illustrated by being implemented in a suitable computing environment. In the following description, specific embodiments of the present application will be described with reference to the steps and symbolic representations of operations that are performed by one or more computers. Unless otherwise indicated, these steps and operations will be referred to as being performed by a computer. Computer implemented includes the manipulation of data by a computer processing unit, and reference to acts performed by a computer include the manipulation of data by the computer processing unit and the maintenance of data in the computer's memory system or storage devices. The data structures where data are maintained are physical locations that have particular characteristics designed to maintain data that is organized according to a particular format. However, the principles of the present application are not limited to the data structures that are described herein. Those skilled in the art will appreciate that the acts and symbolically represented operations or combinations of data structures are amenable to software implementations.
[0048] The term "unit" used herein can be regarded as a software object executed on the computing system. Different components, units, engines and services described herein can be regarded as implemented objects on the computing system. The apparatuses and methods described herein can be implemented in software, of course, and can also be implemented in hardware, and both are within the scope of the present application.
[0049] The terms "first", "second", and "third" and the like in the specification and claims of this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Moreover, the terms "comprises", "comprising", "includes", "including" and the like are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that comprises, includes, or includes elements or steps that are not listed is not excluded from the scope of the application. For example, a process, method, article, or apparatus that comprises, includes, or includes elements or steps that are not expressly listed or serving substantially the same function in essentially the same way to achieve the same results as those described herein are considered within the scope of the application.
[0050] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearance of the phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive of other embodiments. It is expressly understood that the embodiments described herein can be combined with each other.
[0051] Embodiments of the present application provide a transaction relationship analysis method and device, electronic equipment and storage medium. The transaction relationship analysis device can be integrated in an electronic device, which can be a server, a terminal or other equipment.
[0052] For example, as Figure 1aAs shown, first, the electronic device integrated with the transaction relationship analysis apparatus can determine a target transaction object and a target object level to be analyzed currently; then, obtain a transaction object to be analyzed corresponding to the target object level and a transaction screening condition, and transaction data of the transaction object to be analyzed, and determine a candidate transaction object of the transaction object to be analyzed according to the transaction data; next, select an object satisfying the transaction screening condition from the candidate transaction object according to the transaction screening condition, to obtain a transaction associated object of the target transaction object at the target object level and a transaction association relationship between the target transaction object and the transaction associated object; then, update a current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, to obtain an updated transaction relationship set, wherein the transaction relationship set includes at least one object level and a transaction association relationship corresponding to the object level; and finally, generate a transaction link relationship graph of the target transaction object according to the updated transaction relationship set, wherein the transaction link relationship graph includes multiple node levels and links of nodes, each node level corresponds to an object level, and the links between the node levels indicate transaction association relationships of transaction objects between the object levels. Since this scheme can analyze transactions of a target transaction object, select transaction associated objects satisfying a transaction screening condition of a first object level, and continue to select transaction associated objects satisfying a transaction screening condition of a second object level from the selected transaction associated objects, and so on. All the selected transaction associated objects are used as nodes, and transaction association relationships between all the transaction associated objects are extracted as links between the nodes, to generate a transaction link relationship graph of the target transaction object, which directly shows the source and destination of the target transaction object, and the transaction link is complete, which saves manpower compared to manual analysis, and the transaction relationship analysis is more accurate. Moreover, by expanding the multiple transaction relationship objects, it can be determined whether there is transaction between the transaction associated objects of the target transaction object and the transaction associated objects, which can conveniently and directly check the transaction between multiple persons, and is more accurate compared to manual analysis, and reduces the interference and misjudgment of human subjective factors.
[0053] The following will be described in detail. It should be noted that the sequence of the following embodiments is not limited as the preferred sequence of the embodiments.
[0054] This embodiment will be described from the perspective of a transaction relationship analysis apparatus, which can be integrated in an electronic device. The electronic device can be a server or a terminal device, etc. The terminal device can include a mobile phone, a tablet computer, a notebook computer, a personal computer (PC), etc.
[0055] A transaction relationship analysis method comprises: determining a target transaction object and a target object level currently to be analyzed; then, obtaining a transaction object to be analyzed corresponding to the target object level, a transaction screening condition, and transaction data of the transaction object to be analyzed, and determining a candidate transaction object of the transaction object to be analyzed according to the transaction data; next, selecting an object meeting the transaction screening condition from the candidate transaction object according to the transaction screening condition, to obtain a transaction associated object of the target transaction object at the target object level and a transaction association relationship between the target transaction object and the transaction associated object; then, updating a current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, to obtain an updated transaction relationship set, wherein the transaction relationship set comprises at least one object level and a transaction association relationship corresponding to the object level; and then, generating a transaction link relationship diagram of the target transaction object according to the updated transaction relationship set, wherein the transaction link relationship diagram comprises multiple node levels and links of nodes, each node level corresponds to an object level, and the links between the node levels indicate a transaction association relationship between the transaction objects of the object levels.
[0056] As shown in Figure 1b , the specific process of the transaction relationship analysis method can be as follows:
[0057] 101. Determine a target transaction object and a target object level currently to be analyzed.
[0058] The target transaction object can refer to an object that needs to be analyzed in terms of transaction relationship. For example, an auditor needs to analyze a customer (such as customer X), and can input information of the customer X into an electronic device, so that the electronic device can analyze the customer X in terms of transaction relationship according to transaction data of the customer X.
[0059] The target object level can refer to diffusion of the target transaction object, and each round of diffusion corresponds to an object level, such as the first round of diffusion corresponding to the first object level and the second round of diffusion corresponding to the second object level. The diffusion of the target transaction object can refer to obtaining a first round of transaction objects having a transaction relationship with the target transaction object, then diffusing the first round of transaction objects to obtain a second round of transaction objects having a transaction relationship with the first round of transaction objects, then diffusing the second round of transaction objects to obtain a third round of transaction objects having a transaction relationship with the second round of transaction objects, and continuously diffusing in this way until no further diffusion is possible or a preset ending condition is met.
[0060] The preset ending condition can be set in many ways, such as being set flexibly according to actual application requirements, or being set in advance and stored in the electronic device. In addition, the preset ending condition can be built-in the electronic device, or can be saved in the memory and sent to the electronic device, etc.
[0061] 102. Obtain the transaction object to be analyzed and the transaction screening condition corresponding to the target object level, and the transaction data of the transaction object to be analyzed, and determine the candidate transaction object of the transaction object to be analyzed according to the transaction data.
[0062] The transaction data can include the object that transacts with the transaction object to be analyzed, and the transaction amount, transaction time, transaction location, etc. between them (i.e. the transaction object to be analyzed and the object that transacts). The transaction screening condition can be set in many ways, such as being set flexibly according to actual application requirements, or being set in advance and stored in the electronic device. In addition, the transaction screening condition can be built-in the electronic device, or can be saved in the memory and sent to the electronic device, etc. The transaction screening condition corresponding to each target object level can be set according to actual conditions.
[0063] For example, when the target object level to be analyzed at present is the first object level, the transaction object to be analyzed corresponding to the target object level can be the target transaction object, and then the transaction data of the target transaction object is obtained, which can include the transaction object that transacts with the target transaction object and the transaction amount. According to the transaction data of the target transaction object, at least one candidate transaction object that transacts with the target transaction object is determined, and the transaction screening condition corresponding to the first object level can be the transaction object whose transaction amount sum with the candidate transaction object is greater than p% of the total transaction amount of the target transaction object. Correspondingly, the transaction screening condition corresponding to the second object level can be the transaction object whose transaction amount sum with the candidate transaction object is greater than p-x% of the total transaction amount of the target transaction object. The transaction screening condition corresponding to the third object level can be the transaction object whose transaction amount sum with the candidate transaction object is greater than p-x-x% of the total transaction amount of the target transaction object. In this way, until the preset ending condition cannot be met or cannot be expanded.
[0064] 103. According to the transaction screening condition, select the object that meets the transaction screening condition from the candidate transaction object, to obtain the transaction associated object of the target transaction object at the target object level, and the transaction association relationship between the target transaction object and the transaction associated object.
[0065] For example, the target transaction object can be selected from the candidate transaction objects according to the transaction screening condition, and the transaction associated objects of the target transaction object at the target object level and the transaction associated relationship corresponding to the target object level can be obtained according to the transaction screening condition.
[0066] For example, when the target object level to be analyzed currently is the first object level, the candidate transaction objects can be sorted according to the transaction amount, and the candidate transaction objects can be selected from the candidate transaction objects with the largest transaction amount according to the sorting result, and the candidate transaction objects with the transaction amount sum between the candidate transaction objects and the candidate transaction objects greater than p% of the total transaction amount of the target transaction object can be selected as the transaction associated objects of the target transaction object at the first object level. The transaction associated relationship corresponding to the first object level of the target transaction object can be obtained, for example, the transaction amount of the target transaction object at the first object level and the transaction associated objects at the first object level.
[0067] For example, when the target object level to be analyzed currently is the second object level, the transaction associated objects at the first object level can be the transaction associated objects of the target object level corresponding to the second object level, and then the transaction data of the transaction associated objects at the first object level can be obtained, and the transaction data can include the transaction objects and the transaction amount of the transaction associated objects at the first object level. At least one candidate transaction object of the transaction associated objects at the first object level can be determined according to the transaction data of the transaction associated objects at the first object level. Then, the candidate transaction objects can be sorted according to the transaction amount, and the candidate transaction objects can be selected from the candidate transaction objects with the largest transaction amount according to the sorting result, and the candidate transaction objects with the transaction amount sum between the candidate transaction objects and the candidate transaction objects greater than p-x% of the total transaction amount of the target transaction object can be selected as the transaction associated objects of the target transaction object at the second object level. The transaction associated relationship corresponding to the second object level of the target transaction object can be obtained, for example, the transaction amount of the target transaction object at the second object level and the transaction associated objects at the second object level.
[0068] For example, when the target object level to be analyzed is the third object level, the transaction associated object corresponding to the target object level can be the transaction associated object of the second object level, and the transaction data of the transaction associated object of the second object level is obtained, which can include the transaction object and the transaction amount of the transaction associated object of the second object level. According to the transaction data of the transaction associated object of the second object level, at least one candidate transaction object of the transaction associated object of the second object level is determined. Then, the candidate transaction objects are sorted according to the transaction amount, and the candidate transaction objects are selected from the candidate transaction objects with the largest transaction amount according to the sorting result. The candidate transaction objects with the transaction amount greater than p-x% of the total transaction amount of the target transaction object are selected as the transaction associated objects of the target transaction object at the third object level. The transaction associated relationship corresponding to the target transaction object at the third object level is obtained, for example, the transaction amount between the target transaction object at the third object level and the transaction associated object at the third object level.
[0069] 104. updating the current transaction relationship set corresponding to the target transaction object according to the transaction associated relationship, to obtain an updated transaction relationship set.
[0070] The transaction relationship set can include at least one object level and the transaction associated relationship corresponding to the object level. For example, after obtaining the transaction associated object of the target transaction object at the target object level and the transaction associated relationship between the target transaction object and the transaction associated object, the current transaction relationship set corresponding to the target transaction object is updated using the transaction associated object and the transaction associated relationship, and then the next round of expansion is continued. The current transaction relationship set is updated once for each expansion of the target transaction object, until the expansion cannot be continued or the preset ending condition is met.
[0071] 105. generating a transaction link relationship graph of the target transaction object according to the updated transaction relationship set.
[0072] The transaction link relationship graph can include multiple node levels and links between nodes, each node level corresponding to an object level, and the links between the node levels indicating the transaction associated relationship between the transaction objects of the object levels.
[0073] For example, the transaction relationship object can be taken as the transaction object to be analyzed when the transaction relationship analysis does not satisfy the preset ending condition, and the step of determining the target object level to be currently analyzed is returned to execute; when the transaction relationship analysis satisfies the preset ending condition, the transaction link relationship graph of the target transaction object is generated according to the updated transaction relationship set.
[0074] To improve the efficiency of transaction relationship analysis and improve the accuracy and practicability of transaction relationship analysis data, the extended data can be filtered, the transaction range to be analyzed can be selected, and the transaction link relationship graph can be generated according to the selected transaction range, so that the transaction link relationship graph more clearly and intuitively displays the effective data. For example, the transaction filtering range of the transaction relationship analysis can be determined; the target transaction relationship set can be selected from the updated transaction relationship set according to the transaction filtering range, and the transaction link relationship graph of the target transaction object can be generated based on the target transaction relationship set.
[0075] To improve the practicability of transaction relationship analysis and improve user experience, a quick and convenient operation page can be provided for users to select the transaction range of transaction relationship analysis. For example, the transaction filtering range of the transaction relationship analysis can be determined, and the transaction relationship analysis page can be displayed, the transaction relationship analysis page including a filtering control; the transaction filtering range of the transaction relationship analysis can be determined in response to a filtering operation on the filtering control.
[0076] Optionally, the transaction relationship analysis page can include a refresh control, and the target transaction relationship set can be selected from the updated transaction relationship set according to the transaction filtering range, and the transaction link relationship graph of the target transaction object can be generated based on the target transaction relationship set, specifically, the target transaction relationship set can be determined from the updated transaction relationship set based on the transaction filtering range in response to a refresh operation on the refresh control; the transaction link relationship graph of the target transaction object can be generated based on the target transaction relationship set.
[0077] To more clearly show the transaction association relationship between the target transaction object and the transaction association object, the position information of each transaction association object can be determined according to the transaction association relationship between them, and then the transaction link relationship graph of the target transaction object can be generated. For example, the position information of each transaction association object can be determined based on the updated transaction relationship set; the transaction link relationship graph of the target transaction object can be generated based on the position information of the transaction association object.
[0078] The manner of determining the position information of each transaction associated object can be various, for example, the transaction associated objects in the updated transaction relationship set can be classified to obtain a point relationship list of the target transaction object, the point relationship list including at least one transaction associated object and an object level corresponding to each transaction associated object; and the position information of each transaction associated object is calculated based on the object level corresponding to the transaction associated object in the point relationship list.
[0079] The point relationship list can include a serial number of each transaction associated object in an object level, for example, the position information of each transaction associated object is calculated based on the object level corresponding to the transaction associated object in the point relationship list, and the number of transaction associated objects corresponding to each object level can be determined; the position information of the transaction associated object in each object level is calculated based on the transaction object to be analyzed corresponding to each object level, the number of transaction associated objects corresponding to each object level, and the serial number of the transaction associated object in each object level, and the position information is the position information of each transaction associated object relative to the transaction object to be analyzed in the object level.
[0080] After obtaining the point relationship list of the target transaction object, the transaction associated relationship can be classified to obtain an edge relationship list of the target transaction object, for example, the transaction link relationship graph of the target transaction object is generated based on the position information of the transaction associated object, and the target transaction object and the transaction associated object can be taken as nodes; the transaction associated relationship in the updated transaction relationship set is classified to obtain an edge relationship list of the target transaction object, the edge relationship list including the edge relationship between the target transaction object and the transaction associated object and the transaction associated objects; the nodes with edge relationship are connected based on the edge relationship list, and the connection line between the nodes is taken as the link of the nodes; and the transaction link relationship graph of the target transaction object is generated based on the nodes and the link of the nodes.
[0081] It should be noted that, in order to improve the security of transaction relationship analysis, the data storage in the above method is saved in the blockchain. The blockchain is a new application mode of distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm and other computer technologies. The blockchain is essentially a decentralized database, which is a series of data blocks associated using cryptographic methods, each data block containing information of a batch of network transactions, used to verify the validity (anti-fake) of the information and generate the next block. The blockchain can include a blockchain underlying platform, a platform product service layer and an application service layer.
[0082] The blockchain underlying platform can include user management, basic services, smart contracts, and operation monitoring processing modules. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintaining the generation of public and private keys (account management), key management, and the maintenance of the correspondence between the real identity of the user and the blockchain address (permission management), etc., and under authorization, supervises and audits the transaction situation of certain real identities, provides rule configuration for risk control (risk audit); the basic service module is deployed on all blockchain node devices to verify the validity of business requests, and records to the storage after consensus for valid requests, for a new business request, the basic service first parses and authenticates the interface (interface adaptation), then encrypts the business information through the consensus algorithm (consensus management), and after encryption, the complete and consistent transmission is transmitted to the shared ledger (network communication), and is recorded and stored; the smart contract module is responsible for the registration and issuance of contracts, as well as the triggering and execution of contracts, developers can define contract logic through a certain programming language, publish it to the blockchain (contract registration), and according to the logic of the contract terms, call the key or other events to trigger execution, complete the contract logic, and also provide the function of contract upgrade and cancellation; the operation monitoring module is mainly responsible for the deployment, configuration modification, contract setting, cloud adaptation in the product release process, and the real-time state visualization output in the product operation, such as: alarm, monitoring network situation, monitoring node device health status, etc.
[0083] The platform product service layer provides the basic ability and implementation framework of typical applications, and developers can stack the characteristics of the business based on these basic abilities to complete the blockchain implementation of the business logic. The application service layer provides application services based on the blockchain scheme for business participants to use.
[0084] As can be seen, the embodiment can determine the target transaction object and the target object level currently to be analyzed, then acquire the transaction screening condition and the transaction data of the transaction object to be analyzed corresponding to the target object level, and determine the candidate transaction object of the transaction object to be analyzed according to the transaction data, then select the object satisfying the transaction screening condition from the candidate transaction object according to the transaction screening condition, obtain the transaction associated object of the target transaction object in the target object level and the transaction association relationship between the target transaction object and the transaction associated object, and then update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship to obtain the updated transaction relationship set, wherein the transaction relationship set includes at least one object level and the transaction association relationship corresponding to the object level, and then generate the transaction link relationship diagram of the target transaction object according to the updated transaction relationship set, wherein the transaction link relationship diagram includes multiple node levels and the link between nodes, each node level corresponds to an object level, and the link between the node levels indicates the transaction association relationship between the transaction objects in the object levels. Since the scheme can analyze the transaction of the target transaction object, select the transaction associated object satisfying the transaction screening condition of the first object level, and continue to select the transaction associated object satisfying the transaction screening condition of the second object level, and so on. All the selected transaction associated objects are used as nodes, and the transaction association relationship between all the transaction associated objects is extracted as the link between the nodes, and then the transaction link relationship diagram of the target transaction object is generated, which directly shows the source and destination of the target transaction object, the transaction link is complete, the manpower is saved compared to manual analysis, and the transaction relationship analysis is more accurate. And by expanding the multi-layer transaction relationship object, it can be seen whether there is transaction between the transaction associated object of the target transaction object and the transaction associated object, the transaction conditions between multiple persons can be conveniently and directly viewed, and the analysis is more accurate compared to manual analysis, and the interference and misjudgment of human subjective factors are reduced.
[0085] According to the method described in the previous embodiment, the following examples will be further described in detail.
[0086] In this embodiment, the transaction relationship analysis device is specifically integrated in an electronic device, the target transaction object is specifically qwe, and the transaction relationship is specifically a fund transaction relationship.
[0087] It is of great significance to maintain the stable operation of the financial system and the objective requirement of maintaining a fair and just market economy order to determine the transaction relationship between the transaction objects and further determine their transaction behavior. However, in the existing transaction relationship analysis, only the upstream and downstream of the main account flow can be seen, only the subject and the counterparty transaction can be seen, and the overall flow of funds cannot be directly displayed. If it is necessary to expand the correlation between the upstream and downstream of the counterparty and the upstream and downstream of the main account, manual analysis is required, and the correlation between the subject and the counterparty cannot be quickly displayed, such as whether the counterparty of the subject and the counterparty exists in the fund flow; and it is not possible to filter out redundant data according to the location dimension, and the analysis efficiency is low.
[0088] The present scheme can select the counterparty of the top P% of the total transaction amount by statistically analyzing the transaction data of the analysis subject (i.e. the target transaction object), and then continue to select the counterparty of the top P%-x% of the total transaction amount of the selected counterparty, and so on until the selection is completed. The transaction relationship between all selected counterparty is displayed in the form of a transaction link diagram, clearly and intuitively displaying the source and destination of the subject's funds, and improving the analysis efficiency of the subject's transaction relationship.
[0089] As shown in Figure 2a , a transaction relationship analysis method, the specific process can be as follows:
[0090] 201, the electronic device determines the target transaction object and the target object level to be analyzed.
[0091] The target transaction object can refer to an object that needs to be analyzed for transaction relationship. For example, the reviewer needs to analyze the customer qwe, and can input the information of the customer qwe into the electronic device. The electronic device can determine that the customer qwe is the target transaction object, and then analyze the transaction relationship of the customer qwe according to the transaction data of the customer qwe.
[0092] The scheme mainly includes three modules, as shown in Figure 2b , the first is the diffusion module, which mainly diffuses the fund transaction relationship of the target transaction object to obtain personnel who have close fund transaction relationship with the target transaction object, the second is the data filtering module, which filters the data diffused out based on various dimension data, and the third is the display module, which forms a fund transaction relationship diagram from the data generated by the diffusion module and the data filtering module for the analysis personnel to use.
[0093] 202, the electronic device obtains the transaction object to be analyzed corresponding to the target object level and the transaction filtering condition, and the transaction data of the transaction object to be analyzed, and determines the candidate transaction object of the transaction object to be analyzed according to the transaction data.
[0094] The transaction data can include the objects transacted with the target transaction object to be analyzed and the transaction amount between them (i.e. the target transaction object and the objects transacted with the target transaction object). The transaction screening condition corresponding to each target object level can be set according to actual conditions.
[0095] For example, when the target object level to be analyzed is the first object level, the target transaction object corresponding to the target object level can be target transaction object qwe, and the transaction data of the target transaction object is obtained, which can include the transaction objects transacted with the target transaction object and the transaction amount. For example, as shown in Table 1 below:
[0096] Table 1: Transaction data of target transaction object
[0097] ID Sender Receiver Amount Time IP Xxx Qwe A 40 2020 / 1 / 1 xx.xx.xx Xxx Qwe B 30 2020 / 1 / 1 xx.xx.xx Xxx Qwe C 25 2020 / 1 / 1 xx.xx.xx Xxx Qwe D 5 2020 / 1 / 1 xx.xx.xx … … … … … …
[0098] According to the transaction data of the target transaction object, at least one candidate transaction object (such as object A, object B, object C, object D, etc.) transacted with the target transaction object is determined, and the transaction screening condition corresponding to the first object level can be the sum of the transaction amount between the first object level and the candidate transaction object (such as the sum of object A and object B, the sum of object A and object C, etc.), which is greater than p% of the total transaction amount of the target transaction object. For example, the transaction data of the target transaction object can be summarized to obtain the data in Table 2, as shown below:
[0099] Table 2: Summary of transaction data of target transaction object
[0100] Member Amount Qwe 100 A 40 B 30 C 25 D 5 … …
[0101] Then, the objects with the top p% of the total transaction amount are taken, for example, the total transaction amount of the target transaction object is 100 yuan, and p is 60, then the candidate transaction object with the largest transaction amount is taken, and the selection is stopped when the total amount of the candidate transaction object is greater than 60 yuan.
[0102] Correspondingly, the transaction screening condition corresponding to the second object level can be a transaction object whose sum of transaction amounts between the second round candidate transaction object and the candidate transaction object is greater than p-x% of the total transaction amount of the target transaction object. The transaction screening condition corresponding to the third object level can be a transaction object whose sum of transaction amounts between the third round candidate transaction object and the candidate transaction object is greater than p-x-x% of the total transaction amount of the target transaction object. In this way, the spreading is continued until it cannot be spread or a preset ending condition is met. For example, for the objects spread out, the transaction data of the objects is extracted from the database again, and the spread is performed again after the data is aggregated. At this time, p is reduced by x, and the spread is continued until it cannot be spread. For example, the preset ending condition can be set as that when the percentage of the total transaction amount selected by the transaction screening condition is less than or equal to zero, the spread is ended. For example, when p is 60 and x is 30, the transaction screening condition of the first round of spread is the objects with the top 60% of the total transaction amount, the transaction screening condition of the second round of spread is the objects with the top 30% of the total transaction amount, and the transaction screening condition of the third round of spread is the objects with the top 0% of the total transaction amount, and the percentage of the total transaction amount is equal to zero, the spread is ended, that is, the spread cannot be continued after two rounds of spread.
[0103] 203. The electronic device selects, according to the transaction screening condition, the objects that meet the transaction screening condition from the candidate transaction objects.
[0104] For example, the electronic device can specifically select, according to the transaction screening condition, the objects that meet the transaction screening condition from the candidate transaction objects, to obtain the transaction associated objects of the target transaction object at the target object level and the transaction associated relationship between the target transaction object and the transaction associated objects.
[0105] In order to improve the efficiency of transaction relationship analysis, the number of selected transaction associated objects can be set. Since the spread is mainly to find the main transaction fund flow direction, if the expansion is too much, the judgment efficiency will be affected. For example, the number of selected transaction associated objects is set to 2, and when two transaction associated objects are selected, the selection can be stopped.
[0106] For example, as shown in Table 2, when A and B are taken, the sum of the amounts of A and B (i.e., the sum of the transaction amounts between the candidate transaction objects and the target transaction object) is 70 yuan, which is greater than 60 yuan. Therefore, A and B are determined as the transaction associated objects of the target transaction object at the first object level, and the transaction associated relationship between the target transaction object qwe and object A and the transaction associated relationship between the target transaction object qwe and object B are obtained.
[0107] 204. The electronic device updates the current transaction relationship set corresponding to the target transaction object according to the transaction associated relationship, to obtain an updated transaction relationship set.
[0108] The transaction relationship set can include at least one object level and a transaction association relationship corresponding to the object level. For example, after obtaining the transaction association object of the target transaction object at the first object level and the transaction association relationship between the target transaction object and the transaction association object, the electronic device can update the current transaction relationship set corresponding to the target transaction object by using the transaction association object and the transaction association relationship, and obtain an updated transaction relationship set.
[0109] 205、When the transaction relationship analysis does not satisfy the preset ending condition, the electronic device takes the transaction association object as the to-be-analyzed transaction object and returns to step 201.
[0110] For example, after obtaining the transaction association object of the target transaction object at the first object level and the transaction association relationship between the target transaction object and the transaction association object, the electronic device can determine whether the current transaction relationship analysis satisfies the preset ending condition. If the preset ending condition is not satisfied, the electronic device can take the transaction association object as the to-be-analyzed transaction object and return to step 201.
[0111] For example, the electronic device can determine that the target object level of the current analysis is the second object level, take the transaction association objects (object A and object B) of the target transaction object at the first object level as the to-be-analyzed transaction objects corresponding to the second object level, and obtain the transaction data of object A and object B, for example, as shown in Table 3:
[0112] Table 3: Second round of diffusion data
[0113] ID Sender Receiver Amount Time IP Diffusion Round Xxx A Q 20 2020 / 1 / 1 xx.xx.xx 2 Xxx A U 15 2020 / 1 / 1 xx.xx.xx 2 Xxx A V 5 2020 / 1 / 1 xx.xx.xx 2 Xxx B W 20 2020 / 1 / 1 xx.xx.xx 2 Xxx B X 10 2020 / 1 / 1 xx.xx.xx 2 … … … … … … …
[0114] Then, according to the second round of diffusion transaction screening conditions, the transaction amount between the second round of candidate transaction objects and the candidate transaction objects is greater than the total transaction amount p-x% of the target transaction object, that is, the top 30% of the objects in the total transaction amount, and then the objects are taken from the object with the largest transaction amount, and the total amount of the transaction counterparties is greater than p-x=30 yuan, and then the selection is stopped. As shown in Table 3, when Q and U are taken, the total amount of the two objects is 35 yuan, which is greater than 30 yuan, so Q and U are taken as the transaction association objects of the target transaction object at the second object level. When W and X are taken, the total amount of the two objects is 30 yuan, which is equal to 30 yuan, so the two counterparts are not taken. Finally, Q and U are selected. Q and U are diffused until the end.
[0115] 206. When the transaction relationship analysis satisfies a preset end condition, the electronic device determines a transaction screening range for the transaction relationship analysis, and screens out a target transaction relationship set from the updated transaction relationship set according to the transaction screening range.
[0116] For example, when the transaction relationship analysis meets the preset end conditions, the electronic device transmits all the diffused data to the data screening module and the display module.
[0117] To improve the practicality of transaction relationship analysis and enhance the user experience, users can be provided with a quick and convenient operation page for selecting the transaction scope for transaction relationship analysis. The transaction scope can include transaction time ranges, transaction time periods, transaction locations, and so on. For example, the electronic device can display a transaction relationship analysis page, which includes a filter control and a refresh control. In response to a filter operation on the filter control, the transaction filter scope for transaction relationship analysis is determined. In response to a refresh operation on the refresh control, a target transaction relationship set is determined from the updated transaction relationship set based on the transaction filter scope. For example, after obtaining all transaction data from the expansion module, the transaction data included in the filter rules can be extracted based on manually entered filter rules, and the resulting transaction data can be transmitted to the front-end display module. For example, if the given rule specifies that the transaction time is between 10:00 and 12:00, all transaction data within this time period will be obtained and transmitted to the display module.
[0118] For example, Figure 2d As shown, the transaction relationship analysis page may include a transaction time range selection box (1), a transaction time period selection box (2), a transaction location selection box (3), transaction statistics (4), a transaction capital link display (5), etc.
[0119] The time range selection box (1), time period selection box (2), and transaction location selection box (3) are variable selection boxes. This part can be adjusted according to the needs of analysts. Figure 2e 、 Figure 2f and Figure 2g shown.
[0120] For example, Figure 2e As shown, the time range box can be dragged at both ends to select a specific time in the time length box, thereby accurately selecting the established transaction flow range of the specific member to be analyzed and improving the accuracy of the analysis.
[0121] For example, Figure 2fAs shown, the time period selection box part, the time period is divided into different time periods according to the actual time in the transaction, so as to split the specific time period, the analyst can select according to the time period to be analyzed, and multiple time periods can be selected at the same time.
[0122] For example, as shown in the figure, the variable selection box can be selected to display the data of the selected variable. Figure 2f As shown, the transaction location is extracted from the transaction location in the analysis stream, and the selection of this part is consistent with the selection of the time period.
[0123] The time range selection box and the time period selection box can be selected and controlled, which facilitates the analysis of the specific transaction time of the subject, and can accurately analyze the transaction situation in the specific time period in the specified time period of the subject, can filter out the specific situation before and after the transaction peak, and facilitate positioning the specific time period in the transaction; The transaction location selection box can be selected and controlled, and the value can clearly show the fund flow situation existing in the specific transaction location, which facilitates the analysis of the transaction of part of the personnel in the specific area.
[0124] 207、The electronic device generates a transaction link relationship diagram of the target transaction object based on the target transaction relationship set.
[0125] The transaction link relationship diagram can include multiple node levels and node links, each node level corresponds to an object level, and the link between the node levels indicates the transaction association relationship between the object levels.
[0126] For example, the electronic device can generate a transaction link relationship diagram of the target transaction object based on the target transaction relationship set in response to the refresh operation of the refresh control based on the transaction filtering range after determining the target transaction relationship set from the updated transaction relationship set.
[0127] For example, as shown in the figure, after selecting the variable selection box, the refresh button can be clicked to refresh the display part, and the same principle can be applied to the interface data modification part. Figure 2h The fund link display and the transaction statistics part are the final result display part, the data of the display part is based on the analysis of the technical side and the display after the selection of the variable selection box, the transaction statistics part is the overall display of the basic data, and the fund link display is the detailed display of the fund link. The source and destination of the fund can be seen, which assists the analyst in detailed analysis of the specific important personnel.
[0128]
[0129] In order to more clearly show the transaction association relationship between the target transaction object and the transaction association object, the position information of each transaction association object can be determined according to the transaction association relationship therebetween, and a transaction link relationship graph of the target transaction object is further generated. For example, the electronic device can specifically determine the position information of each transaction association object based on the updated transaction relationship set; and generate the transaction link relationship graph of the target transaction object based on the position information of the transaction association object.
[0130] For example, the electronic device can specifically classify the transaction association objects in the updated transaction relationship set to obtain a point relationship list of the target transaction object, the point relationship list including at least one transaction association object, an object level corresponding to each transaction association object, and a serial number of the object level where each transaction association object is located.
[0131] Then, the number of transaction association objects corresponding to each object level is determined; the position information of the transaction association objects in each object level is calculated based on the transaction object to be analyzed corresponding to each object level, the number of transaction association objects corresponding to each object level, and the serial number of the transaction association objects in each object level, the position information being the position information of each transaction association object relative to the transaction object to be analyzed of the object level.
[0132] Then, the target transaction object and the transaction association object are taken as nodes; the transaction association relationship in the updated transaction relationship set is classified to obtain an edge relationship list of the target transaction object, the edge relationship list including the edge relationship between the target transaction object and the transaction association object, and the transaction association objects; based on the edge relationship list, the nodes with the edge relationship are connected, and the connection line between the nodes is taken as the link of the nodes; and based on the nodes and the link of the nodes, the transaction link relationship graph of the target transaction object is generated.
[0133] For example, the electronic device can form point-edge relationship data from the obtained data, and calculate and obtain the coordinates of the points in the plane for display according to the point-edge relationship data. For example, the data obtained by the diffusion module and the data screening module can be classified and summarized to form a point-edge relationship table (i.e., a point relationship list and an edge relationship list), which can be specifically as shown in Table 4 and Table 5:
[0134] Table 4 Point relationship list
[0135] ID Name Diffusion Round 1 A 1 2 B 1 … … …
[0136] Table 5 Edge relationship list
[0137] Source Destination Amount Qwe A 40 Qwe B 30 … … …
[0138] Then, the position of the point in the plane is calculated according to the data in the table. Assuming that the point coordinates of the target transaction object are (0, 0), the circular layout method can be used. Assuming that the number of members in the first round of diffusion is n, the coordinates of each point are (R*cos(π*2*n / i), R*sin(π*2*n / i)), where i is the serial number of different points in the first round of diffusion, and R is the radius of the first round of diffusion. The members diffused in the second round are calculated again according to the coordinates of the members diffused in the first round. For example, they can be (R*cos(π*2*n / i)+r*cos(π*2*q / w), R*sin(π*2*n / i)+r*sin(π*2*q / w)), where r is the radius of the second round of diffusion, q is the total number of members, and w is the serial number of different points. The specific calculation process is shown in Figure 2c Finally, the points with existing edge relationships are connected according to the point coordinates to form a transaction link relationship diagram.
[0139] As can be seen from the above, the embodiment can determine a target transaction object and a target object level to be analyzed at present, then acquire a transaction object to be analyzed corresponding to the target object level and a transaction screening condition, and transaction data of the transaction object to be analyzed, and determine a candidate transaction object of the transaction object to be analyzed according to the transaction data; then, according to the transaction screening condition, select an object satisfying the transaction screening condition from the candidate transaction object, to obtain a transaction associated object of the target transaction object at the target object level and a transaction associated relationship between the target transaction object and the transaction associated object; then, update a current transaction relationship set corresponding to the target transaction object according to the transaction associated relationship, to obtain an updated transaction relationship set, wherein the transaction relationship set includes at least one object level and a transaction associated relationship corresponding to the object level; then, generate a transaction link relationship graph of the target transaction object according to the updated transaction relationship set, wherein the transaction link relationship graph includes multiple node levels and links of nodes, each node level corresponds to an object level, and the links between the node levels indicate transaction associated relationships of transaction objects between the object levels. Since the scheme can statistically analyze transactions of an analysis subject, select P% of counterparts with the largest transaction amounts, select at least one person, select P%-x% of counterparts of the selected counterparts with the largest transaction amounts, and so on. All selected individuals are used as point relationships, and all fund transactions between the individuals are extracted as edge relationships. In the edge relationships, time, location and other dimensions are introduced, the point and edge relationships are laid out based on the circular layout algorithm, corresponding edge relationships are deleted when the time and other dimensions are screened, and the layout is performed again. The subject fund source and destination can be directly displayed, the fund link is complete, the fund is analyzed by using a technical means, the manpower is saved compared to manual analysis, and the fund analysis is more accurate. In addition, the multi-layer counterparts can be expanded, so that whether the subject and the counterparts of the counterparts exist in fund transactions can be checked, the fund circulation conditions between multiple persons can be directly and intuitively checked, the manual analysis is more accurate, the interference and misjudgment of human subjective factors are reduced. The counterparts can be analyzed at specific times and locations, the counterparts are screened in different dimensions, the analysis is directly and the data is accurate, and the analysis personnel can be specifically and targetedly analyzed. The scheme processes the transactions based on the technical means, the fund link is clear, the individual fund link expansion and risk mining can be assisted, the complex flow is processed, and the clear fund link is provided.
[0140] In order to better implement the above method, correspondingly, the embodiment of the present application further provides a transaction relationship analysis device, which can be integrated in an electronic device. The electronic device can be a server, a terminal or the like.
[0141] For example, asFigure 3 As shown, the transaction relationship analysis apparatus can include a determining unit 301, an obtaining unit 302, a screening unit 303, an updating unit 304, and a generating unit 305, as follows:
[0142] The determining unit 301 is configured to determine a target transaction object and a target object level currently to be analyzed.
[0143] The obtaining unit 302 is configured to obtain a transaction object to be analyzed corresponding to the target object level and a transaction screening condition, and transaction data of the transaction object to be analyzed, and determine a candidate transaction object of the transaction object to be analyzed according to the transaction data.
[0144] The screening unit 303 is configured to select, according to the transaction screening condition, an object satisfying the transaction screening condition from the candidate transaction object, to obtain a transaction associated object of the target transaction object in the target object level and a transaction association relationship between the target transaction object and the transaction associated object.
[0145] The updating unit 304 is configured to update a current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, to obtain an updated transaction relationship set, wherein the transaction relationship set includes at least one object level and a transaction association relationship corresponding to the object level.
[0146] The generating unit 305 is configured to generate a transaction link relationship graph of the target transaction object according to the updated transaction relationship set, wherein the transaction link relationship graph includes a plurality of node levels and links of nodes, each node level corresponds to an object level, and the links between the node levels indicate transaction association relationships of transaction objects between the object levels.
[0147] Optionally, in some embodiments, the generating unit can be specifically configured to, when the transaction relationship analysis does not satisfy a preset ending condition, take the transaction associated object as the transaction object to be analyzed, and return to execute the step of determining the target object level currently to be analyzed; and when the transaction relationship analysis satisfies the preset ending condition, generate the transaction link relationship graph of the target transaction object according to the updated transaction relationship set.
[0148] Optionally, in some embodiments, the generating unit includes a determining subunit and a screening subunit, as follows:
[0149] The determining subunit is configured to determine a transaction screening range of the transaction relationship analysis.
[0150] The screening subunit is configured to screen a target transaction relationship set from the updated transaction relationship set according to the transaction screening range, and generate the transaction link relationship graph of the target transaction object based on the target transaction relationship set.
[0151] Optionally, in some embodiments, the determining sub-unit can be specifically configured to display a transaction relationship analysis page, the transaction relationship analysis page comprising a filtering control; and in response to a filtering operation on the filtering control, determine a transaction filtering range of the transaction relationship analysis.
[0152] Optionally, in some embodiments, the transaction relationship analysis page comprises a refresh control, and the filtering sub-unit can be specifically configured to, in response to a refresh operation on the refresh control, determine a target transaction relationship set from the updated transaction relationship set based on the transaction filtering range; and generate a transaction link relationship graph of the target transaction object based on the target transaction relationship set.
[0153] Optionally, in some embodiments, the generating unit comprises a position sub-unit and a generating sub-unit, and the generating unit can be configured as follows:
[0154] The position sub-unit is configured to determine position information of each transaction association object based on the updated transaction relationship set.
[0155] The generating sub-unit is configured to generate the transaction link relationship graph of the target transaction object based on the position information of the transaction association object.
[0156] Optionally, in some embodiments, the position sub-unit can be specifically configured to classify the transaction association objects in the updated transaction relationship set to obtain a point relationship list of the target transaction object, the point relationship list comprising at least one transaction association object and an object level corresponding to each transaction association object; and calculate the position information of each transaction association object based on the object level corresponding to the transaction association object in the point relationship list.
[0157] Optionally, in some embodiments, the point relationship list comprises a serial number of an object level in which each transaction association object is located, and the position sub-unit can be specifically configured to determine the number of transaction association objects corresponding to each object level; and calculate the position information of the transaction association objects in each object level based on the transaction object to be analyzed corresponding to each object level, the number of transaction association objects corresponding to each object level, and the serial number of the transaction association objects in each object level, the position information being position information of each transaction association object relative to the transaction object to be analyzed in the object level.
[0158] Optionally, in some embodiments, the generating sub-unit can be specifically configured to take the target transaction object and the transaction association object as nodes; classify the transaction association relationships in the updated transaction relationship set to obtain an edge relationship list of the target transaction object, the edge relationship list including edge relationships between the target transaction object and the transaction association object and between the transaction association objects; connect the nodes with the edge relationships based on the edge relationship list, and take the connection lines between the nodes as links of the nodes; and generate a transaction link relationship graph of the target transaction object based on the nodes and the links of the nodes.
[0159] In implementation, the above various units can be implemented as independent entities, or can be combined as the same or several entities, and the implementation of the above various units can refer to the method embodiments described above, which will not be described here again.
[0160] As can be seen from the above, in this embodiment, the determination unit 301 can determine the target transaction object and the target object level to be analyzed. Then, the acquisition unit 302 acquires the transaction object to be analyzed and the transaction screening conditions corresponding to the target object level, as well as the transaction data of the transaction object to be analyzed, and determines the candidate transaction objects of the transaction object to be analyzed based on the transaction data. Then, the screening unit 303 selects objects that meet the transaction screening conditions from the candidate transaction objects based on the transaction screening conditions, and obtains the transaction-related objects of the target transaction object at the target object level, as well as the transaction-related objects between the target transaction object and the transaction-related objects. Transaction association relationships; then, the updating unit 304 updates the current transaction relationship set corresponding to the target transaction object based on the transaction association relationships, generating an updated transaction relationship set. The transaction relationship set includes at least one object level and the transaction association relationships corresponding to the object level. Then, the generating unit 305 generates a transaction link relationship graph for the target transaction object based on the updated transaction relationship set. The transaction link relationship graph includes multiple node levels and links between nodes. Each node level corresponds to an object level, and the links between the node levels indicate the transaction association relationships between the transaction objects in the object levels. This solution analyzes transactions of the target transaction object, selects transaction association objects that meet the transaction screening criteria of the first object level, and then selects transaction association objects that meet the transaction screening criteria of the second object level from the selected transaction association objects, repeating this cycle. All selected transaction association objects are used as nodes, and the transaction association relationships between all transaction association objects are extracted as links between nodes. This generates a transaction link relationship graph for the target transaction object, visually displaying the source and destination of the target transaction object and providing a complete transaction link. Compared to manual analysis, this solution saves manpower and provides more accurate transaction relationship analysis. Moreover, by expanding multi-layer transaction relationship objects, it is possible to check whether there are any transactions between the target transaction object and the transaction-related objects of the transaction-related objects. The transaction status between multiple people can be viewed conveniently and intuitively, and it is more accurate than manual analysis, reducing interference and misjudgment caused by human subjective factors.
[0161] In addition, the present invention also provides an electronic device, such as Figure 4 , which shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:
[0162] The electronic device may include one or more processing core processors 401, one or more computer-readable storage media memories 402, a power supply 403, an input unit 404 and other components. Those skilled in the art will understand that Figure 4The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and can include more or fewer components than shown, or combine certain components, or different component arrangements. Among them:
[0163] The processor 401 is the control center of the electronic device, connects various parts of the entire electronic device through various interfaces and lines, executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, thereby overall monitoring the electronic device. Optionally, the processor 401 can include one or more processing cores; preferably, the processor 401 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 401.
[0164] The memory 402 can be used to store software programs and modules, and the processor 401 executes various functions and data processing by running the software programs and modules stored in the memory 402. The memory 402 can mainly include a program storage area and a data storage area, wherein the program storage area can store the operating system, at least one application program required by the function (such as sound playing function, image playing function, etc.), etc.; the data storage area can store data created according to the use of the electronic device, etc. In addition, the memory 402 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory 402 can also include a memory controller to provide the processor 401 with access to the memory 402.
[0165] The electronic device also includes a power supply 403 for supplying power to various components, and preferably the power supply 403 can be logically connected to the processor 401 through a power management system, so as to realize the functions of power management, discharge management, and power consumption management through the power management system. The power supply 403 can also include one or more than one direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power supply converter or inverter, a power supply state indicator, etc. Any component.
[0166] The electronic device can also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0167] Although not shown, the electronic device can further include a display unit and the like, which will not be described herein. In the present embodiment, the processor 401 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 402 and runs the application program stored in the memory 402 by the processor 401 according to the following instructions, thereby realizing various functions, such as the following:
[0168] determining a target transaction object and a target object level to be analyzed at present; then, obtaining a transaction object to be analyzed and a transaction screening condition corresponding to the target object level, and transaction data of the transaction object to be analyzed, and determining a candidate transaction object of the transaction object to be analyzed according to the transaction data; then, selecting an object satisfying the transaction screening condition from the candidate transaction object according to the transaction screening condition, obtaining a transaction associated object of the target transaction object in the target object level, and a transaction associated relationship between the target transaction object and the transaction associated object; then, updating a current transaction relationship set corresponding to the target transaction object according to the transaction associated relationship, obtaining an updated transaction relationship set, wherein the transaction relationship set includes at least one object level and a transaction associated relationship corresponding to the object level; then, generating a transaction link relationship graph of the target transaction object according to the updated transaction relationship set, wherein the transaction link relationship graph includes multiple node levels and links of nodes, each node level corresponds to an object level, and the links between the node levels indicate transaction associated relationships of transaction objects between the object levels.
[0169] The specific implementation of each operation can refer to the foregoing embodiments, which will not be described herein.
[0170] As can be seen, the embodiment can determine the target transaction object and the target object level currently to be analyzed, then acquire the transaction object to be analyzed and the transaction screening condition corresponding to the target object level, and the transaction data of the transaction object to be analyzed, and determine the candidate transaction object of the transaction object to be analyzed according to the transaction data, then select the object satisfying the transaction screening condition from the candidate transaction object according to the transaction screening condition, to obtain the transaction associated object of the target transaction object in the target object level and the transaction association relationship between the target transaction object and the transaction associated object, and then update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, to obtain the updated transaction relationship set, wherein the transaction relationship set includes at least one object level and the transaction association relationship corresponding to the object level, and then generate the transaction link relationship diagram of the target transaction object according to the updated transaction relationship set, wherein the transaction link relationship diagram includes multiple node levels and the link between nodes, each node level corresponds to an object level, and the link between the node levels indicates the transaction association relationship between the transaction objects in the object levels. Since the scheme can analyze the transaction of the target transaction object, select the transaction associated object satisfying the transaction screening condition of the first object level, and continue to select the transaction associated object satisfying the transaction screening condition of the second object level, and so on. All the selected transaction associated objects are used as nodes, and the transaction association relationship between all the transaction associated objects is extracted as the link between the nodes, and then the transaction link relationship diagram of the target transaction object is generated, which directly shows the source and destination of the target transaction object, the transaction link is complete, the manpower is saved compared to manual analysis, and the transaction relationship analysis is more accurate. And by expanding the multi-layer transaction relationship object, it can be seen whether there is transaction between the transaction associated object of the target transaction object and the transaction associated object, the transaction conditions between multiple persons can be conveniently and directly viewed, and the analysis is more accurate compared to manual analysis, and the interference and misjudgment of human subjective factors are reduced.
[0171] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions or controlled by instructions related to hardware, which can be stored in a computer readable storage medium and loaded and executed by a processor.
[0172] Therefore, the embodiments of the present application also provide a storage medium in which a plurality of instructions are stored, which can be loaded by a processor to execute the steps in any one of the transaction relationship analysis methods provided by the embodiments of the present application. For example, the instructions can execute the following steps:
[0173] The target transaction object and the current target object level to be analyzed are determined, then the transaction object to be analyzed corresponding to the target object level and the transaction screening condition are acquired, and the transaction data of the transaction object to be analyzed is acquired, and the candidate transaction object of the transaction object to be analyzed is determined according to the transaction data; then, the transaction object meeting the transaction screening condition is selected from the candidate transaction object according to the transaction screening condition, to obtain the transaction associated object of the target transaction object in the target object level and the transaction association relationship between the target transaction object and the transaction associated object; the current transaction relationship set corresponding to the target transaction object is updated according to the transaction association relationship, to obtain the updated transaction relationship set, wherein the transaction relationship set includes at least one object level and the transaction association relationship corresponding to the object level; then, the transaction link relationship diagram of the target transaction object is generated according to the updated transaction relationship set, and the transaction link relationship diagram includes multiple node levels and the link of the node, each node level corresponds to an object level, and the link between the node levels indicates the transaction association relationship between the transaction objects in the object levels.
[0174] The specific implementation of each operation can refer to the foregoing embodiments, and will not be described herein.
[0175] The storage medium can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, and the like.
[0176] Due to the instructions stored in the storage medium, the steps in any of the transaction relationship analysis methods provided in the embodiments of the present application can be executed, and thus the beneficial effects of any of the transaction relationship analysis methods provided in the embodiments of the present application can be achieved. Details are described in the foregoing embodiments, and will not be described herein.
[0177] The transaction relationship analysis method, device, electronic equipment and storage medium provided in the embodiments of the present application are described in detail, and the specific examples are applied to describe the principles and implementation manners of the present application; the foregoing embodiment descriptions are only used to help understand the method and the core idea of the present application; meanwhile, the skilled in the art can make changes in the specific implementation manners and application ranges according to the idea of the present application; and the foregoing description of the present application should not be understood as a limitation.
Claims
1. A transaction relationship analysis method, characterized in that: include: Determine the target transaction object and the target object level to be analyzed; Obtaining the transaction object to be analyzed and the transaction screening conditions corresponding to the target object level, as well as the transaction data of the transaction object to be analyzed, and determining candidate transaction objects of the transaction object to be analyzed based on the transaction data; According to the transaction screening condition, an object that meets the transaction screening condition is selected from the candidate transaction objects, and a transaction-associated object of the target transaction object at the target object level is obtained, as well as a transaction association relationship between the target transaction object and the transaction-associated object; updating a current transaction relationship set corresponding to the target transaction object according to the transaction relationship to obtain an updated transaction relationship set, wherein the transaction relationship set includes at least one object level and a transaction relationship corresponding to the object level; Generating a transaction link relationship graph of the target transaction object according to the updated transaction relationship set, including: classifying the transaction-related objects in the updated transaction relationship set to obtain a point relationship list of the target transaction object, the point relationship list including at least one transaction-related object and an object level corresponding to each transaction-related object; classifying the transaction associations in the updated transaction relationship set to obtain an edge relationship list of the target transaction object, the edge relationship list including edge relationships between the target transaction object and the transaction-related objects, and between the transaction-related objects; generating a transaction link relationship graph of the target transaction object based on the point relationship list and the edge relationship list; the transaction link relationship graph including multiple node levels and links between nodes, each node level corresponding to an object level, and the links between the node levels indicating transaction association relationships between the transaction objects between the object levels.
2. The method according to claim 1, characterized in that Generating the transaction link relationship graph of the target transaction object according to the updated transaction relationship set includes: When the transaction relationship analysis does not meet the preset end condition, the transaction-related object is used as the transaction object to be analyzed, and the process returns to the step of determining the level of the target object to be analyzed. When the transaction relationship analysis meets the preset end condition, a transaction link relationship graph of the target transaction object is generated according to the updated transaction relationship set.
3. The method according to claim 1, characterized in that Generating the transaction link relationship graph of the target transaction object according to the updated transaction relationship set includes: Determine the transaction screening scope for transaction relationship analysis; A target transaction relationship set is screened out from the updated transaction relationship set according to the transaction screening range, and a transaction link relationship graph of the target transaction object is generated based on the target transaction relationship set.
4. The method according to claim 3, characterized in that Determining the transaction screening scope for transaction relationship analysis includes: Displaying a transaction relationship analysis page, wherein the transaction relationship analysis page includes a filter control; In response to a filtering operation on the filtering control, a transaction filtering scope for transaction relationship analysis is determined.
5. The method according to claim 4, characterized in that The transaction relationship analysis page includes a refresh control, and filtering a target transaction relationship set from the updated transaction relationship set according to the transaction screening range, and generating a transaction link relationship graph of the target transaction object based on the target transaction relationship set, includes: In response to a refresh operation on the refresh control, determining a target transaction relationship set from the updated transaction relationship set based on the transaction screening range; A transaction link relationship graph of the target transaction object is generated based on the target transaction relationship set.
6. The method according to claim 1, characterized in that Generating the transaction link relationship graph of the target transaction object according to the updated transaction relationship set includes: Determining location information of each transaction-related object based on the updated transaction relationship set; Based on the location information of the transaction-related object, a transaction link relationship graph of the target transaction object is generated.
7. The method according to claim 6, characterized in that The determining the location information of each transaction-related object based on the updated transaction relationship set includes: Based on the object hierarchy corresponding to the transaction-related objects in the point relationship list, the location information of each transaction-related object is calculated.
8. The method according to claim 7, characterized in that The point relationship list includes a serial number of an object level at which each transaction-related object is located. Calculating the location information of each transaction-related object based on the object level corresponding to the transaction-related object in the point relationship list includes: Determine the number of transaction-related objects corresponding to each object level; Based on the transaction objects to be analyzed corresponding to each object level, the number of transaction-related objects corresponding to each object level, and the serial numbers of the transaction-related objects in each object level, the position information of the transaction-related objects in each object level is calculated, where the position information is the position information of each transaction-related object relative to the transaction object to be analyzed in the object level.
9. The method according to claim 7, characterized in that The generating of the transaction link relationship graph of the target transaction object based on the location information of the transaction-related object includes: Taking the target transaction object and the transaction-related object as nodes; Based on the edge relationship list, the nodes with edge relationships are connected, and the connection lines between the nodes are used as links of the nodes; Based on the nodes and links between the nodes, a transaction link relationship graph of the target transaction object is generated.
10. A transaction relationship analysis device, characterized in that: include: A determination unit, used to determine the target transaction object and the target object level to be analyzed; an acquisition unit, configured to acquire the transaction object to be analyzed and the transaction screening conditions corresponding to the target object level, as well as transaction data of the transaction object to be analyzed, and determine candidate transaction objects of the transaction object to be analyzed based on the transaction data; a screening unit configured to select, based on the transaction screening condition, objects that meet the transaction screening condition from the candidate transaction objects, obtain transaction-associated objects of the target transaction object at the target object level, and a transaction association relationship between the target transaction object and the transaction-associated objects; an updating unit, configured to update a current transaction relationship set corresponding to the target transaction object according to the transaction relationship to obtain an updated transaction relationship set, wherein the transaction relationship set includes at least one object level and a transaction relationship corresponding to the object level; A generating unit, configured to generate a transaction link relationship graph of the target transaction object based on the updated transaction relationship set, comprising: classifying the transaction-related objects in the updated transaction relationship set to obtain a point relationship list of the target transaction object, wherein the point relationship list includes at least one transaction-related object and an object level corresponding to each transaction-related object; classifying the transaction associations in the updated transaction relationship set to obtain an edge relationship list of the target transaction object, wherein the edge relationship list includes edge relationships between the target transaction object and the transaction-related objects, and between the transaction-related objects; generating a transaction link relationship graph of the target transaction object based on the point relationship list and the edge relationship list; the transaction link relationship graph includes multiple node levels and links between nodes, wherein each node level corresponds to an object level, and the links between the node levels indicate transaction association relationships between the transaction objects between the object levels.
11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the transaction relationship analysis method according to any one of claims 1 to 9.
12. 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 program, the steps of the method according to any one of claims 1 to 9 are implemented.
13. A computer program product, characterized in that The computer product includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Suspicious fund link detection method and device
CN111127024A
Value flow direction monitoring method and device based on relational network diagram, equipment and medium
CN111652718A