CN100527250C - Recording method - Google Patents

Recording method Download PDF

Info

Publication number
CN100527250C
CN100527250C CNB2006100549565A CN200610054956A CN100527250C CN 100527250 C CN100527250 C CN 100527250C CN B2006100549565 A CNB2006100549565 A CN B2006100549565A CN 200610054956 A CN200610054956 A CN 200610054956A CN 100527250 C CN100527250 C CN 100527250C
Authority
CN
China
Prior art keywords
data
burning
timer
buffer
data source
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
CNB2006100549565A
Other languages
Chinese (zh)
Other versions
CN1832007A (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.)
Via Technologies Inc
Original Assignee
Via Technologies 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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2006100549565A priority Critical patent/CN100527250C/en
Publication of CN1832007A publication Critical patent/CN1832007A/en
Application granted granted Critical
Publication of CN100527250C publication Critical patent/CN100527250C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A writing - in method includes receiving a data by buffer storage and starting up a writing - in preprogram as well as a timer, checking whether data stored in said storage is started to write in on the first object region of optical disc by server or not and judging whether time threshold is exceeded on not if it is not, starting up write - in on the second object region of optical disc if said threshold is exceeded. In the method, capacity of data source storage is checked, required time to fill up surplus capacity of storage under certain rate is calculated out and the calculated out time is used as threshold of timer.

Description

