Data recording method and data recording/reproducing device, recording medium

Abstract
The present invention provides a data recording method a data recording and/or reproducing apparatus for recording data transmitted from a computer to a magnetic tape. In case a recording head fails to write data (data ID=582) of fragment ID=5 to a track (track 7), then, the data is rewritten to the first fragment (ID=0) of a next track (track 8). Thus, the data can be rewritten not on the track basis but on the fragment basis, which can reduce loss of tape capacity significantly.
Description


TECHNICAL FIELD

[0001] The present invention relates to a data recording method for recording data transmitted from a computer to a magnetic tape, etc., a data recording and/or reproducing apparatus, and a recording medium.



BACKGROUND ART

[0002] Conventionally, there is known the Digital Audio Tape (DAT) as a system for recording and reproducing digital data, in particular digital data of music, to and from a magnetic tape. Also, there is used the Digital Data Storage (DDS) as a system for recording and reproducing digital data of large capacity (several G bytes˜scores of G Bytes) stored in a computer to and from a magnetic tape based on the DAT.


[0003] In the DDS, inclined tracks are recorded to a magnetic tape using a tape streamer of the helical scanning type having rotary heads. In each of the tracks, there are recorded 96 data blocks called fragments. In each of the fragments, a fragment ID to discriminate the respective fragments from others is recorded other than recording data.


[0004] In a recording and/or reproducing apparatus of the DDS, read after write (RAW) processing is performed to monitor whether or not fragments are normally recorded. In case a fragment is not normally recorded, rewrite processing is performed to rewrite a track including the fragment entirely to another position.


[0005] In the rewrite processing, even though there is raised only one fragment which is not normally recorded, a track including the fragment is rewritten entirely to another track. Also, since several tracks during a period from the time when a fragment which is not normally recorded is detected and until the time when the rewrite processing is performed are caused to be dummy, there is raised a problem that loss of tape capacity is enlarged.



DISCLOSURE OF THE INVENTION

[0006] Accordingly, the present invention has an object to overcome the above-mentioned drawbacks of the prior art by providing a data recording method, a data recording and/or reproducing apparatus, and a recording medium which can reduce loss of tape capacity to the utmost.


[0007] The above object can be attained by providing a data recording method for recording tracks each composed of a plurality of data blocks each containing recording data to a tape-shaped recording medium, wherein


[0008] each of the data blocks has recorded therein a first identifier to identify the block in the track, and


[0009] each of the data blocks has recorded therein a second identifier to identify the recording data recorded in the data block.


[0010] Also, the above object can be attained by providing a data recording and/or reproducing apparatus for recording tracks each composed of a plurality of data blocks each containing recording data to a tape-shaped recording medium, including:


[0011] means for recording a first identifier to identify the block in the track to each of the data blocks, and


[0012] means for recording a second identifier to identify the recording data recorded in the data block to each of the data blocks.


[0013] Also, the above object can be attained by providing a recording medium of a tape shape which is to have recorded thereto tracks each composed of a plurality of data blocks each containing recording data, wherein


[0014] each of the data blocks has


[0015] a first area in which a first identifier to identify the block in the track is recorded, and


[0016] a second area in which a second identifier to identify the recording data recorded in the data block.


[0017] Thus, according to the present invention, each of the data blocks has recorded therein the second identifier to identify the recording data recorded in the data block. So, data can be rewritten on the data block basis, which can reduce loss of tape capacity significantly as compared with the conventional manner.


[0018] These objects and other objects, features and advantages of the present invention will become more apparent from the following detailed description of the preferred embodiments of the present invention.







BRIEF DESCRIPTION OF THE DRAWINGS

[0019]
FIG. 1 shows a block diagram of a tape streamer drive employing the present invention.


[0020]
FIG. 2 shows a format on a magnetic tape in employing the tape streamer drive shown in FIG. 1.


[0021]
FIG. 3 shows a format of one block employing the present invention.


[0022]
FIG. 4 shows the manner of the rewrite processing according to the present invention.


[0023]
FIG. 5 shows the tracks after the rewrite processing of the conventional manner.


[0024]
FIG. 6 shows the tracks after the rewrite processing according to the present invention.







BEST MODE FOR CARRYING OUT THE INVENTION

[0025] The present invention will further be described below concerning the best modes with reference to the accompanying drawings.


[0026]
FIG. 1 shows a block diagram of a tape streamer drive 1 employing the DDS recording system according to the present invention. The tape streamer drive 1 uses a tape cassette in which a magnetic tape of 8 mm in width is housed, and records and reproduces data to the magnetic tape in the helical scanning manner.


