File breakpoint resuming method and system
It is a technology of resuming transmission from breakpoints and files, which is applied in transmission systems, electrical components, etc. It can solve problems such as file failure and data duplication at breakpoints, and achieve the effect of reducing transmission time and improving transmission efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0020] Such as figure 1 As shown, a kind of file resume transmission method provided by the present invention, it comprises the following steps:
[0021] 1) The server sends an HTTP request to the client to obtain information about the resources to be transmitted, segments the resources to be transmitted to obtain segmented resources, and establishes a corresponding download target folder, in which segments are stored Resource start and stop information table, temporary file number table and location information file.
[0022] The method for establishing a corresponding download target folder according to the relevant information of the resource to be transferred includes the following steps:
[0023] 1.1) According to the given number of threads and the size of the resources to be transmitted, the resources to be transmitted are segmented to obtain multiple segmented resources;
[0024] The specific calculation method is: divide the size of the resources to be transmitted b...
Embodiment 2
[0043] Based on the above-mentioned file breakpoint resume transmission method, the present invention also provides a kind of file breakpoint resume transmission system, which includes: a download target creation module set on the server side, used to obtain the file to be transmitted according to the HTTP request sent by the server side to the client terminal Resource-related information, divide the resources to be transferred into segmented resources and establish corresponding download target folders. The download target folders store segmented resource start and end information tables, temporary file number tables, and location information files; set in The segmented resource transmission module of the client is used to determine the segmented resources that need to be transferred according to the recorded information in the download target folder returned by the server, start a thread to transmit each segmented resource, and transfer the resources in the download target fol...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
