Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for transmitting multipath data packets and system thereof

A data packet and sending unit technology, which is applied in the field of network communication, can solve the problems of sending data packets, unable to send multiple data packets with the same network socket, system calls, routing query overhead process/thread switching times, etc. Achieve the effect of improving work efficiency and reducing the overhead of system calls

Inactive Publication Date: 2009-06-03
ZTE CORP
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the destination IP addresses of multiple data packets are different, only the method of creating separate network sockets for each channel of audio can be used to send, but the cost of system calls, routing query overhead and process / thread switching in this way will be larger
In the prior art, each time a network socket is used to send a data packet, only the destination IP address of one data packet can be cached, so it is impossible to use the same network socket to send multiple data packets with different destination IP addresses
[0016] In summary, the existing technology cannot use the same network socket to send multiple 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
  • Method for transmitting multipath data packets and system thereof
  • Method for transmitting multipath data packets and system thereof
  • Method for transmitting multipath data packets and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The embodiment of the present invention provides a method and system for sending multi-channel data packets with high performance based on the Linux network protocol stack, and realizes sending through the same network socket without affecting the original network protocol stack of the Linux system. Multi-channel data packets, minimize the CPU consumption caused by system calls, routing queries, or process / thread switching, improve the processing capacity of the system, and improve the work efficiency of sending multi-channel data packets.

[0031] In this embodiment of the present invention, the multi-channel data packets sent are multi-channel audio streams as an example for illustration. Of course, the technical solutions provided by the embodiments of the present invention can also be applied to other types of data packets.

[0032] The multi-channel data packets in the present invention refer to multiple data packets with different destination IP addresses.

[0033...

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 method for transmitting multipath data packets and a system thereof. By the method and the system, the multipath data packets can be transmitted by a same network socket, thus improving the working efficiency of transmitting the multipath data packets. The method for transmitting the multipath data packets comprises the following steps: the network socket which includes a route cache array for caching the routing information of the multipath data packets is established; the routing information of the multipath data packets is obtained and added to the route cache array; when transmission of the multipath data packets is needed, the routing information of the multipath data packets is obtained from the route cache array, and the multipath data packets are transmitted according to the routing information.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and system for sending multi-channel data packets. Background technique [0002] In the application of the CRBT server based on the Linux operating system, a large number of audio files need to be transmitted to the IP network. However, if you want to transmit audio data through the IP network, you need to convert the audio file into an IP datagram, and send the data packet through a network socket (UDP). [0003] UDP is used to send data packets, and the prior art generally includes: [0004] Step 1. Call the creation (socket) system to realize the creation of a network socket. [0005] Step 2, calling the binding (bind) system to realize the binding of the network socket with the local IP address and UDP port. [0006] Step 3, call the sending (sendto / sendmsg) system to realize sending UDP data packets to the remote host. [0007] Wherein, when sendin...

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/56
CPCH04L45/741H04L12/1886H04L45/56H04L45/00H04L45/24
Inventor 王魏强梁建适范萍
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products