Method for burn-recording
Technical field
The present invention relates to optical disc drive, particularly relate to the controlling mechanism of the burning operation of CD player.
Background technology
Because the arriving in digitized information epoch, also grow with each passing day the deposited demand of the storage volume that the floppy disk (floppy disk) that generally is used in early days can provide for the demand of portable digital storage medium with high power capacity.Therefore, the optical storage medium and the storage device of characteristic such as have high storage capacity, be easy to carry just promptly are widely used, as CD player (CD-ROM drive), CD writers (rewritableoptical disc machine) and LD (Laser Disc) player or the like.
Fig. 1 shows the burning device 10 of conventional art and the interactive relationship of burning data.Burning device 10 comprises a CD player interface 106, a buffer 107, a server 108 and a read/write head 110.Burning device 10 is connected in a data source cache device 104 to receive the data of data source 102.When the data of data source 102 are sent to data source cache device 104, server 108 order CD player interfaces 106 are from data source cache device 104 reading of data, leave in advance in the buffer 107 of burning device 10, in the writing data on disk 112 of read/write head 110 buffer 107.In conventional art, burning light-memory medium (optical storage medium), such as CD (compact disk, CD), erasable optical disk (CD-RW), Video CD (digital versatile disk, DVD), erasable Video CD (DVD-RW, DVD+RW) and super sound CD (super audio compact disk, SACD) or the like the time, if on the light-memory medium scratch (scratch) is arranged, defective (defect), or when CD player ran into vibrations situations such as (shock) in the burning process, burning device 10 can temporarily stop the burning operation.Though this mechanism of suspending the burning operation can avoid attempting starting ill-fated burning operation, but in data source 102 is real-time audio and video information, under situations such as TV programme, this mechanism of suspending burning but may cause whole burning device 10 to crash maybe can't continue operation.Because the finite capacity of general data source cache device 104, when server 108 order read/write heads 110 suspended writing data on disk 112, data source cache device 104 is not real-time information such as received television program interruptedly still.If suspending, read/write head 110 may cause the data excessive accumulation to make whole burning device 10 deadlocks maybe can't continue operation in data source cache device 104 for a long time.
In addition, during general burning MPEG (Moving Picture Experts Group) data, be first burning data, last burning one catalogue.When burning data was ended because of above-mentioned condition midway, the operation of burning catalogue also can not be finished, and can only write once burning sheet to some, as the DVD-R sheet, if this burning result failure, then this DVD-R sheet also can't read, and causes the waste of user's resource.
Summary of the invention
The method for burn-recording that the present invention proposes.At first, receive data in a buffer.Then, start a burning preliminary program, and start a timer.Then, check whether a server begins the one first target section of the data of the above-mentioned buffer of burning in a discs.If above-mentioned server does not begin burning as yet, judge whether the value of above-mentioned timer has surpassed a set threshold value; And when the value of above-mentioned timer has surpassed above-mentioned set threshold value, start the burning preliminary program in one second target section, give up the data in this buffer this moment, and receive data again, and wherein this burning preliminary program comprises: check whether this first target section has scratch or defective; Detect this read/write head and whether this discs relative displacement takes place; And the section number that reads a plurality of sections continuously.In addition, this method also is included in and received data before buffer, detects the capacity of a data source cache device, and calculates above-mentioned data source cache device under a set receiving velocity, filling up above-mentioned residual capacity required time, just is the set threshold value of timer with this time length.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, a preferred embodiment cited below particularly, and be described with reference to the accompanying drawings as follows.
Description of drawings
Fig. 1 shows the burning device 10 of conventional art and the interactive relationship of burning data.
Fig. 2 shows the method for burn-recording that proposes according to the present invention.
Fig. 3 shows the burning device that proposes according to the present invention.
Fig. 4 a, 4b demonstration read/write head reads the section number of disc and is sent to the synoptic diagram of server.
The reference numeral explanation
102,302~data source; 104,304~data source cache device;
106,306~CD player interface; 107,307~buffer;
108,308~server; 110,310~read/write head;
112,312~disc; 314~timer;
10,30~burning device; 201-212~step;
42~read/write head; 44~server.
Embodiment
Fig. 2 shows the method for burn-recording that proposes according to the present invention, applicable to CD player (CD-ROM drive), CD writers (rewritable optical disc machine) and LD (Laser Disc) player or the like.This method is applicable to that one is connected in the burning device of a data source cache device, and this burning device includes a CD player interface, a buffer, a server, a read/write head and a timer at least.This burning device is connected in the data source cache device to receive the data of data source.Above-mentioned data source cache device can be the video-audio data buffer, as MPEG buffer etc.
At first, how many data test data source cache device can hold, and calculates fixing data and accept under the speed, and the data source cache device can receive data how long and non-overloading (Overload).Burning device is crashed maybe can't continue operation.Note this time, and as time limit of timer, as step 201.For instance, the tentation data receiving velocity is R D, the data source cache device is D in following data volume that can receive of non-overloading situation OThen under the non-overloading situation of data source cache device, can receive the time T of data OAvailable following formula calculates:
T O=D O÷R D (1)
So the time limit of timer just is set at T O
Then, the data source cache device begins to receive data from a data source, as step 202.Wherein above-mentioned data source can be real-time video-audio datas such as TV.When the data of data source are sent to the data source cache device, server command CD player interface is from data source cache device reading of data, leave in advance in the buffer of burning device, start timer such as step 203 this moment, in the writing data on disk of read/write head with buffer.In the present invention, timer can be an electronic timer, or is one by the arrange in pairs or groups timer of a software emulation of Digital System Processor.The count value of this timer was initially set for 0 time, and automatically count value was added one later in time per unit.In limited time, timer just suspends counting, and announcement server when being accumulated to setting.When next time, timer was restarted, counter value will be counted since 0 time.
Then, start a burning preliminary program in one first target section, as step 204.Whether whether the burning preliminary program includes section that check to desire burning has scratch or defective (step 205), burning device to be shaken, so that between read/write head and the discs relative displacement (step 206) takes place, and whether a plurality of section numbers (sector ID) can normally read (step 207) before checking the section of desiring burning.For instance, be on 100 the section in discs upper curtate number if this burning desires to write data, whether then must test the section number of can normal read getting section 96,97,98 and 99 earlier.Fig. 4 a, 4b demonstration read/write head reads the section number of disc and is sent to the synoptic diagram of server.Time t in Fig. 4 a 1The time, read/write head 42 moves to the top of section 99 and attempts reading section number 99, and is received from the laser that disc reflects, and the form that changes into numerical data is sent into server 44 decodings.When server 44 decoded above-mentioned reflected light representative " section number 99 ", read/write head 42 may move to the top of section 100 and read section number 100, shown in Fig. 4 b.Read the required mistiming (t of server decoding in order to eliminate data from read/write head 2-t 1), so must confirm in the step 207 that preceding a plurality of section numbers of section 100 all can read smoothly.
Then, check whether server write section predetermined on the discs with data before timer is expired, as step 208-209.Write disc as if data before expired in the time limit of timer setting, then got back to step 202 and proceed follow-up flow process.If when timer was expired, server was still failed on the writing data on disk, promptly representative server can't write data at this section.So server moves to other section with read/write head, the second target section for example, and restart the burning preliminary program, as step 210.At this moment, the data that leave in advance in the buffer of burning device can be removed, and receive other data again, as step 212, in order to avoid the data source cache device can't operate system because of overload.
The method that provides of the present invention is particularly useful for the burning TV programme on a disc.Make the section of certain part can't write data as if defectives such as scratch are arranged on the disc, then this method can make server transfer other section burning to, one can avoid repeated attempt to be written into this defective section so that the waste recordable time, two then can crash according to the overload of source cache device to avoid the burning device factor according to the big or small storage data of data source cache device.
For instance, tentation data source cache device is at following data volume D that can receive of non-overloading situation OBe 5M Byte, Data Receiving speed R DBe 1M Byte/ second.So under this Data Receiving speed, the data source cache device can receive the data in 5 seconds and not cause overload.According to method provided by the present invention, when user's desire with a real-time video-audio data, as TV programme etc., when being burned onto in the discs, can start a burning preliminary program.The burning preliminary program comprises whether section that check to desire burning has scratch or defective, burning device whether to be shaken, and continuous review desire the section of burning before a plurality of section numbers whether can normally read.At the beginning, data not in the buffer, receive the video-audio data of above-mentioned TV programme at buffer after, server is just attempted the data in the buffer are written to discs, and starts a timer simultaneously.After timer starts, suppose that buffer has received M 0, M 1, M 2... etc., wherein each data is represented the mpeg file that buffer is received in 1 second.If the time that read/write head is attempted writing surpasses five seconds, then representative continues to attempt writing then to cause the overload of data source cache device.The interior data M of buffer this moment 0, M 1, M 2, M 3, M 4Totally five data can be abandoned (discard), receive the video-audio data of present broadcasting again, and read/write head is moved to next section trial burning.In addition, if read/write head can be with data burning in the buffer to discs in five seconds, then represent this burning success, buffer can continue to receive new video-audio data and along the track burning.
According among the embodiment provided by the present invention, preceding 4 section numbers that can be correctly decoded out desire burning section when server represent that just the burning preliminary program finishes.But the present invention is defined in this.Those skilled in the art also can expand the section number of confirming other quantity with it according to spirit of the present invention.For instance, if when the burning ambient stable, can only confirm 3 or even the section number below 3; If in burning environment instability, or during the burning quality of having relatively high expectations, can increase the quantity of confirming the section number.
In addition, the present invention also proposes a kind of burning device, includes a CD player interface 306, buffer 307, server 308, read/write head 310 and a timer 314 at least, as shown in Figure 3.This burning device 30 is connected in a data source cache device 304 to receive the data of data source 302.Above-mentioned data source cache device 304 can be the video-audio data buffer, as MPEG buffer etc.When the data of data source 302 are sent to data source cache device 304, CD player interface 306 is from data source cache device 304 reading of data, leave in advance in the buffer 307 of burning device 30, in the writing data on disk 312 of read/write head 310 with buffer 307, can start timer 314 this moment.After data source cache device 304 received data, CD player interface 306 made server 308 start a burning preliminary program.The burning preliminary program includes: whether whether section that check to desire burning have scratch or defective, burning device 30 to be shaken, and test desire the section of burning before a plurality of section numbers whether can normally read.At this moment, timer 314 also picks up counting.When the value of above-mentioned timer 314 has surpassed a set threshold value, promptly represent above-mentioned timer out of date.Cross after date and above-mentioned server 308 when yet the data in the above-mentioned buffer 307 not being write one first target section at timer, above-mentioned read/write head 310 moves as for one second target section and starts the burning preliminary program, give up the data in the above-mentioned buffer 307 this moment, CD player interface 306 receives other data from data source cache device 304 again.The establishing method in the time limit of wherein above-mentioned timer 314 is: a capacity of testing above-mentioned data source cache device 304, and calculate above-mentioned data source cache device 304 under a set receiving velocity, fill up above-mentioned capacity required time, then the time limit that is timer just with this time length.
Can't the correct execution burning even meet some unusual condition during operation, before the overload of data source cache device, all can abandon this burning operation in the method and apparatus by the present invention's proposition, and skip this section and the data of this section period, burning is carried out in other zone that moves to discs.The data source cache device can not overload and cause burning device to operate thus, and disc also is difficult for therefore damaging, and the data of previous institute burning are also preserved.Even the burning device of different manufacturers or the mpeg file of different size have the different data source cache device degree of depth, in the method and device that the present invention proposes, still can adjust the time limit of timer according to different situations, to reach maximum burning effect.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; those skilled in the art can do some changes and retouching under the premise without departing from the spirit and scope of the present invention, so protection scope of the present invention is as the criterion with claim of the present invention.