[0027] As shown FIG. 1, a rotary drum 13 has two recording heads 15a, 15b and two reproducing heads 16a, 16b arranged thereon. The rotary drum 13 has a magnetic tape 14 wound around the side thereof which is drawn from a tape cassette, and is caused to rotate by a drum motor 12. Also, the magnetic tape 14 is caused to run by a capstan motor and a pinch roller (not shown). The drum motor 12 is controlled by a mechanical controller 10 which performs drum servo processing, tracking servo processing, etc. The mechanical controller 10 is bidirectionally connected to a system controller 6 which controls the tape streamer drive 1 wholly.


[0028] Recording data to be recorded to the magnetic tape 14 is modulated by a modulation/demodulation circuit 9, and modulated data is supplied to the recording heads 15a, 15b via an RF amplifier 11. Then, the recording heads 15a, 15b write thus supplied data to the magnetic tape 14 forming inclination against the longitudinal direction of the magnetic tape 14. The recording heads 15a, 15b have azimuth angles different from each other. Thus, two tracks recorded by the recording heads 15a, 15b with inclination are of azimuth angles different from each other.


[0029] An SCSI interface 4 is used to send and receive data. In recording data to the magnetic tape 14, a host computer 3 sends data with its one record formed by 32 kilo bytes to a data compression/expansion circuit 5 via the SCSI interface 4.


[0030] The data compression/expansion circuit 5 performs compression and expansion of data using LZ codes. Using the LZ codes, repetition of input strings are detected to compress data. For example, specific codes are allocated to strings which are processed in the past, and are stored in a lexicon. Then, input strings are contrasted with the lexicon, and input strings which correspond to the lexicon are replaced with the lexicon codes, while the specific codes are allocated to input strings which do not correspond to the lexicon to be registered in the lexicon. Thus, data is compressed by registering input strings in a lexicon and replacing strings with lexicon codes.


[0031] In recording data to the magnetic tape 14, data from the host computer 3 is sent to the data compression/expansion circuit 5 via the SCSI interface 4. Then, the data compression/expansion circuit 5 compresses thus supplied data, and sends compressed data to a buffer controller 7. Then, the buffer controller 7 stores the compressed data in a buffer memory 8 temporarily. Data is recorded for each group. One group is made up of data of tracks of a predetermined number. Data corresponding to one block which is sent from the buffer memory 8 is supplied to the modulation/demodulation circuit 9. Then, the modulation/demodulation circuit 9 modulates the recording data, and sends modulated data to the recording heads 15a, 15b via the RF amplifier 11. Then, the recording heads 15a, 15b write the modulated data to the inclined tracks on the magnetic tape 14.


[0032] In reproducing data from the magnetic tape 14, the reproducing heads 16a, 16b read out data recorded on the magnetic tape 14, and send thus read out data to the modulation/demodulation circuit 9 via the RF amplifier 11. Then, the modulation/demodulation circuit 9 demodulates the read out data, and sends demodulated data to the buffer controller 7. Then, the buffer controller 7 stores the demodulated data in the buffer memory 8 temporarily. Data which is sent from the buffer memory 8 is supplied to the data compression/expansion circuit 5. Then, the data compression/expansion circuit 5 expands thus supplied data to restore original data. Then, the restored original data from the data compression/expansion circuit 5 is sent to the host computer 3 via the SCSI interface 4.


[0033]
FIG. 2 shows a format on the magnetic tape 14 in employing the tape streamer drive 1. There are arrayed 96 blocks B numbered from 0 to 95, each containing a fragment ID as an identifier, in an inclined track Tn which is recorded by one recording head.


[0034]
FIG. 3 shows a format of one block of the respective blocks shown in FIG. 2. As shown in the format, the block are composed of or divided into sync patterns 21, a fragment ID 22 as a first identifier, an area ID 29, a frame number 28, subcodes 24, header parities 25, a data ID 26 as a second identifier, and user data 27.


[0035] The sync patterns (B1˜B8) 21 have recorded therein patterns for synchronously detecting the head of the fragment ID 22. The subcodes 24 have recorded therein data to which track numbers for search are attached. The user data 27 have recorded therein divided user data to which serial numbers from 0 to 123 are attached. The data ID 26 has recorded therein identifiers for identifying data recorded in the block to which a serial number beginning from 0 is attached. That is, for example, in case the fragment ID of the second track is 0 (first block), the data ID of the first block is 96. Also, in case the fragment ID of the seventh track is 5 (sixth block), the data ID of the sixth block is 582.


