[go: up one dir, main page]

CN111694900A - Network graph processing method and device - Google Patents

Network graph processing method and device Download PDF

Info

Publication number
CN111694900A
CN111694900A CN201910153708.3A CN201910153708A CN111694900A CN 111694900 A CN111694900 A CN 111694900A CN 201910153708 A CN201910153708 A CN 201910153708A CN 111694900 A CN111694900 A CN 111694900A
Authority
CN
China
Prior art keywords
nodes
similarity
network graph
node
network
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
CN201910153708.3A
Other languages
Chinese (zh)
Other versions
CN111694900B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910153708.3A priority Critical patent/CN111694900B/en
Publication of CN111694900A publication Critical patent/CN111694900A/en
Application granted granted Critical
Publication of CN111694900B publication Critical patent/CN111694900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/288Entity relationship models
    • G06Q10/40

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a network graph processing method and device. Wherein the method comprises the following steps: acquiring a network graph to be processed; acquiring characteristic information of at least two nodes in the network graph; acquiring feature similarity between the at least two nodes according to the feature information of the at least two nodes; and compressing the network graph according to the feature similarity between the at least two nodes. By adopting the method provided by the application, the problem that the compressed network graph cannot accurately reflect the service information due to the loss of the service information in the compression process of the network graph is solved.

Description

一种网络图的处理方法及装置A method and device for processing a network graph

技术领域technical field

本申请涉及网络图处理领域,具体涉及一种网络图的处理方法及装置。The present application relates to the field of network graph processing, and in particular to a method and device for processing a network graph.

背景技术Background technique

如今,随着移动设备的普及,各种社交网络被越来越多的人们所使用。随之而来的是,这些社交网络对应的关系网络图的数据规模也呈指数级扩大。Nowadays, with the popularity of mobile devices, various social networks are used by more and more people. It follows that the data scale of the relational network graphs corresponding to these social networks also expands exponentially.

针对这些海量数据的关系网络图进行适当的压缩,降低数据规模,才能够满足关系网络可视化展示以及网络分析的效率要求。Appropriately compress the relational network graph of these massive data and reduce the data scale, so as to meet the efficiency requirements of relational network visualization and network analysis.

在现有技术中,针对网络图的压缩一般是基于扩展路径长度等网络图的结构关系进行网络图的压缩。采用这种压缩方法,虽然可以压缩网络图的数据规模,但是在压缩过程中丢失了大量的业务信息,导致压缩后的网络图不能准确反映业务信息。In the prior art, the compression of the network graph is generally based on the structural relationship of the network graph such as the extension path length to compress the network graph. Using this compression method, although the data scale of the network graph can be compressed, a large amount of business information is lost during the compression process, so that the compressed network graph cannot accurately reflect the business information.

发明内容SUMMARY OF THE INVENTION

本申请提供一种网络图的处理方法及装置,以解决现有技术中,在对网络图的压缩过程中丢失业务信息而导致压缩后的网络图不能准确反映业务信息的问题。The present application provides a method and device for processing a network graph to solve the problem in the prior art that service information is lost in the process of compressing the network graph, so that the compressed network graph cannot accurately reflect the service information.

本申请提供一种网络图的处理方法,包括:The present application provides a method for processing a network graph, including:

获取待处理的网络图;Get the network graph to be processed;

获取所述网络图中至少两个节点的特征信息;acquiring feature information of at least two nodes in the network graph;

根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度;According to the feature information of the at least two nodes, obtain the feature similarity between the at least two nodes;

根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。The network graph is compressed according to the feature similarity between the at least two nodes.

可选的,所述至少两个节点的特征信息包括如下特征信息中的至少一种:Optionally, the feature information of the at least two nodes includes at least one of the following feature information:

所述至少两个节点的类型信息;Type information of the at least two nodes;

所述至少两个节点的度数信息;degree information of the at least two nodes;

所述至少两个节点的属性信息;attribute information of the at least two nodes;

所述至少两个节点中每个节点的相邻节点信息。neighbor node information of each of the at least two nodes.

所述根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度,包括:The obtaining the feature similarity between the at least two nodes according to the feature information of the at least two nodes includes:

获取所述至少两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的至少一种相似度;Obtain at least one similarity among node type similarity, node degree similarity, node attribute similarity, and neighbor similarity between the at least two nodes;

根据所述两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的至少一种相似度,获取所述至少两个节点之间的特征相似度。The feature similarity between the at least two nodes is acquired according to at least one similarity among the node type similarity, the node degree similarity, the node attribute similarity, and the neighbor similarity between the two nodes.

所述获取所述至少两个节点之间的节点类型相似度,包括:根据所述至少两个节点的类型信息,获取所述至少两个节点之间的节点类型相似度;The acquiring the node type similarity between the at least two nodes includes: acquiring the node type similarity between the at least two nodes according to the type information of the at least two nodes;

或者,所述获取所述至少两个节点之间的节点度数相似度,包括:根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数相似度;Alternatively, the acquiring the degree similarity of the nodes between the at least two nodes includes: acquiring the degree similarity of the nodes between the at least two nodes according to the degree information of the at least two nodes;

或者,所述获取所述至少两个节点之间的节点属性相似度,包括:根据所述至少两个节点的属性信息,获取所述至少两个节点之间的节点属性相似度;Alternatively, the obtaining the node attribute similarity between the at least two nodes includes: obtaining the node attribute similarity between the at least two nodes according to the attribute information of the at least two nodes;

或者,所述获取所述至少两个节点之间的邻居相似度,包括:根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的邻居相似度。Alternatively, the obtaining the neighbor similarity between the at least two nodes includes: obtaining the neighbor similarity between the at least two nodes according to the adjacent node information of the at least two nodes.

可选的,所述根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数相似度,包括:Optionally, obtaining the degree similarity of nodes between the at least two nodes according to the degree information of the at least two nodes includes:

根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数差值;According to the degree information of the at least two nodes, obtain the node degree difference between the at least two nodes;

根据所述至少两个节点之间的节点度数差值,获取所述至少两个节点之间的节点度数相似度。Obtain the node degree similarity between the at least two nodes according to the node degree difference between the at least two nodes.

可选的,所述根据所述至少两个节点的相邻节点信息,获取所述两个节点之间的邻居相似度,包括:Optionally, obtaining the neighbor similarity between the two nodes according to the neighbor node information of the at least two nodes includes:

根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的共同邻居节点信息;Acquire common neighbor node information between the at least two nodes according to the adjacent node information of the at least two nodes;

根据所述共同邻居节点信息,获取所述至少两个节点之间的邻居相似度。According to the common neighbor node information, the neighbor similarity between the at least two nodes is obtained.

可选的,所述根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理,包括:Optionally, compressing the network graph according to the feature similarity between the at least two nodes includes:

根据所述至少两个节点之间的特征相似度,判断所述至少两个节点的特征是否相同;According to the feature similarity between the at least two nodes, determine whether the features of the at least two nodes are the same;

若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged.

可选的,所述根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理,包括:Optionally, compressing the network graph according to the feature similarity between the at least two nodes includes:

判断所述至少两个节点之间的特征相似度是否达到或超过相似度阈值;Judging whether the feature similarity between the at least two nodes reaches or exceeds a similarity threshold;

若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged.

可选的,所述网络图的处理方法,还包括:Optionally, the processing method of the network graph further includes:

计算所述网络图的尺寸;calculating the size of the network graph;

根据所述网络图的尺寸,判断是否需要针对所述网络图的节点进行压缩;According to the size of the network graph, determine whether it is necessary to compress the nodes of the network graph;

所述获取所述网络图中至少两个节点的特征信息,包括:如果需要针对所述网络图的节点进行压缩,则获取所述网络图中至少两个节点的特征信息。The acquiring feature information of at least two nodes in the network graph includes: acquiring feature information of at least two nodes in the network graph if the nodes in the network graph need to be compressed.

可选的,所述网络图的处理方法,还包括:Optionally, the processing method of the network graph further includes:

获得客户端查询网络关系的请求;Get the request from the client to query the network relationship;

针对所述查询网络关系的请求,从存储有压缩后的网络图的电子设备中获取压缩后的网络图;For the request for querying the network relationship, obtain the compressed network graph from the electronic device storing the compressed network graph;

