These and other aspects of the method and apparatus, or drive, according to the invention will be further elucidated and described with reference to the drawings. In the drawings:
a and 1b show an optical disc having two information layers,
a, 5b, and 5c show various embodiments of the method according to the invention,
a, 6b and 6c show the possible states of a drive, in relation with the methods respectively of
a shows an optical disc with two information layers. The optical disc 100, hereinafter referred to as the disc, comprises a first information layer 101 and a second information layer 102, each of them representing an information storage space. Typically, the disc is recorded sequentially, i.e. the information is recorded on the disc starting from the beginning of the first information layer 101 progressively filling it till the end; when the end of the first information layer 101 is reached the recording is continued on the second information layer 102, starting from its beginning progressively till the end, in other words a layer jump takes place. At some point during this sequential recording the following situation will occur: the first information layer 101 has a recorded portion 104 and a free portion 103, whereas the second information layer 102 is entirely free. The recording is sometimes referred to in the art also as writing or filling; similarly, the free portion is sometimes referred to also as non-recorded, non-written, or blank. The disc 100 can be recorded in a single session or in several sessions. A session comprises at least one, but most probably a plurality of, write commands given in succession. Such a disc may be for example a DVD+R9, a recently introduced dual-layer recordable optical disc belonging to the DVD media family, or an optical disc belonging to the BD (Blue-ray Disc) media family.
Although the invention is going to be explained with reference to a two-layer disc, the invention can equally be applied to the recording of a disc having three or more layers.
b shows another optical disc, with two information layers as well. In a relatively less usual but nevertheless possible way of handling such a disc 100, the information layers 101, 102 are partitioned in sectors 105. Each sector, but not necessarily the disc 100 or a layer as a whole, is recorded sequentially, i.e. the information is recorded on a sector starting from its beginning progressively to its end; when the end of the sector is reached the recording may be continued on another sector selected with some criterion out of the sectors 105 or according to a predefined order, not necessarily in a sequential order, i.e. not necessarily in the same order as the sectors 105 are disposed in the information layers. At some point during this sequential recording the following situation may occur: one of the information layers, for example the first information layer 101, will have a sector having a recorded, portion 104′ and a free portion 103′. When, during recording, the end of this sector is reached the recording is continued on another sector, which may be situated on the second information layer 102 even if on the first information layer 101 there are sectors 105 which are free or partly free.
In contrast with the situation described in reference to
However, a number of other events can be envisaged as causing a layer jump. For example, it may be desirable, in order to facilitate a subsequent access, to record a certain portion of information at a given position on a layer within a sequence of recordings made on a different layer. Also, a layer jump may take place before an information layer is completely exhausted, because a ring of the disc 100 near its center has been allocated as not to be recorded. In general, switching the recording from a layer to another requires the adjustment of a series of control parameters, in particular, but not only, parameters controlling the power of recording means for recording information on the disc 100. In fact the power required for recording depends on the layer where the recording is effected, since the actual fraction of power imposed to a layer largely depends on whether another layer is interposed between the writing means and the layer which is being written.
According to a common practice, an indicative value of the recording power is stored on the disc. However, since the quality of the recorded signal is largely sensitive to the used power, a fine-tuning of its value is generally necessary. This fine-tuning is achieved by a calibration procedure, known in the art at OPC, during which short portions of a recording area are recorded using different values of the recording power in the neighborhood of said indicative value. Thereafter the quality of the recorded signal in these short portions of the recording area is evaluated according to an evaluation criterion, e.g. the minimum jitter, and the recording power resulting in the best quality of the recorded signal is selected for actual use. Such a procedure may also comprise several iterations.
Other parameters, not being parameters controlling the power of the recording means, may also need a calibration, for example parameters for controlling focus or for tilt calibration.
From this it derives that as a consequence of a layer jump, a calibration procedure has to be performed for determining appropriate values of said control parameters, to be used for recording on the second information layer 102.
The host 200 sends to the drive 201 a series of write commands 202. Each write command 202 is specifying to record a portion of information on the disc 100, and is executed in a recording step 203. When the recording is completed the drive 201 informs the host 200 with a recording completed message 204. This protocol of communication may further include a message of write command accepted 207 sent from the drive 201 to the host 200, to inform the host 200 that a write command 202 has been received and is going to be executed. With reference in particular to the situation in which the disc 100 is filled sequentially and the first information layer 101 of the disc has a free portion 103, as explained with reference to
The fact that a calibration procedure 206 is carried out nested within a recording step 203 makes the recording step 203 remarkably longer than usual. During the execution of a recording step 203, the host 200 is usually expecting the recording to be completed within a given amount of time, fitted for the usual duration of a recording step 203, the elapsing of which may cause an exception to be generated and eventually even the host 200 to reset the drive 201 with a reset command 208.
After receiving a write command 300, which can also be seen as an external event for the drive 201, follows a recording step 203, comprising: a recording sub-step 20311 during which the drive initially records the portion of information on the first information layer 101, a verifying sub-step 20312, possibly repeated a plurality of instances, during which it is verified if the free portion 103 of the first information layer 101 is exhausted, and recording sub-steps 20313, possibly repeated a plurality of instances as well, during which the portion of information is continued to be recorded on the first information layer 101 if the free portion 103 thereof is not exhausted. If instead the free portion 103 of the first information layer 101 is exhausted, a layer jump 205 is effected, after which a calibration procedure 206 is run. After the result of the calibration procedure 206 is available, the recording is resumed on the second information layer 102 in a recording sub-step 2032.
This method depicted in
The drive 201 is initially in a ready state 401, during which it is idle. The receiving of a write command 300 causes the drive 201 to go into a recording state 402, during which the write command 202 is executed by recording, initially and as far as possible on the first information layer 101. After completion of recording 406 the drive 201 goes back into the ready state 401. In the event that while in the recording state 402 the free portion 103 of the first information layer 101 is exhausted 404, a layer jump 205 takes place and the drive goes into a calibrating state 403, during which the calibration procedure 206 takes place. After completion of the calibration procedure 405 the drive 201 goes back into the recording state 402, in which the recording is resumed on the second information layer 102.
a shows the block diagram a first embodiment of the method of recording information according to the invention, always with reference in particular to the situation described with reference to
After receiving a write command 300, follows a checking step 500, during which it is verified if the free portion 103 available on the first information layer 101 suffices for recording the portion of information specified by the write command 202 received. If yes, the write command 202 is immediately executed in the recording step 203, which recording step 203 will be entirely accomplished by recording on the first information layer 101. If not a further check 501 is made for verifying if writing parameters for recording on the second information layer 102 are already available.
If yes, the write command 202 is immediately executed in the recording step 203: in this case the free portion 103 available on the first information layer 101 will be exhausted during recording and therefore a layer jump 205 will occur; however the recording will quickly be resumed on the second information layer 102 because the recording parameters will quickly be adjusted to the values appropriate for recording on the second information layer 102 which are already available.
If not, the write command is refused 503, and in preparation for the layer jump 205 a calibration procedure 206 is carried out, clearly on the second information layer 102. Further write commands 202 which may be received while the calibration procedure 206 is run are also refused. The method may further foresee sending a message to the host 200 to inform that the drive 201 is again ready to accept a write command 202 at the end of the preparatory calibration procedure 206.
b shows the block diagram a second embodiment of the method of recording information according to the invention, always with reference in particular to the situation described with reference to
In the checking step 500′ of such a method it is verified if a threshold value exceeds the free portion 103 of the storage space of the first information layer 101 currently available. This threshold may be the equal to the maximum value size of the portion specified by a write command 202, if such a maximum value is specified in the protocol of communication between host 200 and drive 201.
If yes, a further check 501 is made for verifying if writing parameters for recording on the second information layer 102 are already available.
If not, a preparatory calibration procedure 206 is run. In this way it is guaranteed that as soon as the free portion 103 of the first information layer 101 is potentially not sufficient to record the portion of information specified by an incoming write command 202, a preparatory calibration procedure 206 is run. Therefore the drive 201 is always in one of the two following situations: either it is certainly able to record the portion of information which will be specified by an incoming write command 202 entirely on the first information layer 101, or the parameters for recording on the second information layer 102 have already been determined, so as to make the resumption of recording after a layer jump 205 as swift as possible. Such a checking step 500′ can be executed after the receiving of a write command 300, like in
As it has been said, the threshold may be the equal to the maximum value size of the portion specified by a write command 202, if such a maximum value is specified in the protocol of communication between host 200 and drive 201. For example, in a Windows operating system such a maximum value is equal to 32K. As an alternative, the threshold may be equal to a few times the maximum size of the portion specified by a write command, or by a value which, according to the experience, is sufficient for recording the portion or portions specified by the subsequent write command, or few write commands. Such a threshold value does not need to be constant, but may also vary during a write session. What is important is that the calibration procedure 206 has already been performed at the moment when the values that are determined by means of the calibration procedure 206 become necessary, i.e. when a layer jump 205 occurs. At the same time the calibration procedure 206 should not be performed too long in advance of the layer jump 205, nor it should be performed unless there is a high probability that the values provided are actually going to be used. These situations should be avoided because the calibration procedure 206 is time consuming and also using a space for testing which is available in a limited quantity, therefore it should be performed only if there is a good perspective, preferably a certainty, to use its result. Moreover the result of a calibration procedure 206 heavily depends on temperature, therefore it should not be performed a long time before the layer jump 205 occurs. In particular, it is not an option to perform a calibration procedure 206 for all layers when the disc 100 is for the first time used and is completely blank, or when the disc 100 is inserted in the drive 201, or even at the beginning of the write session.
As it can be understood from these embodiments of the method according to the invention, shown in
These methods according to the invention depicted in
In
In
In
The host 200 sends to the drive 201 a write command 202 specifying to record a portion of information. The drive 201, which, according to this example operates according to the method depicted in
Subsequently, the host 200 sends to the drive 201 a further write command 202′ specifying to record a further portion of information. The drive 201, in a second instance of the checking step 500 checks whether the portion of information fits in the remaining free portion 103 of the first recording layer 101; this time the answer is negative and therefore a layer jump 205 is anticipated; consequently, the drive 201 checks, in the checking step 501, whether the values for the control parameters for recording on the second layer, which will be required when the layer jump 205 will have taken place, have already been determined; the answer is negative; then the drive 201 informs the host 200 that the received write command 202′ cannot be accepted with the refusal message 800, and proceeds with executing the calibration procedure 206. While the calibration procedure 206 is in progress the host 200 re-sends the write command 202′ but receives in return from the drive a refusal message 800. The host may keep re-sending the write command 202′ with the same result until completion of the calibration procedure 405. Once this has happened, a further issue of the write command 202′ causes the drive 201 to check, in a third instance of the checking step 500, whether the further portion of information fits in the remaining free portion 103 of the first recording layer 101; the answer is still negative, and the drive 201 checks, in a second instance of the checking step 501, whether the values for the control parameters for recording on the second layer have already been determined; this time the answer is positive, therefore the drive 201 proceeds with executing the write command 202′ in a recording step 203, involving a layer jump 205.
Although for this example it has been assumed that the drive operates according to the method depicted in
The input means 802 receive one or more write commands 202 from a host specifying to record a respective portion of information, and transmit them to the command execution unit 803, which is able to execute the command by controlling the record means 800 to record the portion of information on the disc 100. With reference in particular to the situation described in
The invention can also be exemplified as follows. In an optical drive having DVD dual layer recording capability, when recording on the first layer and the end of the first layer is reached, recording is resumed on the second layer. However, before we can start writing on the second layer, some calibrations are needed, like for example power calibrations, focus calibration, and tilt calibration. When these calibrations have been performed, we can start writing on the second layer. The calibrations that are needed on the second layer can take a long time to complete, even up to 10 seconds or more. During this time it can happen that host communication stalls, because the data buffer in the optical drive gets full. If this happens while handling a command from the host, this command shall get stuck until there is more buffer room available. This can result in a reset from the host.
According to the invention, these calibrations on the second layer will be performed when we're near the end of the first layer, e.g. a number of sectors before the actual end of the first layer. During these calibrations, all incoming write commands shall be rejected with a failure of “LONG WRITE IN PROGRESS”. As the host application will retry this write command until it succeeds we can continue writing after the calibrations. The advantage of this invention is that this way, write commands shall always be handled within a minimal amount of time, either successfully, either being rejected with “LONG WRITE IN PROGRESS”. LONG WRITE IN PROGRESS will be reported for the time that the optical drive is performing power calibrations on the second layer. These calibrations will be performed when approaching the end of the first layer. Another implementation is to report this LONG WRITE IN PROGRESS error on the write command that actually wants to perform the layer jump.
This invention can be used in all optical drives for writing on a multi-layer media and for which layer jumps and calibrations need to be performed.
The invention can also be summarized as follows.
A method of writing on a disc having at least two layers, each layer having a storage space for storing information, the storage space of a layer comprising an available space and optionally an allocated space, comprising the steps of:
Optionally this method comprises:
Optionally this method comprises:
Optionally this method comprises:
In an alternative formulation, the invention can be summarized as follows.
A method of writing on a disc having at least two layers, each layer having a storage space, in which method, in response to a command specifying to write a portion of information, the command is executed by starting to write the portion of information on a layer, and in executing the command, if at any time during writing the portion of information the space available on the layer is exhausted, the writing is continued on another layer, characterized in that before executing the command, in a preparatory step, a preparation for writing on the other layer is executed.
In a further alternative formulation, the invention can be summarized as follows.
A method of recording information on a disc having at least a first layer and a second layer, each of the first layer and the second layer having a storage space and a free portion thereof, the recording being in dependence of at least one control parameter, in which method a series of write commands is received, a write command specifying to record a portion of information, the execution of the command potentially implying an occurrence of a layer jump, as a result of which, recording of the portion of information initially on the first layer is discontinued and resumed on the second layer, characterized in that if the occurrence of a layer jump is anticipated, a calibration procedure for providing a value for the at least one control parameter is executed, which value is to be used for recording on the second layer.
Optionally, in this method the occurrence of a layer jump is anticipated by verifying if the portion of information specified by the write command exceeds the free portion of the first layer.
Optionally, in this method the occurrence of a layer jump is anticipated by verifying if the portion of information specified by the command exceeds the space available in the sector.
Optionally, in this method, the occurrence of a layer jump is anticipated if a fixed threshold exceeds the space available in the sector.
In a further alternative formulation, the invention can be summarized as follows.
A method of writing on a disc having at least two layers, each layer having a storage space for storing information, comprising the steps of:
The invention can also be summarized as follows.
An apparatus for writing on a disc having at least two layers, each layer having a storage space for storing information, the storage space of a layer comprising an available space and optionally an allocated space, comprising:
In an alternative formulation, the invention can be summarized as follows.
An apparatus for recording information on a disc having at least a first layer and a second layer, each of the first layer and the second layer having a storage space and a free portion thereof, comprising:
Number | Date | Country | Kind |
---|---|---|---|
04103439.8 | Jul 2004 | EP | regional |
04105182.2 | Oct 2004 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB05/52303 | 7/12/2005 | WO | 00 | 1/18/2007 |