CN100444254C - Method and apparatus for optimizing data buffering - Google Patents

Method and apparatus for optimizing data buffering Download PDF

Info

Publication number
CN100444254C
CN100444254C CNB2006101538110A CN200610153811A CN100444254C CN 100444254 C CN100444254 C CN 100444254C CN B2006101538110 A CNB2006101538110 A CN B2006101538110A CN 200610153811 A CN200610153811 A CN 200610153811A CN 100444254 C CN100444254 C CN 100444254C
Authority
CN
China
Prior art keywords
impact damper
data
critical value
stored
total amount
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.)
Active
Application number
CNB2006101538110A
Other languages
Chinese (zh)
Other versions
CN1932987A (en
Inventor
吴松阳
蔡品再
刘秉周
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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Publication of CN1932987A publication Critical patent/CN1932987A/en
Application granted granted Critical
Publication of CN100444254C publication Critical patent/CN100444254C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for storing data in a first buffer and a second buffer is disclosed. The method includes: sequentially storing an incoming data into the first buffer and the second buffer according to a first threshold; transferring data stored in the second buffer to the first buffer when an amount of data stored in the second buffer reaches a second threshold; and driving the first buffer to output data stored therein when an amount of data stored in the first buffer exceeds the first threshold after transferred data is received from the second buffer.

Description

Method, device and the system of optimization data buffering
Technical field
The invention provides a kind of mechanism of storage data, refer to a kind of method, device and system of optimization data buffering especially.
Background technology
The discs that volume is little, in light weight, storage density is high and with low cost has become one of the most universal non-volatile Storage Media.High power speed optical disk recording device is during as data storing, buffer data deficiency (Buffer Under Run) is a very crucial problem, briefly, the occurrence cause of buffer data deficiency is exactly to satisfy CD-ROM drive burning one discs required under high speed because data source is unable to supply enough data.
With digital video cd-rom recorder (digital video recorder, DVR) be example, DVR is on discs during the burning image data, usually the speed of burning image data is fixed, and the speed that produces greater than data usually of the writing speed of DVD cd-rom recorder, under this situation, in case the DVD cd-rom recorder writes data all in the buffer zone after one discs, this buffer zone just can empty, and the DVD cd-rom recorder just can produce a point of contact and write down the data that next record is stored in this buffer zone at this moment.In the process of data burning, less point of contact can obtain burning quality preferably, therefore, needs a kind of new method to reduce the number of the point of contact that is produced to reach the optimization of data burning.
Summary of the invention
Therefore, fundamental purpose of the present invention promptly is to provide a kind of method, device and system, by passing on the data that are stored in first impact damper and second impact damper and when whole total amounts of the data that are stored in this first impact damper and this second impact damper reach a certain threshold, drive the data that first impact damper output is stored in wherein and reach optimized data buffering, to address the above problem.
According to one embodiment of the invention, it discloses a kind of method of data buffering, be used for storage data in one first impact damper and one second impact damper, this method includes: come in regular turn an input data storing to this first impact damper and this second impact damper according to one first critical value; When a total amount of the data that are stored in this second impact damper reaches one second critical value, the data that are stored in this second impact damper are transferred to this first impact damper; And after receiving the data of being passed on, when the total amount of the data that are stored in this first impact damper surpasses this first critical value, drive this first impact damper and export its stored data from this second impact damper.
Described method also includes: described first critical value is provided; Come in regular turn the step of an input data storing to described first impact damper and described second impact damper to be comprised in addition according to first critical value: store the input data and reach first critical value up to the data total amount that is stored into first impact damper to described first impact damper; And after the data total amount that is stored into described first impact damper reaches first critical value, store these input data to this second impact damper.
Described method also includes: provide described second critical value with reference to described first critical value; The step that the data that wherein will be stored in described second impact damper are transferred to described first impact damper is to be performed when the data total amount that is stored in described second impact damper reaches described second critical value.
Described input data are multi-medium datas.
Described method also includes: the quality according to multi-medium data decides described first critical value and described second critical value.
Described first impact damper is exported its stored data to a light memory device.
The data output speed of described first impact damper is different from the data input speed of described second impact damper.
Disclose a kind of device of data buffering according to another embodiment of the present invention, be used for storage data in one first impact damper and one second impact damper, this device includes: the data storing control module, be couple to this first impact damper and this second impact damper, be used for according to one first critical value control, one input data storing to this first impact damper and this second impact damper; And the data forward control unit, be couple to this first impact damper and this second impact damper, be used for when the total amount of the data that are stored in this second impact damper reaches one second critical value, the data that control is stored in this second impact damper are transferred to this first impact damper; And after receiving the data of being passed on, when the total amount of the data that are stored in this first impact damper surpasses this first critical value, drive this first impact damper and export the data that are stored in wherein from this second impact damper.
Described device also includes: the critical value supply is used to provide described first critical value; Described data storing control module control input data are stored into first impact damper and reach first critical value up to the data total amount that is stored into first impact damper, and after the data total amount that is stored into described first impact damper reaches first critical value, will import data storing to described second impact damper.
Described critical value supply provides second critical value in addition; And the data that described data forward control unit control is stored in described second impact damper are transferred to described first impact damper, and when the data total amount that is stored in described second impact damper reaches described second critical value, drive described first impact damper and export its stored data.
Described input data are multi-medium datas.
Described device also includes: the critical value supply is used for determining described first critical value and described second critical value according to the quality of multi-medium data.
Described first impact damper is exported its stored data to a light memory device.
The data output speed of described first impact damper is different from the data input speed of described second impact damper.
Disclose a kind of system according to another embodiment of the present invention, include: first impact damper with data buffering function; Second impact damper; The multi-medium data generation device is used for producing input data; The data buffering control device, be couple to this multi-medium data generation device, this data buffering control device includes: the data storing control module, be couple to this first impact damper and this second impact damper, and be used for controlling this input data storing to this first impact damper and this second impact damper; The data forward control unit, be couple to this first impact damper and this second impact damper, be used for controlling the data that are stored in this second impact damper and be transferred to this first impact damper, and after receiving the data of being passed on from this second impact damper, when a total amount of the data that are stored in this first impact damper surpasses this first critical value, drive this first impact damper and export the data that are stored in wherein; And light memory device, be couple to this first impact damper, be used for burning from the data of this first impact damper output on a discs.
Described system also includes: the critical value supply is used to provide described first critical value; Described data storing control module is controlled described input data storing and is reached described first critical value to described first impact damper up to the data total amount that is stored into first impact damper; And after the data total amount that is stored into first impact damper reaches described first critical value, described input data storing is arrived described second impact damper.
Described critical value supply provides second critical value in addition; And the data that described data forward control unit control is stored in described second impact damper are transferred to described first impact damper, and when the data total amount that is stored in described second impact damper reaches described second critical value, drive described first impact damper output data wherein.
Described system also includes: the critical value supply is used for deciding described first critical value and described second critical value according to the quality of described input data.
The data output speed of described first impact damper is different from the data input speed of described second impact damper.
Described first impact damper is to be incorporated among the described light memory device, and described second impact damper is to be incorporated among the described multi-medium data generation device.
Described light memory device is the DVD cd-rom recorder.
Disclose a kind of method of data buffering according to another embodiment of the present invention, be used for storage data in one first impact damper and one second impact damper, this method includes: store input data in regular turn to this first impact damper and this second impact damper; And when whole total amounts of the data that are stored in this first, second impact damper reach a certain threshold, the data that are stored in this second impact damper are transferred to this first impact damper, and drive this first impact damper and export its stored data.
Described method also includes: one first critical value is provided; The described input data that store in regular turn comprise in addition to the step of described first impact damper and described second impact damper: store described input data and reach described first critical value to described first impact damper up to the data total amount that is stored into described first impact damper; And after the data total amount that is stored into described first impact damper reaches described first critical value, described input data storing is arrived described second impact damper.
Described method also includes: provide second critical value to described second impact damper, wherein said certain threshold is the summation of described first critical value and described second critical value; The data that wherein will be stored in described second impact damper are transferred to described first impact damper and drive step that described first impact damper exports its stored data is that total amount when the data that are stored in described second impact damper is performed when reaching described second critical value.
Disclose a kind of device of data buffering according to another embodiment of the present invention, be used for storage data in one first impact damper and one second impact damper, this device includes: the data storing control module, be couple to this first impact damper and this second impact damper, be used for according to one first critical value control, one input data storing to this first impact damper and this second impact damper; And data forward control unit, be couple to this first impact damper and this second impact damper, be used for when whole total amounts of the data that are stored in this first, second buffering reach a certain threshold, the data that control is stored in this second impact damper are transferred to this first impact damper, and drive this first impact damper and export its stored data.
Described device also includes: the critical value supply is used to provide described first critical value; Wherein said data storing control module is controlled described input data storing and is reached described first critical value to described first impact damper up to the data total amount that is stored into described first impact damper; And after the data total amount that is stored into described first impact damper reaches described first critical value, described input data storing is arrived described second impact damper.
Described critical value supply provides one second critical value in addition, described certain threshold is the summation of described first critical value and described second critical value, and when the data total amount that is stored in described second impact damper reached described second critical value, the data that described data forward control unit control is stored in described second impact damper are transferred to described first impact damper and drive described first impact damper exported its stored data.
Disclose a kind of system according to another embodiment of the present invention, include: first impact damper with data buffering function; Second impact damper; The multi-medium data generation device is used for producing input data; The data buffering control device, be couple to this multi-medium data generation device, this data buffering control device includes: the data storing control module, be couple to this first impact damper and this second impact damper, and be used for controlling this input data storing to this first impact damper and this second impact damper; The data forward control unit, be couple to this first impact damper and this second impact damper, be used for controlling the data that are stored in this second impact damper and be transferred to this first impact damper, and after receiving the data of being passed on from this second impact damper, when whole total amounts of the data that are stored in this first, second impact damper reach a certain threshold, drive this first impact damper and export its stored data; And light memory device, be couple to this first impact damper, be used for burning from the data of this first impact damper output on a discs.
The present invention has reduced the number of point of contact by making full use of first impact damper and second impact damper, thereby has improved the usefulness of data burning on the whole.
Description of drawings
Fig. 1 is for being used for the functional block diagram of in first impact damper and second impact damper data buffering control device of storage data according to one embodiment of the invention;
Fig. 2 is used for the process flow diagram of in first impact damper and second impact damper method of storage data for the data buffering control device;
Fig. 2 a is used for the process flow diagram of in first impact damper and second impact damper other method of storage data for the data buffering control device;
Fig. 3 is the functional block diagram of data buffering system according to an embodiment of the invention;
Fig. 4 is used for the process flow diagram of in first impact damper and second impact damper method of storage data for the data buffering control system;
Fig. 4 a is used for the process flow diagram of in first impact damper and second impact damper other method of storage data for the data buffering control system;
Fig. 5 is the data buffering view of first impact damper and second impact damper shown in Figure 3.
The primary clustering symbol description:
300 data buffering systems
102,310 first impact dampers
104,320 second impact dampers
110,331 data storing control modules
120,332 data forward control unit
130,333 critical value supplies
100,330 data buffering control device
340 multi-medium data generation devices
350 light memory devices
Embodiment
See also Fig. 1, Fig. 1 is for being used for the functional block diagram of in first impact damper 102 and the second impact damper 104 data buffering control device 100 of storage data according to one embodiment of the invention.Data buffering control device 100 comprises data storing control module 110, data forward control unit 120 and critical value supply 130, wherein critical value supply 130 is used to provide one first critical value and gives second impact damper 104 to first impact damper 102 and one second critical value, and data storing control module 110 is used for storing in regular turn an input data Din to first impact damper 102 and second impact damper 104.In the present embodiment, data storing control module 110 will be imported data Din earlier and be stored into first impact damper 102, data total amount in being stored in first impact damper 102 reaches this first critical value, just continue to import data Din then and be stored into second impact damper 104, and when one of the data that are stored into first impact damper 102 and second impact damper 104 total amount reaches a certain threshold, just this first, when second critical value all reaches, the data that data forward control unit 120 just begins to be stored in second impact damper 104 are transferred to first impact damper 102 and drive first impact damper, 102 its stored data of output, thus, the usefulness of data buffering is optimized.The data output speed that note that first impact damper 102 can be the data input speed that is different from second impact damper 104.
Please consult Fig. 2 and Fig. 1 simultaneously, Fig. 2 is used for the process flow diagram of in first impact damper 102 and second impact damper 104 one of storage data method for data buffering control device 100.This data buffering method is summarized as follows:
Step 200: beginning.
Step 210: determine a certain threshold.Critical value supply 130 provide first critical value to first impact damper 102 and second critical value to second impact damper 104.
Step 220: store the input data to first impact damper 102.Data storing control module 110 at first stores input data Din to first impact damper 102.
Does step 225: the data total amount that is stored in first impact damper 102 reach this first critical value? if, jump to step 230, otherwise, jump to step 220 and continue data buffering in first impact damper 102.
Step 230: store these input data to second impact damper 104.Data storing control module 110 will be imported data Din now and be stored into second impact damper 104 but not first impact damper 102.
Does step 235: the data total amount that is stored in second buffering 104 reach this second critical value? if, jump to step 240, otherwise, jump to step 230 and continue data buffering in second impact damper 104.
Step 240: the data that will be stored in second impact damper 104 are transferred to first impact damper 102 and drive first impact damper 102 exports the data that are stored in wherein.This step is controlled by data forward control unit 120.
Step 250: finish.
Data storing control module 110 stores the input data Din that is received in first impact damper 102 and second impact damper 104, and have only when stored data volume in first impact damper 102 and second impact damper 104 reaches the certain threshold of before being put forward, data forward control unit 120 is passing on of meeting activation data.
Please consult Fig. 2 a and Fig. 1 simultaneously, Fig. 2 a is that data buffering control device 100 is used for the process flow diagram of in first impact damper 102 and second impact damper 104 other method of storage data.This data buffering method is summarized as follows:
Step 2300: beginning.
Step 2320: store the input data to first impact damper 102.Data storing control module 110 at first stores input data Din to first impact damper 102.
Step 2330: store these input data to second impact damper 104.Data storing control module 110 connects and stores input data Din to second impact damper 104.
Does step 2335: the total data total amount that is stored in first impact damper 102 and second impact damper 104 reach one the 3rd critical value? if, jump to step 2340, otherwise, jump to step 2320 or step 2330 to continue data buffering in first impact damper 102 or second impact damper 104.
Step 2340: the data that will be stored in second impact damper 104 are transferred to first impact damper 102.The data that data forward control unit 120 will be stored in second impact damper 104 are transferred to first impact damper 102.
Does step 2345: the data total amount that is stored in first impact damper 102 reach one the 4th critical value? if, jump to step 2350, otherwise, jump to step 2340 to continue data buffering in first impact damper 102.
Step 2350: export stored data in first impact damper 102.Data forward control unit 120 drives first impact damper 102 and exports the data that are stored in wherein.
Step 2360: finish.
Data storing control module 110 stores the input data Din that is received in first impact damper 102 and second impact damper 104, and only when first impact damper 102 and second impact damper, 104 stored total data summations reach the 3rd critical value, data forward control unit 120 just can be transferred to the data that are stored in second impact damper 104 first impact damper 102.Please note, if the total data summation of first impact damper 102 and second impact damper 104 has reached the 3rd critical value, and the data that are stored in first impact damper 102 are not when reaching the 4th critical value as yet, data forward control unit 120 can't drive first impact damper 102 and export the data that are stored in wherein, in the case, the data that 120 continuation of data forward control unit will be stored in second impact damper 104 are transferred to first buffering 102, reach the 4th critical value up to the data that are stored in first impact damper 102, at this moment, data forward control unit 120 just can drive first impact damper 102 and export the data that are stored in wherein.
In sum, before stored data are sent out in first impact damper 102, because first, second impact damper 102,104 all is used for carrying out the function of data buffering, so that can promote the usefulness of data buffering, in addition, data buffer device 100 shown in Figure 1 can be applied in any device that needs the data buffering function, and for example, a digital video cd-rom recorder can utilize the disclosed data buffer device of the present invention to improve data burning usefulness.
See also Fig. 3, Fig. 3 is the functional block diagram of data buffering system 300 according to an embodiment of the invention.Data buffering system 300 utilizes the data buffer device 100 among above-mentioned Fig. 1 and has the advantage of promoting data buffering usefulness.As shown in Figure 3, data buffering system 300 comprises first impact damper 310, second impact damper 320, data buffering control device 330, multi-medium data generation device 340 and light memory device 350.In addition, data buffering control device 330 comprises data storing control module 331, data forward control unit 332 and critical value supply 333, wherein critical value supply 333 is used to provide one first critical value and gives second impact damper 320 to first impact damper 310 and one second critical value, in the present embodiment, input data Din ' is produced by multi-medium data generation device 340, for example, if multi-medium data generation device 340 comprises an image capture unit, then import the some that data Din ' may comprise image data; And if multi-medium data generation device 340 comprises a microphone, then import the some that data Din ' may comprise voice data.When the data total amount that is stored in first impact damper 310 and second impact damper 320 arrives a certain threshold, the data that data forward control unit 332 begins to be stored in second impact damper 320 are transferred to first impact damper 310 and drive first impact damper, 310 its stored data of output to light memory device 350 (a for example DVD cd-rom recorder), at last, light memory device 350 data that just burning first impact damper 310 is exported on a discs, the data output speed that note that first impact damper 310 is the data input speed that is different from second impact damper 320.
As shown in Figure 3, first impact damper 310 and second impact damper 320 are arranged on the assembly outside multi-medium data generation device 340 and the light memory device 350, yet, this is only as example explanation of the present invention, in other embodiments, first impact damper 310 can be incorporated within the light memory device 350, and second impact damper 320 can be incorporated within the multi-medium data generation device 340, in other words, data buffering control device 330 can control be embedded in first impact damper 310 in the light memory device 350 and be embedded in the best efficiency that data buffering between second impact damper 320 in the multi-medium data generation device 340 obtains data buffering, all belongs to the present invention's category.
See also Fig. 4, Fig. 4 is used for the process flow diagram of in first impact damper 310 and second impact damper 320 method of storage data for data buffering control system 300.This data buffering method is summarized as follows:
Step 400: beginning.
Step 420: determine a certain threshold.Critical value supply 333 decides a certain threshold according to the quality of the image that multi-medium data generation device 340 is produced, and provide one first critical value to first impact damper 310 and one second critical value to second impact damper 320.
Step 430: store the input data to first impact damper 310.Data storing control module 331 at first will be imported data Din ' and be stored into first impact damper 310.
Does step 435: the data total amount that is stored in first impact damper 310 reach this first critical value? if, jump to step 440, otherwise, jump to step 430 and continue data buffering in first impact damper 310.
Step 440: store these input data to second impact damper 320.Data storing control module 331 will be imported data Din ' now and be stored into second impact damper 104 but not first impact damper 102.
Does step 445: the data total amount that is stored in second impact damper 320 reach this second critical value? if, jump to step 450, otherwise, jump to step 440 and continue data buffering in second impact damper 320.
Step 450: the data that will be stored in second impact damper 320 are transferred to first impact damper 310 and drive first impact damper 310 exports the data that are stored in wherein.Can the be activated data that begin to be stored in second impact damper 320 of data forward control unit 332 are transferred to first impact damper 310 and drive 310 outputs of first impact damper and are stored in wherein data to light memory device 350.
Step 460: the data that burning first impact damper 310 is exported.Light memory device 350 data that burning first impact damper 310 is exported on a discs.
Does step 465: data burning stop? if, jump to step 470, otherwise, jump to step 430.
Step 470: finish.
See also Fig. 4 a, Fig. 4 a is that data buffering control system 300 is used for the process flow diagram of in first impact damper 310 and second impact damper 320 other method of storage data.This data buffering method is summarized as follows:
Step 500: beginning.
Step 530: store the input data to first impact damper 310.Data storing control module 331 at first stores input data Din ' in first impact damper 310.
Step 540: store these input data to second impact damper 320.Data storing control module 331 connects and is storing input data Din ' in second impact damper 320.
Does step 545: the total data total amount that is stored in first impact damper 310 and second impact damper 320 reach one the 3rd critical value? if, jump to step 550, otherwise, jump to step 530 or step 540 to continue with data buffering to the first impact damper 310 or second impact damper 320.
Step 550: the data that will be stored in second impact damper 320 are transferred to first impact damper 310.The data that data forward control unit 332 will be stored in second impact damper 320 are transferred to first impact damper 310.
Does step 555: the data total amount that is stored in first impact damper 310 reach one the 4th critical value? if, jump to step 560, otherwise, jump to step 550 to continue with data buffering to the first impact damper 310.
Step 560: output is stored in the data in first impact damper 310.Data forward control unit 332 drives first impact damper, 310 its stored data of output.
Step 570: the data that burning first impact damper 310 is exported.Light memory device 350 data that burning first impact damper 310 is exported on a discs.
Does step 575: data burning stop? if, jump to step 580, otherwise, jump to step 530 or step 540.
Step 580: finish.
The personage who knows this skill should understand, the data burning speed of light memory device 350 is that the data faster than multi-medium data generation device 340 far away produce speed, so, the data burning flow process of the data that cushioned at present can one extremely short during in finish, in the present embodiment, in the time of before light memory device 350 beginning data burning flow processs, first impact damper 310 and second impact damper 320 all are used as the usefulness of data buffering, thus, the number of point of contact just can reduce, in brief, present embodiment discloses the number that is used for reducing point of contact that makes of optimization first impact damper 310 and second impact damper 320.
See also Fig. 5, Fig. 5 is the data buffering view of first impact damper 310 and second impact damper 320 shown in Figure 3.Critical value supply 333 provides the first critical value TH1 and the second critical matter TH2 to first impact damper 310 and second impact damper 320 respectively, in the time of at the beginning, multi-medium data generation device 340 produces input data Din ' when time T 0, then, the input data Din ' that data storing control module 331 just will receive is buffered in first impact damper 310, when time T 1, the data total amount that is buffered to first impact damper 310 arrives the first critical value TH1, at this moment, data storing control module 331 just is buffered to second impact damper 320 with received input data Din ', please note, the data total amount that is buffered to first impact damper 310 does not also surpass the first critical value TH1, does not allow data write so data forward control unit 332 also can not activate.As shown in Figure 5, when time T 2 ', the data total amount that is buffered to second impact damper 320 arrives the second critical value TH2, yet, if second impact damper 320 continues buffering input data Din ', the data total amount that is buffered to second impact damper 320 will be above the second critical value TH2 when time T 2, therefore data forward control unit 332 just can activate the data that will be stored in second impact damper 320 and be transferred to first impact damper 310, clearly, receiving after the data of second impact damper, 320 outputs, the data total amount that is buffered to first impact damper 310 also can surpass the first critical value TH1 when time T 2, similarly, the data that data forward control unit 332 just begins to be stored in first impact damper 310 are transferred to light memory device 350, so, the data burning flow process is just when time T 2, and the data that light memory device 350 can burning first impact damper 310 outputs on a discs.
As shown in Figure 5, second impact damper 320 is cleared when time T 3, and in addition, the data total amount that is buffered to first impact damper 310 also begins to reduce, and first impact damper 310 can be cleared when time T 4.Because there are not data to continue to be buffered to first impact damper 310, so the data burning flow process can be interrupted when time T 4, and light memory device 350 produces a point of contact followed by meeting, as mentioned above, the data burning speed of light memory device 350 is that the data faster than multi-medium data generation device 340 far away produce speed, therefore, when time T 5, light memory device 350 stops data burning, multi-medium data generation device 340 produces input data Din ', and data storing control module 331 cushions the first vacant up till now impact damper 310 of input data Din ' that receives.
As shown in Figure 5, in second impact damper 320, fill up data before second critical value, first impact damper 310 can be filled up to first critical value earlier, and only all fill up separately after data reach separately critical value at first impact damper 310 and second impact damper 320, the data burning flow process just can activate, so, in each time during the data burning, the total amount of burning data is much larger than the method for known techniques, because first impact damper 310 and second impact damper 320 all make full use of, so the number of point of contact just can reduce and overall data burning usefulness just can be promoted significantly.
Please note, the quality of multi-medium data (for example, HQ:Hight Quality Play, SP:Standard Play, LP:Long Play, EP:Extended Play, SLP:Super Long Play, SEP:Super Extended Play) can determination data produce speed, just, the input data speed of second impact damper 320 is the multi-medium data quality that depend on multi-medium data generation device 340, and when data generation speed is slack-off, keep for the cushion space of mismanage (error handling) also can reduce so,, thereby further reduce the number of point of contact so this first critical value and second critical value just can be set as bigger numerical value.So, the critical value supply can according to the multi-medium data quality of multi-medium data generation device 340 (for example, HQ, SP, LP, EP, SLP SEP) arranges required critical value, so to reach best usefulness.
The above only is the present invention's preferred embodiment, and all equalizations of being done according to the present patent application claim change and modify, and all should belong to the present invention's covering scope.

Claims (28)

1. the method for a data buffering is used for storage data in one first impact damper and one second impact damper, it is characterized in that described method includes:
Come in regular turn an input data storing to be arrived described first impact damper and described second impact damper according to first critical value;
When the data total amount that is stored in described second impact damper reaches second critical value, the data that are stored in described second impact damper are transferred to described first impact damper; And
After receiving the data passed on from described second impact damper, when the data total amount that is stored in described first impact damper surpasses described first critical value, drive described first impact damper and export its stored data.
2. method according to claim 1 is characterized in that, also includes:
Described first critical value is provided;
Come in regular turn the step of an input data storing to described first impact damper and described second impact damper to be comprised in addition according to first critical value:
Store the input data and reach first critical value up to the data total amount that is stored into first impact damper to described first impact damper; And
After the data total amount that is stored into described first impact damper reaches first critical value, store these input data to this second impact damper.
3. method according to claim 2 is characterized in that, also includes:
Provide described second critical value with reference to described first critical value.
4. method according to claim 1 is characterized in that, described input data are multi-medium datas.
5. method according to claim 4 is characterized in that, also includes:
Quality according to multi-medium data decides described first critical value and described second critical value.
6. method according to claim 1 is characterized in that, described first impact damper is exported its stored data to a light memory device.
7. method according to claim 6 is characterized in that, the data output speed of described first impact damper is different from the data input speed of described second impact damper.
8. the device of a data buffering is used for storage data in one first impact damper and one second impact damper, it is characterized in that described device includes:
The data storing control module is couple to described first impact damper and described second impact damper, is used for according to first critical value control input data storing to described first impact damper and described second impact damper; And
The data forward control unit, be couple to described first impact damper and described second impact damper, be used for when the data total amount that is stored in described second impact damper reaches second critical value, the data that control is stored in described second impact damper are transferred to described first impact damper; And after receiving the data passed on from described second impact damper, when the data total amount that is stored in described first impact damper surpasses described first critical value, drive described first impact damper output and be stored in wherein data.
9. device according to claim 8 is characterized in that, also includes:
The critical value supply is used to provide described first critical value;
Described data storing control module control input data are stored into first impact damper and reach first critical value up to the data total amount that is stored into first impact damper, and after the data total amount that is stored into described first impact damper reaches first critical value, will import data storing to described second impact damper.
10. device according to claim 9 is characterized in that, described critical value supply also provides described second critical value; And when the data total amount that is stored in described second impact damper reaches described second critical value, drive described first impact damper and export its stored data.
11. device according to claim 8 is characterized in that, described input data are multi-medium datas.
12. device according to claim 11 is characterized in that, also includes:
The critical value supply is used for determining described first critical value and described second critical value according to the quality of multi-medium data.
13. device according to claim 8 is characterized in that, described first impact damper is exported its stored data to a light memory device.
14. device according to claim 13 is characterized in that, the data output speed of described first impact damper is different from the data input speed of described second impact damper.
15. the system with data buffering function is characterized in that, includes:
First impact damper;
Second impact damper;
The multi-medium data generation device is used for producing input data;
The data buffering control device is couple to described multi-medium data generation device, and described data buffering control device includes:
The data storing control module is couple to described first impact damper and described second impact damper, is used for controlling described input data storing to described first impact damper and described second impact damper;
The data forward control unit, be couple to described first impact damper and described second impact damper, be used for controlling the data that are stored in described second impact damper and be transferred to described first impact damper, and after receiving the data of being passed on from described second impact damper, when the data total amount that is stored in described first impact damper surpasses first critical value, drive described first impact damper and export the data that are stored in wherein; And
Light memory device is couple to described first impact damper, be used for burning from the data of described first impact damper output on a discs.
16. system according to claim 15 also includes:
The critical value supply is used to provide described first critical value;
Described data storing control module is controlled described input data storing and is reached described first critical value to described first impact damper up to the data total amount that is stored into first impact damper; And after the data total amount that is stored into first impact damper reaches described first critical value, described input data storing is arrived described second impact damper.
17. system according to claim 16 is characterized in that, described critical value supply provides second critical value in addition; And when the data total amount that is stored in described second impact damper reaches described second critical value, drive described first impact damper output data wherein.
18. system according to claim 15 is characterized in that, also includes:
The critical value supply is used for deciding described first critical value and described second critical value according to the quality of described input data.
19. system according to claim 15 is characterized in that, the data output speed of described first impact damper is different from the data input speed of described second impact damper.
20. system according to claim 15 is characterized in that, described first impact damper is to be incorporated among the described light memory device, and described second impact damper is to be incorporated among the described multi-medium data generation device.
21 systems according to claim 15 is characterized in that, described light memory device is the DVD cd-rom recorder.
22. the method for a data buffering is used for storage data in one first impact damper and one second impact damper, it is characterized in that described method includes:
Store input data in regular turn to described first impact damper and described second impact damper; And
When whole total amounts of the data that are stored in described first, second impact damper reach a certain threshold, the data that are stored in described second impact damper are transferred to described first impact damper, and drive described first impact damper and export its stored data.
23. method according to claim 22 is characterized in that, also includes:
One first critical value is provided;
The described input data that store in regular turn comprise in addition to the step of described first impact damper and described second impact damper:
Store described input data and reach described first critical value up to the data total amount that is stored into described first impact damper to described first impact damper; And
After the data total amount that is stored into described first impact damper reaches described first critical value, described input data storing is arrived described second impact damper.
24. method according to claim 23 is characterized in that, also includes:
Provide second critical value to described second impact damper, wherein said certain threshold is the summation of described first critical value and described second critical value;
The data that wherein will be stored in described second impact damper are transferred to described first impact damper and drive step that described first impact damper exports its stored data is that total amount when the data that are stored in described second impact damper is performed when reaching described second critical value.
25. the device of a data buffering is used for storage data in one first impact damper and one second impact damper, it is characterized in that described device includes:
The data storing control module is couple to described first impact damper and described second impact damper, is used for according to one first critical value control input data storing to described first impact damper and described second impact damper; And
The data forward control unit, be couple to described first impact damper and described second impact damper, be used for when whole total amounts of the data that are stored in described first, second impact damper reach a certain threshold, the data that control is stored in described second impact damper are transferred to described first impact damper, and drive described first impact damper and export its stored data.
26. device according to claim 25 is characterized in that, also includes:
The critical value supply is used to provide described first critical value;
Wherein said data storing control module is controlled described input data storing and is reached described first critical value to described first impact damper up to the data total amount that is stored into described first impact damper; And after the data total amount that is stored into described first impact damper reaches described first critical value, described input data storing is arrived described second impact damper.
27. device according to claim 26, it is characterized in that, described critical value supply provides one second critical value in addition, described certain threshold is the summation of described first critical value and described second critical value, and when the data total amount that is stored in described second impact damper reached described second critical value, the data that described data forward control unit control is stored in described second impact damper are transferred to described first impact damper and drive described first impact damper exported its stored data.
28. the system with data buffering function is characterized in that, includes:
First impact damper;
Second impact damper;
The multi-medium data generation device is used for producing input data;
The data buffering control device is couple to described multi-medium data generation device, and described data buffering control device includes:
The data storing control module is couple to described first impact damper and described second impact damper, is used for controlling described input data storing to described first impact damper and described second impact damper;
The data forward control unit, be couple to described first impact damper and described second impact damper, be used for controlling the data that are stored in described second impact damper and be transferred to described first impact damper, and after receiving the data of being passed on from described second impact damper, when whole total amounts of the data that are stored in described first, second impact damper reach a certain threshold, drive described first impact damper and export its stored data; And
One light memory device is couple to described first impact damper, be used for burning from the data of described first impact damper output on a discs.
CNB2006101538110A 2005-09-13 2006-09-12 Method and apparatus for optimizing data buffering Active CN100444254C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US59627505P 2005-09-13 2005-09-13
US60/596,275 2005-09-13
US11/383,752 2006-05-16

Publications (2)

Publication Number Publication Date
CN1932987A CN1932987A (en) 2007-03-21
CN100444254C true CN100444254C (en) 2008-12-17

Family

ID=37878773

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101538110A Active CN100444254C (en) 2005-09-13 2006-09-12 Method and apparatus for optimizing data buffering

Country Status (1)

Country Link
CN (1) CN100444254C (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003187450A (en) * 2001-12-18 2003-07-04 Yamaha Corp Method and apparatus for recording optical disk
JP2003196832A (en) * 2001-12-26 2003-07-11 Pioneer Electronic Corp Device and method for information recording
JP2003263840A (en) * 2002-03-08 2003-09-19 Canon Inc System for processing write error

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003187450A (en) * 2001-12-18 2003-07-04 Yamaha Corp Method and apparatus for recording optical disk
JP2003196832A (en) * 2001-12-26 2003-07-11 Pioneer Electronic Corp Device and method for information recording
JP2003263840A (en) * 2002-03-08 2003-09-19 Canon Inc System for processing write error

Also Published As

Publication number Publication date
CN1932987A (en) 2007-03-21

Similar Documents

Publication Publication Date Title
US7508776B2 (en) Controlling method and device for data transmission
US6895468B2 (en) Log-structured block system and method
CN100416526C (en) Optical storage system comprising interface for transferring data
CN104934047B (en) Both-sided optical disc driver
US7539791B2 (en) Method and apparatus for optimizing data buffering
TWI394150B (en) Method for managing data from host to optical disc and optical storage system
CN100470657C (en) Recording and reproducing apparatus
CN100444254C (en) Method and apparatus for optimizing data buffering
KR20050088460A (en) Power saving method for portable streaming devices
CN100550160C (en) Multimedia reads playing system and method
CN1107258C (en) Data recording/reproducing device
US20110002200A1 (en) Method and apparatus for controlling data access rate of an optical disc driver
CN101034574B (en) Reading head driving device of the CD machine and its driving method
CN1762021A (en) Method of storing information on an optical disc
US8559280B2 (en) Optical disk drive and method for data recording of optical disk drives
US8203916B2 (en) Buffer management method and apparatus thereof
TW200709194A (en) System and method for writing power control during recording
CN1758361B (en) Unified control and memory for a combined DVD/HDD system
JP2000182326A5 (en)
US8325573B2 (en) Optical recording device and recording method
CN102339614B (en) Data recording method and apparatus
CN100533569C (en) Data buffering method for write command transmission in optical disk system
CN1989562A (en) Digital data recording device and recording method
US6966023B2 (en) Encoding method for an optical recorder
CN101536100B (en) Streaming data reproduction method and optical disc drive method

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