Loading...
Please wait, while we are loading the content...
Similar Documents
Method and Apparatus for Modifying Compressed Files
| Content Provider | The Lens |
|---|---|
| Abstract | A method, apparatus and computer program product are provided for preparing and installing update packages for compressed files. In the context of a method, a method for preparing an update package is provided that includes receiving an original file and a modified file, causing the original file and the modified file to be decompressed, and generating one or more delta files based on the decompressed original file and the decompressed modified file. A corresponding method for installing an update package is also provided that includes receiving the update package comprising one or more delta files corresponding to an original file, causing the original file to be decompressed, generating one or more modified subfiles based on the one or more delta files and the decompressed original file, and generating a compressed modified file by compressing the one or more modified subfiles. |
| Related Links | https://www.lens.org/lens/patent/013-399-178-587-208/frontpage |
| Language | English |
| Publisher Date | 2017-03-14 |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Patent |
| Jurisdiction | United States of America |
| Date Applied | 2015-10-13 |
| Agent | Alston & Bird Llp |
| Applicant | Nokia Technologies Oy |
| Application No. | 201514881510 |
| Claim | A method comprising: receiving, by a user device, an update package comprising one or more delta files corresponding to an original file stored in a memory of the user device, and a configuration file that is different from the original file, the configuration file indicating that the original file is a compressed file and further indicating a file type of the original file; causing, by a processor of the user device and in response to receiving the update package, the original file to be decompressed; causing, by the processor of the user device, generation of one or more modified subfiles based on the one or more delta files, the decompressed original file, and the configuration file; causing, by the processor of the user device, generation of a compressed modified file by compressing the one or more modified subfiles; and causing, by the processor of the user device, replacement of the compressed original file with the compressed modified file in memory of the user device. The method of claim 1 , further comprising determining that the original file is a compressed original file; wherein causing the original file to be decompressed and causing generation of the compressed modified file are performed based on the determination that the original is a compressed original file. The method of claim 2 , wherein determining that the original file is a compressed original file comprises determining, by the processor of the user device, that the original file is a compressed original file based on the configuration file. The method of claim 1 , wherein the configuration file further indicates at least one of: one or more files in an original filesystem that are to be removed; one or more files that are to be added to the original filesystem; one or more files in the original filesystem that are to be modified; and one or more subfiles that belong to a particular compressed file. The method of claim 1 , wherein the file type of the original file indicates whether the original file is at least one of a folder, a symbolic link, and a normal file. A user device comprising at least one processor and at least one memory storing program code instructions, the memory and program code instructions being configured to, with the processor, cause the user device to at least: receive an update package comprising one or more delta files corresponding to an original file stored in the memory and a configuration file that is different from the original file, the configuration file indicating that the original file is a compressed file and further indicating a file type of the original file; in response to receiving the update package, decompress the original file; generate one or more modified subfiles based on the one or more delta files, the decompressed original file, and the configuration file; generate a compressed modified file by compressing the one or more modified subfiles; and replace the compressed original file with the compressed modified file in the memory of the user device. The user device of claim 6 , wherein the memory and the program code instructions are further configured to, with the processor, cause the user device to determine that the original file is a compressed original file; wherein the memory and the program code instructions are further configured to, with the processor, cause the user device to decompress the original and generate the compressed modified file based on the determination that the original file is a compressed original file. The user device of claim 7 , wherein the memory and the program code instructions are further configured to, with the processor, cause the user device to determine that the original file is a compressed original file based on the configuration file. The user device of claim 6 , wherein the configuration file further indicates at least one of: one or more files in an original filesystem that are to be removed; one or more files that are to be added to the original filesystem; one or more files in the original filesystem that are to be modified; and one or more subfiles that belong to a particular compressed file. The user device of claim 6 , wherein the file type of the original file indicates whether the original file is at least one of a folder, a symbolic link, and a normal file. A computer program product comprising a non-transitory computer readable medium storing program code portions therein, the program code portions being configured to, upon execution, cause a user device to at least: receive an update package comprising one or more delta files corresponding to an original file stored in a memory of the user device and a configuration file that is different from the original file, the configuration file indicating that the original file is a compressed file and further indicating a file type of the original file; in response to receiving the update package, decompress the original file; generate one or more modified subfiles based on the one or more delta files, the decompressed original file, and the configuration file; generate a compressed modified file by compressing the one or more modified subfiles; and replace the compressed original file with the compressed modified file in the memory of the user device. The computer program product of claim 11 , wherein the program code portions are further configured to, upon execution, cause the user device to determine that the original file is a compressed original file; wherein the program code portions are further configured to, upon execution, cause the user device to decompress the original and generate the compressed modified file based on the determination that the original file is a compressed original file. The computer program product of claim 12 , wherein the program code portions are further configured to, upon execution, cause the user device to determine that the original file is a compressed original file based on the configuration file. The computer program product of claim 11 , wherein the configuration file further indicates at least one of: one or more files in an original filesystem that are to be removed; one or more files that are to be added to the original filesystem; one or more files in the original filesystem that are to be modified; and one or more subfiles that belong to a particular compressed file. The computer program product of claim 11 , wherein the file type of the original file indicates whether the original file is at least one of a folder, a symbolic link, and a normal file. |
| CPC Classification | ELECTRIC DIGITAL DATA PROCESSING TRANSMISSION OF DIGITAL INFORMATION; e.g. TELEGRAPHIC COMMUNICATION |
| Examiner | Ario Etienne Sahera Halim |
| Extended Family | 003-104-099-415-578 067-254-117-712-409 050-814-171-609-74X 013-399-178-587-208 |
| Patent ID | 9594764 |
| Inventor/Author | Schillinger Patrick |
| IPC | G06F15/173 G06F9/44 G06F17/30 H04L29/06 H04L29/08 |
| Status | Inactive |
| Owner | Provenance Asset Group Llc Nokia Corporation Nokia Technologies Oy Rpx Corporation |
| Simple Family | 003-104-099-415-578 067-254-117-712-409 050-814-171-609-74X 013-399-178-587-208 |
| CPC (with Group) | G06F16/1727 H04L67/34 G06F8/658 G06F16/122 H04L69/04 |
| Issuing Authority | United States Patent and Trademark Office (USPTO) |
| Kind | Patent/New European patent specification (amended specification after opposition procedure) |