Method for realizing expedited forwarding of data packets in home gateway

A home gateway and accelerated forwarding technology, applied in the field of data communication, can solve the problems of affecting data forwarding speed and high cpu occupancy rate

Active Publication Date: 2011-08-17
SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF2 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, there is a way to accelerate by software, but the problem of occupying cpu resou...

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 expedited forwarding of data packets in home gateway
  • Method for realizing expedited forwarding of data packets in home gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011] see figure 1 , the method for realizing the accelerated forwarding of data packets in the home gateway is realized in the process of matching the routing rules of the data packets with the help of the cpu in the home gateway. The key is: adding data packet input and output interfaces and routing in the switch module of the home gateway Rule storage, on this basis, the following steps are performed:

[0012] a. When the home gateway receives a data packet sent from the network, the data packet is delivered to the switch module through the data packet input interface;

[0013] b. The switch module identifies the identification code in the data packet encoding, and determines the serial number of the data packet, and searches the routing rule for forwarding the data packet stored in the routing rule memory according to the coded serial number. After the matching is completed, the output interface of the switch module directly Skip to step d after the output, if the corres...

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 method for realizing expedited forwarding of data packets in a home gateway, which is realized during the process of performing routing rule matching on the data packets through a cpu (central processing unit) in the home gateway. The key points of the method are that data packet input and output interfaces and a routing rule memory are added in an exchanger module of the home gateway; after coming, the data packets are matched with rules stored in the routing rule memory in the exchanger module; if the matching is successful, the forwarding is directly performed from the exchanger module, and if the matching is unsuccessful, the forwarding enters and is performed through an Linux protocol stack, and the matching rule is recorded in a rule list of the routing rule memory; and when a similar data packet occurs next time, the forwarding can be directly performed through the exchanger module. By adopting the method, the purpose of hardware acceleration is realized, resources in the cpu are not occupied, and the forwarding speed of the data packets is greatly improved.

Description

technical field [0001] The invention belongs to the technical field of data communication, and relates to a method for accelerated forwarding of data packets in a home gateway device. Background technique [0002] With the rapid development of network technology, there are more and more types of home gateway devices, and people have higher and higher performance requirements for home gateway products. In traditional home gateways, data packets are forwarded through the cpu of the home gateway and enter the linux protocol stack for forwarding. When data packets pass through the gateway, they have to go through many paths and match related rules, which will consume a lot of resources. Time, especially some data packets of the same type need to be forwarded multiple times in a short period of time, which seriously affects the frequency of data packet forwarding and the performance of the gateway. If a method for quickly forwarding these same types of data packets can be though...

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/56H04L12/66H04L45/74
Inventor 胡一报胡祖敏汪澜王志波
Owner SHENZHEN GONGJIN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products