Method and apparatus for data backup and restoration in a portable data device
First Claim
1. A data backup and restoration method for a portable data device comprising the steps of:
- mapping a memory device into a plurality of segments, and having a backup memory buffer;
loading a plurality of user applications into the plurality of segments, wherein the backup memory buffer is shared by the plurality of user applications;
storing a valid state of data from a memory location into the backup memory buffer prior to performing a transaction for an application; and
restoring the valid state of data from the backup memory buffer into the memory location upon power up of the portable data device in an event the transaction is terminated prior to completion, wherein the step of restoring is independent of a next application in which a next transaction is performed.
4 Assignments
0 Petitions
Accused Products
Abstract
A portable data device (300) having a memory (302) is provided. The memory (302) is segmented into a plurality of sectors (304-312). A backup memory buffer (312) and a plurality of applications (304-310) are programmed into the plurality of sectors, wherein the backup memory buffer (312) is jointly used by the plurality of applications (304-310). A valid state of data is stored in the backup memory buffer (312) prior to performing a transaction for a first application (304). The valid state of data is restored in the first application (304) upon power up of the portable data device (300) in an event the transaction is terminated prior to completion, wherein the step of restoring is independent of a next application in which a next transaction is performed.
-
Citations
20 Claims
-
1. A data backup and restoration method for a portable data device comprising the steps of:
-
mapping a memory device into a plurality of segments, and having a backup memory buffer;
loading a plurality of user applications into the plurality of segments, wherein the backup memory buffer is shared by the plurality of user applications;
storing a valid state of data from a memory location into the backup memory buffer prior to performing a transaction for an application; and
restoring the valid state of data from the backup memory buffer into the memory location upon power up of the portable data device in an event the transaction is terminated prior to completion, wherein the step of restoring is independent of a next application in which a next transaction is performed. - View Dependent Claims (2)
-
-
3. A data backup and restoration method for use within a portable data device having a memory device segmented into a plurality of sectors, the memory device further comprising a backup memory buffer, the data backup and restoration method comprising the steps of:
-
receiving power from a reader;
receiving a command from the reader to access data stored at a memory location within the memory device, wherein the data is used to perform a transaction;
copying the data from the memory location into the backup memory buffer, in order to create backup data, prior to performing the transaction;
setting a flag bit, in response to copying the data, to indicate that the transaction is incomplete;
determining a status of the flag bit upon a next receipt of power from a reader; and
copying the backup data into the memory location when the status of the flag bit is set, wherein the step of copying the backup data is independent of a reader. - View Dependent Claims (4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A data backup and restoration method for use within a portable data device having a memory device segmented into a plurality of sectors, the memory device further comprising a backup memory buffer, the data backup and restoration method comprising the steps of:
-
receiving power from a reader;
receiving a command from the reader to access first data stored at a first memory location in the memory device and second data stored at a second memory location in the memory device, wherein the first and second memory locations are controlled by the reader, and wherein the first data and the second data are used to perform a transaction;
copying the first data from the first memory location into a first segment of the backup memory buffer in order to create a first backup data and copying the second data from the second memory location into a second segment of the backup memory buffer in order to create a second backup data prior to performing the transaction;
setting a flag bit, in response to the step of copying the first data, to indicate that the transaction is incomplete;
upon a next receipt of power from a reader, determining a status of the flag bit; and
copying the first backup data into the first memory location and copying the second backup data into the second memory location when the status of the flag bit is set, wherein the step of copying the first backup data is independent of a reader.
-
- 15. A data backup and restoration apparatus having stored thereon a plurality of user applications and a backup memory buffer, the backup memory buffer being common to the plurality of user applications, when the data backup and restoration apparatus receives power from a reader in order to perform a transaction on data stored at a memory location, the data is copied from the memory location into the backup memory buffer prior to performing the transaction, and upon a next receipt of power from a reader, the data is copied from the backup memory buffer into the memory location in an event the transaction is terminated prematurely independent of a reader.
-
18. A storage medium having stored thereon a plurality of user applications and a backup memory buffer which, when loaded into a portable data device having a processing element, causes the processing element to perform the following functions:
-
share the backup memory buffer with the plurality of user applications;
store a valid state of data from a memory location in the storage medium into the backup memory buffer prior to performing a transaction for an application; and
restore the valid state of data from the backup memory buffer into the memory location upon power up of the portable data device in an event the transaction is terminated prior to completion, independent of a next application in which a next transaction is performed. - View Dependent Claims (19, 20)
-
Specification