IP Library Granted Patent US 10,387,054
Granted Patent B2
US 10,387,054 · App. 15/585,066 · Granted Aug 20, 2019

Secure element including a non-volatile memory and methods for saving and restoring data including defragmenting and compressing data stored in occupied and free regions

Inventors: Lauren Del Giudice (Issy les Moulineaux, FR); Anthony Fonteneau (Issy les Moulineaux, FR); Pierrick Bieules (Issy les Moulineaux, FR)
Assignee: IDEMIA IDENTITY & SECURITY
G06F3/0619G06F3/061G06F3/065G06F3/0641G06F3/0679G06F11/1469G06F21/79G07F7/082G06F11/1453G06F2201/84G06F2212/401
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,387,054
App. No.
15/585,066
Granted
Aug 20, 2019
Kind
B2
Abstract

A secure element and method for backup of data stored in a non-volatile memory of the secure element. The method for backup of data includes de-fragmenting an area of the non-volatile memory so as to form, in the area, an occupied region and a free region. The method further includes compressing the portion of data contained in the occupied region, after de-fragmentation, and compressing the contents of the free region using a compression algorithm that is different from the one used for compressing the portion of data contained in the occupied region. In one embodiment, the occupied region is compressed using a dictionary, and the free region is compressed by applying run-length encoding (RLE). The method also includes generating a backup image containing the compressed portion of data and the compressed contents of the free region, and writing the backup image into the nonvolatile memory. The area may contain objects to be handled by a program coded in an object language. Metadata for each area may also be generated and stored in the nonvolatile memory. A method of restoring data, including configuring the secure element in a busy mode to avoid corruption of the contents, and a method for resetting the secure element, are also disclosed.

Claims (25)

1. A method for backup of data stored in a non-volatile memory of a secure element, wherein the method comprises steps of:

de-fragmenting an area of the non-volatile memory containing at least one portion of data to be saved so as to form, in the area, an occupied region containing the at least one portion of data and a free region,

compressing the at least one portion of data contained in the occupied region using a compression algorithm by dictionary, after de-fragmentation,

compressing the contents of the free region by applying a run-length encoding of the contents,

generating a backup image containing the compressed at least one portion of data contained in the occupied region and the compressed contents of the free region, and

writing the backup image into the non-volatile memory of the secure element.

2. The method according to claim 1 , wherein the compressing is applied on localized data in several predetermined areas of the non-volatile memory, so as to produce several compressed blocks, the generation of the backup image comprising a concatenation of the compressed blocks.

3. The method according to claim 2 , wherein the area contains objects to be handled by a program coded in an object language, and wherein the objects are compressed using the dictionary.

4. The method according to claim 3 , wherein the method further comprises generating the dictionary from the objects to be compressed.

5. The method according to claim 1 , wherein the data to be saved are contained in at least one predetermined area of the non-volatile memory, and wherein the method further comprises generating and storing in the non-volatile memory metadata comprising, for each area, an address of the area.

6. The method according to claim 5 , wherein the metadata comprise integrity control information of the at least one predetermined area, or a size of the at least one predetermined area.

7. The method according to claim 6 , wherein the method further comprises generating and storing in the non-volatile memory integrity control information of the metadata.

8. The method according to claim 7 , wherein the method further comprises generating and storing in the non-volatile memory integrity control information of the generated backup image.

9. A method for resetting a secure element comprising a non-volatile memory storing data, the method comprising:

saving data using the method according to claim 1 ,

restoring the saved data.

10. A computer program product comprising a non-volatile memory having stored therein code instructions of a program for executing the steps of the method according to claim 1 , when the code instructions are executed by at least one processor.

11. A secure element comprising:

a non-volatile memory, and

at least one processor configured for saving data stored in the non-volatile memory, by performing operations including:

de-fragmenting an area of the non-volatile memory containing at least one portion of data to be saved so as to form, in the area, an occupied region containing the at least one portion of data, and a free region,

compressing the at least one portion of data contained in the occupied region using a compression algorithm by dictionary, after de-fragmentation,

compressing the contents of the free region by applying a run-length encoding of the contents,

generating a backup image containing the compressed at least one portion of data contained in the occupied region and the compressed contents of the free region, and

writing into the non-volatile memory the backup image.

Assignments (12)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 26, 2025
From: IDEMIA IDENTITY & SECURITY FRANCE
To: IDEMIA FRANCE
Reel/Frame 070632/0157 →
CHANGE OF NAME Recorded Jul 3, 2024
From: SAFRAN IDENTITY & SECURITY
To: IDEMIA IDENTITY & SECURITY FRANCE
Reel/Frame 068119/0270 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ERRONEOUSLY NAMED PROPERTIES 14/366,087 AND 15/001,534 PREVIOUSLY RECORDED ON REEL 048039 FRAME 0605. ASSIGNOR(S) HEREBY CONFIRMS THE CHANGE OF NAME. Recorded Jan 17, 2024
From: MORPHO
To: SAFRAN IDENTITY & SECURITY
Reel/Frame 066343/0143 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ERRONEOUSLY NAMED PROPERTIES 14/366,087 AND 15/001,534 PREVIOUSLY RECORDED ON REEL 047529 FRAME 0948. ASSIGNOR(S) HEREBY CONFIRMS THE CHANGE OF NAME. Recorded Jan 17, 2024
From: SAFRAN IDENTITY & SECURITY
To: IDEMIA IDENTITY & SECURITY
Reel/Frame 066343/0232 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE ERRONEOUSLY NAME PROPERTIES/APPLICATION NUMBERS PREVIOUSLY RECORDED AT REEL: 055108 FRAME: 0009. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jan 17, 2024
From: SAFRAN IDENTITY & SECURITY
To: IDEMIA IDENTITY & SECURITY FRANCE
Reel/Frame 066365/0151 →
CORRECTIVE ASSIGNMENT TO CORRECT THE THE REMOVE PROPERTY NUMBER 15001534 PREVIOUSLY RECORDED AT REEL: 055314 FRAME: 0930. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jan 17, 2024
From: SAFRAN IDENTITY & SECURITY
To: IDEMIA IDENTITY & SECURITY FRANCE
Reel/Frame 066629/0638 →
CORRECTIVE ASSIGNMENT TO CORRECT THE APPLICATION NUMBER PREVIOUSLY RECORDED AT REEL: 055108 FRAME: 0009. ASSIGNOR(S) HEREBY CONFIRMS THE CHANGE OF NAME. Recorded Feb 17, 2021
From: SAFRAN IDENTITY AND SECURITY
To: IDEMIA IDENTITY & SECURITY FRANCE
Reel/Frame 055314/0930 →
CORRECTIVE ASSIGNMENT TO CORRECT THE THE RECEIVING PARTY DATA PREVIOUSLY RECORDED ON REEL 047529 FRAME 0948. ASSIGNOR(S) HEREBY CONFIRMS THE CHANGE OF NAME. Recorded Oct 29, 2020
From: SAFRAN IDENTITY AND SECURITY
To: IDEMIA IDENTITY & SECURITY FRANCE
Reel/Frame 055108/0009 →
CORRECTIVE ASSIGNMENT TO CORRECT THE CORRECT THE ASSIGNEE NAME PREVIOUSLY RECORDED AT REEL: 047529 FRAME: 0949. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded May 1, 2020
From: SAFRAN IDENTITY & SECURITY
To: IDEMIA IDENTITY & SECURITY FRANCE
Reel/Frame 052551/0082 →
CHANGE OF NAME Recorded Jan 9, 2019
From: MORPHO
To: SAFRAN IDENTITY & SECURITY
Reel/Frame 048039/0605 →
CHANGE OF NAME Recorded Aug 30, 2018
From: SAFRAN IDENTITY & SECURITY
To: IDEMIA IDENTITY & SECURITY
Reel/Frame 047529/0948 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 13, 2017
From: DEL GIUDICE, LAUREN; FONTENEAU, ANTHONY; BIEULES, PIERRICK
To: SAFRAN IDENTITY & SECURITY
Reel/Frame 044111/0321 →
Priority Claims (1)
FR 16 53999 · May 3, 2016 · national
Continuity (1)
Related Publication 20170322742A1 · Nov 9, 2017