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

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

CN103546378AActive Publication Date: 2014-01-29BYZORO NETWORK LTD

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
29 Jan 2014
Publication
CN103546378A
IPC
H04L12/741; G06F17/30; H04L45/74
Inventors
李险峰; 沈然生