Title of Invention

METHOD OF RECORDING BLOCKS OF DATA

Abstract The present invention relates to a method of recovering blocks of data recorded on an optical record carrier in case of a power failure affecting a recording and reproducing device. Said device comprises means for writing a recording indication information on the optical record carrier to indicate that a recording has started, said recording indication information including a recording start address, and means for overwriting the recording indication information at a recording end. After a power failure, if a recording indication information is written on the optical record carrier, then the recording and reproducing device is able to determine that a recording has not ended properly. In these conditions, said device is able to parse the recorded data, starting from the recording start address, in order to find the end of the improperly ended recording.
Full Text

(M
WO 2004/049326 PCT/IB2003/004990
1
Power failure recovery method
FIELD OF THE INVENTION
5 The present invention relates to a method of recording blocks of data on an optical
record carrier. The present invention also relates to a method of recovering blocks of data recorded on an optical record carrier in case of a power failure affecting a recording and reproducing device containing said optical record carrier.
The present invention finally relates to a recording and reproducing device 10 implementing such recording and power failure recovery methods.
This invention is particularly relevant for optical disc recorders.
BACKGROUND OF THE INVENTION
In the era of videocassette recording, power failures were not a big problem, as 15 everything that had been recorded until the power failure was recorded correctly and is
available for the user.
With the introduction of optical discs for recording television broadcasts, this has
changed as recordable optical disc standards make use of a data manager file. Said file is
used to store the control information and multimedia objects for the title menu. Without the 20 control information, the recorded multimedia data are not accessible to the user, and typically
the control information is not written on disc until after the entire multimedia data have been
recorded.
The international patent application n° WO 02/50829 describes a video disc recorder
comprising a non-volatile random access memory, which is used to save status data 25 corresponding to the state of the video recorder. During power up after an unexpected power
failure, said non-volatile memory is used to determine whether or not the disc recorder was
recording during the power failure, and the recorded multimedia data are recovered thanks to
the use of status data saved in the non-volatile random access memory.
However, the recording state is stored in a non-volatile memory of a specific recorder. 30 As a consequence, if the disc is inserted into another recorder, the recorded multimedia data
cannot be recovered by said other recorder. Moreover, the recorder in accordance with the
prior art only provides contiguous recording, which type of recording is not performed on all
types of discs.
*

WO 2004/049326 PCT/IB2003/004990
2 SUMMARY OF THE INVENTION
It is an object of the invention to propose a recording method which is capable, in
case of a power failure affecting a specific recording and reproducing device, of recovering
data on another recording and reproducing device.
5 To this end, the recording method in accordance with the invention is characterized in
that it comprises the steps of:
writing a recording indication information on the optical record carrier to indicate that
a recording has started, said recording indication information including a recording start
address,
10 - overwriting the recording indication information at an end of recording.
After a power failure, the recording and reproducing device is able to determine that a recording has not ended properly if a recording indication information is present on the optical record carrier. In these conditions, said device is able to parse the recorded data, starting from the recording start address, in order to find the end of the improperly ended 15 recording, and then to recover the complete recorded data. This is the case, for example, if the optical record carrier is a DVR+RW disc, for which the recording is contiguous.
In an embodiment of the invention, the recording method further comprises the step of writing a recovery header for each block recorded on the data carrier, the recovery header of a current block of data comprising a size of the current block and a location of a next block 20 of data.
This is the case, for example, if the optical record carrier is a Blu-ray disc, for which the recording is not contiguous. In these conditions, the recording and reproducing device is able to go to the recording start address and to recover the location of a next block of recorded data from a recovery header of a current block, and then to follow the chain of links 25 between blocks. Finally, said device is able to parse the last block of recorded data in order to find the end of the improperly ended recording.
The present invention also relates to a device for implementing the recording method in an integrated circuit, for example, by means of items of hardware or software.
30 BRIEF DESCRIPTION OF THE DRAWINGS
The present invention will now be described in more detail, by way of example, with
reference to the accompanying drawings, wherein: m -
Fig. 1 is a block diagram of a recording and reproducing device in accordance with the invention,
«

WO 2004/049326 PCT/IB2003/004990
3 Fig. 2 is a block diagram showing the recording method in accordance with the invention, and
Fig. 3 is a block diagram showing the power failure recovery method in accordance with the invention. 5
DETAILED DESCRIPTION OF THE INVENTION
The present invention relates to method of recovering recorded data on an optical
record carrier in case of a power failure affecting a recording and reproducing device
containing said optical record carrier.
10 In our example, the recording and reproducing device is a home optical disc recorder
or a personal computer optical disc recorder, and the optical record carrier is a DVD or a Blu-ray disc. Nevertheless, it will be apparent to a person skilled in the art that the present invention is not limited to said discs. The scope of the present invention generally covers any medium having any physical disc format (e.g. CD, DVD, Blu-ray disc, etc.), which are 15 recordable or rewritable.
The common idea between DVD+R or DVD+RW discs and Blu-ray discs is that the optical recorder is able to write information on the disc in order to indicate that the previous recording has not finished properly. This allows the recorder to know that it has to perform a 20 recovery action.
Moreover, once the optical recorder has determined that an optical disc needs to be recovered, it has to find on the optical disc the recorded data that make up the unfinished recording, and hence needs to determine the start point of the recording. So the information indicating that the previous recording has not finished properly must contain a recording start 25 point.
According to Fig. 1, the optical disc recorder comprises a disc drive unit DDU (11) for recording on and reproducing from an optical disc (12) by using a laser beam (17) applied to the optical disc. The disc drive unit is arranged to control a spindle motor MOT (16) that 30 rotates the optical disc. Furthermore, a volatile memory VM (14) such as a static or dynamic Random Access Memory RAM is provided for storing data which have been reproduced from the optical disc or which are to be recorded on the optical disc. The volatile memory is connected to an Input/Output interface I/O (15) for inputting and outputting recorded data and reproduced data, respectively. Particularly, said interface may be a standard interface

WO 2004/049326 PCT7IB2003/004990
4
such as a Small Computer System Interface SCSI. According to the invention, a recovery control section RCS (13), which may be arranged as a separate unit or which may be implemented in a system processor section, is provided for controlling the disc drive unit so as to achieve a power failure recovery method. The recovery control section is connected to 5 the optical disc via the disc drive unit, said optical disc containing the recovery control information required after a power failure.
Fig. 2 is a block diagram illustrating the recording method in accordance with the invention, wherein the following steps, which are taken during the recording, render possible 10 a recovery of the data recorded before the power failure.
At the start of recording (21), the recorder writes (22) a recording indication information on the optical disc to indicate that a recording has started, said information including the start address of the recording.
In an embodiment of the invention, the recorder writes the recording indication information 15 only after writing some arbitrary amount of video data on disc. This embodiment has the advantage that the recorder can start recording immediately, a retrieval of video data after a power failure being only a problem if there is a certain amount of video data on disc. - In another embodiment, the recorder writes the recording indication information in the private data area of the recorder on disc. Said embodiment has the advantage that non-20 compliant data are not written in the data area of the disc.
Still in another embodiment, the video recorder incorporates Universal Disc Format UDF knowledge, and then uses the Logical Volume Integrity Descriptor LVID as the recording indication information. When this descriptor is set and the file system information on disc has an integrity problem, the conclusion is that a recording has not ended correctly. 25 Still in another embodiment, the recording indication information, including the recording start address, is stored in a separate recovery file on disc. All recorders of the same company may use the same name for the recovery file in order to be all able to recover the data recorded on disc. Another option is to update the corresponding standard to indicate the recovery file name so as to ensure that all recorders compatible with said standard are able to 30 recover the data recorded on disc.
For each block recorded on the optical disc, the recorder writes (23) a recovery header in a private data stream, for example an MPEG-2 private stream.
*

WO 2004/049326 PCT/IB2003/004990
5
The recovery header is inserted, for example, at the start of a data block. But the recovery headers are not necessarily aligned with the data blocks written on disc. This may be useful if the video recorder writes a single contiguous block on disc in a number of writes. Said recovery header contains the size of the current block. It also contains a pointer to 5 indicate the location of the next block, the video recorder comprising means for choosing the location to write a next data block before it begins writing the current data block. It may include a write sequence number. Said write sequence number is a counter for the current recording, which is used to ensure that the next recovery header belongs to the same recording in case the system does not get time to write the next recovery header. The
10 recovery header may also include a record reference number. This is a randomly generated number used to ensure that segments from different recordings can be told apart. The step of writing a recovery header is applicable to Blu-ray discs, for which recorded data are fragmented in blocks so the recorder needs to take further action to recover said data. This step is not necessary for DVD+RW discs because the recording is contiguous and, as a
15 consequence, each recording can be considered as a single block of data. Although said step is not needed for DVD+RW discs, it can nevertheless be applied to said type of discs.
At the end of recording (25), the recorder overwrites (24) the recording indication information to indicate that a recovery is not necessary.
20 Fig. 3 is a block diagram illustrating the power failure recovery method in accordance
with the invention, the following steps being taken, for example, on power up of the recorder that was initially recording or directly on another recorder.
The recorder is first able to read RRII (31) if a recording indication information is written on the optical disc, and more especially the recording start address, in order to see if a
25 recovery is necessary.
If a recovery is necessary, the recorder comprises means CHAIN (32) for going to the recording start address and for following the chain of pointers to recover locations of data written. The last recorded block is then detected because the pointer to said last block does not correspond to a consistent recovery header, i.e. a header comprising at least the size of
30 the current block and the location of the next block.
This step is not needed for a DVD+RW disc, as data recorded on said disc are contiguous. So, once the recorder has found the start point, it can parse the whole recorded data to find the end point. This step can nevertheless be applied to a DVD+RW disc if said disc comprises recovery headers.
«

WO 2004/049326 PCT/IB2003/004990
6
Then, the recorder is able to parse PARS (33) the contents of the last recorded block
to find the end of the improperly ended recording. In a particular embodiment, this end is
found by an Error Correction Code ECC block that cannot be decoded. In another
embodiment, it is found from a discontinuity in the MPEG-2 data.
5 - Once the recorded data have been recovered, the recording is optionally resumed, and
the file system and other navigation data is updated UPD (34) to include the new recording.
The two above-described methods can be implemented in a recorder in several manners, such as by means of items of hardware, for example, wired electronic circuits or,
10 alternatively, by means of software, i.e. a set of instructions stored, for example, in a programming memory, said instructions replacing at least part of said circuits and being executable under the control of a digital processor in order to carry out the same functions as fulfilled in said replaced circuits. For example, it is possible to implement the recording method using an integrated circuit, which is suitably programmed. The set of instructions
15 contained in the programming memory may cause the integrated circuit to carry out the different steps of one of the two methods. The set of instructions may be loaded into the programming memory by reading a storage unit. The set of instructions may also be made available by a service provider via a communication network such as, for example, the Internet.
20
Any reference sign in the following claims should not be construed as limiting the claim. It will be obvious that the use of the verb "to comprise" and its conjugations does not exclude the presence of any other steps or elements besides those defined in any claim. The word "a" or "an" preceding an element or step does not exclude the presence of a plurality of
25 such elements or steps.


WO 2004/049326 PCTYIB2003/004990
7
CLAIMS
1. A method of recording blocks of data on an optical record carrier, said method
comprising the steps of:
5 - writing a recording indication information on the optical record carrier to indicate that
a recording has started, said recording indication information including a recording start address, and
overwriting the recording indication information at an end of recording.
10 2. A recording method as claimed in claim 1, further comprising the step of writing a recovery header for each block recorded on the data carrier, the recovery header of a current block of data comprising a size of the current block and a location of a next block of data.
3. A recording method as claimed in claim 2, wherein the recovery header is written in a
15 private data stream.
4. A recording method as claimed in claim 1, wherein the recording indication
information is written in a private data area of the record carrier.
20 5. A recording method as claimed in claim 1, wherein the recording indication information comprises a logical volume integrity descriptor.
6. A recording method as claimed in claim 1, wherein the recording indication
information is stored in a recovery file on disc.
25
7. A method of recovering blocks of data recorded on an optical record carrier in case of
a power failure affecting a recording and reproducing device containing said optical record
carrier, said method comprising the steps of:
reading a recording indication information on the optical record carrier, said 30 information indicating that a recording has been improperly stopped and including a recording start address, and
parsing recorded data starting from the recording start address in order to find a * *
recording end point in a last recorded data block.

WO 2004/049326 PCT/IB2003/004990
8
8. A power failure recovery method as claimed in claim 7, further comprising the steps
of:
reading, on the optical record carrier, a recovery header associated with a recorded
data block, and
5 - recovering a content of a current recorded data block and a location of a next recorded
data block from a current block size and a next block pointer contained in the recovery header.
9. A recording and/or reproducing device comprising:
10 - means for writing a recording indication information on the optical record carrier to
indicate that a recording has started, said recording indication information including a recording start address, means for overwriting the recording indication information at an end of recording.
15 10. A recording and/or reproducing device comprising:
means for reading a recording indication information on the optical record carrier, said recording indication information indicating that a recording has been improperly stopped and including a recording start address, and
means for parsingjecorded data starting from the recording start address in order to 20 find a recording end point in a last recorded data block.
11. A computer program comprising program instructions for implementing a recording method as claimed in claim 1 when said program is executed by a processor.
25 12. A computer program comprising program instructions for implementing a power
failure recovery method as claimed in claim 7 when said program is executed by a processor.


Documents:

1027-chenp-2005 abstract duplicate.pdf

1027-chenp-2005 claims duplicate.pdf

1027-chenp-2005 description (complete) duplicate.pdf

1027-chenp-2005 drawings duplicate.pdf

1027-chenp-2005-abstract.pdf

1027-chenp-2005-claims.pdf

1027-chenp-2005-correspondnece-others.pdf

1027-chenp-2005-correspondnece-po.pdf

1027-chenp-2005-description(complete).pdf

1027-chenp-2005-drawings.pdf

1027-chenp-2005-form 1.pdf

1027-chenp-2005-form 3.pdf

1027-chenp-2005-form 5.pdf

1027-chenp-2005-form18.pdf

1027-chenp-2005-pct.pdf


Patent Number 223279
Indian Patent Application Number 1027/CHENP/2005
PG Journal Number 47/2008
Publication Date 21-Nov-2008
Grant Date 09-Sep-2008
Date of Filing 25-May-2005
Name of Patentee KONINKLIJKE PHILIPS ELECTRONICS N.V
Applicant Address Groenewoudseweg 1, NL-5621 BA Eindhoven,
Inventors:
# Inventor's Name Inventor's Address
1 KELLY, Declan, Patrick c/o Societe Civile SPID, 156 Boulevard Haussmann, F-75008 PARIS,
2 TAN, Jingwei c/o SPID, 156 Boulevard Haussmann, F-75008 Paris,
3 BLACQUIERE, Johannis, Friso, Rendert c/o SPID, 156 Boulevard Haussmann, F-75008 Paris,
PCT International Classification Number G11B19/04
PCT International Application Number PCT/IB2003/004990
PCT International Filing date 2003-11-04
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 02292939.2 2002-11-27 EUROPEAN UNION