Method for backing up and restoring data of a secure element
AssigneeSafran Identity & Security
InventorsLauren DEL GIUDICE, Anthony FONTENEAU, Pierrick BIEULES
Life of this patent
Estimating the term…
Abstract
The present invention notably relates to a method for saving data stored in memory in a non-volatile memory (2) of a secure element (1), the method being characterized by steps for generating a backup image (IS) containing the data stored in memory in the non-volatile memory (2) and for writing the backup image (IS) into the non-volatile memory (2) of the secure element (1). The present invention also relates to a method for restoring saved data.
Claims12
A method for backup of data stored in memory in a non-volatile memory of a secure element, the method being characterized by steps of:
- defragmenting an area of the non-volatile memory containing at least one portion of the data to be saved so as to form, in the area, an occupied region containing said portion of the data and a free region,
- compressing the portion of the data contained in the occupied region, after de fragmentation,
- compressing the contents of the free region by means of a compression algorithm different from the one used for compressing the portion of the data contained in the occupied region,
- generating a backup image containing the compressed data,
- writing the backup image into the non-volatile memory of the secure element.
A secure element comprising:
- a non-volatile memory,
- at least one processor configured for saving data stored in memory in the non-volatile memory,
- the secure element wherein the processor is configured for:
- defragmenting an area of the non-volatile memory containing at least one portion of the data to be saved so as to form, in the area an occupied region containing said portion of the data and a free region,
- compressing the portion of the data contained in the occupied region, after de fragmentation,
- compressing the contents of the free region by means of a compression algorithm different from the one used for compressing the portion of the data contained in the occupied region,
- generating a backup image containing the compressed data,
- writing into the non-volatile memory the backup image.
Dependencies are inferred from the claim text.