Multi-match 2-level hierarchical search method for ranges on basis of TCAM (ternary content addressable memory)

A multi-match and range technology, applied in digital transmission systems, instruments, data exchange networks, etc., can solve the problems of occupying TCAM space, high search power consumption, low update efficiency, etc., to reduce storage space and search power consumption. , the effect of reducing storage space

Active Publication Date: 2014-01-29
BYZORO NETWORK LTD
View PDF7 Cites 21 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. 1010

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
  • Multi-match 2-level hierarchical search method for ranges on basis of TCAM (ternary content addressable memory)
  • Multi-match 2-level hierarchical search method for ranges on basis of TCAM (ternary content addressable memory)
  • Multi-match 2-level hierarchical search method for ranges on basis of TCAM (ternary content addressable memory)

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 provides a multi-match 2-level hierarchical search method for ranges on the basis of a TCAM (ternary content addressable memory). The multi-match 2-level hierarchical search method is characterized by comprising extracting a wide interval range in a range set, and individually processing the wide interval range; merging relevant ranges of remaining ranges in the range set to the greatest extent so as to form a plurality of new range sets; dividing new ranges, which contain more than one original ranges, among new ranges into a plurality of contiguous ranges with mutual distance of 1; searching the merged new ranges in a first-level combination of the TCAM and an SRAM (static random access memory); judging to determine whether a second-level combination of the TCAM and the SRAM needs to be searched or not according to search results of new range sets so as to implement a multi-match technology for the ranges on the basis of the TCAM by two divided search procedures. The recombined new ranges are mostly formed by combining the original multiple original ranges. The multi-match 2-level hierarchical search method has the advantage that multi-match technology for the port ranges can be implemented for packet classification on the basis of the TCAM.

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) ) and so on need to report all matching results or partial matching results. The traditional software-based packet classification technology is far from meeting the wire-speed requirements, but the hardware-based technology can solve...

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): H04L12/741G06F17/30H04L45/74
Inventor 李险峰沈然生阮昭
Owner BYZORO NETWORK LTD
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