发明名称 Class replacer during application installation
摘要 This disclosure describes systems, methods, and computer-readable media related to online advertisement campaign recommendations. An archive file may be received from a server. The archive file may include one or more compiled code files and a manifest file. The archive file may be unpackaged. The one or more compiled code files may be optimized based at least in part on the manifest file. The optimizing the one or more compiled code files may include identifying a first sequence of bytes and a second sequence of bytes from one or more sources; formatting the second sequence of bytes based at least in part on one or more rules; searching the one or more compiled code files to identify one or more sequence of bytes matching the first sequence of bytes; and replacing the identified one or more sequence of bytes with the formatted second sequence of bytes. The optimized compiled code files may be stored.
申请公布号 US9280339(B1) 申请公布日期 2016.03.08
申请号 US201314104800 申请日期 2013.12.12
申请人 Amazon Technologies, Inc. 发明人 Prunicki Andrew Eugene;Wu Jianming
分类号 G06F9/44;G06F9/445 主分类号 G06F9/44
代理机构 Sutherland Asbill & Breannan LLP 代理人 Sutherland Asbill & Breannan LLP
主权项 1. A non-transitory computer-readable medium storing computer-executable instructions which, when executed by a processor, cause the processor to perform operations comprising: receiving an archive file from a server, wherein the archive file comprises a compiled code file and a modified manifest file that has been modified to include a set of instructions; unpackaging the archive file to obtain the modified manifest file; determining that the set of instructions includes first instructions to replace a first sequence of bytes in the compiled code file with a second sequence of bytes, wherein determining that the set of instructions comprises the first instructions comprises parsing the modified manifest file and identifying a tag included in the modified manifest file that indicates that the second sequence of bytes is to be substituted for the first sequence of bytes in the compiled code file; determining that the set of instructions includes second instructions to replace a third sequence of bytes in the compiled code file with a fourth sequence of bytes; generating a modified compiled code file from the compiled code file in accordance with at least one of the first instructions or the second instructions included in the manifest file, wherein generating the modified compiled code file comprises: searching the compiled code file to identify a fifth sequence of bytes matching the first sequence of bytes;removing the fifth sequence of bytes from the compiled code file;adding the second sequence of bytes to the compiled code file; andretaining, in the modified compiled code file, a sixth sequence of bytes in the compiled code file that matches the third sequence of bytes; and storing the modified compiled code file.
地址 Reno NV US