Patent ID: 7856522

Claim:
A system for managing data on a mobile device, the system comprising: a flash memory component in communication with the mobile device, wherein the flash memory component is configured to store data in physical pages, wherein the physical pages include physical page numbers; a cache memory component operable to store, in a temporary storage, a copy of at least a portion of the data stored in the flash memory component on the mobile device, wherein the at least a portion of the data is stored in logical pages; a database management component on the mobile device and operable to manage, in a database, the logical pages of the at least a portion of the data stored in the temporary storage; an access component operable to provide access to the data managed in the logical pages, wherein each of the pages include a logical page number, wherein the access component is further configured to access the cache memory component to determine if a requested page is stored in the cache memory component, and wherein if the requested page is not stored within the cache memory component, then the access component is configured to access the requested page from the database; and a virtual page map component operable to maintain mappings of the logical page numbers of the pages managed by the database management component with the physical page numbers in the flash memory component, whereby updates to the data stored in the cache memory component are made using the logical page number to identify the logical page in the cache memory; and the virtual page map is operable to provide the physical page number to be used in updating the physical page stored on the flash memory component after updates to the corresponding logical page in the cache memory are complete.