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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com