摘要 |
The present invention relates to a method for controlling buffer mapping and a buffer system. The method comprises: changing, at a preset time cycle, a target data block mapped from at least one data block in a bottom-layer storage medium to a buffer of the bottom-layer storage medium. One or more data blocks in the bottom-layer storage medium can only be mapped to one target data block in the buffer, the buffer of the bottom-layer storage medium comprises a flash memory medium, and the changed target data block in the buffer comprises a target data block having the maximum re-write times in the current buffer. The technical solution optimizes the service life of the flash memory medium. |