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

User-mode file sending method, file receiving method, and file transceiving device

A file sending, user-mode technology, applied in the field of communication, can solve the problems of delay and less opportunities to process data, and achieve the effect of improving performance and reducing copying

Active Publication Date: 2018-12-11
NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Typically, in the scenario where multiple clients send files to the same receiving end at high concurrency, the CPU at the receiving end is constantly busy with interrupts, repeatedly reserving the scene, and there are relatively few opportunities to actually process data, resulting in serious delays. was a disaster
[0007] In the process of sending and receiving files in the prior art, a large number of copying, context switching, and interruption are generated.

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
  • User-mode file sending method, file receiving method, and file transceiving device
  • User-mode file sending method, file receiving method, and file transceiving device
  • User-mode file sending method, file receiving method, and file transceiving device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0027] In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only to facilitate description of the present invention and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be used in combination.

[0028] like figure 1 As shown, an embodiment of the present invention provides a data sending method, including:

[0029] Step S110, allocating three areas in the user state area, the data reading and sending area, the data receiving and writing area, and the data buffer area.

[0030] In this embodiment, it can be seen that only the user mode space of the process needs to be used, and the kernel mode space of the process does not need to be used. Since the file data reading and writing and network receiving and sending are completed in the user...

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 user-mode file sending method, a file receiving method and a file sending and receiving device. The file sending method comprises the following steps: allocating a data reading and sending area, a data receiving and writing area and a data buffer area in the user-mode area; creating a data sending process; obtaining a file to be sent corresponding to the data sending process from the data buffer area; constructing metadata of the data sending process and recording the metadata to the data reading and sending area; sequentially processing one or more metadata of the reading and sending area, wherein the processing of the metadata comprises sending the file to a network adapter via a user-mode network device driver, and sending the file by the network adapter. According to the technical scheme of the invention, the data receiving and sending are completed by using the user-mode space of the data receiving and sending process, and the kernel state space of the process is not needed to completely shield the kernel, that is, the copy, the context switching, and the interruption can be remarkably reduced, and the performance of the data sending and sending is improved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a file sending method, a file receiving method and a file sending and receiving device in a user state. Background technique [0002] In recent years, NPU (embedded neural network processor), GPU (graphics processing unit), SSD (solid state drive), NVM (non-volatile memory), Infiniband (a "conversion cable" technology that supports multiple concurrent links) ), 400GbE (400G Ethernet) and other new high-performance hardware devices represented by computing, storage, and network have ushered in rapid development, but software systems have stagnated. In the long-distance data transmission, the delay of the software system accounts for an increasingly large proportion. [0003] Generally, the performance loss of a software system mainly comes from three aspects: [0004] (1) Copy (Copy). Also known as duplication, copy operations cause data redundancy and cause latency and ...

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/08G06F17/30G06F13/16
CPCH04L67/06G06F13/1673H04L67/568H04L67/1097H04L67/561
Inventor 杨洪章屠要峰陈贵海郭斌黄震江高洪李丙洋江俊杰
Owner NANJING ZHONGXING XIN SOFTWARE CO LTD
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