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

Media access control (MAC) address hardware learning method and system based on hash table and ternary content addressable memory (TCAM) table

A technology of MAC address and learning method, which is applied in the field of MAC address hardware learning and system based on hash table and TCAM table, can solve the problem of inflexible application, single hash bucket cannot cache MAC address with the same discrete value, and cache conflict Limited capacity and other issues, to achieve the effect of flexible application, fully controllable conflict probability, and controllable conflict probability

Active Publication Date: 2015-07-01
FENGHUO COMM SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The multi-bucket cache conflict method largely solves the problem that a single hash bucket cannot cache MAC addresses with the same discrete value, and the utilization efficiency of hardware resources is also relatively high. However, this method requires a large number of conflict buckets to work together and requires a dedicated The support of hardware circuits, and the search method of free entries in each conflict bucket requires a dedicated hardware circuit to implement the search algorithm, because the algorithm it implements is not public, so the application is not flexible; in addition, because this method only uses the current conflict The free entry resources in the bucket are used to cache conflicts. Therefore, only up to 8 MAC addresses with the same discrete value can be cached, and the ability to cache conflicts is limited for more severe situations with the same discrete value.

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
  • Media access control (MAC) address hardware learning method and system based on hash table and ternary content addressable memory (TCAM) table
  • Media access control (MAC) address hardware learning method and system based on hash table and ternary content addressable memory (TCAM) table
  • Media access control (MAC) address hardware learning method and system based on hash table and ternary content addressable memory (TCAM) table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0055] TCAM is a three-state content addressable memory. Each bit data in TCAM has three states: in addition to the ordinary "0" and "1", there is also a "don't care" (that is, no need to match the bit) state, so it is called "three states". The "three-state" function is realized by a mask, that is, the mask is 0, which means "don't care" the given key value; the mask is 1, which means that the given key value needs to be exactly matched. This characteristic of TCAM enables it to complete both exact matching and fuzzy matching. Another feature of TCAM is "parallel search", that is, given a key value, TCAM will match all hardware entries at the same time, and return the entry index with the smallest address index value.

[0056] The embodiment of the present invention uses RAM to store the hash table as the main memory for MAC addres...

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

Disclosed in the present invention are a MAC address hardware learning method and system based on a hash table and a TCAM table, relating to the field of MAC address learning. When there is no MAC address conflict, a learnt MAC address is stored in the hash table by means of SRAM or DRAM on hash table hardware; when there is a MAC address conflict, the conflicting MAC address is cached in the TCAM table by means of a TCAM memory on TCAM hardware. Because a parallel search is performed on the TCAM hardware, idle entries can be located by a single search; and the number of the entries of the TCAM is the actual number of conflicting MAC addresses capable of being cached. The present invention can be implemented on a general programmable exchange chip, does not need the support of a dedicated hardware circuit, has a high learning rate, occupies few memory resources, is flexible in application by adopting a general algorithm, and can achieve complete controllability of the conflict probability.

Description

technical field [0001] The present invention relates to the field of MAC (Media Access Control, media access control) address learning, in particular to a MAC address hardware learning based on HASH (hash) table and TCAM (Ternary Content Addressable Memory, ternary content addressable memory) table methods and systems. Background technique [0002] With the development of economic globalization, more and more enterprises are expanding their distribution areas, and there is an urgent need for telecom operators to provide link connections in order to include all branches of enterprises to form a private network within the enterprise. Under such market demands, VPLS (Virtual Private Lan Service, Virtual Private LAN Service) technology emerged as the times require. VPLS technology combines the advantages of Ethernet technology and MPLS (Multi-Protocol Label Switching, Multi-Protocol Label Switching) technology, through The IP (Internet Protocol, Internet Protocol) / MPLS network ...

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/741H04L29/12H04L45/74
CPCH04L49/3009
Inventor 周万涛徐剑辉
Owner FENGHUO COMM SCI & 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