The present application is related to copending U.S. patent application Ser. No. 12,141,960, filed concurrently and incorporated herein by reference.
1. Technical Field
The present invention relates to tape storage systems in general. More particularly, the present invention relates to a method and apparatus for providing longitudinal position (LPOS) data in a tape storage system. Still more particularly, the present invention relates to a method and apparatus for providing error correction capability to LPOS words in a tape storage system.
2. Description of Related Art
Tape storage systems remain to be the most efficient and cost-effective means for providing data backup because no other storage technology offers the same low cost and high capacity combined advantage. In addition, tape storage systems have been proven to be very reliable.
By combining the advantages of linear multi-channel bidirectional tape formats in common usage, Linear Tape-Open (LTO) technology has been developed to maximize capacity and performance of tape storage systems. LTO tapes use a tape format that has longitudinally pre-written servo tracks. The servo tracks provide a timing-based track-following position error scheme. The servo tracks contain a repeated pattern of recorded flux transitions that occur in grouped bursts of 5, 5, 4 and 4 transitions. The timing between the sets of five-bursts and between sets of four-bursts provides the position information for track following. Additionally, the individual transitions within the five-bursts are phase-shifted in a manner that encodes longitudinal position information (LPOS) into the servo tracks.
The LPOS information are used to keep track of the longitudinal position of data records written onto or read from a tape, and are used to locate those data records when the reading or writing process temporarily stops. By detecting the phase-encoded LPOS information, a tape storage system is able to determine the tape position relative to landmarks lengthwise down a tape. The LPOS locations of data files on tape are also stored in the volume control data for use to locate the data files during a later tape cartridge load for reading, or for write-appending new files onto the end of the last file written to the tape. The LPOS data are used as the primary positional information for the tape storage servo control system to determine the starting and stopping of a tape, and to back-hitch the tape in order to position the read-write heads at the beginning of a data record at the required velocity and track position that allows the start of a new data transfer operation.
LPOS data typically cannot tolerate any errors. But if a tape drive is reduced to a single channel because other servo heads have been smeared or shorted, a single bit error on that channel can cause a Stop Write condition. Thus, LPOS data have to able to tolerate some level of errors such that the good servo head can continue to operate after an occurrence of an error.
One known solution to the above-mentioned problem is to append Reed-Solomon parity symbols to an LPOS word, but it would increase the length of the LPOS word, and it would cause problems in synchronizing to the LPOS word since Reed-Solomon words are not base-14 as required by the LPOS format in order to allow for synchronization. Another solution is to add a base-14 checksum, but again it would increase the length of the LPOS word, and it only provides error detection but not error correction.
Consequently, it would be desirable to provide an improved method and apparatus for providing error correction capability to LPOS words.
In accordance with a preferred embodiment of the present invention, data are initially encoded via a set of even LPOS words and a set of odd LPOS words. The encoded data are then decoded by generating a set of syndrome bits for each of the LPOS words. A determination is then made as to whether or not there is an error within one of the LPOS words based on its corresponding syndrome bits.
All features and advantages of the present invention will become apparent in the following detailed written description.
The invention itself, as well as a preferred mode of use, further objects, and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
Referring now to the drawings, and specifically to
With reference now to
In addition, a controller 30 provides control signals to motor drivers 28-29. Motor drivers 28-29, in turn, provide drive signals to takeup reel motors 26-27, respectively. Position encoders 31-32 commutates takeup reel motors 26-27, respectively. longitudinal position (LPOS) information are used to cause controller 30 to move magnetic tape 22 over the entire length of magnetic tape 22, to rewind from the end of magnetic tape 22 to the beginning of magnetic tape 22 and unspool, unthread, etc.
Referring now to
In the prior art, an LPOS word includes one sync mark and seven 14-ary symbols (written in a forward tape motion direction), as follows:
Sy,L0,L1,L2,L3,L4,L5,Tx
where
In accordance with a preferred embodiment of the present invention, LPOS information is initially represented by an even LPOS word and an odd LPOS word (or vice versa), followed by a group of LPOS words that are made up of a combination of even or odd LPOS words. Each of even and odd LPOS words includes one sync mark and seven 14-ary symbols (written in a forward tape motion direction), as follows:
where
The two 1's RLL constrain the X,Y bit sequence so that no false Sy is seen.
Mappings for the 14-ary symbols in an even LPOS word (i.e., L0 L1 L2 L3 X Y Tx) and mappings for the 14-ary symbols in an odd LPOS word (i.e., L0 L1 L4 L5 X Y Tx) are as follows:
An encoder is used to compute the parity bits a, b, c, d, e and f as a function of u1 . . . u20. Within the encoder, the following computations are performed:
a=u1⊕u5⊕u6⊕u9⊕u11⊕u14⊕u15⊕u18⊕u20
b=u1⊕u2⊕u7⊕u10⊕u11⊕u12⊕u15⊕u16⊕u17⊕u19
c=u2⊕u3⊕u6⊕u8⊕u11⊕u12⊕u13⊕u17⊕u18⊕u20
d=u3⊕u4⊕u7⊕u9⊕u12⊕u13⊕u14⊕u16⊕u18⊕u19
e=u4⊕u5⊕u8⊕u10⊕u13⊕u14⊕u15⊕u17⊕u19⊕u20
f=u1⊕u2⊕u3⊕u4⊕u5⊕u6⊕u7⊕u8⊕u9⊕u10
where ⊕ stands for an exclusive OR operation (i.e., modulo 2 addition). Preferably, a total of 54 exclusive OR logic gates are required to implement the encoder, and a total of nine exclusive OR gates are used to compute each of the parity bits a-f.
The values of u1 . . . u20 for forming parity bits a-f are based on a 6×26 parity check matrix H=[h1 h2 h3 . . . h20 h21 h22 h23 h24 h25 h26], where hi is the ith column vector of matrix H given by:
A decoder is used to compute six syndrome bits s1 . . . s6. The decoder then determines whether or not there is an error in an LPOS word based on the values of the computed syndrome bits. Within the decoder, the following computations are performed:
s1=a′⊕u′1⊕u′5⊕u′6⊕u′9⊕u′11⊕u′14⊕u′15⊕u′16⊕u′18⊕u′20
s2=b′⊕u′1⊕u′2⊕u′7⊕u′10⊕u′11⊕u′12⊕u′15⊕u′16⊕u′17⊕u′19
s3=c′⊕u′2⊕u′3⊕u′6⊕u′8⊕u′11⊕u′12⊕u′13⊕u′17⊕u′18⊕u′20
s4=d′⊕u′3⊕u′4⊕u′7⊕u′9⊕u′12⊕u′13⊕u′14⊕u′16⊕u′18⊕u′19
s5=e′⊕u′4⊕u′5⊕u′8⊕u′10⊕u′13⊕u′14⊕u′15⊕u′17⊕u′19⊕u′20
s6=f′⊕u′1⊕u′2⊕u′3⊕u′4⊕u′5⊕u′6⊕u′7⊕u′8⊕u′9⊕u′10
where ⊕ stands for an exclusive OR operation. Preferably, a total of 60 exclusive OR logic gates are required to compute syndrome bits, and a total of 10 exclusive OR logic gates are used to compute each syndrome bit. The prime notation denotes a received bit (e.g., a′ is the received bit a, b′ is the received bit b, u′1 is the received bit u1, u′2 is the received bit u2, etc.), which can be potentially in error. The decoder considers three separate cases and makes a decision in each of the three cases as follows.
Case 1: s1+s2+s3+s4+s5+s6=0 or 1
In case 1, if all the received 4-bit data nibbles are valid 14-ary nibbles, nothing is done (i.e., no error is corrected in bits u′1 . . . u′20). In the present example, u1=u′1, . . . , u20=u′20 are declared by the decoder, where u1 . . . u20 are the decoder's data estimates. However, if at least one of the received 4-bit nibbles is not valid, an error detection flag is raised.
Case 2: s1+s2+s3+s4+s5+s6=2 or 4 or 5 or 6
In case 2, an error detection flag is raised.
Case 3: s1+s2+s3+s4+s5+s6=3
In case 3, depending on the values of the syndrome bits, a particular single bit among bits u′1 . . . u′20 is “flipped.” Specifically, if the syndrome vector in column form is equal to the ith column vector of the parity check matrix H, i=1, 2, . . . , 20, then the ith bit u′i is “flipped.” In other words, if [s1 s2 s3 s4 s5 s6]t=hi, where i=1, 2, . . . , 20, then the ith bit u′i is “flipped,” where t denotes the transpose operation. The decoder then concludes ui=u′i⊕1, and uj=u′j if j is not equal to i. If all the data nibbles with the data estimate after error correction ui, where i=1, 2, . . . , 20, are valid 14-ary nibbles, the decoding is complete. However, if one of the data nibbles after error correction is not a valid 14-ary nibble, an error detection flag is raised.
For each new LPOS word sequence, a tape drive needs to first read two LPOS words consecutively in order to fully land a seek position since L0, L1, L2, L3, L4, and L5 are required. But after the first two LPOS words (i.e., L2 through L5) are known and can be updated, only one LPOS word is then required for subsequent updates.
With reference now to
As has been described, the present invention provides an improved method and apparatus for providing error correction capability to LPOS words. The method of the present invention allows a single-bit error to be corrected and a double-bit error to be detected without increasing the LPOS word length. The particular (n,k)=(26,20) extended shortened Hamming code that was designed can correct all single errors and detect all double errors. In addition, the method of the present invention can detect 20.77% of all possible triple errors (three errors at any position) and 96.55% of all quadruple errors (four errors at any position).
It is also important to note that although the present invention has been described in the context of hardware, those skilled in the art will appreciate that the mechanisms of the present invention are capable of being distributed as a program product in a variety of forms, and that the present invention applies equally regardless of the particular type of signal bearing media utilized to actually carry out the distribution. Examples of signal bearing media include, without limitation, recordable type media such as floppy disks or compact discs and transmission type media such as analog or digital communications links.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
The present application is a continuation of U.S. patent application Ser. No. 11/205,713, filed on Aug. 17, 2005, published on Feb. 22, 2007, issued as a patent (U.S. Pat. No. 7,421,640) on Sep. 2, 2008, and entitled, “Method and Apparatus for Providing Error Correction Capability to Longitudinal Position Data,” which is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
3854081 | Benaglio | Dec 1974 | A |
4041287 | Kolell et al. | Aug 1977 | A |
4221995 | Barkman | Sep 1980 | A |
4536809 | Sidman | Aug 1985 | A |
5828513 | Greenberg | Oct 1998 | A |
5930448 | Lee et al. | Jul 1999 | A |
5963386 | Assouad | Oct 1999 | A |
6005727 | Behrens et al. | Dec 1999 | A |
6141176 | Blaum et al. | Oct 2000 | A |
6240332 | Buttrick et al. | May 2001 | B1 |
6301511 | Fujita et al. | Oct 2001 | B1 |
6462898 | Blaum et al. | Oct 2002 | B2 |
7421640 | Cideciyan et al. | Sep 2008 | B2 |
Number | Date | Country |
---|---|---|
201230 | Aug 1991 | EP |
2001067847 | Mar 2001 | JP |
2002515622 | May 2002 | JP |
2004087000 | Mar 2004 | JP |
2005166140 | Jun 2005 | JP |
Number | Date | Country | |
---|---|---|---|
20080256423 A1 | Oct 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11205713 | Aug 2005 | US |
Child | 12141962 | US |