Information
-
Patent Application
-
20040252980
-
Publication Number
20040252980
-
Date Filed
June 01, 200420 years ago
-
Date Published
December 16, 200419 years ago
-
Inventors
-
Original Assignees
-
CPC
-
US Classifications
-
International Classifications
Abstract
This invention provides an information processing method and apparatus, which can set all extent sizes of data divisionally recorded on a disk to be equal to or larger than the minimum recording unit, and can guarantee continuous reproduction of the divisionally recorded data. Of data divisionally recorded on a recording medium (5), data which corresponds to an end portion of that data and cannot be recorded as a recording area equal to or larger than a minimum recording unit specified in the recording medium (5) due to the presence of a recording area (6) of another data, that has already been recorded on the recording medium (5), is re-recorded on a recording area equal to or larger than the minimum recording unit. At this time, new data is generated by combining data less than the minimum recording unit, and data recorded in another recording area, and the new data is re-recorded on a new recording area.
Description
FIELD OF THE INVENTION
[0001] The present invention relates to an information processing technique for recording and reproducing moving image data or the like on and from a disk-shaped recording medium.
BACKGROUND OF THE INVENTION
[0002] In recent years, camera integrated type recording/reproduction apparatuses (to be referred to as “video cameras” hereinafter) which adopt disk-shaped recording media (to be referred to as “disks” hereinafter) such as a DVD and the like as recording media for recording various data are commercially available. In such video camera, data input/output processes characterized by random access to recording media unlike in magnetic tapes are made.
[0003] For example, the video camera can record moving image data, still image data, or audio data associated with captured scenes as files at arbitrary locations of a disk. Also, the video camera can execute an easy, high-speed reproduction process of recorded data by directly accessing respective files in a reproduction mode (e.g., see Japanese Patent Laid-Open No. 2002-314916).
[0004] In general, when files of moving image data, audio data, and the like are to be recorded on a disk, these data are divided into a plurality of groups of continuously recorded data, and these groups of data are recorded on separated areas on the disk. An area on the disk where the group of data which forms a part of file and is recorded on a continuous area will be referred to as an “extent” hereinafter.
[0005] Upon reproducing moving image data and audio data which are divisionally recorded on a plurality of extents, a head used to reproduce data requires a certain period of time (seek time) when it moves between the extents. When the extent size is small, data to be reproduced cannot be supplied in time, and continuous reproduction is often disturbed. For this reason, in a DVD as one of disks adopted in the video camera, a minimum recording unit that satisfies a length required for a continuous reproduction process of moving image data and audio data is specified as a standard. In general, such minimum recording unit that guarantees continuous reproduction is called a CDA (Continuous Data Area).
[0006] However, when a continuous free area is discontinued upon recording moving image data on the disk, and an extent after seek has a size smaller than the minimum recording unit, continuous reproduction may be disturbed due to the presence of such extent upon making continuous reproduction with another moving image data.
SUMMARY OF THE INVENTION
[0007] The present invention has been proposed to solve the conventional problems, and has as its objects to provide an information processing method and information processing apparatus, which can set all extent sizes of data divisionally recorded on a disk to be equal to or larger than the minimum recording unit, and can guarantee continuous reproduction of the divisionally recorded data.
[0008] In order to achieve the above object, according to the present invention, there is provided an information processing method for recording data on a recording medium, comprising:
[0009] a re-recording step of re-recording predetermined data of the data, which is divisionally recorded on different recording areas, onto a new recording area which has a size not less than a minimum recording unit specified in the recording medium.
[0010] Furthermore, in order to achieve the above object, according to the present invention, there is provided the method, wherein the re-recording step includes a step of generating new data, which has a size not less than the minimum recording unit, by combining the predetermined data and data immediately before the predetermined data, which is recorded on another recording area, and re-recording the new data on the new recording area.
[0011] Furthermore, in order to achieve the above object, according to the present invention, there is provided an information processing apparatus for recording data on a recording medium, comprising:
[0012] re-recording means for re-recording predetermined data of the data, which is divisionally recorded on different recording areas, onto a new recording area which has a size not less than a minimum recording unit specified in the recording medium.
[0013] Furthermore, in order to achieve the above object, according to the present invention, there is provided the apparatus, wherein the re-recording means comprises means for generating new data, which has a size not less than the minimum recording unit, by combining the predetermined data and data immediately before the predetermined data, which is recorded on another recording area, and means for re-recording the new data on the new recording area.
[0014] Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0016]
FIG. 1 is a schematic diagram showing the arrangement of an information processing apparatus according to the first embodiment of the present invention;
[0017]
FIG. 2 is a view for explaining the relationship between the recorded data and reproduction time in a moving image sole reproduction mode by the information processing apparatus according to the first embodiment;
[0018]
FIG. 3 is a table showing an example of CDA calculations in the moving image sole reproduction mode;
[0019]
FIG. 4 is a view for explaining a sequence for recording moving image data on a disk using the information processing apparatus according to the first embodiment of the present invention;
[0020]
FIG. 5 is a flowchart for explaining a moving image data recording sequence on the disk by the information processing apparatus according to the first embodiment of the present invention;
[0021]
FIG. 6 is a view for explaining another sequence for recording moving image data on a disk using the information processing apparatus according to the first embodiment of the present invention;
[0022]
FIG. 7 is a flowchart for explaining another moving image data recording sequence on the disk by the information processing apparatus according to the first embodiment of the present invention;
[0023]
FIG. 8 is a view for explaining a sequence for recording moving image data using an information processing apparatus according to the second embodiment of the present invention;
[0024]
FIG. 9 is a flowchart for explaining a moving image data recording sequence on the disk by the information processing apparatus according to the second embodiment of the present invention;
[0025]
FIG. 10 is a view for explaining the relationship between the recorded data and reproduction time in a general after-recording reproduction mode by an information processing apparatus;
[0026]
FIG. 11 is a schematic diagram showing the arrangement of an information processing apparatus according to the third embodiment of the present invention;
[0027]
FIG. 12 is a view for explaining the relationship between the recorded data and reproduction time in a general after-recording reproduction mode by the information processing apparatus according to the third embodiment;
[0028]
FIG. 13 is a table showing an example of CDA calculations in a general after-recording reproduction mode; and
[0029]
FIG. 14 is a table showing an example of CDA calculations in the after-recording reproduction mode according to the third embodiment.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0030] Preferred embodiments of the present invention will be described hereinafter with reference to the accompanying drawings.
First Embodiment
[0031] [Arrangement of Information Processing Apparatus]
[0032]
FIG. 1 is a schematic diagram showing the arrangement of an information processing apparatus according to the first embodiment of the present invention. Referring to FIG. 1, reference numeral 1 denotes an application program, which instructs a file system driver 2 to execute recording, reproduction, edit, and the like of files on a disk 5. The file system driver 2 checks a free area and file recording location on the disk 5, and supplies a data read/write instruction of the disk 5 to a disk controller 3. At that time, the application program 1 can issue an instruction regardless of the location of data on the disk 5, and the file system driver 2 reads out data by searching for a free area on the disk 5 or a location of data on the disk 5.
[0033] The disk controller 3 actually writes data on the disk 5, and reads out recorded data from the disk 5. A recording/reproduction head 4 reads/writes data from/on the disk 5. Note that the disk controller 3 comprises a buffer RAM 8 used to temporarily store data upon read/write access to the disk 5.
[0034] Reference numeral 6 denotes actual data (existing write data) which has already been written on the disk 5; and 7, actual data (new write data) which is newly written on the disk 5. In this embodiment, a single file is divided into partial data which are recorded on different areas on the disk 5, and a plurality of recording areas are present. However, in practice, a single file is continuously recorded on a single recording area in some cases.
[0035] [CDA in Moving Image Sole Reproduction Mode]
[0036]
FIG. 2 is a view for explaining the relationship between the recorded data and reproduction time in a moving image sole reproduction mode by the information processing apparatus according to the first embodiment. In FIG. 2, the bold line indicates a time required for the recording/reproduction head 4 to move over an area (extent) on the disk 5 where data is recorded, and the broken line indicates a time (seek time) required for the recording/reproduction head 4 to seek. Also, in FIG. 2, the thin line indicates a time required to reproduce data read out by the recording/reproduction head 4.
[0037] As shown in FIG. 2, data is normally divided into a plurality of partial data, which are divisionally recorded on respective recording areas (called extents) on the disk 5. When data is continuously recorded on different extents, the seek time of the recording/reproduction head 4 is generated between these extents. For this reason, when the sum of the read time of data recorded in an arbitrary extent and the seek time to the next extent is smaller than the data reproduction time in that extent, continuous reproduction of data is disturbed. Hence, as described above, it is a common practice to record data on a free area which is equal to or larger than a minimum recording area (CDA) that allows continuous reproduction of data without disconnection.
[0038] The method of calculating the CDA in the moving image sole reproduction mode will be described below using FIG. 2. The bold line portion in FIG. 2 indicates the time required to read data included in one extent, and moving image data for a reproduction time Tv (sec) is included. The moving image data for the reproduction time Tv has a size of Sv×Tv (bits) (Sv (bps) is the moving image reproduction rate). Since the extent often includes a defective block, the extent size is Sv×Tv+Dv (bits) (Dv (bits) is the defective block size).
[0039] That is, when the transfer rate upon reading out data from the disk is St (bps), the time required to read data in the extent from the disk is given by (Sv×Tv+Dv)/St (sec). If a time required until the recording/reproduction head 4 reaches the next extent is Tj (sec), the data read process and head seek process must be completed within the reproduction time Tv (sec) of the moving image data included in one extent. That is, the following inequality need only be satisfied:
1
[0040] From the above inequality, we have:
2
[0041] Hence, the CDA is defined by:
3
[0042] where Tv is the minimum recording time (sec) of a moving image that guarantees continuous reproduction, and Lv is the minimum recording size (bits) of a moving image that guarantees continuous reproduction. In the above description, “sec” and “bits” are used as units of time and size, but other units may be used.
[0043]
FIG. 3 shows an example of CDA calculations in the moving image sole reproduction mode. If the seek time Tj is 1.0 (sec), the transfer rate St is 24M (bps), the moving image reproduction rate Sv is 12M (bps), and the defective block size Dv is 0 bit, we have:
Tv≧2.0 sec
Lv≧3.0 MB (4)
[0044] If no defective block is present, data can be recorded to have a minimum extent size of 3.0M (B). Upon calculation while changing the condition, if the moving image reproduction rate Sv is 6M (bps), we have:
Tv≧1.33 sec
Lv≧21.0 MB (5)
[0045] As can be seen from these inequalities, when the moving image reproduction rate becomes ½, the minimum recording time becomes about ⅔, and the minimum recording size becomes about ⅓. Note that this change amount depends on the transfer rate St and moving image reproduction rate Sv. Furthermore, when the defective block size Dv is 30K (B), i.e., the defective block ratio is about 10% of the minimum recording size, we have:
Tv≧2 2.2 sec
Lv≧3.6 MB (6)
[0046] As can be seen from these inequalities, when the defective block ratio increases 10%, the minimum recording time increases about 10%, and the minimum recording size increases about 20%.
[0047] [Actual Data Recording Size]
[0048] In an actual apparatus, the maximum seek time Tj and transfer rate St are constant. Hence, upon actually recording data, the CDA size is determined based on the reproduction rates of moving image data and audio data, and the defective block size. Normally, the CDA size is determined in advance in consideration of the worst case irrespective of the reproduction rate and defective block size. Note that the audio reproduction rate is normally constant, and a change in audio reproduction rate is sufficiently smaller than that in moving image reproduction rate even if it takes place. Hence, the influence of the change in audio reproduction rate on a change in CDA can be ignored.
Embodiment
[0049]
FIG. 4 is a view for explaining a sequence for recording moving image data on a disk using the information processing apparatus according to the first embodiment of the present invention. FIG. 5 is a flowchart for explaining a moving image data recording sequence by the information processing apparatus according to the first embodiment.
[0050] Data is written in an extent 11 on the disk 5 via the buffer RAM 8 (step S51). When data is continuously written in the extent 11 (a portion denoted by reference numeral 12) via the buffer RAM 8, since the file system driver 2 reaches an extent 16 including existing write data (YES in step S52), it seeks another extent 13 on the disk 5, and writes the remaining data on that extent (step S53). Assume that the remaining data written in the extent 13 comes to an end to be shorter than the minimum recording time. As described above, the presence of an extent smaller than the minimum recording unit disturbs continuous reproduction of the data.
[0051] If the application program 1 acquires information indicating that the write access is completed to be smaller than the minimum recording unit after seek from the file system driver 2 after data is recorded on the disk 5 (YES in step S54), it generates data for at least the minimum recording unit by combining data of the extent 13 after seek and the data 12 of the extent 11 before seek, and copies that data to another area on the disk 5 (step S55). Then, the copy source areas (extents 12 and 13) are released to be able to be used in the next write access (step S56).
[0052] In the description of this embodiment, the areas of the disk 5 before and after seek are read again and copied. However, in practice, data immediately after the write access normally remains stored in the buffer RAM 8 in the disk controller 3. In this case, when the corresponding contents of the buffer RAM 8 are written in the disk 5 again, data need not be sought and read out again. Each extent that records partial data other than the last part is normally recorded to have a size equal to or larger than the minimum recording unit. Even when extents other than the final part include an extent having a size smaller than the minimum recording unit, it can be processed by the same sequence as described above, so that all extends can have a size equal to or larger than the minimum recording unit.
APPLICATION EXAMPLE
[0053]
FIG. 6 is a view for explaining another sequence for recording moving image data on the disk using the information processing apparatus according to the first embodiment of the present invention. FIG. 7 is a flowchart for explaining another moving image data recording sequence by the information processing apparatus according to the first embodiment.
[0054] Data is written in an extent 21 on the disk 5 via the buffer RAM 8 (step S71). When data is continuously written in the extent 21 (a portion denoted by reference numeral 22) via the buffer RAM 8, since the file system driver 2 reaches an extent 26 including existing write data (YES in step S72), it seeks another extent 13 on the disk 5, and writes the remaining data on that extent (step S73). Assume that the remaining data written in the extent 13 comes to an end to be shorter than the minimum recording time.
[0055] If the application program 1 acquires information indicating that the write access is completed to be smaller than the minimum recording unit after seek from the file system driver 2 after data is recorded on the disk 5 (YES in step S74), it generates data (data including data 24 and 25) by combining data of the extent 23 after seek and the data 22 (for at least the minimum recording unit) of the extent 21 before seek, and copies that data to another area on the disk 5 (step S75). Then, the copy source areas (extents 22 and 23) are released to be able to be used in the next write access (step S76).
[0056] As described above, according to this embodiment, when moving image data or the like to be recorded on the disk 5 is recorded in an extent smaller than the minimum recording unit, temporarily recorded data is copied, so that all extends have a size equal to or larger than the minimum recording unit, thus guaranteeing continuous reproduction of data recorded on the disk 5. By deleting source data after copy, another data can be recorded on the released area. Furthermore, as described in the application example, since an area to be released after copy has a size equal to or larger than the minimum recording unit, another data can be recorded in the released area to have a size equal to or larger than the minimum recording unit, thus further improving the disk use efficiency.
Second Embodiment
[0057] The first embodiment solves the following problem: when the continuous free area is disconnected upon recording moving image data on the disk, and the write process ends before the recorded size after seek reaches the minimum recording unit, continuous reproduction is disturbed upon making continuous reproduction with another moving image data. The second embodiment will explain an information processing method and information processing apparatus, which solves the following problem: when the write process ends before the size of a continuous free area immediately after completion of moving image recording on the disk reaches the minimum recording unit, that area cannot be used as an area for recording another moving image data.
[0058] Note that the arrangement of the information processing apparatus, CDA in the moving image sole reproduction mode, and actual data recording size used in the second embodiment are the same as those of the information processing apparatus according to the first embodiment, and a detailed description thereof will be omitted.
Embodiment
[0059]
FIG. 8 is a view for explaining a sequence for recording moving image data using the information processing apparatus according to the second embodiment of the present invention. FIG. 9 is a flowchart for explaining a moving image data recording sequence on the disk by the information processing apparatus according to the second embodiment of the present invention.
[0060] Data is written in an extent 31 on the disk 5 via the buffer RAM 8 (step S91). Data is continuously written in the extent 31 (a portion of data 32) via the buffer RAM 8, and it is checked if the write process is complete (step S92). The file system driver 2 checks if a portion Tr to an extent 34 as the next recording area of existing write area has a size smaller than the minimum recording unit (step S93). As a result, if Tr is smaller than the minimum recording unit (YES in step S93), the data 32 for at least the minimum recording time is copied from the end of data to another area (extent 33) (step S94). The data 32 as the copy source is released to be able to be used in the next write process (step S95). In this manner, the released free area can have a size equal to or larger than the minimum recording unit, and data recorded on this free area can be appropriately reproduced, thus preventing a wasteful area from being formed on the disk.
[0061] In the description of this embodiment, image data for the minimum recording time is read again and copied. However, in practice, the disk controller 3 comprises the buffer RAM 8, and data immediately after the write access normally remains stored in the buffer RAM 8. In this case, when the corresponding contents of the buffer RAM 8 are written again, data need not be sought and read out again.
[0062] As described above, according to this embodiment, when a continuous free area which follows an extent that records moving image data or the like to be recorded on-the disk has a size smaller than the minimum recording unit, data is automatically copied, so that the continuous free area of interest has a size equal to or larger than the minimum recording unit. Hence, even when another data is recorded in that free area, continuous reproduction of moving image data can be guaranteed.
Third Embodiment
[0063] This embodiment will explain an information processing method and information processing apparatus, which can reduce the number of times of seek in an after-recording reproduction mode.
[0064] [CDA in General After-Recording Reproduction Model]
[0065] The CDA in a general after-recording reproduction mode will be explained first. After recording is practiced by simultaneously reading files of moving image data and audio data which are recorded as independent files on a disk, and replacing audio data included in the moving image data by the after-recording audio data. The same applies to a case wherein an audio channel included in moving image data is mixed with that of another file upon output, in addition to after recording.
[0066]
FIG. 10 is a view for explaining the relationship between the recorded data and reproduction time in a after-recording reproduction mode by a general information processing apparatus. Referring to FIG. 10, the bold line indicates a time required to move the recording/reproduction head to an area (extent) where data is recorded, and the broken line indicates a seek time required for the recording/reproduction head. As shown in FIG. 9, moving image data and audio data are divided into extends, which are divisionally recorded on a disk.
[0067] When continuous reproduction is made from different extents, the seek time of the head is generated between the extents (seek time 3). In case of after recording, a seek time is generated to read out audio data during the read process of the moving image data (seek times 1 and 2). For this reason, when the sum of the read times of data recorded in the extents of moving image data and audio data and the seek time to the next data is longer than the data reproduction time in the extents, continuous reproduction of after recording data is disturbed. Hence, the CDA (minimum recording area) must be specified even in the after-recording mode.
[0068] The method of calculating the CDA in the after-recording reproduction mode will be described below using FIG. 10. As described above, the bold line portion in FIG. 10 indicates the read times of moving image data and audio data included in one each extents, and moving image data for a reproduction time Tv (sec) and audio data for a reproduction time Ta (sec) are included. As in the moving image sole reproduction mode, let Sv (bps) be the moving image reproduction rate, Sa (bps) be the audio reproduction rate, Dv (bits) be the defective block size in a moving image extent, Da (bits) be the defective block size in an audio extent, and St (bps) be the transfer rate from the disk. Then, the read time of data in the moving image extent from the disk is given by (Sv×Tv+Dv)/St (sec), and that of data in the audio extent from the disk is given by (Sa×Ta+Da)/St (sec). Let Tj (sec) be the time (seek time) required for the head to move between extents. Then, in order to continuously make after-recording reproduction without any disconnection, the data read process and head seek process must be completed within the reproduction times Tv and Ta (sec) of the moving image data and audio data included in one each extents. Consequently, the following inequalities need only be satisfied:
4
[0069] From the above inequalities, we have:
5
[0070] (minimum values of Tv and Ta are equal to each other), and the CDA is defined by:
6
[0071] where Tv and Ta are the minimum recording times (sec) of moving image data and audio data that guarantee continuous reproduction, respectively. Also, Lv and La are the minimum recording sizes (bits) of moving image data and audio data that guarantee continuous reproduction, respectively. As can be seen from the above inequalities, the minimum values of Tv and Ta are equal to each other. In this embodiment as well, “sec” and “bits” are used as units of time and size, but the present invention is not limited to such specific units.
[0072] However, with the CDA in the general after-recording reproduction mode, the minimum recording unit is defined under the assumption that the number of streams is one, and when the minimum recording unit is changed later to make reproduction while switching a plurality of image and audio streams by the after-recording process or the like, the number of times of seek increases, and the effective data size included in the initial minimum recording unit decreases, thus disturbing continuous reproduction. When the minimum recording unit is defined in advance under the assumption of reproduction which is made while switching a plurality of streams, a large recording unit more than necessary is required.
[0073] Furthermore, as described above, the moving image minimum recording time Tv, audio minimum recording time Ta, moving image minimum recording size Lv, and audio minimum recording size La upon making after-recording reproduction using moving image data and audio data are influenced by three seek times Tj. Hence, the third embodiment will explain an information processing apparatus which comprises a mechanism for reducing the number of times of seek.
[0074] [Arrangement of Information Processing Apparatus]
[0075]
FIG. 11 is a schematic diagram showing the arrangement of an information recording/reproduction apparatus according to the third embodiment of the present invention. Referring to FIG. 11, reference numeral 111 denotes an application program, which instructs a file system driver 112 to execute recording, reproduction, edit, and the like of files on a disk 115. The file system driver 112 checks a free area and file recording location on the disk 115, and supplies a data read/write instruction of the disk 115 to a disk controller 113. At that time, the application program 111 can issue an instruction regardless of the location of data on the disk 115, and the file system driver 112 records data by searching for a free area on the disk 115 or reads out data by searching for a location of data on the disk.
[0076] The disk controller 113 actually writes data on the disk 115, and reads out recorded data from the disk. Note that the disk controller 113 comprises a buffer RAM used to temporarily store data upon read/write access to the disk 115.
[0077] Reference numeral 116 denotes data recording areas of actual moving image data, audio data, and the like which have already been written on the disk 115. A recording/reproduction head 114 is used to read/write data from/on the disk 115. In this embodiment, one file may be recorded on a continuous area or may include a plurality of data divisionally recorded on different areas.
[0078] In FIG. 11, when the application program 111 sends a reproduction start instruction to the file system driver 112, the file system driver 112 issues a reproduction instruction to the disk controller 113. At this time, the file system driver 112 detects if a discontinuous portion which requires seek is present within an area twice the moving image minimum recording size. Normally, as in the general CDA shown in FIG. 10, after data for the moving image minimum recording size Lv is read out, the seek process is made to read out data for the audio minimum recording size La. However, in this embodiment, after moving image data is read out up to such discontinuous portion, audio data is read out, and the seek process is directly made to moving image data after the discontinuous portion of the moving image data.
[0079] [CDA in After-Recording Reproduction Mode]
[0080]
FIG. 12 is a view for explaining the relationship between the recorded data and reproduction time in a general after-recording reproduction mode by the information processing apparatus according to the third embodiment. The bold line portion in FIG. 12 indicates the read times of moving image data and audio data included in one each extents, and moving image data for a reproduction time Tv (sec) and audio data for a reproduction time Ta (sec) are included. Let Sv (bps) be the moving image reproduction rate, Sa (bps) be the audio reproduction rate, Dv (bits) be the defective block size in a moving image extent, Da (bits) be the defective block size in an audio extent, and St (bps) be the transfer rate from the disk. Then, the read time of data in the moving image extent from the disk is given by (Sv×Tv+Dv)/St (sec), and that of data in the audio extent from the disk is given by (Sa×Ta+Da)/St (sec).
[0081] Let Tj (sec) be the time (seek time) required for the head to move between extents. Then, in order to continuously make after-recording reproduction without any disruption, the data read process and head seek process must be completed twice within the reproduction times Tv and Ta (sec) of the moving image data and audio data included in one each extents. That is, the following inequalities need only be satisfied:
7
[0082] From the above inequalities, we have:
8
[0083] (minimum values of Tv and Ta are equal to each other), and the CDA is defined by:
9
[0084] where Tv and Ta are the minimum recording times (sec) of moving image data and audio data that guarantee continuous reproduction, respectively. Also, Lv and La are the minimum recording sizes (bits) of moving image data and audio data that guarantee continuous reproduction, respectively. As can be seen from the above inequalities, the minimum values of Tv and Ta are equal to each other. As is understood from comparison between inequalities (9) associated with the general CDA, and inequalities (12) associated with the CDA in this embodiment, since the number of times of seek is reduced from 3 to 2, the influence of the seek time is reduced by ⅔ times. In this embodiment as well, “sec” and “bits” are used as units of time and size, but the present invention is not limited to such specific units.
[0085] [Actual Data Recording Size]
[0086] In an actual apparatus, the maximum seek time Tj and transfer rate St are constant. Hence, upon actually recording data, the CDA size is determined based on the reproduction rates of moving image data and audio data, and the defective block size.
[0087]
FIG. 13 shows an example of CDA calculations in a general after-recording reproduction mode. FIG. 14 shows an example of CDA calculations in the after-recording reproduction mode according to this embodiment. As can be seen from FIGS. 13 and 14, the CDA calculation example in the after-recording reproduction mode according to this embodiment assumes values smaller than those in the CDA calculation example in the general after-recording reproduction mode. Note that the audio reproduction rate is normally constant, and a change in audio reproduction rate is sufficiently smaller than that in moving image reproduction rate even if it takes place. Hence, the influence of the change in audio reproduction rate on a change in CDA can be ignored.
[0088] As described above, according to this embodiment, upon reading streams of moving image data and audio data recorded on the disk, when a stream discontinuous point that requires seek is present until data having a size smaller than that twice the minimum recording unit is present, the data size to be read onto the buffer RAM is increased to a size smaller than that twice the minimum recording unit in maximum. In a discontinuous portion, another stream is sought to read it out, and the original stream is then sought. Hence, an increase in minimum recording unit can be suppressed upon supporting the after-recording reproduction mode.
Other Embodiments
[0089] Note that the present invention can be applied to an apparatus comprising a single device or to system constituted by a plurality of devices.
[0090] Furthermore, the invention can be implemented by supplying a software program, which implements the functions of the foregoing embodiments, directly or indirectly to a system or apparatus, reading the supplied program code with a computer of the system or apparatus, and then executing the program code. In this case, so long as the system or apparatus has the functions of the program, the mode of implementation need not rely upon a program.
[0091] Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the claims of the present invention also cover a computer program for the purpose of implementing the functions of the present invention.
[0092] In this case, so long as the system or apparatus has the functions of the program, the program may be executed in any form, such as an object code, a program executed by an interpreter, or scrip data supplied to an operating system.
[0093] Example of storage media that can be used for supplying the program are a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a CD-RW, a magnetic tape, a non-volatile type memory card, a ROM, and a DVD (DVD-ROM and a DVD-R).
[0094] As for the method of supplying the program, a client computer can be connected to a website on the Internet using a browser of the client computer, and the computer program of the present invention or an automatically-installable compressed file of the program can be downloaded to a recording medium such as a hard disk. Further, the program of the present invention can be supplied by dividing the program code constituting the program into a plurality of files and downloading the files from different websites. In other words, a WWW (World Wide Web) server that downloads, to multiple users, the program files that implement the functions of the present invention by computer is also covered by the claims of the present invention.
[0095] It is also possible to encrypt and store the program of the present invention on a storage medium such as a CD-ROM, distribute the storage medium to users, allow users who meet certain requirements to download decryption key information from a website via the Internet, and allow these users to decrypt the encrypted program by using the key information, whereby the program is installed in the user computer.
[0096] Besides the cases where the aforementioned functions according to the embodiments are implemented by executing the read program by computer, an operating system or the like running on the computer may perform all or a part of the actual processing so that the functions of the foregoing embodiments can be implemented by this processing.
[0097] Furthermore, after the program read from the storage medium is written to a function expansion board inserted into the computer or to a memory provided in a function expansion unit connected to the computer, a CPU or the like mounted on the function expansion board or function expansion unit performs all or a part of the actual processing so that the functions of the foregoing embodiments can be implemented by this processing.
[0098] As described above, according to the present invention, all extent sizes of data to be divisionally recorded on the disk can be set to be equal to or larger than the minimum recording size, and continuous reproduction of divisionally recorded data can be guaranteed.
[0099] The present invention is not limited to the above embodiments and various changes and modification can be made within the spirit and scope of the present inventions. Therefore, to apprise the public of the scope of the present invention, the following claims are made.
Claims
- 1. An information processing method for recording data on a recording medium, comprising:
a re-recording step of re-recording predetermined data of the data, which is divisionally recorded on different recording areas, onto a new recording area which has a size not less than a minimum recording unit specified in the recording medium.
- 2. The method according to claim 1, wherein the re-recording step includes a step of generating new data, which has a size not less than the minimum recording unit, by combining the predetermined data and data immediately before the predetermined data, which is recorded on another recording area, and re-recording the new data on the new recording area.
- 3. The method according to claim 2, wherein the data immediately before the predetermined data has a size not less than the minimum recording unit.
- 4. The method according to claim 1, wherein the predetermined data corresponds to an end portion of the data to be divisionally recorded on the recording medium, and is data which cannot be recorded as a recording area having a size not less than the minimum recording unit due to the presence of a recording area of another data which has already been recorded on the recording medium.
- 5. The method according to claim 1, further comprising a release step of erasing data recorded on a source recording area associated with the data, which is re-recorded on the new recording area from the recording medium, and releasing the source recording area.
- 6. The method according to claim 1, wherein the minimum recording unit is defined by at least one of a minimum recording time Tv and minimum recording size Lv in a data reproduction mode, and
the minimum recording time Tv and minimum recording size Lv are given by: Tv=(Tj−Dv/St)/(1−Sv/St) Lv=Sv×Tv+Dv where Tj is a head seek time, St is a transfer rate upon reading out data from a disk, Sv is a moving image reproduction rate, and Dv is a defective block size included in the minimum recording unit.
- 7. The method according to claim 1, wherein the predetermined data is data, a recording process of which is continued by seeking another recording area due to the presence of a recording area where another data has already been recorded, upon recording the data on the recording medium, and when the data recorded after seek has a size less than the minimum recording unit, that data and data recorded before seek are combined to generate data having at least a size not less than the minimum recording unit.
- 8. An information processing method for recording data on a recording medium, comprising:
a recording step of recording first data on a first recording area; and a re-recording step of re-recording data, which have at least a size not less than a minimum recording unit specified in the recording medium, in a last portion of the first data onto a new recording area when a size of a free area from an end portion of the first recording area to a second recording area has been recorded second data is less than the minimum recording unit.
- 9. The method according to claim 8, further comprising a release step of erasing, after the data is re-recorded on the new recording area, a source data in the last portion of the first data, and generating a free area having a size not less than the minimum recording unit before the second recording area.
- 10. The method according to claim 9, wherein the predetermined area is recorded on the free area having the size not less than the minimum recording unit.
- 11. The method according to claim 1, wherein the predetermined data include moving image data and audio data.
- 12. An information processing method by reading out and reproducing a plurality of data which are divisionally recorded on a recording medium, comprising:
a control step of controlling a reproduction order of the plurality of data on the basis of a minimum recording unit specified in the recording medium.
- 13. The method according to claim 12, wherein the control step comprises:
a first step of reading out first data from a first recording area; a second step of seeing from the first recording area to a second recording where second data is recorded under the condition that a discontinuous portion of the first data is less than a predetermined multiple of the minimum recording unit specified in the recording medium; a third step of reading out the second data from the second recording area; and a fourth step of seeking from the second recording area to a recording area where data next to the first data is recorded after the second data is read out.
- 14. The method according to claim 13, wherein the plurality of data include moving image data and audio data, and when after-recording reproduction using the moving image data and audio data is to be executed, and a discontinuous portion is found in an area less than the predetermined multiple of the minimum recording unit upon reading out a stream, no seek is made in the discontinuous portion of the stream, and another stream is sought and read out.
- 15. The method according to claim 12, wherein the discontinuous portion has a size not less than twice the minimum recording unit.
- 16. The method according to claim 12, wherein the minimum recording unit is defined by a moving image minimum recording time Tv, audio minimum recording time Ta, moving image minimum recording size Lv, and audio minimum recording size La in an after-recording reproduction mode using a moving image file and audio file,
the moving image minimum recording time Tv, audio minimum recording time Ta, moving image minimum recording size Lv, and audio minimum recording size La are respectively given by: Tv=(2×Tj+Dv/St+Da/St)/(1−Sv/St−Sa/St) Ta=(2×Tj+Da/St+Dv/St)/(1−Sv/St−Sa/St) Lv=Sv×Tv+Dv La=Sa×Ta+Da where Tj is a head seek time, St is a transfer rate upon reading out data from a disk, Sv is a moving image reproduction rate, Sa is an audio reproduction rate, Dv is a defective block size included in a moving image minimum recording unit, and Da is a defective block size included in an audio minimum recording unit.
- 17. The method according to claim 1, wherein the recording medium is a data rewritable optical disk.
- 18. An information processing apparatus for recording data on a recording medium, comprising:
re-recording means for re-recording predetermined data of the data, which is divisionally recorded on different recording areas, onto a new recording area which has a size not less than a minimum recording unit specified in the recording medium.
- 19. The apparatus according to claim 18, wherein said re-recording means comprises means for generating new data, which has a size not less than the minimum recording unit, by combining the predetermined data and data immediately before the predetermined data, which is recorded on another recording area, and means for re-recording the new data on the new recording area.
- 20. A program for making a computer, which divisionally records data on a recording medium, execute:
a re-recording sequence for re-recording predetermined data of the divisionally recorded data onto a recording area which has a size not less than a minimum recording unit specified in the recording medium.
- 21. The program according to claim 20, wherein the re-recording sequence generates new data, which has a size not less than the minimum recording unit, by combining the data having the size not less than the minimum recording unit and data immediately before the predetermined data, which is recorded on another recording area, and re-records the new data on the new recording area.
- 22. A computer readable recording medium storing a program of claim 20.
Priority Claims (1)
Number |
Date |
Country |
Kind |
2003-165031 |
Jun 2003 |
JP |
|