×

LOADER AND METHOD FOR PROCESSING A RESOURCE BUNDLE

  • US 20180124156A1
  • Filed: 11/02/2017
  • Published: 05/03/2018
  • Est. Priority Date: 11/02/2016
  • Status: Abandoned Application
First Claim
Patent Images

1. A computer-implemented method of processing a resource bundle downloaded from a server to a user device, the method comprising:

  • recognizing by a loader a beginning of a download of a resource bundle, the resource bundle comprising a plurality of resources to be loaded for use in a program and wherein a data format for the resource bundle includes;

    a header data structure for the resource bundle that includes an indication of a total size of the resource bundle; and

    a respective resource data structure for each resource of the plurality of resources, each such resource data structure including an indication of a total size of the resource corresponding to the resource data structure, the indication of the total size of the resource being located in the resource data structure before any data comprising the resource, such that both the total size of the resource bundle and the total size of each resource included in the resource bundle is determinable by the loader before the data comprising the resource is processed;

    determining, from the header data structure, the total size of the resource bundle being downloaded;

    determining, from the data structure of a first resource included in the resource bundle, a total size of the first resource;

    determining, as the resource bundle continues to be downloaded and based on the total size of the resource bundle and the total size of the first resource, that sufficient data has been downloaded to process the first resource, andprocess the first resource while the remainder of the resource bundle continues to be downloaded and before the download of the resource bundle is complete.

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