Please download the dossier by clicking on the dossier button x
×

Upload operation using multiple connections

  • US 10,084,839 B2
  • Filed: 12/27/2013
  • Issued: 09/25/2018
  • Est. Priority Date: 12/27/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method to receive data through a plurality of connections, the method comprising:

  • receiving a request to establish the plurality of connections;

    sending a response to the request comprising an identifier of an upload operation and a location to be polled for status of the upload operation;

    creating a plurality of connection reader threads corresponding to the plurality of connections, wherein the plurality of connection reader threads corresponds to a plurality of server buffers;

    receiving a sequence of chunks at the plurality of connection reader threads through the plurality of connections, wherein each of the plurality of connections is associated with the identifier of the upload operation;

    reading, via a connection reader thread of the plurality of connection reader threads, one or more chunks from the sequence of chunks;

    writing the one or more chunks from the sequence of chunks to a server buffer of the plurality of server buffers, wherein the connection reader thread from the plurality of connection reader threads corresponds to the server buffer;

    searching in the plurality of server buffers for a chunk with a consecutive number expected next for an output data stream;

    when the chunk with the consecutive number expected next is missing in the plurality of server buffers, blocking the connection reader thread and the server buffer until the chunk with the consecutive number expected next is read by a different connection reader thread of the plurality of connection reader threads;

    when the chunk with the consecutive number next expected is read by the different connection reader thread, adding the chunk with the consecutive number expected next to the output data stream; and

    merging chunks from the plurality of server buffers into the output data stream according to the sequence.

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