An information recording and reproducing apparatus

Abstract: An information recording and reproducing apparatus which comprises an encoding circuit 114, 120 for encoding information codes and for adding redundant codes to the information codes to form error detection and/or correction codes, a recording and reproducing head 126 for recording and reproducing the information codes and the redundant codes on and from the recording medium 128, decoding circuit 132, 134 for detecting and/or correcting errors in reproduced information codes by using the redundant codes. And the apparatus has an output terminal 136 for externally outputting the information codes partially processed through said decoding circuit and only a part of the redundant codes.

Description: FIELD OF THE INVENTION This invention relates to an information recording and reproducing apparatus, especially an apparatus handling digital codes. DESCRIPTION OF THE RELATED ART A digital video tape recorder (hereinafter called "DVTR") is known as an example of the above mentioned recording and reproducing apparatus. A DVTR is sometimes called a digital video cassette recorder (hereinafter called "DVCR"). Firstly, a DVTR converts an analogue information signal, for example a signal including an analogue video signal and an analogue audio signal, to digital information codes. The digital information codes are supplied to an error correcting code encoding circuit. In the encoding circuit, parity codes for correcting code errors in the digital information codes are added to the digital information codes. Then the digital information codes and the parity codes are divided into synchronizing blocks each of which is composed of a predetermined number of the information codes and a predetermined number of the parity codes. The digital information codes and the parity codes are recorded on a recording medium by synchronizing blocks. The digital information codes and the parity codes reproduced from the recording medium is supplied to an error correction code decoding circuit. The error correction code decoding circuit corrects error codes by using the parity codes. An error concealing circuit replaces uncorrectable error codes by interpolative codes. For instance, codes representative a value of a subject pixel are replaced by interpolative codes corresponding to an average value of two or more adjacent pixels to the subject pixel. In this way, codes which include codes corrected by error correction code decoding circuit and interpolative codes formed by the error concealing circuit are supplied to a digital-to-analogue converter to generate analogue audio and visual signals which are externally outputted. By using a pair of above-mentioned DVTRs, information codes recorded on a recording medium can be dubbed in another recording medium. In this case, deterioration of information can be prevented in case that output codes of the error concealing circuit in one DVTR (hereinafter called "master VTR") are directly supplied to the error correcting code coding circuit in the other DVTR (hereinafter called "slave VTR"). Accordingly, some DVTR have digital input and output terminals in addition to analogue input and output terminals. However, in the above mentioned case, interpolative codes replacing uncorrectable codes in the master VTR are also supplied to the error correcting code coding circuit in the slave VTR. The error correcting code coding circuit equally handles the interpolative codes replacing uncorrectable codes, the codes corrected by using the parity codes, and no-error codes. Therefore the interpolative codes replacing uncorrectable codes and correct codes are equally recorded on a recording medium in the slave VTR. Accordingly, the interpolative codes replacing uncorrectable codes and the correct codes are equally reproduced from the recording medium in the slave VTR. Then there is the possibility that uncorrectable codes newly occurred in a reproducing process are replaced by new interpolative codes formed by the interpolative codes replacing the uncorrectable codes. Such replacements causes some deterioration in the quality of video and audio information, in other words the new interpolative codes are inferior because they are not only formed by original codes. It is possible for all of the information codes and the parity codes recorded on one recording medium to be transmitted to the other recording medium without decoding error correction codes. However, in this case, uncorrectable codes increase with every dubbing. Especially, uncorrectable codes rapidly increase with repeated dubbing, as the original images and sounds deteriorate. There is a further problem in this case in that increasing the rate of transmitting codes from the master VTR to the slave VTR requires a high quality link between the master VTR and the slave VTR. This causes additional expense. European Patent Application No. EP-A-415699 discloses apparatus for recording and reproducing digital video signals which includes encoding means for adding redundant codes to the information signal to be recorded, and decoding means for detecting and correcting errors in the information signal when it is reproduced from a recording by using the added redundant codes. The apparatus of the above application also includes a digital output for externally outputting the information signal which has been partially processed through said decoding means. European Patent Application No. EP-A-461787 discloses a pair or error detection circuits using inner and outer parity codes and being connected in series in a coded signal reproduction apparatus. European Patent Specification No. EP-A-408343 discloses an encoding device and a decoding device suitable for dubbing in digital VTR's systems. The master apparatus outputs a digital video signal in combination with a flag signal. The signals are received by the slave apparatus and, after processing, recorded on the same medium. None of the above documents provides a solution to the problems discussed hereinbefore. A concern of the invention is to provide an apparatus, for recording and reproducing information codes which can alleviate the above mentioned problems. In accordance with the present invention there is provided an information recording and reproducing apparatus as set out in claim 1. Other features and advantages of the invention will be apparent from the following description which refers to the accompanying drawings, in which: Figure 1 shows a block diagram of a system composed of two DVTRs each of which relates to the invention. Figure 2 shows a format for codes of one synchronizing block. Figure 3 shows a format for codes of one error corrective matrix. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the invention are described with referring to drawings as follows. Figure 1 shows two DVTRs, 100, 200, according to the present invention connected to each other for dubbing. DVTR 100 is a master VTR and DVTR 200 is a slave VTR. DVTR 100 and DVTR 200 have a complete common structure. In Figure 1, only blocks relating to recording and reproducing video information codes are illustrated, and blocks relating to recording and reproducing audio information codes are omitted. In DVTR 100, 110 indicates an input terminal for an analogue video signal to be recorded. 112 indicates an analogue-to-digital converter (hereinafter called "A/D converter"). 114 indicates an error detection code encoding circuit for adding, as error detection codes, redundant codes to video codes outputted from the A/D converter 112. For instance, the error detection code coding circuit adds CRCC (Cyclic Redundancy Check Code), as redundant codes, to the video codes. 116 indicates a further input terminal for inputting digital video codes and CRCC serially, as information codes and external redundant codes. The terminal 116 is available when DVTR 100 works to dub digital video signals. 118 indicates a data selector for selectively outputting codes from the terminal 116 and codes from the error detection code encoding circuit 114. 120 indicates an error correction code encoding circuit for error correction encoding the codes from the data selector 118. The error correction code encoding circuit 120 adds the parity check codes to the codes from the data selector 116 to form error correction codes. 122 indicates modulation circuit for digital modulating all codes from the error correction code encoding circuit 120. 124 indicates a switch which connects a magnetic head 126 to "a" terminal in a recording mode and connects the head 126 to "b" terminal in a reproducing mode. The magnetic head 126 records and reproduces modulated codes on and from a magnetic tape 128. 130 indicates a demodulation circuit for digital demodulating codes from the switch 124 in the reproduction mode. 132 indicates an error correction circuit for decoding the error correction codes and correcting error codes in codes from the demodulation circuit 130 by using the parity check codes in the error correction codes. 134 indicates an error detection circuit for decoding the error detection codes for detecting error codes which is uncorrectable in the error correction circuit 132. 136 indicates an output terminal for outputting codes processed through the error correction circuit 132. 138 indicates an error concealing circuit for concealing the uncorrectable error codes by an interpolation according to an error flag output from the error detection circuit 134. 140 indicates digital-to-analogue converter (hereinafter called "D/A converter") for converting codes processed through the error concealing circuit 238 to an analogue video signal, and 142 indicates an output terminal for externally outputting the analogue video signal obtained by the D/A converter 140. All elements 210 - 242 in the DVTR 200 similarly work as the elements 110 - 142, and a detailed description about the elements 210 -242 is omitted. Detailed normal recording and reproducing operations of the DVTR 100 are as follows. Operation of the DVTR 200 is similar. Figure 2 and Figure 3 show a format for codes to be recorded. Figure 2 shows codes of one synchronizing block, and Figure 3 shows codes of one error corrective matrix. The A/D converter 112 samples and digitalizes the analogue video signal to form digital video codes each of which represents an amplitude of a pixel. The video codes obtained by the A/D converter 112 are supplied to the error detection code encoding circuit 114. For example, the error detection code encoding circuit 114 forms error detection codes by CRCC system using a 16 degrees forming polynomial expression, and adds the error detection codes to the video codes from A/D converter 112. In Figure 2, for example k=16, and 16 bits of error detection codes are added to (m-16) bits of the video codes. The data selector 118 usually selects the codes from the error detection code encoding circuit 114, and selects the codes from the terminal 116 only when digital dubbing are carried out. In the normal recording mode, the data selector 118 outputs the video codes and error detection codes serially and supply these codes to the error correction code encoding circuit 120. The error correction code encoding circuit 120 forms parity check codes of an outer code at first, and forms parity check codes of an inner code according to Reed-Solomon Product Coding method. The outer code is formed by adding (q-P) symbols of the parity check codes to P symbols of video (information) codes or P symbols of CRCC. The inner code is formed by adding (n-m) symbols of the parity check codes to (m-k) symbols of video codes and k symbols of CRCC. In short, outer code (q,P) and inner code (n,m) are formed as shown as Figure 2 and Figure 3. The modulation circuit 122 forms synchronizing blocks each of which is shown as Figure 2. Each synchronizing blocks is formed by adding synchronizing codes, identification codes (hereinafter called "ID"), and CRCC (error detection codes) for ID to information (video) codes, CRCC for information codes, and parity check codes. Then the modulation circuit 122 modulates a code sequence composed continuous synchronizing blocks according to a well known digital modulating method. In a recording mode, the DVTR 100 connects the magnetic head 126 to an "a" terminal of the switch 124, and output codes from the modulation circuit are supplied to the magnetic head 126 for recording on a magnetic tape 128. In a reproducing mode, the DVTR 100 connects the magnetic head 126 to a "b" terminal of the switch 124, and codes reproduced by the magnetic head 126 are supplied to the demodulation circuit 130. The demodulation circuit 130 demodulates reproduced codes according to a well-known digital demodulating method and reads each symbols by using the synchronizing codes. The ID are also restored by the demodulation circuit 130. Demodulated codes from the demodulation circuit 130 are supplied to the error correction circuit 132. The error correction circuit 132 decodes the inner code (n,m) and the outer code (q,P) in this due order, and corrects error codes occurred in a magnetic recording and reproducing process within the limits of correcting ability of each error correction code. Output codes from the error correction circuit 132 are composed of video (information) codes, CRCC for video codes and frame-synchronizing code consisting of one bit per one synchronizing block. The output codes from the error correction circuit 132 are supplied to the error detection circuit 134 and the output terminal 136. The error detection circuit 134 detects whether errors being uncorrectable in the error correction circuit 132 have occurred or not, and also detects whether or not errors caused by a mis-correction of the error correction circuit have occurred. The error detection circuit 134 forms flags for an interpolation when the uncorrectable error codes and mis-corrected codes are detected. Further, the error detection circuit 134 supplies only video codes in codes supplied from error correction circuit 132 to the error concealing circuit 138. The error concealing circuit 138 receives reproduced video codes from the error detection circuit 134, and replaces uncorrectable error codes or mis-corrected codes with interpolative codes formed by correct codes which corresponds to pixels around a pixel to be replaced. The error concealing circuit 138 works according to the interpolation flags. Correct video codes pass through the error concealing circuit 138 according to said flags. D/A converter 140 converts the video codes from the error concealing circuit 138 to an analogue video signal. In this way a reproduced analogue video signal is externally outputted from the output terminal 142. Next, working for dubbing digital codes without converting an analogue signal are described below. In this case, the output terminal 136 of DVTR 100 is connected to the input terminal 216 of DVTR 200 by a connecting suitable link, for example, a common axial cable. In DVTR 100, recoded codes are reproduced from the magnetic tape 128 as usual, and the error correction circuit 132 corrects error codes included in the reproduced codes within the limits of correcting ability thereof. The error correction circuit 132 output video codes, CRCC for video codes, and one bit for frame- synchronizing. In other words codes output from the error correction circuit 132 includes information codes and a part of redundancy codes. These codes output from the error correction circuit 132 are supplied to an input terminal 216 of the DVTR 200 through the output terminal 136, and then these codes are supplied to an error correction code encoding circuit 220 through a data selector 218. Further, these codes are previously synchronized with synchronizing signals in DVTR 200 by a well-known method, for example a delay circuit. The error correction code encoding circuit 220 of DVTR 200 encodes codes composed of video codes and CRCC which includes the uncorrectable error codes and the mis-corrected codes, and adds outer parity codes and inner parity codes to them. Codes encoded by the error correction code encoding circuit 220 are divided into the synchronizing blocks, and codes composed of the synchronizing blocks are modulated by a modulation circuit 222. Codes modulated by the circuit 222 are recorded by a magnetic head 126. The manner in which codes dubbed in this way are reproduced from another recording medium is as follows. A reproduced output from the magnetic head is supplied to an error correction circuit 232 through a switch 224 and a demodulation circuit 230. The error correction circuit 232 corrects error codes by using parity codes added by the error correction code encoding circuit 220. Now, the error correction circuit 232 recognises that uncorrectable or mis-corrected error codes occurred in DVTR 100 are correct codes. Therefore, video codes outputted from the error correction circuit includes uncorrectable or mis-corrected error codes occurred in DVTR 100 and uncorrectable or mis-corrected error codes occurred in DVTR 200. An error detection circuit 234 detects code errors included in reproduced video codes outputted from the error correction circuit 232 by using CRCC as error detection codes. The error detection codes decoded by the error detection circuit 234 are added by the error detection code encoding circuit 114 in DVTR 100, and are formed from correct video codes to be recorded on the magnetic tape 128. Accordingly, the error detection circuit 234 detects not only uncorrectable error codes in the error correction circuit 232 but uncorrectable or mis-corrected error codes occurred in DVTR 100. All of the error codes detected by the error detection circuit 234 are replaced with interpolative codes in an error concealing circuit 238. In other words, flags for interpolation are given to uncorrectable or mis-corrected error codes occurred in both of DVTR 100 and DVTR 200. The error concealing circuit 238 replaces such error codes with codes corresponding to pixels closed to a pixel corresponding to the error codes according to the flags for interpolation provided by the error detection circuit. A D/A converter 240 converts digital video codes outputted from the error concealing circuit 238 to an analogue video signal. In this way, a reproduced analogue video signal reproduced from the dubbed magnetic tape are externally outputted from an output terminal 242. Above description relates to only embodiments which use a magnetic tape. However, this invention is able to apply to other embodiments which use other recording mediums, for example, a magnetic disk, an optical disk, an optical-magnetic disk, a semi-conductor memory and so on. This invention can also be usefully applied to a system that can dub digital codes between different kinds of recording mediums. As mentioned above, embodiments to which this invention applies are able to reduce increases in the transmission rate between two apparatuses. This is because the embodiments output information codes partially processed through error detection and/or correction code decoding means and only a part of redundant codes added to the information codes. Additionally, the embodiments are able to prevent deterioration of qualities of information, because the embodiments form interpolative codes to replace error codes by only using original correct codes.

