Method and apparatus for protecting user data during power failures in a data processing system
First Claim
1. A method of preserving data integrity during periods of unstable power supply in a data processing system, the method comprising the computer-implemented steps of:
- tracking changes made by a user to data files;
receiving an early power fail warning signal, wherein the early power fail warning signal provides an indication that a power supply in the data processing system has become unstable;
in response to the early power fail warning signal, storing the tracked changes in non-volatile memory;
creating a change record file for a data file modified by a user; and
generating a change record in the change record file for each change to the data file.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for protecting user data during power failures on a network-computer-class data processing system is provided. The network-computer-class data processing system is integrated with a power supply having an early power fail warning signal to ensure that unsaved changes to user data files are saved before a complete power failure strikes the data processing system. As a user employs one or more applications to create or modify data files, a table of file changes is created for each user data file that is opened by the user. This table is kept in non-volatile media, preferably on the user'"'"'s network computer but possibly on a server located on a network connected to the network computer if the network computer lacks non-volatile memory. The entire contents of the table are saved to non-volatile storage in the time interval between the early power fail warning signal going active and the power completely failing. The table of user data changes can then be applied to recreate the user'"'"'s data after power is restored.
-
Citations
21 Claims
-
1. A method of preserving data integrity during periods of unstable power supply in a data processing system, the method comprising the computer-implemented steps of:
-
tracking changes made by a user to data files;
receiving an early power fail warning signal, wherein the early power fail warning signal provides an indication that a power supply in the data processing system has become unstable;
in response to the early power fail warning signal, storing the tracked changes in non-volatile memory;
creating a change record file for a data file modified by a user; and
generating a change record in the change record file for each change to the data file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
providing the early power fail warning signal in response to a determination that the power supply has dropped below a configurable level.
-
-
5. The method of claim 1 wherein the step of storing the tracked changes in non-volatile memory is completed within a predetermined period of time.
-
6. The method of claim 1 wherein a plurality of change record files are created for each data file modified by a user.
-
7. The method of claim 1 further comprising:
storing the change record file in non-volatile memory in response to a number of change records in the change record file equaling a predetermined value.
-
8. The method of claim 1 further comprising:
storing the change record file in non-volatile memory at predetermined time intervals.
-
9. The method of claim 1, wherein the tracked changes are stored using power from the power supply.
-
10. An apparatus for preserving data integrity during periods of unstable power supply in a data processing system, the apparatus comprising:
-
tracking means for tracking changes made by a user to data files;
receiving means for receiving an early power fail warning signal, wherein the early power fail warning signal provides an indication that a power supply in the data processing system has become unstable;
first storming means for storing, in response to the early power fail warning signal, the tracked changes in non-volatile memory;
creating means for creating a change record file for a data file modified by a user; and
generating means for generating a change record in the change record file for each change to the data file. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
providing means for providing the early power fail warning signal in response to a determination that the power supply has dropped below a configurable level.
-
-
14. The apparatus of claim 10 wherein the first storing means operates within a predetermined period of time.
-
15. The apparatus of claim 10 wherein a plurality of change record files arc created for each data file modified by a user.
-
16. The apparatus of claim 10 further comprising:
second storing means for storing the change record file in non-volatile memory in response to a number or change records in the change record file equaling a predetermined value.
-
17. The apparatus of claim 10 further comprising:
third storing means for storing the change record file in non-volatile memory at predetermined time intervals.
-
18. A computer program product in a computer-readable medium for use in a data processing system for preserving data integrity during periods of unstable power supply in the data processing system, the computer program product comprising:
-
first instructions for tracking changes made by a user to data files;
second instructions for receiving an early power fail warning signal, wherein the early power fail warning signal provides an indication that a power supply in the data processing system has become unstable;
third instructions for storing, in response to the early power fail warning signal, the tracked changes in non-volatile memory;
instructions for creating a change record file for a data file modified by a user; and
instructions for generating a change record in the change record file for each change to the data file. - View Dependent Claims (19, 20, 21)
instructions for providing the early power fail warning signal in response to a determination that the power supply has dropped below a configurable level.
-
-
20. The computer program product of claim 18 further comprising:
instructions for storing the change record file in non-volatile memory in response to a number of change records in the change record file equaling a predetermined value.
-
21. The computer program product of claim 18 further comprising:
instructions for storing the change record file in non-volatile memory at predetermined time intervals.
Specification