×

FAULT-TOLERANT METHOD AND APPARATUS FOR UPDATING COMPRESSED READ-ONLY FILE SYSTEMS

  • US 20100325523A1
  • Filed: 07/24/2009
  • Published: 12/23/2010
  • Est. Priority Date: 06/19/2009
  • Status: Active Grant
First Claim
Patent Images

1. A fault-tolerant method of updating an original data image having both compressed and raw data arranged into data sub-blocks and stored in a programmable non-volatile flash memory, wherein the flash memory is divided into discrete flash blocks with flash block boundaries, the method comprising:

  • a) decompressing each compressed data sub-block identified by predetermined updating instructions;

    b) generating the decompression state for each decompressed data sub-block that crosses a flash block boundary, and copying to flash memory the generated decompression states for use in recovering data after a system failure;

    c) creating an intermediate memory image in buffer memory byi. applying predetermined updating instructions while retrieving and decompressing flash blocks of data identified by the predetermined updating instructions and creating an intermediate memory image consisting of a sequence of uncompressed data blocks, each corresponding to a single flash block;

    ii. compressing the intermediate memory image so that the data in each flash block is compressed independently of the data in any other compressed flash block;

    iii. over-writing the flash blocks in the original data image with the intermediate memory image;

    d) creating an updated memory image that includes the desired update information byi. copying portions of the intermediate memory image to a buffer and decompressing the data in each compressed flash block in the intermediate memory image;

    ii. sequentially recompressing the decompressed intermediate memory image into discrete flash blocks thereby generating the updated compressed memory image; and

    iii. overwriting the intermediate memory image in the flash memory with the updated compressed memory image.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×