Patent ID: 9229933
Filing Date: 2016-01-05
CPC Classification: G06F,H04L,H04W

Claim Text:
1. A method for managing download of a file, the method comprising: receiving, by a server computer from a client computer, a current request to establish a session to download the file beginning at a specified location after a start of the file, the current request not specifying a fixed length of the requested download; estimating, by the server computer, a length of a portion of the file to be downloaded pursuant to the current request based on previous requests to download the file beginning at other respective specified locations and differences between the other respective specified locations in succession; in response to the current request, downloading, by the server computer, the estimated length of the file beginning at the specified location of the current request and computing, by the server computer, a time window for enabling the client computer to avoid a redundant download of a portion of the file by terminating the session within the time window, and in response to downloading the estimated length of the file beginning at the specified location of the current request and after said computing the time window, automatically suspending, by the server computer for the time window, additional download of the file pursuant to the current request, wherein said computing the time window comprises computing the time window as equal to Tc/Nc+Delta, wherein Nc is a total number of connections of the previous requests, wherein Tc is a total cumulative connect time of the previous requests, wherein the connect time of each previous request is a time interval during which a respective portion of the file was downloaded, in response to each previous request, beginning at the other respective specified location specific to each previous request, wherein Delta is a predetermined time period or a predetermined percentage of Tc/Nc, and wherein Nc is at least 1; ascertaining, by the server computer, whether or not the session corresponding to the current request has been terminated by the client computer within the time window; if said ascertaining ascertains that the session corresponding to the current request has not been terminated by the client computer within the time window, then automatically resuming, by the server computer, download of the file pursuant to the current request from where download of the file was suspended, and if said ascertaining ascertains that the session corresponding to the current request has been terminated by the client computer within the time window, then not automatically resuming, by the server computer, download of the file pursuant to the current request from where download of the file was suspended, wherein said not automatically resuming download of the file avoids the redundant download of the portion of the file.