Claims (6)

1. method for burn-recording comprises:
Receive data in a buffer;
Start a burning preliminary program, and start a timer;
Check whether a server begins the data of this buffer are written into one first target section of a discs;
If the data that this server does not begin to write this buffer as yet, are judged the value of this timer in this first target section and whether have been surpassed a set threshold value; And
When the value of this timer has surpassed this set threshold value, start the burning preliminary program in one second target section, give up the data in this buffer this moment, and receive data again,
Wherein this burning preliminary program comprises:
Check whether this first target section has scratch or defective;
Detect this read/write head and whether this discs relative displacement takes place; And
Read the section number of a plurality of sections continuously.
2. method for burn-recording as claimed in claim 1, wherein these data are a video-audio data.
3. method for burn-recording as claimed in claim 2, wherein these data are from a TV.
4. method for burn-recording as claimed in claim 1 also comprises when the value of this timer does not surpass this set threshold value as yet, continues to check whether this server begins burning data in this first target section.
5. method for burn-recording as claimed in claim 1 also comprises:
Receiving data before buffer,
Detect a residual capacity of a data source cache device, and calculate this data source cache device under a set receiving velocity, fill up above-mentioned residual capacity required time; And
With this time length this set threshold value that is this timer;
Wherein this data source cache device receives a data source and is sent to this buffer.
6. method for burn-recording as claimed in claim 4 comprises also when the value of this timer not surpassing this set threshold value as yet and server when having begun burning data that this buffer continues reception data.
CNB2006100549565A 2006-02-27 2006-02-27 Recording method Active CN100527250C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100549565A CN100527250C (en) 2006-02-27 2006-02-27 Recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100549565A CN100527250C (en) 2006-02-27 2006-02-27 Recording method

