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

Packet forwarding method and equipment

A forwarding method and data packet technology, applied in the field of network communication, can solve problems such as long data packet processing time, affecting device throughput, and inability to process data packets

Inactive Publication Date: 2011-07-13
ZTE CORP
View PDF2 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Before the communication device forwards the received data packet, it needs to perform complex protocol stack processing on the data packet, which makes the processing time of the data packet longer, resulting in a relatively low forwarding efficiency of the communication device for the data packet. Data packets cannot be processed in time, which will cause packet loss and affect the throughput of the device

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
  • Packet forwarding method and equipment
  • Packet forwarding method and equipment
  • Packet forwarding method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0069] Such as figure 2 As shown, the method flow of this embodiment is specifically as follows:

[0070] Step S101: After the device receives the data packet, first analyze the information of the data packet to determine whether the data packet can be accelerated, if yes, go to step S102, otherwise, go to step S105;

[0071] Step S102: According to the basic information of the data packet, query whether there is a record of the same flow in the acceleration entry;

[0072] Step S103: Judge whether the search is hit, if yes, go to step S104, otherwise, go to step S105;

[0073] Step S104: Apply the processing result recorded in the hit acceleration entry to the data packet, that is, modify the data packet and its corresponding management sk_buff and the status in the protocol stack according to the processing result, and go to step S107;

[0074] Step S105: Perform normal protocol stack processing on the data packet;

[0075] Step S106: Record the basic information of the data packet an...

Embodiment 2

[0086] In this embodiment, a data packet forwarding device is provided to simplify data processing procedures and improve device throughput. Such as image 3 As shown, the device includes:

[0087] The data packet analysis and matching module 201 is used to extract the basic information of the data packet when a data packet is received, and search the acceleration linked list for matching; the data packet modification sending module 202 is used to modify the processing result recorded in the hit acceleration entry Data packet, and find the corresponding sending port to send the packet. The data packet information recording module 203 is used to record the basic information of the packet and the result of the packet processed by the protocol stack. The accelerated entry aging module 204 is used to delete the accelerated entries that have not been hit in a period of time from the linked list.

[0088] Among them, the data packet analysis and matching module 201 includes two parts: ...

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 embodiment of the invention discloses a packet forwarding method and equipment which relate to the field of network communication and are used for improving the packet forwarding efficiency of communication equipment. In the invention, when the packet to be forwarded is received, the communication equipment searches for the recorded protocol stack processing result of a historical packet belonging to the same data stream as the packet to be forwarded, processes the packet to be forwarded according to the searched protocol stack processing result, and forwards the processed packet. According to the invention, as the protocol stack processing is not needed for each received packet to be forwarded, and the packet to be forwarded can be processed according to the protocol stack processing result of the recorded historical packet, the processing time of the packet to be forwarded is shortened, and the packet forwarding efficiency of the communication equipment is greatly improved.

Description

Technical field [0001] The present invention relates to the field of network communication, in particular to a data packet forwarding method and equipment. Background technique [0002] In the field of network communication, some communication devices such as modems use software to forward network data packets, that is, all network data packets are processed by the CPU to determine whether to forward and how to forward. [0003] Modems usually have two application modes: bridge and routing. The data packets forwarded by the modem, such as those received from the LAN port, are forwarded through a Layer 2 bridge, or transmitted through a Layer 3 route through the PPPoE or IPoE WAN interface, which is processed by numerous protocol stacks. For example, the data packets that go through the Layer 2 bridge need to go through various filtering rules processing, look up and update the content addressable memory (CAM) table, determine the forwarding interface and other processes; while goi...

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/56H04L29/06H04L29/12
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