×

SYSTEM FOR AND METHOD FOR MEDIA UPLOAD MULTITHREADING FOR LARGE FILE UPLOADS

  • US 20150163301A1
  • Filed: 12/06/2013
  • Published: 06/11/2015
  • Est. Priority Date: 12/06/2013
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a processor; and

    a memory comprising computer-readable instructions which when executed by the processor cause the processor to perform the steps comprising;

    receiving a file having a size property;

    determining a maximum upload chunk size for the file;

    identifying a total number of file chunks to upload based on the file size property and the maximum upload chunk size;

    configuring a maximum number of allowable threads and a maximum number of HTTP connections;

    reading a portion of the file into a byte buffer array having a size equal to the maximum upload chunk size;

    passing a chunk number, the byte buffer array, and a chunk checksum into one thread associated with the maximum number of allowable threads for upload execution;

    uploading the chunk number, the byte buffer array, and the chunk checksum using one HTTP connection of the maximum number of HTTP connections;

    receiving, via a network, a content token returned by a receiving server after the byte buffer array, the chunk number, and the chunk checksum have been received at the receiving server;

    storing the received content token along with a chunk number as a pair;

    determining whether the total number of file chunks have been uploaded; and

    when the total number of file chunks have been uploaded, passing all stored content tokens in the order of chunk number and a file checksum to the receiving server for file consolidation.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×