Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Graph triangle counting method based on bit operation

A counting method and bit operation technology, which is applied in the field of graph analysis, can solve the problems of low calculation and memory access ratio of triangle counting, failure of triangles to meet community discovery, high random data access mode, etc., to speed up the process of triangle counting, simplify calculation types and Control logic, avoiding multiplication operations, and the effect of complex control logic

Inactive Publication Date: 2020-09-25
BEIHANG UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, like most graph processing algorithms, triangle counting has a low computational memory access ratio and a high random data access pattern, so there are frequent data transfers between computing units and memory components, especially the multiplication operation in matrix multiplication Very complex and time-consuming, facing bottlenecks in terms of time and power consumption
The speed of the current triangle counting method to count the triangles in the graph cannot meet the needs of fast community discovery in very large-scale social network graphs.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Graph triangle counting method based on bit operation
  • Graph triangle counting method based on bit operation
  • Graph triangle counting method based on bit operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and accompanying drawings.

[0030] In this embodiment, an unrighted and undirected graph representing social network data is given. Nodes in the graph represent users, and edges represent whether there is an association relationship between users. This embodiment uses the adjacency matrix A to store the nodes and nodes in the social network graph. edge information. When there are 3 users in the social network graph that are associated with each other, a triangle is formed in the graph. Therefore, by calculating the number of triangles in the graph, we can judge the closeness of the connection between users in the social network.

[0031] In the traditional matrix-based triangle counting method, the number of triangles in the figure is expressed as trace(A 3 ) / 6 (trace r...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the field of graph analysis, and relates to a graph triangle counting method based on bit operation. A traditional graph triangle counting method often relates to a large number of matrix multiplication operations and complex control logic. The requirements of quick community discovery and the like in a super-large-scale social network graph cannot be met. According to thegraph triangle counting method based on the bit operation, the graph triangle counting problem is converted into a series of simple bit operations such as Boolean AND operation and bit counting, thecalculation type and the control logic are greatly simplified, and therefore the number of triangles in the graph is efficiently and quickly calculated. Meanwhile, the calculation characteristics of the triangle counting method provided by the invention are suitable for being applied to a novel in-memory calculation architecture.

Description

technical field [0001] The invention belongs to the field of graph analysis, and relates to a fast community discovery method in a super-large-scale social network graph, which includes a graph triangle counting method based on bit operation. Background technique [0002] Triangles are the basic substructure of a graph. The triangle counting problem of the number of triangles in a statistical graph is crucial for analyzing the characteristics of a network. It is usually the first step in calculating indicators such as clustering coefficients and transmissibility. When counting triangles as There are a wide range of applications in basic community discovery, link prediction, and spam filtering. [0003] In the era of big data, the scale of graph data such as social network graphs has shown exponential growth, which puts forward higher requirements for quickly identifying the closeness of user connections in social networks. At present, the triangle counting methods for ident...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/16G06Q50/00
CPCG06F17/10G06Q50/01
Inventor 王雪岩杨建磊赵巍胜
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products