Claims: An information recording and reproducing apparatus comprising: input means (112) for inputting information codes; encoding means (114, 120) for adding first and second redundant codes to the information codes to form error detection and/or correction codes; means (124, 126) for recording and reproducing the information codes encoded with the redundant codes; first decoding means (132) for correcting errors in the information codes reproduced by said reproducing means by using said first redundant codes; second decoding means (134,138) for detecting errors in the information codes processed by the first decoding means using the second redundant codes; and output means (140, 142) for externally outputting the information codes processed by both said first and second decoding means, and characterised in that said apparatus is additionally provided with second output means (136) for externally outputting information codes which have been processed by said first decoding means (132) but not by said second decoding means (134, 138). Apparatus according to claim 1, wherein said second output means outputs the second redundant codes together with the information codes. Apparatus according to claim 1 or claim 2, wherein said encoding means comprises first encoding means adapted to add a cyclic redundancy check code as a redundant code to the information codes. Apparatus according to claim 3, wherein said encoding means further comprises second encoding means adapted to add parity check codes to the information codes. Apparatus according to claim 4, wherein said first decoding means is adapted to utilise the error correction codes formed by the first encoding means to correct the information codes output by the reproducing means, and said second decoding means includes an error detection means (134) for detecting error codes which could be corrected by said first decoding means. Apparatus according to claim 5, wherein said second decoding means includes error concealing means (138) for concealing uncorrectable errors detected by said error detection means. Apparatus according to claim 5, wherein said error detection means is adapted both to detect errors uncorrectable by the first decoding means and errors caused by mis-correction of said first decoding means. Apparatus according to claim 6 or claim 7, wherein said second decoding means is adapted to replace uncorrectable errors or miscorrected errors by interpolation. Apparatus according to any one of the preceding claims and further comprising second input means (116) for inputting information codes, selector means connected to said second input means and to the output of said first encoding means and adapted selectively to connect either said second input means or the output of said first encoding means to said second encoding means. Apparatus according to claim 9, wherein said second input means ids adapted to input added redundant codes which form error detection codes. An information recording and reproducing apparatus comprising: first input means (210) for inputting information codes; first encoding means (214) for encoding the input information codes by adding first redundant codes to form error detection codes; second encoding means (220) for adding second redundant codes to the output of the first encoding means; recording means (224, 226) for recording the output of the second encoding means on a recording medium (228); reproducing means (224, 226) for reproducing the information codes and first and second redundant codes from the recording medium; decoding means (232, 234, 238) for detecting and correcting errors in the output of said reproducing means by utilising said first and second redundant codes; and output means (242) for outputting externally the error corrected information codes, and characterised in that said apparatus is further provided with second input means (216) for inputting information codes and added redundant codes which form error detection codes, and means adapted to selectively supply either the output of said first encoding means (214) or the information codes input by said second input means (216) to said second encoding means (220). Apparatus according to claim 11, wherein said first encoding means is adapted to add a cyclic redundancy check code as the first redundant code to the information codes. Apparatus according to claim 12, wherein said first decoding means is adapted to utilise the second redundant codes added by the second encoding means to correct the information codes output by the reproducing means, and said second decoding means includes error detection means (134) for detecting error codes which could be corrected by said first decoding means. Apparatus according to claim 13, wherein said second decoding means includes error concealing means (238) for concealing uncorrectable errors detected by said error detection means. Apparatus according to claim 14, wherein said error detection means is adapted both to detect errors uncorrectable by the first decoding means and errors caused by mis-correction of said first decoding means. Apparatus according to claim 14 or claim 15, wherein said second decoding means are adapted to replace uncorrectable errors or miscorrected errors by interpolation. An information recording and reproducing apparatus comprising a master DVTR (100) connected to a slave DVTR (200) in which the master DVTR has the features claimed in any one of claims 1 to 10, and the slave DVTR has the features as claimed in any one of claims 11 to 16, and wherein the second output of the master DVTR is connected to the second input of the slave DVTR.

Inventors: SHIMIZU TETSUYA, SHIMIZU, TETSUYA, SHIMIZU, TETSUYA, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1993
Main classification: G11B20
IPC codes: H04N5, G11B20