Recording apparatus

Abstract: A memory device is provided in a tape cassette and it consists of a program information area for recording information on each program recorded in a tape and a tape information area for recording information on the entire tape. If this tape cassette is used by a video cassette recorder having a full function to drive the memory device and by a video cassette recorder having a limited function to drive it, the program information recorded in the memory device is consistent with the programs recorded actually in the tape. For example, a tape erasing prevention flag is recorded in the tape information area, while a program erasing prevention flag is recorded for each program in the program in the program information area. In a different example, a tape inconsistency flag is recorded in the tape information area, while a program inconsistency flag is recorded for each program in the program in the program information area. The data in the memory device can be corrected by using such flags according to the programs recorded actually in the tape.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an apparatus for recording data with a tape cassette including a memory. Description of the Prior Art Recently, video cassette recorders and audio cassette recorders for recording a tape cassette are popular in many homes. However, they have problems on operation, search and the like when compared with apparatuses using a disk medium. Then, it is demanded for example to facilitate management and search on recorded programs. WO-A-93/04473 teaches to provide a directory of programs to be recorded on a cassette tape of e.g. a video tape cassette in order to facilitate recording and reviewing of the programs and allocating and deallocating of space on the tape. The directory is either stored on the cassette tape itself or on an external memory. Furthermore, a bar code is already available to manage data recorded in a cassette tape for a video cassette recorder. That is, a bar code is attached to a video tape in order to discriminate a tape cassete in order to represent recorded programs. The bar code is read by a sensor installed in a video cassette recorder and read data are stored in a memory also installed in the recorder Then, recorded programs in a tape cassette can be managed by referring the data in the memory. However, this management system has a problem that there is no compatibility between video cassette recorders. BE-A-191395 and 191469 disclose a cassette tape recorder for a tape cassette having a memory device therein. When such a tape cassette is inserted in a cassette tape recorder, the memory device is connected to a controller of the recorder. The recorder has a detector which can detect a tape position and stores an instantaneous tape position in the memory device when a cassette tape stops. The memory device comprises memory element blocks each for storing a plurality of tape positions. Then, the recorder can manage tape position data stored in the memory device. Therefore, the cassette tape can be used in any cassette tape recorder which has a device to use such a cassette tape. Such a tape cassette may be set in a tape recorder which cannot use the memory device. In such a case, the Belgian patents disclosed that the cassette tape itself erases all data stored in the memory device and displays a warning message. However, it is desirable that recording and reproduction are possible by protecting data stored in a memory device in such a tape cassette as much as possible even when it is used to be recorded by a tape recorder which cannot use such a memory device for using the data stored therein. SUMMARY OF THE INVENTION An object of the present invention is to provide a recorder which can ensure consistency between data stored in a memory device and program recorded in the tape when a cassette tape with a memory device is used by recorders having different abilities for using data stored in the memory device. In order to achieve the above object, according to the present invention, there is provided a recording apparatus which records a program and a time data and uses a tape cassette wherein a memory device is provided, which memory device having a program information area for storing information related to programs recorded in a tape in the tape cassette and a tape information area for storing information related to the tape, the program information area including an area for storing for each of recorded programs a program inconsistency flag which is reset or set for each of the recorded programs according to whether or not a content of a program recorded in the tape coincides with the information on the program stored in the memory device, the tape information area including an area for storing a tape inconsistency flag which is set or reset according to whether or not the content recorded actually in the entire tape is inconsistent with the program information in the memory device, which recording apparatus comprising: a memory write means for writing tape information and program information to the memory device provided in the tape cassette; a memory read means for reading tape information and program information from the memory device; a detection means for detecting the tape inconsistency flag in said memory device by way of said memory read means; a setting means for setting the program inconsistency flags in the program information area for each recorded program by way of said memory write means when said detection means detects that the tape inconsistency flag is set; and a resetting means for resetting the tape inconsistency flag in the tape information area by way of said memory write means after said setting means sets the program inconsistency flag in the program information area. Further advantageous embodiments are defined in the dependent claims. In the present invention, a tape cassette wherein a memory device is provided is used in a recording apparatus. The memory device has a program information area for storing information on particular programs recorded in a tape and a tape information area for storing information on an entire tape in the tape cassette. Preferably, a first recording apparatus records a program and a time data and uses a tape cassette wherein a memory device is provided. In the memory device, the program information area includes an area for storing a program inconsistency flag which is set or reset for each of recorded programs according as a content of a recorded program coincides with the information on the recorded program in the tape or not and that the tape information area includes an area for storing a tape inconsistency flag which is set or reset according as the program inconsistency flag operates correctly or not. The first recording apparatus access the memory device by a memory write means and a memory read means. A detection means detects the tape inconsistency flag in the memory means. A setting means sets the program inconsistency flag for each recorded program when the detection means detects that the tape inconsistency flag is set, while a resetting means resets the tape inconsistency flag after the setting means sets the program inconsistency flag. In a further preferred aspect of the present invention, a tape inconsistency flag is recorded in the tape information area, while a program inconsistency flag is recorded for each program in the program information area. The program inconsistency flag is set or reset for each of recorded programs according as a content of a recorded program coincides with the information on the recorded program in the tape or not, while the tape inconsistency flag is set or reset according as the program inconsistency flag operates correctly or not. When a program is recorded in a tape, it is checked if an overwrite occurs or not. If an overwrite is not detected, the program is recorded in a region which has not yet been recorded. If an overwrite is decided to occur, the program information for programs to be overwritten is corrected as recorded actually. Then, the program inconsistency flag for each recorded program is reset. In a third preferred aspect of the present invention, when the tape inconsistency flag is detected to be set, the program information on programs recorded in a tape is corrected according to programs recorded actually. First, a top position of the programs is detected by detecting a cue signal or a discontinuity of time data. Then, the program information is corrected according to detected time data. Next, the tape inconsistency flag is reset. In an fourth preferred aspect of the present invention, a program inconsistency flag is recorded in the program information area in the memory device, while a tape inconsistency flag is recorded in the program information area in the memory device. The program inconsistency flag is set or reset for each of recorded programs according as a content of a recorded program coincides with the information on the recorded program in the tape or not, while the tape inconsistency flag is set or reset according as the program inconsistency flag operates correctly or not. When the tape inconsistency flag is detected to be set, data correction is performed. In the data correction, a cue control signal recorded at a top of each of recorded programs is detected and the program information in the program information area is corrected as recorded actually for programs on which a cue signal is detected, according to time data on programs already recorded on the tape. After data correction, the program inconsistency flag is reset. In a firth preferred aspect of the present invention, data correction is performed on programs on which data correction is found to be needed. For programs on which the program inconsistency flag is detected to be set, the program information in the program information area is corrected as recorded actually by detecting time data on the programs by detecting a cue signal or time data discontinuity. Next, the program inconsistency flags are reset for programs on which the data is corrected. An advantage of the present invention is that a tape cassette with a memory means for management data is recorded by a recorder which does not have full function to use the memory means. Another advantage of the present invention is that the management data in a memory means in a tape cassette can be corrected according to programs recorded actually in a tape. A third advantage of the present invention is that the inconsistency of the program information in a memory means in a tape cassette with the content of programs recorded in a tape can be checked easily. 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 embodiments thereof with reference to the accompanying drawings, and in which: Figs. 1A and 1B are schematic diagrams of recorded programs in a tape and program information written to a memory device provided in a tape cassette, respectively; Figs. 2A and 2B are schematic diagrams of recorded programs in a tape and program information written to the memory device provided in the tape cassette, respectively, wherein a program is recorded with a limited function video cassette recorder; Fig. 2 is a schematic diagram of program information written to the memory device provided in the tape cassette; Figs. 4A and 4B are schematic diagrams of recorded programs on a tape and program information written to the memory device provided in the tape cassette, respectively, wherein a program is recorded with a full function video cassette recorder; Figs. 5A and 5B are a plan view and a back view of a tape cassette with a memory device; Fig. 6 is a schematic memory map in the memory device of a tape cassette; Fig. 7 is a schematic memory map in the memory device of a tape cassette; Fig. 8 is a schematic memory map in the memory device of a tape cassette; Fig. 9 is a block diagram of a main part of a full function video cassette recorder of a preferred embodiment of the present invention; Fig. 10 is a memory map illustrating storage positions of data in a tape information area in a memory device in the preferred embodiment of the present invention; Fig. 11 is a memory map illustrating storage positions of data in a memory device in the preferred embodiment; Fig. 12 is a memory map illustrating storage positions of data in a program information area in a memory device in the preferred embodiment; Fig. 13 is a block diagram of a main part of a full function video cassette recorder of the preferred embodiment; Fig. 14 is a block diagram of a main part of a limited function video cassette recorder of the preferred embodiment; Fig. 15 is a flowchart when a tape cassette with a memory device is recorded normally by the full function video cassette recorder; Fig. 16 is a flowchart of signal processing when programs are recorded by the limited function video cassette recorder; Fig. 17 is a flowchart of data correction performed by the first video cassette recorder by detecting cue signals when a tape cassette with a memory device is recorded; Fig. 18 is a flowchart of data correction performed by the first video cassette recorder by detecting discontinuity of time data when a tape cassette with a memory device is recorded; Fig. 19 is a flowchart of recording when a tape cassette with a memory device is recorded by the first video cassette recorder without data correction; Fig. 20 is a flowchart of data correction performed by the first video cassette recorder after a tape cassette with a memory device is recorded; and Fig. 21 is a flowchart of data correction performed simply by the first video cassette recorder after a tape cassette with a memory device is recorded. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring now to the drawings, wherein like reference characters designate like or corresponding parts throughout the views, embodiments of the present invention will be explained below. In the present invention, a tape cassette has a memory device therein and the memory device is used to manage or search programs recorded in the tape cassette. The memory device may include an area for program information for managing information on each program recorded in a tape and an area for tape information for managing an entire tape. Then, if a recorder can access the memory device provided in such a tape cassette, the recorder can manage recording, playback and the like according to various information stored in the memory device. If a recorder may have a function to use the memory device actively by reading and writing the information from and to the memory device, the information in the memory device can be used for management fully. If programs are recorded in a tape cassette by such a recorder having functions to use the memory device fully (hereinafter referred to as full function recorder), the tape cassette can also be accessed by another full function recorder. However, there will be various models of a recorder which can access such a memory device in a tape cassette in various ways. For example, such a tape cassette may be used for a different recorder which has a limited function to use the memory device (hereinafter referred to as limited function recorder). Then, it is needed that program information in a memory device in a tape cassette is protected. For example, it is needed that the program information does not lose consistency of data even if the tape cassette is used in various models of a recorder. If this is guaranteed, a tape cassette with a memory device can be used in various models. Before explaining embodiments of the present invention, a comparison example is explained below in order to explain problems on data stored in a memory device in a tape cassette, by using above-mentioned two types of video cassette recorders (VCR). A memory device 2 in a tape cassette has a plurality of addresses and consists of a first area 3 at a first address for storing warning and a second area for storing program information. It is assumed that when a tape cassette is recorded in a limited function VCR, the tape cassette itself sets a warning, in the first area, and that if a warning is set in the first area, all program information in the second area is erased when the tape cassette is set in a full function VCR. Figs. 1A - 4B show program information stored in a memory device 2 in a tape cassette and a content of programs actually recorded in a tape 1. In an example shown in Fig. 1A, four programs A - D are recorded successively in a tape 1 by a full function VCR. As shown in Fig. 1B, the first address is an information area for storing a warning flag 3, and program informations of the programs A - D are stored successively after the flag 3. The content of the flag 3 is "no" because the programs are recorded by a full function VCR. Fig. 2A shows a situation when the tape cassette is set in a limited function VCR and a program E is recorded in the tape 1 to overwrite from the start of the program B to the end of the program C. Because the tape cassette is set in a limited function VCR, a warning information 3 is set as "yes", as shown in Fig. 2B, but the contents of program information in the second area are not updated because the limited function VCR cannot update them. When the tape cassette 1 is set next in the full function VCR, the VCR detects that the warning flag is set. This means that the program information in the memory device 2 may include an error. Then, the, full function VCR erases all program information and resets the warning as "no", as shown in Fig. 3. If a new program F is recorded by overwriting from the top of the program D, as shown in Fig. 4A, a program information on the program F is written as shown in Fig. 4B as if the program F is recorded in a new tape 2 because there is no data after the first area 3. Therefore, it is a problem that the program information cannot exclude a possibility that there are more recorded programs in the tape besides programs described in the memory device 2. Then, it is desirable that programs recorded actually in a tape is consistent with program information recorded in the memory device even if a tape cassette is used in various kinds of VCRs. For example, if a full function VCR can designate a program which is inhibited to erase it in a tape, it is desirable that it cannot be erased even if the tape cassette is used in a limited function VCR. Next, a first embodiment of the present invention is explained. Figs. 5A and 5B illustrate a tape cassette 7 with a memory device 5 provided therein. The tape cassette 7 is similar to a prior art tape cassette except the memory device 5. A video tape 4 is contained in a cassette half 6 including a tape guide mechanism. The memory device 5 is a nonvolatile memory such as an EEPROM and it has a first area for storing tape information and a second area for storing program information. The memory device 5 is equipped at a back side of the cassette half 6, and a connector or terminal (not shown) is provided at the cassette half 6 for connecting electric power lines and signal lines to the memory device 5. A video cassette recorder which can access the memory device 5 has a connector 48 (Fig. 9), 52 (Fig. 15) for connecting to the memory device 5. The memory device 5 is for example a semiconductor memory of 2 kbytes of storage capacity. Figs. 6 - 8 show memory maps for illustrating storage data in the memory device 5. An address is expressed as an 11-bit data; the abscissa denotes lower two bits while the ordinate denotes upper nine bits. The memory device 5 consists of a first area for storing tape information and a second area for storing program information. As shown in Fig. 7, the tape information is stored in an area 10 at address "0" of the upper nine bits of the address, while the program information is stored in areas 15a, 15b, ..., 15c at addresses "1" - "510" of the upper nine bits every three addresses. As shown in Figs. 6 and 7, the area 10 at address "0" for tape information is divided into an area 13 for recording information on the tape cassette itself and an area 14 for recording a current tape position. The area 13 stores an attribute of video tape, recording conditions such as a model of VCR and the like. For example, in an example shown in Fig. 6, it stores recording prevention flag 11, tape thickness, kind of tape, playback prevention flag (not shown) and the like. A current tape position is recorded in the area 14 as to hour, minute, second and frame number when a tape cassette 7 is unloaded from a VCR after recording or playback. As shown in Fig. 7, the area for storing program information consists of areas 15a, 15b, ..., 15c each for recording information on a program when the program is recorded with a full-function VCR. As shown in detail in. Fig. 8, a first area 16 in one of the areas 15a, 15b, ..., 15c stores program erasing prevention information 17, channel information and the like. An area 19 following the area 18 stores a start tape position and an end tape position of programs registered in the areas 15a, 15b, ..., 15c in the units of hour, minute, second and frame number. Further, in an area 20 after the area 19, a recording time on the programs registered in the area 15 is stored in the units of month, day, hour and minute. Fig. 9 shows a diagram of a main part of a video cassette recorder of a preferred embodiment. The tape cassette 7 can be set in a video cassette recorder (VCR). The VCR includes a signal processing circuit for recording and reproducing video signals, a scan mechanism having a rotating drum and a fixed drum for scanning a tape 5 and a mechanism for loading and unloading a tape cassette, similarly to a prior art VCR. A recording head 31 is provided at the rotating head. Video signals and audio signals to be recorded are received by a recording controller 32 and processed by a recording signal processor 33, while and a tape position data is generated by a position data generator 35. A recording circuit 34 superposes the tape position data on the video and audio signals. The recording circuit 24 sends signals to be recorded to the recording head 31. On the other hand, a microcomputer 36 receives input signals from an input means such as buttons 44 provided at the exterior of the recorder. It also send control signals through a signal generator 45 to a playback system 46 and to a display unit 47. The playback system 46 is not a subject of the present invention and it is not explained further. A connector 48 is provided to access the memory device 5 in the tape cassette 7, and the memory device 5 is accessed by a memory write circuit 42 and a memory read circuit 43 for writing and reading data to and from the memory device 5, and the microcomputer 36 controls them. Next, a full function video VCR and a limited function VCR of the preferred embodiment of the present invention is explained. A tape cassette 7 having a memory device 5 explained above can be used for the VCR, similarly to the above-mentioned first embodiment, but, the content recorded in the memory device 5 is different from the counterpart in the tape cassette in the first embodiment. As shown in Figs. 10 - 12, two warning flags, that is, tape inconsistency flag stored in the tape information area and program inconsistency flags stored in the program information area are used in the present invention. The tape inconsistency flag is set if programs recorded in an entire tape in a tape cassette do not coincide with information stored in the memory device. On the other hand, the program inconsistency flag is provided for each program recorded in a tape, and a program inconsistency flag for a program is set if the program recorded in the tape does not coincide with information on the program stored in the memory device. The above-mentioned two kinds of flags can be used to check inconsistency between the programs recorded actually in a tape and the information on the programs in the memory device. A full function VCR can read and write both tape information area and program information area in the memory device, while a limited function VCR can read and write only tape information area. If the tape cassette is used only by full function VCRs, no such inconsistency will occur. However, if a video cassette with a memory is used to record a new program by a limited function VCR, the VCR cannot access the program information area in the memory device. Therefore, the programs recorded actually in a tape do not coincides with the information on the programs in the memory device, and a tape inconsistency flag is set to show the occurrence of the inconsistency. In other words, if a tape inconsistency flag is detected to be set, it is decided that the tape is recorded by a limited function VCR. Further, the flags can be used for various processings to solve the inconsistency, as will be explained below. For example, data in the memory device can be corrected according to the programs recorded actually in the tape. If a time data as well as video data is also recorded in a tape, overwrite can be detected, and data in the memory device can be corrected according to detected overwrite. If a cue signal or time data discontinuity is detected in a search of a program, data can be corrected according to the flags. The memory device 5 is for example a semiconductor memory of 2 kbytes of storage capacity. An address is expressed as a 11-bit data; the abscissa denotes lower two bits while the ordinate denotes upper nine bits. Figs. 10 and 11 show memory maps for illustrating storage positions of data in the memory device 5. As shown in Fig. 11, the tape information is stored in an area 10 at address "0" of the lower nine bits of the address, while the program information is stored in areas 64a, 64b, ..., 64c at addresses "1" - "510" of the upper nine bits every three addresses. As shown in Fig. 10, the tape information area 60 at address "0" for tape information is divided into an area 61 for recording information on the tape cassette 7 itself and an area 62 for recording information on a current tape position. The area 61 stores an attribute of video tape 4, recording conditions such as a model of VCR and the like, or in detail, it stores tape inconsistency flag 63, tape thickness, kind of tape and the like. In the area 62, a current tape position is recorded as to hour, minute, second and frame number when a tape cassette 7 is recorded or played back in a VCR and unloaded therefrom. As shown in Fig. 11, the area for storing program information consists of areas 64a, 64b, ..., 64c each for recording information on a program when the program is recorded with a full-function VCR. As shown in detail in Fig. 12, a first area 65 in one of the areas 64a, 64b, ..., 64c stores a program inconsistency flag 66, recording prevention information, a logic erasing flag for recognizing that a program is remained in the memory device but erased actually, channel information and the like. In an area 68 in succession to the area 65, a start tape position and an end tape position of programs recorded in the area 64a, 64b, ..., 64c in the units of hour, minute, second and frame number. Further, in an area 69, a recording time on the programs registered in the area 64 is stored in the units of month, day, hour and minute. A full function video cassette recorder (VCR) of the second embodiment is shown in Fig. 13. The tape cassette 7 can be set in the VCR. The VCR includes a scan mechanism having a rotating drum and a fixed drum for scanning a tape 5 and a mechanism for loading and unloading a tape cassette. The control by a microprocessor (not shown) explained below with flowcharts is different from that of the full function VCR of the first embodiment. A recording head 101 is provided at the rotating head. Signals read by the head 101 are sent to a recording control circuit 100 (similar to the counterpart 32 in Fig. 9) and further to a comparison means 102 for comparing them with the content of memory data. Further, when a tape is scanned for search at a fast speed, read signals from the head 101 are also sent to a cue signal detection means 103 for detecting a cue signal and a time discontinuity detection means 104 for detecting discontinuity of time data. The cue signal detection means 103 detects for example a cue control signal such as VISS or VASS (hereinafter referred to as cue signal) when a video tape 4 is searched at a fast speed. The circuit time discontinuity detection means 104 reads time data recorded in a video tape 4 to detect discontinuity of time data which may exist at a joint portion between regions of different programs. The comparison means 102 compares information recorded in the memory device 5 with the content recorded actually in a video tape 4. Output signals of the means 102 - 104 are sent to a data correction means 105 for correcting data. The data correction means 105 generates corrected data when the information in the tape information area 60 or in the program information area 64 in the memory device 5 is rewritten. A program inconsistency flag resetting means 106 resets a program inconsistency flag 66 in the memory device 5 according to an instruction from the data correction means 105. A tape inconsistency flag resetting means 107 resets a tape inconsistency flag 63 from "1" to "0" according to an instruction from the program inconsistency flag resetting means 107 or from the data correction means 105. A connector 110 is provided to access the memory device 5 in a tape cassette 7 when it is set in the VCR, and the memory device 5 is accessed by a memory write circuit 108 and a memory read circuit 109 for writing and reading information to and from the memory device 5. A part of the data read with the memory read circuit 109 is sent to a tape inconsistency flag detection means 115 for detecting a tape inconsistency flag, to an overwrite detection means 112 for detecting overwrite and to a program inconsistency flag detection means 111 for detecting a program inconsistency flag. The program flag detection circuit 111 detects for a program if a program inconsistency flag 66 is "1" or "0" or if the information on the program agrees with the program recorded actually in the tape, and if the flag 66 is detected as "1", the detection result is sent to the data correction means 105. The overwrite detection means 112 detects if a program to be recorded newly is overwritten on a program recorded previously, and the detection result is sent to the data correction means 105. If overwrite or recording is performed, the data correction means 105 always corrects data. The tape inconsistency flag detection means 115 decides for each program if the tape information recorded in the memory device 5 is "1", or "0". If the inconsistency between the contents of the memory device and the tape is detected, the result is sent to the display unit 117 for displaying a warning message. The program inconsistency flag setting means 114 sets all the program inconsistency flags when it receives the detection result of inconsistency from the tape inconsistency flag detection means 115. The program inconsistency flags 66 are recorded in the memory device 5 by way of the memory write circuit 108. The tape inconsistency flag resetting circuit 107 resets the tape inconsistency flag according to an instruction from the data correction means 105 or the program inconsistency flag setting means 114. Next, a limited function VCR of the preferred embodiment is explained. Fig. 14 shows a main part of the VCR. The VCR includes a signal processing circuit for recording and reproducing video signals, a scan mechanism having a rotating drum and a fixed drum for scanning a tape 5 and a mechanism for loading and unloading a tape cassette 7, similarly to a prior art VCR. It is compatible with the full function VCR explained above on the recording and reproduction of video and audio signals. The VCR comprises a recording head 151, a recording control circuit 152, a tape inconsistency flag setting means 153 and a memory write circuit 154 and a connector 155. The VCR can read and write data in the tape information area in a memory device in a tape cassette, but it cannot read and write data in the program information area. In this point, the VCR has a limited function. In a rotating head (not shown), the recording head 151 and a play back head (not shown) are mounted, and read signals for a video tape 4 is sent to a recording control circuit 152 connected to the recording head 151. The recording control circuit 152 records also video and audio signals in a tape cassette 7 with a memory device 5 or a tape cassette of similar specifications. A part of the signals is sent to the tape inconsistency flag setting means 153 for setting the tape inconsistency flag. The setting means 153 instructs to record a tape inconsistency flag by way of the memory write circuit 154 when a program is recorded newly in a new video cassette 7 or a video cassette 7 including recorded programs. The memory write circuit 154 writes the tape inconsistency flag to the memory device 5 by sending a signal through the connector 153 to the memory device 5 in the tape cassette. The memory read circuit 156 reads information recorded at a specified region at address "0" and a part of read information is given to the recording control circuit 152. Next, the recording and reproduction by the full function VCR and the limited function VCR are explained by using a tape cassette with a memory device. Processings by the microprocessor according to instructions by a user with buttons are explained below, but a flow of branching according to an input is omitted for simplicity. Fig. 15 shows a flow of recording a program in a tape cassette 7 by the full function VCR (1st VCR) when a user instructs recording. When an instruction of recording by a user is received, this flow starts, and a program is recorded in a video tape 4 in a tape cassette 7 (step S150). Next, information in the tape information area 60 and that in the program information area 64 in the memory device 5 are detected and it is decided if overwrite exists or not (step S151). This step corresponds with the overwrite detection means 112. If overwrite is decided to exist (YES at step S151), program information recorded previously is erased or the content of the program information is corrected (step S152). This step corresponds to the data correction means 105. Then, the flow proceeds to step S153. If it is decided that overwrite does not exist at step S151, the flow proceeds to step S153 readily. Then, program information on the recorded program is written to the program information area 64 in the memory device 5 by the memory write circuit 108 (step S153). That is, program information such as recording time, recording channel and tape position is recorded. Thus, by correcting data, the data in the memory device can always be coincided with the programs recorded in the tape. Next, data correction with relation to search of a top position of a program is explained. When a tape cassette 7 is set in the full function VCR, it is possible to detect a cue signal as a top position of a program which a user want to play back. However, when a tape cassette 7 is set in the limited function VCR, though a program can be recorded in a video tape, the program information in the memory device 5 cannot be updated. Therefore, for a tape cassette on which a program is recorded with the limited function VCR, the program information stored in the memory device 5 may not agree with the content of programs recorded actually in the video tape. In this case, if the program information is read with the limited function VCR, it is possible that the program information stored in the memory device 5 does not agree with the content of programs recorded actually in the video tape. Then, when a user instructs to play back a program, if the program does not exist in the video tape, the program cannot be searched eventually. Then, in the present embodiment, the limited function VCR sets a tape inconsistency flag when it records a program. That is, the tape inconsistency flag setting means 153 of the limited function VCR sets the tape inconsistency flag, and the memory write circuit 154 records the tape inconsistency flag 63 as "1" in the information area 61 when a program is recorded. Fig. 16 shows this flow. When a user of the limited function VCR instructs recording, a program is recorded in a tape cassette 7 (step S160). As explained above, the VCR can read and write only address 0 in the memory device 5. Then, when the VCR operate recording for the tape cassette 7, "1" of the tape inconsistency flag is written to the address 0 by way of the memory write circuit 154. By using the tape inconsistency flag, tape inconsistency can be warned. Next, it is explained how the full function VCR performs data correction when a tape inconsistency flag is set as "1" by a limited function VCR. The data correction is performed because the program information in the memory device 5 may not agree with the content of the programs in the video tape 4. There are two methods on data correction. In the first method, a cue signal recorded at around a top of a program is detected in a video tape by the cue signal detection circuit 103, and the cue signal is used for data correction. In the second method, a discontinuous point of time data is detected from the start of a video tape 4 by the time discontinuity detection circuit 104, and data is corrected based on the detected discontinuous point. Fig. 17 shows a flow of the first method. When a user instructs recording a program by the full function VCR with an input means, a tape inconsistency flag at address 0 in the memory device 5 is read first by the memory read circuit 109 and it is decided if the tape inconsistency flag is "1" or not (step S170). If the tape inconsistency flag is decided to be "0", the flow ends because no data correction is required, and an ordinary recording is carried out. On the other hand, if the tape inconsistency flag is decided to be "1" (NO at step S170), a warning is displayed in the display unit 117 because the program information in the memory device 5 does not agree with the content of the programs recorded in the video tape 4 (step S171). Then, it is decided if data correction is requested by a user with an input means (step S172). If data correction is decided not to be required, the flow ends. Otherwise data correction is performed. First, a cue signal is detected (step S173). This step corresponds to cue signal detection means 103. If a cue signal is decided to be detected (YES at step S173), a time data at a start tape position recorded in the video tape is read (step S174), and the time data in the tape is compared with the time data recorded in the memory device 5 (step S175). If the disagreement between them is detected (NO at step S176), data in the memory device is corrected according to the time data (step S176). This step corresponds to the data correction means 105. Then, the flow returns to step S173 in order to detect a next cue signal. If a cue signal is detected again at step S173, steps S174 - S176 are repeated. If the detection of cue signals is completed at step S173, data correction is completed, and the flow branches to step S177 to reset the tape inconsistency flag 63 as "0". This step corresponds to the tape inconsistency flag resetting means 106. Thus, data correction is carried out by detecting the cue signals recorded in a video tape 4. Fig. 18 shows a flow of the second method. When a user instructs recording a program by the full function VCR with an input means, a flow of steps S180 - S187 is performed which is the same as that shown in Fig. 16 except step S183, and detail explanation is omitted here. At step S183, a time data recorded in a video tape 4 is read and a discontinuity thereof is detected. This step corresponds to the time discontinuity detection means 104. When a discontinuity is decided to be detected (YES at step S183), a time data at a point where the discontinuity is detected is read (step S184). Then, the time data is compared with the content on the memory device 5 (step S185), and if disagreement between them is found, data in the memory device is corrected according to the time data (step S186). This step corresponds to the data correction means 105. In the above-mentioned two examples of data correction, if it is warned by the tape inconsistency flag that the data in the memory device does not agree with the recorded programs, data correction is performed by detecting cue signals or time discontinuity points. Therefore, data in the memory device can be corrected according to the programs recorded actually in the tape. If a relevant information is not recorded in the memory device 5, data in the memory device is inconsistent with the program recorded in the tape, and an information to be recorded in the memory device 5 is generated based on data in the video tape 4 for data correction. Thus, when a program is recorded by a full function VCR, the information on the program will coincide always with the recorded programs in the tape automatically. Then, the inconsistency is vanished, and the tape inconsistency flag is reset. Thus, a user can manage programs easily by using a tape cassette with a memory device. However, because the above-mentioned data correction is carried out for each program from the top to the end of a video tape 4, it is needed to stop the video tape at times of a number of recorded programs, and it takes a time about ten minutes. Therefore, it is desirable to omit data correction for example when a user wants to start recording at once. Next, recording of a program without data correction is explained. It is assumed that the tape inconsistency flag 63 in the tape information area 60 in the memory device 5 is set as "1". In this case, the program information in the memory device 5 may not agree with the content of the programs in the video tape 4. However, recording is carried out by the full function VCR in the tape cassette 7 without data correction. Fig. 19 shows a flow of signal processing in this case. When a user instructs recording a program by the full function VCR with an input means, before starting recording, the tape inconsistency flag at address 0 in the memory device 5 is read by the memory read circuit 109 and it is decided if the tape inconsistency flag is "1" or not (step S190). If the tape inconsistency flag is decided to be "0", the flow ends because no data correction is required, and an ordinary recording is carried out. On the other hand, if the tape inconsistency flag is decided to be "1", a warning is displayed in the display unit 117 (step S191) and waits until the user gives an instruction. If data correction is decided to be requested (YES at step S192), this flow ends, and the data correction shown in Fig. 17 or 18 is performed. If data correction is decided not to be requested (NO at step S192), all program inconsistency flags 66 in the program information area 64 are set for all programs recorded already in the memory device 5 (step S193). This step corresponds to the program inconsistency setting means 114. Next, the tape inconsistency flag 63 in the tape information area 60 is reset as "0" (step S194). This step corresponds with the tape inconsistency flag resetting means 107. Then, recording of a program which the user want to record is carried out (step S195). After the recording completes, a program information on the program is written to the memory device 5 (step S196). Then, a program inconsistency flag 66 of the newly recorded program is reset as "0" (step S197). This step corresponds to the program inconsistency resetting means 107. When a program is recorded newly without data correction, the tape inconsistency flag is reset first. Then, a program inconsistency flag for the newly recorded program is reset, while the program inconsistency flag for the other recorded programs are set. Therefore, when the tape is reproduced, the reliability of program information can be confirmed for each program. Thus, when a program information is read from the memory device 5, a program inconsistency flag 66 is read from the program information area 64, and it can be decided if the program information agrees with the content of the programs recorded in a video tape 4. That is, in a video tape 4 wherein a plurality of programs are recorded, the program information in the memory device 5 for a program on which a program inconsistency flag 66 is recorded as "1" may not agree with the content of the programs. On the other hand, it is found that the program information in the memory device 5 for a program on which a program inconsistency flag 66 is recorded as "0" agrees with the content of the program recorded in the tape 4. Next, data correction is explained in a case wherein the tape inconsistency flag is recorded as "0" while program inconsistency flags are recorded as "0" or "1" mixedly. Fig. 20 shows signal processing in this case wherein data correction is performed by detecting cue signals. When a user instructs recording a program by the full function VCR with an input means, a cue signal is detected by searching a video tape 4 at a fast speed (step S200). This step corresponds with the cue signal detection circuit 73. If a cue signal is detected (YES at step S201), a time data is read from the video tape 4 (step S201). Next, the time data is compared with the time data recorded in the memory device 5 (step S202). If both data are decided not to agree with each other, data correction is performed (step S203). Then, a program inconsistency flag 66 is reset as "0" of the program on which data correction is performed. This step corresponds to the program inconsistency flag resetting means 107. Next, the flow returns to step S200 in order to detect a next cue signal and the above-mentioned processings are repeated. The flow returns also to step S200 if both data are decided to agree each other at step S202 and the program inconsistency flag is reset at step S204. If a cue signal is decided not to be detected at step S200, the flow ends. Therefore, when program information is corrected for a tape cassette wherein programs are already recorded, each program can be searched by using cue signals. After program information is corrected, the program inconsistency flags are reset. Then, when the tape is reproduced later, program information can be confirmed for each program. There is a case wherein reproduction and data correction are not needed for an area wherein a program inconsistency flag 66 is set as "1" in the program information area 64 in the memory device 5 and the flag 66 may not agree with the program in the video tape 4. For example, for a program which was already played back and has a program inconsistency flag 66 set as "1" in the program information area 64, the program information can be erased instead of data correction (step S203). Thus, a portion including the program can be handled as a non-recorded portion wherein a program does not exist. Therefore, there exist in the memory device 5 only areas on which program information flags 66 are reset as "0" or programs on which the program information agrees with the content of the programs. Then, the program information agrees with the contents of the programs recorded in the video tape 4 without data correction. Fig. 21 shows a flow of this simplified data correction by the full function VCR. When a user instructs recording by the full function VCR, before searching the video tape 4 at a fast speed, a program on which a program inconsistency flag 66 is set as "1" is detected (step S210). This step corresponds with the program inconsistency flag detection means 115. If such a program is detected, the video tape 4 is searched to a portion wherein the program is recorded, and a time data of the searched program is read (step S212). Then, the read time data is compared with the data recorded in the memory device 5. If both data is decided not to agree with each other (step S212), data correction is performed (step S213). This step corresponds with the data correction means 105. Next, a program inconsistency flag 66 is reset as "0" (step S214). This step corresponds with the program inconsistency flag resetting means 107. Then, the flow returns to step S210 to repeat the above-mentioned processings. If both data are decided to agree with each other at step S212, the program inconsistency flag is reset at step S214 and the flow also returns to step S210 to repeat the above-mentioned processings. The detection of program inconsistency flag at step S210 is performed up to the end of the video tape 4, or the data correction ends at the end of the video tape 4. Thus, when data correction is performed for a tape cassette wherein programs are recorded already, only programs on which program inconsistency flags are set are searched and the data thereon are corrected. Then, the data correction can be performed fast. Because the limited function VCR does not have a means for driving program information in the memory device, the programs recorded by the limited function VCR are not expected that data on the programs is recorded in the memory device 5. Though programs recorded in a video tape do not necessarily agree to the program information stored in the memory device 5, the information in the memory device 5 always exist on the video tape 4. Therefore, the recorded information itself does not include an error though the information includes deficiencies. In this method, it is not needed to stop at every programs in a search at a fast speed for a video tape, a time needed for data correction can be shortened. As explained above, a program inconsistency flag is provided for each program recorded in the memory device 5. Therefore, even if programs are recorded by a limited function VCR not having a means for driving program information in the memory device 5, it can be decided if the program information stored for each program agrees with the content of programs recorded in a video tape, and efficiency of data correction can be improved further.