从压缩后的网络图中获取网络关系数据;Obtain network relationship data from the compressed network graph;

将所述网络关系数据提供给所述客户端。The network relationship data is provided to the client.

可选的,所述网络图的处理方法,还包括:Optionally, the processing method of the network graph further includes:

获得客户端网络分析的请求;Get a request for client-side network analysis;

针对所述网络分析的请求,从存储有压缩后的网络图的电子设备中获取压缩后的网络图;For the request of the network analysis, obtain the compressed network graph from the electronic device storing the compressed network graph;

对压缩后的网络图进行网络分析,获取网络分析结果;Perform network analysis on the compressed network graph to obtain network analysis results;

将所述网络分析结果提供给所述客户端。The network analysis results are provided to the client.

本申请提供一种网络图的处理装置,包括:The present application provides a processing device for a network graph, including:

网络图获取单元,用于获取待处理的网络图;a network map acquisition unit, used for acquiring the network map to be processed;

特征获取单元,用于获取所述网络图中至少两个节点的特征信息;a feature acquisition unit, configured to acquire feature information of at least two nodes in the network graph;

相似度获取单元,用于根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度;a similarity obtaining unit, configured to obtain the feature similarity between the at least two nodes according to the feature information of the at least two nodes;

压缩处理单元,用于根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。A compression processing unit, configured to perform compression processing on the network graph according to the feature similarity between the at least two nodes.

可选的,所述至少两个节点的特征信息包括如下特征信息中的至少一种:Optionally, the feature information of the at least two nodes includes at least one of the following feature information:

所述至少两个节点的类型信息;Type information of the at least two nodes;

所述至少两个节点的度数信息;degree information of the at least two nodes;

所述至少两个节点的属性信息;attribute information of the at least two nodes;

所述至少两个节点中每个节点的相邻节点信息。neighbor node information of each of the at least two nodes.

可选的,所述相似度获取单元,具体用于:Optionally, the similarity obtaining unit is specifically used for:

获取所述至少两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的至少一种相似度;Obtain at least one similarity among node type similarity, node degree similarity, node attribute similarity, and neighbor similarity between the at least two nodes;

根据所述两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的至少一种相似度,获取所述至少两个节点之间的特征相似度。The feature similarity between the at least two nodes is acquired according to at least one similarity among the node type similarity, the node degree similarity, the node attribute similarity, and the neighbor similarity between the two nodes.

可选的,所述获取所述至少两个节点之间的节点类型相似度,包括:根据所述至少两个节点的类型信息,获取所述至少两个节点之间的节点类型相似度;Optionally, the acquiring the node type similarity between the at least two nodes includes: acquiring the node type similarity between the at least two nodes according to the type information of the at least two nodes;

或者,所述获取所述至少两个节点之间的节点度数相似度,包括:根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数相似度;Alternatively, the acquiring the degree similarity of the nodes between the at least two nodes includes: acquiring the degree similarity of the nodes between the at least two nodes according to the degree information of the at least two nodes;

或者,所述获取所述至少两个节点之间的节点属性相似度,包括:根据所述至少两个节点的属性信息,获取所述至少两个节点之间的节点属性相似度;Alternatively, the acquiring the node attribute similarity between the at least two nodes includes: acquiring the node attribute similarity between the at least two nodes according to the attribute information of the at least two nodes;

或者,所述获取所述至少两个节点之间的邻居相似度,包括:根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的邻居相似度。Alternatively, the obtaining the neighbor similarity between the at least two nodes includes: obtaining the neighbor similarity between the at least two nodes according to the adjacent node information of the at least two nodes.

可选的,所述相似度获取单元,还用于:Optionally, the similarity obtaining unit is further used for:

根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数差值;According to the degree information of the at least two nodes, obtain the node degree difference between the at least two nodes;

根据所述至少两个节点之间的节点度数差值,获取所述至少两个节点之间的节点度数相似度。Obtain the node degree similarity between the at least two nodes according to the node degree difference between the at least two nodes.

可选的,所述相似度获取单元,还用于:Optionally, the similarity obtaining unit is further used for:

根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的共同邻居节点信息;Acquire common neighbor node information between the at least two nodes according to the adjacent node information of the at least two nodes;

根据所述共同邻居节点信息,获取所述至少两个节点之间的邻居相似度。According to the common neighbor node information, the neighbor similarity between the at least two nodes is obtained.

可选的,所述压缩处理单元,具体用于:Optionally, the compression processing unit is specifically used for:

根据所述至少两个节点之间的特征相似度,判断所述至少两个节点的特征是否相同;According to the feature similarity between the at least two nodes, determine whether the features of the at least two nodes are the same;

若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged.

可选的,所述压缩处理单元,具体用于:Optionally, the compression processing unit is specifically used for:

判断所述至少两个节点之间的特征相似度是否达到或超过相似度阈值;Judging whether the feature similarity between the at least two nodes reaches or exceeds a similarity threshold;

若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged.

可选的,所述网络图的处理装置,还包括判断单元,所述判断单元用于:Optionally, the processing device of the network diagram further includes a judgment unit, and the judgment unit is used for:

计算所述网络图的尺寸;calculating the size of the network graph;

根据所述网络图的尺寸,判断是否需要针对所述网络图的节点进行压缩;According to the size of the network graph, determine whether it is necessary to compress the nodes of the network graph;

所述获取所述网络图中至少两个节点的特征信息,包括:如果需要针对所述网络图的节点进行压缩,则获取所述网络图中至少两个节点的特征信息。The acquiring feature information of at least two nodes in the network graph includes: acquiring feature information of at least two nodes in the network graph if the nodes in the network graph need to be compressed.

可选的,所述网络图的处理装置,还包括第一处理单元,所述第一处理单元用于:Optionally, the apparatus for processing the network map further includes a first processing unit, where the first processing unit is configured to:

获得客户端查询网络关系的请求;Get the request from the client to query the network relationship;

针对所述查询网络关系的请求,从存储有压缩后的网络图的电子设备中获取压缩后的网络图;For the request for querying the network relationship, obtain the compressed network graph from the electronic device storing the compressed network graph;

从压缩后的网络图中获取网络关系数据;Obtain network relationship data from the compressed network graph;

将所述网络关系数据提供给所述客户端。The network relationship data is provided to the client.

可选的,所述网络图的处理装置,还包括第二处理单元,所述第二处理单元用于:Optionally, the apparatus for processing the network graph further includes a second processing unit, where the second processing unit is configured to:

获得客户端网络分析的请求;Get a request for client-side network analysis;

针对所述网络分析的请求,从存储有压缩后的网络图的电子设备中获取压缩后的网络图;For the request of the network analysis, obtain the compressed network graph from the electronic device storing the compressed network graph;

对压缩后的网络图进行网络分析,获取网络分析结果;Perform network analysis on the compressed network graph to obtain network analysis results;

将所述网络分析结果提供给所述客户端。The network analysis results are provided to the client.

本申请提供一种用电子设备,所述电子设备包括:The application provides an electronic device, the electronic device includes:

处理器;processor;

存储器,用于存储程序,所述程序在被所述处理器读取执行时,执行如下操作:The memory is used to store a program, and when the program is read and executed by the processor, the following operations are performed:

获取待处理的网络图;Get the network graph to be processed;

获取所述网络图中至少两个节点的特征信息;acquiring feature information of at least two nodes in the network graph;

根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度;According to the feature information of the at least two nodes, obtain the feature similarity between the at least two nodes;

根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。The network graph is compressed according to the feature similarity between the at least two nodes.

本申请提供一种计算机可读取存储介质,其上存储有计算机程序,该程序被处理器执行时,实现以下步骤:The present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:

获取待处理的网络图;Get the network graph to be processed;

获取所述网络图中至少两个节点的特征信息;acquiring feature information of at least two nodes in the network graph;

根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度;According to the feature information of the at least two nodes, obtain the feature similarity between the at least two nodes;

根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。The network graph is compressed according to the feature similarity between the at least two nodes.

本申请提供一种网络图的处理方法,包括:The present application provides a method for processing a network graph, including:

获得原始网络图;get the original network graph;

