CN1292359C - Memory operating method for disc recording player - Google Patents
Memory operating method for disc recording player Download PDFInfo
- Publication number
- CN1292359C CN1292359C CN 03150428 CN03150428A CN1292359C CN 1292359 C CN1292359 C CN 1292359C CN 03150428 CN03150428 CN 03150428 CN 03150428 A CN03150428 A CN 03150428A CN 1292359 C CN1292359 C CN 1292359C
- Authority
- CN
- China
- Prior art keywords
- data
- mentioned
- main frame
- stored
- read
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Optical Recording Or Reproduction (AREA)
Abstract
The present invention relates to a content of an operating method of a memory in an optical disc. The memory in an optical disc recording player is particularly divided into two functions of recordation and playing, more memory pages are activated by commands to high probability, and unnecessary access time is reduced. Consequently, even if a host computer alternately sends out a reading command and a writing command, the optical recording player can respond the commands of the host computer under the precondition of no time delay. The sizes of a recording region and a playing region are particularly regulated according to the reading command and the writing command. Consequently, the memory is operated in adaptability, and the impact of the reading region and the writing region are prevented.
Description
Technical field
The present invention is that relevant disc record is when playing, to the content of the memory operating method in the video disc recording player.
Background technology
General optical recording media, it is the video disc recording playing device of recording played CD, be as CD (compact disc), DVD (digital versatile disc) etc. as recording mediums, play CD to be recorded in above-mentioned optical disc data or at the device of above-mentioned video disc recording data.
Above-mentioned DVD, basic identical on the structural principle with CD, promptly utilize the difference of the luminance brightness of laser-bounce, discern with 0 and 1, come reading of data with the principle that CD is same.But difference is exactly that the storage amplitude of data is finer than CD.
Above-mentioned video disc recording playing device as shown in Figure 1, can connect main frame.At this, above-mentioned main frame is a kind of PC (Personal computer), and the video disc recording playing device can obtain the support of above-mentioned PC.
During above-mentioned host record/broadcast, Fig. 2, read/write command shown in Figure 3 are sent to the video disc recording playing device, above-mentioned video disc recording playing device, read/write command according to above-mentioned main frame, broadcast is recorded in the data on the CD, and be transmitted in main frame, or the data recording that will be transmitted by main frame is on above-mentioned CD.
Fig. 2 is during from the dvd playback data, and above-mentioned main frame is to an illustration of the general read command form of video disc recording playing device output.Fig. 3 is when the CD identifying recording layer, from the illustration of above-mentioned main frame to the write order form of video disc recording playing device output.
At this moment, above-mentioned read/write command comprises: specify the LBA (Logical BlockAddress) of the position read or write, the transmission length (transfer length) in thereafter size of data is followed in prompting.
For example, when playing the data that are recorded on the CD, above-mentioned main frame generates the write order as Fig. 2, and outputs to optical disc recording apparatus.Above-mentioned video disc recording playing device by seeking (seek), is read and is transmitted equirotal data from the CD LBA of above-mentioned write order appointment, and be recorded in the storer (not shown) in the video disc recording playing device.Afterwards, above-mentioned video disc recording playing device is read the data that are stored in storer, is retransmitted to main frame afterwards.
In addition, when generation will record data on the CD, main frame as the write order of Fig. 3 and the data that will write down together be sent to the video disc recording playing device.Above-mentioned video disc recording playing device is the data that are sent to from above-mentioned main frame, again be stored in the activation storer in the above-mentioned video disc recording playing device, afterwards by seeking, find the interior target record position (being LBA) of CD of above-mentioned write order appointment, record and the same length of transmission length.
As mentioned above, on CD, data read/write is to form by the buffering of operating the locked memory pages (Page) in the CD recording and reproducing apparatus.
At this moment, above-mentioned video disc recording playing device transmits when reading or writing order from main frame, time that should minimum latency, and respond related command.
And then, in order to improve the speed of above-mentioned video disc recording playing device, carry out following buffer memory (cache) action.Under situation about playing, during the input read command, be not only the data that read the present specified address of read command, the data of address are also read in advance thereafter, and are stored in storer.This be because, the time that need grow when seeking the related physical address on the disc and reading the data identical with the length that stores.As above-mentioned disk player, (seek) action of seeking of mobile light picker wants significantly slow compared with the speed that transmits to main frame, thereby need read the data of desired address and next step address at main frame in advance, and be stored in storer, action of giving after such action is called.
Secondly, when importing next step order, confirm that whether desired order data is consistent with the data that read in advance, is transmitted in main frame to the data in the storer afterwards.Such process will be carried out repeatedly at the read command consecutive hours.The reason that aforesaid situation is possible is that the data that main frame requires are the probability height of the data of next step address after the data that require in the past.
In addition, under the situation about writing, at first the continuity data are lodged in storer with physical property, seek with disposable afterwards, be recorded on the disc together.
That is, under the situation about writing, be and the similar notion of cache memory.For the slow phenomenon of the translational speed that overcomes light picker, when carrying out write order, be not with write order with the data write record that is sent on disc.Be at first, be stored in storer, the main frame demonstration is normally processed.At this moment, main frame transmits continuous data with next step write order, from probabilistic, transmits in advance and the front portion data that is stored is continuous possibility height with the physical address of data on disc with the back transmission.
With said method, fully loaded or when importing discontinuous data at the continuous address date of memory storage at storer, just seek initial physical property address, and on disc record.At this moment, can write down a lot of data with seeking once.
But the order that reads or writes can also transmit with alternant on main frame.If, read and write order to a disc, when producing,, storer is hocketed for the buffering read and buffering in order to write because order produces uncontinuity with alternant, can cause serious speed slow.
Such as, (that is, the 32k byte) data suppose that storer is 10 block units, and what the video disc recording playing device stored so is not only 1 that main frame requires, and also by action of giving, reads 9 data in advance from disc, and store to suppose to require to read 1 by main frame.At this moment, be read command when (this is called damp impacts (hit)) if continue next step order, need not understand relevant data once more from disc, can directly take off the data of the 2nd in face, and be transmitted in main frame and get final product from memory read.But, when next step order is write order, be stored in remainder 9 blocks of data of above-mentioned storer, will become discommodity.That is,, write owing to the beginning from storer covers again, and store, thereby 9 blocks of data that store in advance will be lost with the data that write order transmits.As a result, the required time of 9 blocks of data is read in loss.
In addition, suppose to transmit continuously write order, in memory storage 2 continuous blocks of data are arranged, this moment is physical record not.Suppose that next step order is read command, be necessary that at first 2 blocks of data that will store in advance are recorded on the disc.At this moment,, when carrying out continuous read command, at first will be stored in 2 blocks of data of storer though do not handle the loss of time of preceding 2 write orders, be recorded on the disc after, carry out playback action again, thus may generation time loss.
Though above-mentioned situation is few more, few more to leeway, to read with the write order while or replacing under the situation about transmitting, storer can store out of use data, thereby not only on the time loss is arranged, and the situation of padding data is also arranged at optical record-play device.
As mentioned above, transmit continuously or the discontinuous transmission of write order if produce read command, read command and the transmission of replacing property of write order, that is, when order produced uncontinuity, the response speed of optical record-play device will reduce.That is, receive when reading or writing order at main frame, owing to produce the delay of response time according to order, the performance of video disc recording playing device will descend.
Summary of the invention
The present invention is in order to address the above problem, to the purpose of this invention is to provide a kind of storer is separated into and write down and play usefulness, thereby promote the video disc recording playing device memory operating method of the performance of optical record-play device.
In order to achieve the above object, the present invention adopts following technical scheme,
A kind of memory operating method of video disc recording playing device according to the read command that is transmitted by main frame, stores the data that read from disc, or stores by main frame with the data that write order is sent to, comprise,
Be separated into the step of posting field and play area;
Be characterized in,
Also comprise a step, the order that is sent to by above-mentioned main frame is if read command, whether the data of confirming above-mentioned read command requirement are stored in above-mentioned play area, if be confirmed to be when not being stored in above-mentioned play area, the desired data of above-mentioned read command, after reading from disc, when beginning to store from the initial play area of storer, by action of giving, to be positioned at above-mentioned read command the data after the fixed address, after disc reads, be stored in above-mentioned play area successively in advance; The data of above-mentioned read command request, when being transmitted in above-mentioned main frame,, the data that read are moved to the reference position direction of above-mentioned play area by above-mentioned buffer action, this step is carried out between the read command continuing phase repeatedly.
The memory operating method of optical recording player of the present invention according to above-mentioned read/write command, can change the size of above-mentioned posting field and play area.
Memory operating method according to optical recording player of the present invention, the data of above-mentioned read command request, by action of giving, when being stored in the play area of storer, when the data that are stored in above-mentioned storer are transmitted in main frame, the data that read by later action of giving, move to the reference position direction of above-mentioned play area.
Memory operating method according to optical recording player of the present invention, when the data of above-mentioned read command request are not stored in the storer play area, the desired data of above-mentioned read command, after reading from disc, when beginning to store from the initial play area of above-mentioned storer, by action of giving, to be positioned at above-mentioned read command the data after the fixed address, after disc reads, be stored in above-mentioned play area successively in advance, the data of above-mentioned read command request, when being transmitted in above-mentioned main frame, by above-mentioned buffer action, the data that read are displaced into the reference position direction of above-mentioned play area, this step is carried out between the read command continuing phase repeatedly.
A kind of memory operating method of video disc recording playing device according to the read command that is transmitted by main frame, stores the data that read from disc, or stores by main frame with the data that write order is sent to, comprise,
Be separated into the step of posting field and play area;
Be characterized in,
The order that is sent to by above-mentioned main frame is if write order, the data that are sent to above-mentioned write order, be stored in the process of above-mentioned posting field successively, write order continuous during carry out said process repeatedly, produce when discontinuous at write order, data being stored in above-mentioned posting field successively all are recorded on the disc.
Other purposes of the present invention, feature and advantage will be clear by the detailed description of drawings and Examples.
As mentioned above, the memory operating method of video disc recording player of the present invention, storer in the video disc recording playing device is divided into record to be used and plays usefulness, order to high probability, activate more locked memory pages (Page), unnecessary access time is reduced, thus even read/write command replaces at main frame, optical record-play device can be under not Fabian prerequisite in response to the order of main frame.Particularly,, regulate the size of above-mentioned posting field and play area again, thereby operational store adaptively prevents conflicting of posting field and play area according to read/write command.
Description of drawings
Fig. 1 is the data transfer procedure figure between disc record playing device and the main frame;
Fig. 2 is the synoptic diagram of an embodiment of read command form;
Fig. 3 is the synoptic diagram of an embodiment of write order form;
Fig. 4 a to Fig. 4 c is the synoptic diagram according to the embodiment of the memory operating method of optical record-play device of the present invention;
Embodiment
Below, with reference to feasibility embodiment of the present invention, describe technical scheme of the present invention in detail by accompanying drawing.
The present invention is separated into record to storer to use and play usefulness, to the order of high probability, activates more locked memory pages (Page).Secondly, when the most suitable, such as, in read command and write order, only transmit under one the situation, all storeies, only be used as a purpose, that is, just thought as broadcast or in order to use in the zone of writing down.When the poorest, when transmitting with the probability that equates substantially with write order, storer be divided into playing to use with writing down with two parts use such as, read command.Can shorten the access time to greatest extent like this.The present invention is called inner DMA (internal Direct Memory Access) to this.
Title inner DMA be because, mean all property of the data of storer moved, such as, can be used as the page 1 ~ 6 to the data between the page 2 ~ 7 or move to its reverse direction.In addition, data that can property request position, access inside (being the page).At this moment can also change access sequence.
This operation is than seeking action or carrying out read/write actions institute's time spent and lack a lot on disc.
Fig. 4 a to Fig. 4 c is for the synoptic diagram of inner DMA process of the present invention is described.
At this,, be illustrated with storer with 7 pages (2k byte) for the convenience on illustrating.In addition, suppose that by a transmission length that reads or writes the order appointment be 1.In addition, by the order that main frame transmits, suppose order with read command 1 (R1)/write order 1 (W1)/write order 2 (W2)/read command 3 (R3)/read command 8 (R8)/read command 10 (R10)/write order 3 (W3)/write order 6 (W6).At this moment, above-mentioned storer is divided into play area and posting field, and according to read command, the data storage of being read by disc is in play area, the data storing and the posting field that transmit with write order.Above-mentioned play area and posting field, according to read/write command, its size will change to some extent.
In addition, if read command or write order consecutive hours, the data that are stored in above-mentioned play area and posting field also will store continuously.
That is, shown in Fig. 4 a, under the state, storer is empty in the early stage.At this moment, suppose to transmit read command 1 (R1) by main frame, read the data that read command 1 (R1) is asked from disc, original position at memory area, when promptly being stored in the P1 page, by action of giving, (data of R2 ~ R7) are stored in the P2 ~ P7 page of storer to read to 7 in advance from disc.Secondly, read the data that read command 1 (R1) is asked, be transmitted in main frame from the P1 of storer.
Suppose that the order that and then transmits is write order 1 (W1),, R2 ~ 7 data at P2 ~ 7 pages all are displaced into P1 ~ 6 pages by inner DMA.That is, the R2 data that are stored in the P2 page are displaced into the P1 page, the R3 data that are stored in the P3 page are displaced into the P2 page, according to such process, and the like, the R7 data of the P7 page move to the P6 page.In addition, the rearmost position of storer promptly, is the P7 page of the original position of posting field, stores the W1 data that are sent to write order.At this moment, the W1 data are not recorded in disc.
And then, shown in Fig. 4 b, suppose that the order that is sent to by main frame is continuous write order 2 (W2), the data of then seeking at last, the R7 data that promptly are stored in the P6 page are with deleted.This is owing to the minimum reason of the importance of the data of seeking at last.In addition, the position of former R7 data promptly at the R6 page, will store the W2 data that are sent to above-mentioned write order.At this moment, W1 and W2 data are stored continuously.If write order can transmit continuously, then after the data sought, deleted successively by storer.
Suppose that the order that is transmitted by main frame is read command (R3), the indicator of mobile memory, the R3 data that are stored in P2 are transmitted in main frame.That is,, need not read the R3 data once more from disc because the R3 data of read command (R3) request have been stored in storer.
Secondly, by inner DMA, the data of seeking and reading, such as, R4, R5, the R6 data are in every page mode, move to the reference position direction of play area.That is, the R4 data that are stored in the P3 page are moved to the P2 page, the R5 data that are stored in P4 are moved to the P3 page, the R6 data that are stored in the P5 page are moved to the P4 page.At this moment, be stored in the data of the P5 page, may not or become useless data.
At this moment, order by the main frame transmission, be the read command that can not utilize the data of seeking, such as, if read command 8 (R8), then read the data that are relevant to read command 8 (R8) from disc, original position in the play area of storer promptly is stored in the P1 page, simultaneously by seeking action, (data of R9 ~ R12) are stored in the P2 ~ P5 page of storer to read 5 from disc.At this moment, be transmitted with write order, be stored in the W1 of the posting field of storer, the W2 data keep original appearance.That is, seek action and only proceed to storage W1, before the posting field of W2 data.
Secondly, shown in Fig. 4 c, the data by read command 8 (R8) request read from the P1 page, and are transmitted in main frame.Secondly, by inner DMA, with former R9 at P2 ~ 5 pages ~ R12 data, all property ground phase shift is to P1 ~ 4 pages of play area.Promptly the R9 data that are stored in the P2 page are moved to the P1 page, the R10 data that are stored in P3 are moved to the P2 page, the R11 data that are stored in the P4 page are moved to the P3 page, the R12 data that are stored in the P5 page are moved to the P4 page.
Next, if the order that is transmitted by main frame is read command 10 (R10), then the pointer of mobile memory is sent to main frame to page P2 and with data R10.That is, by the data of read command 10 (R10) request in storer, so there is no need to read from CD once more.
Secondly, by inner DMA, the data of seeking and reading, such as, R11, the R12 data are displaced into the play area direction in every page mode.That is, the R11 data that are stored in the P3 page are moved to the P2 page, the R12 data that are stored in P4 are moved to the P3 page.At this moment, the R9 data that are stored in the P1 page are also not by the state of host requests, to write the maintenance original appearance thereby do not delete or finish.
Secondly, suppose that the order that is sent to by main frame is write order 3 (W3),, store with the order 3 W3 data that are sent at the P5 page.At this moment, store W1 continuously, W2, W3 data.
Secondly, suppose that the order that is sent to by main frame is discrete write order, such as, during write order 6 (W6), at first, to seek by disposable the W1 that is stored in P7 to P5 ~ W3 data, continuous recording is on disc.Secondly, store the W6 data that send with write order 6 (W6) in the P7 page by main frame.
In the present invention, though the foregoing description describes the method with the direct mobile data of inner DMA method in detail, also can realize to connect catalogue (linked list) or indicator mode such as regulate again.
As mentioned above, the memory operating method of video disc recording player of the present invention, storer in the video disc recording playing device is divided into record to be used and plays usefulness, order to high probability, activate more locked memory pages (Page), unnecessary access time is reduced, thus even read/write command replaces at main frame, optical record-play device also can be under not Fabian prerequisite in response to the order of main frame.Particularly,, regulate the size of above-mentioned posting field and play area again, thereby operational store adaptively prevents conflicting of posting field and play area according to read/write command.
Though the present invention illustrates with reference to illustrated embodiment, is not limited to present embodiment, what have the present technique zone knows the knowledgeable usually, can be understood as the multiple variation that develops thus and other same embodiment.
Secondly, the technical protection domain that the present invention is real should decide according to the technical thought of additional Patent right requirement scope.
Claims (5)
1. the memory operating method of a video disc recording playing device according to the read command that is transmitted by main frame, stores the data that read from disc, or stores by main frame with the data that write order is sent to, and comprising:
Storer is separated into the step of posting field and play area;
It is characterized in that,
Also comprise a step, if the order that above-mentioned main frame is sent to is read command, whether the data of confirming above-mentioned read command requirement are stored in above-mentioned play area, if be confirmed to be when not being stored in above-mentioned play area, the desired data of above-mentioned read command, after reading from disc, when beginning to store from the initial play area of storer, by action of giving, will be positioned at above-mentioned read command the data after the fixed address, after disc reads, be stored in above-mentioned play area successively in advance; The data of above-mentioned read command request, when being transmitted in above-mentioned main frame,, the data that the read reference position direction towards above-mentioned play area is moved by above-mentioned buffer action, this step above-mentioned read command send continuously during carry out repeatedly.
2. the memory operating method of video disc recording playing device as claimed in claim 1 is characterized in that,
According to above-mentioned read/write command, can change the size of above-mentioned posting field and play area.
3. the memory operating method of video disc recording playing device as claimed in claim 1 is characterized in that,
When the data of above-mentioned read command request have been stored in the play area of storer by action of giving, when the data that are stored in above-mentioned storer are transmitted in main frame, the data that read by later action of giving, move to the reference position direction of above-mentioned play area.
4. the memory operating method of a video disc recording playing device according to the read command that is transmitted by main frame, stores the data that read from disc, or stores by main frame with the data that write order is sent to, and comprising:
Be separated into the step of posting field and play area;
It is characterized in that,
Also comprise a step, the order that above-mentioned main frame is sent to is if write order the data that are sent to above-mentioned write order, is stored in the process of above-mentioned posting field successively, this step write order continuous during carry out repeatedly; Produce when discontinuous at write order, the data being stored in above-mentioned posting field successively all are recorded on the disc.
5. the memory operating method of video disc recording playing device as claimed in claim 4 is characterized in that,
Produce when discontinuous at above-mentioned write order, the data that before are stored in posting field successively all are recorded on the disc; The data that transmit with new write order, from the storage successively of above-mentioned initial records area, above-mentioned storing process carries out repeatedly between the write order continuing phase, takes place again when discontinuous at write order afterwards, the above-mentioned data that store successively, all be recorded on the disc.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03150428 CN1292359C (en) | 2003-08-20 | 2003-08-20 | Memory operating method for disc recording player |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03150428 CN1292359C (en) | 2003-08-20 | 2003-08-20 | Memory operating method for disc recording player |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1585015A CN1585015A (en) | 2005-02-23 |
CN1292359C true CN1292359C (en) | 2006-12-27 |
Family
ID=34597521
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 03150428 Expired - Fee Related CN1292359C (en) | 2003-08-20 | 2003-08-20 | Memory operating method for disc recording player |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1292359C (en) |
-
2003
- 2003-08-20 CN CN 03150428 patent/CN1292359C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1585015A (en) | 2005-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2183744B1 (en) | Direct mass storage device file indexing | |
US7574580B2 (en) | Intelligent caching scheme for streaming file systems | |
CN1221130C (en) | Buffer optimization for simultaneous encoding-d | |
CN1145953C (en) | Method for executing modularization read and write operation, and device therefor | |
CN1196126C (en) | CD recording/reproducing device | |
CN1137482C (en) | Method for real time recording/playback of data to/from optical recording medium and method for managing files thereof | |
CN101064191A (en) | Flash memory apparatus and access method to flash memory | |
CN1684049A (en) | Information storage apparatus, information storage method and information storage processing program product | |
CN1848280A (en) | Recording device | |
KR100982118B1 (en) | Recording device, recording method, and recording medium | |
US20100226223A1 (en) | Recording and reproducing apparatus and recording and reproducing method | |
CN1292359C (en) | Memory operating method for disc recording player | |
CN1538436A (en) | Digital recording/reproducing apparatus with tmeshift function and method therefor | |
CN1890749A (en) | Recording medium, method of controlling file of the recording medium, and method and apparatus for reproducing the same | |
CN1558415A (en) | Recording apparatus and method | |
EP1684288A1 (en) | Information recorder, information recording method, and recording medium containing program | |
CN1707668A (en) | Apparatus and method for reproducing multimedia data | |
KR101072730B1 (en) | Recording/reproducing device and recording method | |
CN1294740A (en) | Image/voice data conversion device and disk unit using it | |
CN1202690A (en) | Optic disc recording transrecording of optic disc data, format of optic disc and replayer for optic disc | |
CN1315118C (en) | Writing in method for readable and read-write digital multifunction optic disc | |
CN1905045A (en) | Information playback method using information recording medium | |
JP4204433B2 (en) | Recorder and program | |
CN1303541C (en) | Memory operating method and device for disc recording player | |
CN1435834A (en) | Storage medium and device and method for recording and reproducing data using storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20061227 |