The present invention relates to an apparatus and a method for recording digital data.
The MiniDisc™ for use in recording and reproducing digital audio data organizes the digital data in cluster units, and the cluster is the minimum unit of writing to the disc.
For such a system, there has been proposed a system for recording digital data in such a way that digital data during a unit length of about 10 to 20 seconds is recorded in continuous recording area on the disc.
In this case, the data DR is a signal read at a fixed speed in such a way that the MPEG data DM is separated by unit period TUNIT, and the data in unit period TUNIT is compressed in time base every period TREC. The unit period TUNIT is anywhere between 10 to 20 seconds. Although the length of the unit period TUNIT may be changed in one recording, the unit period TUNIT is generally fixed during at least one recording to avoid the complication of the system and control.
The period TREC is a period during which read data #n is recorded on the disc, the length of which is not fixed, to be described later. The period between one period TREC and the subsequent period TREC is the seeking period of a recording head or the pause period of the recording. The data DM for each period TUNIT or the data DR for each period TREC are expressed as data #n (n=1, 2, 3 −).
The data DR read from the buffer memory is subjected to modulation for recording, and the modulated data DR is recorded on the disc in order of data #1, #2, # 3 and so on.
Since the MPEG data DM has a variable bit rate and the unit period TUNIT is fixed in length, the amount (size) of data #n contained in the unit period TUNIT depends on the content of the video and audio during the unit period TUNIT. When the MPEG data DM is read as data DR every period TREC and recorded on the disc, the period TREC varies depending no the content of the data DR during the period TREC since the data DR is read from the buffer memory at a fixed bit rate. The recording area for one period TREC depends on the content of data #n during the period TREC.
Referring to
When the data amount DBUF reaches the upper limit DLIM of the buffer memory at time t1, the data DM in the buffer memory is read as data #1 of the data DR from time t1. Therefore the data amount DBUF gradually decreases from time t1. In practice, the writing of the data DM is continued even after time t1.
When data #1 for one unit period TUNIT is read at time t2, the reading is temporarily stopped, therefore the data amount DBUF gradually increases again from time t2.
The period from time t1 to t2 is also a recording period TREC, and the data #1 read from the buffer memory during the period from t1 to t2 is recorded in a continuous area on the disc, as shown in
When the reading of data #1 from the buffer memory is finished at time t2, an area necessary for recording subsequent data #2 into the buffer memory is calculated from the amount of data #2, and the recording head seeks a recordable area that satisfies the calculated area during the period of time t2 to t3.
When seek operation by the recording head is completed at time t3, data #2 in the buffer memory is read from time t3 and recorded on the disc, as at time t1. The data amount DBUF is therefore gradually decreased from time t3.
The process similar to that during time t1 through t3 is repeated for the period of time t3 through t5, wherein data #2 is recorded on the disc. The process is repeated also for the period of time t6 to t7, wherein data #3 is recorded on the disc.
At time t7, the reading and recording of data #4 onto the disc are started. In the case of
When the data amount DBUF reaches the upper limit DLIM of the buffer memory at time t9, the remaining #4B of data #4 is read from the buffer memory and is recorded in the subsequent area of the disc in which the front part #4A is recorded during the period of time t7 to t8. Accordingly, although the reading of data #4 is divided temporally, as shown in
When the reading and recording of the remaining data #4B of data #4 on the disc are completed at time t10, the process from time t2 on is repeated thereafter. Accordingly, data DR, or MPEG data DM is recorded on the disc as one continuous area every unit period TUNIT.
That is the reading and recording of data DR for the buffer memory and writing to the disc. Thus, the foregoing system performs recording by the unit period TUNIT of about 10 to 20 seconds in such a way that MPEG data in the unit period TUNIT continues on the disc.
The system allows the period TREC for recording data in the disc to be intermittent, so that the drive of the disc can be stopped during the period from t0 to t1 and t8 to t9. This reduces average power consumption necessary for driving the disc, thus shooting and recording times of recording devices that use battery cells as power source, such as a camcorder, increase.
Moreover, in this system, since the unit period TUNIT is fixed in length and the area on the disc for one unit period TUNIT is continuous, the seek operation by a reproduction head can be reliably performed during reproduction (and recording). This allows video signals or audio signals to be continuously obtained even at the bound between the unit periods TUNIT, allowing seamless video or sound reproduction even at the bound.
An example of the related arts is Japanese Unexamined Patent Application Publication No. 5-54518.
For example, at time t1, the MPEG data DM of one unit period TUNIT or more is stored in the buffer memory. Accordingly, it is desirable to find the amount of data #1 and calculate an area necessary for recording data #1, and then to make the recording head seek operation to a recordable area that satisfies the calculated area. This also applies to time t4, t6, and t10.
However, for time t6, since data #4 in the buffer memory is less than that for one unit period TUNIT, the total amount of data #4 cannot be known. Therefore, the process shown in
In the case of
Accordingly, as shown in
As a result, when the state in which the data amount DBUF of the buffer memory is less than that for one unit period TUNIT, as at time t6, is repeated, an area unavailable for recording increases, thus decreasing an actually available area on the disc. Moreover, since the MPEG data DR is written excessively dividedly, the number of times of seek operation during recording is increased. As a result, the number of times of seek operation during reproduction increases.
Furthermore, even if the recordable area ABLK_A can be used in another recording, useless seek operation occurs during the recording, resulting in an increase in power consumption, and inevitably causing useless seek operation also during reproduction, resulting in an increase in power consumption during reproduction.
Accordingly, in the case of
However, with this method, the data amount DBUF of the buffer memory at time t6 sometimes becomes substantially equal to the maximum data amount for one unit period TUNIT. Accordingly, when the MPEG data has a high data rate, the data amount DBUF varies in the range from nearly the maximum data amount for one unit period TUNIT to the upper limit DLIM, so that the apparent capacity of the buffer memory becomes low.
The present invention is made to solve the above-described problems.
The invention provides a digital-data recording apparatus, comprising:
a buffer memory into which variable-bit-rate digital data is written and from which the written digital data is intermittently read;
a recording head for recording the digital data read from the buffer memory on a disc; and
a control circuit for controlling the position at which the digital data read from the buffer memory is recorded on the disc, wherein
when the amount of the digital data in the buffer memory is larger than that for one unit period,
the control circuit
reads the digital data in the buffer memory every unit period;
makes the recording head seek a recordable area in which the read digital data can be recorded as a continuous area; and
records the read digital data onto the recordable area as a continuous area of the unit periods, and
when the amount of the digital data in the buffer memory is less than that for one unit period,
the control circuit
estimates the amount of the digital data in one unit period including the digital data less than that for the unit period from the time corresponding to the amount of the digital data less than that for the unit period and the length of the unit period;
makes the recording head seek a recordable area in which the estimated amount of digital data can be continuously recorded;
records the digital data of an amount less than that for the unit period onto the sought recordable area; and
records the remaining digital data for the unit period including the digital data less than that for the unit period, following the recorded part.
The invention provides a method for recording digital data, wherein
in the case where variable-bit-rate digital data is written into a buffer memory and the written digital data is intermittently read at a constant speed, and
the digital data read from the buffer memory is supplied to the recording head and recorded on a disc,
when the amount of the digital data in the buffer memory is larger than that for one unit period,
the method comprises:
reading the digital data in the buffer memory every unit period;
making the recording head seek a recordable area on which the read digital data can be recorded as a continuous area; and
recording the read digital data on the sought recordable area as a continuous area of the unit periods; and
when the amount of the digital data in the buffer memory is less than that for one unit period,
the method comprises:
estimating the amount DPRE of the digital data in one unit period including the digital data less than that for the unit period by the equation
DPRE=DBUF+(TUNIT−TBUF)×BMAX
where, DPRE: estimated data amount
DBUF: the amount of data left in the buffer memory
TUNIT: the length of one unit period
TBUF: playback time for the data left in the buffer memory
BMAX: the maximum bit rate of digital data,
making the recording head seek a recordable area on which the estimated amount DPRE of digital data can be continuously recorded;
recording the digital data of an amount less than that for the unit period on the sought recordable area; and
recording the remaining digital data for the unit period including the digital data less than that for the unit period, following the recorded part.
When the amount of digital data in the buffer memory is less than that for unit period, such as data #4, the amount of data for the unit period is estimated in consideration of the time corresponding to the amount of data, and the recording head is made seek a necessary recordable area according to the estimation. This allows making a good use of the disc.
Since the arrangement of the invention makes a efficient use of the recordable area, the number of times of seek operation is decreased, resulting in a decrease in the number of times of seek operation during reproduction, thus increasing the recording time and the reproduction time for devices using battery cells as power source. Furthermore, this arrangement allows the whole capacity of the buffer memory to be used effectively.
The MPEG data DM is written to a buffer memory 14 in sequence, as also shown in
To achieve the foregoing process, a drive controller 17 and a system controller 18 composed of a microcomputer are provided. The system controller 18 controls the recording position of the recording head 16 for the disc 19 through the used of the drive controller 17. In this example, the system controller 18 also has a function of memory controller, so that it controls the writing of the data DM and the reading of the data DR for the buffer memory 14.
The system controller 18 also controls the multiplexer 13 and the modulation circuit 15 for the data DM and DR. The system controller 18 grasps and manages the recordable area and the unavailable area of the disc 19. When the control information changes, it is recorded on the disc 19.
Thus the digital video signal and the digital audio signal are recorded on the disc 19.
The system controller 18 has, for example, a recording routine 100, as shown in
More specifically, at the completion of the previous recording period TREC, as time t2, t4, t6, and t10, the process of the microcomputer of the system controller 18 is started from step S101 of the routine 100. In step S102, it is determined whether the data amount DBUF of the buffer memory 14 is equal to or more than that for one unit period TUNIT.
When the data amount DBUF of the buffer memory 14 is equal to or more than that for one unit period TUNIT, as time t2 and t4 the process proceeds from step S102 to step S103, where the amount of data #n for the first unit period TUNIT in the data DM of the buffer memory 14 is calculated.
Subsequently, in step S104, a recordable area in which the data #n of the amount calculated in step S103 is sought on the basis of the management information on the disc 19 which is controlled by the system controller 18. In step S105, the recording head 16 is moved to the recordable area sought in step S104.
In step S106, the data #n calculated in step S103 is recorded in a continuous area on the recordable area sought in step S105, and then the routine 100 is finished in step S107. The finish time is time t2, t4 and so on.
Data #1, #2, #3 are thus recorded on the disc 19 to form a continuous area.
On the other hand, when the data amount DBUF of the buffer memory 14 is less than that for one unit period TUNIT, as at time t6, the process proceeds from step S102 to step S111, where the amount DBUF of the data DM left in the buffer memory 14 is calculated.
Next, in step S112, for the case of
DPRE=DBUF+(TUNIT−TBUF)×BMAX (1)
where, DPRE: estimated data amount
DBUF: the amount of data left in the buffer memory 14
TUNIT: the length of one unit period (anywhere between 10 to 20 seconds)
TBUF: reproduction time for data left in the buffer memory 14
BMAX: the maximum bit rate of digital data DM.
In this case, the data amount DBUF can be calculated from the difference between the writing address and the reading address for the buffer memory 14. The reproduction time TBUF can be obtained from the data stream stored in the buffer memory 14; for example, it can be obtained by detecting the header of the picture in the stream and counting the number of the frames. The one unit period TUNIT and the maximum bit rate BMAX are given to the system controller 18 in advance.
The process proceeds from step S112 to step S104, where a recordable area on which the data of the amount DBUF estimated in step S112 can be continuously recorded is sought. In step S105, the recording head 16 is moved to the recordable area sought in step S104.
Subsequently, in step S106, the data left in the buffer memory 14, in this case, the front part 4A of data #4 is recorded on the recordable area sought in step S105, and then the remaining part #4B is continuously recorded as one area, and the routine 100 is finished in step S107.
Thus, for example, data #4 is recorded as one continuous area on the disc 19.
Since the routine 100 is executed for each data #n, the data DR, or the MPEG data DM, is recorded on the disc 19, as shown in
The recording apparatus can record the MPEG data DM on the disc 19 in this way. The reproduction can be achieved by the process complementary to the recording process. Specifically, the recording signal is intermittently reproduced from the disc 19 in the order of data #n according to the control information recorded on the disc 19; the data DR is demodulated from the reproduced recording signal and written into the buffer memory, and the written data DR is continuously read as MPEG data DM.
Thus the recording apparatus can record the MPEG data DM on the disc 19. In that case, particularly, the recording apparatus estimates the data amount DBUF by Eq. (1) when the data, such as date #4, in the buffer memory 14 is less than that for one unit period TUNIT at the recording start time t6. The disc 19 can therefore be used effectively.
In the method shown in
Accordingly, since the estimated area size necessary for recording data #4 is also equal to or smaller than that by the method of
Moreover, since the recordable area ABLK_A is used effectively from the beginning, the number of times of seeking at the recording is decreased, as a result, the number of times of seek operation during the reproduction is also decreased, and for devices using battery cells as power source, recording time and reproduction time can be increased.
Furthermore, since the data amount DBUF of the buffer memory 14 varies from the minimum value 0 to the upper limit DLIM, the whole capacity of the buffer memory 14 can be used effectively. Moreover, even if all the data DM of one unit period TUNIT cannot be written in the buffer memory 14 because the data DR has a high bit rate or the buffer memory 14 has a small capacity, the whole capacity of the buffer memory 14 can be effectively used.
The disc 19 may be an optical disc such as a DVD recordable (DVD-R) or a blu-ray disc or a magnetooptical disc (MO). The invention may be applied to recording of data with a variable bit rate on a disc by unit period irrespective of the content of data, format of the signal, the kind of the disc, and the method of managing the data on the disc.
Number | Date | Country | Kind |
---|---|---|---|
2004-218064 | Jul 2004 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2005/011254 | 6/20/2005 | WO | 00 | 10/24/2008 |