CN1791927A - Handling real-time write errors - Google Patents

Handling real-time write errors Download PDF

Info

Publication number
CN1791927A
CN1791927A CN 200480013831 CN200480013831A CN1791927A CN 1791927 A CN1791927 A CN 1791927A CN 200480013831 CN200480013831 CN 200480013831 CN 200480013831 A CN200480013831 A CN 200480013831A CN 1791927 A CN1791927 A CN 1791927A
Authority
CN
China
Prior art keywords
error
write
order
data
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200480013831
Other languages
Chinese (zh)
Inventor
R·A·布龙迪克
S·J·M·范贝克霍文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koninklijke Philips NV
Original Assignee
Koninklijke Philips Electronics NV
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koninklijke Philips Electronics NV filed Critical Koninklijke Philips Electronics NV
Publication of CN1791927A publication Critical patent/CN1791927A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A recording device has medium interface means for interfacing with a storage medium for recording data on the medium and retrieving data from the medium, and host interface means for communicating with a host via messages according to a protocol (ATA/ATAPI). The messages include a write command for writing a series of data blocks in real-time. The device has error monitoring for generating an error message for notifying the host in dependence of an error status within the series of data blocks (84). The error status may indicate the location of a write error (85) in the series, or exceeding a timeout during recording (TRS + TRET + TCAL).

Description

