Method and system for implementing high-efficiency transmission chunk data in LAN

A local area network and data technology, applied in the field of network communication, can solve the problems of high CPU consumption and system processing capacity limitation, and achieve the effect of low CPU consumption and high system processing capacity

Inactive Publication Date: 2011-03-02
JIANGSU YONGDING COMM
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] However, in the prior art, the CPU consumption in the bulk data transmission process is too high, and the system processing capacity is limited. Therefore, improvement and development are needed.

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 and system for implementing high-efficiency transmission chunk data in LAN
  • Method and system for implementing high-efficiency transmission chunk data in LAN
  • Method and system for implementing high-efficiency transmission chunk data in LAN

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] Various preferred embodiments of the present invention will be described in more detail below in conjunction with the accompanying drawings.

[0059] The hardware environment of the method of the present invention requires that the network card has a DMA function and a SG (Scatter / Gather, disperse / converge) function, and the software environment is a Linux kernel with normal network functions. The core invention point of the present invention is: this network protocol stack utilizes kernel module mechanism to realize, and the loading and unloading of module all can not influence the original network protocol stack of Linux kernel, require network card to support DMA function and SG function simultaneously, because the inventive method The network card supports the SG function, and the data transmitted in its network protocol stack adopts the method of separating the header and the load to realize zero-copy data transmission; the network protocol stack also defines the Et...

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 and a system that can realize the high-effective transmission of bulk data in a local area network and are used for connecting a server and a client. The network card used for connecting the server and the client supports the function of DMA and the function of SG. The method comprises the following steps: the client sends data request to the server; after the server receives the data request, the server carries out a data preparation and sends data response to the client and the client receives the data response from the server. The data transmission makes use of the function of SG of the network card and the sending is carried out by a data packet with the head detaching from the load. Owing to redefining the system call of data sending message (sendmsg)and data receiving message (recvmsg) and adding a special processing procedure of a data request frame and a data response frame of a protocol stack, the method and the system of the invention realizes low CPU consumption and high system processing capacity in the process of transmitting bulk data in the local area network.

Description

technical field [0001] The invention relates to a network communication method and system in the field of computer applications, in particular to a method and system for efficiently transmitting bulk data in a local area network based on a Linux-based network protocol stack. Background technique [0002] In the prior art Linux operating system, network data packets are often received and sent through network sockets using system calls. In the process of receiving the data packet, it is necessary to fall into the kernel state through the receiving system call, and copy the data packet received by the network card from the kernel receiving buffer to the user buffer; in the process of sending the data packet, it is necessary to fall into the kernel state through the sending system call , copy the data packet to be sent by the user from the user buffer to the kernel send buffer and send it out. [0003] In order to reduce the copy operation that occurs during the process of sen...

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): H04L12/56H04L1/16H04L1/00H04L29/08H04L12/28
Inventor 王魏强孙福清程宁
Owner JIANGSU YONGDING COMM
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