DEVICE AND METHOD FOR BACKING UP DATA ON NON- VOLATILE MEMORY MEDIA, OF THE NAND FLASH TYPE, DESIGNED FOR ONBOARD COMPUTERS
First Claim
Patent Images
1. Device for backing up data on a non-volatile memory medium of onboard computers, the device comprising:
- a microcontroller having a random access memory; and
a flash memory component, wherein the flash memory component comprises;
N backup-dedicated sectors used to backup files and messages, the files associated with one or more of the messages, the backup-dedicated sectors having one or more respective addresses and comprising;
corrupted backup-dedicated sectors; and
uncorrupted backup-dedicated sectors,wherein the uncorrupted backup-dedicated sectors exhibit a number of completed erasure cycles;
the flash memory component further comprises a master table block comprising;
a corrupted sectors table, to list the addresses of the corrupted backup-dedicated sectors;
a wear levelling table, to list the number of completed erasure cycles associated with each of the uncorrupted backup-dedicated sectors; and
a logbook and message table, comprising a set of file identifiers to identify one or more files, each file containing one or more messages, the logbook and message table making it possible to list the addresses of the backup-dedicated sectors containing the data associated with the messages; and
the backup device further comprises;
a circuit to erase and to recreate the master table block at a different address upon each modification of at least one backup-dedicated sector.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to a device making it possible to manage a flash memory component designed for onboard computers notably in the aviation field. In particular, the invention makes it possible to use NAND flash memory media in fields such as aviation, by virtue of its judicious organisation and management of the flash memory components. On the one hand it makes it possible to optimise and on the other hand to control the lifetime of the flash memories.
-
Citations
17 Claims
-
1. Device for backing up data on a non-volatile memory medium of onboard computers, the device comprising:
-
a microcontroller having a random access memory; and a flash memory component, wherein the flash memory component comprises; N backup-dedicated sectors used to backup files and messages, the files associated with one or more of the messages, the backup-dedicated sectors having one or more respective addresses and comprising; corrupted backup-dedicated sectors; and uncorrupted backup-dedicated sectors, wherein the uncorrupted backup-dedicated sectors exhibit a number of completed erasure cycles; the flash memory component further comprises a master table block comprising; a corrupted sectors table, to list the addresses of the corrupted backup-dedicated sectors; a wear levelling table, to list the number of completed erasure cycles associated with each of the uncorrupted backup-dedicated sectors; and a logbook and message table, comprising a set of file identifiers to identify one or more files, each file containing one or more messages, the logbook and message table making it possible to list the addresses of the backup-dedicated sectors containing the data associated with the messages; and the backup device further comprises; a circuit to erase and to recreate the master table block at a different address upon each modification of at least one backup-dedicated sector. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
when the flash memory component starts up; reading all the backup-dedicated sectors; locating the master table block, designated an old master table block; and loading, into the random access memory for the microcontroller, the old master table block comprising the corrupted sectors table, the wear levelling table and the logbook and message table; when a message is written on the flash memory component; erasing the youngest sector, the youngest sector corresponding to the sector dedicated to the available memory having the smallest number of completed erasure cycles; writing the message in the youngest sector; writing a new, up-to-date master table block, by; erasing the youngest sector and writing the message; and erasing the old master table block.
-
-
9. Method according to claim 8, wherein the reading of all the backup-dedicated sectors for the purpose of locating the master table block culminates initially in the location of several possible master table blocks, wherein the master table block has an identifier associated with its date of last modification, making it possible to identify the correct master table block, that is the most recent.
-
10. Method according to claim 8, wherein the device has approximately a 10 millisecond time period before ceasing to operate in the event of an electricity supply disconnection, wherein the 10 millisecond time period allows the saving of the master table block, wherein the master table block comprises information to trace the interruption of a possible operation in progress.
-
11. Method according to claim 8, wherein the management of the flash memory component is provided by a software program that is executed by the microcontroller.
-
12. Device according to claim 4, wherein the erasure frequency may, for predetermined short periods, exceed the maximum erasure frequency.
-
13. Device according to claim 4, wherein the flash memory component is of the NAND flash type.
-
14. Device according to claim 4, wherein:
-
the master table block comprises a reserved memory space that corresponds to a backup-dedicated sector; the corrupted sectors table comprises a reserved memory space that is less than or equal to approximately 1% of the memory space reserved for the master table block; the wear levelling table comprises a reserved memory space of between about 20% and about 30% of the memory space reserved for the master table block; and the logbook and message table comprises a reserved memory space of between about 30% and about 40% of the memory space reserved for the master table block.
-
-
15. Device according to claim 13, wherein:
-
the master table block comprises a reserved memory space that corresponds to a backup-dedicated sector; the corrupted sectors table comprises a reserved memory space that is less than or equal to approximately 1% of the memory space reserved for the master table block; the wear levelling table comprises a reserved memory space of between about 20% and about 30% of the memory space reserved for the master table block; and the logbook and message table comprises a reserved memory space of between about 30% and about 40% of the memory space reserved for the master table block.
-
-
16. Method according to claim 9, wherein the management of said flash memory component is provided by a software program that is present on said microcontroller.
-
17. Method according to claim 10, wherein the management of said flash memory component is provided by a software program that is present on said microcontroller.
Specification