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

Method for realizing fast forwarding of two-layer data packet of gateway equipment

A layer 2 data packet and gateway device technology, applied in the network field, can solve problems such as load exceeding CPU processing capacity

Inactive Publication Date: 2016-06-15
SHANGHAI GONGJIN COMM TECH
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Generally speaking, the chip solutions adopted by ordinary gateway devices are mainly developed based on LinuxKernel. LinuxKernel has developed to a very standard status, and the internal path of data packets is completely in accordance with the specifications defined by the TCP / IP protocol stack. The original kernel developers did not optimize the forwarding of these paths. For gateways, which are used for massive data forwarding, various complex business data in the live network will undoubtedly bring the problem that the load exceeds the processing capacity of the CPU. The accelerated processing of data packets becomes a key issue

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
  • Method for realizing fast forwarding of two-layer data packet of gateway equipment
  • Method for realizing fast forwarding of two-layer data packet of gateway equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to describe the technical content of the present invention more clearly, further description will be given below in conjunction with specific embodiments.

[0024] Layer 2 data forwarding is implemented based on the MAC address. In the Linux kernel, it is implemented through the bridge function. The bridge is also commonly known as a soft bridge. It will establish a mapping table FDB according to the source MAC and destination MAC of the message ( ForwardingDataBase, forwarding data table),

[0025] When the data packet arrives at the bridge for processing, it will first search the FDB table according to the destination MAC. If found, the data packet will be sent out through the corresponding network interface, otherwise it will be flooded to all network ports of the soft bridge.

[0026] The principle of acceleration is to use the FDB table to achieve, the key lies in the following points:

[0027] (1) The source and destination MAC must have been established...

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 relates to a method for realizing fast forwarding of a two-layer data packet of gateway equipment. The method comprises the steps of: establishing a data structure storage message for a newly received network data packet and creating a hashed value for the data structure storage message, forwarding the messages of the data packet, recording and updating records of the corresponding hashed values, and establishing expedited forwarding rules; and judging whether the expedited forwarding rules corresponding to the messages of the data packet exist in a fast forwarding database after receiving a subsequent network data packet, and processing the forwarding of the corresponding subsequent network data packet according to the expedited forwarding rules. By adopting the method for realizing fast forwarding of the two-layer data packet of the gateway equipment, a Linux core bridge is used for achieving the purpose of accelerating a behavior recording function of the forwarding database FDB and the messages of the two-layer data packet, a data packet forwarding path is optimized, the forwarding capability of the data packet is improved, the load of service data on CPU processing is reduced, the method is suitable for equipment applied to mass data forwarding, and the method has a wider application range.

Description

technical field [0001] The present invention relates to the field of network technology, in particular to the technical field of gateway equipment Layer 2 data packet acceleration, and specifically refers to a method for realizing fast forwarding of Gateway equipment Layer 2 data packets. Background technique [0002] The home gateway is a device purely used for data forwarding. In order to cope with various complex services in the existing network and improve the user's online experience, it has become very important. With the rapid development of the Internet today, if the bottom user access layer appears Various network bandwidth limitations will undoubtedly be a major bottleneck. At the same time, in view of the high-pressure competitive environment in the market, the cost of gateway equipment manufacturers, and the inability to improve the ability of data forwarding on the hardware, the study of improving the forwarding ability of data packets through software has change...

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/721H04L12/741H04L12/803H04L12/823H04L45/74H04L47/32
CPCH04L45/14H04L45/66H04L45/745H04L47/125H04L47/32
Inventor 方建江姜定勇刘东明
Owner SHANGHAI GONGJIN COMM TECH