1. Field of the Invention
The present invention relates to data recording apparatus which is capable to selectively duplicating data stored in a main storage device into a recording medium of a removable type storage device and a control method for the data recording apparatus.
2. Description of the Related Background Art
In a recording apparatus such as a hard disk recorder, 24 hours' worth of broadcast programs, for example, is recorded as data into an internal hard disk drive provided as a main storage device, whereupon a user can view any desired program from the programs thus recorded, selectively.
In the recording apparatus, since broadcast programs are recorded based on a ring buffer system is generally used for the internal hard disk drive, the recorded program data is erased completely when new program data is recorded. Therefore, some recording apparatuses have a removable storage device is provided in an internal or external fashion, in such a manner that program data recorded into an internal hard disk drive can be duplicated, selectively, to a recording medium, such as an optical disk, using the removable storage device in accordance with a command input by a user. Accordingly, it is possible to save any desired program data to a recording medium, and hence a desired program can be viewed, according to the user's convenience, by replaying the recording medium thus saved.
However, in the task of copying program data recorded to a hard disk drive, onto a recording medium, there is a problem in that, depending on the number of programs selected by the user, it is not possible to record the data entirely onto the recording medium, up to the end of the program.
It is an object of the present invention to provide a data recording apparatus in which data stored into a main storage device can be recorded selectively onto a recording medium of a removable type storage device, in an efficient manner and its control method for the same.
A data recording apparatus according to the present invention having a main storage device, for recording information data stored in the main storage device, onto a recording medium of a removable storage device, the apparatus comprising: a data managing portion which manages the information data stored in the main storage device, in units of a recording capacity of the recording medium; and a controller which reads the information data in units of the recording capacity of the recording medium, from the main storage device, and controls recording of the read information data to the recording medium of the removable storage device.
A control method according to the present invention is a method for controlling a data recording apparatus having a main storage device, to record information data stored in the main storage device, onto a recording medium of a removable storage device, the method comprising the steps of: managing the information data stored in the main storage device, in units of a recording capacity of the recording medium; and reading the information data in units of the recording capacity of the recording medium, from the main storage device, and controlling recording of the read information data to the recording medium of the removable storage device.
Below, an embodiment of the present invention is described in detail, with reference to the drawings.
The TV tuner 1 is connected to an antenna input terminal 21, a television broadcast wave is received via an antenna (not illustrated) connected to the terminal 21 by selecting a channel, in accordance with control implemented by the control section 4 to obtain a reception signal. The reception signal is demodulated, and corresponding an analog video signal and audio signals are output. The output of the TV tuner 1 is connected to the A/D converter 2. The A/D converter 2 digitizes the analog video signal and audio signals output by the TV tuner 1. Furthermore, the A/D converter 2 is connected to external video and audio input terminals 22 and 23, and it digitizes an analog video signal and audio signals supplied to the terminals 22 and 23. The output of the A/D converter 2 is connected to the encoder 3. The encoder 3 converts the digitized video signal and audio signal into compressed data based on the MPEG format, for example.
The encoder 3, control section 4, HDD device 7, optical disk drive device 8, memory 9 and decoder 10 are connected to a common bus 16. The encoder 3 is able to supply the compressed data, via the bus 16, to any one of the control section 4, HDD device 7, optical disk drive device 8, memory 9 and decoder 10.
The control section 4 is constituted by a microcomputer, for example, and it controls the whole of the recording apparatus, in accordance with a previously set program. The control section 4 and the TV tuner 1 are mutually connected via a control line (not illustrated), in such a manner that the channel received by the TV tuner 1 is controlled by the control section 4.
The display section 5 and the operating section 6 are connected to the control section 4. The display section 5 displays the reception channel of the TV tuner 1, and an operating status such as a recording status and a playback status of the HDD device 7, or the optical disk drive device 8, and the like, in accordance with a display instruction from the control section 4. The operating section 6 receives an input operation from the user, and supplies an instruction corresponding to the input operation, to the control section 4.
The HDD device 7 is a main storage device based on a rewriteable hard disk (not illustrated), and it writes compressed data supplied by the encoder 3, in accordance with a write instruction from the control section 4, to an address position on the internal hard disk as indicated by the write instruction. The compressed data from the start to the end of the writing operation is taken as a separate data unit, and this forms a compressed data file. Furthermore, in accordance with a read instruction from the control section 4, the compressed data at the storage position whose address is indicated by the read instruction is read from the hard disk, and output to the bus 16.
The optical disk drive device 8 is a removable storage device, which is able to write compressed data from the encoder 3 or the HDD device 7, to an optical disk 15, in accordance with a write instruction from the control section 4. The optical disk 15 may be, for example, a DVD-R, DVD-RW, or the like. The optical disk drive device 8 is also able to read compressed data written to the optical disk 15, in accordance with a read instruction from the control section 4.
The decoder 10 decompresses the compressed data supplied from the encoder 3, HDD device 7 or optical disk drive device 8, via the bus 16, and restores the digital video signal and audio signal. The digital video signal and audio signal thus restored are supplied to the D/A converter 11. The D/A converter 11 converts the digital video signal and audio signal into an analogue video signal and audio signal, and supplies same to the video and audio output terminals 24 and 25. The video and audio output terminals 24 and 25 are connected to a video monitor and a VCR (video cassette recorder) (not illustrated).
A recording area of the structure shown in
Each of the plurality of virtual disk areas D1-Dn, is a group recording area forming a virtual disk, this being an area formed by a virtual disk setting operation. In the virtual disk setting operation, as described hereinafter, it is possible to create a plurality of virtual disk areas D1-Dn having a storage capacity equal to the recording capacity of the recording area (main data recording area) of the optical disk 15. The operation of writing the compressed data to the virtual disk areas D1-Dn is carried out in the form of a virtual disk recording operation, before a copying operation. The management information recording area is an area for managing the position, size and data identification information of the file unit of compressed data written to the main data recording area, as data management information, and, as illustrated in
As shown in
In the recording apparatus having the aforementioned configuration, in addition to the copying operation described above, the operating modes also include a virtual disk setting operation, a recording operation and a playback operation. The recording operation includes normal recording operations for recording onto individual recording areas, and virtual disk recording operations as described above. These operations can be selected by means of the user operating the operating section 6, by referring to a menu displayed on the display section 5.
The virtual disk setting operation is an operation for setting one virtual disk area in a group recording area on a hard disk of the HDD device 7. As shown in
After executing step S1, the control section 4 determines whether or not the disk title name, disk capacity and recording time (or recording rate) have been set by operational inputs via the operating section 6 (step S2). As illustrated in
The recording operation is an operation for writing compression data to the HDD device 7. When a recording key or a programmed recording key (neither illustrated) of the operating section 6 is operated, the control section 4 starts control of the recording operation, and as shown in
If it is determined that a selection operation has been made at step S12, then it is subsequently judged whether or not this selection indicates the virtual disk recording (step S15). If the virtual disk recording has been selected, then the procedure advances to a virtual disk recording operation (step S16), and if the virtual disk recording has not been selected, then it advances to the normal recording operation in step S14.
In the normal recording operation, a video signal and audio signals in a broadcast wave received by the TV tuner 1, or a video signal and audio signals supplied to the external video and audio input terminals 22 and 23 are converted into a digital video signal and audio signal, by means of the A/D converter 2. The digital video signal and audio signal are compressed by the encoder 3 to obtain compressed data, and this compressed data is supplied via the bus 16 to the HDD device 7. In accordance with a write instruction from the control section 4, the HDD device 7 writes the compressed data to an address position in the individual recording area of the hard disk as indicated by the write instruction.
When the writing to the individual recording area has completed, the data management information relating to the compressed data thus written (data identification information, recording position and file size), is written to the management information recording area of the hard disk.
In the virtual disk recording operation, as shown in
If, as a result of the judgment at step S23, it is not possible to write the data to the virtual disk area Di, then the procedure advances to step S22, in order to carry out a new virtual disk setting operation. If the data can be written to the virtual disk area Di, then an instruction is issued, to the HDD device 7, to write the compressed data to the virtual disk area Di (step S24). In the case of timer programmed recording, the operation of writing to the virtual disk area Di starts at the programmed time.
The case of a writing operation to the virtual disk area Di is the same as the normal recording operation up to the step where the compressed data of the video signal and audio signal in the received broadcast waves is supplied to the HDD device 7, via the bus 16. In accordance with a write instruction from the control section 4, the HDD device 7 writes the compressed data to the virtual disk area Di set by the virtual disk setting operation described above, within the group recording area of the hard disk.
When the writing of compressed data to the virtual disk area Di has been completed, an instruction is issued to write data management information to a portion of the management information recording area corresponding to the virtual disk area Di (step S25). In the HDD device 7, in response to the write command at step S25, data management information (data identification information, recording position, file size) is written to the portion of the management information recording area corresponding to the virtual disk area Di.
Therefore, by executing the virtual disk recording operation, virtual disk areas D1, D2, . . . are formed in the group recording area, as illustrated in
The playback operation is an operation in which the compressed data written to the HDD device 7 is restored into an analog video signal and audio signals, by means of the decoder 10 and the D/A converter 11. In the playback operation, in accordance with a read instruction from the control section 4, compressed data is read from the address position on the hard disk of the HDD device 7 indicated by the read instruction. The compressed data thus read is supplied via the bus 16 to the decoder 10 which compresses it. The compressed data is converted into a digital video signal and audio signal by the decoder 10. Furthermore, the digital video signal and audio signal are converted into an analog video signal and audio signals, by means of the D/A converter 11, and these analog signals are output from the video and audio output terminals 24 and 25.
In the copying operation, as shown in
The control section 4 instructs to read data from one selected virtual disk area, to the HDD device 7, via the bus 16 (step S32), and furthermore, it also instructs to write the read data to the optical disk drive device 8 (step S33). If the one virtual disk area is taken to be Dj (where j is a value between 1 and i), then in accordance with the read instruction in step S32, in the HDD device 7, compressed data is read from the virtual disk area Dj of the hard disk specified by the read instruction. In the case of this read operation, a portion of the management information recording area corresponding to the specified virtual disk area Dj is used. The compressed data thus read is supplied via the bus 16 to the optical disk drive device 8. The optical disk drive device 8 writes the compressed data supplied by the HDD device 7, in accordance with a write instruction from the control section 4, to the main data recording area of the optical disk 15. When writing of all of the compressed data in the virtual disk area Dj to the main data recording area of the optical disk 15 has been completed, the writing of the data of the one virtual disk area Dj to the optical disk 15 is completed, by writing the data management information to the management information recording area of the optical disk 15. The data management information written to the management information recording area of the optical disk 15 is different to that in the management information recording area of the HDD device 7 corresponding to the virtual disk area Dj, for example, it contains information on the storage position that is compatible with the optical disk 15.
When writing data at step S33, if no optical disk 15 has been inserted correctly in the device, an image may be displayed on the display section 5 which prompts the user to reinsert the optical disk 15, or to insert another optical disk 15.
After the instruction in step S33, the control section 4 judges whether or not the writing of the data in the one virtual disk area Dj, to the optical disk 15, has completed (step S34). If the write operation has completed, for example, the control section 4 is able to judge the termination of the writing operation to the optical disk 15, by means of a signal indicating the completion of writing supplied from the optical disk drive device 8 to the control section 4. If the writing to the optical disk 15 has completed, it is judged whether or not there is a remaining virtual disk area for which writing to the optical disk 15 has not been completed, of the virtual disk areas selected at step S31 (step S35). If there is a remaining virtual disk area, then an image is displayed on the display section 5 prompting the user to change the optical disk 15 (step S36). In other words, since the optical disk 15 inserted into the optical disk drive device 8 is a disk for which writing has been completed, the user is requested to insert a blank, unrecorded optical disk 15. It is then judged whether or not changing of the optical disk 15 has been completed (step S37), and if it is confirmed that the optical disk 15 has been changed, then the procedure returns to step S32, the HDD device 7 is instructed to read data from the next virtual disk area selected, and writing of the data thus read to the optical disk drive device 8 is also instructed (step S33), following a similar operation to that described above.
If the data in the virtual disk area D1 of the hard disk illustrated in
In the case that an auto-changer device is provided for automatically changing the optical disks 15, when the control section 4 judges at step S35 that there is a remaining virtual disk area, it instructs the auto-changer device to change the optical disk 15, and then immediately proceeds to step S37.
If the control section 4 has judged at step S35 that there is no remaining virtual disk area, then it judges whether or not the data in the virtual disk area to be copied is to be erased (step S38). If an operation for erasing data is implemented, by the user, by means of the operating section 6, then the HDD device 7 is instructed, via the bus 16, to erase the data in the virtual disk area that has been copied (step S39). This data erasure operation refers to the portion of the management information recording area corresponding to the virtual disk area whose data has been copied. After erasing all of the data in the virtual disk area that has been copied, the HDD device 7 also erases the information portion of the management information recording area corresponding to the virtual disk area. When step S39 has been executed, the copy operation terminates.
If data in the virtual disk area D1 of the HDD device 7 illustrated in
In the data erasure operation, it is possible to erase any area of the virtual disk areas D1-Dn of the hard disk of the HDD device 7, selectively.
In the embodiment described above, a plurality of virtual disk areas D1-Dn is actually provided in the main data recording area of the hard disk of the HDD device 7, but as shown in
Next, the virtual disk recording operation and the copying operation in a case where a plurality of virtual disk areas D1-Dn are not provided in the main data recording area of the hard disk of the HDD device 7, will be described.
As illustrated in
The data management information for the virtual disk area Di may be written to another storage device, such as an internal memory of the control section 4, or the memory 9, or the like, rather than being written to the management information recording area of the hard disk of the HDD device 7.
In the copying operation, as shown in
In the respective embodiments described above, the compressed data obtained by compressing digital video and audio signals is written to an optical disk, as information data, but it is not limited to being compressed data. It is also possible to write uncompressed digital video and audio signals. Furthermore, the information indicated by the data written to the optical disk is not limited to a video signal and/or audio signal. For example, it may also be data indicating other information such as a computer program.
Moreover, in the respective embodiments described above, an optical disk drive device is used as a removable type storage device, but it is also possible to use a magnetic disk, semiconductor memory, or the like, instead of an optical disk, as a recording medium.
Furthermore, since the same recording media do not necessarily have the same recording capacity, it is also possible to change the size of the virtual disk areas, in accordance with the capacity of the recording medium inserted into the removable storage device.
Moreover, in the aforementioned embodiment, an optical disk drive device was incorporated internally into a recording apparatus, as a removable type storage device, but it is also possible to use a device which is attached externally to the recording apparatus.
As described above, according to the present invention, it is possible to record data accumulated in an accumulating device, selectively, onto a recording medium of a removable type storage device, with good efficiency. Moreover, the present invention may also be applied to a recording apparatus, such as a hard disk recorder.
This application is based on a Japanese Application No. 2003-189393 which is hereby incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
2003-189393 | Jul 2003 | JP | national |