Publications (2)

Publication Number Publication Date
CN1832007A CN1832007A (en) 2006-09-13
CN100527250C true CN100527250C (en) 2009-08-12

Family

ID=36994218

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100549565A Active CN100527250C (en) 2006-02-27 2006-02-27 Recording method

Country Status (1)

Country Link
CN (1) CN100527250C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354438A (en) * 2016-09-28 2017-01-25 郑州云海信息技术有限公司 Method and device for predicting available time of capacity of storage pool

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920093B (en) * 2018-05-30 2022-02-18 北京三快在线科技有限公司 Data reading and writing method and device, electronic equipment and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354438A (en) * 2016-09-28 2017-01-25 郑州云海信息技术有限公司 Method and device for predicting available time of capacity of storage pool

Also Published As

Publication number Publication date
CN1832007A (en) 2006-09-13

Similar Documents

Publication Publication Date Title
US8526283B2 (en) Method and apparatus of recording information in reduced waiting time
USRE42584E1 (en) Optical disc recording and reproducing apparatus for performing a formatting process as a background process and a method for formatting an optical disc by a background process
JP3135531B2 (en) Recording medium for storing additional information for defect management and defect management method
CA2651105C (en) Field qualification of disk drives in consumer electronics devices
US7877538B2 (en) Testing data transfer time of disk drives in consumer electronics devices
CN100527250C (en) Recording method
JP2010211858A (en) Recording and reproducing apparatus and recording and reproducing method
KR100416598B1 (en) Method for controlling recording according to generation of an emergency in the optical drive and apparatus thereof
US20060239152A1 (en) Disc recording methods and systems
CN100452213C (en) Method for judging if burning data on disc
US7234102B2 (en) Data recording method for optical disk drive
JP3752108B2 (en) Optical disc recording / reproducing apparatus
US7756399B2 (en) Safe recovery in DVD recordable/rewritable realtime recording
KR100693434B1 (en) Recording method of real time data in optical disc player, and the device thereused to, and optical disc player equiped with said device
CN100536012C (en) Method of reproducing content information for an interactive optical disc apparatus
JP4006274B2 (en) Recording method, program and recording medium, information processing apparatus, information recording apparatus, and information recording system
JP2008140500A (en) Optical disk recording and reproducing device
CN1318989C (en) Method for processing interrup request in optical disc driver
US20050002290A1 (en) Optical disc apparatus and still operation method capable of performing still operation without deteriorating optical disc
JP2010287299A (en) Moving image reproducing device
JP2001160265A (en) Voice information recording and reproducing device
KR20090115467A (en) Method for reproducing data from disc drive
JP2003228843A (en) Information recording and reproducing apparatus
JP2006012198A (en) Information recording and reproducing device, information recording and reproducing method, program and recording and reproducing system
JP2006164395A (en) Data recording/reproducing device, data recording/reproducing method, program and computer readable recording 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