主权项 |
1. A method, implemented at least in part by a computing device, for remotely retrieving a raw file from a package file, the method comprising:
by the computing device:
sending, to a remote service, a request for meta-data associated with the package file, wherein the package file supports storage of a plurality of raw files;receiving, from the remote service, the meta-data;determining, using the received meta-data, meta-data information indicating a location of the raw file within the package file;sending, to the remote service, a request for the raw file, wherein the request for the raw file comprises the meta-data information indicating the location of the raw file;receiving, from the remote service, the raw file; andunmarshalling the raw file to generate an original format of the raw file, wherein the meta-data comprises, for the raw file stored in the package file:
a first encryption type for the raw file; anda first compression type for the raw file;wherein unmarshalling the raw file to generate the original format of the raw file comprises:
performing a transformation on the raw file, wherein the transformation comprises transcoding the raw file, wherein the raw file is encoded in a first format, and wherein transcoding the raw file comprises:
decoding the raw file from the first format; andre-encoding the raw file in a second format different from the first format;wherein the meta-data further comprises meta-data information for a second raw file stored in the package file comprising:
a second encryption type for the second raw file, wherein the second encryption type is different from the first encryption type; anda second compression type for the second raw file, wherein the second compression type is different from the first compression type; and wherein the first encryption type for the raw file uses a first encryption algorithm, wherein the second encryption type for the second raw file uses a second encryption algorithm, and wherein the first encryption algorithm and the second encryption algorithm are different encryption algorithms. |