Patent ID: 9633098
Date: 2017-04-25
CPC Classifications: G06F,G06Q

Claim:
1. A method for maintaining coherency, the method comprising: automatically detecting by a processor of a user device, a removal of a wallet application at the user device, wherein the removal of the wallet application changes functional code of the user device, and wherein the processor of the user device automatically detects the removal of the wallet application at the user device by identifying a change in state between a persistent storage at the user device and a system memory at the user device; initiating a transmission of a synchronization message by the user device to a second entity to apply a coherency protocol for synchronizing end states in the second entity with data in the user device; in response to the automatically detecting the removal of the wallet application, receiving an instruction from the second entity to delete persistent sensitive data associated with the wallet application; in response to the automatically detecting the removal of the wallet application, deleting the persistent sensitive data associated with the wallet application, wherein the persistent sensitive data being deleted is data that the wallet application uses when the functional code associated with the wallet application is executed, wherein the second entity is configured to synchronize the data in the second entity with the data in the user device based upon a predetermined policy with high level of privilege, the predetermined policy specifying a condition to synchronize the second entity and the user device if the second entity and the user device share a common state and the change is due to a reconfiguration of the user device; and if there is discrepancy in the end states, the second entity and the user device resolve the discrepancy either by committing to a new state or aborting and rolling back to a previous state so that the end states are coherent.