In one embodiment, a device in a network stores an archive image to a storage location of the device. The archive image comprises a plurality of compressed files. For one or more of the files, the device copies a segment of a particular file in the archive image to a segment copy in the storage location of the device and deletes the segment of particular file from the archive image. The device repeats the copying and deleting steps until the particular file has been fully deleted from the archive image. The device reconstitutes the particular file by merging the segment copy with one or more other segment copies associated with the particular file.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method comprising: storing, by a device in a network, an archive image to a storage location of the device, wherein the archive image comprises a plurality of compressed files, wherein the storage location upon storing the archive image does not have enough space to store a duplicate copy of the archive image during an installation; and upgrading a process within an operating system of the device by installing the archive image via an extraction technique, the extraction technique applied to one or more files within the archive image, wherein installing includes: copying, by the device, a segment of a particular file of the compressed files in the archive image to a segment copy in a storage location of the device, wherein the segment of the particular file is less than the entire particular file; deleting, by the device, the segment of the particular file from the archive image before a next segment in the particular file is copied and deleted; repeating, by the device, the copying and deleting steps until the particular file has been fully deleted from the archive image; and reconstituting, by the device, the particular file by merging the segment copy with one or more other segment copies associated with the particular file.
2. The method as in claim 1 , wherein the device comprises one of: a network switch, a network router, or a Low-Power and Lossy Network (LLN) device.
3. The method as in claim 1 , wherein the archive image comprises an operating system update.
4. The method as in claim 1 , further comprising: receiving, at the device, the archive image from a supervisory device in the network.
5. The method as in claim 1 , further comprising: selecting, by the device, a size of the segment based on an available amount of space in the storage location.
6. The method as in claim 5 , wherein the size of the segment is equal to the available amount of space in the storage location.
7. The method as in claim 1 , further comprising: identifying, by the device, the particular file in the archive image by analyzing metadata from the archive image.
8. An apparatus, comprising: one or more network interfaces to communicate with a network; a processor coupled to the network interfaces and configured to execute one or more processes; and a memory configured to store a process executable by the processor, the process when executed operable to: store an archive image to a storage location, wherein the archive image comprises a plurality of compressed files, wherein the storage location upon storing the archive image does not have enough space to store a duplicate copy of the archive image during an installation; and upgrading a process within an operating system of the apparatus by installing the archive image via an extraction technique, the extraction technique applied to one or more files within the archive image, wherein installing includes: copying a segment of a particular file of the compressed files in the archive image to a segment copy in the storage location, wherein the segment of the particular file is less than the entire particular file; deleting the segment of the particular file from the archive image before a next segment in the particular file is copied and deleted; repeating the copying and deleting steps until the particular file has been fully deleted from the archive image; and reconstituting the particular file by merging the segment copy with one or more other segment copies associated with the particular file.
9. The apparatus as in claim 8 , wherein the apparatus comprises one of: a network switch, a network router, or a Low-Power and Lossy Network (LLN) device.
10. The apparatus as in claim 8 , wherein the archive image comprises an operating system update.
11. The apparatus as in claim 8 , wherein the process when executed is further operable to: receive the archive image from a supervisory device in the network.
12. The apparatus as in claim 8 , wherein the process when executed is further operable to: select a size of the segment based on an available amount of space in the storage location.
13. The apparatus as in claim 12 , wherein the size of the segment is equal to the available amount of space in the storage location.
14. The apparatus as in claim 8 , wherein the process when executed is further operable to: identify the particular file in the archive image by analyzing metadata from the archive image.
15. A tangible, non-transitory, computer-readable medium storing program instructions that cause a device in a network to execute a process comprising: storing, by the device, an archive image to a storage location of the device, wherein the archive image comprises a plurality of compressed files, wherein the storage location upon storing the archive image does not have enough space to store a duplicate copy of the archive image during an installation; and upgrading a process within an operating system of the device by installing, by the device, the archive image via an extraction technique, the extraction technique applied to one or more files within the archive image, wherein installing includes: copying, by the device, a segment of a particular file of the compressed files in the archive image to a segment copy in the storage location of the device, wherein the segment of the particular file is less than the entire particular file; deleting, by the device, the segment of the particular file from the archive image before a next segment in the particular file is copied and deleted; repeating, by the device, the copying and deleting steps until the particular file has been fully deleted from the archive image; and reconstituting, by the device, the particular file by merging the segment copy with one or more other segment copies associated with the particular file.
16. The computer-readable medium as in claim 15 , wherein the device comprises one of: a network switch, a network router, or a Low-Power and Lossy Network (LLN) device.
17. The computer-readable medium as in claim 15 , wherein the archive image comprises an operating system update.
18. The computer-readable medium as in claim 15 , wherein the process further comprises: selecting, by the device, a size of the segment based on an available amount of space in the storage location.
19. The computer-readable medium as in claim 18 , wherein the size of the segment is equal to the available amount of space in the storage location.
20. The computer-readable medium as in claim 15 , wherein the process further comprises: identifying, by the device, the particular file in the archive image by analyzing metadata from the archive image.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
November 10, 2016
March 3, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.