Claims: A recording apparatus which records a program and a time data and uses a tape cassette (7) wherein a memory device (5) is provided, which memory device (5) having a program information area (64a, 64b, 64c) for storing information related to programs recorded in a tape (4) in the tape cassette (7) and a tape information area (60) for storing information related to the tape (4), the program information area (64a, 64b, 64c) including an area for storing for each of recorded programs a program inconsistency flag (66) which is reset or set for each of the recorded programs according to whether or not a content of a program recorded in the tape coincides with the information on the program stored in the memory device, the tape information area (60) including an area for storing a tape inconsistency flag (63) which is set or reset according to whether or not the content recorded actually in the entire tape (4) is inconsistent with the program information in the memory device (5), which recording apparatus comprising: a memory write means (108) for writing tape information and program information to the memory device (5) provided in the tape cassette (7); a memory read means (109) for reading tape information and program information from the memory device (5); a detection means (115) for detecting the tape inconsistency flag (63) in said memory device (5) by way of said memory read means (109); a setting means (114) for setting the program inconsistency flags (66) in the program information area (64a, 64b, 64c) for each recorded program by way of said memory write means (108) when said detection means (115) detects that the tape inconsistency flag (63) is set; and a resetting means (107) for resetting the tape inconsistency flag (63) in the tape information area (60) by way of said memory write means (108) after said setting means (114) sets the program inconsistency flag (66) in the program information area (64a, 64b, 64c). The apparatus according to claim 1, further comprising: an overwrite detection means (112) for reading program information from the program information area (64a, 64b, 64c) by way of said memory read means (109), for detecting according to time data on the tape (4) if a program described in the program information is recorded at a recording position in correspondence to the program information, and for deciding that an overwrite occurs if it is decided that the program is not recorded at the recording position; a data correction means (105) for correcting the program information in the program information area (64a, 64b, 64c) for a program, on which overwrite is decided to occur by said overwrite detection means (112), as recorded actually in the tape (4), according to time data on programs already recorded or a current program to be recorded in the tape (4); and a resetting means (106) for resetting the program inconsistency flag (66) for each recorded program after said data correction means (105) corrects the program information in the program information area (64a, 64b, 64c). The apparatus according to claim 2, further comprising a means (103) for detecting a cue control signal recorded at a top of each of recorded programs. The apparatus according to claim 2, further comprising a means (104) for reading time data recorded for each program on the tape (4) to detect discontinuity of the time data.

Inventors: MIYOSHI TSUTOMU, OHTA YUTAKA, SAWADA MASAKO, MIYOSHI, TSUTOMU, OHTA, YUTAKA, SAWADA, MASAKO
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1994
Main classification: G11B15
IPC codes: G11B15, G11B27