Handle real-time write errors
The present invention relates to be used for the equipment of recorded information on storage medium, this equipment comprises media interface devices, thereby this device is used for being recorded in data on this storage medium with storage medium interface and from this storage medium retrieve data; Host interface means is used for by message and main-machine communication according to agreement, and this message comprises the write order that writes a series of data blocks in real time.
The invention still further relates to the method for error monitoring during record on the storage medium, this method comprises that this message comprises the write order that is used for writing in real time a series of data blocks by message and main-machine communication according to agreement.
The invention still further relates to the method for this recording unit of control, this method comprises that described message comprises the write order that is used for writing in real time a series of data blocks by message and described devices communicating according to agreement.
The invention still further relates to error monitoring that is used for during record on the storage medium and the computer software product that is used to control this recording unit.
Propose from the draft of DVD (digital versatile disc) system and the national information technical standard council (NCITS): working draft T10/1363-D, version 10g, November 12 calendar year 2001, " INFORMATION TECHNOLOGY-SCSI Multimedia Commands-(version MMC10g; be called MMC-3 in presents again) ", it is known by recording unit optical record carrier being carried out record controls.This equipment has Media Interface Connector in the side with storage medium interface, for example read/write head and positioning system.At opposite side, this recording unit has the host interface with main-machine communication, and this main frame can be the applying unit of PC or video recorder.The agreement that is used for communicating between the host interface of main frame and recording unit is the standard that is called ATA/ATAPI at MMC-3 (chapters and sections 1), refer to the NCITS T13/1321D ATAttachment with Packet Interface5 of institute's reference among the MMC-3 (chapters and sections 2.1.2) or X3T13/11553D ATA-5 the 17th edition especially, be called ATA/ATAPI-5 again.Therefore, this equipment can be called ATA/ATAPI equipment.This recording unit is used in host computer system control real-time recorded data piece, for example video down.This main frame for example contains the record of video or the application software of playback.When the driver write operation, mistake may appear.In order to use a rejuvenation, this application software need be known the state that this is wrong.In known agreement, this application software can have many bufferings and write at a slow speed and do not select between the buffering in driver in driver writing a series of data blocks fast.If this order does not complete successfully, then this driver is with reporting errors.Write block by block by block-by-block, can after this order of this actuator response, understand this wrong position.By writing a series of data blocks, report the mistake of this whole series data piece.Application software can write or find easily mistake fast.
Therefore a target of the present invention is, the error monitoring system that can effectively handle write error and allow real time record is provided.
According to a first aspect of the invention, use the equipment that is used for recorded information described in the introductory song paragraph can realize this target, this equipment comprises the error monitoring device, and it is used for producing error message and informing main frame according to the error condition in this series data piece.
According to a second aspect of the invention, use the error monitoring method described in the introductory song paragraph can realize this target, this method comprises according to the error condition in this series data piece and produces error message and inform main frame.
According to a third aspect of the invention we, the control method of the recording unit described in the use introductory song paragraph can realize this target, this method comprises according to the error condition in this series data piece and receives error message from this equipment, and uses a recovery to shelter this mistake during the playback of this series data piece.
The effect of these measures is that this equipment reports to driver with the write error in the error condition.This error condition for example comprises the position of the write error in this series.Its advantage is that the application software in the main frame can recover also to continue as quickly as possible record from this mistake apace.
In an embodiment of this equipment, this error monitoring device is configured to, if write error, then the position with write error in this series data piece is included in this error message.Its advantage is, main frame is known the position of this write error, and in rejuvenation record can be based on this known errors present again.
In an embodiment of this equipment, this equipment comprises the cache buffer that is used to store data block, and this host interface means is configured to receive a synchronous buffer memory order, and this order is used in reference to be shown in and recovers the address that writes after the write error in the cache buffer.Its advantage is that main frame need not transmission data block again after this mistake, and can use the data block that still is present in the cache buffer.
In an embodiment of this equipment, this host interface means is arranged for receiving overtime order during the indication record, this is overtime defined during the record other operation except the write data piece to the full extent spendable maximum time amount, and this error monitoring device is arranged for determining that described other operates in employed actual amount of time during the record, and surpasses described maximum time in described actual amount of time and produce described error message during amount.Its advantage is, this execution time overtime and the expection write operation is irrelevant, and it is illustrated in the upper limit of carrying out the standby time total during this order.
In other claim, provided the other preferred embodiment of method and apparatus according to the invention.
In conjunction with the accompanying drawings, with reference to the following embodiment that describes by way of example, these and other aspect of the present invention will become apparent.
Fig. 1 shows disc-shaped storage medium, recording unit, reaches host computer system.
Fig. 2 shows the data on the host interface and is transferred to delay time figure between the data of this storage medium.
Fig. 3 shows main frame, recording unit and the storage medium that comprises application software.
The diagram that Fig. 4 shows generation, transmission and writes optical disc data.
Fig. 5 shows the synchronization caching order.
Fig. 6 shows the sequential chart of order and response.
Fig. 7 a shows the connector that is used for interface on the driver.
Fig. 7 b shows the IDE connector layout.
Fig. 8 shows the sequential chart of other operation during message on the host interface, write operation and the record.
Fig. 9 shows the sequential chart of write operation and overtime window structure.
In each figure, represent and the corresponding element of having described of element with identical Reference numeral.
Fig. 1 shows disc-shaped storage medium, recording unit, reaches host computer system.Storage medium 11 such as CD is formed the record carrier that is used for recording unit 12.DVD+RW is an example of this record carrier.According to the predefine standard of for example ATA/ATAPI-5, define many interface functions of this recording unit.Therefore, this equipment can be called ATA/ATAPI equipment.Equipment (12) with a side such as storage medium 11 interfaces of DVD+RW CD on contain Media Interface Connector, for example read/write head, positioning servo system, and CD or dvd system in known control circuit.Equipment 12 contains host interface 15 at opposite side, for example ATA cable or serial line interface, and to communicate with main frame, described main frame can be video recorder application side or the PC that for example has the common components that is used for the input and output video information.Four combination of elements (DVD+RW medium, ATA/ATAPI equipment add main frame) can form consumption DVD+RW video recorder.Principal focal point of the present invention is the application software in the DVD+RW video recorder.
In following reference, can find background information about recording unit and storage medium format:
The instructions of [DVD] read-only optical disc ECMA-267
[DVD+R] 4.7G byte basic format instructions system description 1.1
The erasable version 1.2 of [DVD+RW] 4.7G byte basic format instructions
In register system, use following definitions usually.
Driver: interface is to the unit of storage medium, for example has optical pick-up unit, servo, data routing, flash memory; This unit is by for example ATAPI and host interface.
Disc: can be any CD such as CDDA, CD-R/RW, CD-ROM, DVDROM, DVD+RW, DVD+RSACD.
ECC: this is the minimum data amount that can write on the CD.DVD is last to be the complete EFM piece of 32K bytes of user data.
The sector: addressable minimum data size, (on DVD) is 2048 bytes.
Application software: active cell is connected with it in the main frame, and it requires real-time data memory in (and from this real time data of this light disk retrieval) on the CD and the structure of arranging for example encoding/decoding video signal on this CD.
(De-iced) thaws :+RW phase-change material has two states: amorphous state and crystalline state.All material has identical state on the new CD, and this CD is called " by freezing ".By CD is write, can produce phase transformation.This influences the reflectivity of CD and how to read this CD.If CD contains by iced areas, can only determine the current location of laser instrument by swing.Writing the zone, positional information is included in the data.
Program block (chunk): can not have the data block that chain ground connection writes continuously
Offset track: will offset track when the laser instrument in the optical pick-up unit can't be followed (waving) groove on (can write down) CD.
Hereinafter, with the agreement of more in depth describing on this medium and host interface 15 or the ATA cable.The definition existing problems of this agreement that provides in MMC-3 by understanding the relation between this medium and the agreement, are appreciated that this way to solve the problem.
Known ATA cable and agreement thereof have been described in the many files such as the ATA/ATAPI-5 file.In MMC-3, provided the highest protocol level of this cable.In following explanation, storage medium 11 is the DVD+RW medium, a kind of recordable digital versatile disc.This medium has been described in the DVD+RW physical format specification.
Here the problem that is solved is caused by write error.The application software of carrying out in the main frame be with data in real time write CD.If mistake, then this application software wishes to recover as quickly as possible and continue record from this mistake.Suppose that this recovery will be covered this mistake in this application software level.For the situation of video recorder, this recovery may be to shelter (mask) by what the video clips that will be skipped was formed in replayed section.Key be to keep this shelter or video-frequency band as far as possible little.Therefore this host interface is by message (for example ATA/ATAPI-5) and this main-machine communication according to agreement, and this message comprises the write order that writes a series of data blocks in real time.For reporting errors apace, this equipment has the error monitoring device, is used for producing error message to notify main frame according to the error condition of this a series of data blocks.Usually realized as quickly as possible this error informing application software with communicating by letter of error message, and the reporting errors state.In one embodiment, error condition comprises errors present.
Fig. 2 shows the data on the host interface and is transferred to delay time figure between the data of storage medium.The data that host interface (ATA/ATAPI cable) is located have been shown in the curve 21 on top.The partial data piece is marked as A, B, C.Data block A arrives host interface at time t1.The curve 22 of bottom is illustrated in the identical data element at storage medium interface place.Data block A arrives at t2.Must overcome two basic problems to send error notification to application software as quickly as possible.First problem is for sending data and data are write inherent delay between the CD by the ATA/ATAPI cable, represent with the mistiming between the curve 21,22.Second problem is for sending the train of impulses character (burst character) of data by this cable.This two problems are more in depth described now.
At first be about the data by the ATA/ATAPI cable transmission and be transferred to inherent delay between the optical disc data.The time diagram of Fig. 2 shows the data of representing with top curve 21 of passing through the ATA/ATAPI cable transmission, is transferred to C from A through B.This transmission starts from t1.When t2, data are written into CD.When t3, mistake appears in the position B in data stream.When this mistake occurring, the data stream on the ATA/ATAPI cable is in-position C.
Second train of impulses character that problem is data on the ATA/ATAPI cable.When sending compressed video, to explain as Fig. 3, this problem has appearred.
Fig. 3 shows main frame, recording unit and the storage medium that comprises application software.Main frame 31 has video encoder 34, interface 35 (being coupled to recording unit 32 by cable) and the storer 36 that is used for video in the receiver, video input 33." excavation " between this video encoder and the interface connects (dig connection) 39 and is meant certain type digital interface.Equipment 32 contains and is useful on driver 37 and the storer 38 that is connected to storage medium 11 by Media Interface Connector 14.This equipment contains error monitoring unit 40, is used for as described below producing error message to notify this main frame according to the error condition of a series of data blocks.
In fact, the speed that writes to medium much smaller than driver 37 of the Maximum Bit Rate of scrambler 34.When this scrambler was transferred to ATAPI/ATA equipment with its coding output, following situation took place.If Bs is the bit rate that " excavation " connects data on 39, Bd is the bit rate of data on the Media Interface Connector 14, and Md is the number of the storer 38 of this driver, and Ms is the available quantity that is connected to the storer 36 of interface in the main frame.Md/Bs is the time quantum with cumulative data of this driver.Md/Bd is the time quantum that driver writes medium.The Ms minimum need be 2k, because this is the minimum data amount that can be written to driver.Ms/Bs is that data pulse string is to the interval time between the equipment.
The example of data transmission on the host interface:
If Ms=2KB (kilobyte), Bs=8Mb/ second (mbit/), then
Be 2KB/8Mb/ second=2*8/8=2 millisecond the interval time between the train of impulses.
With whole content of buffer be written to medium must the time example:
If Md=2MB, Bd=24Mb/ second, then
Second 2MB/24Mb/ second=2*8/24=2*8/3*8=2/3=0.666.
In physical device, before record data, need the access time of adding.
Fig. 4 shows generation, transmits and writes the diagram of optical disc data.The upper section 41 of this figure shows host buffer and fills, and below part 42 shows the equipment write operation.In first 43, because scrambler 34 produces data, the impact damper of main frame is filled.In second portion, because equipment writes 42 and this impact damper is emptied.Can be as above in conjunction with calculate impact damper filling time interval T db and the time T de that empties impact damper shown in Figure 3ly.
Expense during the record is owing to due to the visit, can be calculated as follows efficient:
The Ta=access time
Td=writes the required time of a series of data blocks (being also referred to as program block)
Efficient=Td/ (Ta+Td)
Can raise the efficiency by maximization Td or program block size.
Bde=Ms/(Ta+Ms/Bd)=Bd/(Bd*Ta/Ms+1)
Increase the influence that Ms can reduce Ta.Also can find, when increasing the writing speed of driver, also must increase program block to keep identical efficient.Also can find linear increase of time between each program block, this is because T=Ms/Bs.
Example:
Ta= 200.00 ms
Ms= 40.00 Mb
Bd= 26.00 Mb/s
Bde= 23.01 Mb/s
Efficient= 0.53
Described in one embodiment and be used for writing in real time a series of data blocks and the algorithm of write error correspondingly.At first follow procedure piece (not being continuously slightly) sends data, to maximize quantity and the efficient that this driver writes.Storer in the main frame must greater than the program block size with avoid driver recover and retry during overflow.When program block finishes, select or additionally provide an order, forced before sending next program block and carry out unit access.By force unit access, will be when the present procedure block end but not next program block is reported any mistake when beginning.Mistiming between reporting when finishing and reporting when the next one begins is Ms/Bs.In the reality, Ms=5MB, Bs=1MB/ second, then Ms/Bs=5 second.Can or send synchronization caching order as described below and force visit by the FUA position (seeing MMC-3) in the write order.
In one embodiment, this driver will be in write error interruption U DMA/DMA transmission constantly.This driver is not finished whole transmission.If this is relevant with this transmission greater than a good hundreds of kilobyte.
In one embodiment, main frame is also specified retry and whole wrong overtime maximum number by mode page.This also is a reason of error message.
In one embodiment, this driver will wrong address occur by request detection order report.This main frame can be supposed to follow closely the ECC piece ECC piece afterwards that mistake occurs and still not write fully, therefore can write data to it.This is important for DVD+R, and this is because can only write in complete ECC piece.
In one embodiment, after mistake, main frame sends the synchronization caching order with address parameter, can recover to write in which piece from buffer memory with explanation.These pieces will be that the address is higher than the piece that wrong address occurs.
Fig. 5 shows the synchronization caching order.The definition of synchronization caching order shows operation code 51, have the execution of this order of expression and respond style the IMMED position parameter byte 52 and such as the other parameter of the RELADR of expression relative address.One group of byte 53 presentation logic block address.Its thought is to use a piece in LBA (Logical Block Addressing) (LBA) the sensing buffer memory.Described equipment must use this LBA to find this piece in the buffer memory.All pieces that have this LBA or higher LBA in the buffer memory all must be written into CD.Alternatively, all pieces with higher LBA that are written into this driver after indicator dog all will be written into this CD.
Notice that foregoing error monitoring and reporting process can be used for DVD+RW and DVD+R.This means and need not to provide " deposit track " order and skip zone on the DVD+R medium.The key point of this process is as follows.By the work of follow procedure piece, the number of writing link is minimized.Writing link is that finger actuator stops to write and continues from its position that stops after a while.By minimizing the number of link, the possibility of write error reduces and keeps low-level CD directly to rewrite (DOW).By force unit access when each program block finishes, can keep the error detector time for minimum, therefore recover fast.This can save the storer of main frame one side, because during restoration the new real time data of Chan Shenging must be buffered.
The special synchronization caching characteristic type of support such as buffer memory order, main frame need not after mistake transmission procedure piece again.If if this host work is big in the internal storage of big transmission length and this driver, this point just is even more important.Therefore, this equipment comprises the cache buffer that is used to store data block, and this host interface receives buffer memory order, and this order indication write error is used for the address of the cache buffer recovering to write afterwards.Especially, the address in the buffer memory order is the LBA (Logical Block Addressing) of the data block recovering to write, and perhaps indication has the data block of data block for recovering to write of next higher LBA (Logical Block Addressing).Importantly use the data block recovery record in the impact damper of recording unit Already in, rather than above-mentioned special synchronization caching order.
Note, on the write-once storage medium, for example on the DVD+R, can support skip functions.Usually, we write medium with DVD+R from order and bring up to the medium that allows F.F..Write by equipment being regarded as by the piece skipped, these pieces will be taken as such as the compact disc states of posting field indicator (RAI) and handle.Importantly, the big transmission of this equipment active break when write error.
In one embodiment, specify time-out time and number of retries by special command.Further describe this point hereinafter.
Fig. 6 shows the sequential chart of order and response.After host interface 15 transmission instructions and corresponding data 61, exist order to finish response 62.Further the time 63 between 62 is finished in definition command 61 and order, to obtain error condition report timely.MMC-3 has only specified transfer rate, and does not specify the byte of last transmission and the order of driver to finish the time lag (timelapse) that responds between 62.The method that solves or be directly to specify this time lag.Directly be defined as and specify maximum time lag and be referred to as " command timeout " or " maximum allocated time ".Command timeout can be applicable to many orders.Overtime is maximum time between order and order are finished.If driver must innerly stop an order to realize this point, then this driver must return a mistake.
Note, also can specify the number of retry.Because driver can't find the address of requirement, reading order may be delayed time.Its experience is jumped and is read the loop of address, if unsuccessful then jump once more and read.By the number of restriction retry, can earlier report approaching read error, thereby earlier finish this order.
Fig. 7 a shows the connector that is used for interface on the driver.Show the rear side 71 of driver.This connector of driver rear side is 5 to close 1 connector.First connector 72 is numeral output, and second connector 73 is analogue audio frequency output (4 pins are according to the MPC-2 specification).May not support this audio frequency output.Master/slave connector 74 for be used for CS (cable selection), M (master) and S (from) the jumper block of 3 positions, wire jumper 75 is shown as the wire jumper main separation that is positioned at acquiescence selects the position.The 4th the double flat-cable connector of ATA-2 that connector 76 is 40 pins, (the shrouded) ﹠amp that covers; Sew up (keyed) (removing pin 20) of wire.This connector is also referred to as the IDE connector, is used for as ATA/ATAPI-5 described by ATA cable and host interface.Last connector 77 is the DC power import according to industrial standard 4 pin cables.This DC power connector provides the DC power supply from the external power source supply (+5 volts and+12 volts) for driving
Fig. 7 b shows the IDE connector layout of each pin function of definition.Data connector is used to be interfaced to host computer system.Detailed description is seen ATA/ATAPI-5.Master/slave connector 74 is used for according to existing PC configuration the IDE data cable being installed.Having three kinds may connect: equipment is (wire jumper is at the Slave) of subordinate; Equipment is main (wire jumper is on the Master of acquiescence); Equipment is main or subordinate (wire jumper is on Cable Select), and this depends on the configuration of another connected device.Also refer to the cable selection when not having wire jumper.
Note, do not recover from write error by driver when MMC-3 does not allow real time record.Suggestion has in driver carries out the ability of recovering during writing or reading.MMC-3 includes only number of retries and command timeout.Command timeout is the maximum time that sends the message of carrying out this order.This command timeout can't be used for restore funcitons, and this is will directly to send after receiving these data because order is finished.Therefore in MMC-3, the error condition that writes during a series of data blocks can't be reported to main frame.
In one embodiment, provide solution in the time of to carry out real time record.For example in the real time record of writing optical disk immediately, (for example among the PC) main frame is followed this driver.When activating rejuvenation in this driver, this main frame must wait until that this driver finishes this recovery.Wait during the real time record may cause data storage generation impact damper to overflow, and therefore need skip data.This has just formed has the visible inferior quality record of being skipped data.In order to improve this point, comprised overtime during the record in one embodiment.Overtime being defined as during the record is not that the institute that writes is free during carrying out write order, and this time originates in the threshold level that the impact damper level has just striden across the data routing impact damper, ends at last part and is written into.Overtime and command timeout difference during the record is, the maximum standby time amount of other operation of command timeout definition except write operation self.Below further explain this point.
Fig. 8 shows message, write operation and other operation during writing down on the host interface.Top timeline 81 shows the message at host interface and IDE level.This message comprises will be by a series of data blocks 84 of real time record.It is the operation of CD level that bottom timeline 82 shows at Media Interface Connector.Mark A on the top timeline 81 represents the beginning of write commands sequence, wherein has only this equipment to have enough spaces this data storage just can be provided next write order in impact damper the time.Mark B represents the intersection of buffer threshold level.This buffer threshold level is a needed minimum data amount in the impact damper before this equipment can begin write operation.Through being used to begin the time-delay T of the process of writing RSAfterwards, this driver begins to carry out write operation to medium, and C represents with mark.Write error 85 occurs at comparison D place, for example offset track (off_track) mistake then needs time T in equipment RBTRecover.If should recover not success, then interrupt writing process, and produce the error message of the position of indication write error 85.After recovering successfully, this equipment begins continuous write operation once more at mark E place.At the flag F place, need calibrate, this needs time T CALCarry out this calibration.At mark G place, this equipment begins write operation once more after calibration.At mark H place, this writes process this device end.The timeline 83 of bottom is illustrated in the details of the write order on the top timeline 81 to explain this write order.At mark P place, the IDE write order is sent to this equipment.After this order, at mark Q place, data transmission is to driver.At mark R place, message is finished in order sent to main frame.Notice that the data of transmission are not write on the storage medium as yet, therefore existing command timeout (be coupled to order and finish message) can't be used to transmit the error state of the process of writing self.
In one embodiment, overtime being defined as during the record:
T OUT=T RS+T RET+T CAL
Therefore, this equipment real time summation that above-mentioned each element is spent and with summation T OUTThe maximal value given with this equipment compares, for example as included parameter in the order.If the actual computation value surpasses this maximal value, then interrupt this and write process, produce error message and give main frame this message report.
In one embodiment, overtime during the record is defined as a set time, sequence each to be written not simultaneously main frame must set in advance this set time in time.
Example 1: when writing the 3M byte, overtime during the record is made as 500 milliseconds.Work as T OUTWhen being higher than set-point overtime during the record, driver stops current operation, for example retry or calibration, and mistake sent to driver.For writing the very large data of quantity, for example, main frame need write the 500M byte, uses during 500 milliseconds the identical record overtimely, and calibration for the second time will produce a mistake.This point needs, because for the bigger data pulse piece that will be recorded, and the calibration of main frame expection carrying out one or many.Therefore main frame need set during the bigger record overtime, thereby write big data block.
In one embodiment, its thought is to use window structure, and (for example this window is 20 seconds) resets such as the real time (T that is used for other operation of calibration after each window OUTCounter).Therefore during the record overtime in given maximal value be defined as the maximal value of current window.Like this, T OUTCalculating can be used for each data length to be recorded.Therefore overtime during need not when the length of each data to be recorded changes, record to be set.In concrete instance, at the T that resets during the opening entry and after each window at 30 seconds OUTCounter.Explain this replacement and window by the diagram among following Fig. 9.
The sequential chart that Fig. 9 shows write operation and is used for overtime window structure.It is the write operation of media write level that timeline 91 shows at Media Interface Connector.At mark K place opening entry, window 92 begins thus.At first mark M place, this close.And at the new window of each mark M place beginning.At each mark M place, T OUTCounter is reset.Between each window phase, carry out T OUTCalculating, if actual T OUTSurpass overtime during the record, then reporting errors as described above.For example carry out calibration, write error takes place at mark 0 place at the label L place, but the retry success.Reporting errors and continue write operation not.
Although the present invention makes an explanation by the embodiment that uses the DVD+RW CD, but the present invention also is applicable to other record carrier, as rectangular optical cards, magneto-optic disk, high density (blue light) CD or be used for the information storage system of any other type of a series of data blocks of real time record.
Note, in presents, word " comprises " not to be got rid of except cited element or other element the step or the existence of step, word " " before the element or " one " do not get rid of and have a plurality of this elements, Reference numeral does not limit the scope of the claims, can implement the present invention by hardware and software, can represent many " devices " or " unit " with identical hardware or software.In addition, scope of the present invention is not limited to these embodiment, the present invention includes each and whole novel feature or aforementioned combination of features.