输出压缩后的网络图;Output the compressed network diagram;

其中,在所述压缩后的网络图中至少有一个节点是所述原始网络图中的至少两个节点被合并后形成的节点;Wherein, at least one node in the compressed network graph is a node formed by merging at least two nodes in the original network graph;

其中,所述至少两个节点的特征相同,或者所述至少两个节点之间的特征相似度达到或超过相似度阈值。Wherein, the features of the at least two nodes are the same, or the feature similarity between the at least two nodes reaches or exceeds a similarity threshold.

与现有技术相比,本申请具有如下优点:Compared with the prior art, the present application has the following advantages:

采用本申请提供的方法,根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度,根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。由于在对网络图的压缩过程中考虑了节点之间的特征相似度,所以尽量保证压缩后的网络图不丢失业务信息,从而使得压缩后的网络图能够尽量准确地反映业务信息。Using the method provided in the present application, the feature similarity between the at least two nodes is obtained according to the feature information of the at least two nodes, and the network is analyzed according to the feature similarity between the at least two nodes. The image is compressed. Since the feature similarity between nodes is considered in the process of compressing the network graph, try to ensure that the compressed network graph does not lose service information, so that the compressed network graph can reflect the service information as accurately as possible.

附图说明Description of drawings

图1是本申请第一实施例提供的网络图的处理方法的流程图;1 is a flowchart of a method for processing a network graph provided by a first embodiment of the present application;

图2是本申请第一实施例涉及的应用实例的网络图的处理方法的流程图;2 is a flowchart of a method for processing a network diagram of an application instance involved in the first embodiment of the present application;

图3是本申请第一实施例涉及的应用实例的网络图压缩效果图;3 is a network diagram compression effect diagram of an application example involved in the first embodiment of the present application;

图4是本申请第二实施例提供的网络图的处理装置的示意图;4 is a schematic diagram of an apparatus for processing a network map provided by a second embodiment of the present application;

图5是本申请第五实施例提供的网络图的处理方法的流程图。FIG. 5 is a flowchart of a method for processing a network graph provided by a fifth embodiment of the present application.

具体实施方式Detailed ways

在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似推广,因此本申请不受下面公开的具体实施的限制。In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar promotions without departing from the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

本申请第一实施例提供一种网络图的处理方法。请参看图1,该图为本申请第一实施例的流程图。以下结合图1对本申请第一实施例提供一种网络图的处理方法进行详细说明。所述方法包括如下步骤:The first embodiment of the present application provides a method for processing a network graph. Please refer to FIG. 1 , which is a flowchart of the first embodiment of the present application. A method for processing a network graph provided by the first embodiment of the present application will be described in detail below with reference to FIG. 1 . The method includes the following steps:

步骤S101:获取待处理的网络图。Step S101: Obtain the network graph to be processed.

本步骤用于获取待处理的网络图。This step is used to obtain the network graph to be processed.

网络图是一种用来建模实体之间关系的数据结构,它由点集和边集构成,其中点集是实体的集合,边集是实体之间关系的集合。A network graph is a data structure used to model relationships between entities. It consists of point sets and edge sets, where a point set is a set of entities and an edge set is a set of relationships between entities.

例如,广泛被人们使用的社交网络,就可以使用网络图来表示。在建立网络图之后,就可以进行网络分析等操作,获取有价值的信息。例如,通过对社交网络图进行分析,可以获得人与人之间的好友关系,电子邮件的发送关系等等。For example, a social network that is widely used by people can be represented using a network graph. After the network diagram is established, operations such as network analysis can be performed to obtain valuable information. For example, by analyzing the social network graph, it is possible to obtain the friendship relationship between people, the sending relationship of e-mails, and so on.

步骤S102:获取所述网络图中至少两个节点的特征信息。Step S102: Obtain characteristic information of at least two nodes in the network graph.

本步骤用于获取所述网络图中至少两个节点的特征信息。本申请中的特征信息包括业务特征信息。This step is used to acquire feature information of at least two nodes in the network graph. The feature information in this application includes service feature information.

所述至少两个节点的特征信息包括如下特征信息中的至少一种:The feature information of the at least two nodes includes at least one of the following feature information:

所述至少两个节点的类型信息;Type information of the at least two nodes;

所述至少两个节点的度数信息;degree information of the at least two nodes;

所述至少两个节点的属性信息;attribute information of the at least two nodes;

所述至少两个节点中每个节点的相邻节点信息。neighbor node information of each of the at least two nodes.

例如,以电商网络图为例,在该网络图中,网络图节点的节点类型可以包括商家,用户,产品等。商家类型节点的属性可以包括店铺的地址,店铺的访问量,店铺的月销量等信息。用户类型节点的属性可以包括用户的购买数量等。商品类型节点的属性,可以包括商品的价格,商品的产地,商品的制造商等信息。用户通过在商家购买产品这个操作,实现了三种网络类型节点的连接;在网络图中,不同类型的边(用户购买物品,用户出现在某个地理位置)描述了网络图的结构信息。节点的度数是指与网络图中的节点具有直接连接关系的节点的个数。节点的邻居信息,可以包括该节点的邻居节点的信息。For example, taking an e-commerce network diagram as an example, in the network diagram, the node types of the network diagram nodes may include merchants, users, products, and the like. The attributes of the merchant type node can include information such as the address of the store, the number of visits to the store, and the monthly sales of the store. The attributes of the user type node may include the purchase quantity of the user and the like. The attributes of the commodity type node can include information such as the price of the commodity, the origin of the commodity, and the manufacturer of the commodity. The user realizes the connection of three network types of nodes through the operation of purchasing products at the merchant; in the network graph, different types of edges (the user purchases the item, the user appears in a certain geographical location) describes the structural information of the network graph. The degree of a node refers to the number of nodes that are directly connected to the nodes in the network graph. The neighbor information of the node may include information of the neighbor nodes of the node.

步骤S103:根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度。Step S103: Obtain the feature similarity between the at least two nodes according to the feature information of the at least two nodes.

本步骤用于根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度。This step is used to obtain the feature similarity between the at least two nodes according to the feature information of the at least two nodes.

本实施例提供的网络图压缩方法,针对现有技术中,针对网络图压缩的时候只考虑结构压缩,丢失了业务信息的问题,提出了节点之间业务相似度的概念。所述节点之间的业务相似度可以根据节点的类型信息、节点的度数信息、节点的属性信息、节点的相邻节点信息等维度获取。通过这种方式获得的特征相似度,更多地从网络图的业务角度出发,进而根据特征相似度针对网络图进行压缩,避免了传统的网络图压缩引起的弊端。The network graph compression method provided in this embodiment proposes the concept of service similarity between nodes in view of the problem that only structural compression is considered when compressing a network graph, and service information is lost. The business similarity between the nodes may be obtained according to the type information of the node, the degree information of the node, the attribute information of the node, the information of the adjacent nodes of the node and other dimensions. The feature similarity obtained in this way is more from the business perspective of the network graph, and then the network graph is compressed according to the feature similarity, which avoids the drawbacks caused by traditional network graph compression.

所述根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度,包括:The obtaining the feature similarity between the at least two nodes according to the feature information of the at least two nodes includes:

获取所述至少两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的至少一种相似度;Obtain at least one similarity among node type similarity, node degree similarity, node attribute similarity, and neighbor similarity between the at least two nodes;

根据所述两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的至少一种相似度,获取所述至少两个节点之间的特征相似度。The feature similarity between the at least two nodes is acquired according to at least one similarity among the node type similarity, the node degree similarity, the node attribute similarity, and the neighbor similarity between the two nodes.

所述获取所述至少两个节点之间的节点类型相似度,包括:根据所述至少两个节点的类型信息,获取所述至少两个节点之间的节点类型相似度;The acquiring the node type similarity between the at least two nodes includes: acquiring the node type similarity between the at least two nodes according to the type information of the at least two nodes;

或者,所述获取所述至少两个节点之间的节点度数相似度,包括:根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数相似度;Alternatively, the acquiring the degree similarity of the nodes between the at least two nodes includes: acquiring the degree similarity of the nodes between the at least two nodes according to the degree information of the at least two nodes;

