File transmission method and system and computer readable storage medium

A technology for file transmission and storage, applied in the field of systems and computer-readable storage media, and file transmission methods, can solve problems such as poor file transmission effects, and achieve the effect of improving file transmission effects and file transmission rates

Pending Publication Date: 2021-03-12
SHENZHEN YEAHKA TECH
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a file transfer method, a file transfer system, and a computer-readable storage medium, aiming to solve the problem in the prior art that the file transfer effect is not good when transferring a large file with a large amount of data

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 system and computer readable storage medium
  • File transmission method and system and computer readable storage medium
  • File transmission method and system and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0067] refer to figure 2 , figure 2 It is a flow chart of the first embodiment of the file transfer method of the present invention. In this embodiment, the file transfer method includes the following steps:

[0068] Step S10: read the target file to be transmitted from the memory of the client in a zero-copy manner, and monitor the network status of the transmission network of the target file;

[0069] In order to avoid direct transmission of a complete large file, resulting in damage to the transmitted file or system crash due to reasons such as excessive file size or network timeout during the transmission process, which will affect the effect of file transmission, in this embodiment, by The large file is divided into multiple small segmented data blocks, and then the multiple segmented data blocks are transmitted from the client to the server in parallel by using multi-threading, and the server interacts with the target terminal to make the target terminal Can get the ...

no. 3 example

[0091] refer to Figure 4 , Figure 4 It is a flow chart of the third embodiment of the file transfer method of the present invention. In this embodiment, the file transfer method includes the following steps:

[0092] Step S21: read the target file to be transmitted from the memory of the client in a zero-copy manner, and monitor the network status of the transmission network of the target file;

[0093] Step S22: Determine the segmentation method of the target file according to the monitored network conditions and the file size of the target file, and divide the target file into a plurality of segmented data blocks according to the determined segmentation method;

[0094] Step S23: Compressing the segmented multiple segmented data blocks to obtain compressed segmented data blocks;

[0095] Step S24: Using multi-threading to multiplex the compressed segmented data blocks from the client to multiple servers in parallel;

[0096] Step S25: Asynchronously upload the segmented...

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, which comprises the following steps of: reading a target file to be transmitted from a memory of a client in a zero copy mode, and monitoring the network condition of a transmission network of the target file; determining a segmentation mode of the target file according to the monitored network condition and the file size of the target file, andsegmenting the target file into a plurality of segmented data blocks according to the determined segmentation mode; and transmitting the plurality of segmented segmented data blocks from the client toa plurality of servers in parallel by adopting multiple threads, and asynchronously uploading the segmented data blocks received by the servers to a target terminal for combination, so that the target terminal obtains the complete target file. The invention further discloses a file transmission system and a computer readable storage medium. The target file is divided into a plurality of segmenteddata blocks, the segmented data blocks are transmitted to the server in parallel through multiple threads, the segmented data blocks are asynchronously uploaded to the target terminal from the server, and the file transmission effect is improved.

Description

technical field [0001] The present invention relates to the technical field of file transmission, in particular to a file transmission method, system and computer-readable storage medium. Background technique [0002] There is a need to transfer large files in various application scenarios such as enterprises, hospitals, and governments. However, the network resources in each application scenario are usually limited. For example, in the hospital scenario, since the hospital takes a large number of medical images every day and the number of doctors is limited, in order to improve the targeting efficiency, AI technology is used instead of doctors to Medical image file analysis, that is, the current Internet medical + AI model, and the data volume of many medical image files is relatively large, and the bandwidth of the hospital is not high, which cannot meet the timeliness requirements of patients for diagnosis results. Therefore, when transferring large files with a large am...

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/08H04L29/06
CPCH04L67/06H04L67/108H04L69/04
Inventor 刘颖麒辛张顺
Owner SHENZHEN YEAHKA TECH
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