Abstract:
In an information processor, code errors in a compressed information code train with an added error correction code are corrected using the error correction code. The error corrected compressed information code train is decoded using decoding corresponding to the compression encoding and an information code included in the information code train that is uncorrectable using the error correction code is produced. The compressed information code train inputted to the decoder and the produced information code train are output. The outputted produced information code train is converted into analog data which is output.

Description:
This application is a continuation of application Ser. No. 08/113,188 filed Aug. 30, 1993 now abandoned, which is a continuation of application Ser. No. 07/658,402 filed Feb. 20, 1991, issued as U.S. Pat. No. 5,267,094, Nov. 20, 1993. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a dubbing system, and more particularly to a dubbing system for dubbing a digital information code train whose information has been compressed by highly efficient coding and to which an error correction code has been added. 
     2. Related Background Art 
     Attention has been recently paid to digital VTRs and digital audio tape recorders (DAT) having no deterioration during dubbing. 
     A common structure of a dubbing system using two digital VTRs is shown in FIG. 1. In this figure, S represents a slave VTR (on the recording side), and M represents a master VTR (on the reproducing side). For the purpose of simplicity, only the reproducing system of the master VTR (M) and the recording system of the slave VTR (S) are shown in FIG. 1. 
     In the master VTR (M), a recorded signal of a magnetic tape T1 is converted into an electrical signal by a magnetic head 26, and amplified by a reproducing amplifier 28. 
     An output of the reproducing amplifier 28 is demodulated by a digital demodulator (not shown), and thereafter applied to an ECC decoder 30. The ECC decoder 30 corrects a code error code generated during reproducing, by using an error correction code contained in the recorded information code train. An output of the ECC decoder 30 is supplied to an expansion circuit 32 whereat it is subjected to a process opposite to that at the time of encoding, i.e., bandwidth expansion and decoding. The output of the ECC decoder is an information code (image code) bandwidth-compressed and encoded. An output of the expansion circuit 32 is supplied to a concealment circuit 34 which conceals a reproduced code error beyond the correction capability of the ECC decoder 30, by means of a process such as interpolation using image correlation. A D/A converter 36 converts an output of the concealment circuit 34 into an analog signal which is then outputted from an output terminal 38. An output of the concealment circuit 34 is supplied to a dubbing output terminal 35. 
     In the slave VTR (S), a video signal inputted to an input terminal 10 is converted by an A/D converter into a digital signal which is supplied via an N contact of a switch 14 to a bandwidth compression encoding circuit 16. An ECC encoder 18 generates an error correction code for correcting a code error generated at the time of reproducing, and adds a so-called check bit to the bandwidth-compressed and encoded signal from the bandwidth compression encoding circuit 16. An output of the ECC encoder 18 is modulated by a digital modulator (not shown), and thereafter amplified by a recording amplifier 20 to be magnetically recorded on a magnetic tape T2 by a magnetic head 22. 
     During dubbing, an output of the concealment circuit 34 of the master VTR (M) is inputted via the terminal 35 to the dubbing input terminal 37 of the slave VTR (S). This connection is made so as to dub an error code data when a code error that cannot be corrected is generated in a reproduced information code data. The concealed information code train is therefore inputted to the terminal 37. The concealed code data is applied to the compression encoding circuit 16 to be subjected again to the compression encoding process, and thereafter magnetically recorded on the magnetic tape T2. 
     A digital VTR is not influenced by distortions on the electromagnetic conversion system, contrary to the case of an analog VTR. Therefore, image deterioration is caused only by bandwidth compression and error concealment, the latter being executed when a number of errors are generated. Further, deterioration caused by distortions on the electromagnetic conversion system of a digital VTR will not be accumulated during dubbing, which is advantageous over an analog VTR. 
     However, in the above-described conventional system, there is a problem of image deterioration caused by repetitive compressions and expansions if dubbing is repeated many times, because a concealed output from the concealment circuit 34 is supplied to the D contact of the switch 14 and compressed again to magnetically record it. 
     SUMMARY OF THE INVENTION 
     It is therefore an object of this invention to provide a dubbing system solving the above-described problem. 
     It is another object of this invention to provide a dubbing system capable of minimizing information deterioration to be caused by subjecting the data from the concealment circuit again to compression and encoding during dubbing. 
     In view of the above objects, according to an embodiment of this invention, there is provided a dubbing system including a receiver and a transmitter, comprising: 
     (a) receiving means for receiving from a transmission line a compressed information code train, the compressed information code train having been compressed in information by compression encoding and having added thereto an error correction code; 
     (b) error correcting means for correcting a code error in the compressed information code train received by the receiving means, by using the error correction code; 
     (c) expanding means for expanding the information of the compressed information code train outputted from the error correcting means, by means of decoding corresponding to the compression encoding; 
     (d) error concealing means for concealing an information code within an information code train outputted from the expanding means, by using correlation of the information, the information code being uncorrectable by the error correcting means; 
     (e) compressing means for again compression encoding an information code train outputted from the error concealing means; 
     (f) switching means for outputting an information code train outputted from the compressing means, for the uncorrectable information code and outputting a compressed information code train to be inputted to the expanding means, for the other information codes; and 
     (g) transmitting means for transmitting the information code train outputted from the switching means to another transmission line different from the transmission line from which the compressed code information train is received. 
     The other objects and advantages of the present invention will become apparent from the following detailed description of the embodiments when read in conjunction with the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing an example of the structure of a conventional dubbing system; 
     FIG. 2 is a block diagram showing the structure of a dubbing system according to an embodiment of this invention; 
     FIGS. 3A to 3E are schematic diagrams showing the state of code trains at various circuit portions shown in FIG. 2; and 
     FIG. 4 is a block diagram showing the structure of a dubbing system according to another embodiment of this invention. 
    
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS 
     The embodiments of this invention will be described with reference to the accompanying drawings. 
     FIG. 2 is a block diagram showing the structure of a dubbing system according to an embodiment of this invention. In FIG. 2, similar constituent elements to those shown in FIG. 1 are represented by using identical reference numerals. Also in FIG. 2, only the reproducing system of the master VTR (M) and the recording system of the slave VTR (S) are shown. 
     An ECC decoder 30 supplies a flag to an error position storage circuit 40, the flag representing whether or not an error code is not correctable. The circuit 40 stores the position, in each data frame, of an uncorrectable error code. At the time when a concealment circuit 34 outputs the uncorrectable error code, i.e., a concealed code, the circuit 40 supplies a flag data representative of the concealed code to a terminal 41. Reference numeral 42 represents a delay circuit having a predetermined delay time to be described later, the delay circuit outputting a delayed and compressed information code train to a terminal 45. 
     A switch 44 selectively applies to an ECC encoder 18 either a code train delayed by the delay circuit 42 and inputted via a terminal 47, or a code train outputted from a compression encoding circuit 16. The switch 44 is controlled by the flag data supplied from the error position storage circuit 40 and inputted via a terminal 43. 
     The operations of ordinary recording and reproducing are the same as FIG. 1. The operation of dubbing will be mainly described below. Figs. 3A to 3E are schematic diagrams showing code trains at various circuit portions of FIG. 2. In Figs. 3A to 3E, Di (i=1to n) represents a data, Pi represents a parity check bit, EDi represents a data having an error code left after error correction by the ECC encoder 30, and Fi represents an error flag representative of whether each code after error correction is valid or not. 
     The error flag Fi is a data which becomes &#34;1&#34; when the corrected code data Di has a code error left (uncorrectable), and &#34;0&#34; when there is no code error left (completely corrected or there is no code error). In FIGS. 3A to 3E, it is assumed that the data D 2  has an uncorrected error code corrected, and that code errors, if any, of other code data have been completely corrected by the ECC encoder 30. 
     FIG. 3A shows a code train inputted to the ECC decoder 30 at the first dubbing. Specifically, the code train includes a predetermined symbol number of codes Di (i=1to n) and a predetermined symbol number of parities Pi. For example, in a Read Solomon (36, 32) system, 4 symbol parity check bits are added to a 32 symbol code train to allow 2 symbol code errors to be corrected. 
     Figs 3B schematically shows a code train 48 outputted from the ECC decoder 30. A code error of the code data D 1  is corrected using the parity P 1 , and at the same time when the next code data D 2  is inputted to the ECC decoder 30. Strictly speaking, it is necessary to consider the error correction decoding time. However, it is not essential in this embodiment, so it is neglected), the corrected code data D 1  and the following error flag F 1  representative of a presence or absence of a code error are outputted. Since a code error of the code data D 1  is not left the error flag F 1  is &#34;0&#34;. 
     With respect to the code data D 2 , the ECC decoder 30 is unable to correct all code errors. Therefore, a code data ED 2  including a code error is outputted with the error flag F 2  of &#34;1&#34;. Code errors, if any, of the code data D 3  to D n  are completely corrected, so the error flags F 3  to F n  are all &#34;0&#34;. 
     FIG. 3C shows a code train 54 outputted from the compression encoding circuit 16. This code train signal 54 is obtained such that an output 48 of the ECC decoder 30 passes through the expansion circuit 32, concealment circuit 34, and compression encoding circuit 16, thereby being expanded, concealed, and again compressed. A suffix a is added to data D 2  to indicate concealment by the concealment circuit 34. Namely, the code data ED 2  having a code error changes to the concealed code data D 2a . An output 54 of the compression encoding circuit 16 is delayed from an output of the ECC decoder 30 by a time τ which corresponds to the process time by the expansion circuit 32, concealment circuit 34, and compression encoding circuit 16. The delay time of the delay circuit 42 is set to this time τ. FIG. 3D shows an output signal 58 of the delay circuit 42. 
     The error position storage circuit 40 stores the error flag Fi set to &#34;1&#34; (in the embodiment, F 2 ), and selects the b contact of the switch 44 at the timing when the code data Di corresponding to the stored flag Fi (in this embodiment, D 2 ) is outputted to the terminals 35 and 45. More particularly, for the code data whose error code was not correctable by the ECC decoder 30, the switch 44 selects via the b contact the code data concealed by the concealment circuit 34 and again compressed by the compression encoding circuit 16. For the code data having no code error after it is outputted from the ECC decoder 30, the switch 44 selects via the a contact the compressed information code data time-adjusted by the delay circuit 42 and having no code error. 
     FIG. 3E shows a code train selected in the above manner (an output of the ECC encoder 18). The ECC encoder 18 adds a parity P 2a  different from the original parity P 2  to the concealed code data D 2a . It is apparent that the other code data D 1 , D 3  to D n  are added with the original parities P 1 , P 3  to P n , 
     The time difference T between the code train 58 (FIG. 3D) and the code train 56 (FIG. 3E) corresponds to the process time of the ECC encoder 18. 
     As described above, according to this embodiment, if a code data to be dubbed has no uncorrectable code error, the bandwidth compressed code data is dubbed. Only when a code error is left, the code data is dubbed through expansion, concealment, and second compression. Therefore, image deterioration caused by repetitive bandwidth compressions can be minimized. 
     FIG. 4 is a block diagram showing the structure of a dubbing system according to another embodiment of this invention. In FIG. 4, similar elements having the same functions to those shown in FIG. 2 are represented by using identical reference numerals. As seen from FIG. 4, in the embodied system, there are provided within the master VTR (M) a compression encoding circuit 16&#39; for compressing and encoding an output of a concealment circuit 34 and a switch 44&#39; controlled by the flag data outputted from the error position storage circuit 40. In this embodiment, a dubbing code train is obtained through the switch 44&#39; instead of the switch 44 of the system shown in FIG. 2. 
     A code train from the switch 44&#39; is inputted via an output terminal 51 to an input terminal 53 of the slave VTR (S). During dubbing, instead of recording a code train outputted from the compression circuit 16 via the switch 19, a code train from the input terminal 53 is recorded. With such an arrangement, the same advantageous effects as the system shown in FIG. 2 can be obtained. In the embodied system, it is advantageous in that the number of connection lines between the master VTR (M) and the slave VTR (S) is smaller than the system shown in FIG. 2. 
     In the above description, a magnetic tape has been used as a recording medium. Obviously this invention is applicable to a recording and reproducing apparatus using various recording mediums such as optical disks, optomagnetic disks, and solid memories. Further, such a recording medium may be considered as a transmission line including a communication line between communication satellites. This invention is therefore applicable to repeaters with the same advantageous effects. 
     As easily understood from the foregoing description, the dubbing system of this invention provides a dubbing with less information deterioration, while positively using the features of digital recording and reproducing apparatus as much as possible.