Method for carrying out LPM rule compression storage based on trie structure realized by software

A technology of compressed storage and software implementation, applied in the storage field, can solve the problem of high time cost, and achieve the effect of reducing the insertion speed, reducing the generation of nodes, and reducing the memory usage

Active Publication Date: 2020-05-22
芯启源(南京)半导体科技有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It performs better for more random rules, but for a large number of rules with similar prefixes, it takes a very high time cost to pick out the appropriate rule compression, and the gain outweighs the gain

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
  • Method for carrying out LPM rule compression storage based on trie structure realized by software
  • Method for carrying out LPM rule compression storage based on trie structure realized by software
  • Method for carrying out LPM rule compression storage based on trie structure realized by software

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 the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below may be combined with each other as long as they do not constitute a conflict with each other.

[0030] It is closely related to the hardware structure. The hardware structure of the storage LPM rule is composed of multiple identical storage modules. If a hardware storage module has a width of 32 bits and a depth of 16K, a group of 4, a total of n groups, such as figure 1 shown.

[0031] Figure 4 It is a schematic flow chart of storing LPM rules according to the present invention. Such ...

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 discloses a method for carrying out LPM rule compression storage based on a trie structure realized by software. When LPM rules are inserted, one thread is started, an insertion positionis directly calculated according to hash, and meanwhile, the other thread is started to accumulate the LPM rules on a trim structure realized by software and count the number of prefixes of each typeso as to select the most suitable LPM rule prefix as a compression basis. When a certain node on the trie structure meets the condition, the related rules are compressed immediately, and redundant space is released. In this way, it is guaranteed that similarity division is conducted on the LPM rules under the condition that insertion and search of the LPM rules are not affected.

Description

technical field [0001] The invention belongs to the technical field of storage, and more specifically relates to a method for performing LPM compression storage based on a trie structure realized by software. Background technique [0002] With the development of the Internet era, especially the realization of 5G technology, the society has a great demand for the speed of network transmission. One of the key factors determining the speed of network transmission is the rate at which large routers or switches look up routes. The key technology for finding routes is the longest prefix match (LPM) to feedback matching results. Based on the solid foundation of IC technology, mega-level LPM rules can be integrated in DDR or dedicated chips. The delivery speed and capacity of the LPM and the returned results corresponding to the LPM have become the focus of technical attention. [0003] To quickly find the longest matching rule from millions of LPM rules, fast indexing is require...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0608G06F3/0638G06F3/0671
Inventor 王娜张仕武张寅俊卢笙陈盈安
Owner 芯启源(南京)半导体科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products