或者,所述获取所述至少两个节点之间的节点属性相似度,包括:根据所述至少两个节点的属性信息,获取所述至少两个节点之间的节点属性相似度;Alternatively, the obtaining the node attribute similarity between the at least two nodes includes: obtaining the node attribute similarity between the at least two nodes according to the attribute information of the at least two nodes;

或者,所述获取所述至少两个节点之间的邻居相似度,包括:根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的邻居相似度。Alternatively, the obtaining the neighbor similarity between the at least two nodes includes: obtaining the neighbor similarity between the at least two nodes according to the adjacent node information of the at least two nodes.

本实施例提供的网络图节点之间的特征相似度,可以只依据所述两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的一种来获取。这里的特征相似度可以从[0,100]的区间中选取。100代表两个节点的特征相同,0代表两个节点的特征完全不相似。例如,将节点类型相似度作为特征相似度,这样节点类型相同的节点之间的特征相似度就为100。The feature similarity between the nodes of the network graph provided in this embodiment can be obtained only according to one of the node type similarity, the node degree similarity, the node attribute similarity, and the neighbor similarity between the two nodes. . The feature similarity here can be selected from the interval [0, 100]. 100 means that the characteristics of the two nodes are the same, and 0 means that the characteristics of the two nodes are completely dissimilar. For example, the node type similarity is taken as the feature similarity, so that the feature similarity between nodes with the same node type is 100.

另外,本实施例提供的网络图节点之间的特征相似度,也可以依据所述两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的多种来获取。例如,网络图节点之间的特征相似度可以根据两个节点之间的节点类型相似度、节点度数相似度来计算,或者网络图节点之间的特征相似度也可以根据两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度来计算。In addition, the feature similarity between the network graph nodes provided in this embodiment may also be based on a variety of node type similarity, node degree similarity, node attribute similarity, and neighbor similarity between the two nodes. to obtain. For example, the feature similarity between nodes in the network graph can be calculated according to the node type similarity and the node degree similarity between two nodes, or the feature similarity between nodes in the network graph can also be calculated according to the similarity between two nodes. Node type similarity, node degree similarity, node attribute similarity, and neighbor similarity are calculated.

这里需要指出的是,在上述计算网络图节点之间的特征相似度的过程中,可以针对不同维度的特征相似度分配不同的权重。请参见如下特征相似度的计算公式:It should be pointed out here that, in the above process of calculating the feature similarity between network graph nodes, different weights may be assigned to the feature similarity of different dimensions. Please refer to the following formula for calculating feature similarity:

Figure BDA0001980703990000091
Figure BDA0001980703990000091

其中,K为网络图节点之间的特征相似度,i是代表特征维度的变量,n是特征维度的个数,ai是第i个特征维度的权重值,ki是第i个特征维度的相似度。Among them, K is the feature similarity between network graph nodes, i is the variable representing the feature dimension, n is the number of feature dimensions, a i is the weight value of the ith feature dimension, and ki is the ith feature dimension similarity.

例如,如果网络图节点之间的特征相似度只需要考虑节点类型相似度、节点度数相似度,则此时n=2,k1代表节点类型相似度,a1代表节点类型相似度的权重值,k2代表节点度数相似度,a2代表节点度数相似度的权重值。此时,网络图节点之间的特征相似度的计算过程为:For example, if the feature similarity between network graph nodes only needs to consider the node type similarity and the node degree similarity, then n=2, k 1 represents the node type similarity, and a 1 represents the weight value of the node type similarity , k 2 represents the node degree similarity, and a 2 represents the weight value of the node degree similarity. At this time, the calculation process of feature similarity between network graph nodes is:

Figure BDA0001980703990000092
Figure BDA0001980703990000092

上述计算过程中,节点度数相似度的权重值、节点类型相似度的权重值既可以根据经验人工给定,也可以通过机器学习等其他方法获得。In the above calculation process, the weight value of node degree similarity and the weight value of node type similarity can either be manually given according to experience, or obtained by other methods such as machine learning.

所述根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数相似度,包括:The obtaining, according to the degree information of the at least two nodes, the degree similarity of the nodes between the at least two nodes includes:

根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数差值;According to the degree information of the at least two nodes, obtain the node degree difference between the at least two nodes;

根据所述至少两个节点之间的节点度数差值,获取所述至少两个节点之间的节点度数相似度。Obtain the node degree similarity between the at least two nodes according to the node degree difference between the at least two nodes.

如果是三个及三个以上个节点,那么所述至少两个节点之间的节点度数差值是指其中任意两个节点之间的差值。例如现在有四个节点A(8),B(7),C(4),D(1),大写字母表示节点,大写字母后的括号内是表示该节点的度数,那么此时获取所述至少两个节点之间的节点度数差值,包括获取差值AB(1),AC(3),AD(7),BC(3),BD(6),CD(3),其中,两个连续的大写的字母代表两个节点的差值,两个字母后的括号中是该差值的具体数字。If there are three or more nodes, the node degree difference between the at least two nodes refers to the difference between any two nodes. For example, there are now four nodes A(8), B(7), C(4), D(1). The capital letters represent the nodes, and the parentheses after the capital letters represent the degree of the node, then get the The node degree difference between at least two nodes, including obtaining the difference AB(1), AC(3), AD(7), BC(3), BD(6), CD(3), where two Consecutive uppercase letters represent the difference between two nodes, and the specific number of the difference is in parentheses after the two letters.

一般而言,具有相同节点度数的节点具有比较高的特征相似度。这里,可以根据两个节点的节点度数差值来判断节点间的特征相似度。在具体实现中,可以使用两个节点的节点度数差值的绝对值来判断节点间的特征相似度。该绝对值越小,则两个节点的特征越相近。Generally speaking, nodes with the same node degree have relatively high feature similarity. Here, the feature similarity between the nodes can be judged according to the difference between the node degrees of the two nodes. In a specific implementation, the absolute value of the node degree difference between the two nodes can be used to determine the feature similarity between the nodes. The smaller the absolute value is, the closer the features of the two nodes are.

网络图中的节点类型也是计算特征相似度的重要因素。如果两个节点的类型相同,则认为两个节点之间的特征相似度较高。如果两个节点的类型不相同,则需要根据两个节点的类型之间的相似度来判断。The node type in the network graph is also an important factor in calculating feature similarity. If two nodes are of the same type, the feature similarity between two nodes is considered to be high. If the types of the two nodes are not the same, it needs to be judged according to the similarity between the types of the two nodes.

例如,有三种类型的节点,分别为商家、用户、产品,则具有相同的类型的节点之间具有较高的相似度。针对不同类型的节点之间的相似度,可以通过查询节点类型相似度字典获得。所述节点类型相似度字典使用机器学习的方法从历史数据中学习不同类型节点的距离,根据所述不同类型节点之间的距离,建立节点类型相似度字典。For example, if there are three types of nodes, namely merchants, users, and products, nodes with the same type have high similarity. The similarity between different types of nodes can be obtained by querying the node type similarity dictionary. The node type similarity dictionary uses a machine learning method to learn distances of different types of nodes from historical data, and establishes a node type similarity dictionary according to the distances between the different types of nodes.

此外,网络图中的节点属性也是计算特征相似度的重要因素。如果两个节点的属性相同,则认为两个节点之间的特征相似度较高。如果两个节点的属性不相同,则需要根据两个节点的属性之间的相似度来判断。In addition, the node attributes in the network graph are also important factors for calculating feature similarity. If the attributes of the two nodes are the same, the feature similarity between the two nodes is considered to be high. If the attributes of the two nodes are not the same, it needs to be judged according to the similarity between the attributes of the two nodes.

例如,商家类型的节点,其属性可以包括店铺的地址,店铺的访问量,店铺的月销量。如果商家类型的节点A和商家类型的B都具有所述店铺的地址,店铺的访问量,店铺的月销量等三种相同属性,则认为商家A和商家B具有较高的相似度。如果商家类型的节点A和商家类型的节点B具有互不相同的属性,则通过查询节点属性相似度字典获得节点之间的相似度。所述节点属性相似度字典使用机器学习的方法从历史数据中学习不同属性的距离,根据所述属性之间的距离,建立节点属性相似度字典。For example, for a node of merchant type, its attributes may include the address of the store, the number of visits to the store, and the monthly sales of the store. If both node A of the merchant type and B of the merchant type have the same three attributes as the address of the store, the number of visits to the store, and the monthly sales volume of the store, it is considered that the merchant A and the merchant B have a high degree of similarity. If the merchant-type node A and the merchant-type node B have mutually different attributes, the similarity between the nodes is obtained by querying the node attribute similarity dictionary. The node attribute similarity dictionary uses a machine learning method to learn distances of different attributes from historical data, and establishes a node attribute similarity dictionary according to the distances between the attributes.

