×

Retrieving data using an asynchronous buffer

  • US 8,239,447 B2
  • Filed: 12/28/2004
  • Issued: 08/07/2012
  • Est. Priority Date: 12/28/2004
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method, comprising:

  • in response to a request for first data from a client via a first thread, determining whether a local circular buffer contains the requested first data, the local circular buffer having a head region and a tail region for identifying a head and a tail of the local circular buffer respectively, the local circular buffer arranged to wrap around itself both past the tail and past the head thus allowing reading and writing of data past the tail and past the head responsive to a data scrolling activity at the client, the local circular buffer containing a portion of a data file maintained by a server over a network;

    based on a determination that the local circular buffer does not contain the requested first data, generating a second thread to the server over the network to request the first data;

    determining whether a location of a previous request for data associated with a request index is related to the head region of the local circular buffer;

    adjusting a file pointer of the file of the server to a location substantially corresponding to a location associated with a tail index prior to generating the second thread; and

    returning the first thread to the client while waiting for a result of the second thread from the server.

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