Patent ID: 8930318
Filing Date: 2015-01-06
Classification: G06F

Abstract:
1. A computer-implemented method for safeguarding against interruptions when updating data of an electronic device, the method comprising: determining if a current operation of a plurality of operations is idempotent, the plurality of operations being associated with a current update for the data and comprising at least one non-idempotent operation; erasing a previous version of a checkpoint if the current operation is not idempotent; applying the current operation to the data; preventing termination of the applying step and of the erasing step if the current operation is not idempotent and if the applying step has not yet completed; generating a current version of the checkpoint if the applying step has completed, the current version of the checkpoint comprising a next operation indicator that specifies a next operation of the plurality of operations to be applied to the data; storing the current version of the checkpoint on the electronic device such that the current version of the checkpoint persists across reboot of the electronic device; cancelling the preventing step after the storing step has completed; and repeating the determining, the applying, the preventing, the generating, the storing, and the cancelling for each subsequent one of the plurality of operations.