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

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

Active Publication Date: 2015-05-06
SINA COM TECH (CHINA) CO LTD +1
View PDF3 Cites 5 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
  • Data packet processing method and device
  • Data packet processing method and device
  • 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. According to the method, network equipment receives a data packet, searches link state information corresponding to the data packet and judges whether routing information is stored in the searched link state information or not, the stored routing information is written into the data packet if the routing information is stored in the searched link state information, the routing information of the data packet is searched in a route cache if not, and the searched routing information is written into the data packet and stored in the link state information corresponding to the data packet. By the mode, the network equipment stores other data packets received by a link besides a first data packet received by each link before submitting the data packets to a network layer, the routing information stored in the link state information of the link is determined as routing information of the other data packets, so that the routing information of the other data packets does not need to be searched from the route cache in the network layer, and data packet processing efficiency of the network equipment is improved.

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