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

A home gateway and its method for realizing fast forwarding of data packets

A home gateway and data packet technology, which is applied in the field of data communication, can solve problems such as high CPU usage, unacceptable acceleration, and inability to meet development needs, and achieve the effect of low cost and high forwarding speed

Active Publication Date: 2016-12-14
SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF1 Cites 2 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 resources cannot be solved. If the cpu occupancy rate is too high, it will affect the speed of data forwarding
Some will also add acceleration functions to some devices such as switches, but now gateways have higher requirements for switches, requiring gigabit, and the processing of the switch chip itself is not enough, and it is difficult to withstand the pressure brought by acceleration
Moreover, this design has little scalability and often has limited processing capacity, which cannot meet the needs of existing network development.

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
  • A home gateway and its method for realizing fast forwarding of data packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0022] In this embodiment, the existing CPU in the home gateway is called the main CPU, and the added CPU is called the acceleration CPU. like figure 1 As shown, the method for realizing fast forwarding of data packets is realized by means of the acceleration CPU in the home gateway to carry out the routing rule matching process on the data packets. On this basis, proceed as follows.

[0023] 101. The home gateway receives a data packet from the network.

[0024] 102. Send the data packet to the acceleration CPU.

[0025] 103. The acceleration CPU identifies the type of the received data packet...

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 a home gateway and a method for realizing fast forwarding of data packets, the method comprising the steps of: starting the fast forwarding function of data packets of the second CPU; when the home gateway receives a new data packet, the data packet is Send it to the second CPU first; the second CPU identifies the type of the received data packet and judges whether the data type has been encoded. If it has been encoded, it will obtain the corresponding stored routing rules and forward them directly accordingly. The current data packet is sent to the switch; if it is not encoded, the current data packet is sent to the first CPU; the first CPU encodes and sorts the received data packets, and forwards the current data packets in sequence through the protocol stack to the switch; at the same time, record the encoding information of the current data packet and the routing rules of the data packet in the protocol stack and store them in the second CPU. The invention greatly improves the forwarding speed of the data packet, and the realization cost is low.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to a home gateway and a method for realizing fast forwarding of data packets. 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. The traditional way of forwarding data packets in the home gateway is to pass through the cpu of the home gateway and enter the linux protocol stack for forwarding. When the data packets pass through the home gateway, they have to go through many paths and match related rules, which will consume a lot of time, especially when some data packets of the same type need to be forwarded multiple times in a short period of time, a large number of data packets occupy relatively large system resources, and unnecessary repeated matching processes will also seriously affect the performance...

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/70H04L12/66
Inventor 胡一报王金桂
Owner SHENZHEN GONGJIN ELECTRONICS CO LTD