1. A device comprising: a resistive-read-access-memory-based (RRAM-based or ReRAM-based) non-volatile storage array configured to record a corresponding relationship between a first storage cell and a second storage cell that is configured to be in place of the first storage cell, wherein in a condition that an RRAM-based memory region is provided, the RRAM-based non-volatile storage array, the first storage cell, and the second storage cell are integrated in the RRAM-based memory region.