[0036] Next, the method for recording the data blocks shown in FIG. 2 and FIG. 3 will be explained.


[0037] As shown in FIG. 1, data from the host computer 3 is sent to the buffer memory 8 via the SCSI interface 4 and the data compression/expansion circuit 5 to be temporarily stored therein. Then, thus stored data is sent to the recording heads 15a, 15b via the modulation/demodulation circuit 9 and the RF amplifier 11 under the control of the system controller 6 and the buffer controller 7. Then, the recording heads 15a, 15b write thus supplied data to the magnetic tape 14. At this time, the reproducing heads 16a, 16b, which rotate together with the recording heads 15a, 15b, read out the recorded data, and store thus read out data in the buffer memory 8 for performing parity check. The parity check may be performed, for example, every one track. Then, as shown in FIG. 4, in case the recording head 15a fails to write data of fragment ID=5 (data ID=582) to the seventh track (track 7), the failure is detected by the parity check. Then, the data is rewritten to the first fragment (ID=0) of the next eighth track (track 8). Thus, only the fragment of data ID=582 is rewritten, and rewriting of all the track is not necessary.


[0038] Next, the method for reproducing thus recorded data will be explained. For example, in case a direction of reproduction from fragment 0 to fragment 10 of the track 7 shown in FIG. 4 is sent from the host computer 3, among data of the track 7 and a track 8 which is read out by the reproducing heads 16a, 16b and stored in the buffer memory 8, data recorded in from fragment 0 to fragment 4 of the track 7, data recorded in fragment 0 of the track 8, and data recorded in from fragment 6 to fragment 10 of the track 7 is sent to the host computer 3 via the data compression/expansion circuit 5 and the SCSI interface 4 under the control of the system controller 6 and the buffer controller 7.


[0039]
FIG. 5 shows rewriting of all the track in the conventional manner. As shown, even though only one fragment ID=5 of the track 7 is not normally recorded, the entire track T7 has to be recorded to a track 12, which is the fifth track from the track 7. Furthermore, since four tracks during a period from the time when the fragment which is not normally recorded is detected and until the time when the rewrite processing is performed are caused to be dummy, loss of tape capacity is enlarged.


[0040] On the other hand, in the embodiment according to the present intention, in case one fragment ID=5 of the track 7 is not normally recorded, data ID 582 is rewritten to the first fragment ID=0 of the eighth track T 8, as shown in FIG. 6, which can significantly reduce loss of tape capacity.


[0041] Industrial Applicability


[0042] As in the above, according to the present invention, data can be rewritten not on the track basis but on the fragment basis, which can reduce loss of tape capacity significantly.


Claims
  • 1. A data recording method for recording tracks each composed of a plurality of data blocks each containing recording data to a tape-shaped recording medium, wherein each of the data blocks has recorded therein a first identifier to identify the block in the track, and each of the data blocks has recorded therein a second identifier to identify the recording data recorded in the data block.
  • 2. The data recording method as set forth in claim 1, wherein the tape-shaped recording medium is a magnetic tape, and the tracks are recorded to the magnetic tape in the helical scanning manner.
  • 3. A data recording and/or reproducing apparatus for recording tracks each composed of a plurality of data blocks each containing recording data to a tape-shaped recording medium, comprising: means for recording a first identifier to identify the block in the track to each of the data blocks, and means for recording a second identifier to identify the recording data recorded in the data block to each of the data blocks.
  • 4. The data recording and/or reproducing apparatus as set forth in claim 3, which has a rotary drum provided with recording and/or reproducing heads, wherein the tape-shaped recording medium is a magnetic tape, and the tracks are recorded to the magnetic tape in the helical scanning manner.
  • 5. The data recording and/or reproducing apparatus as set forth in claim 4, which further has read after write function and rewrite function, wherein a data block which is not recorded normally to the magnetic tape will be rewritten to the head of a track to be recorded next.
  • 6. A recording medium of a tape shape which is to have recorded thereto tracks each composed of a plurality of data blocks each containing recording data, wherein each of the data blocks has a first area in which a first identifier to identify the block in the track is recorded, and a second area in which a second identifier to identify the recording data recorded in the data block.
  • 7. The recording medium as set forth in claim 6, wherein the tape-shaped recording medium is a magnetic tape, and the tracks are recorded to the magnetic tape in the helical scanning manner.
Priority Claims (1)
Number Date Country Kind
2001-12326 Jan 2001 JP
PCT Information
Filing Document Filing Date Country Kind
PCT/JP02/00354 1/18/2002 WO