Instant start of virtual machine from archive copy on backup media
US-10152387-B1 · Dec 11, 2018 · US
US11249745B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11249745-B2 |
| Application number | US-202016824391-A |
| Country | US |
| Kind code | B2 |
| Filing date | Mar 19, 2020 |
| Priority date | Sep 22, 2017 |
| Publication date | Feb 15, 2022 |
| Grant date | Feb 15, 2022 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
An image upgrade method is provided. The method includes: receiving an incremental image file of a container, where the incremental image file includes a newly-added file, a modified file, and information about a deleted file, and the information about the deleted file includes a name of each deleted file and a storage path of the deleted file; updating an original image layer based on the incremental image file to obtain an updated image layer, where a state of the deleted file is set to a hidden state at the updated image layer; and overlaying a file at the updated image layer with a file at a container data layer to form an updated unified view at a view layer for use by the container, where the updated unified view does not include the deleted file whose state is set to the hidden state.
Opening claim text (preview).
What is claimed is: 1. An image upgrade method, wherein the method is applied to a container, the container comprising: a view layer, a container data layer, and an original image layer; and the original image layer comprising: a first sublayer to an n th sublayer; the view layer, the container data layer, and the first sublayer to the n th sublayer being sequentially located in the container, wherein n≥1; and the method comprises: receiving an incremental image file of the container, wherein the incremental image file comprises a newly-added file, a modified file, and information about a deleted file, and the information about the deleted file comprises a name of each deleted file and a storage path of the deleted file; updating the original image layer based on the incremental image file to obtain an updated image layer, wherein a state of the deleted file is set to a hidden state at the updated image layer; and overlaying a file at the updated image layer with a file at the container data layer to form an updated unified view at the view layer for use by the container, wherein the updated unified view does not include the deleted file whose state is set to the hidden state. 2. The method according to claim 1 , wherein the updating the original image layer comprises: using the incremental image file as a file at a new first sublayer to form the first sublayer of the updated image layer, and using a file at an m th sublayer of the original image layer as a file at a new (m+1) th sublayer to form the (m+1) th sublayer of the updated image layer, wherein 1≤m≤n. 3. The method according to claim 1 , wherein the updating the original image layer comprises: using the incremental image file as a file at a new first sublayer to form the first sublayer of the updated image layer, using a file at an m th sublayer of the original image layer as a file at a new (m+1) th sublayer to form the (m+1) th sublayer of the updated image layer, and merging a file at an (n−1) th sublayer of the original image layer and a file at an n th sublayer of the original image layer as files at a new n th sublayer to form the n th sublayer of the updated image layer, wherein 1≤m≤n−2. 4. The method according to claim 3 , wherein the merging a file at an (n−1) th sublayer of the original image layer and a file at an n th sublayer of the original image layer as files at a new n th sublayer to form the n th sublayer of the updated image layer comprises: comparing the file at the (n−1) th sublayer of the original image layer with the file at the n th sublayer of the original image layer; and when a first file exists at the (n−1) th sublayer of the original image layer, and a file that has a same name as the first file exists at the n th sublayer of the original image layer, deleting the file that has the same name as the first file and that is at the n th sublayer of the original image layer, and merging the file at the (n−1) th sublayer of the original image layer and a remaining file at the n th sublayer of the original image layer to obtain files at the new n th sublayer to form the n th sublayer of the updated image layer. 5. The method according to claim 3 , wherein the merging a file at an (n−1) th sublayer of the original image layer and a file at an n th sublayer of the original image layer as files at a new n th sublayer to form the n th sublayer of the updated image layer comprises: when the file at the (n−1) th sublayer of the original image layer comprises a hidden-state description file, deleting the hidden-state description file, and deleting a file corresponding to a file name in the hidden-state description file from the n th sublayer of the original image layer; and merging the file at the (n−1) th sublayer of the original image layer and a remaining file at the n th sublayer of the original image layer to obtain files at the new n th sublayer to form the n th sublayer of the updated image layer. 6. The method according to claim 1 , wherein when a specified file is deleted from any sublayer of the updated image layer, a state of the specified file is set to a hidden state, so that the specified file is invisible to the container data layer and the view layer, wherein the specified file is any file. 7. The method according to claim 1 , wherein the method further comprises: determining a target file at the updated image layer, wherein a priority of the target file is higher than a priority of a file that has a same name as the target file and that is at the container data layer; and when overlaying the file at the updated image layer with the file at the container data layer, setting, to a hidden state, a state of the file that has the same name as the target file and that is at the container data layer, and presenting the target file in the updated unified view. 8. The method according claim 1 , wherein the method further comprises: deleting the first sublayer of the updated image layer; using the file at an m th sublayer of the updated image layer as a file at an (m−1) th sublayer of a rolled-back image layer to form the (m−1) th sublayer of the rolled-back image layer, wherein 2≤m≤n; and overlaying a file at the rolled-back image layer with the file at the container data layer to form a rolled-back unified view at the view layer for use by the container, wherein the rolled-back unified view is the same as a unified view obtained after a file at the original image layer is overlaid with the file at container data layer. 9. A device comprising: a memory; and a processor, wherein, the memory is configured to store a container, the container comprises: a view layer, a container data layer, and an original image layer; and the original image layer comprises: a first sublayer to an n th sublayer; the view layer, the container data layer, and the first sublayer to the n th sublayer being sequentially located in the container, wherein n≥1; and the processor is configured to perform the following method: receiving an incremental image file of the container, wherein the incremental image file comprises a newly-added file, a modified file, and information about a deleted file, and the information about the deleted file comprises a name of each deleted file and a storage path of the deleted file; updating the original image layer based on the incremental image file to obtain an updated image layer, wherein a state of the deleted file is set to a hidden state at the updated image layer; and overlaying a file at the updated image layer with a file at the container data layer to form an updated unified view at the view layer for use by the container, wherein the updated unified view does not include the deleted file whose state is set to the hidden state. 10. The device according to claim 9 , wherein the updating the original image layer comprises: using the incremental image file as a file at a new first sublayer to form the first sublayer of the updated image layer, and using a file at an m th sublayer of the original image layer as a file at a new (m+1) th sublayer to form the (m+1) th sublayer of the updated image layer, wherein 1≤m≤n. 11. The device according to claim 9 , wherein the updating the original image layer comprises: using the incremental image file as a file at a new first sublayer to form the first sublayer of the updated image layer, using a file at an m th sublayer of the original image layer as a file at a new (m+1) th sublayer to form the (m+1) th sublayer of the updated image layer, and merging a file at an (n−1) th sublayer of the original image layer and a file at an n th sublayer of the original image layer as files at a new n th sublayer to form the n th su
Energy efficient computing, e.g. low power processors, power management or thermal management · CPC title
Incremental updates; Differential updates · CPC title
Updates (security arrangements therefor G06F21/57) · CPC title
considering software capabilities, i.e. software resources associated or available to the machine · CPC title
Image based installation; Cloning; Build to order · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.