Mirror protection method and data structure based on FLASH chip with page atomicity
A data structure and atomic technology, applied in the field of smart cards, which can solve the problems of power-off data, poor performance, and unpredictability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] A mirror image protection method based on a FLASH chip with page atomicity provided by the present invention will be further described below with reference to the accompanying drawings and examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
[0021] 1. A page cache data structure diagram based on an image protection method based on a FLASH chip with page atomicity, as attached figure 1 As shown, the FLASH page size is 512Bytes, and the page cache is RAM with the capacity of 4 FLASH pages, that is, 4 caches. The mapping rule between each cache and the target address of the data to be written adopts page alignment.
[0022] 2. A mirror protection method based on a FLASH chip with page atomicity transaction block data structure diagram and transaction log data structure diagram, as attached figure 2 As sh...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


