Buffer management device, record and reproduction apparatus and management method for buffer memory
AssigneeSunplus Technology Co., Ltd.
InventorFong-Hwa Song
Life of this patent
Estimating the term…
Abstract
A buffer management device of record and reproduction apparatus for an optical storage medium and a management method for a buffer memory are provided. By employing two sets of pointers to manage the parts of the buffer memory needed for decoding and encoding respectively, the buffer memory inside the record and reproduction apparatus such as a DVD drive has a better efficiency of switching between the read operation and the write operation.
Claims20
A buffer management device used for managing a buffer memory inside a record and reproduction apparatus for an optical storage medium, wherein the buffer memory includes a decoding buffer and an encoding buffer, and the decoding buffer and the encoding buffer include a plurality of pages respectively, the buffer management device comprising:
- a set of decoding pointers including a sector decoding pointer for indicating which page of the decoding buffer is used for processing sector data, a read decoding pointer for indicating which page of the decoding buffer is used for reading data, and a host decoding pointer for indicating which page of the decoding buffer is used by a host for processing data;
- and
- a set of encoding pointers including a sector encoding pointer for indicating which page of the encoding buffer is used for processing sector data, a write encoding pointer for indicating which page of the encoding buffer is used for writing data, and a host encoding pointer for indicating which page of the encoding buffer is used by the host for processing data,
- wherein when the record and reproduction apparatus is recording data into and reproducing data from the optical storage medium at one time, the buffer management device simultaneously accesses the buffer memory by using the set of decoding pointers and the set of encoding pointers respectively.
A record and reproduction apparatus for an optical storage medium, comprising:
- a read/write unit used for physically writing data into or reading data from the optical storage medium;
- an encoding unit used for encoding the data before the data is written into the optical storage medium;
- a decoding unit used for decoding the data after the data is read from the optical storage medium;
- a buffer memory including a decoding buffer and an encoding buffer, wherein the decoding buffer and the encoding buffer include a plurality of pages respectively;
- a buffer memory interface coupled to the buffer memory;
- and
- a buffer management device coupled to the buffer memory interface comprising:
- a set of decoding pointers, wherein the set of decoding pointers includes a sector decoding pointer for indicating which page of the decoding buffer is used for processing sector data, a read decoding pointer for indicating which page of the decoding buffer is used for reading data, and a host decoding pointer for indicating which page of the decoding buffer is used by a host for processing data;
- and
- a set of encoding pointers, wherein the set of encoding pointers includes a sector encoding pointer for indicating which page of the encoding buffer is used for processing sector data, a write encoding pointer for indicating which page of the encoding buffer is used for writing data, and a host encoding pointer for indicating which page of the encoding buffer is used by the host for processing data,
- wherein when the record and reproduction apparatus is recording data into and reproducing data from the optical storage medium, at one time, the buffer management device simultaneously accesses the buffer memory by using the set of decoding pointers and the set of encoding pointers respectively.
A management method used for managing the buffer memory inside a record and reproduction apparatus for an optical storage medium, the management method comprising:
- providing the buffer memory including a decoding buffer and an encoding buffer, wherein the decoding buffer and the encoding buffer include a plurality of pages respectively;
- providing a set of decoding pointers including a sector decoding pointer for indicating which page of the decoding buffer is used for processing sector data, a read decoding pointer for indicating which page of the decoding buffer is used for reading data, and a host decoding pointer for indicating which page of the decoding buffer is used by a host for processing data, wherein when the record and reproduction apparatus is reading data from the optical storage medium, the data is registered into the decoding buffer of the buffer memory first, any page of the decoding buffer used for registering the data will be pointed by the sector decoding pointer, the read decoding pointer and the host decoding pointer in sequence and processed correspondingly;
- and
- providing a set of encoding pointers including a sector encoding pointer for indicating which page of the encoding buffer is used for processing sector data, a write encoding pointer for indicating which page of the encoding buffer is used for writing data, and a host encoding pointer for indicating which page of the encoding buffer is used by the host for processing data, wherein when the record and reproduction apparatus is writing data into the optical storage medium, the data is registered into the encoding buffer of the buffer memory first, any page of the encoding buffer used for registering the data will be pointed by the host encoding pointer, the write encoding pointer and the sector encoding pointer in sequence and processed correspondingly;
- wherein when the record and reproduction apparatus is recording data into and reproducing data from the optical storage medium at one time, the buffer management device simultaneously accesses the buffer memory by using the set of decoding pointers and the set of encoding pointers respectively.
Dependencies are inferred from the claim text.