Digital signal recording apparatus

Abstract: A recording apparatus (DR) for recording digital data (Sa and Sv) comprised of a plurality of recording blocks (Br) on a recording medium includes a grouping circuit (5) which makes a group of the digital data (Sa and Sv) according to a predetermined time-based interval (St). A sequence number generator (6) divides the group into "N" sequences. "N" is an integer. A data block generator (4) divides the input data (Sa and Sv) in each sequence into a plurality of data blocks (Db). A sequence number generator (5) generates a sequence number (Ss) for each data blocks (Db) associated with each recording blocks (Br). An ID block generator (23 and 24) generates an ID information of each data block (Br) based on the sequence number (Ss). A recording block generator (8 and 9) generates the recording block (Br) based on the ID information and the data block (Db; Sa and Sv).

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal recording apparatus and, more particularity, to a digital signal recording apparatus for recording digital audio and video signals. 2. Description of the Prior Art Consumer-use digital Video Cassette Recorders for recording audio aid video signals as digital signals are now commercially available. The consumer digital Video Cassette Recorder (VCR) market, however, has been constrained by the various methods applying video compression (band width compression) technologies to the video signal that have been proposed as a means for reducing cassette size. EP-A-0 460 764 discloses a digital signal recording apparatus for recording digital data in data blocks on a recording medium. This known apparatus comprises, for a normal recording mode wherein data are recorded from an original data input means, a data block generating means for forming data blocks from the original data, a sequence number generating means for generating a sequence number and an ID block generating means for inserting the sequence number in the ID block and adding the ID block to each data block. A corresponding recording medium provided as a magnetic tape is disclosed in DE-A-41 17 059. In Fig. 5A, an example of the on-tape positioning of the video signals and audio signals recorded by a digital VCR is shown. The audio and video signals for one frame are recorded to ten tracks Tr0 to Tr9 on tape. It is to be noted that the audio and video signals are recorded to specific and different segments Sa and Sv of each track. As shown in Fig. 5B, each track Tr further comprises a plurality of recording blocks Br (Fig. 6) in the audio and video signal segments Sa and Sv. Each audio signal segment Sa is comprised of a predetermined number of audio data recording blocks Ba and parity recording blocks Bp. Similarly, each video segment Sv is comprised of a predetermined number of video data recording blocks Bv and parity recording blocks Bp. The audio data recording block Ba, the video data recording block Bv, and the parity recording block Bp has principally the same construction of the recording block Br, as best shown in Fig. 6. The audio or video signals are divided into a plurality of small data blocks Db which is recorded in one recording block Br. Each data block Db is complemented by a synchronization signal Ds for bit synchronization, ID information indicating the location of the recording data block in the frame, and parity data Dp for error correction. In parity recording blocks Bp, only parity data is recorded in its data Db instead of video or audio signal data. When the data blocks Db in the recording blocks Br are subsequently reproduced, those complementing information makes it possible to reproduce the original video signal and/or audio signal from the recorded data block Db in the recording blocks Br. Because distortion caused by video compression processing increases when video compression and expansion are repeated, it is preferable when copying between VCR units to copy the data in the video compressed state. This means that it is preferable to copy the data as in the form of recorded data block Db in the recording block Br units. It is not guaranteed, however, that all recorded data in recording blocks in each frame can be reproduced because of variable speed reproduction, transmission errors, and other factors relating to VCR operation. When the recorded data blocks in any recording block units for one frame cannot be reproduced, the recording block unit(s) from other frame(s) are substituted for the recording block units whose recorded data block could not be reproduced, so that the unreproducible recorded data block(s) are reproduced by simulation. When substitution by recording block unit is used in this way, however, recording block units from plural frames will be mixed into one frame (in the ten tracks shown in Fig. 5) on the copy tape. The audio signal, however, cannot be reproduced if the time-base relationship of the sequential recording block units is not maintained. Only the information for adjacent frames can be obtained with the ID information associated with each recording block units in this conventional digital VCR, however, and it is not possible to differentiate plural frames. In addition, frame information is lost during reproduction because of the substitution of ID information during recording when copying. It is therefore difficult to determine the time-base relationship of each recording block. As a result, it is difficult to reproduce the audio signal when variable speed reproduction of recorded data blocks or error correction is applied to the recording block units in the conventional digital VCR. SUMMARY OF THE INVENTION The present invention has been developed with a view to substantially solving the above described disadvantages and has for its essential object to provide an improved digital signal recording apparatus for recording digital data in data blocks on a recording medium, said apparatus comprising for a normal recording mode wherein data are recorded from an original data input means a data block generating means for forming data blocks from said original data, a sequence number generating means for generating a sequence number, and an ID block generating means for inserting said sequence number in said ID block and adding said ID block to each data block, characterized in that for a re-recording mode wherein reproduced data comprising data blocks with associated ID blocks including corresponding sequence numbers are recorded from a reproduced data input means, a data block extracting means is provided for extracting data blocks from the reproduced data, a sequence number extracting means is provided for extracting a sequence number from the reproduced data, and said ID block generating means is adapted to insert the extracted sequence number in said ID block and adds said ID block to each data block. Further advantageous embodiments are defined in the dependent claims. BRIEF DESCRIPTION OF THE DRAWINGS These and other objects and features of the present invention will become clear from the following description taken in conjunction with the preferred embodiment thereof with reference to the accompanying drawings throughout which like parts are designated by like reference numerals, and in which: Fig. 1 is a block diagram showing a digital signal recording apparatus according to the present invention; Fig. 2 is a block diagram showing a modification of the digital signal recording apparatus of Fig. 1; Fig. 3 is a block diagram showing another modification of the digital signal recording apparatus of Fig. 1; Fig. 4 is a block diagram showing a sequence number generator according to the present invention; Fig. 5A is an illustration of assistance in explaining the positioning of data recorded on tape by a digital VCR; Fig. 5B is an illustration of assistance in explaining the positioning of recording blocks in a recording track; and Fig. 6 is an illustration of assistance in explaining the recording block unit structure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Referring to Fig. 1, a digital signal recording apparatus according to an embodiment of the present invention is shown. The digital signal recording apparatus DR comprises an audio signal input 1 from which digital audio signal is input and a video signal input 2 from which the digital video signal is input. A compression circuit 3 is connected to the video data input 2 for compressing the audio signal to produce a compressed video data Sv. A data block generator 4 is connected to the compression circuit 3 and the audio data input 1. The data block generator 4 divides the compressed video data Sv into predetermined data blocks Db and produces an unit video data Sv, as previously described with reference to Fig. 6. Similarly, the audio signal is divided into data blocks Db, and the unit audio signal Sa is produced. The unit data Sv and Sa are output through a line L1. A data switch 7 is provided for connecting the line L1 to a line L5 in response to a selection signal Sw from a switch actuator 13. The switch actuator 13 can be operated manually or automatically based on the operation mode, for example a normal recording or a data copying (dubbing the reproduced data), of the recording apparatus DR. An parity generator 8 is connected to the line L5 for producing the error correction parity data Dp (Fig. 6) based on each of unit video data Sv transferred therein, and adds thus produced parity data Dp to the unit video data Sv. It is noted that the unit video data Sv is the data block Db, as described before. Similarly, the error correction circuit 8 produces and adds the parity data Db to the unit audio data Sa (Db). Thus, the data block Db is complement by parity data Dp for the recording block Br. A recording block generator 9 is connected to the parity generator 8 for receiving video and audio data Sv and Sa comprising the parity data Dp and data block Db. A grouping circuit 5 is also connected to the video signal input 2 through a V.B.P detector 20 which detects the vertical blanking period from the video signal and produces a timing signal Sv. The grouping circuit 5 counts the number of frames in the Video signal based on the timing signal St, and forms groups from each continuous block of twelve frame periods. A sequence number generator 6 is connected to the grouping circuit 5 for dividing each group period into one sequence per frame. Each group is divided into twelve sequences. The sequence number generator 6 generates a sequence data Ss indicative of a sequence number for each sequence in order from the first sequence in one group, and outputs the sequence data Ss through a line 3. An ID switch 31 is provided for connecting the line L2 to a line L6 and is also actuated by the switch actuator, so that the sequence data Ss is transmitted to an ID block generator 23 which is connected to the line 6. An ID generator 24 is also connected to the ID block generator 23. The ID generator 24 determines the ID information indicating the number of track Tr and recording block Br wherein each data block Db is recorded, and produces an ID information data Si. Based on the sequence data Ss and the ID information data Si, the ID block generator 23 produces the complete ID for each data block Db. It is to be noted that the ID produced here additionally includes the sequence data Ss of each data block Db. Thus, completed ID is transferred to the recording block generator 9. The recording block generator 9 adds the ID from the ID block generator 23 to the parity data added data block Db, and further adds synchronization signal Ds. Thus, the complete video or audio signal for one recording block Br is produced, and is transferred through a line L7 for recording on the recording tape. Hereinafter, the case when the digital data thus recorded by this recording apparatus DR is reproduced and then re-recorded is described. For reproduction of digital signal recorded according to the present invention, the recording apparatus DR further comprises a reproduced data input 11 from which reproduced digital signal Sr is input. Reproduced digital signal Sr comprises the data block Db, synchronization signal Ds, and the complete ID including the sequence Data, and parity data Dp which is completed by the recording block generator 9. A recording block reproducing unit 12 is comprised of a data block extracting circuit 12a and a sequence number extracting circuit 12b, and is connected to a reproduced data input 11. From the reproduced signal Sr, the data block extracting circuit 12a extracts the reproduced data block Db', which is output thorough a line L3. Similarly, the sequence number extracting circuit 12b extracts a reproduced sequence data Ss' indicative of the sequence number of the reproduced data block Db' which is output through a line L4. In this case, the switch actuator 13 actuates the switch 7 to connect the line L3 and the line L5, and actuates the switch 31 to connect the line L4 and the line L6. Thus, the reproduced data block Db' and sequence data Ss' are processed by the parity generator 8, recording block generator 9, and ID block generator 23 in cooperation of the ID data generator 24 for recording on tape, as described above. According to the present invention, a sequence number identifying to which frame (sequence) the data block Db of the recording block Br belongs is added to each data block Db before recording when the video signal and audio signal are directly recorded. As a result, it can be determined to which frame each recording block belongs when the recording blocks are reproduced. This is particularly effective when recording blocks Br belonging to plural sequences are reproduced at one time from the data obtained in one track scan during variable speed reproduction because the original recording block sequence can be reproduced by reordering the recording blocks based on the sequence number of each recording block. When copying variable speed reproduced data by this embodiment, the data of the reproduced recording blocks and the sequence numbers can be re-recorded directly. In this case, recording blocks of plural sequence numbers will be mixed together in one sequence period on tape. However, because the sequence numbers are added to each recording block individually, the original recording block order can be reproduced as described above. Therefore, even data for which the time-based relationship is important, e.g., audio signal data, can be easily reproduced. In this embodiment described above, one sequence period is one frame, and one group is twelve sequences, but it is also possible to otherwise set the size of one sequence period and one group period according to the input signal. It is to be noted that a sequence number is added to all recording blocks in this embodiment above. However, when there are recording blocks comprising only the parity data of the external code generated by error correction coding (Bp), this recording block may be related to the data of plural recording blocks. When a recording block related to this error correction code is associated with plural sequences, it is difficult to determine the sequence number to be assigned to this parity data recording block. In addition, this error correction code parity data is changed when the data is copied, and it is therefore not necessary to transmit the reproduced parity data. As a result, other information is substituted for this sequence number in recording blocks having a non-specific sequence number. Referring to Fig. 2, a modification of the digital signal recording apparatus of Fig. 1 is shown. In this apparatus, a data information generator 33 is additionally provided and is connected to the ID block generator 23. This is because when the parity recording blocks Bp shown in Fig. 5B is reproduced, the data extracting circuit 12a does not extract the reproduced data Db' but the sequence extracting circuit 12b extracts the reproduced sequence number Ss'. In this case, a data type identification number, which indicates what type of data is recorded to the data area (the related recording block) to which the error correction code is related, is recorded to the recording area to which the sequence number of the recording block is recorded. The data information generator 33 produces a data signal Sd indicating these data types which is input to the ID block generator 23. The data information generator 33 can be operated manually or automatically. It is to be noted that the data information generator 33 also produces a data signal Sd when the signals from audio and video signal inputs 1 and 2 are recorded in a manner as described the above. For example, any of the signal inputs 1 or 2 actuates the data information generator 33 to produce the data signal Sd indicative of the kind of signals input thereto. It is also possible that the user may actuates the data information generator 33 according to the kind of singles for recording. When recording a recording block for which it is not necessary to add a sequence number, it is therefore possible to record information showing the type of data stored in the group of recording blocks associated with said recording block. Referring to Fig. 3, another modification of the recording apparatus DR of Fig. 1 is shown. In this apparatus, a sequence error detector 15 is additionally provided on the line L4 after the sequence number extracting circuit 12b. The sequence error detector 15 determines whether the sequence number (Ss') of the recording blocks (Sr') input thereto from the sequence number extracting circuit 12b are correct. When the sequence numbers are correct, sequence number Ss' which is simultaneously reproduced with the data block are input to the ID block generator 23 through the line L4, the sequence switch 31, and the line L6. The data block Db' corresponding to this sequence number is also input to the parity generator 8 though the line L3 and switch 7. However, when there is a strong possibility that the reproduced sequence number is wrong, a special number not assigned as a sequence number is produced by the sequence error detector 15. This special number is output to the switch 31 as the sequence number of that recording block. For example, if the numbers 0 - 11 are assigned as sequence numbers for the twelve sequences in one group, the sequence number assigned to recording blocks of which the sequence affiliation is not known is, for example, 15. As a result, it is possible to express in 4 bits twelve different sequence numbers and information that the sequence of the recording block is unknown. Using this modified embodiment of the invention, recording blocks for which the sequence is unknown can be determined from the sequence number, and operating errors caused by sequence number errors can be prevented. Special sequence numbers such as this can also be used as the sequence number of recording blocks not associated with any single specific recording block. When next copying this recorded data, there are cases in which it is possible to reproduce the data of the recording block but not the sequence number. In such cases it is obviously difficult to generate a sequence number for the recording block during recording. Referring to Fig. 4, a block diagram showing the details of an example of sequence number extracting circuit 12b according to the present invention is shown. The sequence number extracting circuit 12b comprises a color frame information input 16, a sequence number generator 17, and a sequence number output 18. The phases of the color difference signals multiplexed to each frame of a composite TV signal differ. For example, the phase (color frame) changes in a two frame cycle in the NTSC signal format, and changes in a four frame cycle in the PAL signal format. It is therefore necessary to simultaneously transmit the color frame if a composite TV signal is handled in frame units. The sequence number generator 17 shown in Fig. 4 generates a sequence number of which the low bit is the same as the color frame number input from the color frame information input 16, and outputs the result to the sequence number output 18. In other words, the low one bit of the sequence numbers in an NTSC signal are the same value as the color frame, and the low two bits of the sequence numbers in a PAL signal are the same value as the color frame. By thus setting the sequence number so that the color frame can be detected from the sequence number, it is not necessary to record the color frame information. The color frame information is also important information for recording a composite TV signal separated into luminance signal and color difference signal components, and can also be used with a non-composite TV signal data processed on a plural frame cycle with the processing method differing on a frame basis. The present invention has been described above, but the method and construction of recording block grouping, error correction coding, and sequence number assignment can be varied in many ways from those described above. The above embodiment can also be combined in various ways, and can be achieved in software. The invention is also applicable to formats other than that of the prior arc described above, and is furthermore applicable to recording data other than video signal and audio signal data. By means of a relatively simple configuration, the present invention can reproduce data copied from variable speed reproduced data, and the practical utility of the invention is therefore great. It is to be noted that the present invention can be applicable to any other digital recording medium then the digital VCR. Also any other recording medium than the tape such as an optical disk or a magnetic disk suitable for digital recording can be used in the recording apparatus according to the present invention.

Claims: A digital signal recording apparatus (DR) for recording digital data (Sa, Sv) in data blocks (Db; Db') on a recording medium, said apparatus comprising: for a normal recording mode wherein data are recorded from an original data input means (1, 2), a data block generating means (4) for forming data blocks (db) from said original data, a sequence number generating means (6) for generating a sequence number (Ss), and an ID block generating means (23, 24) for inserting said sequence number (Ss) in said ID block and adding said ID block to each data block (Db); characterized in that for a re-recording mode wherein reproduced data comprising data blocks with associated ID blocks including corresponding sequence numbers are recorded from a reproduced data input means (11), a data block extracting means (12a) is provided for extracting data blocks (Db') from the reproduced data, a sequence number extracting means (12b) is provided for extracting a sequence number (Ss') from the reproduced data, and said ID block generating means (23, 24) is adapted to insert the extracted sequence number in said ID block and adds said ID block to each data block (Db'). A digital signal recording apparatus (DR) as claimed in Claim 1, wherein said sequence number (Ss) is one frame of a television signal. A digital signal recording apparatus (DR) as claimed in Claim 2, wherein said sequence number (Ss) is determined as to be synchronized to the color frame cycle of a composite television signal. A digital signal recording apparatus (DR) as claimed in Claim 1, further comprising a parity generating means (8) for generating parity data (Bp) for error correction based on a recording block (Br), which is based on said ID block and said data block, and adding said parity data (Bp) to said data block (Db). A digital signal recording apparatus (DR) as claimed in Claim 1, further comprising a data information generating means (33) for generating a data signal (Sd) indicative of type of said digital data (Sa and Sv) so that said ID block generating means (23, 24) generates said ID information (ID) based on said sequence number (Ss) and said data signal (Sd). A recording apparatus (DR) as claimed in Claim 5 wherein said data information generating means (33) generates said data signal (Sd) when said data block extracting means (12a) extracts nothing of said data block (Db) so that said ID block generating means (23, 24) generates said ID information (ID) based on said extracted sequence number (Ss') and said data signal (Sd). A recording apparatus (DR) as claimed in Claim 1 further comprising a sequence error detecting means (15) for determining whether said extracted sequence number (Ss') is correct or not, and newly producing a sequence number when it is determined that the extracted sequence number is not correct so that said ID block generating means (23, 24) generates an ID information for said extracted data block based on said newly produced sequence number. A recording apparatus (DR) as claimed in Claim 7, wherein said newly produced sequence number is a number other than an integer being zero to eleven. A recording apparatus (DR) as claimed in claim 7, wherein said newly produced sequence number is 15.

Inventors: IKETANI AKIRA, JURI TATSURO, MATSUMI CHIYOKO, IKETANI, AKIRA, JURI, TATSURO, MATSUMI, CHIYOKO
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1994
Main classification: H04N5
IPC codes: H04N5, H04N7, G11B27