所述根据所述至少两个节点的相邻节点信息,获取所述两个节点之间的邻居相似度,包括:The obtaining the neighbor similarity between the two nodes according to the neighbor node information of the at least two nodes includes:

根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的共同邻居节点信息;Acquire common neighbor node information between the at least two nodes according to the adjacent node information of the at least two nodes;

根据所述共同邻居节点信息,获取所述至少两个节点之间的邻居相似度。According to the common neighbor node information, the neighbor similarity between the at least two nodes is obtained.

所述共同邻居节点信息可以为节点的相邻节点集合。在具体实现过程中,一般使用Jaccard相似指数来计算,如下面的公式所示。The common neighbor node information may be a set of neighbor nodes of the node. In the specific implementation process, the Jaccard similarity index is generally used to calculate, as shown in the following formula.

Figure BDA0001980703990000101
Figure BDA0001980703990000101

其中,A代表其中节点1的相邻节点集合,B代表其中节点2的相邻节点集合,J代表节点1和节点2之间的相似指数,这里的相似指数节点1和节点2之间的邻居相似度。通过这个公式可以发现,A和B之间相同的节点越多,则J越大。Among them, A represents the adjacent node set of node 1, B represents the adjacent node set of node 2, J represents the similarity index between node 1 and node 2, and the similarity index here is the neighbor between node 1 and node 2 similarity. It can be found from this formula that the more identical nodes between A and B, the larger J is.

在具体实现过程中,还可以使用Jaccard距离来表示,计算公式如下:In the specific implementation process, the Jaccard distance can also be used to represent the calculation formula as follows:

dj=1-j(A,B)d j =1-j(A, B)

其中,dj表示Jaccard距离,j(A,B)为Jaccard相似指数。通过这个公式可以发现,A和B之间相同的节点越多,则dj越小。Among them, d j represents the Jaccard distance, and j(A, B) is the Jaccard similarity index. Through this formula, it can be found that the more the same nodes between A and B, the smaller the d j .

步骤S104:根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。Step S104: Compress the network graph according to the feature similarity between the at least two nodes.

本步骤用于根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。This step is used to compress the network graph according to the feature similarity between the at least two nodes.

所述根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理,包括:The performing compression processing on the network graph according to the feature similarity between the at least two nodes includes:

根据所述至少两个节点之间的特征相似度,判断所述至少两个节点的特征是否相同;According to the feature similarity between the at least two nodes, determine whether the features of the at least two nodes are the same;

若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged.

根据步骤S103获得两个节点之间的特征相似度之后,首先要判断两个节点之间的特征是否完全相同,例如具有相同的节点类型、节点属性等。如果这些特征都完全相同,则认为这两个节点的特征完全相同。如果两个节点的特征完全相同,则要将这个两个节点合为一个节点,同时合并对应的关系。After obtaining the feature similarity between the two nodes according to step S103, it is first necessary to judge whether the features between the two nodes are completely the same, for example, have the same node type, node attribute and so on. If these features are all identical, the two nodes are considered to have identical features. If the characteristics of the two nodes are exactly the same, the two nodes should be combined into one node, and the corresponding relationship should be combined at the same time.

所述根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理,包括:The performing compression processing on the network graph according to the feature similarity between the at least two nodes includes:

判断所述至少两个节点之间的特征相似度是否达到或超过相似度阈值;Judging whether the feature similarity between the at least two nodes reaches or exceeds a similarity threshold;

若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged.

本实施例提供的网络图的处理方法,优先针对特征完全相同的节点合并。在针对特征完全相同的节点合并之后,如果还需要进一步网络图的压缩,则考虑合并特征比较接近的节点。在具体实施中,可以通过相似度阈值来表示判别特征是否相似的门槛。如果两个节点之间的特征相似度达到或超过相似度阈值,则将所述至少两个节点进行合并处理。In the method for processing a network graph provided in this embodiment, nodes with identical features are merged preferentially. After merging nodes with identical features, if further network graph compression is required, consider merging nodes with similar features. In a specific implementation, a threshold for judging whether the features are similar may be represented by a similarity threshold. If the feature similarity between the two nodes reaches or exceeds the similarity threshold, the at least two nodes are merged.

所述网络图的处理方法,还包括:The method for processing the network graph, further comprising:

计算所述网络图的尺寸;calculating the size of the network graph;

根据所述网络图的尺寸,判断是否需要针对所述网络图的节点进行压缩;According to the size of the network graph, determine whether it is necessary to compress the nodes of the network graph;

所述获取所述网络图中至少两个节点的特征信息,包括:如果需要针对所述网络图的节点进行压缩,则获取所述网络图中至少两个节点的特征信息。The acquiring feature information of at least two nodes in the network graph includes: acquiring feature information of at least two nodes in the network graph if the nodes in the network graph need to be compressed.

本实施例中,网络图的尺寸可以使用网络图占用的空间大小来表示,也可以使用网络图的节点数目来表示。In this embodiment, the size of the network graph may be represented by the size of the space occupied by the network graph, or may be represented by the number of nodes in the network graph.

所述网络图的处理方法,还包括:The method for processing the network graph, further comprising:

获得客户端查询网络关系的请求;Get the request from the client to query the network relationship;

针对所述查询网络关系的请求,从存储有压缩后的网络图的电子设备中获取压缩后的网络图;For the request for querying the network relationship, obtain the compressed network graph from the electronic device storing the compressed network graph;

根据所述查询网络关系的请求,从压缩后的网络图中获取网络关系数据;Obtain network relationship data from the compressed network graph according to the request for querying network relationships;

将所述网络关系数据提供给所述客户端。The network relationship data is provided to the client.

在将所述网络图压缩后,可以根据用户的请求完成各种业务。例如,根据用户查询网络关系的请求,向客户提供网络关系数据。After the network graph is compressed, various services can be completed according to the user's request. For example, according to the user's request to query the network relationship, the network relationship data is provided to the customer.

所述网络图的处理方法,还包括:The method for processing the network graph, further comprising:

获得客户端网络分析的请求;Get a request for client-side network analysis;

针对所述网络分析的请求,从存储有压缩后的网络图的电子设备中获取压缩后的网络图;For the request of the network analysis, obtain the compressed network graph from the electronic device storing the compressed network graph;

根据所述网络分析的请求,对压缩后的网络图进行网络分析,获取网络分析结果;According to the request of the network analysis, network analysis is performed on the compressed network graph to obtain the network analysis result;

将所述网络分析结果提供给所述客户端。The network analysis results are provided to the client.

在将所述网络图压缩后,还可以根据用户网络分析的请求,向客户提供网络分析结果。After the network graph is compressed, the network analysis result can also be provided to the client according to the user's request for network analysis.

图2是采用本实施例提供的网络图的处理方法的一个应用实例的流程图。该应用实例首先执行步骤S201:计算网络图的尺寸。随后,执行步骤S202:判断是否压缩,该步骤根据网络图的大小判断是否需要针对网络图进行压缩。如果不需要压缩,则结束流程。如果需要压缩,则执行步骤S203:根据网络图节点的类型、度数、邻居、属性等特征计算各节点的特征。进而,执行步骤S204:判断是否特征相同,根据各节点的特征判断特征是否相同,如果特征相同,则执行步骤S205:压缩特征相同的节点。如果特征不相同,则执行步骤S206:压缩特征相似的节点。在压缩完成后,执行步骤S207,计算网络图的尺寸。根据网络图的尺寸,执行步骤S208:判断是否进一步压缩。如果需要进一步压缩,则重新进入步骤S203。FIG. 2 is a flowchart of an application example of the method for processing a network graph provided by this embodiment. The application example first performs step S201 : calculating the size of the network graph. Then, step S202 is executed: judging whether to compress, this step judges whether the network graph needs to be compressed according to the size of the network graph. If no compression is required, end the process. If compression is required, step S203 is performed: the characteristics of each node are calculated according to the type, degree, neighbor, attribute and other characteristics of the nodes in the network graph. Further, step S204 is performed to determine whether the features are the same, and whether the features are the same is determined according to the features of each node. If the features are the same, step S205 is performed to compress nodes with the same features. If the features are not the same, step S206 is performed: compressing nodes with similar features. After the compression is completed, step S207 is executed to calculate the size of the network graph. According to the size of the network graph, step S208 is executed: it is judged whether to further compress. If further compression is required, step S203 is re-entered.

