| CPC G06F 8/71 (2013.01) [G06F 8/65 (2013.01); G06F 8/658 (2018.02)] | 16 Claims |

|
1. A method for updating a target file stored on a device, the method comprising:
receiving update data for a plurality of sections that are part of a target file without requiring storage on the device of a new version of the target file and old version of the target file and the target file is a component of an operating system of the device;
receiving a segmentation map specifying an update method for each section in the plurality of sections in the target file, wherein the segmentation map is configured to specify at least one of a patch section update to be applied to at least one section or a copy section update to be applied to at least one section, and an archive section update to be applied to at least one section; and
updating each section in the plurality of sections in the target file according to the update method specified in the segmentation map for each section, wherein a segment space identified for an archive section update is updated by vacating the segment space as free space and performing an in-place update in the segment space with one of a patch section update or a full section update.
|