Claims (16)

1. go up the equipment of recorded information at storage medium (11), this equipment comprises:
Media interface devices (14) is used for and storage medium (11) interface, thereby is recorded in data on this medium and retrieve data from this storage medium;
Host interface means (15) is used for communicating by letter with main frame (13) by the message according to agreement, and this message comprises the write order that writes a series of data blocks in real time; And
Error monitoring device (40) is used for producing error message and informing main frame according to the error condition in this series data piece.
2. the described equipment of claim 1, wherein error monitoring device (40) is configured to, if write error, then the position with write error in this series data piece is included in this error message.
3. the described equipment of claim 1, wherein error monitoring device (40) is configured to, if write error, the address of write error then occurs by request detection order report.
4. the described equipment of claim 1, wherein main machine structure device (15) is configured to receive an order, and this order force unit access is to send error message when this series data block end.
5. the described equipment of claim 1, wherein this equipment comprises the cache buffer (38) that is used to store data block, and host interface means (15) is configured to receive a buffer memory order, and this order is used in reference to be shown in and recovers the address that writes after the write error in the cache buffer.
6. the described equipment of claim 5, wherein this address in the buffer memory order is the LBA (Logical Block Addressing) of the data block recovering to write, perhaps to have the data block of next higher LBA (Logical Block Addressing) be to wait the data block recovering to write in indication.
7. the described equipment of claim 1, wherein host interface means (15) is arranged for receiving the overtime order during indication is write down, this is overtime defined during the record other operation except the write data piece to the full extent spendable maximum time amount, and error monitoring device (40) is arranged for determining that described other operates in employed actual amount of time during the record, and is used for surpassing described maximum time in described actual amount of time and produces described error message during amount.
8. the described equipment of claim 7, wherein error monitoring device (40) is arranged for determining the described actual amount of time in the time window, and is used for the follow-up time window during the setting recording.
9. the method for error monitoring during record on the storage medium, this method comprises:
By message and main-machine communication according to agreement, this message comprises the write order that is used for writing in real time a series of data blocks, and
Produce error message to inform main frame according to the error condition in this series data piece.
10. the described method of claim 9 wherein produces this error message and comprises, if write error, then the position with write error in this series data piece is included in this error message.
11. the described method of claim 9, this method comprises:
With data block store in cache buffer, and
Receive the synchronization caching order, this order is used for indicating cache buffer after the write error to be used to the address of recovering to write.
12. the described method of claim 9, this method comprises: receive overtime order during the indication record, this is overtime defined during the record other operation except the write data piece to the full extent spendable maximum time amount; Determine that described other operates in employed actual amount of time during the record; And surpass described maximum time in described actual amount of time and produce described error message during amount.
13. be used to control the method for the described recording unit of claim 1, this method comprises:
By message and main-machine communication according to agreement, this message comprises the write order that is used for writing in real time a series of data blocks; With
Receive error message according to the error condition in this series data piece from this equipment; And
Use a recovery to shelter this mistake when this series data piece playback.
Send an order 14. the described method of claim 13, wherein said communication comprise, this order when this series data block end force unit access to receive this error message.
Send the synchronization caching order 15. the described method of claim 13, wherein said communication comprise, this order is used for indicating the cache buffer of this recording unit after the write error to be used to the address of recovering to write.
16. be used for the computer program of recorded information, this program can cause the processor enforcement of rights to require any one described method in 9 to 15.
CN 200480013831 2003-05-20 2004-05-03 Handling real-time write errors Pending CN1791927A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
EP03076514.3 2003-05-20
EP03076514 2003-05-20
EP03104636.0 2003-12-11