图3是根据图2的应用实例的压缩效果示意图。图3中,每一行是一个压缩实例的效果示意图。FIG. 3 is a schematic diagram of a compression effect according to the application example of FIG. 2 . In Figure 3, each row is a schematic diagram of the effect of a compression instance.

从图3中的第一行可以看出,特征相同或者特征相似的节点1、2、3被压缩成节点4。As can be seen from the first row in Figure 3, nodes 1, 2, and 3 with the same or similar features are compressed into node 4.

在图3的第二行中,首先,特征相同或者特征相似的节点5、6、7被压缩成节点10,特征相同或者特征相似的节点8、9被压缩成节点11,然后,特征相同或者特征相似的节点10、11被压缩成节点12。In the second row of Figure 3, firstly, nodes 5, 6, 7 with the same or similar features are compressed into node 10, nodes 8 and 9 with the same or similar features are compressed into node 11, and then, the same or similar features are compressed into node 11. Nodes 10 , 11 with similar characteristics are compressed into node 12 .

在图3的第三行中,首先,特征相同或者特征相似的节点13、14、15被压缩成节点18,特征相同或者特征相似的节点16、17被压缩成节点19,然后,特征相同或者特征相似的节点18、19被压缩成节点20。In the third row of Figure 3, firstly, nodes 13, 14, 15 with the same or similar features are compressed into nodes 18, nodes 16, 17 with the same or similar features are compressed into nodes 19, and then, the same or similar features are compressed into nodes 19. Nodes 18 , 19 with similar characteristics are compressed into node 20 .

从图3中可以看出,特征相同或者特征相似的节点被合并,从而最大化的保留了业务信息。As can be seen from Figure 3, nodes with the same or similar features are merged, thereby maximizing the retention of service information.

在上述的实施例中,提供了一种网络图的处理方法,与之相对应的,本申请还提供一种网络图的处理装置。请参看图4,其为本申请的一种网络图的处理装置实施例的流程图。由于本实施例,即第二实施例,基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。下述描述的装置实施例仅仅是示意性的。In the above-mentioned embodiments, a method for processing a network graph is provided, and correspondingly, the present application also provides a device for processing a network graph. Please refer to FIG. 4 , which is a flowchart of an embodiment of an apparatus for processing a network map of the present application. Since this embodiment, that is, the second embodiment, is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts. The apparatus embodiments described below are merely illustrative.

本实施例的一种网络图的处理装置,包括:A device for processing a network graph in this embodiment includes:

网络图获取单元401,用于获取待处理的网络图;A network map obtaining unit 401, used to obtain a network map to be processed;

特征获取单元402,用于获取所述网络图中至少两个节点的特征信息;A feature obtaining unit 402, configured to obtain feature information of at least two nodes in the network graph;

相似度获取单元403,用于根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度;A similarity obtaining unit 403, configured to obtain the feature similarity between the at least two nodes according to the feature information of the at least two nodes;

压缩处理单元404,用于根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。The compression processing unit 404 is configured to perform compression processing on the network graph according to the feature similarity between the at least two nodes.

本实施例中,所述至少两个节点的特征信息包括如下特征信息中的至少一种:In this embodiment, the feature information of the at least two nodes includes at least one of the following feature information:

所述至少两个节点的类型信息;Type information of the at least two nodes;

所述至少两个节点的度数信息;degree information of the at least two nodes;

所述至少两个节点的属性信息;attribute information of the at least two nodes;

所述至少两个节点中每个节点的相邻节点信息。neighbor node information of each of the at least two nodes.

本实施例中,所述相似度获取单元,具体用于:In this embodiment, the similarity obtaining unit is specifically used for:

根据所述至少两个节点的类型信息,获取所述至少两个节点之间的节点类型相似度;Obtain the node type similarity between the at least two nodes according to the type information of the at least two nodes;

根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数相似度;According to the degree information of the at least two nodes, obtain the degree similarity of the nodes between the at least two nodes;

根据所述至少两个节点的属性信息,获取所述至少两个节点之间的节点属性相似度;According to the attribute information of the at least two nodes, obtain the node attribute similarity between the at least two nodes;

根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的邻居相似度;Obtain the neighbor similarity between the at least two nodes according to the neighbor node information of the at least two nodes;

根据所述两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的至少一种相似度,获取所述至少两个节点之间的特征相似度。The feature similarity between the at least two nodes is acquired according to at least one similarity among the node type similarity, the node degree similarity, the node attribute similarity, and the neighbor similarity between the two nodes.

本实施例中,所述相似度获取单元,还用于:In this embodiment, the similarity obtaining unit is also used for:

根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数差值;According to the degree information of the at least two nodes, obtain the node degree difference between the at least two nodes;

根据所述至少两个节点之间的节点度数差值,获取所述至少两个节点之间的节点度数相似度。Obtain the node degree similarity between the at least two nodes according to the node degree difference between the at least two nodes.

本实施例中,所述相似度获取单元,还用于:In this embodiment, the similarity obtaining unit is also used for:

根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的共同邻居节点信息;Acquire common neighbor node information between the at least two nodes according to the adjacent node information of the at least two nodes;

根据所述共同邻居节点信息,获取所述至少两个节点之间的邻居相似度。According to the common neighbor node information, the neighbor similarity between the at least two nodes is obtained.

本实施例中,所述压缩处理单元,具体用于:In this embodiment, the compression processing unit is specifically used for:

根据所述至少两个节点之间的特征相似度,判断所述至少两个节点的特征是否相同;According to the feature similarity between the at least two nodes, determine whether the features of the at least two nodes are the same;

若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged.

本实施例中,所述压缩处理单元,具体用于:In this embodiment, the compression processing unit is specifically used for:

判断所述至少两个节点之间的特征相似度是否达到或超过相似度阈值;Judging whether the feature similarity between the at least two nodes reaches or exceeds a similarity threshold;

若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged.

本实施例中,所述网络图的处理装置,还包括判断单元,所述判断单元用于:In this embodiment, the processing device for the network diagram further includes a judgment unit, and the judgment unit is used for:

计算所述网络图的尺寸;calculating the size of the network graph;

根据所述网络图的尺寸,判断是否需要针对所述网络图的节点进行压缩;According to the size of the network graph, determine whether it is necessary to compress the nodes of the network graph;

所述获取所述网络图中至少两个节点的特征信息,包括:如果需要针对所述网络图的节点进行压缩,则获取所述网络图中至少两个节点的特征信息。The acquiring feature information of at least two nodes in the network graph includes: acquiring feature information of at least two nodes in the network graph if the nodes in the network graph need to be compressed.

本实施例中,所述网络图的处理装置,还包括第一处理单元,所述第一处理单元用于:In this embodiment, the apparatus for processing the network map further includes a first processing unit, where the first processing unit is configured to:

获得客户端查询网络关系的请求;Get the client's request to query the network relationship;

针对所述查询网络关系的请求,从存储有压缩后的网络图的电子设备中获取压缩后的网络图;For the request for querying the network relationship, obtain the compressed network graph from the electronic device storing the compressed network graph;

根据所述查询网络关系的请求,从压缩后的网络图中获取网络关系数据;Obtain network relationship data from the compressed network graph according to the request for querying network relationships;

将所述网络关系数据提供给所述客户端。The network relationship data is provided to the client.

本实施例中,所述网络图的处理装置,还包括第二处理单元,所述第二处理单元用于:In this embodiment, the device for processing the network map further includes a second processing unit, where the second processing unit is configured to:

