[go: up one dir, main page]

CN115905625A - Transaction relation analysis method and device, electronic equipment and storage medium - Google Patents

Transaction relation analysis method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115905625A
CN115905625A CN202110923927.2A CN202110923927A CN115905625A CN 115905625 A CN115905625 A CN 115905625A CN 202110923927 A CN202110923927 A CN 202110923927A CN 115905625 A CN115905625 A CN 115905625A
Authority
CN
China
Prior art keywords
transaction
relationship
target
level
objects
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110923927.2A
Other languages
Chinese (zh)
Other versions
CN115905625B (en
Inventor
李嘉隆
刘桃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tenpay Payment Technology Co Ltd
Original Assignee
Tenpay Payment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tenpay Payment Technology Co Ltd filed Critical Tenpay Payment Technology Co Ltd
Priority to CN202110923927.2A priority Critical patent/CN115905625B/en
Priority claimed from CN202110923927.2A external-priority patent/CN115905625B/en
Publication of CN115905625A publication Critical patent/CN115905625A/en
Application granted granted Critical
Publication of CN115905625B publication Critical patent/CN115905625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application discloses a transaction relationship analysis method, a transaction relationship analysis device, electronic equipment and a storage medium; the method and the device can determine the target transaction object and the level of the target object to be analyzed currently; acquiring a transaction object to be analyzed and a transaction screening condition corresponding to a 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; according to the transaction screening conditions, selecting objects meeting the transaction screening conditions from the candidate transaction objects to obtain transaction associated objects of the target transaction objects at the target object level and transaction associated relations between the target transaction objects and the transaction associated objects; updating a current transaction relation set corresponding to the target transaction object according to the transaction association relation to obtain an updated transaction relation set; and generating a transaction link relation graph of the target transaction object according to the updated transaction relation set. The scheme can effectively improve the efficiency of transaction relationship analysis.

Description

交易关系分析方法、装置、电子设备和存储介质Transaction relationship analysis method, device, electronic device and storage medium

技术领域technical field

本申请涉及计算机技术领域,具体涉及一种交易关系分析方法、装置、 电子设备和存储介质。This application relates to the field of computer technology, in particular to a transaction relationship analysis method, device, electronic equipment and storage medium.

背景技术Background technique

随着互联网技术的不断发展,许多商户或用户会通过指定的金融应用或 支付应用进行交易和日常资源转移活动,而这样就需要对各商户或用户可能 存在的风险(具体如将非法渠道获取的资源转换为合法资源对应的风险等) 进行防控。各金融机构可以通过相应的交易数据对该交易数据对应的交易是 否存在风险进行检测,比如,可以从海量数据中甄选出有效数据,通过定性 和定量的分析,深入挖掘客户的多层次、多元化信息,确定客户的可疑交易 行为。近年来,人民银行及金融机构逐步规范了金融机构的大额交易和可疑交易监测分析及报告行为,有力的打击了非法交易活动。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 this requires possible risks for each merchant or user (specifically, the Risks corresponding to conversion of resources into legitimate resources, etc.) for prevention and control. Each financial institution can use the corresponding transaction data to detect whether there is a risk in the transaction corresponding to the transaction data. For example, it can select effective data from massive data, and through qualitative and quantitative analysis, dig deep into the multi-level and multi-level customers. to identify suspicious transaction behaviors of customers. In recent years, the People's Bank of China and financial institutions have gradually regulated the monitoring, analysis and reporting of large-value and suspicious transactions by financial institutions, effectively cracking down on illegal transactions.

但是,目前传统的方案是只能看见主体的一度上下游对手,无法直观展 示资金整体流向,若要拓展对手的上下游,以及知道拓展对手的上下游与主 要账户的上下游之间的关联和关联性强弱,则需依靠人工分析,效率较低。However, the current traditional solution can only see the upstream and downstream opponents of the main body, and cannot intuitively display the overall flow of funds. The correlation and the strength of the correlation need to rely on manual analysis, which is less efficient.

发明内容Contents of the invention

本申请实施例提供一种交易关系分析方法、装置、电子设备和存储介质, 可以有效地提高交易关系分析的效率。Embodiments of the present application provide a transaction relationship analysis method, device, electronic equipment, and storage medium, which can effectively improve the efficiency of transaction relationship analysis.

本申请实施例提供一种交易关系分析方法,包括:An embodiment of the present application provides a transaction relationship analysis method, including:

确定目标交易对象以及当前待分析的目标对象层级;Determine the target transaction object and the current target object level to be analyzed;

获取目标对象层级对应的待分析交易对象和交易筛选条件,以及待分析 交易对象的交易数据,并根据所述交易数据确定待分析交易对象的候选交易 对象;Obtain the transaction object to be analyzed and the transaction filter conditions corresponding to the target object level, as well as 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;

根据所述交易筛选条件,从所述候选交易对象中选取满足交易筛选条件 的对象,得到所述目标交易对象在目标对象层级的交易关联对象,以及目标 交易对象与交易关联对象之间的交易关联关系;According to the transaction screening conditions, select the objects that meet the transaction screening conditions from the candidate transaction objects, and obtain the transaction associated objects of the target transaction object at the target object level, and the transaction association between the target transaction object and the transaction associated objects relation;

根据所述交易关联关系对所述目标交易对象对应的当前交易关系集合进 行更新,得到更新后交易关系集合,其中,交易关系集合包括至少一个对象 层级、对象层级对应的交易关联关系;According to the transaction association relationship, the current transaction relationship set corresponding to the target transaction object is updated to obtain an updated transaction relationship set, wherein the transaction relationship set includes at least one object level, and the transaction relationship corresponding to the object level;

根据更新后交易关系集合生成所述目标交易对象的交易链路关系图,所 述交易链路关系图包括多个节点层级以及节点的链路,每个节点层级对应一 个对象层级,所述节点层级间的链路指示所述对象层级间交易对象的交易关 联关系。Generate the transaction link relationship diagram of the target transaction object according to the updated transaction relationship set, the transaction link relationship diagram includes multiple node levels and node links, each node level corresponds to an object level, and the node Links between levels indicate the transaction association relationship of transaction objects between the object levels.

相应的,本申请实施例还提供一种交易关系分析装置,包括:Correspondingly, the embodiment of the present application also provides a transaction relationship analysis device, including:

确定单元,用于确定目标交易对象以及当前待分析的目标对象层级;A determination unit is used to determine the target transaction object and the current target object level to be analyzed;

获取单元,用于获取目标对象层级对应的待分析交易对象和交易筛选条 件,以及待分析交易对象的交易数据,并根据所述交易数据确定待分析交易 对象的候选交易对象;The obtaining unit is used to obtain 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 determine the candidate transaction object of the transaction object to be analyzed according to the transaction data;

筛选单元,用于根据所述交易筛选条件,从所述候选交易对象中选取满 足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的交易关联 对象,以及目标交易对象与交易关联对象之间的交易关联关系;The screening unit is used to select an object that satisfies the transaction screening condition from the candidate transaction objects according to the transaction screening condition, and obtain the transaction associated object of the target transaction object at the target object level, and the target transaction object and the transaction association Transaction relationship between objects;

更新单元,用于根据所述交易关联关系对所述目标交易对象对应的当前 交易关系集合进行更新,得到更新后交易关系集合,其中,交易关系集合包 括至少一个对象层级、对象层级对应的交易关联关系;An update unit, configured to update the 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 corresponding to the object level connection relation;

生成单元,用于根据更新后交易关系集合生成所述目标交易对象的交易 链路关系图,所述交易链路关系图包括多个节点层级以及节点的链路,每个 节点层级对应一个对象层级,所述节点层级间的链路指示所述对象层级间交 易对象的交易关联关系。A generating unit, configured to generate a transaction link relationship diagram of the target transaction object according to the updated transaction relationship set, the transaction link relationship diagram includes multiple node levels and node links, and each node level corresponds to an object level , the link between the node levels indicates the transaction association relationship of the transaction objects between the object levels.

可选的,在一些实施例中,所述生成单元,具体可以用于当交易关系分 析不满足预设结束条件时,将所述交易关联对象作为所述待分析交易对象, 返回执行确定当前待分析的目标对象层级的步骤;当交易关系分析满足预设 结束条件时,根据更新后交易关系集合生成所述目标交易对象的交易链路关 系图。Optionally, in some embodiments, the generating unit may be specifically configured to use the transaction-associated object as the transaction object to be analyzed when the analysis of the transaction relationship does not meet the preset end condition, and return to execute to determine the current The step of the target object level to be analyzed; when the transaction relationship analysis meets the preset end condition, generate the transaction link relationship diagram of the target transaction object according to the updated transaction relationship set.

可选的,在一些实施例中,所述生成单元包括确定子单元和筛选子单元, 如下:Optionally, in some embodiments, the generation unit includes a determination subunit and a screening subunit, as follows:

确定子单元,用于确定交易关系分析的交易筛选范围;Determine the subunit, used to determine the scope of transaction screening for transaction relationship analysis;

筛选子单元,用于根据所述交易筛选范围从更新后交易关系集合筛选出 目标交易关系集合,并基于所述目标交易关系集合生成所述目标交易对象的 交易链路关系图。The screening subunit is configured to filter out a target transaction relationship set from the updated transaction relationship set according to the transaction screening range, and generate a transaction link relationship diagram of the target transaction object based on the target transaction relationship set.

可选的,在一些实施例中,所述确定子单元,具体可以用于显示交易关 系分析页面,所述交易关系分析页面包括筛选控件;响应针对所述筛选控件 的筛选操作,确定交易关系分析的交易筛选范围。Optionally, in some embodiments, the determining subunit may be specifically configured to display a transaction relationship analysis page, where the transaction relationship analysis page includes a screening control; in response to a screening operation directed at the screening control, determine the transaction relationship The transaction filter scope for the analysis.

可选的,在一些实施例中,所述交易关系分析页面包括刷新控件,所述 筛选子单元,具体可以用于响应针对刷新控件的刷新操作,基于所述交易筛 选范围,从更新后交易关系集合确定目标交易关系集合;基于所述目标交易 关系集合生成所述目标交易对象的交易链路关系图。Optionally, in some embodiments, the transaction relationship analysis page includes a refresh control, and the screening subunit can specifically respond to a refresh operation for the refresh control, based on the transaction screening range, from the updated transaction The relationship set determines the target transaction relationship set; generates the transaction link relationship graph of the target transaction object based on the target transaction relationship set.

可选的,在一些实施例中,所述生成单元包括位置子单元和生成子单元, 如下:Optionally, in some embodiments, the generating unit includes a position subunit and a generating subunit, as follows:

位置子单元,用于基于所述更新后交易关系集合,确定每个交易关联对 象的位置信息;The location subunit is used to determine the location information of each transaction-associated object based on the updated transaction relationship set;

生成子单元,用于基于所述交易关联对象的位置信息,生成所述目标交 易对象的交易链路关系图。The generation subunit is used to generate the transaction link relationship graph of the target transaction object based on the location information of the transaction-related object.

可选的,在一些实施例中,所述位置子单元,具体可以用于对所述更新 后交易关系集合中的交易关联对象进行分类,得到所述目标交易对象的点关 系列表,所述点关系列表包括至少一个交易关联对象、以及每个交易关联对 象对应的对象层级;基于所述点关系列表中交易关联对象对应的对象层级, 计算每一个交易关联对象的位置信息。Optionally, in some embodiments, the location subunit can specifically be used to classify the transaction-related objects in the updated transaction relationship set to obtain the point relationship list of the target transaction object, and the The point relationship list includes at least one transaction-related object and the object level corresponding to each transaction-related object; based on the object level corresponding to the transaction-related object in the point relationship list, the position information of each transaction-related object is calculated.

可选的,在一些实施例中,所述点关系列表包括每个交易关联对象所在 对象层级的序列号,所述位置子单元,具体可以用于确定每个对象层级对应 交易关联对象的个数;基于每个对象层级对应的待分析交易对象、每个对象 层级对应交易关联对象的个数、以及每个对象层级中交易关联对象的序列号, 计算所述每个对象层级中交易关联对象的位置信息,所述位置信息为每个交 易关联对象相对于所述对象层级的待分析交易对象的位置信息。Optionally, in some embodiments, the point relationship list includes the serial number of the object level where each transaction-related object is located, and the location subunit can specifically be used to 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 transaction-related objects in each object level, calculate the number of transaction-related objects in each object level Location information, where the location information is the location information of each transaction-related object relative to the transaction object to be analyzed at the object level.

可选的,在一些实施例中,所述生成子单元,具体可以用于将所述目标 交易对象和所述交易关联对象作为节点;对所述更新后交易关系集合中的交 易关联关系进行分类,得到所述目标交易对象的边关系列表,所述边关系列 表包括目标交易对象与交易关联对象、以及交易关联对象之间的边关系;基 于所述边关系列表,将存在边关系的节点进行连接,并将节点之间的连接线 作为节点的链路;基于所述节点和节点的链路,生成所述目标交易对象的交 易链路关系图。Optionally, in some embodiments, the generating subunit may be specifically configured to use the target transaction object and the transaction association object as nodes; perform transaction association relationships in the updated transaction relationship set classification, to obtain the edge relationship list of the target transaction object, the edge relationship list includes the target transaction object and the transaction associated object, and the edge relationship between the transaction associated object; based on the edge relationship list, there will be edge relationships The nodes are connected, and the connection lines between the nodes are used as the links of the nodes; based on the nodes and the links of the nodes, a transaction link relationship diagram of the target transaction object is generated.

此外,本申请实施例还提供一种计算机可读存储介质,所述计算机可读 存储介质存储有多条指令,所述指令适于处理器进行加载,以执行本申请实 施例提供的任一种交易关系分析方法中的步骤。In addition, the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute any of the instructions provided in the embodiments of the present application. Steps in a transaction relationship analysis method.

此外,本申请实施例还提供一种电子设备,包括存储器,处理器及存储 在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时 实现如本申请实施例提供的任一种交易关系分析方法中的步骤。In addition, the embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. The steps in any transaction relationship analysis method.

根据本申请的一个方面,提供了一种计算机程序产品或计算机程序,该 计算机产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读 存储介质中,计算机设备的处理器从计算机可读存储介质读取该计算机指令, 处理器执行该计算机指令,使得该计算机设备执行上述交易关系分析方面的 各种可选实现方式中提供的方法。According to one aspect of the present application, a computer program product or computer program is provided, the computer product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and a processor of a computer device reads from the computer-readable storage The medium reads the computer instructions, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations of the above transaction relationship analysis.

本实施例可以确定目标交易对象以及当前待分析的目标对象层级;然后, 获取目标对象层级对应的待分析交易对象和交易筛选条件,以及待分析交易 对象的交易数据,并根据所述交易数据确定待分析交易对象的候选交易对象; 接着,根据所述交易筛选条件,从所述候选交易对象中选取满足交易筛选条 件的对象,得到所述目标交易对象在目标对象层级的交易关联对象,以及目 标交易对象与交易关联对象之间的交易关联关系;再根据所述交易关联关系 对所述目标交易对象对应的当前交易关系集合进行更新,得到更新后交易关 系集合,其中,交易关系集合包括至少一个对象层级、对象层级对应的交易 关联关系;再然后,根据更新后交易关系集合生成所述目标交易对象的交易 链路关系图,所述交易链路关系图包括多个节点层级以及节点的链路,每个 节点层级对应一个对象层级,所述节点层级间的链路指示所述对象层级间交 易对象的交易关联关系。该方案可以有效地提高交易关系分析的效率。This embodiment can determine the target transaction object and the current target object level to be analyzed; then, obtain the transaction object to be analyzed corresponding to the target object level and the transaction filter conditions, as well as the transaction data of the transaction object to be analyzed, and determine according to the transaction data The candidate transaction object of the transaction object to be analyzed; then, according to the transaction screening condition, select the object that satisfies the transaction screening condition from the candidate transaction object, and obtain the transaction related object of the target transaction object at the target object level, and The transaction association relationship between the target transaction object and the transaction association object; then update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, and obtain the updated transaction relationship set, wherein the transaction relationship set Including at least one object level, the transaction association relationship corresponding to the object level; and then, according to the updated transaction relationship set to generate the transaction link relationship diagram of the target transaction object, the transaction link relationship diagram includes multiple node levels and node Each node level corresponds to an object level, and the links between the node levels indicate the transaction association relationship of the transaction objects between the object levels. This scheme can effectively improve the efficiency of transaction relationship analysis.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中 所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本 申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提 下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the accompanying drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those skilled in the art, on the premise of not paying creative work, other drawings can also be obtained according to these drawings.

图1a是本申请实施例提供的交易关系分析方法的场景示意图;Fig. 1a is a schematic diagram of the scene of the transaction relationship analysis method provided by the embodiment of the present application;

图1b是本申请实施例提供的交易关系分析方法的第一流程图;Fig. 1b is the first flow chart of the transaction relationship analysis method provided by the embodiment of the present application;

图2a是本申请实施例提供的交易关系分析方法的第二流程图;Fig. 2a is the second flow chart of the transaction relationship analysis method provided by the embodiment of the present application;

图2b是本申请实施例提供的交易关系分析方法的结构示意图;Fig. 2b is a schematic structural diagram of the transaction relationship analysis method provided by the embodiment of the present application;

图2c是本申请实施例提供的交易关系分析方法的计算示意图;Fig. 2c is a schematic calculation diagram of the transaction relationship analysis method provided by the embodiment of the present application;

图2d是本申请实施例提供的交易关系分析页面的第一示意图;Fig. 2d is the first schematic diagram of the transaction relationship analysis page provided by the embodiment of the present application;

图2e是本申请实施例提供的交易关系分析页面的第二示意图;Fig. 2e is a second schematic diagram of the transaction relationship analysis page provided by the embodiment of the present application;

图2f是本申请实施例提供的交易关系分析页面的第三示意图;Fig. 2f is the third schematic diagram of the transaction relationship analysis page provided by the embodiment of the present application;

图2g是本申请实施例提供的交易关系分析页面的第四示意图;Fig. 2g is the fourth schematic diagram of the transaction relationship analysis page provided by the embodiment of the present application;

图2h是本申请实施例提供的交易关系分析页面的第五示意图;Fig. 2h is the fifth schematic diagram of the transaction relationship analysis page provided by the embodiment of the present application;

图3是本申请实施例提供的交易关系分析装置的结构示意图;FIG. 3 is a schematic structural diagram of a transaction relationship analysis device provided in an embodiment of the present application;

图4是本申请实施例提供的电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行 清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而 不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有做出创 造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts all belong to the scope of protection of this application.

本申请的原理是以实施在一适当的运算环境中来举例说明。在以下的说 明中,本申请的具体实施例将参考由一部或多部计算机所执行的步骤及符号 来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行, 本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号 的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存 系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改 变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有 由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其 并不代表为一种限制,本领域测试人员将可了解到以下该的多种步骤及操作 亦可实施在硬件当中。The principles of the present application are exemplified by implementation in a suitable computing environment. In the following description, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be referred to several times as being executed by a computer, and the computer execution referred to herein includes the operation by a computer processing unit of electronic signals representing data in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system that can reconfigure or otherwise change the operation of the computer in a manner well known to testers in the art. The data structures maintained by the data are physical locations in the memory that have specific characteristics defined by the data format. However, the principle of this application is described in the above text, which does not represent a limitation. Testers in the field will understand that the following various steps and operations can also be implemented in hardware.

本文所使用的术语“单元”可看做为在该运算系统上执行的软件对象。 本文该的不同组件、单元、引擎及服务可看做为在该运算系统上的实施对象。 而本文该的装置及方法可以以软件的方式进行实施,当然也可在硬件上进行 实施,均在本申请保护范围之内。The term "unit" as used herein may be considered a software object executing on the computing system. The different components, units, engines and services mentioned herein can be regarded as implementation objects on the computing system. The device and method described herein can be implemented in the form of software, and of course can also be implemented in hardware, all within the protection scope of the present application.

本申请中的术语“第一”、“第二”和“第三”等是用于区别不同对象, 而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变 形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方 法、系统、产品或设备没有限定于已列出的步骤或单元,而是某些实施例还 包括没有列出的步骤或单元,或某些实施例还包括对于这些过程、方法、产 品或设备固有的其它步骤或单元。The terms "first", "second" and "third" in this application are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device comprising a series of steps or units is not limited to the listed steps or units, but some embodiments also include unlisted steps or units, or certain implementations Examples also include other steps or elements inherent to these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或 特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该 短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备 选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施 例可以与其它实施例相结合。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 present application. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are independent or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

本申请实施例提供一种交易关系分析方法、装置、电子设备和存储介质。 其中,该交易关系分析装置可以集成在电子设备中,该电子设备可以是服务 器,也可以是终端等设备。Embodiments of the present application provide a transaction relationship analysis method, device, electronic equipment, and storage medium. Wherein, the transaction relationship analysis device can be integrated in an electronic device, and the electronic device can be a server, or a terminal and other equipment.

例如,如图1a所示,首先,该集成了交易关系分析装置的电子设备可以 确定目标交易对象以及当前待分析的目标对象层级;然后,获取目标对象层 级对应的待分析交易对象和交易筛选条件,以及待分析交易对象的交易数据, 并根据所述交易数据确定待分析交易对象的候选交易对象;接着,根据所述 交易筛选条件,从所述候选交易对象中选取满足交易筛选条件的对象,得到 所述目标交易对象在目标对象层级的交易关联对象,以及目标交易对象与交 易关联对象之间的交易关联关系;再根据所述交易关联关系对所述目标交易 对象对应的当前交易关系集合进行更新,得到更新后交易关系集合,其中, 交易关系集合包括至少一个对象层级、对象层级对应的交易关联关系;再然 后,根据更新后交易关系集合生成所述目标交易对象的交易链路关系图,所 述交易链路关系图包括多个节点层级以及节点的链路,每个节点层级对应一 个对象层级,所述节点层级间的链路指示所述对象层级间交易对象的交易关 联关系。由于该方案可以对目标交易对象的交易进行分析,选取满足第一对 象层级的交易筛选条件的交易关联对象,并对选取出来的交易关联对象的继续选取满足第二对象层级的交易筛选条件的交易关联对象,如此循环。选出 的所有交易关联对象作为节点,同时提取所有交易关联对象之间的交易关联 关系作为节点之间的链路,进而生成目标交易对象的交易链路关系图,直观 地展示目标交易对象的来源及去向,交易链路完整,相比于人工分析节省人 力,且交易关系分析更加准确。并且通过对多层交易关系对象进行拓展,即 可查看目标交易对象与交易关联对象的交易关联对象间的是否存在交易往来, 可便捷、直观的查看多个人员间的交易情况,且相对于人工分析更加准确, 降低人为主观因素的干扰及误判。For example, as shown in Figure 1a, first, the electronic device integrated with the transaction relationship analysis device can determine the target transaction object and the current target object level to be analyzed; then, obtain the transaction object to be analyzed corresponding to the target object level and the transaction screening conditions, 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, according to the transaction screening condition, select the object that meets the transaction screening condition from the candidate transaction objects , 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 association object; then according to the transaction association relationship, the current transaction relationship corresponding to the target transaction object The set is updated to obtain an 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, generate the transaction link of the target transaction object according to the updated transaction relationship set A relationship diagram, the transaction link relationship diagram 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 the transaction relationship of the transaction objects between the object levels association relationship. Because this scheme can analyze the transaction of the target transaction object, select the transaction associated object that meets the transaction screening condition of the first object level, and continue to select the transaction associated object that meets the transaction screening condition of the second object level Transaction related objects, and so on. All the selected transaction-related objects are used as nodes, and the transaction-related relationships between all transaction-related objects are extracted as the links between nodes, and then the transaction link diagram of the target transaction object is generated to visually display the source of the target transaction object and whereabouts, the transaction link is complete, which saves manpower compared with manual analysis, and the analysis of transaction relationship is more accurate. And by expanding the multi-layer transaction relationship object, you can check whether there is a transaction between the target transaction object and the transaction-related object of the transaction-related object, and you can conveniently and intuitively view the transactions between multiple people, and compared with manual The analysis is more accurate, and the interference and misjudgment of human subjective factors are reduced.

以下分别进行详细说明。需说明的是,以下实施例的描述顺序不作为对 实施例优选顺序的限定。Each will be described in detail below. It should be noted that the description order of the following embodiments is not as a limitation to the preferred order of the embodiments.

本实施例将从交易关系分析装置的角度进行描述,该交易关系分析装置 具体可以集成在电子设备中,该电子设备可以是服务器,也可以是终端等设 备;其中,该终端可以包括手机、平板电脑、笔记本电脑、以及个人计算机 (Personal Computer,PC)等设备。This embodiment will be described from the perspective of a transaction relationship analysis device. The transaction relationship analysis device can specifically be integrated in an electronic device, and the electronic device can be a server, or a terminal and other equipment; wherein, the terminal can include a mobile phone, Devices such as tablet computers, notebook computers, and personal computers (Personal Computer, PC).

一种交易关系分析方法,包括:确定目标交易对象以及当前待分析的目 标对象层级;然后,获取目标对象层级对应的待分析交易对象和交易筛选条 件,以及待分析交易对象的交易数据,并根据所述交易数据确定待分析交易 对象的候选交易对象;接着,根据所述交易筛选条件,从所述候选交易对象 中选取满足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的 交易关联对象,以及目标交易对象与交易关联对象之间的交易关联关系;再 根据所述交易关联关系对所述目标交易对象对应的当前交易关系集合进行更 新,得到更新后交易关系集合,其中,交易关系集合包括至少一个对象层级、 对象层级对应的交易关联关系;再然后,根据更新后交易关系集合生成所述 目标交易对象的交易链路关系图,所述交易链路关系图包括多个节点层级以 及节点的链路,每个节点层级对应一个对象层级,所述节点层级间的链路指 示所述对象层级间交易对象的交易关联关系。A transaction relationship analysis method, comprising: determining the target transaction object and the current target object level to be analyzed; then, obtaining the transaction object to be analyzed corresponding to the target object level and transaction filtering conditions, as well as 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, according to the transaction screening condition, select the object satisfying the transaction screening condition from the candidate transaction object, and obtain the target transaction object at the target object level The transaction associated object, and the transaction association relationship between the target transaction object and the transaction association object; then update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, and 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, according to the updated transaction relationship set, the transaction link relationship diagram of the target transaction object is generated, and the transaction link relationship diagram includes multiple Each node level corresponds to an object level, and the links between the node levels indicate the transaction association relationship of the transaction objects between the object levels.

如图1b所示,该交易关系分析方法的具体流程可以如下:As shown in Figure 1b, the specific process of the transaction relationship analysis method can be as follows:

101、确定目标交易对象以及当前待分析的目标对象层级。101. Determine the target transaction object and the current level of the target object to be analyzed.

其中,目标交易对象可以指的是需要进行交易关系分析的对象。比如, 审核人员需要对客户(如客户X)进行分析,可以将客户X的信息输入到电子 设备中,电子设备就可以根据客户X的交易数据,对客户X进行交易关系分析。Wherein, the target transaction object may refer to an object that requires transaction relationship analysis. For example, auditors need to analyze customers (such as customer X), and can input the information of customer X into the electronic device, and the electronic device can analyze the transaction relationship of customer X based on the transaction data of customer X.

其中,目标对象层级可以指的是对目标交易对象进行扩散,每轮扩散对 应一个对象层级,如,第一轮扩散对应第一对象层级,第二轮扩散对应第二 对象层级。其中,对目标交易对象进行扩散可以指的是获取与目标交易对象 存在交易关系的第一轮交易对象,再对第一轮交易对象进行扩散,从第一轮 交易对象中获取与第一轮交易对象存在交易关系的第二轮交易对象,再对第 二轮交易对象进行扩散,从第二轮交易对象中获取与第二轮交易对象存在交 易关系的第三轮交易对象,根据此方式不断地进行扩散,直到无法扩散或满足预设结束条件为止。Among them, the target object level can refer to the diffusion of target transaction objects, each round of diffusion corresponds to an object level, for example, the first round of diffusion corresponds to the first object level, and the second round of diffusion corresponds to the second object level. Among them, the diffusion of the target transaction object can refer to the acquisition of the first round of transaction objects that have a transaction relationship with the target transaction object, and then diffuse the first round of transaction objects, and obtain the first round of transaction objects from the first round of transaction objects The second round of transaction objects that have a transaction relationship with the object, and then diffuse the second round of transaction objects, and obtain the third round of transaction objects that have a transaction relationship with the second round of transaction objects from the second round of transaction objects. Diffusion is carried out continuously until it cannot be diffused or the preset end condition is met.

其中,预设结束条件的设定方式可以有很多种,比如,可以根据实际应 用的需求灵活设置,也可以预先设置好存储在电子设备中。此外,预设结束 条件可以内置于电子设备中,或者,也可以保存在存储器中并发送给电子设 备,等等。Among them, there are many ways to set the preset end condition, for example, it can be flexibly set according to the actual application requirements, and it can also be preset and stored in the electronic device. In addition, the preset end condition can be built into the electronic device, or can also be stored in the memory and sent to the electronic device, and so on.

102、获取目标对象层级对应的待分析交易对象和交易筛选条件,以及待 分析交易对象的交易数据,并根据所述交易数据确定待分析交易对象的候选 交易对象。102. Obtain 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 determine the candidate transaction object of the transaction object to be analyzed according to the transaction data.

其中,所述交易数据可以包括与所述待分析交易对象进行交易的对象, 以及他们(即待分析交易对象与进行交易的对象)之间的交易金额、交易时 间、交易地点等等。其中,交易筛选条件的设定方式可以有很多种,比如, 可以根据实际应用的需求灵活设置,也可以预先设置好存储在电子设备中。 此外,交易筛选条件可以内置于电子设备中,或者,也可以保存在存储器中 并发送给电子设备,等等。每个目标对象层级对应的交易筛选条件可以根据 实际情况进行设定。Wherein, the transaction data may include the transaction object with the transaction object to be analyzed, and the transaction amount, transaction time, transaction location, etc. between them (that is, the transaction object to be analyzed and the transaction object). Among them, there are many ways to set the transaction filtering conditions. For example, it can be flexibly set according to the actual application requirements, or it can be pre-set and stored in the electronic device. In addition, the transaction filter conditions can be built into the electronic device, or can also be stored in memory and sent to the electronic device, etc. The transaction filter conditions corresponding to each target object level can be set according to the actual situation.

比如,当当前待分析的目标对象层级为第一对象层级时,该目标对象层 级对应的待分析交易对象可以为目标交易对象,然后获取目标交易对象的交 易数据,所述交易数据可以包括与所述目标交易对象进行交易的交易对象以 及交易金额。根据所述目标交易对象的交易数据,确定与所述目标交易对象 进行交易的至少一个候选交易对象,第一对象层级对应的交易筛选条件可以 为第一轮候选交易对象与候选交易对象之间的交易金额和,大于目标交易对 象总交易金额p%的交易对象。相应的,第二对象层级对应的交易筛选条件可 以为第二轮候选交易对象与候选交易对象之间的交易金额和,大于目标交易 对象总交易金额p-x%的交易对象。第三对象层级对应的交易筛选条件可以为 第三轮候选交易对象与候选交易对象之间的交易金额和,大于目标交易对象 总交易金额p-x-x%的交易对象。以此类推,直到无法扩散或满足预设结束条 件为止。For example, when the current target object level to be analyzed 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 can be obtained, and the transaction data can include The transaction object and the transaction amount of the transaction with the target transaction object. According to the transaction data of the target transaction object, determine at least one candidate transaction object that conducts transactions with the target transaction object, and the transaction screening condition corresponding to the first object level can be between the first round of candidate transaction objects and candidate transaction objects The sum of the transaction amount 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 amount sum between the candidate transaction object and the candidate transaction object in the second round, which 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 sum of the transaction amount between the candidate transaction object and the candidate transaction object in the third round, which is greater than the total transaction amount p-x-x% of the target transaction object. And so on, until it can't be diffused or the preset end condition is met.

103、根据所述交易筛选条件,从所述候选交易对象中选取满足交易筛选 条件的对象,得到所述目标交易对象在目标对象层级的交易关联对象,以及 目标交易对象与交易关联对象之间的交易关联关系。103. According to the transaction screening conditions, select the objects that meet the transaction screening conditions from the candidate transaction objects, and obtain the transaction related objects of the target transaction object at the target object level, and the relationship between the target transaction object and the transaction related objects transaction relationship.

例如,具体可以根据所述交易筛选条件,从所述候选交易对象中选取满 足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的交易关联 对象,以及所述目标对象层级对应的交易关联关系,所述交易关联关系为目 标交易对象与交易关联对象之间的交易关联关系。For example, according to the transaction screening conditions, an object that satisfies the transaction screening conditions can be selected from the candidate transaction objects to obtain the transaction related objects of the target transaction object at the target object level, and the corresponding Transaction association relationship, the transaction association relationship is the transaction association relationship between the target transaction object and the transaction association object.

比如,当当前待分析的目标对象层级为第一对象层级时,根据交易金额 将候选交易对象进行排序,根据排序结果从交易金额最大的候选交易对象进 行选取,选取到候选交易对象与候选交易对象之间的交易金额和,大于目标 交易对象总交易金额p%的交易对象,将这些候选交易对象确定为所述目标交 易对象在第一对象层级的交易关联对象。并得到所述目标交易对象在第一对 象层级对应的交易关联关系,如,目标交易对象在第一对象层级,与第一对 象层级的交易关联对象的交易金额。For example, when the current target object level to be analyzed is the first object level, the candidate transaction objects are sorted according to the transaction amount, and the candidate transaction objects with the largest transaction amount are selected according to the sorting results, and the candidate transaction objects and candidate transactions are selected The sum of the transaction amount between objects is greater than p% of the total transaction amount of the target transaction object, and these candidate transaction objects are determined as the transaction associated objects of the target transaction object at the first object level. And obtain the transaction association relationship corresponding to the target transaction object at the first object level, such as, the target transaction object is at the first object level, and the transaction amount of the transaction associated object with the first object level.

比如,当当前待分析的目标对象层级为第二对象层级时,该目标对象层 级对应的待分析交易对象可以为第一对象层级的交易关联对象,然后获取第 一对象层级的交易关联对象的交易数据,所述交易数据可以包括与所述第一 对象层级的交易关联对象进行交易的交易对象、以及交易金额。根据所述第 一对象层级的交易关联对象的交易数据,确定与所述第一对象层级的交易关 联对象进行交易的至少一个候选交易对象。接着,根据交易金额将该候选交 易对象进行排序,根据排序结果从交易金额最大的候选交易对象进行选取, 选取到候选交易对象与候选交易对象之间的交易金额和,大于目标交易对象 总交易金额p-x%的交易对象,将这些候选交易对象确定为所述目标交易对象 在第二对象层级的交易关联对象。并得到所述目标交易对象在第二对象层级 对应的交易关联关系,如,目标交易对象在第二对象层级,与第二对象层级 的交易关联对象的交易金额。For example, when the current target object level to be analyzed is the second object level, the transaction object to be analyzed corresponding to the target object level can be the transaction associated object of the first object level, and then obtain the transaction associated object of the first object level Transaction data, the transaction data may include the transaction object that is traded with the transaction associated object of the first object level, and the transaction amount. According to the transaction data of the transaction-related object at the first object level, at least one candidate transaction object for trading with the transaction-related object at the first object level is determined. Then, sort the candidate transaction objects according to the transaction amount, select the candidate transaction object with the largest transaction amount according to the sorting results, and select the sum of the transaction amount between the candidate transaction object and the candidate transaction object, which is greater than the total transaction amount of the target transaction object The transaction objects with an amount of p-x%, and these candidate transaction objects are determined as the transaction associated objects of the target transaction object at the second object level. And obtain the transaction association relationship corresponding to the target transaction object at the second object level, for example, the target transaction object is at the second object level, and the transaction amount of the transaction associated object with the second object level.

比如,当当前待分析的目标对象层级为第三对象层级时,该目标对象层 级对应的待分析交易对象可以为第二对象层级的交易关联对象,然后获取第 二对象层级的交易关联对象的交易数据,所述交易数据可以包括与所述第二 对象层级的交易关联对象进行交易的交易对象、以及交易金额。根据所述第 二对象层级的交易关联对象的交易数据,确定与所述第二对象层级的交易关 联对象进行交易的至少一个候选交易对象。接着,根据交易金额将该候选交 易对象进行排序,根据排序结果从交易金额最大的候选交易对象进行选取, 选取到候选交易对象与候选交易对象之间的交易金额和,大于目标交易对象 总交易金额p-x%的交易对象,将这些候选交易对象确定为所述目标交易对象 在第三对象层级的交易关联对象。并得到所述目标交易对象在第三对象层级 对应的交易关联关系,如,目标交易对象在第三对象层级,与第三对象层级 的交易关联对象的交易金额。For example, when the current target object level to be analyzed is the third object level, the transaction object to be analyzed corresponding to the target object level can be the transaction associated object of the second object level, and then obtain the transaction associated object of the second object level Transaction data, the transaction data may include the transaction object that is traded with the transaction associated object of the second object level, and the transaction amount. According to the transaction data of the transaction-related object at the second object level, at least one candidate transaction object for trading with the transaction-related object at the second object level is determined. Then, sort the candidate transaction objects according to the transaction amount, select the candidate transaction object with the largest transaction amount according to the sorting results, and select the sum of the transaction amount between the candidate transaction object and the candidate transaction object, which is greater than the total transaction amount of the target transaction object The transaction objects with an amount of p-x%, and these candidate transaction objects are determined as the transaction associated objects of the target transaction object at the third object level. And obtain the transaction association relationship corresponding to the target transaction object at the third object level, for example, the target transaction object is at the third object level, and the transaction amount with the transaction associated object at the third object level.

104、根据所述交易关联关系对所述目标交易对象对应的当前交易关系集 合进行更新,得到更新后交易关系集合。104. Update the 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 set of transaction relationships may include at least one object level and transaction association 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 association relationship between the target transaction object and the transaction association object, the data of the transaction association object and the transaction association relationship can be used to analyze the target transaction The current transaction relationship set corresponding to the object is updated, and then the next round of expansion is continued. Every time the target transaction object is expanded, the current transaction relationship set is updated until it cannot be diffused or the preset end condition is met.

105、根据更新后交易关系集合生成所述目标交易对象的交易链路关系图。105. Generate a transaction link relationship graph of the target transaction object according to the updated transaction relationship set.

其中,所述交易链路关系图可以包括多个节点层级以及节点的链路,每 个节点层级对应一个对象层级,所述节点层级间的链路指示所述对象层级间 交易对象的交易关联关系。Wherein, the transaction link relationship diagram may include 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 the transaction association relationship of the transaction objects between the object levels .

例如,具体可以当交易关系分析不满足预设结束条件时,将所述交易关 联对象作为所述待分析交易对象,返回执行确定当前待分析的目标对象层级 的步骤;当交易关系分析满足预设结束条件时,根据更新后交易关系集合生 成所述目标交易对象的交易链路关系图。For example, when the transaction relationship analysis does not meet the preset end conditions, the transaction related object can be used as the transaction object to be analyzed, and the step of determining the level of the target object to be analyzed is returned; when the transaction relationship analysis meets the predetermined When the end condition is set, the transaction link relationship diagram of the target transaction object is generated according to the updated transaction relationship set.

为了提高交易关系分析的效率,提高交易关系分析数据的精准性和实用 性,可以对扩展得到的数据进行筛选,选择需要分析的交易范围,并根据选 定的交易范围生成交易链路关系图,使得交易链路关系图更清晰直观地展示 有效的数据。例如,具体可以确定交易关系分析的交易筛选范围;根据所述 交易筛选范围从更新后交易关系集合筛选出目标交易关系集合,并基于所述 目标交易关系集合生成所述目标交易对象的交易链路关系图。In order to improve the efficiency of transaction relationship analysis and improve the accuracy and practicability of transaction relationship analysis data, the expanded data can be screened, the transaction scope to be analyzed can be selected, and a transaction link diagram can be generated according to the selected transaction scope. Make the transaction link diagram more clearly and intuitively display valid data. For example, specifically, the transaction screening scope of transaction relationship analysis can be determined; the target transaction relationship set is filtered out from the updated transaction relationship set according to the transaction screening scope, and the transaction link of the target transaction object is generated based on the target transaction relationship set relation chart.

为了提高交易关系分析的实用性,提升用户体验,可以给用户提供快捷 方便的操作页面,以供用户选择交易关系分析的交易范围。例如,所述确定 交易关系分析的交易筛选范围,具体可以显示交易关系分析页面,所述交易 关系分析页面包括筛选控件;响应针对所述筛选控件的筛选操作,确定交易 关系分析的交易筛选范围。In order to improve the practicability of transaction relationship analysis and enhance user experience, users can be provided with a quick and convenient operation page for users to select the transaction scope of transaction relationship analysis. For example, the determination of the transaction screening scope of the transaction relationship analysis may specifically display the transaction relationship analysis page, and the transaction relationship analysis page includes a screening control; in response to the screening operation for the screening control, determine the transaction screening scope of the transaction relationship analysis.

可选的,所述交易关系分析页面可以包括刷新控件,所述根据所述交易 筛选范围从更新后交易关系集合筛选出目标交易关系集合,并基于所述目标 交易关系集合生成所述目标交易对象的交易链路关系图,具体可以响应针对 刷新控件的刷新操作,基于所述交易筛选范围,从更新后交易关系集合确定 目标交易关系集合;基于所述目标交易关系集合生成所述目标交易对象的交 易链路关系图。Optionally, the transaction relationship analysis page may include a refresh control, the target transaction relationship set is filtered out from the updated transaction relationship set according to the transaction screening range, and the target transaction object is generated based on the target transaction relationship set The transaction link relationship graph, specifically, it can respond to the refresh operation for the refresh control, based on the transaction screening range, determine the target transaction relationship set from the updated transaction relationship set; generate the target transaction object based on the target transaction relationship set Transaction link diagram.

为了更清晰地展示目标交易对象与交易关联对象之间的交易关联关系, 可以根据他们之间的交易关联关系,确定每一个交易关联对象的位置信息, 进而生成目标交易对象的交易链路关系图。例如,具体可以基于所述更新后 交易关系集合,确定每个交易关联对象的位置信息;基于所述交易关联对象 的位置信息,生成所述目标交易对象的交易链路关系图。In order to more clearly show the transaction association relationship between the target transaction object and the transaction association object, the location information of each transaction association object can be determined according to the transaction association relationship between them, and then the transaction link diagram of the target transaction object can be generated . For example, based on the updated set of transaction relationships, the location information of each transaction-related object can be determined; based on the location information of the transaction-related object, a transaction link relationship diagram of the target transaction object can be generated.

其中,确定每个交易关联对象的位置信息的方式可以有很多种,例如, 具体可以对所述更新后交易关系集合中的交易关联对象进行分类,得到所述 目标交易对象的点关系列表,所述点关系列表包括至少一个交易关联对象、 以及每个交易关联对象对应的对象层级;基于所述点关系列表中交易关联对 象对应的对象层级,计算每一个交易关联对象的位置信息。Among them, there are many ways to determine the location information of each transaction-related object. For example, specifically, the transaction-related objects in the updated transaction relationship set can be classified to obtain the point relationship list of the target transaction object. The point relationship list includes at least one transaction-related object and the object hierarchy corresponding to each transaction-related object; based on the object hierarchy corresponding to the transaction-related object in the point relationship list, the position information of each transaction-related object is calculated.

其中,所述点关系列表可以包括每个交易关联对象所在对象层级的序列 号,例如,所述基于所述点关系列表中交易关联对象对应的对象层级,计算 每一个交易关联对象的位置信息,具体可以确定每个对象层级对应交易关联 对象的个数;基于每个对象层级对应的待分析交易对象、每个对象层级对应 交易关联对象的个数、以及每个对象层级中交易关联对象的序列号,计算所 述每个对象层级中交易关联对象的位置信息,所述位置信息为每个交易关联 对象相对于所述对象层级的待分析交易对象的位置信息。Wherein, the point relationship list may include the serial number of the object level where each transaction-related object is located, for example, the position information of each transaction-related object is calculated based on the object level corresponding to the transaction-related object in the point relationship list, Specifically, the number of transaction-related objects corresponding to each object level can be determined; 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 sequence of transaction-related objects in each object level number, calculate the position information of the transaction-related object in each object level, and the position information is the position information of each transaction-related object relative to the transaction object to be analyzed in the object level.

在得到目标交易对象的点关系列表之后,可以对交易关联关系进行分类, 得到所述目标交易对象的边关系列表,例如,基于所述交易关联对象的位置 信息,生成所述目标交易对象的交易链路关系图,具体可以将所述目标交易 对象和所述交易关联对象作为节点;对所述更新后交易关系集合中的交易关 联关系进行分类,得到所述目标交易对象的边关系列表,所述边关系列表包 括目标交易对象与交易关联对象、以及交易关联对象之间的边关系;基于所 述边关系列表,将存在边关系的节点进行连接,并将节点之间的连接线作为 节点的链路;基于所述节点和节点的链路,生成所述目标交易对象的交易链 路关系图。After obtaining the point relationship list of the target transaction object, the transaction association relationship can be classified to obtain the edge relationship list of the target transaction object, for example, based on the position information of the transaction association object, the transaction of the target transaction object can be generated A link relationship graph, specifically, the target transaction object and the transaction association object can be used as nodes; the transaction association relationship in the updated transaction relationship set is classified to obtain the edge relationship list of the target transaction object, The edge relationship list includes the target transaction object, the transaction associated object, and the edge relationship between the transaction associated objects; based on the edge relationship list, the nodes with edge relationships are connected, and the connection lines between the nodes are used as The link of the node; based on the link of the node and the node, generate the transaction link relationship diagram of the target transaction object.

需要说明的是,为了提高交易关系分析的安全性,上述方法中数据存储 均保存在区块链中。其中,区块链是分布式数据存储、点对点传输、共识机 制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上 是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每 一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防 伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层 以及应用服务层。It should be noted that in order to improve the security of transaction relationship analysis, the data storage in the above method is all stored in the blockchain. Among them, blockchain is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain (Blockchain), essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verifying its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer and the application service layer.

区块链底层平台可以包括用户管理、基础服务、智能合约以及运营监控 等处理模块。其中,用户管理模块负责所有区块链参与者的身份信息管理, 包括维护公私钥生成(账户管理)、密钥管理以及用户真实身份和区块链地址 对应关系维护(权限管理)等,并且在授权的情况下,监管和审计某些真实 身份的交易情况,提供风险控制的规则配置(风控审计);基础服务模块部署 在所有区块链节点设备上,用来验证业务请求的有效性,并对有效请求完成 共识后记录到存储上,对于一个新的业务请求,基础服务先对接口适配解析 和鉴权处理(接口适配),然后通过共识算法将业务信息加密(共识管理), 在加密之后完整一致的传输至共享账本上(网络通信),并进行记录存储;智 能合约模块负责合约的注册发行以及合约触发和合约执行,开发人员可以通 过某种编程语言定义合约逻辑,发布到区块链上(合约注册),根据合约条款 的逻辑,调用密钥或者其它的事件触发执行,完成合约逻辑,同时还提供对 合约升级注销的功能;运营监控模块主要负责产品发布过程中的部署、配置的修改、合约设置、云适配以及产品运行中的实时状态的可视化输出,例如: 告警、监控网络情况、监控节点设备健康状态等。The underlying blockchain platform can include processing modules such as user management, basic services, smart contracts, and operational monitoring. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintenance of public and private key generation (account management), key management, and maintenance of the corresponding relationship between the user's real identity and blockchain address (authority management), etc. In the case of authorization, supervise and audit certain real-identity transactions, and provide risk control rule configuration (risk control audit); the basic service module is deployed on all blockchain node devices to verify the validity of business requests, And complete the consensus on valid requests and record them on the storage. For a new business request, the basic service first analyzes and authenticates the interface adaptation (interface adaptation), and then encrypts the business information through the consensus algorithm (consensus management). After encryption, it is completely and consistently transmitted to the shared ledger (network communication) and recorded for storage; the smart contract module is responsible for the registration and issuance of the contract, as well as contract triggering and contract execution. Developers can define the contract logic through a certain programming language. Publish to the blockchain (contract registration), according to the logic of the contract terms, call the key or other events to trigger the execution, complete the contract logic, and also provide the function of contract upgrade and cancellation; the operation monitoring module is mainly responsible for the product release process Deployment, configuration modification, contract setting, cloud adaptation, and visual output of real-time status during product operation, such as: alarms, monitoring network conditions, monitoring node device health status, etc.

平台产品服务层提供典型应用的基本能力和实现框架,开发人员可以基 于这些基本能力,叠加业务的特性,完成业务逻辑的区块链实现。应用服务 层提供基于区块链方案的应用服务给业务参与方进行使用。The platform product service layer provides the basic capabilities and implementation framework of typical applications. Based on these basic capabilities, developers can superimpose the characteristics of the business and complete the blockchain implementation of business logic. The application service layer provides application services based on blockchain solutions for business participants to use.

由上可知,本实施例可以确定目标交易对象以及当前待分析的目标对象 层级;然后,获取目标对象层级对应的待分析交易对象和交易筛选条件,以 及待分析交易对象的交易数据,并根据所述交易数据确定待分析交易对象的 候选交易对象;接着,根据所述交易筛选条件,从所述候选交易对象中选取 满足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的交易关 联对象,以及目标交易对象与交易关联对象之间的交易关联关系;再根据所 述交易关联关系对所述目标交易对象对应的当前交易关系集合进行更新,得到更新后交易关系集合,其中,交易关系集合包括至少一个对象层级、对象 层级对应的交易关联关系;再然后,根据更新后交易关系集合生成所述目标 交易对象的交易链路关系图,所述交易链路关系图包括多个节点层级以及节 点的链路,每个节点层级对应一个对象层级,所述节点层级间的链路指示所 述对象层级间交易对象的交易关联关系。由于该方案可以对目标交易对象的 交易进行分析,选取满足第一对象层级的交易筛选条件的交易关联对象,并 对选取出来的交易关联对象的继续选取满足第二对象层级的交易筛选条件的交易关联对象,如此循环。选出的所有交易关联对象作为节点,同时提取所 有交易关联对象之间的交易关联关系作为节点之间的链路,进而生成目标交 易对象的交易链路关系图,直观地展示目标交易对象的来源及去向,交易链 路完整,相比于人工分析节省人力,且交易关系分析更加准确。并且通过对 多层交易关系对象进行拓展,即可查看目标交易对象与交易关联对象的交易 关联对象间的是否存在交易往来,可便捷、直观的查看多个人员间的交易情 况,且相对于人工分析更加准确,降低人为主观因素的干扰及误判。As can be seen from the above, this embodiment can determine the target transaction object and the current target object level to be analyzed; then, obtain the transaction object to be analyzed corresponding to the target object level and the transaction filtering conditions, as well as the transaction data of the transaction object to be analyzed, and according to The transaction data determines the candidate transaction object of the transaction object to be analyzed; then, according to the transaction screening condition, select the object that meets the transaction screening condition from the candidate transaction object, and obtain the transaction of the target transaction object at the target object level Associated objects, and the transaction association relationship between the target transaction object and the transaction association object; then update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, and 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, according to the updated transaction relationship set, the transaction link relationship diagram of the target transaction object is generated, and the transaction link relationship diagram includes a plurality of nodes Each node level corresponds to an object level, and the links between the node levels indicate the transaction association relationship of the transaction objects between the object levels. Because this scheme can analyze the transaction of the target transaction object, select the transaction associated object that meets the transaction screening condition of the first object level, and continue to select the transaction that meets the transaction screening condition of the second object level for the selected transaction associated object Associated objects, and so on. All the selected transaction-related objects are used as nodes, and the transaction-related relationships between all transaction-related objects are extracted as the links between nodes, and then the transaction link diagram of the target transaction object is generated to visually display the target transaction object The source and whereabouts of transactions, the transaction link is complete, saving manpower compared with manual analysis, and the analysis of transaction relationship is more accurate. And by expanding the multi-layer transaction relationship object, you can check whether there is a transaction between the target transaction object and the transaction-related object of the transaction-related object, and you can conveniently and intuitively view the transactions between multiple people, and compared Manual analysis is more accurate, reducing the interference and misjudgment of human subjective factors.

根据上一个实施例所描述的方法,以下将举例作进一步详细说明。According to the method described in the previous embodiment, an example will be given below for further detailed description.

在本实施例中,将以该交易关系分析装置具体集成在电子设备,目标交 易对象具体为qwe,交易关系具体为资金交易关系为例进行说明。In this embodiment, the transaction relationship analysis device is specifically integrated in electronic equipment, the target transaction object is specifically qwe, and the transaction relationship is specifically a capital transaction relationship as an example for illustration.

明确交易对象之间的交易关系,进而确定他们之间的交易行为,对于维 护金融体系的稳健运行,维护公平公正市场经济秩序的客观要求具有重要意 义。然而,现有的交易关系分析中仅能看见主要账户流水中的上下游,仅能 看见主体与对手交易,无法直观展示资金整体流向,若需要拓展对手的上下 游与主要账户的上下游之间是否存在关联及关联性强弱,则需依靠人工分析, 无法快速地展示主体与对手的关联紧密程度,如:无法展示主体与对手的对 手是否存在资金往来;且无法依据地点等维度筛选,筛除冗余数据,分析效率较低。Clarifying the transaction relationship between transaction objects, and then determining their transaction behavior, is of great significance for maintaining the stable operation of the financial system and maintaining the objective requirements of a fair and just market economic order. However, in the existing transaction relationship analysis, only the upstream and downstream of the main account can be seen, only the transactions between the main body and the counterparty can be seen, and the overall flow of funds cannot be visually displayed. If it is necessary to expand the relationship between the upstream and downstream of the counterparty and the upstream and downstream of the main account Whether there is a connection and the strength of the connection needs to rely on manual analysis, and it is impossible to quickly show the closeness of the connection between the subject and the opponent, for example: it is impossible to show whether the subject and the opponent of the opponent have financial transactions; and it is impossible to filter based on dimensions such as location, Screen out redundant data, and the analysis efficiency is low.

而本方案可以通过对分析主体(即目标交易对象)的交易数据进行统计 分析,选取出交易总金额前P%的对手,进而对选取出来的对手的对手继续 选取交易总金额前P%-x%的对手,如此循环,直到选取结束。并将所有选取 出的对手之间的交易关系以交易链路图的形式展示,清晰直观地展示了主体 资金来源及去向,提高了主体的交易关系分析效率。However, this program can select the opponents of P% of the total transaction amount through statistical analysis of the transaction data of the analysis subject (ie, the target transaction object), and then continue to select P%-x of the total transaction amount for the opponents of the selected opponents % opponents, and so on, until the end of the selection. And the transaction relationship between all selected counterparties is displayed in the form of a transaction link diagram, which clearly and intuitively shows the source and whereabouts of the subject's funds, and improves the efficiency of the subject's transaction relationship analysis.

如图2a所示,一种交易关系分析方法,具体流程可以如下:As shown in Figure 2a, a transaction relationship analysis method, the specific process can be as follows:

201、电子设备确定目标交易对象以及当前待分析的目标对象层级。201. The electronic device determines a target transaction object and a target object level to be analyzed currently.

其中,目标交易对象可以指的是需要进行交易关系分析的对象。比如, 审核人员需要对客户qwe进行分析,可以将客户qwe的信息输入到电子设备中, 电子设备就可以确定客户qwe为目标交易对象,然后,根据客户qwe的交易数 据,对客户qwe进行交易关系分析。Wherein, the target transaction object may refer to an object that requires transaction relationship analysis. For example, the auditor needs to analyze the customer qwe, and can input the information of the customer qwe into the electronic device, and the electronic device can determine the customer qwe as the target transaction object, and then conduct transactions on the customer qwe according to the transaction data of the customer qwe relationship analysis.

该方案主要包括三个模块,如图2b所示,首先是扩散模块,主要是对目 标交易对象进行资金交易关系扩散,获取与目标交易对象存在紧密资金交易 关系的人员,其次是数据筛选模块,基于各个维度数据对扩散出来的数据进 行筛选,最后是展示模块,将扩散模块和数据筛选模块生成的数据形成资金 交易关系图供分析人员使用。The program mainly includes three modules, as shown in Figure 2b, the first is the diffusion module, which is mainly to spread the capital transaction relationship of the target transaction object, and obtain the personnel who have a close financial transaction relationship with the target transaction object, followed by the data screening module , based on the data of each dimension to screen the diffused data, and finally the display module, which forms the data generated by the diffusion module and the data screening module into a capital transaction relationship diagram for analysts to use.

202、电子设备获取目标对象层级对应的待分析交易对象和交易筛选条件, 以及待分析交易对象的交易数据,并根据所述交易数据确定待分析交易对象 的候选交易对象。202. The electronic device obtains 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 object of the transaction object to be analyzed according to the transaction data.

其中,所述交易数据可以包括与所述待分析交易对象进行交易的对象, 以及他们(即待分析交易对象与进行交易的对象)之间的交易金额。其中每 个目标对象层级对应的交易筛选条件可以根据实际情况进行设定。Wherein, the transaction data may include the transaction object with the transaction object to be analyzed, and the transaction amount between them (that is, the transaction object to be analyzed and the transaction object). The transaction filter conditions corresponding to each target object level can be set according to the actual situation.

比如,当当前待分析的目标对象层级为第一对象层级时,该目标对象层 级对应的待分析交易对象可以为目标交易对象qwe,然后获取目标交易对象 的交易数据,所述交易数据可以包括与所述目标交易对象进行交易的交易对 象以及交易金额。比如,如下表1所示:For example, when the current target object level to be analyzed is the first object level, the transaction object to be analyzed corresponding to the target object level can be the target transaction object qwe, and then the transaction data of the target transaction object can be obtained, and the transaction data can include The transaction object and the transaction amount that are traded with the target transaction object. For example, as shown in Table 1 below:

表1目标交易对象的交易数据Table 1 Transaction data of the target transaction object

IDID 发送方sender 接收方receiver 金额the amount 时间time IPIP XxxXxx QweQwe AA 4040 2020/1/11/1/2020 xx.xx.xxxx.xx.xx XxxXxx QweQwe BB 3030 2020/1/11/1/2020 xx.xx.xxxx.xx.xx XxxXxx QweQwe CC 2525 2020/1/11/1/2020 xx.xx.xxxx.xx.xx XxxXxx QweQwe DD. 55 2020/1/11/1/2020 xx.xx.xxxx.xx.xx … 

根据所述目标交易对象的交易数据,确定与所述目标交易对象进行交易 的至少一个候选交易对象(如对象A,对象B,对象C,对象D等等),第一对 象层级对应的交易筛选条件可以为第一轮候选交易对象与候选交易对象之间 的交易金额和(如对象A和对象B的和,对象A和对象C的和等等),大于目标 交易对象总交易金额p%的交易对象。比如,可以对目标交易对象的交易数据 进行汇总,得到表2的数据,如下所示:According to the transaction data of the target transaction object, determine at least one candidate transaction object (such as object A, object B, object C, object D, etc.) that conducts transactions with the target transaction object, the transaction corresponding to the first object level The filter condition can be the sum of the transaction amount between the candidate transaction object and the candidate transaction object in the first round (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 transaction object. For example, the transaction data of the target transaction object can be summarized to obtain the data in Table 2, as follows:

表2目标交易对象的交易数据汇总Table 2 Summary of Transaction Data of Target Transaction Objects

成员member 金额the amount QweQwe 100100 AA 4040 BB 3030 CC 2525 DD. 55 … 

 然后,取总交易金额前p%的对象,比如,目标交易对象的总交易金额 100元,p取60,则从交易金额最大的候选交易对象开始取,取到候选交易对 象的汇总金额大于60元时,则停止选取。Then, take the objects that are p% of the total transaction amount, for example, if the total transaction amount of the target transaction object is 100 yuan, and p is 60, then start from the candidate transaction object with the largest transaction amount, and the summary amount of the candidate transaction objects obtained is greater than When the price is 60 yuan, the selection is stopped.

相应的,第二对象层级对应的交易筛选条件可以为第二轮候选交易对象 与候选交易对象之间的交易金额和,大于目标交易对象总交易金额p-x%的交 易对象。第三对象层级对应的交易筛选条件可以为第三轮候选交易对象与候 选交易对象之间的交易金额和,大于目标交易对象总交易金额p-x-x%的交易 对象。以此类推,直到无法扩散或满足预设结束条件为止。比如,对扩散出 来的对象,再次从数据库中提取其交易数据,汇总后并再一次进行扩散,此 时p会减少x,一直到最后无法扩散为止。比如,可以设定预设结束条件为当 交易筛选条件选取的总交易金额的百分比小于或等于零时,则结束扩散。比 如,当p为60时,x可以为30,则第一轮扩散的交易筛选条件为总交易金额前 60%的对象,第二轮扩散的交易筛选条件为总交易金额前30%的对象,而第 三轮扩散的交易筛选条件为总交易金额前0%的对象,总交易金额的百分比等 于零,结束扩散,即扩散两轮后就无法扩散。Correspondingly, the transaction screening condition corresponding to the second object level can be the sum of the transaction amount between the candidate transaction object and the candidate transaction object in the second round, which 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 sum of the transaction amount between the candidate transaction object and the candidate transaction object in the third round, which is greater than p-x-x% of the total transaction amount of the target transaction object. And so on, until it can't spread or the preset end condition is met. For example, for the diffused objects, the transaction data is extracted from the database again, summarized and diffused again. At this time, p will be reduced by x until it cannot be diffused in the end. For example, the default end condition can be set as when the percentage of the total transaction amount selected by the transaction filter condition is less than or equal to zero, the diffusion will end. For example, when p is 60, x can be 30, then the transaction screening condition of the first round of diffusion is the object of the top 60% of the total transaction amount, and the transaction screening condition of the second round of diffusion is the object of the top 30% of the total transaction amount , and the transaction screening condition for the third round of diffusion is the objects of the top 0% of the total transaction amount, the percentage of the total transaction amount is equal to zero, and the diffusion ends, that is, it cannot be diffused after two rounds of diffusion.

203、电子设备根据所述交易筛选条件,从所述候选交易对象中选取满足 交易筛选条件的对象。203. According to the transaction screening conditions, the electronic device selects the objects satisfying the transaction screening conditions from the candidate transaction objects.

例如,电子设备具体可以根据所述交易筛选条件,从所述候选交易对象 中选取满足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的 交易关联对象,以及目标交易对象与交易关联对象之间的交易关联关系。For example, according to the transaction screening conditions, the electronic device can select an object that satisfies the transaction screening conditions from the candidate transaction objects, and obtain the transaction associated object of the target transaction object at the target object level, and the target transaction object and transaction association Transaction association relationship between objects.

其中,为了提高交易关系分析的效率,可以设定选取交易关联对象的个 数,因为扩散主要是找到主要的交易资金流向,如果拓展太多,会影响判断 效率,比如设定选取交易关联对象的个数为2,当选取到两个交易关联对象时, 则可以停止选取。Among them, in order to improve the efficiency of transaction relationship analysis, you can set the number of selected transaction-related objects, because the diffusion is mainly to find the main transaction capital flow, if too much expansion, it will affect the judgment efficiency, such as setting the number of selected transaction-related objects The number is 2, when two transaction related objects are selected, the selection can be stopped.

比如,如表2所示,取A和B时,两者金额汇总(即候选交易对象和候选 交易对象之间与目标交易对象的交易金额和)为70元,大于60元,则将A和B 确定为目标交易对象在第一对象层级的交易关联对象,并得到目标交易对象 qwe与对象A的交易关联关系,以及目标交易对象qwe与对象B的交易关联关 系。For example, as shown in Table 2, when A and B are selected, the total amount of the two (that is, the sum of the transaction amount between the candidate transaction object and the candidate transaction object and the target transaction object) is 70 yuan, and if it is greater than 60 yuan, then A and B B is determined as the transaction association object of the target transaction object at the first object level, and the transaction association relationship between the target transaction object qwe and object A, and the transaction association relationship between the target transaction object qwe and object B are obtained.

204、电子设备根据所述交易关联关系对所述目标交易对象对应的当前交 易关系集合进行更新,得到更新后交易关系集合。204. The electronic device updates the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, and obtains an updated transaction relationship set.

其中,交易关系集合可以包括至少一个对象层级、对象层级对应的交易 关联关系。例如,电子设备具体可以在得到所述目标交易对象在第一对象层 级的交易关联对象,以及目标交易对象与交易关联对象之间的交易关联关系 之后,可以利用交易关联对象以及交易关联关系这些数据对所述目标交易对 象对应的当前交易关系集合进行更新,得到更新后交易关系集合。Wherein, the set of transaction relationships may include at least one object level and transaction association relationship corresponding to the object level. For example, after obtaining the transaction associated 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 use the transaction association object and the transaction association relationship. The data updates the current transaction relationship set corresponding to the target transaction object to obtain the updated transaction relationship set.

205、当交易关系分析不满足预设结束条件时,电子设备将所述交易关联 对象作为所述待分析交易对象,返回执行步骤201。205. When the transaction relationship analysis does not meet the preset end condition, the electronic device takes the transaction-related object as the transaction object to be analyzed, and returns to step 201.

例如,在得到所述目标交易对象在第一对象层级的交易关联对象,以及 目标交易对象与交易关联对象之间的交易关联关系之后,电子设备可以判断 当前的交易关系分析是否满足预设结束条件,若不满足预设结束条件,则可 以将所述交易关联对象作为所述待分析交易对象,返回执行步骤201。For example, after obtaining the transaction associated object of the target transaction object at the first object level, and the transaction association relationship between the target transaction object and the transaction associated object, the electronic device can determine whether the current transaction relationship analysis satisfies the preset end condition , if the preset end condition is not satisfied, the transaction-related object can be used as the transaction object to be analyzed, and the execution returns to step 201.

比如,电子设备可以确定当前分析的目标对象层级为第二对象层级,将 目标交易对象在第一对象层级的交易关联对象(对象A和对象B)作为第二对 象层级对应的待分析交易对象,获取对象A和对象B的交易数据,比如,如下 表3所示:For example, the electronic device can determine that the target object level of the current analysis is the second object level, and use the transaction associated objects (object A and object B) of the target transaction object at the first object level as the transaction objects to be analyzed corresponding to the second object level , to obtain the transaction data of object A and object B, for example, as shown in Table 3 below:

表3第二轮扩散数据Table 3 The second round of diffusion data

IDID 发送方sender 接收方receiver 金额the amount 时间time IPIP 扩散轮次Diffusion rounds XxxXxx AA QQ 2020 2020/1/11/1/2020 xx.xx.xxxx.xx.xx 22 XxxXxx AA Uu 1515 2020/1/11/1/2020 xx.xx.xxxx.xx.xx 22 XxxXxx AA VV 55 2020/1/11/1/2020 xx.xx.xxxx.xx.xx 22 XxxXxx BB WW 2020 2020/1/11/1/2020 xx.xx.xxxx.xx.xx 22 XxxXxx BB Xx 1010 2020/1/11/1/2020 xx.xx.xxxx.xx.xx 22 … 

然后,根据第二轮扩散的交易筛选条件为第二轮候选交易对象与候选交 易对象之间的交易金额和,大于目标交易对象总交易金额p-x%的交易对象, 即总交易金额前30%的对象,则从交易金额最大的对象开始取,取到交易对 手的汇总金额大于p-x=30元时,则停止选取。如表3所示,取Q和U时,两者 金额汇总为35元,大于30元,则取Q和U这两名对象目标交易对象在第二对象 层级的交易关联对象,取W和X时,两者金额汇总为30元,等于30元,则不 取这两名对手,最后选取的是Q、U两名对象。再对Q、U进行扩散,直到最 后无法扩散为止。Then, according to the second round of diffuse transaction screening conditions, the sum of the transaction amount between the candidate transaction object and the candidate transaction object in the second round is greater than p-x% of the total transaction amount of the target transaction object, that is, the top 30% of the total transaction amount The objects with the largest transaction amount are selected from the object, and when the summary amount of the transaction counterparty is greater than p-x=30 yuan, the selection is stopped. As shown in Table 3, when taking Q and U, the sum of the two amounts is 35 yuan, and if it is greater than 30 yuan, then take Q and U as the transaction related objects of the target transaction object at the second object level, and take W and X When , the sum of the two amounts is 30 yuan, which is equal to 30 yuan, then the two opponents are not selected, and the two objects Q and U are finally selected. Then diffuse Q and U until they cannot be diffused at last.

206、当交易关系分析满足预设结束条件时,电子设备确定交易关系分析 的交易筛选范围,并根据所述交易筛选范围从更新后交易关系集合筛选出目 标交易关系集合。206. When the transaction relationship analysis meets the preset end condition, the electronic device determines the transaction screening range of the transaction relationship analysis, and filters out the target transaction relationship set from the updated transaction relationship set according to the transaction screening range.

例如,当交易关系分析满足预设结束条件时,电子设备对扩散所得的所 有数据传入数据筛选模块以及展示模块。For example, when the transaction relationship analysis satisfies the preset end condition, all the data obtained by the electronic device will be transmitted to the data screening module and the display module.

为了提高交易关系分析的实用性,提升用户体验,可以给用户提供快捷 方便的操作页面,以供用户选择交易关系分析的交易范围。其中,交易范围 可以包括交易时间范围,交易时间段,交易地点等等。例如,电子设备具体 可以显示交易关系分析页面,所述交易关系分析页面包括筛选控件和刷新控 件;响应针对所述筛选控件的筛选操作,确定交易关系分析的交易筛选范围; 响应针对刷新控件的刷新操作,基于所述交易筛选范围,从更新后交易关系 集合确定目标交易关系集合。比如,在获得扩展模块的所有交易数据,可以 依据人工输入的筛选规则,提取筛选规则中所包括的交易数据,最后将所得 到的交易数据传入前端展示模块。比如,给予的规则为交易时间在10点-12点 区间,则获取交易中处于这个时间段所有的交易数据,以传入展示模块。In order to improve the practicability of transaction relationship analysis and improve user experience, users can be provided with a quick and convenient operation page for users to select the transaction scope of transaction relationship analysis. Among them, the transaction scope can include transaction time range, transaction time period, transaction location and so on. For example, the electronic device can specifically display a transaction relationship analysis page, and the transaction relationship analysis page includes a filter control and a refresh control; in response to the filter operation for the filter control, determine the transaction screening range of the transaction relationship analysis; in response to the refresh control Refresh operation, based on the transaction screening range, determine the target transaction relationship set from the updated transaction relationship set. For example, after obtaining all the transaction data of the extension module, the transaction data included in the filter rules can be extracted according to the manually entered filter rules, and finally the obtained transaction data can be transferred to the front-end display module. For example, if the given rule is that the trading time is between 10:00 and 12:00, all transaction data in this time period in the transaction will be obtained and passed to the display module.

例如,如图2d所示,交易关系分析页面可以包括交易时间范围选择框 (1)、交易时间段选择框(2)、交易地点选择框(3)、交易统计(4)、交易 资金链路展示(5)等。For example, as shown in Figure 2d, the transaction relationship analysis page can include transaction time range selection box (1), transaction time period selection box (2), transaction location selection box (3), transaction statistics (4), transaction funds link Show (5) etc.

时间范围选择框(1)、时间段选择框(2)、交易地点选择框(3)等为变 量选择框,该部分可依据分析人员的需求进行调控,具体操作图2e、图2f和 图2g所示。The time range selection box (1), the time period selection box (2), and the transaction location selection box (3) are variable selection boxes. This part can be adjusted according to the needs of analysts. The specific operations are shown in Figure 2e, Figure 2f and Figure 2. 2g shown.

比如,如图2e所示,时间范围框部分可拖动两端可移动选择框来选择该 时间长度框中的具体时间,从而准确选择出具体想要分析的成员的既定交易 流水范畴,提升分析的准确率。For example, as shown in Figure 2e, you can drag the movable selection boxes at both ends of the time range box to select the specific time in the time length box, so as to accurately select the predetermined transaction flow category of the member you want to analyze, and improve the analysis the accuracy rate.

比如,如图2f所示,时间段选择框部分,该部分时间段是依据交易中实 际存在的时间归分至不同的时间段,从而拆分出具体的时间段,分析人员可 依据想要分析的时间段来选择,且该部分可同时选择多个时间段。For example, as shown in Figure 2f, in the part of the time period selection box, this part of the time period is divided into different time periods based on the actual time in the transaction, so as to split the specific time period. The analysis time period can be selected, and this part can select multiple time periods at the same time.

比如,如图2f所示,该部分交易地点提取于分析流水中的交易地,该部 分的选择同时间段的选择一致。For example, as shown in Figure 2f, this part of the transaction location is extracted from the transaction location in the analysis flow, and the selection of this part is consistent with the selection of the time period.

时间范围选择框、时间段选择框能够选择进行调控,便于对主体的特定 交易时间进行分析,且能够精准的分析主体既定时间段中的具体时间段中的 交易情况,可筛选出交易峰值前后的具体情况,及便于定位交易中的特定时 间段;交易地点选择框能够选择进行调控,该值能够清晰的展示具体交易地 中存在的资金往来情况,便于对部分人员在特定地区中发生的交易进行分析。The time range selection box and the time period selection box can be selected and adjusted, which is convenient for analyzing the specific trading time of the subject, and can accurately analyze the transaction situation in the specific time period in the predetermined time period of the subject, and can filter out the transactions before and after the peak value Specific conditions, and it is convenient to locate a specific time period in the transaction; the transaction location selection box can be selected for regulation, and this value can clearly display the capital transactions existing in the specific transaction location, which is convenient for the transaction of some personnel in a specific area for analysis.

207、电子设备基于所述目标交易关系集合生成所述目标交易对象的交易 链路关系图。207. The electronic device generates a transaction link relationship graph of the target transaction object based on the target transaction relationship set.

其中,所述交易链路关系图可以包括多个节点层级以及节点的链路,每 个节点层级对应一个对象层级,所述节点层级间的链路指示所述对象层级间 交易对象的交易关联关系。Wherein, the transaction link relationship diagram may include 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 the transaction association relationship of the transaction objects between the object levels .

例如,电子设备响应针对刷新控件的刷新操作,基于所述交易筛选范围, 从更新后交易关系集合确定目标交易关系集合之后,可以基于所述目标交易 关系集合生成所述目标交易对象的交易链路关系图。For example, the electronic device responds to the refresh operation for the refresh control, based on the transaction screening range, after determining the target transaction relationship set from the updated transaction relationship set, the transaction link of the target transaction object can be generated based on the target transaction relationship set relation chart.

比如,如图2h所示,在选定变量选择框后,可点击刷新按钮,对展示部 分进行刷新,同理可以运用于界面数据修改部分。For example, as shown in Figure 2h, after the variable selection box is selected, the refresh button can be clicked to refresh the display part, and the same can be applied to the interface data modification part.

资金链路展示、交易统计部分为最终结果展示部分,展示部分的数据是 基于技术侧的分析及变量选择框的选择后展示的情况,交易统计部分是对基 本数据的总体展示,资金链路展示则是对资金联络的详细展示,可看见资金 的来源及去向,辅助分析人员对特定重要人员进行详细分析。The capital link display and transaction statistics part are the final result display part. The data in the display part is based on the analysis on 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. The capital link The display is a detailed display of fund contacts, where the source and whereabouts of funds can be seen, and it assists analysts to conduct detailed analysis of specific important personnel.

为了更清晰地展示目标交易对象与交易关联对象之间的交易关联关系, 可以根据他们之间的交易关联关系,确定每一个交易关联对象的位置信息, 进而生成目标交易对象的交易链路关系图。例如,电子设备具体可以基于所 述更新后交易关系集合,确定每个交易关联对象的位置信息;基于所述交易 关联对象的位置信息,生成所述目标交易对象的交易链路关系图。In order to more clearly show the transaction association relationship between the target transaction object and the transaction association object, the location information of each transaction association object can be determined according to the transaction association relationship between them, and then the transaction link diagram of the target transaction object can be generated . For example, the electronic device may specifically determine the location information of each transaction-related object based on the updated transaction relationship set; and generate a transaction link diagram of the target transaction object based on the location information of the transaction-related object.

例如,电子设备具体可以对所述更新后交易关系集合中的交易关联对象 进行分类,得到所述目标交易对象的点关系列表,所述点关系列表包括至少 一个交易关联对象、每个交易关联对象对应的对象层级以及每个交易关联对 象所在对象层级的序列号。For example, the electronic device can specifically classify the transaction-related objects in the updated transaction relationship set to obtain the point relationship list of the target transaction object, and the point relationship list includes at least one transaction-related object, each transaction-related object The corresponding object level and the sequence number of the object level where each transaction-associated object is located.

然后,确定每个对象层级对应交易关联对象的个数;基于每个对象层级 对应的待分析交易对象、每个对象层级对应交易关联对象的个数、以及每个 对象层级中交易关联对象的序列号,计算所述每个对象层级中交易关联对象 的位置信息,所述位置信息为每个交易关联对象相对于所述对象层级的待分 析交易对象的位置信息。Then, 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 sequence of transaction-related objects in each object level number, calculate the position information of the transaction-related object in each object level, and the position information is the position information of each transaction-related object relative to the transaction object to be analyzed in the object level.

再然后,将所述目标交易对象和所述交易关联对象作为节点;对所述更 新后交易关系集合中的交易关联关系进行分类,得到所述目标交易对象的边 关系列表,所述边关系列表包括目标交易对象与交易关联对象、以及交易关 联对象之间的边关系;基于所述边关系列表,将存在边关系的节点进行连接, 并将节点之间的连接线作为节点的链路;基于所述节点和节点的链路,生成 所述目标交易对象的交易链路关系图。Then, use the target transaction object and the transaction association object as nodes; classify the transaction association relationships in the updated transaction relationship set to obtain the edge relationship list of the target transaction object, and the edge relationship The list includes the target transaction object, the transaction associated object, and the edge relationship between the transaction associated objects; based on the edge relationship list, connect the nodes with the edge relationship, and use the connecting line between the nodes as the link of the node ; Based on the node and the link of the node, generate the transaction link relationship diagram of the target transaction object.

例如,电子设备具体可以对获取的数据形成点边关系数据,并依据点边 关系数据进行计算获取点在平面中的坐标用于展示。比如,可以将扩散模块 以及数据筛选模块获得的数据进行分类汇总,形成点边关系表(即点关系列 表和边关系列表),具体可以如下表4和表5所示:For example, the electronic device can specifically form point-edge relationship data for the acquired data, and perform calculations based on the point-edge relationship data to obtain coordinates of points in the plane for display. 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 (that is, a point relationship list and an edge relationship list), as shown in Table 4 and Table 5 below:

表4点关系列表Table 4 point relationship list

IDID 姓名Name 扩散轮次Diffusion rounds 11 AA 11 22 BB 11 … 

 表5边关系列表Table 5 Edge relationship list

来源source 去向whereabouts 金额the amount qweqwe AA 4040 qweqwe BB 3030 … 

接着,依据表中数据计算点在平面中的位置,假设目标交易对象的点坐 标为(0,0),则可以采用圆形布局法,设第一轮扩散的成员个数为n,则每 个点的坐标为(R*cos(π*2*n/i),R*sin(π*2*n/i)),其中,i为第一轮扩散中 不同点的序号,R为第一轮扩散的半径。第二轮被扩散的成员,依据第一轮 被扩散成员的坐标再次计算,比如,可以为(R*cos(π*2*n/i)+r*cos(π *2*q/w),R*sin(π*2*n/i)+r*sin(π*2*q/w)),其中,r为第二轮扩散的半径,q 为成员总量,w为不同点的序号,以此类推,具体计算流程如图2c所示。最 后,依据点坐标,将存在边关系的点进行连线,形成交易链路关系图。Then, calculate the position of the point in the plane according to the data in the table, assuming that the point coordinate of the target transaction object is (0, 0), then the circular layout method can be used, and the number of members in the first round of diffusion is n, then 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 diffused members in the second round are recalculated based on the coordinates of the diffused members in the first round, for example, it 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, and so on, the specific calculation process is shown in Figure 2c. Finally, according to the point coordinates, connect the points with edge relationship to form a transaction link relationship graph.

由上可知,本实施例可以确定目标交易对象以及当前待分析的目标对象 层级;然后,获取目标对象层级对应的待分析交易对象和交易筛选条件,以 及待分析交易对象的交易数据,并根据所述交易数据确定待分析交易对象的 候选交易对象;接着,根据所述交易筛选条件,从所述候选交易对象中选取 满足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的交易关 联对象,以及目标交易对象与交易关联对象之间的交易关联关系;再根据所 述交易关联关系对所述目标交易对象对应的当前交易关系集合进行更新,得到更新后交易关系集合,其中,交易关系集合包括至少一个对象层级、对象 层级对应的交易关联关系;再然后,根据更新后交易关系集合生成所述目标 交易对象的交易链路关系图,所述交易链路关系图包括多个节点层级以及节 点的链路,每个节点层级对应一个对象层级,所述节点层级间的链路指示所 述对象层级间交易对象的交易关联关系。由于该方案可以对分析主体的交易 进行统计,选取交易总金额前P%的对手,至少选取一人,对选取出来的对手 的对手继续选取交易总金额前P%-x%的对手,如此循环。选出的所有个体作 为点关系,同时提取所有个体之间的资金交易作为边关系,在边关系中引入 时间、地点等维度,基于点边关系采用圆布局算法进行布局,以时间等维度 筛选的时候删减掉对应的边关系,并重新进行布局,可以直观展示主体资金 来源及去向,资金链路完整,通过技术手段对资金进行分析,相比于人工分 析节省人力,且资金分析更加准确;并且通过对多层对手进行拓展,即可查 看主体与对手的对手间的是否存在资金往来,可便捷、直观的查看多个人员 间的资金流转情况,且相对于人工分析更加准确,降低人为主观因素的干扰 及误判。还可以选择具体时间、地点的对手进行分析,对对手进行不同维度 的筛选,便于分析的直观及数据的准确性,且能够具体的、有针对性的分析, 为分析人员提供便捷。该方案基于技术手段对交易进行处理,使资金链路清 晰,可以为个体的资金链路拓展与风险挖掘提供辅助,将复杂的流水加以处 理,提供清晰的资金链路。As can be seen from the above, this embodiment can determine the target transaction object and the current target object level to be analyzed; then, obtain the transaction object to be analyzed corresponding to the target object level and the transaction filtering conditions, as well as the transaction data of the transaction object to be analyzed, and according to The transaction data determines the candidate transaction object of the transaction object to be analyzed; then, according to the transaction screening condition, select the object that meets the transaction screening condition from the candidate transaction object, and obtain the transaction of the target transaction object at the target object level Associated objects, and the transaction association relationship between the target transaction object and the transaction association object; then update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, and 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, according to the updated transaction relationship set, the transaction link relationship diagram of the target transaction object is generated, and the transaction link relationship diagram includes a plurality of nodes Each node level corresponds to an object level, and the links between the node levels indicate the transaction association relationship of the transaction objects between the object levels. Since this scheme can make statistics on the transactions of the analysis subject, select the opponents of P% of the total transaction amount, select at least one person, and continue to select the opponents of P%-x% of the total transaction amount for the selected opponents, and so on. All selected individuals are regarded as point relationships, and capital transactions between all individuals are extracted as edge relationships, and dimensions such as time and place are introduced into the edge relationships, and the circle layout algorithm is used for layout based on point-edge relationships, and time and other dimensions are used for screening When deleting the corresponding edge relationship and re-layouting, it can visually display the source and whereabouts of the main funds, the fund link is complete, and the analysis of funds through technical means saves manpower compared with manual analysis, and fund analysis is more efficient. Accurate; and by expanding the multi-layer counterparty, you can check whether there is a capital exchange between the subject and the counterparty, and you can conveniently and intuitively check the capital flow among multiple personnel, and it is more accurate than manual analysis. Reduce the interference and misjudgment of human subjective factors. You can also select opponents at specific times and locations for analysis, and screen opponents in different dimensions, which is convenient for intuitive analysis and accuracy of data, and enables specific and targeted analysis, providing convenience for analysts. This solution processes transactions based on technical means to make the capital link clear, which can provide assistance for individual capital link expansion and risk mining, and process complex flow to provide a clear capital link.

为了更好地实施以上方法,相应的,本申请实施例还提供一种交易关系 分析装置,该交易关系分析装置具体可以集成在电子设备中,该电子设备可 以是服务器,也可以是终端等设备。In order to better implement the above method, correspondingly, the embodiment of the present application also provides a transaction relationship analysis device, the transaction relationship analysis device can specifically be integrated in an electronic device, and the electronic device can be a server or a terminal, etc. equipment.

例如,如图3所示,该交易关系分析装置可以包括确定单元301、获取单 元302、筛选单元303、更新单元304和生成单元305,如下:For example, as shown in Figure 3, the transaction relationship analysis device may include a determination unit 301, an acquisition unit 302, a screening unit 303, an update unit 304 and a generation unit 305, as follows:

确定单元301,用于确定目标交易对象以及当前待分析的目标对象层级;A determination unit 301, configured to determine the target transaction object and the current target object level to be analyzed;

获取单元302,用于获取目标对象层级对应的待分析交易对象和交易筛选 条件,以及待分析交易对象的交易数据,并根据所述交易数据确定待分析交 易对象的候选交易对象;The obtaining unit 302 is used to obtain 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 determine the candidate transaction object of the transaction object to be analyzed according to the transaction data;

筛选单元303,用于根据所述交易筛选条件,从所述候选交易对象中选取 满足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的交易关 联对象,以及目标交易对象与交易关联对象之间的交易关联关系;The screening unit 303 is configured to select an object that satisfies the transaction screening condition from the candidate transaction objects according to the transaction screening condition, and obtain the transaction associated object of the target transaction object at the target object level, as well as the target transaction object and transaction Transaction association relationship between associated objects;

更新单元304,用于根据所述交易关联关系对所述目标交易对象对应的当 前交易关系集合进行更新,得到更新后交易关系集合,其中,交易关系集合 包括至少一个对象层级、对象层级对应的交易关联关系;The update unit 304 is configured to update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, and obtain an updated transaction relationship set, wherein the transaction relationship set includes at least one object level, and the object level corresponding transaction relationship;

生成单元305,用于根据更新后交易关系集合生成所述目标交易对象的交 易链路关系图,所述交易链路关系图包括多个节点层级以及节点的链路,每 个节点层级对应一个对象层级,所述节点层级间的链路指示所述对象层级间 交易对象的交易关联关系。Generating unit 305, configured to generate the transaction link relationship diagram of the target transaction object according to the updated transaction relationship set, the transaction link relationship diagram includes multiple node levels and node links, and each node level corresponds to a Object level, the link between the node levels indicates the transaction association relationship of the transaction objects between the object levels.

可选的,在一些实施例中,所述生成单元,具体可以用于当交易关系分 析不满足预设结束条件时,将所述交易关联对象作为所述待分析交易对象, 返回执行确定当前待分析的目标对象层级的步骤;当交易关系分析满足预设 结束条件时,根据更新后交易关系集合生成所述目标交易对象的交易链路关 系图。Optionally, in some embodiments, the generating unit may be specifically configured to use the transaction-associated object as the transaction object to be analyzed when the analysis of the transaction relationship does not meet the preset end condition, and return to execute to determine the current The step of the target object level to be analyzed; when the transaction relationship analysis meets the preset end condition, generate the transaction link relationship diagram of the target transaction object according to the updated transaction relationship set.

可选的,在一些实施例中,所述生成单元包括确定子单元和筛选子单元, 如下:Optionally, in some embodiments, the generation unit includes a determination subunit and a screening subunit, as follows:

确定子单元,用于确定交易关系分析的交易筛选范围;Determine the subunit, used to determine the scope of transaction screening for transaction relationship analysis;

筛选子单元,用于根据所述交易筛选范围从更新后交易关系集合筛选出 目标交易关系集合,并基于所述目标交易关系集合生成所述目标交易对象的 交易链路关系图。The screening subunit is configured to filter out a target transaction relationship set from the updated transaction relationship set according to the transaction screening range, and generate a transaction link relationship diagram of the target transaction object based on the target transaction relationship set.

可选的,在一些实施例中,所述确定子单元,具体可以用于显示交易关 系分析页面,所述交易关系分析页面包括筛选控件;响应针对所述筛选控件 的筛选操作,确定交易关系分析的交易筛选范围。Optionally, in some embodiments, the determining subunit may be specifically configured to display a transaction relationship analysis page, where the transaction relationship analysis page includes a screening control; in response to a screening operation directed at the screening control, determine the transaction relationship The transaction filter scope for the analysis.

可选的,在一些实施例中,所述交易关系分析页面包括刷新控件,所述 筛选子单元,具体可以用于响应针对刷新控件的刷新操作,基于所述交易筛 选范围,从更新后交易关系集合确定目标交易关系集合;基于所述目标交易 关系集合生成所述目标交易对象的交易链路关系图。Optionally, in some embodiments, the transaction relationship analysis page includes a refresh control, and the screening subunit can specifically respond to a refresh operation for the refresh control, based on the transaction screening range, from the updated transaction The relationship set determines the target transaction relationship set; generates the transaction link relationship diagram of the target transaction object based on the target transaction relationship set.

可选的,在一些实施例中,所述生成单元包括位置子单元和生成子单元, 如下:Optionally, in some embodiments, the generating unit includes a position subunit and a generating subunit, as follows:

位置子单元,用于基于所述更新后交易关系集合,确定每个交易关联对 象的位置信息;The location subunit is used to determine the location information of each transaction-associated object based on the updated transaction relationship set;

生成子单元,用于基于所述交易关联对象的位置信息,生成所述目标交 易对象的交易链路关系图。The generation subunit is used to generate the transaction link relationship graph of the target transaction object based on the location information of the transaction-related object.

可选的,在一些实施例中,所述位置子单元,具体可以用于对所述更新 后交易关系集合中的交易关联对象进行分类,得到所述目标交易对象的点关 系列表,所述点关系列表包括至少一个交易关联对象、以及每个交易关联对 象对应的对象层级;基于所述点关系列表中交易关联对象对应的对象层级, 计算每一个交易关联对象的位置信息。Optionally, in some embodiments, the location subunit can specifically be used to classify the transaction-related objects in the updated transaction relationship set to obtain the point relationship list of the target transaction object, and the The point relationship list includes at least one transaction-related object and the object level corresponding to each transaction-related object; based on the object level corresponding to the transaction-related object in the point relationship list, the position information of each transaction-related object is calculated.

可选的,在一些实施例中,所述点关系列表包括每个交易关联对象所在 对象层级的序列号,所述位置子单元,具体可以用于确定每个对象层级对应 交易关联对象的个数;基于每个对象层级对应的待分析交易对象、每个对象 层级对应交易关联对象的个数、以及每个对象层级中交易关联对象的序列号, 计算所述每个对象层级中交易关联对象的位置信息,所述位置信息为每个交 易关联对象相对于所述对象层级的待分析交易对象的位置信息。Optionally, in some embodiments, the point relationship list includes the serial number of the object level where each transaction-related object is located, and the location subunit can specifically be used to 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 transaction-related objects in each object level, calculate the number of transaction-related objects in each object level Location information, where the location information is the location information of each transaction-related object relative to the transaction object to be analyzed at the object level.

可选的,在一些实施例中,所述生成子单元,具体可以用于将所述目标 交易对象和所述交易关联对象作为节点;对所述更新后交易关系集合中的交 易关联关系进行分类,得到所述目标交易对象的边关系列表,所述边关系列 表包括目标交易对象与交易关联对象、以及交易关联对象之间的边关系;基 于所述边关系列表,将存在边关系的节点进行连接,并将节点之间的连接线 作为节点的链路;基于所述节点和节点的链路,生成所述目标交易对象的交 易链路关系图。Optionally, in some embodiments, the generating subunit may be specifically configured to use the target transaction object and the transaction association object as nodes; perform transaction association relationships in the updated transaction relationship set classification, to obtain the edge relationship list of the target transaction object, the edge relationship list includes the target transaction object and the transaction associated object, and the edge relationship between the transaction associated object; based on the edge relationship list, there will be edge relationships The nodes are connected, and the connection lines between the nodes are used as the links of the nodes; based on the nodes and the links of the nodes, a transaction link relationship diagram of the target transaction object is generated.

具体实施时,以上各个单元可以作为独立的实体来实现,也可以进行任 意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前 面的方法实施例,在此不再赘述。During specific implementation, each of the above units can be implemented as an independent entity, or can be combined arbitrarily as the same or several entities. For the specific implementation of each of the above units, please refer to the previous method embodiments, and no longer repeat.

由上可知,本实施例可以由确定单元301确定目标交易对象以及当前待分 析的目标对象层级;然后,由获取单元302获取目标对象层级对应的待分析交 易对象和交易筛选条件,以及待分析交易对象的交易数据,并根据所述交易 数据确定待分析交易对象的候选交易对象;接着,由筛选单元303根据所述交 易筛选条件,从所述候选交易对象中选取满足交易筛选条件的对象,得到所 述目标交易对象在目标对象层级的交易关联对象,以及目标交易对象与交易 关联对象之间的交易关联关系;再由更新单元304根据所述交易关联关系对所 述目标交易对象对应的当前交易关系集合进行更新,得到更新后交易关系集 合,其中,交易关系集合包括至少一个对象层级、对象层级对应的交易关联 关系;再然后,由生成单元305根据更新后交易关系集合生成所述目标交易对 象的交易链路关系图,所述交易链路关系图包括多个节点层级以及节点的链 路,每个节点层级对应一个对象层级,所述节点层级间的链路指示所述对象 层级间交易对象的交易关联关系。由于该方案可以对目标交易对象的交易进 行分析,选取满足第一对象层级的交易筛选条件的交易关联对象,并对选取 出来的交易关联对象的继续选取满足第二对象层级的交易筛选条件的交易关 联对象,如此循环。选出的所有交易关联对象作为节点,同时提取所有交易 关联对象之间的交易关联关系作为节点之间的链路,进而生成目标交易对象 的交易链路关系图,直观地展示目标交易对象的来源及去向,交易链路完整, 相比于人工分析节省人力,且交易关系分析更加准确。并且通过对多层交易 关系对象进行拓展,即可查看目标交易对象与交易关联对象的交易关联对象 间的是否存在交易往来,可便捷、直观的查看多个人员间的交易情况,且相对于人工分析更加准确,降低人为主观因素的干扰及误判。As can be seen from the above, in this embodiment, the determination unit 301 can determine the target transaction object and the current target object level to be analyzed; Analyze the transaction data of the transaction object, and determine the candidate transaction object of the transaction object to be analyzed according to the transaction data; then, the screening unit 303 selects from the candidate transaction objects that meet the transaction screening condition according to the transaction screening condition 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 association object; then the update unit 304 corresponds to the target transaction object according to the transaction association relationship The current transaction relationship set is updated to obtain the updated transaction relationship set, wherein the transaction relationship set includes at least one object level and the transaction relationship corresponding to the object level; and then, the generation unit 305 generates the transaction relationship according to the updated transaction relationship set The transaction link relationship diagram of the target transaction object, the transaction link relationship diagram includes multiple node levels and node links, each node level corresponds to an object level, and the links between the node levels indicate the The transaction association relationship of transaction objects between object levels. Because this scheme can analyze the transaction of the target transaction object, select the transaction associated object that meets the transaction screening condition of the first object level, and continue to select the transaction associated object that meets the transaction screening condition of the second object level Transaction related objects, and so on. All the selected transaction-related objects are used as nodes, and the transaction-related relationships between all transaction-related objects are extracted as the links between nodes, and then the transaction link diagram of the target transaction object is generated to visually display the source of the target transaction object And whereabouts, the transaction link is complete, compared with manual analysis, it saves manpower, and the analysis of transaction relationship is more accurate. And by expanding the multi-layer transaction relationship object, you can check whether there is a transaction between the target transaction object and the transaction-related object of the transaction-related object. It is convenient and intuitive to check the transactions between multiple people, and compared with manual The analysis is more accurate, and the interference and misjudgment of human subjective factors are reduced.

此外,本申请实施例还提供一种电子设备,如图4所示,其示出了本申请 实施例所涉及的电子设备的结构示意图,具体来讲:In addition, the embodiment of the present application also provides an electronic device, as shown in Figure 4, which shows a schematic structural diagram of the electronic device involved in the embodiment of the present application, specifically:

该电子设备可以包括一个或者一个以上处理核心的处理器401、一个或 一个以上计算机可读存储介质的存储器402、电源403和输入单元404等部 件。本领域技术人员可以理解,图4中示出的电子设备结构并不构成对电子 设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者 不同的部件布置。其中:The electronic device may include a processor 401 of one or more processing cores, a memory 402 of one or more computer-readable storage media, a power supply 403, an input unit 404 and other components. Those skilled in the art can understand that the structure of the electronic device shown in Figure 4 does not constitute a limitation to the electronic device, and may include more or fewer components than shown in the illustration, or combine some components, or arrange different components. in:

处理器401是该电子设备的控制中心,利用各种接口和线路连接整个电 子设备的各个部分,通过运行或执行存储在存储器402内的软件程序和/或模 块,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理 数据,从而对电子设备进行整体监控。可选的,处理器401可包括一个或多 个处理核心;优选的,处理器401可集成应用处理器和调制解调处理器,其 中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理 器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到 处理器401中。The processor 401 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 402, and calling the software programs stored in the memory 402. It executes various functions of the electronic equipment and processes the data, so as to monitor the electronic equipment as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs etc., the modem processor mainly handles wireless communication. It can be understood that the modem processor may not be integrated into the processor 401.

存储器402可用于存储软件程序以及模块,处理器401通过运行存储在 存储器402的软件程序以及模块,从而执行各种功能应用以及数据处理。存 储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操 作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能 等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存 储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如 至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地, 存储器402还可以包括存储器控制器,以提供处理器401对存储器402的访 问。The memory 402 can be used to store software programs and modules, and the processor 401 executes various functional applications 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 an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data and the like created according to the use of the electronic device may be stored. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 402 may further include a memory controller to provide the processor 401 with access to the memory 402.

电子设备还包括给各个部件供电的电源403,优选的,电源403可以通 过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充 电、放电、以及功耗管理等功能。电源403还可以包括一个或一个以上的直 流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、 电源状态指示器等任意组件。The electronic device also includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through the power management system, so as to realize functions such as managing charging, discharging, and power consumption management through the power management system. The power supply 403 can also include any components such as one or more DC or AC power sources, a recharging system, a power failure detection circuit, a power converter or an inverter, and a power status indicator.

该电子设备还可包括输入单元404,该输入单元404可用于接收输入的 数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操 作杆、光学或者轨迹球信号输入。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.

尽管未示出,电子设备还可以包括显示单元等,在此不再赘述。具体在 本实施例中,电子设备中的处理器401会按照如下的指令,将一个或一个以上 的应用程序的进程对应的可执行文件加载到存储器402中,并由处理器401来 运行存储在存储器402中的应用程序,从而实现各种功能,如下:Although not shown, the electronic device may also include a display unit, etc., which will not be repeated here. Specifically in this embodiment, the processor 401 in the electronic device will load the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the executable file stored in the memory 402. The application program in memory 402, thereby realizes various functions, as follows:

确定目标交易对象以及当前待分析的目标对象层级;然后,获取目标对 象层级对应的待分析交易对象和交易筛选条件,以及待分析交易对象的交易 数据,并根据所述交易数据确定待分析交易对象的候选交易对象;接着,根 据所述交易筛选条件,从所述候选交易对象中选取满足交易筛选条件的对象, 得到所述目标交易对象在目标对象层级的交易关联对象,以及目标交易对象 与交易关联对象之间的交易关联关系;再根据所述交易关联关系对所述目标 交易对象对应的当前交易关系集合进行更新,得到更新后交易关系集合,其 中,交易关系集合包括至少一个对象层级、对象层级对应的交易关联关系; 再然后,根据更新后交易关系集合生成所述目标交易对象的交易链路关系图, 所述交易链路关系图包括多个节点层级以及节点的链路,每个节点层级对应 一个对象层级,所述节点层级间的链路指示所述对象层级间交易对象的交易 关联关系。Determine the target transaction object and the current target object level to be analyzed; then, obtain the transaction object to be analyzed corresponding to the target object level and the transaction filter conditions, as well as the transaction data of the transaction object to be analyzed, and determine the transaction to be analyzed according to the transaction data The candidate transaction object of the object; then, according to the transaction screening condition, select the object that meets the transaction screening condition from the candidate transaction object, and obtain the transaction associated object of the target transaction object at the target object level, and the target transaction object The transaction association relationship with the transaction association object; then update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, and obtain the updated transaction relationship set, wherein the transaction relationship set includes at least one object The transaction association relationship corresponding to the level and object level; Then, according to the updated transaction relationship set, generate the transaction link relationship diagram of the target transaction object, the transaction link relationship diagram includes multiple node levels and node links, Each node level corresponds to an object level, and the links between the node levels indicate the transaction association relationship of the transaction objects between the object levels.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, reference may be made to the foregoing embodiments, and details are not repeated here.

由上可知,本实施例可以确定目标交易对象以及当前待分析的目标对象 层级;然后,获取目标对象层级对应的待分析交易对象和交易筛选条件,以 及待分析交易对象的交易数据,并根据所述交易数据确定待分析交易对象的 候选交易对象;接着,根据所述交易筛选条件,从所述候选交易对象中选取 满足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的交易关 联对象,以及目标交易对象与交易关联对象之间的交易关联关系;再根据所 述交易关联关系对所述目标交易对象对应的当前交易关系集合进行更新,得到更新后交易关系集合,其中,交易关系集合包括至少一个对象层级、对象 层级对应的交易关联关系;再然后,根据更新后交易关系集合生成所述目标 交易对象的交易链路关系图,所述交易链路关系图包括多个节点层级以及节 点的链路,每个节点层级对应一个对象层级,所述节点层级间的链路指示所 述对象层级间交易对象的交易关联关系。由于该方案可以对目标交易对象的 交易进行分析,选取满足第一对象层级的交易筛选条件的交易关联对象,并 对选取出来的交易关联对象的继续选取满足第二对象层级的交易筛选条件的交易关联对象,如此循环。选出的所有交易关联对象作为节点,同时提取所 有交易关联对象之间的交易关联关系作为节点之间的链路,进而生成目标交 易对象的交易链路关系图,直观地展示目标交易对象的来源及去向,交易链 路完整,相比于人工分析节省人力,且交易关系分析更加准确。并且通过对 多层交易关系对象进行拓展,即可查看目标交易对象与交易关联对象的交易 关联对象间的是否存在交易往来,可便捷、直观的查看多个人员间的交易情 况,且相对于人工分析更加准确,降低人为主观因素的干扰及误判。As can be seen from the above, this embodiment can determine the target transaction object and the current target object level to be analyzed; then, obtain the transaction object to be analyzed corresponding to the target object level and the transaction filtering conditions, as well as the transaction data of the transaction object to be analyzed, and according to The transaction data determines the candidate transaction object of the transaction object to be analyzed; then, according to the transaction screening condition, select the object that meets the transaction screening condition from the candidate transaction object, and obtain the transaction of the target transaction object at the target object level Associated objects, and the transaction association relationship between the target transaction object and the transaction association object; then update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, and 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, according to the updated transaction relationship set, the transaction link relationship diagram of the target transaction object is generated, and the transaction link relationship diagram includes a plurality of nodes Each node level corresponds to an object level, and the links between the node levels indicate the transaction association relationship of the transaction objects between the object levels. Because this scheme can analyze the transaction of the target transaction object, select the transaction associated object that meets the transaction screening condition of the first object level, and continue to select the transaction that meets the transaction screening condition of the second object level for the selected transaction associated object Associated objects, and so on. All the selected transaction-related objects are used as nodes, and the transaction-related relationships between all transaction-related objects are extracted as the links between nodes, and then the transaction link diagram of the target transaction object is generated to visually display the target transaction object The source and whereabouts of the transaction, the transaction link is complete, compared with manual analysis, it saves manpower, and the analysis of transaction relationship is more accurate. And by expanding the multi-layer transaction relationship object, you can check whether there is a transaction between the target transaction object and the transaction-related object of the transaction-related object, and you can conveniently and intuitively view the transactions between multiple people. Manual analysis is more accurate, reducing the interference and misjudgment of human subjective factors.

本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分 步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以 存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructions, or by instructions controlling related hardware, and the instructions can be stored in a computer-readable storage medium, and is loaded and executed by the processor.

为此,本申请实施例还提供一种存储介质,其中存储有多条指令,该指 令能够被处理器进行加载,以执行本申请实施例所提供的任一种交易关系分 析方法中的步骤。例如,该指令可以执行如下步骤:For this reason, the embodiment of the present application also provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by the processor to perform any of the transaction relationship analysis methods provided in the embodiments of the present application. step. For example, the command can perform the following steps:

确定目标交易对象以及当前待分析的目标对象层级;然后,获取目标对 象层级对应的待分析交易对象和交易筛选条件,以及待分析交易对象的交易 数据,并根据所述交易数据确定待分析交易对象的候选交易对象;接着,根 据所述交易筛选条件,从所述候选交易对象中选取满足交易筛选条件的对象, 得到所述目标交易对象在目标对象层级的交易关联对象,以及目标交易对象 与交易关联对象之间的交易关联关系;再根据所述交易关联关系对所述目标 交易对象对应的当前交易关系集合进行更新,得到更新后交易关系集合,其 中,交易关系集合包括至少一个对象层级、对象层级对应的交易关联关系; 再然后,根据更新后交易关系集合生成所述目标交易对象的交易链路关系图, 所述交易链路关系图包括多个节点层级以及节点的链路,每个节点层级对应 一个对象层级,所述节点层级间的链路指示所述对象层级间交易对象的交易 关联关系。Determine the target transaction object and the current target object level to be analyzed; then, obtain the transaction object to be analyzed corresponding to the target object level and the transaction filter conditions, as well as the transaction data of the transaction object to be analyzed, and determine the transaction to be analyzed according to the transaction data The candidate transaction object of the object; then, according to the transaction screening condition, select the object that meets the transaction screening condition from the candidate transaction object, and obtain the transaction associated object of the target transaction object at the target object level, and the target transaction object The transaction association relationship with the transaction association object; then update the current transaction relationship set corresponding to the target transaction object according to the transaction association relationship, and obtain the updated transaction relationship set, wherein the transaction relationship set includes at least one object The transaction association relationship corresponding to the level and object level; Then, according to the updated transaction relationship set, generate the transaction link relationship diagram of the target transaction object, the transaction link relationship diagram includes multiple node levels and node links, Each node level corresponds to an object level, and the links between the node levels indicate the transaction association relationship of the transaction objects between the object levels.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, reference may be made to the foregoing embodiments, and details are not repeated here.

其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、 随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Wherein, the storage medium may include: a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.

由于该存储介质中所存储的指令,可以执行本申请实施例所提供的任一 种交易关系分析方法中的步骤,因此,可以实现本申请实施例所提供的任一 种交易关系分析方法所能实现的有益效果,详见前面的实施例,在此不再赘 述。Since the instructions stored in the storage medium can execute the steps in any transaction relationship analysis method provided by the embodiment of the present application, it is possible to realize the performance of any transaction relationship analysis method provided in the embodiment of the present application. For the beneficial effects realized, see the previous embodiments for details, and will not repeat them here.

以上对本申请实施例所提供的一种交易关系分析方法、装置、电子设备 和存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施 方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核 心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方 式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本 申请的限制。A transaction relationship analysis method, device, electronic equipment and storage medium provided by the embodiments of the present application have been described above in detail. In this paper, specific examples have been used to illustrate the principles and implementation methods of the present application. The description of the above embodiments It is only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation and scope of application. In summary, , the content of this specification should not be construed as a limitation on this application.

Claims (12)

1.一种交易关系分析方法,其特征在于,包括:1. A transaction relationship analysis method, characterized in that, comprising: 确定目标交易对象以及当前待分析的目标对象层级;Determine the target transaction object and the current target object level to be analyzed; 获取目标对象层级对应的待分析交易对象和交易筛选条件,以及待分析交易对象的交易数据,并根据所述交易数据确定待分析交易对象的候选交易对象;Obtain 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 determine the candidate transaction object of the transaction object to be analyzed according to the transaction data; 根据所述交易筛选条件,从所述候选交易对象中选取满足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的交易关联对象,以及目标交易对象与交易关联对象之间的交易关联关系;According to the transaction screening conditions, select the objects that meet the transaction screening conditions from the candidate transaction objects, and obtain the transaction associated objects of the target transaction object at the target object level, and the transaction association between the target transaction object and the transaction associated objects relation; 根据所述交易关联关系对所述目标交易对象对应的当前交易关系集合进行更新,得到更新后交易关系集合,其中,交易关系集合包括至少一个对象层级、对象层级对应的交易关联关系;Updating the 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; 根据更新后交易关系集合生成所述目标交易对象的交易链路关系图,所述交易链路关系图包括多个节点层级以及节点的链路,每个节点层级对应一个对象层级,所述节点层级间的链路指示所述对象层级间交易对象的交易关联关系。Generate the transaction link relationship diagram of the target transaction object according to the updated transaction relationship set, the transaction link relationship diagram includes multiple node levels and node links, each node level corresponds to an object level, and the node level The link between indicates the transaction association relationship of the transaction objects between the object levels. 2.根据权利要求1所述的方法,其特征在于,所述根据更新后交易关系集合生成所述目标交易对象的交易链路关系图,包括:2. The method according to claim 1, wherein the generating the transaction link relationship diagram 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 step of determining the level of the target object to be analyzed is returned; 当交易关系分析满足预设结束条件时,根据更新后交易关系集合生成所述目标交易对象的交易链路关系图。When the transaction relationship analysis satisfies the preset end condition, a transaction link relationship diagram of the target transaction object is generated according to the updated transaction relationship set. 3.根据权利要求1所述的方法,其特征在于,所述根据更新后交易关系集合生成所述目标交易对象的交易链路关系图,包括:3. The method according to claim 1, wherein the generating the transaction link relationship diagram of the target transaction object according to the updated transaction relationship set includes: 确定交易关系分析的交易筛选范围;Determine the scope of transaction screening 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.根据权利要求3所述的方法,其特征在于,所述确定交易关系分析的交易筛选范围,包括:4. The method according to claim 3, wherein the determination of the transaction screening range for transaction relationship analysis comprises: 显示交易关系分析页面,所述交易关系分析页面包括筛选控件;displaying a transaction relationship analysis page, where the transaction relationship analysis page includes a filter control; 响应针对所述筛选控件的筛选操作,确定交易关系分析的交易筛选范围。In response to the filtering operation on the filtering control, the transaction filtering range for transaction relationship analysis is determined. 5.根据权利要求4所述的方法,其特征在于,所述交易关系分析页面包括刷新控件,所述根据所述交易筛选范围从更新后交易关系集合筛选出目标交易关系集合,并基于所述目标交易关系集合生成所述目标交易对象的交易链路关系图,包括:5. The method according to claim 4, wherein the transaction relationship analysis page includes a refresh control, and the target transaction relationship set is screened out from the updated transaction relationship set according to the transaction screening range, and based on the The target transaction relationship set generates the transaction link relationship graph of the target transaction object, including: 响应针对刷新控件的刷新操作,基于所述交易筛选范围,从更新后交易关系集合确定目标交易关系集合;In response to the refresh operation on the refresh control, based on the transaction screening range, determine the target transaction relationship set from the updated transaction relationship set; 基于所述目标交易关系集合生成所述目标交易对象的交易链路关系图。A transaction link relationship graph of the target transaction object is generated based on the target transaction relationship set. 6.根据权利要求1所述的方法,其特征在于,所述根据更新后交易关系集合生成所述目标交易对象的交易链路关系图,包括:6. The method according to claim 1, wherein the generating the transaction link relationship diagram of the target transaction object according to the updated transaction relationship set comprises: 基于所述更新后交易关系集合,确定每个交易关联对象的位置信息;Determine the location information of each transaction-associated object based on the updated transaction relationship set; 基于所述交易关联对象的位置信息,生成所述目标交易对象的交易链路关系图。Based on the location information of the transaction-associated object, a transaction link relationship graph of the target transaction object is generated. 7.根据权利要求6所述的方法,其特征在于,所述基于所述更新后交易关系集合,确定每个交易关联对象的位置信息,包括:7. The method according to claim 6, wherein the determining the location information of each transaction-associated object based on the updated transaction relationship set comprises: 对所述更新后交易关系集合中的交易关联对象进行分类,得到所述目标交易对象的点关系列表,所述点关系列表包括至少一个交易关联对象、以及每个交易关联对象对应的对象层级;Classify 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 the object hierarchy corresponding to each transaction-related object; 基于所述点关系列表中交易关联对象对应的对象层级,计算每一个交易关联对象的位置信息。The location information of each transaction-related object is calculated based on the object hierarchy corresponding to the transaction-related object in the point relationship list. 8.根据权利要求7所述的方法,其特征在于,所述点关系列表包括每个交易关联对象所在对象层级的序列号,所述基于所述点关系列表中交易关联对象对应的对象层级,计算每一个交易关联对象的位置信息,包括:8. The method according to claim 7, wherein the point relationship list includes the serial number of the object level where each transaction-related object is located, and based on the object level corresponding to the transaction-related object in the point relationship list, Calculate the location information of each transaction-related object, including: 确定每个对象层级对应交易关联对象的个数;Determine the number of transaction-related objects corresponding to each object level; 基于每个对象层级对应的待分析交易对象、每个对象层级对应交易关联对象的个数、以及每个对象层级中交易关联对象的序列号,计算所述每个对象层级中交易关联对象的位置信息,所述位置信息为每个交易关联对象相对于所述对象层级的待分析交易对象的位置信息。Based on the transaction object to be analyzed corresponding to each object level, the number of transaction-related objects corresponding to each object level, and the serial number of the transaction-related object in each object level, calculate the position of the transaction-related object in each object level Information, the position information is the position information of each transaction-related object relative to the transaction object to be analyzed at the object level. 9.根据权利要求7所述的方法,其特征在于,所述基于所述交易关联对象的位置信息,生成所述目标交易对象的交易链路关系图,包括:9. The method according to claim 7, wherein the generating the transaction link relationship graph of the target transaction object based on the location information of the transaction-associated object comprises: 将所述目标交易对象和所述交易关联对象作为节点;Using the target transaction object and the transaction associated object as nodes; 对所述更新后交易关系集合中的交易关联关系进行分类,得到所述目标交易对象的边关系列表,所述边关系列表包括目标交易对象与交易关联对象、以及交易关联对象之间的边关系;Classify the transaction association relationships in the updated transaction relationship set to obtain the edge relationship list of the target transaction object, and the edge relationship list includes the target transaction object and transaction association objects, and the edge relationship between transaction association objects ; 基于所述边关系列表,将存在边关系的节点进行连接,并将节点之间的连接线作为节点的链路;Based on the edge relationship list, connect the nodes with edge relationship, and use the connection lines between the nodes as the links of the nodes; 基于所述节点和节点的链路,生成所述目标交易对象的交易链路关系图。Based on the nodes and the links of the nodes, a transaction link relationship graph of the target transaction object is generated. 10.一种交易关系分析装置,其特征在于,包括:10. A transaction relationship analysis device, characterized in that it comprises: 确定单元,用于确定目标交易对象以及当前待分析的目标对象层级;A determination unit is used to determine the target transaction object and the current target object level to be analyzed; 获取单元,用于获取目标对象层级对应的待分析交易对象和交易筛选条件,以及待分析交易对象的交易数据,并根据所述交易数据确定待分析交易对象的候选交易对象;An acquisition unit, configured to acquire the transaction object to be analyzed corresponding to the target object level and the transaction screening conditions, as well as 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; 筛选单元,用于根据所述交易筛选条件,从所述候选交易对象中选取满足交易筛选条件的对象,得到所述目标交易对象在目标对象层级的交易关联对象,以及目标交易对象与交易关联对象之间的交易关联关系;A screening unit, configured to select an object satisfying the transaction screening condition from the candidate transaction objects according to the transaction screening condition, and obtain the transaction associated object of the target transaction object at the target object level, as well as the target transaction object and the transaction associated object transaction relationship between 更新单元,用于根据所述交易关联关系对所述目标交易对象对应的当前交易关系集合进行更新,得到更新后交易关系集合,其中,交易关系集合包括至少一个对象层级、对象层级对应的交易关联关系;An updating unit, configured to update the 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 relationship corresponding to the object level relation; 生成单元,用于根据更新后交易关系集合生成所述目标交易对象的交易链路关系图,所述交易链路关系图包括多个节点层级以及节点的链路,每个节点层级对应一个对象层级,所述节点层级间的链路指示所述对象层级间交易对象的交易关联关系。A generating unit, configured to generate a transaction link relationship diagram of the target transaction object according to the updated transaction relationship set, the transaction link relationship diagram includes multiple node levels and node links, and each node level corresponds to an object level , the link between the node levels indicates the transaction association relationship of the transaction objects between the object levels. 11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有多条指令,所述指令适于处理器进行加载,以执行权利要求1至9中任一项所述的交易关系分析方法中的步骤。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 so as to execute any one of claims 1 to 9. The steps in the transaction relationship analysis method. 12.一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1至9任一项所述方法的步骤。12. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein, when the processor executes the program, the computer program according to any one of claims 1 to 9 is realized. steps of the method described above.
CN202110923927.2A 2021-08-12 Transaction relationship analysis method, device, electronic device and storage medium Active CN115905625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110923927.2A CN115905625B (en) 2021-08-12 Transaction relationship analysis method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110923927.2A CN115905625B (en) 2021-08-12 Transaction relationship analysis method, device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN115905625A true CN115905625A (en) 2023-04-04
CN115905625B CN115905625B (en) 2025-10-14

Family

ID=

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020152142A1 (en) * 2000-04-10 2002-10-17 Johannes Schellmann Method for acquiring and processing data of business transactions
JP5873939B1 (en) * 2015-02-02 2016-03-01 慶司 杉本 Fund transfer statement creation device, fund transfer statement creation method, and fund transfer statement creation program
CN111127024A (en) * 2019-11-19 2020-05-08 支付宝(杭州)信息技术有限公司 Suspicious fund link detection method and device
CN111652718A (en) * 2020-07-09 2020-09-11 平安银行股份有限公司 Method, device, equipment and medium for monitoring value flow direction based on relational network diagram
US20210191801A1 (en) * 2019-12-20 2021-06-24 Capital One Services, Llc Transaction exchange platform with watchdog microservice

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020152142A1 (en) * 2000-04-10 2002-10-17 Johannes Schellmann Method for acquiring and processing data of business transactions
JP5873939B1 (en) * 2015-02-02 2016-03-01 慶司 杉本 Fund transfer statement creation device, fund transfer statement creation method, and fund transfer statement creation program
CN111127024A (en) * 2019-11-19 2020-05-08 支付宝(杭州)信息技术有限公司 Suspicious fund link detection method and device
US20210191801A1 (en) * 2019-12-20 2021-06-24 Capital One Services, Llc Transaction exchange platform with watchdog microservice
CN111652718A (en) * 2020-07-09 2020-09-11 平安银行股份有限公司 Method, device, equipment and medium for monitoring value flow direction based on relational network diagram

Similar Documents

Publication Publication Date Title
TWI804575B (en) Method and apparatus, computer readable storage medium, and computing device for identifying high-risk users
US12159283B2 (en) Systems and methods for intelligent network expansion
US9558018B2 (en) Methods and apparatus for simulating a distributed business process
CN111833182B (en) Method and device for identifying risk object
CN111915316A (en) A method, device, computer equipment and storage medium for monitoring suspicious transactions
CN109615389A (en) Electronic payment transaction risk control method, device, server and storage medium
CN111639910A (en) Standing book generation method, device, equipment and storage medium
CN109992588A (en) It is a kind of to divide folk prescription method and relevant device based on data processing
CN113722433A (en) Information pushing method and device, electronic equipment and computer readable medium
CN112862598B (en) Channel information management method, device, electronic equipment and medium
WO2024093960A1 (en) Verification method and verification apparatus for abnormal transaction coping strategy
US20200226688A1 (en) Computer-readable recording medium recording portfolio presentation program, portfolio presentation method, and information processing apparatus
KR20170094935A (en) System for providing enterprise information and method
CN110197426A (en) A kind of method for building up of credit scoring model, device and readable storage medium storing program for executing
Susanto et al. Decision support systems design on sharia financing using Yager's fuzzy decision model
CN115905625A (en) Transaction relation analysis method and device, electronic equipment and storage medium
CN117391845A (en) Transaction data processing method and device, storage medium and electronic equipment
CN117611256A (en) Bidirectional marketing method and system based on big data of bank
CN115905625B (en) Transaction relationship analysis method, device, electronic device and storage medium
CN115099924A (en) Financial wind control management method and system, equipment and storage medium
HK40085626A (en) Transaction relationship analysis method, device, electronic equpment, and storage medium
CN114820190A (en) Transaction data abnormity determining method, device, equipment, medium and product
CN115115322A (en) Target group identification method, risk assessment method, apparatus, device and medium
CN111027866B (en) Product model construction method, device, electronic equipment and medium
KR20190004887A (en) Method and Apparatus for Analyzing Transaction Relationship Between Companies and Record Medium Storing Program for Executing The Same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40085626

Country of ref document: HK

GR01 Patent grant