Network data package sending method and device

A network data packet and sending method technology, applied in the field of communication, can solve the problems of consuming CPU resources, affecting timer accuracy, frequent system calls, etc., to achieve the effect of reducing the number of system calls, improving performance, and reducing consumption

Inactive Publication Date: 2015-06-17
ZTE CORP
View PDF7 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] It can be seen that since the timing call in the user state cannot achieve a high time schedule, and the call switching between business threads will also affect the accuracy of the timer, calling a system call for each data packet will cause frequent system calls , thus greatly consuming CPU resources, resulting in reduced overall system performance and overall streaming media service quality
[0006] Aiming at the problem that the streaming media file transfer method in the related technology is easy to reduce the performance of the entire system and the quality of the entire streaming media service, no effective solution has been proposed yet

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
  • Network data package sending method and device
  • Network data package sending method and device
  • Network data package sending method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] 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.

[0027] Embodiments of the present invention relate to the field of network communication in the computer application field, and mainly provide a method and device for sending network data packets. Of course, in practical applications, this method can also be applied to similar computer application fields.

[0028] An embodiment of the present invention provides a method for sending network data packets. figure 2 is a flowchart of a method for sending network data packets according to an embodiment of the present invention, such as figure 2 As shown, the method mainly includes the following steps (step S202-step S206):

[0029] Step S202, the kernel space of the Linux operating system receives a ...

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 present invention discloses a network data packet sending method and device. The method comprises: a Linux operating system kernel space receives a large network data packet sent by a user process, wherein the size of the large network data packet is larger than or equal to the size of network data packet capable of being sent by the kernel space; the kernel space splits the large network data packet into a plurality of small network data packets, wherein the size of each small network data packet is smaller than or equal to the size of network data packet capable of being sent by the kernel space; the kernel space uses a kernel space timer to send the plurality of small network data packets. The present invention reduces system CPU energy consumption and improves packet-sending performance as a whole.

Description

technical field [0001] The present invention relates to the field of communications, in particular to a method and device for sending network data packets. Background technique [0002] In the application of the streaming media server based on the Linux operating system, a large number of streaming media files need to be delivered to the IP network. Streaming media packet transmission requires high stability and high time precision. Under the existing transmission mode, for each audio stream, a network socket needs to be used. After the user process packs the audio file into an RTP (Real-time Transport Protocol, Real-time Transport Protocol) packet, it calls the UDP (User Datagram Protocol, User Data Packet Protocol) data packet sending interface to send data packets out. [0003] The regular transmission of UDP data packets is realized through the timer in the user state. Due to the large number of threads in the user state and the complicated business process, it is diff...

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/06
CPCH04L49/3072H04L65/80H04L69/16H04L69/164
Inventor 王魏强朱志勇
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products