CA-3183509-C - INTERRUPTABLE LZO DECOMPRESSION
Abstract
A method includes inputting a compressed image in a computing system. The method also includes a process of decompressing another image over the compressed image by a processor. Power is restored to the process of decompressing the image in response to an interruption to the decompression process. The decompressed image is configured to override the inputted compressed image. The method also includes completing the process of decompressing the image over the inputted compressed image.
Inventors
- MAXIMILIAN WALDO SCHNEIDER
- Francois Vincent
- Ralf Peter THOR
Assignees
- HONEYWELL INTERNATIONAL INC.
Dates
- Publication Date
- 20260505
- Application Date
- 20221130
- Priority Date
- 20211130
Claims (18)
- WHAT IS CLAIMED IS: 1. A method comprising: inputting a compressed image in a computing system; beginning a decompression process of decompressing another image over the compressed image by a processor, based on a plurality of states of the decompression process, wherein, as the decompression progresses, the decompressed image overrides the inputted compressed image; saving a state of the plurality of states at which an interruption to the decompression process occurs due to loss of power; resuming the decompression process at the saved state when the power is restored; and completing the decompression process of decompressing another image over the inputted compressed image.
- 2. The method of claim 1, wherein the decompressed image overrides the inputted compressed image to complete the decompression process.
- 3. The method of claim 1, wherein the plurality of states includes at least one intermediate state and final state of the decompression process.
- 4. The method of claim 1, wherein the decompression process is split into the plurality of states.
- 5. The method of claim 1, further comprising: repeating an intermediate interval of the decompression process when the power is restored.
- 6. The method of claim 1, wherein the decompression process begins with a gap of at least one flash sector above the inputted compressed image.
- 7. A method comprising: inputting a compressed image into one or more computational devices; beginning an initial step of a decompression process of decompressing an image by at least one processor over an open area above the compressed image, wherein an internal algorithm state 14 is saved by the processor after the initial step is completed, and wherein restored power is received in response to an interruption to an intermediate step of the decompression process; resuming the decompression process at the saved state when the power is restored; and completing a final step of the decompression process of the image by the processor over the inputted compressed image.
- 8. The method of claim 7, wherein the internal algorithm state is saved when the interruption occurs during the intermediate step.
- 9. The method of claim 7, further comprising: overriding the compressed image to complete the decompression process.
- 10. The method of claim 7, further comprising: saving the internal algorithm state in response to completing the intermediate step of the decompression process.
- 11. The method of claim 7, further comprising: completing an additional intermediate step of the decompression process.
- 12. The method of claim 7, further comprising: repeating at least one intermediate step of decompressing the image in response to a power failure after the restored power is received.
- 13. The method of claim 7, further comprising: restoring the internal algorithm state after the restored power is received.
- 14. A system comprising: a computing device positioned to receive an inputted compressed image; a processor is configured to: begins a decompression process by decompressing another image over the inputted compressed image, based on a plurality of states of the decompression process, wherein, as the decompression progresses, the decompressed image overrides the inputted compressed image; save a state of the plurality of states at which an interruption to the decompression process occurs due to loss of power; resume the decompression process at the saved state when the power is restored; and complete the decompression process of decompressing another image over the inputted compressed image. a memory configured to store the decompressed image over the inputted compressed image.
- 15 The system of claim 14, wherein the processor repeats at least one intermediate step of the decompression process in response to a power failure.
- 16. The system of claim 14, wherein the processor repeats each step of the decompression process after receiving the restored power.
- 17 The system of claim 14, wherein the processor saves an internal algorithm state after each step of the decompression process.
- 18 The system of claim 14, wherein the decompressed image overrides the inputted image to complete the decompression process. 16
Description
H223128-CA INTERRUPTABLE LZO DECOMPRESSION TECHNICAL FIELD [0001] The present disclosure generally relates efficiently restarting a decompression process after an interruption of the decompression process occurs. BACKGROUND [0002] During firmware updates, embedded devices can expenence power failure at anytime. Compressed images are used to speed up firmware transfer. Inplace decompression is used when a compressed image is fully transferred. The inputted compressed image can be overwritten during the inplace decompression. [0003] Interruptions occurring during decompression. When the interruptions occur, the output firmware image is incomplete. In addition, the input image is corrupted and has to be retransmitted. Storage size can be increased with additional costs. Another alternative is to forego decompression entirely at the expense of transfer time. [0004] As such, when an interruption occurs there is no way of restarting the decompression process. Either additional storage has to be added, or the decompression process needs to start at the beginning. [0005] A need exists to be able to not require additional storage or have to forego decompression altogether. Moreover, a need exists for the decompression to be able to resume at the same state as before the interruption occurred. [0006] Accordingly, there is a need be able to resume decompression without requiring additional storage and without requiring the decompression process to start over due to an interruption. Moreover, there is a need be able to save each completed state of a decompression process to enable the decompression process to resume at the same state after the interruption. SUMMARY [0007] The following summary is provided to facilitate an understanding of some of the features of the disclosed embodiments and is not intended to be a full description. A full appreciation of the various aspects of the embodiments disclosed 1 Date Rei;:ue/Date Received 2022-11-30 H223128-CA herein can be gained by taking the specification, claims, drawings, and abstract as a whole. [0008] The aforementioned aspects and other objectives can now be achieved as described herein. [0009] In an embodiment, a method includes inputting a compressed image in a computing system. The method also includes beginning a process of decompressing another image over the compressed image by a processor. Power is restored to the process of decompressing the image in response to an interruption to the decompression process. The decompressed image is configured to override the inputted compressed image. The method also includes completing the process of decompressing the image over the inputted compressed image. [0010] The decompressed image overrides the inputted compressed image to complete the decompression process. [0011] The decompression process includes a plurality of states. [0012] [0013] The decompression process is split into a plurality of intervals. In an embodiment, a method includes inputting a compressed image into one or more computational devices. The method also includes beginning an initial step of decompressing an image by at least one processor over at least one flash sector above the compressed image. An internal algorithm state is saved by the processor after the initial step is completed. Restored power is received in response to an interruption to an intermediate step of the decompression process. The method also includes completing a final step of the decompression process of the image by the processor in response to receiving the restored power. [0014] The internal algorithm state is saved when the interruption occurs during the intermediate step. [0015] The method also includes overriding the compressed image to complete the decompression process. [0016] The method also includes savmg the internal algorithm state m response to completing the intermediate step of the decompression process. [0017] In an embodiment, a system includes a computing device positioned to receive an inputted compressed image. The system also includes a processor that beings a decompression process by decompressing another image over the inputted compressed image. Power is restored to the process of decompressing the image in response to an interruption to the decompression process. The process of the 2 Date Rei;:ue/Date Received 2022-11-30 H223128-CA decompressed image is configured to override the inputted compressed image. The system also includes a memory configured to store the decompressed image over the inputted compressed image. [0018] The processor repeats an initial step and intermediate step of the decompression process in response to a power failure. [0019] The processor repeats each step of the decompression process after receiving the restored power. [0020] The processor saves an internal algorithm state after each step of the decompression process. BRIEF DESCRIPTION OF THE FIGURES [0021] The accompanying figures, in which like reference numerals refer to identic