Unlock instant, AI-driven research and patent intelligence for your innovation.

MAC address learning method and device, equipment and readable storage medium

A technology of MAC address and learning method, applied in the fields of MAC address learning method, equipment and readable storage medium, and apparatus, can solve the problems of performance problem, time-consuming polling of the forwarding adaptation layer, complicated logic of the forwarding adaptation layer, and the like, Achieve the effect of enhancing reliability and increasing speed

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

AI Technical Summary

Problems solved by technology

[0007] The polling of the forwarding adaptation layer is time-consuming; the logic of the forwarding adaptation layer is complex, and polling, duplicate checking, reporting and retransmission are required, and there are performance problems

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
  • MAC address learning method and device, equipment and readable storage medium
  • MAC address learning method and device, equipment and readable storage medium
  • MAC address learning method and device, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0052] In a first aspect, an embodiment of the present invention provides a device for learning a MAC address.

[0053] refer to figure 1 , figure 1 It is a schematic diagram of the hardware structure of the MAC address learning device involved in the solution of the embodiment of the present invention. In the embodiment of the present invention, the MAC address learning device may include a processor 1001 (such as a central processing unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein, the communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 can include a display screen (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 can optionally include a standa...

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 an MAC address learning method and device, equipment and a readable storage medium. The method comprises the following steps: when an Ethernet message which is a learning message is received from a message entry, storing the Ethernet message into a message queue through a learning message callback function, and recombining, packaging and sending the Ethernet message to a control plane; converting the Ethernet message in the message queue into an MAC table item through an MAC learning thread, writing the MAC table item into a TCAM, and storing a mirror image of the MAC table item in a memory; enabling the control plane to learn a local MAC through a recombined and packaged Ethernet message, notifying a remote end and sending a local MAC table item to a forwarding plane at the same time, and enabling a forwarding plane adaptation layer to write the local MAC table item into the TCAM and setting a matching action to be in a forwarding state; enabling the aging thread to periodically traverse the mirror image cache of the MAC table item, setting the MAC table item in the pseudo existence state to be in the learning state, and writing the MAC table item in the TCAM. According to the invention, the rate of learning the MAC address of the EVPN service is improved, and the reliability of learning the MAC address of the EVPN service is enhanced.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a MAC address learning method, device, equipment and readable storage medium. Background technique [0002] Currently, there are two main ways to learn the local source MAC address: [0003] Method 1: The forwarding chip sends Ethernet packets that need to be learned locally to the control plane to learn the source MAC, and the control plane sends it to the forwarding plane after learning it; Method 2, the forwarding chip learns the source MAC, and the forwarding plane adaptation layer polls Forward the source MAC learned by the chip and send it to the control plane. [0004] Among them, the first method has the following disadvantages: [0005] Repeated sending causes congestion on the signaling channel, some sent messages are discarded, and the control plane processes repeated messages or fails to receive the sent messages, which slows down the learning rate; t...

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/741H04L29/12H04L45/74
CPCH04L45/74H04L2101/622
Inventor 孙小军周坤
Owner FENGHUO COMM SCI & TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More