Variable-length record, corruption recovery apparatus, system, and method
First Claim
1. A method for identifying variable-length records within a data block containing corrupted data, the method comprising:
- scanning, by at least one processor, backward from an end of a data block comprising records of variable length, one record at a time, to identify a first span of good records;
scanning, by the at least one processor, forward from a front of the data block, one record at a time, to identify a second span of good records;
identifying, by the at least one processor, a problem region by identifying data that resides between the first span and the second span, wherein the problem region comprises at least one variable-length record having a corrupt control information field; and
creating, by the at least one processor, a new record between the first span and the second span that encapsulates the problem region, wherein creating the new record comprises creating a control information field for the new record with a length indicator storing the length of the problem region.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for identifying records of variable length within a data block containing corrupted data is disclosed herein. In certain embodiments, such a method may include scanning backward from an end of a data block containing variable-length records. The backward scan may proceed, one record at a time, to identify a first span of good (i.e., non-corrupt) records. The method may further include scanning forward from a front of the data block, also proceeding one record at a time, to identify a second span of good records. The method may include identifying a problem region by identifying data that resides between the first span and the second span. The method may also include creating a new record between the first span and the second span that contains the problem region. A corresponding computer program product, apparatus, and system are also disclosed.
18 Citations
18 Claims
-
1. A method for identifying variable-length records within a data block containing corrupted data, the method comprising:
-
scanning, by at least one processor, backward from an end of a data block comprising records of variable length, one record at a time, to identify a first span of good records; scanning, by the at least one processor, forward from a front of the data block, one record at a time, to identify a second span of good records; identifying, by the at least one processor, a problem region by identifying data that resides between the first span and the second span, wherein the problem region comprises at least one variable-length record having a corrupt control information field; and creating, by the at least one processor, a new record between the first span and the second span that encapsulates the problem region, wherein creating the new record comprises creating a control information field for the new record with a length indicator storing the length of the problem region. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product for identifying variable-length records within a data block containing corrupted data, the computer program product comprising a non-transitory computer-readable storage medium storing computer instructions which when executed by at least one computer cause the at least one computer to perform the following:
-
scan backward from an end of a data block comprising records of variable length, one record at a time, to identify a first span of good records; scan forward from a front of the data block, one record at a time, to identify a second span of good records; identify a problem region by identifying data that resides between the first span and the second span, wherein the problem region comprises at least one variable-length record having corrupt control information field; and create a new record between the first span and the second span that encapsulates the problem region, wherein creating the new record comprises creating a control information field for the new record with a length indicator storing the length of the problem region. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. An apparatus for identifying variable-length records within a data block containing corrupted data, the apparatus comprising:
-
at least one processor; and at least one memory device coupled to the at least one processor and storing modules for execution on the at least one processor, the modules comprising; a backward scan module configured to scan backward from an end of a data block comprising records of variable length, one record at a time, to identify a first span of good records; a forward scan module configured to scan forward from a front of the data block, one record at a time, to identify a second span of good records; an identification module configured to identify a problem region by identifying data that resides between the first span and the second span, wherein the problem region comprises at least one variable-length record having a corrupt control information field; and a record creation module configured to create a new record between the first span and the second span that encapsulates the problem region, wherein creating the new record comprises creating a control information field for the new record with a length indicator storing the length of the problem region. - View Dependent Claims (14, 15, 16)
-
-
17. A system for identifying variable-length records within a data block containing corrupted data, the system comprising:
-
a storage device configured to store a data block comprising variable-length records; a memory configured to receive the data block; a transfer module configured to transfer the data block between the memory and the storage device; a recovery module configured to; scan backward from an end of a data block comprising variable-length records, one record at a time, to identify a first span of good records; scan forward from a front of the data block, one record at a time, to identify a second span of good records; identify a problem region by identifying data that resides between the first span and the second span, wherein the problem region comprises at least one variable-length record having a corrupt control information field; and create a new record between the first span and the second span that encapsulates the problem region, wherein creating the new record comprises creating a control information field for the new record with a length indicator storing the length of the problem region. - View Dependent Claims (18)
-
Specification