Publications (1)

Publication Number Publication Date
CN1791927A true CN1791927A (en) 2006-06-21

Family

ID=36788809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200480013831 Pending CN1791927A (en) 2003-05-20 2004-05-03 Handling real-time write errors

Country Status (1)

Country Link
CN (1) CN1791927A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114503080A (en) * 2019-08-06 2022-05-13 奥特瑞克斯股份有限公司 Error handling during asynchronous processing of sequential data blocks

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114503080A (en) * 2019-08-06 2022-05-13 奥特瑞克斯股份有限公司 Error handling during asynchronous processing of sequential data blocks
CN114503080B (en) * 2019-08-06 2022-10-28 奥特瑞克斯股份有限公司 Error handling during asynchronous processing of sequential data blocks

Similar Documents

Publication Publication Date Title
CN1276427C (en) Information reproducing equipment, obtaining method and program for data management information and storage medium
US6226441B1 (en) Multipurpose digital recording method and apparatus and media therefor
CN103135940B (en) Implementing enhanced fragmented stream handling in a shingled disk drive
US7373477B2 (en) Fragmentation executing method and storage device
CN1273419A (en) Recording medium for storing chaining type information and method for procesing defect zone using it
CN1577588A (en) Data recording method and data reproducing method with robust error handling capability and data recording and reproducing apparatus thereof
CN1042065C (en) Method of and apparatus for recording and reproducing data
CN1567440A (en) Method and apparatus for recording/playback of data to/from an optical recording medium
CN1784742A (en) Method for formatting an optical disc
CN1820318A (en) Apparatus for and method of recording digital information signals
CN1122975C (en) Information recording method and its device
CN1791927A (en) Handling real-time write errors
CN1472742A (en) Method for recording data on compact disc by good recording blocks to replace defected blocks
CN1947190B (en) Method and device for recording real-time information
US20060282699A1 (en) Handling real-time write errors
EP4250082A1 (en) System and method for performing data read-write operations in zoned storage devices
CN1551185A (en) Information recording method and device thereof
CN101036194A (en) Defect management for real-time information
JP4211563B2 (en) Playback / recording device
CN1324474C (en) System and method for detecting write errors in a storage device
CN100476979C (en) Device and method for recording information with reorganization of defect management information
EP1629487A1 (en) Handling unwritten areas on a storage medium
CN1791926A (en) Handling unwritten areas on a storage medium
CN100390721C (en) Method and system for accessing video and audio material in computer device
CN1316376C (en) Multistage management structure and method for buffer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication