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

Synchronization method and device of media access control (MAC) address table

A technology for media access control and synchronization device, which is applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as increasing memory overhead, and achieve the effects of reducing memory usage, reducing usage, and improving real-time performance.

Inactive Publication Date: 2012-06-06
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, the above-mentioned improved synchronization method trades space for time, and each switching chip or network processor needs to open up two memory blocks of the same size as the hardware table, thus greatly increasing the memory overhead

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
  • Synchronization method and device of media access control (MAC) address table
  • Synchronization method and device of media access control (MAC) address table
  • Synchronization method and device of media access control (MAC) address table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The basic idea of ​​the present invention is: the hardware table is divided into several MAC address blocks, the detection cycle is set to be the size of a MAC address block, and the synchronization cycle is the size of a hardware table; when setting up the Shadow table in memory, the size of the Shadow table is set Add a circular table with the size of a MAC address block to the hardware table; correspondingly, only one MAC address block entry is copied and detected in each detection cycle, and when the synchronization cycle is reached, the detected learned and aged MAC addresses can be synchronized to software table.

[0029] In practical applications, the division of several MAC address blocks generally needs to be based on the direct memory access (DMA) and the execution efficiency of the CPU, and the use of equal division values, such as 4 equal divisions, 64 equal divisions, 256 equal divisions, or even larger.

[0030] In the present invention, for the switch chi...

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 synchronization method of a media access control (MAC) address table, comprising the following steps of: dividing a hardware table into more than one MAC address block, and setting a detection cycle to be the size of one MAC address block and a synchronization cycle to the size of the hardware table; building an annular shadow table in an internal memory, wherein the size of the shadow table is same as the size sum of the hardware table and the MAC address block; and copying and detecting a table term of one MAC address block in each detection cycle, and synchronizing the detected learned and aged MAC addresses into a software table when reaching the synchronization cycle. The invention also discloses a synchronization device of the MAC address table simultaneously. By adopting the invention, the occupying space of the internal storage is reduced at the same time of realizing the synchronization of the MAC address table, and the synchronization efficiency is improved.

Description

technical field [0001] The invention relates to media access control (MAC) technology, in particular to a method and device for synchronizing a MAC address table. Background technique [0002] With the development of data communication technology, Ethernet communication equipment uses Ethernet switching chips or network processor chips to forward data frames based on MAC addresses. Usually, the learning and aging of the MAC address are automatically performed by the switching chip. In order to manage the MAC address and execute the central processing unit (CPU) software forwarding of some data frames, the Ethernet communication device needs to create a MAC address table in the memory. Wherein, the MAC address table in the switch chip or the network processor chip is called a hardware MAC address table, which may be referred to as a hardware table for short; the MAC address table in the CPU memory is called a software MAC address table, which may be referred to as a software...

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/56H04L45/74
Inventor 张海峰
Owner ZTE CORP
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