Method and devices for compressing delta log using flash transactions
First Claim
Patent Images
1. A method for storing configuration data in a router, comprising:
- adding each received piece of configuration data at a next currently free location in a volatile buffer,compressing the contents of the volatile buffer after adding each received piece of configuration data, thus obtaining a compression result,storing the compression result in a non-volatile flash memory,if the compression result was shorter than a limit, allowing the compression result to be overwritten in the flash memory by a next compression result to be stored in the flash memory, andif the compression result was longer than said limit, saving the compression result in the flash memory and directing a next compression result to be stored in the flash memory to a different location in the flash memory.
4 Assignments
0 Petitions
Accused Products
Abstract
Each received piece of configuration data is added at a next currently free location in a volatile buffer. The contents of the volatile buffer are compressed after adding each received piece of configuration data. The compression result is stored in a non-volatile flash memory. If the compression result was shorter than a limit, it is allowed to be overwritten in the flash memory by a next compression result. If the compression result was longer than the limit, it is stored in the flash memory and the next compression result is directed to a different location in the flash memory.
-
Citations
19 Claims
-
1. A method for storing configuration data in a router, comprising:
-
adding each received piece of configuration data at a next currently free location in a volatile buffer, compressing the contents of the volatile buffer after adding each received piece of configuration data, thus obtaining a compression result, storing the compression result in a non-volatile flash memory, if the compression result was shorter than a limit, allowing the compression result to be overwritten in the flash memory by a next compression result to be stored in the flash memory, and if the compression result was longer than said limit, saving the compression result in the flash memory and directing a next compression result to be stored in the flash memory to a different location in the flash memory. - View Dependent Claims (2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
7. A router apparatus, comprising:
-
a processor, a volatile memory and a non-volatile flash memory; wherein the processor is configured to; add each received piece of configuration data at a next currently free location in a buffer contained in said volatile memory, compress the contents of the buffer after adding each received piece of configuration data, thus obtaining a compression result, store the compression result in said non-volatile flash memory, if the compression result was shorter than a limit, allow the compression result to be overwritten in the flash memory by a next compression result to be stored in the flash memory, and if the compression result was longer than said limit, save the compression result in the flash memory and direct a next compression result to be stored in the flash memory to a different location in the flash memory. - View Dependent Claims (8)
-
-
9. A computer program product stored on a computer-readable medium, comprising software instructions that, when executed on a computer, cause the computer to execute the steps of:
-
adding each received piece of configuration data at a next currently free location in a volatile buffer, compressing the contents of the volatile buffer after adding each received piece of configuration data, thus obtaining a compression result, storing the compression result in a non-volatile flash memory, if the compression result was shorter than a limit, allowing the compression result to be overwritten in the flash memory by a next compression result to be stored in the flash memory, and if the compression result was longer than said limit, saving the compression result in the flash memory and directing a next compression result to be stored in the flash memory to a different location in the flash memory.
-
Specification