Patent ID: 7908423

Claim:
A method of averagely using blocks of a flash memory, the flash memory comprising a data region and a spare region, the data region having a plurality of data blocks, the spare region having a plurality of spare blocks, the method comprising following steps of: establishing a record sequence to record a pre-determined erasing and writing sequence of the spare blocks and an erased and written sequence of the spare blocks, wherein the pre-determined erasing and writing sequence has a length, a push-in mark being located at a tail of the pre-determined erasing and writing sequence, and a pop-out mark being located at a head of the pre-determined erasing and writing sequence; providing at least one spare block from the pre-determined erasing and writing sequence for being written data according to a writing data capacity; moving the pop-out mark just after the at least one spare block for being written; moving at least one data block being erased into the spare region as at least one spare block; moving the push-in mark to keep the pre-determined erasing and writing sequence in the length; checking the spare blocks of the erased and written sequence according to a pre-determined rule; and replacing the spare blocks meeting the pre-determined rule by at least one of data blocks.