Unlock instant, AI-driven research and patent intelligence for your innovation.

Storage method based on graph storage structure

A storage structure and adjacency matrix technology, applied in the storage field, can solve problems such as unsatisfied, and achieve the effect of improving the effectiveness of memory access

Active Publication Date: 2021-12-24
无锡恒鼎超级计算中心有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these sorting and partitioning methods cannot satisfy the precise data access of different granularities in parallel under the NUMA architecture.

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
  • Storage method based on graph storage structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] A storage method based on a graph storage structure provided by Embodiment 1 of the present invention includes an adjacency matrix that can be divided into m layers; the adjacency matrix with the smallest granularity after segmentation is an adjacency matrix of n*n, and the adjacency matrix is ​​the 0th layer Adjacency matrix, according to the row number and column number, respectively establish row and column indexes for the non-zero elements of the 0th layer adjacency matrix; the elements of the i+1th layer adjacency matrix are continuously divided based on the elements of the i-th layer adjacency matrix The partition blocks are formed, and each partition block includes a square matrix composed of elements of the i-th layer adjacency matrix, the i+1-th layer adjacency matrix is ​​an adjacency matrix of j*j, and the i+1-th The non-zero elements of the layer adjacency matrix respectively establish row and column indexes; wherein, n>1, m>1, m-2≥i, n>j, j≥1. The adjacency...

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

A storage method based on a graph storage structure provided by the present invention belongs to the field of storage structures and includes an adjacency matrix capable of m-level segmentation; the adjacency matrix with the smallest granularity after segmentation is an adjacency matrix of n*n, and the adjacency matrix is ​​the first 0-layer adjacency matrix, establish row and column indexes for the non-zero elements of the 0th-layer adjacency matrix according to the row number and column number; the i+1-th layer adjacency matrix is ​​continuously divided on the basis of the i-layer Each element in the adjacency matrix of the +1 layer includes multiple consecutive elements of the i-th layer adjacency matrix, and the i+1-th layer adjacency matrix is ​​an adjacency matrix of j*j, and the i+1-th layer is adjacency according to the row number and column number The non-zero elements of the matrix respectively establish row and column indexes; where, n>1, m>1, m‑2≥i, n>j, j≥1. The storage method based on the graph storage structure provided by the present invention, on the basis of multi-level node segmentation, adds accurate multi-level segmentation block row and column indexes, which is beneficial to improve the efficiency of memory access under different granularities.

Description

technical field [0001] The invention relates to a storage method, in particular to a storage method based on a graph storage structure. Background technique [0002] In scientific computing using unstructured grids, the relationship of data can be abstracted into a graph topology, which is generally represented by a sparse adjacency matrix. In the existing storage structure, the adjacency matrix mostly adopts a row-first storage method, such as the compressed row format CSR (Compressed Sparse Row). In numerical calculations, adjacency matrices with symmetric non-zero elements are also common, and such matrices can also only store the upper or lower triangular matrix row and column indices to represent the complete topological relationship. [0003] Non-Uniform Memory Access (NUMA for short) is the mainstream memory architecture adopted by modern multiprocessor computers, and its memory access time depends on the location of the memory relative to the processor. Therefore, ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/901
CPCG06F16/9024
Inventor 任虎杨广文顾寒锋朱一西刘明
Owner 无锡恒鼎超级计算中心有限公司