摘要:
A buffer management method operates by receiving a read command, wherein the read command comprises a read destination address for designating an associated area of a storage media; receiving write commands, wherein each of the write command comprises a data block and a write destination address for designating an associated location of the storage media to store the data block; buffering the data blocks of the write commands in a buffer; generating a latest list, wherein the latest list comprises a plurality of buffer indexes indicating buffer areas for storing the data blocks associated with the latest certain amount of received write commands; and determining whether the read destination address of the read command is associate with the latest list.
摘要:
A buffer management method is provided. A host issues a read command requesting access for a read data block and a write command requesting recording of a write data block. A write buffer is dedicated to store the write data block. A read buffer is dedicated to store the read data block. The method comprises entering the optical disc recorder into a write loop. During the write loop, the optical disc recorder triggering a write command handling procedure in response to the write command; triggering a read command handling procedure in response to the read command; and triggering a pre-recording procedure to prepare the write data block in the write buffer for recording. Wherein contents between the write buffer and read buffer are exchangeable during the write handling procedure, the read handling procedure or the pre-recording procedure.
摘要:
The invention provides a method for data recovery. In one embodiment, a memory comprises a plurality of pages for data storage. First, first data is obtained from a host. A first page for storing the first data is then selected from the pages of the memory. A start page link indicating the first page is then stored in the memory. The first data, a first page link indicating a next page, and first FTL fragment data corresponding to the first page are then written into the first page. Next data is then obtained from the host. The next data, a next page link indicating a subsequent page, and FTL fragment data corresponding to the next page are written into the next page.
摘要:
A buffer management method is provided, particularly adaptable in an optical disc drive to access an optical disc. One or more data blocks are recorded to the optical disc in response to received write commands. Data blocks corresponding to the write commands are first buffered in a buffer of the optical disc drive. Thereafter, one or more write tasks may be organized based on the buffered write commands, each associated with a group of data blocks having consecutive destination addresses. A recording operation can be scheduled based on those write tasks, and the recording operation is performed to record the data blocks to the optical disc.
摘要:
The invention provides a method for data recovery. In one embodiment, a memory comprises a plurality of pages for data storage. First, first data is obtained from a host. A first page for storing the first data is then selected from the pages of the memory. A start page link indicating the first page is then stored in the memory. The first data, a first page link indicating a next page, and first FTL fragment data corresponding to the first page are then written into the first page. Next data is then obtained from the host. The next data, a next page link indicating a subsequent page, and FTL fragment data corresponding to the next page are written into the next page.
摘要:
An optical disc drive is provided, mainly comprising a buffer, a processor and a driving module for accessing an optical disc. The optical disc drive receives a plurality of write commands. Each write command comprises a data block and a destination address. The buffer buffers data blocks to be recorded to the optical disc with corresponding write commands in either a random mode or a sequential mode. The processor schedules a recording operation based on the write commands, and selectively switches the buffer to the random mode or to the sequential mode based on arrangements of data blocks buffered in the buffer. The driving module is controlled by the processor to perform the recording operation, whereby the data blocks are recorded to the optical disc when a start recording condition is met. Specifically, the start recording condition varies with the random or sequential modes.
摘要:
A method for recovering disc management information of a recording medium. (a) When the recording medium is not closed, a readable TDMS which is included in an in-use TDMA of TDMAs of the recording medium and is readable is searched for. (b) It is determined whether a piece of information associated with an inconsistency flag of the readable TDMS is reliable. (c) If the associated piece of information is unreliable, at least a detection condition is determined according to the information included in the readable TDMS and the in-use TDMA. (d) A detection procedure, constrained by the at least the detection condition, is performed on the recording medium for determining an update on the piece of information associated with the inconsistency flag. (e) An update TDMS is generated according to the readable TDMS and the update on the piece of information associated with the inconsistency flag.
摘要:
A method for recovering disc management information of a recording medium. (a) When the recording medium is not closed, a readable TDMS which is included in an in-use TDMA of TDMAs of the recording medium and is readable is searched for. (b) It is determined whether a piece of information associated with an inconsistency flag of the readable TDMS is reliable. (c) If the associated piece of information is unreliable, at least a detection condition is determined according to the information included in the readable TDMS and the in-use TDMA. (d) A detection procedure, constrained by the at least the detection condition, is performed on the recording medium for determining an update on the piece of information associated with the inconsistency flag. (e) An update TDMS is generated according to the readable TDMS and the update on the piece of information associated with the inconsistency flag.
摘要:
A random access control method is provided, implemented in an optical disc drive for recording data to an optical disc. In the optical disc drive, a buffer stores a plurality of write commands each associated with a data block bound to a destination address. A processor controls the buffer to build a disc write task from the write commands in which addresses are organized in order. A drive unit is controlled by the processor, performing a recording operation to record the data blocks to the optical disc according to the disc write task; wherein the processor further controls the drive unit to verify the recorded data blocks after completing the recording operation.
摘要:
An information medium device having an expansible function module, more particularly, an information medium device such as a USB flash disk or a MP3 player having an expansible function module such as a radio module disposed on an external lid, so that when the external lid is covered onto the USB flash disk or the MP3 player, the expanded radio function can be operated.