Method and system for reliably downloading large file in edge weak network environment
The invention provides a method and a system for reliably downloading a large file in an edge weak network environment, the method has three key points of agent fragmentation, concurrent downloading and merging, and the agent fragmentation refers to fragmentation and numbering of a large file reques...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
07.04.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a method and a system for reliably downloading a large file in an edge weak network environment, the method has three key points of agent fragmentation, concurrent downloading and merging, and the agent fragmentation refers to fragmentation and numbering of a large file requested by a client; all the fragments are downloaded concurrently through the thread pool, and when downloading of the fragments fails, retry is carried out for a certain number of times; and merging the downloaded fragments into a Streaming Http Response according to the serial number, and returning the Streaming Http Response to the client. According to the method and the device, the file is integrated with the agent on the basis of file blocking and multi-thread downloading, so that stable file transmission is provided, and the problem of transmission interruption caused by network fluctuation and server transmission limitation can be effectively avoided.
本申请提供了一种边缘弱网环境大文件可靠下载的方法和系统,该方法有代理端的分片、并发下载以及合并这三个关键点,代理端的分片 |
---|---|
Bibliography: | Application Number: CN202211529711 |