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, 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, inability to cache MAC addresses with the same discrete value in a single hash bucket, and cache conflict. Limited capacity and other problems, to achieve the effect of flexible application, fully controllable conflict probability, and controllable conflict probability

Active Publication Date: 2013-05-22
FENGHUO COMM SCI & TECH CO LTD
View PDF5 Cites 36 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

The invention discloses a media access control (MAC) address hardware learning method and system based on a hash table and a ternary content addressable memory (TCAM) table, and relates to the MAC address learning field. According to the MAC address hardware learning method and system, when no MAC address conflict happens, the hash table is used for storing learned MAC addresses, and a static random access memory (SRAM) or a dynamic random access memory (DRAM) is applied to the hardware of the hash table; and when MAC address conflict happens, the TCAM table is used for caching conflicted MAC addresses, a TCAM storage is applied to the hardware of the TCAM, idle table items can be positioned through one-time searching due to the fact that parallel seeking is performed on the hardware of the TCAM, and the number of the table items of the TCAM is the number of the conflicted MAC addressed which can be practically cached. The MAC address hardware learning method is achieved on a general programmable exchange chip, does not need support of hardware circuits, is high in learning efficiency and small in occupied internal memory resources, is flexible in application due to the fact that the general algorithm is adopted, and can achieve complete control on 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 Applications(China)
IPC IPC(8): H04L12/741H04L29/12H04L45/74
CPCH04L12/00H04L49/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