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

A data packet processing method and device

A processing method and data packet technology, applied in the computer field, can solve problems such as reducing the efficiency of network equipment processing data packets and the like

Active Publication Date: 2018-01-26
SINA COM TECH (CHINA) CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a data packet processing method and device, which are used to solve the problem that the processing method of searching routing information from the routing cache for each data packet in the prior art reduces the efficiency of network equipment processing data packets

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 data packet processing method and device
  • A data packet processing method and device
  • A data packet processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] figure 1 The packet processing process provided by the embodiment of the present invention specifically includes the following steps:

[0025] S101: The network device receives a data packet.

[0026] In the embodiment of the present invention, the network device may be a server or a client. Wherein, the server includes but is not limited to: a server us...

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 data packet processing method and device. The method network device receives a data packet, searches for the connection status information corresponding to the data packet, and judges whether routing information is stored in the connection status information found, and if so, writes the saved routing information into the data packet, otherwise, in the Find the routing information of the data packet in the routing cache, write the found routing information into the data packet, and store the routing information in the connection state information corresponding to the data packet. Through the above method, except for the first data packet received through each connection, for other data packets received through the connection, the network device has saved the connection state information of the connection before handing it over to the network layer. The routing information in is determined as the routing information of the other data packets, so that the network layer does not need to search the routing information of the other data packets from the routing cache, thus improving the efficiency of the network device in processing data packets.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data packet processing method and device. Background technique [0002] With the development of computer technology, the development of central processing unit (Central Processing Unit, CPU) has entered the multi-core era, and multi-core CPUs are also increasingly used on servers to handle a large number of transmission control protocol (Transmission Control Protocol, TCP) connections. sent data packets. [0003] In the prior art, a network device can establish a TCP long connection with other devices. When the network device receives a data packet from the TCP long connection, it will search for the routing information of the data packet in the routing cache of the network layer. If the The network device is the destination of the data packet, then the data packet is removed from the Internet Protocol (Internet Protocol, IP) header and delivered to the transport lay...

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): H04L29/08
Inventor 林晓峰陈渝李晓栋茅俊杰何嘉权牟旋
Owner SINA COM TECH (CHINA) CO LTD