Parallel prefix data retrieval method and system based on prefix tree structure

A data retrieval and prefix technology, applied in the field of information retrieval, can solve the problems of difficult maintenance, low efficiency, large amount of data, etc., and achieve the effect of improving efficiency

Active Publication Date: 2021-07-09
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to solve the traditional prefix information library construction method (hash table and traditional prefix tree) in the storage and retrieval of massive network prefixes, due to the huge amount of data, the efficiency is low when performing search, insertion and deletion operations, and it is difficult to maintain etc., a parallel prefix matching query technology based on prefix tree structure is proposed

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
  • Parallel prefix data retrieval method and system based on prefix tree structure
  • Parallel prefix data retrieval method and system based on prefix tree structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] When the inventor was conducting research on the optimization of the prefix tree algorithm, he found that the matching search algorithm of the traditional prefix tree is very efficient for processing short-length prefixes, and the processing time gradually increases with the increase of the prefix length. Nowadays, with the improvement of CPU performance and the rapid development of parallel computing, the computing power of computers is no longer the bottleneck of system efficiency improvement, and parallel programming has gradually become a very basic and important part of system design. Therefore, the inventor considers applying parallel programming to the algorithm optimization of the prefix tree. For all prefixes, each segment is divided into multiple segments, and the index entry in each segment can be found through the prefix when performing prefix matching, so that parallel search, insertion, and deletion operations can be performed on each segment, so that even ...

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 relates to a method and system for retrieving prefix data, including: acquiring a network prefix represented by binary, constructing a prefix tree for the network prefix, segmenting the prefix tree to obtain a multi-segment segment tree; Retrieve network prefixes, process the to-be-retrieved network prefixes into segments, obtain multiple segment prefixes, perform concurrent retrieval on the segment tree corresponding to each segment prefix, and obtain the retrieval result r i , which represents the retrieval result of the segment prefix in the i-th segment in the segment-tree of the i-th segment, perform a logical AND operation on all the retrieval results, and use the operation result as the retrieval result of the network prefix to be retrieved. The invention can use the segmented prefix tree structure to construct the information base for the prefix information, and can perform parallelized prefix matching search for the specific prefix, so as to realize the significant improvement of the prefix matching efficiency.

Description

technical field [0001] The invention relates to the field of information retrieval, in particular to a prefix tree structure-based parallel prefix data retrieval method and system. Background technique [0002] With the popularization of the Internet in the information age and the rapid development of emerging services such as big data, network information has shown an explosive growth trend. There is a large amount of network prefix data in the global Internet. In order to be able to manage the Internet well and detect and warn of network anomalies in a timely manner, the organization and construction of the network prefix information base has become extremely important. [0003] A network prefix is ​​a collection of IP addresses, and each prefix represents a small network. In order to be able to manage the Internet well and detect and warn about network anomalies in a timely manner, the organization and construction of the network prefix information base is indispensable...

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 & AuthorityPatents(China)
IPC IPC(8): G06F16/22G06F16/2453
Inventor景全亮孙树冲毕经平
OwnerINST OF COMPUTING TECH CHINESE ACAD OF SCI