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

2-level Hierarchical Search Method Based on tcam for Range Multi-Matching

A multi-match and range technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of occupying TCAM space, high search power consumption, high power consumption, etc., to reduce storage space and search power. Consume and reduce the effect of storage space

Active Publication Date: 2018-06-01
BYZORO NETWORK LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] TCAM can be used in packet classification technology mainly because it has the advantages of fast and accurate search speed, general structure and simple operation, but it also has several obvious disadvantages: high cost, high power consumption and complicated routing update
However, this method has disadvantages such as low search efficiency, the need to use extension bits, occupying additional TCAM space, low update efficiency, and the need to preprocess search keywords.
Chinese Patent: A Prefix Extension Method for Triple Content Addressable Memory Range Matching, Application No. 200610011517, Publication No. 101039253B, and Chinese Patent: Segmented Encoding Extension Method for Triple Content Addressable Memory Range Matching, Application No. 200610011465 , Publication No. 101035061B, proposed a prefix extension method and a segmented code extension method to solve the TCAM range matching problem, but these two methods still need several prefixes to replace a range, therefore, they cannot reduce the storage of TCAM very well In addition, if both the source port and the destination port are in the range, since the expansion number of the prefix is ​​the multiplication of the expansion number of the two port prefixes, a rule requires more TCAM entries to store, so it does not Applicable when the rule set contains many fields that contain multiple scopes at the same time
In addition, this paper does not use the idea of ​​TCAM partition search, but only searches all range sets in TCAM, so the search power consumption is much larger than that of the present invention

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
  • 2-level Hierarchical Search Method Based on tcam for Range Multi-Matching
  • 2-level Hierarchical Search Method Based on tcam for Range Multi-Matching
  • 2-level Hierarchical Search Method Based on tcam for Range Multi-Matching

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The technical scheme of the present invention will be described in further detail below in conjunction with specific accompanying drawings:

[0024] 1: Introduction of several terms and technical methods

[0025] 1. Longest Common Prefix (LCP)

[0026] As shown in Table 1, each range is a range interval composed of two endpoint values ​​(here we stipulate that both endpoint values ​​are included in the range), the previous endpoint value is called the starting point, and the latter endpoint value is called end. A range of LCP means that the two endpoint values ​​​​of this range are bitwise ANDed from left to right in binary form until the first two bits are different, and all bits starting from this bit and all subsequent bits are used. "*" replaces the formed three-state form. For example, the starting point of the first range in Table 1 is 10, that is, the 8-bit binary form is 00001010, and its end point is 30, that is, the 8-bit binary form is 00011110. It can be ...

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 proposes a TCAM-based range multi-matching two-level hierarchical search method, and realizes port range multi-matching in the TCAM-based packet classification problem. Its characteristic is that first extracts the wide interval range from the range set, and processes the wide interval range separately, and then, for the remaining range set, merges as many related ranges as possible to form some New range sets, and most of these recombined new ranges are composed of multiple original ranges. Then, for new ranges that contain more than one original range among these new ranges, divide them into several contiguous ranges with a mutual distance of 1. In the search process, first search the merged new range in the first-level TCAM+SRAM, and then determine whether it is necessary to search the second-level TCAM+SRAM according to the search results of the new range set, so that The TCAM-based range multi-matching technology is realized through these two divisional searches.

Description

technical field [0001] The present invention relates to a TCAM (Ternary Content Addressable Memory, three-state content addressable memory)-based two-level hierarchical search method for solving the multi-matching problem of ranges, which is mainly used in network devices such as intrusion detection systems, routers, and switches. The invention belongs to the technical field of network data packet classification in computer network. Background technique [0002] With the rapid development of network technology, especially the emergence of various new network applications in recent years, such as Network Intrusion Detection System (Network Intrusion Detection System, NIDS), Quality of Service (Quality of Service, QoS), Load Balance (Load Balance) etc. need to report all matching results or partial matching results. The traditional software-based packet classification technology is far from meeting the requirements of wire speed, but hardware-based technology can solve this pr...

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): H04L12/741G06F17/30H04L45/74
Inventor 曹小娟
Owner BYZORO NETWORK LTD
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