Method for realizing safety and integrity of files in smart card
A smart card and file technology, applied in the field of intelligence, can solve problems such as abnormal file storage space status and abnormal file access.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] The basic idea of this method is: backup the original file allocation table FAT with a backup FAT; set a storage area in the smart card to store the state of the file system and the cyclic redundancy check code CRC of the above two FAT; file creation or deletion starts When the original FAT is changed, the modified original FAT is copied to the backup FAT when the file is created or deleted, so that the original FAT and the backup FAT are consistent; when the smart card is reset, the CRC check is performed on the original FAT and the backup FAT, and Combining the status of the file system to restore or backup, the CRC check result includes normal and abnormal, the status of the file system includes normal status, modified status and unbacked status, recovery refers to copying the backup FAT to the original FAT, the backup is Refers to copying the original FAT to the backup FAT.
[0018] Preferably, as figure 1 As shown, the method includes the following steps when th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 