获得客户端网络分析的请求;Get a request for client-side network analysis;

针对所述网络分析的请求,从存储有压缩后的网络图的电子设备中获取压缩后的网络图;For the request of the network analysis, obtain the compressed network graph from the electronic device storing the compressed network graph;

根据所述网络分析的请求,对压缩后的网络图进行网络分析,获取网络分析结果;According to the request of the network analysis, network analysis is performed on the compressed network graph to obtain the network analysis result;

将所述网络分析结果提供给所述客户端。The network analysis results are provided to the client.

本申请第三实施例提供一种用电子设备,所述电子设备包括:A third embodiment of the present application provides an electronic device, the electronic device comprising:

处理器;processor;

存储器,用于存储程序,所述程序在被所述处理器读取执行时,执行本申请第一实施例提供的一种网络图的处理方法。The memory is used for storing a program, and when the program is read and executed by the processor, the program executes the method for processing a network graph provided by the first embodiment of the present application.

本申请第四实施例提供一种计算机可读取存储介质,其上存储有计算机程序,该程序被处理器执行时,执行本申请第一实施例提供的一种网络图的处理方法。A fourth embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for processing a network graph provided by the first embodiment of the present application is executed.

本申请第五实施例提供一种网络图的处理方法,包括:A fifth embodiment of the present application provides a method for processing a network graph, including:

步骤S501:获得原始网络图。Step S501: Obtain the original network graph.

步骤S502:输出压缩后的网络图。Step S502: Output the compressed network graph.

步骤S503:其中,在所述压缩后的网络图中至少有一个节点是所述原始网络图中的至少两个节点被合并后形成的节点。Step S503: wherein, at least one node in the compressed network graph is a node formed by merging at least two nodes in the original network graph.

步骤S504:其中,所述至少两个节点的特征相同,或者所述至少两个节点之间的特征相似度达到或超过相似度阈值。Step S504: wherein the features of the at least two nodes are the same, or the feature similarity between the at least two nodes reaches or exceeds a similarity threshold.

本实施例提供的方法用于输出采用本申请第一实施例提供的网络图的处理方法压缩的网络图,这里描述的比较简单,详细内容请参考第一实施例。The method provided in this embodiment is used to output a network graph compressed by the processing method of the network graph provided in the first embodiment of the present application. The description here is relatively simple, and for details, please refer to the first embodiment.

本申请虽然以较佳实施例公开如上,但其并不是用来限定本申请,任何本领域技术人员在不脱离本申请的精神和范围内,都可以做出可能的变动和修改,因此本申请的保护范围应当以本申请权利要求所界定的范围为准。Although the present application is disclosed above with preferred embodiments, it is not intended to limit the present application. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the present application The scope of protection shall be subject to the scope defined by the claims of this application.

在一个典型的配置中,计算设备包括一个或多个操作器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more operating units (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

1、计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media、),如调制的数据信号和载波。1. Computer readable media includes both persistent and non-permanent, removable and non-removable media. Information storage can be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory computer-readable media (transitory media,) such as modulated data signals and carrier waves.

2、本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。2. Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

Claims (15)

1.一种网络图的处理方法,其特征在于,包括:1. a processing method of network graph, is characterized in that, comprises: 获取待处理的网络图;Get the network graph to be processed; 获取所述网络图中至少两个节点的特征信息;acquiring feature information of at least two nodes in the network graph; 根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度;According to the feature information of the at least two nodes, obtain the feature similarity between the at least two nodes; 根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。The network graph is compressed according to the feature similarity between the at least two nodes. 2.根据权利要求1所述的网络图的处理方法,其特征在于,所述至少两个节点的特征信息包括如下特征信息中的至少一种:2. The method for processing a network graph according to claim 1, wherein the characteristic information of the at least two nodes comprises at least one of the following characteristic information: 所述至少两个节点的类型信息;Type information of the at least two nodes; 所述至少两个节点的度数信息;degree information of the at least two nodes; 所述至少两个节点的属性信息;attribute information of the at least two nodes; 所述至少两个节点中每个节点的相邻节点信息。neighbor node information of each of the at least two nodes. 3.根据权利要求1所述的网络图的处理方法,其特征在于,所述根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度,包括:3. The method for processing a network graph according to claim 1, wherein the obtaining the feature similarity between the at least two nodes according to the feature information of the at least two nodes comprises: 获取所述至少两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的至少一种相似度;Obtain at least one similarity among node type similarity, node degree similarity, node attribute similarity, and neighbor similarity between the at least two nodes; 根据所述两个节点之间的节点类型相似度、节点度数相似度、节点属性相似度、邻居相似度中的至少一种相似度,获取所述至少两个节点之间的特征相似度。The feature similarity between the at least two nodes is acquired according to at least one similarity among the node type similarity, the node degree similarity, the node attribute similarity, and the neighbor similarity between the two nodes. 4.根据权利要求3所述的网络图的处理方法,其特征在于,所述获取所述至少两个节点之间的节点类型相似度,包括:根据所述至少两个节点的类型信息,获取所述至少两个节点之间的节点类型相似度;4 . The method for processing a network graph according to claim 3 , wherein the obtaining the node type similarity between the at least two nodes comprises: obtaining, according to the type information of the at least two nodes, obtaining the node type similarity between the at least two nodes; 或者,所述获取所述至少两个节点之间的节点度数相似度,包括:根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数相似度;Alternatively, the acquiring the degree similarity of the nodes between the at least two nodes includes: acquiring the degree similarity of the nodes between the at least two nodes according to the degree information of the at least two nodes; 或者,所述获取所述至少两个节点之间的节点属性相似度,包括:根据所述至少两个节点的属性信息,获取所述至少两个节点之间的节点属性相似度;Alternatively, the obtaining the node attribute similarity between the at least two nodes includes: obtaining the node attribute similarity between the at least two nodes according to the attribute information of the at least two nodes; 或者,所述获取所述至少两个节点之间的邻居相似度,包括:根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的邻居相似度。Alternatively, the obtaining the neighbor similarity between the at least two nodes includes: obtaining the neighbor similarity between the at least two nodes according to the adjacent node information of the at least two nodes. 5.根据权利要求4所述的网络图的处理方法,其特征在于,所述根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数相似度,包括:5 . The method for processing a network graph according to claim 4 , wherein the obtaining, according to the degree information of the at least two nodes, the degree similarity of the nodes between the at least two nodes comprises: 5 . 根据所述至少两个节点的度数信息,获取所述至少两个节点之间的节点度数差值;According to the degree information of the at least two nodes, obtain the node degree difference between the at least two nodes; 根据所述至少两个节点之间的节点度数差值,获取所述至少两个节点之间的节点度数相似度。Obtain the node degree similarity between the at least two nodes according to the node degree difference between the at least two nodes. 6.根据权利要求4所述的网络图的处理方法,其特征在于,所述根据所述至少两个节点的相邻节点信息,获取所述两个节点之间的邻居相似度,包括:6. The method for processing a network graph according to claim 4, wherein the obtaining the neighbor similarity between the two nodes according to the adjacent node information of the at least two nodes comprises: 根据所述至少两个节点的相邻节点信息,获取所述至少两个节点之间的共同邻居节点信息;Acquire common neighbor node information between the at least two nodes according to the adjacent node information of the at least two nodes; 根据所述共同邻居节点信息,获取所述至少两个节点之间的邻居相似度。According to the common neighbor node information, the neighbor similarity between the at least two nodes is obtained. 7.根据权利要求1所述的网络图的处理方法,其特征在于,所述根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理,包括:7. The method for processing a network graph according to claim 1, wherein the compressing the network graph according to the feature similarity between the at least two nodes comprises: 根据所述至少两个节点之间的特征相似度,判断所述至少两个节点的特征是否相同;According to the feature similarity between the at least two nodes, determine whether the features of the at least two nodes are the same; 若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged. 8.根据权利要求1所述的网络图的处理方法,其特征在于,所述根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理,包括:8. The method for processing a network graph according to claim 1, wherein the compressing the network graph according to the feature similarity between the at least two nodes comprises: 判断所述至少两个节点之间的特征相似度是否达到或超过相似度阈值;Judging whether the feature similarity between the at least two nodes reaches or exceeds a similarity threshold; 若是,则将所述至少两个节点进行合并处理。If so, the at least two nodes are merged. 9.根据权利要求1所述的网络图的处理方法,其特征在于,还包括:9. The processing method of a network graph according to claim 1, characterized in that, further comprising: 计算所述网络图的尺寸;calculating the size of the network graph; 根据所述网络图的尺寸,判断是否需要针对所述网络图的节点进行压缩;According to the size of the network graph, determine whether it is necessary to compress the nodes of the network graph; 所述获取所述网络图中至少两个节点的特征信息,包括:如果需要针对所述网络图的节点进行压缩,则获取所述网络图中至少两个节点的特征信息。The acquiring feature information of at least two nodes in the network graph includes: acquiring feature information of at least two nodes in the network graph if the nodes in the network graph need to be compressed. 10.根据权利要求1所述的网络图的处理方法,其特征在于,还包括:10. The method for processing a network graph according to claim 1, further comprising: 获得客户端查询网络关系的请求;Get the request from the client to query the network relationship; 针对所述查询网络关系的请求,从存储有压缩后的网络图的电子装置中获取压缩后的网络图;For the request for querying the network relationship, obtain the compressed network graph from the electronic device storing the compressed network graph; 从压缩后的网络图中获取网络关系数据;Obtain network relationship data from the compressed network graph; 将所述网络关系数据提供给所述客户端。The network relationship data is provided to the client. 11.根据权利要求1所述的网络图的处理方法,其特征在于,还包括:11. The method for processing a network graph according to claim 1, further comprising: 获得客户端网络分析的请求;Get a request for client-side network analysis; 针对所述网络分析的请求,从存储有压缩后的网络图的电子设备中获取压缩后的网络图;For the request of the network analysis, obtain the compressed network graph from the electronic device storing the compressed network graph; 对压缩后的网络图进行网络分析,获取网络分析结果;Perform network analysis on the compressed network graph to obtain network analysis results; 将所述网络分析结果提供给所述客户端。The network analysis results are provided to the client. 12.一种网络图的处理装置,其特征在于,包括:12. A device for processing a network graph, comprising: 网络图获取单元,用于获取待处理的网络图;a network map acquisition unit, used for acquiring the network map to be processed; 特征获取单元,用于获取所述网络图中至少两个节点的特征信息;a feature acquisition unit, configured to acquire feature information of at least two nodes in the network graph; 相似度获取单元,用于根据所述至少两个节点的特征信息,获取所述至少两个节点之间的特征相似度;a similarity obtaining unit, configured to obtain the feature similarity between the at least two nodes according to the feature information of the at least two nodes; 压缩处理单元,用于根据所述至少两个节点之间的特征相似度,对所述网络图进行压缩处理。A compression processing unit, configured to perform compression processing on the network graph according to the feature similarity between the at least two nodes. 13.一种电子设备,其特征在于,所述电子设备包括:13. An electronic device, characterized in that the electronic device comprises: 处理器;processor; 存储器,用于存储程序,所述程序在被所述处理器读取执行时,执行如权利要求1-11任意一项所述方法。The memory is used for storing a program, and when the program is read and executed by the processor, the method according to any one of claims 1-11 is executed. 14.一种计算机可读取存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时,执行如权利要求1-11任意一项所述方法。14. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the method according to any one of claims 1-11 is executed. 15.一种网络图的处理方法,其特征在于,包括:15. A method for processing a network graph, comprising: 获得原始网络图;get the original network graph; 输出压缩后的网络图;Output the compressed network diagram; 其中,在所述压缩后的网络图中至少有一个节点是所述原始网络图中的至少两个节点被合并后形成的节点;Wherein, at least one node in the compressed network graph is a node formed by merging at least two nodes in the original network graph; 其中,所述至少两个节点的特征相同,或者所述至少两个节点之间的特征相似度达到或超过相似度阈值。Wherein, the features of the at least two nodes are the same, or the feature similarity between the at least two nodes reaches or exceeds a similarity threshold.
CN201910153708.3A 2019-02-28 2019-02-28 Method and device for processing a network graph Active CN111694900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910153708.3A CN111694900B (en) 2019-02-28 2019-02-28 Method and device for processing a network graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153708.3A CN111694900B (en) 2019-02-28 2019-02-28 Method and device for processing a network graph

