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

Implementation method of three-state content addressable memory and device

A technology for addressing memory and an implementation method, which is applied in the field of three-state content addressable memory implementation, and can solve the problems that a single chip is difficult to achieve high capacity, increased complexity, and increased cost.

Inactive Publication Date: 2010-02-17
NEW H3C TECH CO LTD
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The core of TCAM is to compare the input Key with the data and mask stored in TCAM by & (AND) operation. In order to achieve high search performance, it is necessary to compare the Key with all entries in TCAM in a short time. The number of rules increases, and the complexity of the comparison will be greatly increased
For example, TCAM stores 10,000 rules. In order to achieve the performance of 100M searches per second, it is necessary to compare the entire 10,000 rules within 10 ns, which is very difficult.
In addition, due to the large amount of logic resources occupied, it is difficult to achieve high capacity on a single chip under the existing technical conditions, resulting in increased cost and complicated implementation.

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
  • Implementation method of three-state content addressable memory and device
  • Implementation method of three-state content addressable memory and device
  • Implementation method of three-state content addressable memory and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The invention reduces the design difficulty of the traditional TCAM by adding a cache module. High-end routers generally forward on a packet-by-packet basis, that is to say, each packet checks routing or ACL; in fact, packets belonging to the same connection have the same attributes, such as 5-tuples (source IP address, destination IP address, source The port number, destination port, protocol number) are the same, TOS (Type-Of-Service, service type) is the same, and the key value is obtained through the above attributes. For the same attribute message, the key value is the same, and the same key value is checked The result of routing or information flow is the same.

[0042] If you consider that the same connection messages get the same results from the traditional TCAM check, assuming that there are 10 messages for each connection, the first message cannot find matching content in the cache module, so the cache module sends the Key Traditional TCAM, after TCAM finds a m...

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 an implementation method of a three-state content addressable memory, applied to a device comprising a traditional TCAM and a cache module. The method comprises the following steps: acquiring a corresponding key from a received message by the cache module; searching whether a record item matched with the key exists in the cache module or not; returning the record item matched with the key if the record item matched with the key exists in the cache module; and sending the key to the traditional TCAM to search for a matched item if the record item matched with the key does not exist in the cache module. The invention generates a searching cache in a TCAM chip according to a searching key to solve the problems occurring in the prior TCAM.

Description

Technical field [0001] The present invention relates to the field of communication technology, in particular to a method and device for implementing a three-state content addressable memory. Background technique [0002] CAM (Content Addressable Memory, content addressable memory) is a hardware chip dedicated to table lookup operations. Compared with other algorithm-based solutions, CAM has excellent performance and more scalability. High-speed three-state CAM, such as TCAM (Ternary ContentAddressable Memory, three-state content addressable memory) allows the bit field to be masked in three ways: 0, 1 or X (ignored) (hence the name three-state). Determine the longest prefix match. The high-speed performance of TCAM can also be used for wire-speed forwarding of IP packets, and unlike software-based methods, the search performance of TCAM has nothing to do with the size and content of the routing table. [0003] TCAM is commonly used for high-end router routing search, ACL (Access...

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/56G06F12/08
Inventor 宋建明
Owner NEW H3C TECH CO 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