×

Method and apparatus for prefetching data

  • US 9,323,680 B1
  • Filed: 09/28/2007
  • Issued: 04/26/2016
  • Est. Priority Date: 09/28/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for pre-fetching data, the method comprising:

  • ascertaining, using a computer, information regarding a data file, wherein the ascertainingcomprisesaccessing a download speed of a network connection, a bit rate, a file size of the data file, and a length of play, andcomputing a number of data blocks of the data file to buffer, wherein the computing is performed, at least in part, by multiplying the download speed with the length of play to calculate an intermediate result, and subtracting the intermediate result from the file size, andthe number of data blocks is greater than zero;

    providing, using the computer, the information to an application programming interface (API);

    in response to receiving the information, using the API to establish a first set of pre-fetch parameters, whereinthe first set of pre-fetch parameters comprises at least two of alphabetical order, numerical order, an order according to a play list, and an order following instructions from the API,the first set of pre-fetch parameters is established in accordance with a first pre-fetch technique, andthe first pre-fetch technique is chosen from a plurality of pre-fetch techniques,attempting to pre-fetch one or more of a plurality of data blocks via a network from the data file using the computer in accordance with the first set of pre-fetch parameters, whereinthe data file comprises the plurality of data blocks;

    determining whether the attempting is successful;

    in response to a determination that the attempting was unsuccessful, establishing a second set of pre-fetch parameterswhereinthe second set of pre-fetch parameters comprises at least two of alphabetical order, numerical order, an order according to a play list, and an order following instructions from the API,the second set of pre-fetch parameters is not identical to the first set of pre-fetch parameters,the second set of pre-fetch parameters is established in accordance with a second pre-fetch technique, andthe second pre-fetch technique is chosen from the plurality of pre-fetch techniques using the API; and

    pre-fetching, using the computer, one or more of the plurality of data blocks from the data file, whereinthe pre-fetching is performed in accordance with either the first set of pre-fetch parameters or the second set of pre-fetch parameters, andthe pre-fetching is performed via the network;

    accessing the data file using the computer, whereinthe data file is stored on a storage device, andthe storage device is communicatively coupled to the computer via a network; and

    buffering the one or more pre-fetched data blocks, wherein the buffering comprises storing the one or more pre-fetched data blocks in a memory on the computer.

View all claims
  • 8 Assignments
Timeline View
Assignment View
    ×
    ×