Publications (2)

Publication Number Publication Date
CN111694900A true CN111694900A (en) 2020-09-22
CN111694900B CN111694900B (en) 2023-06-13

Family

ID=72474429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153708.3A Active CN111694900B (en) 2019-02-28 2019-02-28 Method and device for processing a network graph

Country Status (1)

Country Link
CN (1) CN111694900B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388024A (en) * 2008-10-09 2009-03-18 浙江大学 An Efficient Search Method for Compressed Space Based on Complex Networks
US20120269200A1 (en) * 2011-04-21 2012-10-25 International Business Machines Corporation Similarity Searching in Large Disk-Based Networks
US8606787B1 (en) * 2010-09-15 2013-12-10 Google Inc. Social network node clustering system and method
CN107103551A (en) * 2017-03-20 2017-08-29 重庆邮电大学 A kind of coauthorship network community division method of selected seed node
CN107357858A (en) * 2017-06-30 2017-11-17 中山大学 A kind of network reconstruction method based on geographical position
CN108009690A (en) * 2017-12-22 2018-05-08 北京工业大学 A kind of routine bus system optimized based on modularity steals group's automatic testing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388024A (en) * 2008-10-09 2009-03-18 浙江大学 An Efficient Search Method for Compressed Space Based on Complex Networks
US8606787B1 (en) * 2010-09-15 2013-12-10 Google Inc. Social network node clustering system and method
US20120269200A1 (en) * 2011-04-21 2012-10-25 International Business Machines Corporation Similarity Searching in Large Disk-Based Networks
CN107103551A (en) * 2017-03-20 2017-08-29 重庆邮电大学 A kind of coauthorship network community division method of selected seed node
CN107357858A (en) * 2017-06-30 2017-11-17 中山大学 A kind of network reconstruction method based on geographical position
CN108009690A (en) * 2017-12-22 2018-05-08 北京工业大学 A kind of routine bus system optimized based on modularity steals group's automatic testing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梁宗文;杨帆;李建平;: "基于节点相似性度量的社团结构划分方法" *

Also Published As

Publication number Publication date
CN111694900B (en) 2023-06-13

Similar Documents

Publication Publication Date Title
US20160203191A1 (en) Recommendation system with metric transformation
US10467636B2 (en) Implementing retail customer analytics data model in a distributed computing environment
WO2017080398A1 (en) Method and apparatus for dividing user group
CN107464132B (en) Similar user mining method and device and electronic equipment
CN105335409A (en) Target user determination method and device and network server
WO2018196424A1 (en) Recommendation method and apparatus
WO2016101811A1 (en) Information arrangement method and apparatus
CN109934684A (en) A product recommendation method, device, terminal and storage medium
TWI780355B (en) Damage assessment method and device for maintenance object, and electronic equipment
CN103455555B (en) Recommendation method and recommendation apparatus based on mobile terminal similarity
CN114065015B (en) Search recommendation methods, devices and equipment
CN115129791A (en) A data compression storage method, device and device
CN116167005A (en) Abnormality judgment method and device for target account, computer equipment and storage medium
CN110874786B (en) False transaction group identification method, device and computer readable medium
CN111143546A (en) Method and device for obtaining recommendation language and electronic equipment
CN114970758A (en) Data analysis method and device, electronic equipment and computer storage medium
CN111694900B (en) Method and device for processing a network graph
CN110929285B (en) Method and device for processing private data
CN111291019B (en) Similarity discrimination method and device for data model
CN110555053B (en) Method and apparatus for outputting information
CN111260402A (en) Brand competitiveness analysis method and device
CN112150225A (en) Article information feedback method, device, equipment and computer readable storage medium
CN110222259A (en) A kind of information recommendation method, device and storage medium
CN115700517A (en) Method, device, processor and electronic equipment for mining relationship graph of bank customers
CN116340392A (en) Data speculation method and device

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
GR01 Patent grant
GR01 Patent grant