System and method for preventing damage to media files within a digital camera device
First Claim
Patent Images
1. A system for preventing damage to media files within a digital camera, comprising:
- a power manager for detecting a power failure in said digital camera;
an interrupt handler for responsively incrementing a counter device following said power failure; and
a memory driver for performing a memory access operation said memory driver evaluating said counter device prior to performing said memory access operation to obtain a pre-operation value, evaluating said counter device subsequent to performing said memory access operation to obtain a post-operation value, comparing said pre-operation value and said post-operation value to determine whether a difference between said pre-operation value and said post-operation value exists to indicate that said power failure occurred during said memory access operation, and repeating said memory access operation if said pre-operation value and said post-operation value are different.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for preventing damage to media files within a digital camera comprises a power manager for detecting power failures, an interrupt handler for responsively incrementing a counter device and a removable memory driver for performing memory access operations, evaluating the counter device to determine whether a power failure has occurred during the memory access operation and for repeating the memory access operation whenever a power failure has occurred during the memory access operation.
-
Citations
4 Claims
-
1. A system for preventing damage to media files within a digital camera, comprising:
-
a power manager for detecting a power failure in said digital camera; an interrupt handler for responsively incrementing a counter device following said power failure; and a memory driver for performing a memory access operation said memory driver evaluating said counter device prior to performing said memory access operation to obtain a pre-operation value, evaluating said counter device subsequent to performing said memory access operation to obtain a post-operation value, comparing said pre-operation value and said post-operation value to determine whether a difference between said pre-operation value and said post-operation value exists to indicate that said power failure occurred during said memory access operation, and repeating said memory access operation if said pre-operation value and said post-operation value are different.
-
-
2. A method for preventing damage to media files within a digital camera, comprising the steps of:
-
detecting a power failure within said digital camera; incrementing a counter device in response to said power failure; evaluating said counter device prior to performing a memory access operation to obtain a pre-operation value; evaluating said counter device subsequent to performing said memory access operation to obtain a post-operation value; comparing said pre-operation value and said post-operation value, with a difference between said pre-operation value and said post-operation value to indicating said power failure occurred during said memory access operation; and repeating said memory access operation if said pre-operation value and said post-operation value are different.
-
-
3. A computer-readable medium comprising program instructions for preventing damage to media files within a digital camera by performing the steps of:
-
detecting a power failure within said digital camera; incrementing a counter device in response to said power failure; evaluating said counter device prior to performing a memory access operation to obtain a pre-operation value; evaluating said counter device subsequent to performing said memory access operation to obtain a post-operation value; comparing said pre-operation value and said post-operation value, with a difference between said pre-operation value and said post-operation value to indicating said power failure occurred during said memory access operation; and repeating said memory access operation if said pre-operation value and said post-operation value are different.
-
-
4. A system for preventing damage to media files within a digital camera, comprising:
-
means for detecting a power failure within said digital camera; means for incrementing a counter device in response to said power failure; means for evaluating said counter device prior to performing a memory access operation to obtain a pre-operation value; means for evaluating said counter device subsequent to performing said memory access operation to obtain a post-operation value; means for comparing said pre-operation value and said post-operation value, with a difference between said pre-operation value and said post-operation value to indicating said power failure occurred during said memory access operation; and means for repeating said memory access operation if said pre-operation value and said post-operation value are different.
-
Specification