Supercharge Your Innovation With Domain-Expert AI Agents!

Data packet processing method and apparatus, and server

A processing method and data packet technology, applied in the field of communication, can solve problems such as consuming CPU resources, consuming system CPU resources, and not proposing a solution, so as to achieve the effect of reducing resource consumption

Active Publication Date: 2015-07-29
ZTE CORP
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the streaming media server is heavily loaded, a large number of data copying and context switching operations will be triggered, which greatly consumes the CPU resources of the system and reduces the processing capacity of the system.
[0004] It can be seen from the above process that in related technologies, when a user process receives each data packet, it needs to call the system once to make the system receive the data packet, resulting in frequent system calls, greatly consuming CPU resources, and further reducing the performance of the entire system. Reduce the quality of the entire streaming service
[0005] Aiming at the problem of large resource consumption caused by frequent calls to the system when the user process obtains the data packet in the related technology, no effective solution has been proposed so far

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 apparatus, and server
  • Data packet processing method and apparatus, and server
  • Data packet processing method and apparatus, and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0029] An embodiment of the present invention provides a data packet processing method, Figure 1a is a flowchart of a data packet processing method according to an embodiment of the present invention, such as Figure 1a As shown, the method includes the following steps:

[0030] Step S102, the protocol stack responds to the request for receiving data packets in batches, and receives multiple data packets through the kernel debugging mechanism of the operating system;

[0031] Step S104, after the number of multiple data packets is greater than the preset batch threshold, multiple data packets are returned.

[0032] Through the above steps, the method in the related art that the user process needs...

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

Disclosed are a data packet processing method and device, and a server. The method comprises: in response to a request for receiving data packets in batches, receiving, by a protocol stack, a plurality of data packets through an inner core debugging mechanism of an operating system, and returning the plurality of data packets after the number of the plurality of data packets is greater than a pre-set batch threshold value. The present invention solves the problem in the related art that the resource consumption of a protocol stack is large, and has the beneficial effect of reducing the resource consumption.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a data packet processing method, device and server. Background technique [0002] In the application of the streaming media server based on the Linux operating system, the code stream needs to be forwarded. In this process, the data code stream is received, and receiving data packets takes up a lot of CPU resources. Improving the performance of receiving packets directly improves the processing of the server. performance. [0003] figure 1 It is a flowchart of a method for receiving data packets according to related technologies. In related technologies, for each audio stream, it is necessary to use a network socket to call a user data protocol (User Date Protocol, UDP for short) data packet receiving interface , to receive data from the protocol stack. Every time a user process receives a data packet, it needs to use a system call. Each system call needs to switch from the ...

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/801
CPCH04L12/6418
Inventor 王魏强朱志勇
Owner ZTE CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More