Unlock instant, AI-driven research and patent intelligence for your innovation.

File transmission method and device, equipment and storage medium

A file transfer and file technology, applied in the direction of transmission systems, electrical components, digital computer components, etc., can solve the problems of redundancy and time-consuming, and achieve the effects of avoiding copy operations, reducing time, and improving transmission efficiency

Pending Publication Date: 2021-12-03
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that in the above operation steps, there are three times related to data migration, which are reading data from disk into kernel cache, copying data from kernel cache to application cache, and reading data from application cache to hardware internal cache. Copying the kernel cache to the memory copy of the application cache is essentially moving data from one address space in the memory hardware to another. In principle, it is a redundant operation and is very time-consuming.

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
  • File transmission method and device, equipment and storage medium
  • File transmission method and device, equipment and storage medium
  • File transmission method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0041] see figure 1 , which shows a flowchart of a file transfer method provided by an embodiment of the present invention, which may specifically include:

[0042] S11: Receive the file transfer request initiated by the application program, apply for the kernel cache under the trigger of the file transfer request, and read the corresponding file from the disk into the kernel cache.

[0043] The execution subject of a file transfer method provided by the embo...

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 file transmission method and device, equipment and a storage medium, and the method comprises the steps: receiving a file transmission request initiated by an application program, applying for a kernel cache under the triggering of the file transmission request, and reading a corresponding file from a disk into the kernel cache; and informing the RDMA network card hardware to initiate a read operation through the RDMA network card driver so as to indicate the RDMA network card hardware to read the file in the kernel cache into the internal cache of the RDMA network card hardware, and sending the file in the internal cache to the remote node. Visibly, on the basis of related functions provided by an existing RDMA network card driver in the kernel space, file transmission is achieved by reading the corresponding file in the disk into the applied kernel cache and reading the corresponding file in the kernel cache into the RDMA network card hardware, redundant memory copying operation is avoided, the time of carrying the data from the disk to the internal cache of the RDMA network card hardware is shortened, and the transmission efficiency of file transmission is improved.

Description

technical field [0001] The present invention relates to the technical field of data transfer, and more specifically, to a file transfer method, device, equipment and storage medium. Background technique [0002] Currently, when using RDMA (Remote Direct Memory Access, remote direct address access) to implement the file transfer function, the technical level is mainly divided into the following steps: under the trigger of the application, read the data from the disk into the kernel cache, and then read the data from the kernel The cache is copied to the application cache, and finally the data is read from the application cache into the hardware internal cache, and the data is sent from the hardware internal cache to the remote node. It can be seen that in the above operation steps, there are a total of three times related to data migration, namely reading data from disk into kernel cache, copying data from kernel cache to application cache, and reading data from application c...

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/08G06F15/173G06F13/28
CPCH04L67/06G06F15/17331G06F13/28H04L67/568
Inventor 刘伟宿栋栋沈艳梅阚宏伟
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD