IP Library Granted Patent US 8,200,937
Granted Patent B2
US 8,200,937 · App. 12/663,014 · Granted Jun 12, 2012

Method of managing flash memory allocation in an electronic token

Assignee: Gemalto SA
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 8,200,937
App. No.
12/663,014
Granted
Jun 12, 2012
Kind
B2
Abstract

The invention is a method of managing flash memory-allocation in an electronic token. Said token has a memory comprising a list area and a managed area. Said managed area comprises allocated spaces and at least one free memory chunk. Said list area comprises at least one valid entry referencing a free memory chunk. Said valid entry comprises a state field. Said method comprises the step of selecting a free memory chunk further to an allocation request where said free memory chunk is referenced by an old entry, and the step of identifying a new allocated space in the selected free memory chunk. The state field of said valid entry is preset with a virgin state. Said method comprises the step of invalidating the old entry referencing the selected free memory chunk.

Claims (29)

1. A method of managing flash memory allocation in an electronic token comprising:

selecting, from a memory, a first free memory chunk of a plurality of free memory chunks further to an allocation request,

wherein the memory comprises a list area and a managed area,

wherein the managed area comprises a plurality of allocated spaces and the plurality of free memory chunks,

wherein the list area comprises a first valid entry of a plurality of valid entries, the first valid entry referencing the first free memory chunk comprising the first free memory chunk,

wherein the first valid entry comprises a state field preset with a virgin state and a memory chunk identifier associated with the first free memory chunk;

identifying a new allocated space in the first free memory chunk;

invalidating the first valid entry referencing the first free memory chunk; and

initializing a new valid entry in the list area when the new allocated space is allocated in the first free memory chunk, wherein the new valid entry references a second free memory chunk of the plurality of free memory chunks and has the same memory chunk identifier as the first free memory chunk.

2. The method of claim 1 , wherein the first valid entry is invalidated by writing a predefined value in the state field.

3. The method of claim 1 , further comprising:

requesting a compaction of the list area when said list area comprises a predefined number of valid entries.

4. The method of claim 3 , wherein the plurality of valid entries are sequentially initialized in the list area.

5. The method of claim 1 , wherein each of the plurality of allocated spaces and each of the plurality of free memory chunks is defined by their own size, and wherein said method further comprises:

initializing the new valid entry in the list area if the new allocated space size is smaller than a size of the first free memory chunk.

6. The method of claim 5 , wherein the allocation request is defined by a size, and wherein said method further comprises:

requesting a compaction of the managed area when the allocation request size is bigger than an individual size of each of the plurality of free memory chunks.

7. An electronic token, comprising:

a microprocessor,

a memory comprising a list area and a managed area, said managed area comprising a plurality of allocated spaces and a plurality of free memory chunks, said list area comprising a first valid entry referencing a first free memory chunk of the plurality of free memory chunks, said first valid entry comprising a state field and a memory chunk identifier associated with the first free memory chunk,

wherein the state field is preset with a virgin state, and

wherein said electronic token is configured to:

identify a new allocated space in the first free memory chunk of the plurality of free memory chunks, and

invalidate the first valid entry referencing the first free memory chunk,

wherein, when the new allocated space is allocated in the first free memory chunk, a new valid entry is initialized in the list area, wherein the new valid entry references a second free memory chuck of the plurality of free memory chunks and has the same memory chunk identifier as the first free memory chunk.

8. The electronic token of claim 7 , wherein the first valid entry comprises at least one availability field indicating if the first valid entry is used or unused, and wherein the unused value corresponds to a virgin state of the availability field.

9. The electronic token of claim 7 , wherein a number of valid entries initialized in the list area is limited to a preset threshold.

10. The electronic token of claim 7 , wherein the memory is a NOR flash memory.

11. The electronic token of claim 7 , wherein the electronic token (ET) is one selected from a group consisting of a smart card, a mobile phone, a portable audio device, a portable navigation device, and a memory token.

Assignments (3)
CHANGE OF NAME Recorded May 10, 2012
From: AXALTO SA
To: GEMALTO SA
Reel/Frame 028189/0276 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 23, 2010
From: CASTILLO, LAURENT; MARSEILLE, FRANCOIS-XAVIER; DEHLINGER, FRANCK
To: AXALTO SA
Reel/Frame 024277/0381 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2010
From: CASTILLO, LAURENT; MARSEILLE, FRANCOIS-XAVIER; DEHLINGER, FRANCK
To: AXALTO SA
Reel/Frame 023976/0533 →
Priority Claims (1)
EP 07301094 · Jun 8, 2007 · regional
Continuity (1)
Related Publication 20100199030A1 · Aug 5, 2010