Recording type CD machine memory control program code and recording correction data method
Technical field
The invention provides a kind of method and relevant apparatus that is used for recording type CD machine, refer to especially a kind of can be with CD player control program sign indicating number and recording correction data (OPC) with being stored in a nonvolatile memory, with cost-effective method and relevant apparatus.
Background technology
In the flourish modern science and technology society of information, CD has become one of most important medium with thin, in light weight, highdensity memory capacity of its volume and cheap cost.The development of especially modern recordable CD, allow general user also can according to individual human needs with important data recording to CD, make great mass of data data storage arrangement become more convenient, dirigibility.
Recordable CD will cooperate recordable CD player (or general alleged register) data could be write in the CD.Please refer to Fig. 1.Fig. 1 is the functional block diagram of a known recordable CD player 10.Be provided with one in the CD player 10 and be used for driving the motor 14B that CD 12 rotates; One is used for reading data of optical disk and data is write the optical module 14A of CD; One is used for controlling the control circuit 16 of CD player 10 work; One volatile random access memory 18 that is used for temporal data; And as the ROM (read-only memory) 20A and the short-access storage 20B that can write formula (programmable) nonvolatile memory.Store a procedure code 22 among the short-access storage 20B, control circuit 16 is promptly controlled the work of CD player 10 according to procedure code 22; The required temporary data of control circuit 16 duration of works then can be kept in to random access memory 18.Optical module 14A can be incident to laser CD place 12, behind the light that detects by CD 12 reflections, produces corresponding signal and is back to control circuit 16; After control circuit 16 is resolved these signals, just can control the rotating speed of motor 14B according to algorithm pre-set in the procedure code.In addition, control circuit 16 also can be controlled optical module according to rule default in the procedure code, data is write (record) to CD 12 with the laser of certain power.
Because the different types of recordable CD of each production firm has different physics, optical characteristics, in the time of data will being write to different types of CD, optical module 14A writes the laser power of data and also will finely tune, just can meet the distinct characteristics of variety classes CD, correctly data be write in the CD.In order to carry out the power fine setting, control circuit 16 also can be controlled optical module 14A CD 12 is write down correction (optimized power calibration), to estimate the most suitable CD 12 of which kind of Writing power.The optimum write power that is estimated to after the record correction just becomes a recording correction data.Certainly, different types of CD also may have different optimum write powers; That is to say that different types of CD can be corresponding to different recording correction datas.On the other hand, production firm may weave into information such as identiflication number of production firm own and disc types the sequence number of certain format, as an identification code, stores on CD in advance.And all CDs of same kind all can unify to have identical identification code in principle.Similarly be just to contain identification code 28 on the CD 12 among Fig. 1.After control circuit 16 read the identification code 28 of CD 12 with optical module 14A, just can judge CD 12 was to belong to which kind of CD.
For the recording correction data of variety classes CD correspondence will being stored, in known CD player 10, also be provided with ROM (read-only memory) 20A in addition.Store data form 24 among the ROM (read-only memory) 20A, it has a plurality of row 26A, 26B, 26C, is used for respectively identification code T1, T2 and T3 are corresponded to recording correction data OPCp1, OPCp2 and OPCp3.As for the flow process of known CD player 10 managing access recording correction datas, please refer to Fig. 2 (and in the lump with reference to figure 1).Fig. 2 is the process flow diagram of the flow process 100 of access record correction data in the known technology; It is provided with the following step:
Step 102: beginning.When CD player 10 will begin to write data to the CD 12, all to carry out flow process 100 to obtain recording correction data corresponding to CD 12.
Step 104: control circuit 16 control optical module 14A read the identification code 28 on the CD 12.
Step 106: all identification codes of storing among identification code 28 and the ROM (read-only memory) 20A are compared one by one.Example among continuity Fig. 1 has stored three identification code T1 to T3 (and corresponding recording correction data) among the ROM (read-only memory) 20A; In this case, control circuit 16 can compare the identification code 28 of CD 12 and identification code T1, T2 and T3 one by one.If identification code 28 meet identification code T1, T2 and T3 one of them, represent the recording correction data that has stored corresponding CD 12 among the ROM (read-only memory) 20A, just can proceed to step 108 at this moment.On the contrary, if identification code 28 does not meet identification code T1 to T3, represent the recording correction data of not storing corresponding CD 12 among the ROM (read-only memory) 20A, will proceed to step 110 this moment.
Step 108: the identification code 28 of CD 12 meets one of identification code among the ROM (read-only memory) 20A, just can be directly by reading among the ROM (read-only memory) 20A to recording correction data that should existing identification code, and employed laser power when controlling optical module 14A data are write to CD 12 with the optimum write power in this recording correction data.For instance, if identification code 28 meets identification code T2, control circuit 16 just can read the power that the recording correction data OPCp2 among the ROM (read-only memory) 20A comes control data to write.Owing to will be subjected to the influence of environment (as temperature etc.) when CD write down,, can also write down correction once more as benchmark by recording correction data OPCp2 so be more accurate record.
Step 110: the identification code 28 of CD 12 does not meet identification codes all among the ROM (read-only memory) 20A, will write down correction this moment to obtain corresponding recording correction data.In general, it is that a default zone attempts writing data with different power on CD 12 that record is proofreaied and correct, and reevaluates the effect that writes determining optimum write power, and forms recording correction data.The program that record is proofreaied and correct is a known technology, and correlative detail repeats no more in this.
Step 112: try to achieve recording correction data in step 110 after, known CD player 10 can itself write to ROM (read-only memory) 20A together with identification code 28 with this recording correction data corresponding to identification code 28; When CD player 10 will write to congener CD with data next time, proofreaied and correct with regard to the record that does not need to carry out step 110 again.In other words, the example among continuity Fig. 1 after carrying out this step 112, just has four row among the ROM (read-only memory) 20A, respectively four different types of identification codes are corresponded to four recording correction datas.
Step 114: process ends 100.After carrying out flow process 100, no matter be by reading (step 108) among the ROM (read-only memory) 20A, or actually write down correction (step 110), control circuit 16 has all been obtained the recording correction data of corresponding CD 12; Next control circuit 16 just can be controlled the Writing power of optical module 14A according to this recording correction data, and data are correctly write to CD 12.
By above narration as can be known, when CD player 10 will write to the CD of new kind with data, can will write down the recording correction data of obtaining after proofreading and correct in step 112 stores, so, down less important when data are write the CD of same kind, just needn't repeat record and proofread and correct, it is more efficient to make data write.Yet the shortcoming of above known technology will additionally use a programmable ROM (read-only memory) 20A to come the stored record correction signal exactly.Though be provided with programmable short-access storage 20B in the known CD player 10, the characteristic of short-access storage can not read while write exactly; In other words, when control circuit 16 read among the short-access storage 20B procedure code 22 with control CD player 10 work the time, can't simultaneously recording correction data be write among the short-access storage 20B.Therefore must be provided with an extra ROM (read-only memory) 20A in addition in the known CD player 10, with the stored record correction data.Yet this extra ROM (read-only memory) 20A can increase the cost of known CD player 10; Because programmable ROM (read-only memory) will have special support circuits ability operate as normal, also makes the comparatively circuit of complexity of known CD player 10, increases the time and the cost of design, production, maintenance.
Summary of the invention
Therefore, fundamental purpose of the present invention is to provide a kind of and recording correction data and the same method that is stored in same short-access storage of procedure code needn't can be used extra ROM (read-only memory), separately to reduce the cost of CD player.
The invention provides a kind of method of recording correction data of CD player access CD, comprise at least:
This CD player writes down to proofread and correct to this CD and obtains recording correction data;
Read the identification code on this CD;
Contrast the existing identification code of the first memory of this identification code and this CD player; Wherein conform to, then directly read existing recording correction data, carry out video disc recording corresponding to this existing identification code as if this identification code one of them with this existing identification code,
If this identification code is not inconsistent with this existing identification code, then the procedure code with this CD player is temporary in this second memory,
This procedure code control CD player that utilization is temporary in this second memory is stored to this first memory with this recording correction data; And
According to this recording correction data this CD is carried out record.
Description of drawings
Fig. 1 is the functional block diagram of a known CD player.
Fig. 2 is the process flow diagram of CD player access record correction data among Fig. 1.
Fig. 3 is the functional block diagram of CD player among the present invention.
Fig. 4 is the process flow diagram of CD player access record correction data among Fig. 3.
The reference numeral explanation
10,30 CD player, 12,32 CDs
14A, 34A optical module 14B, 34B motor
16,36 control circuits, 18,38 random access memory
20A ROM (read-only memory) 20B, 40 short-access storages
22,42 procedure codes, 24,44 data forms
28,48, T1-T3 identification code 100,200 flow processs
26A-26C, 46A-46C row
OPCp1-OPCp3, OPC1-OPC3 recording correction data
102,104,106,108,110,112,114,202,204,206,208,209,210,212,214 steps
Embodiment
Please refer to Fig. 3.Fig. 3 is the functional block diagram of CD player 30 recordable among the present invention.Be provided with random access memory 38, the short-access storage 40 of motor 34B, a control circuit 36 and the cooperation control circuit of an optical module 34A, a drive CD 32 rotations in the CD player 30.Optical module 34A can send laser to CD 32, and receives by the light of CD 32 reflections reading the data-signal on the CD, or with the laser of certain power data is write to recordable CD 32.Short-access storage 40 is the nonvolatile memory (second memory) of one (can write formula) able to programme, and sign indicating number 42 wherein has program stored therein; Control circuit 36 reads the work that control code 42 backs just can be controlled CD player 30 according to control code 42.Random access memory 38 (can be dynamic RAM or static RAM) then is a volatile memory (being first memory), the data when being used for keeping in control circuit 36 work.For instance, control circuit 36 analyze read the signal that CD 32 produced by optical module 34A after, just can come the rotating speed of FEEDBACK CONTROL motor 34B according to the algorithm of presetting in the procedure code 42; Control circuit 36 also can be controlled optical module 34A and with certain power data be write CD 32.
In CD player 30 of the present invention, short-access storage 40 also stores data form 44 in addition except the required procedure code 42 of storage control circuit 42 work.Data form 44 is used for writing down a plurality of row (being listed as 46A to 46C as representative with three among Fig. 3); Each row is used for specific identification code is corresponded to specific recording correction data.Shown in the example among Fig. 3, row 46A, 46B and 46C correspond to recording correction data OPC1, OPC2 and OPC3 with identification code T1, T2 and T3 respectively.And also store identification code 48 on the CD 32.As previously mentioned, have the dissimilar recordable CD of different identification codes, have different physical characteristicss, also use different power to write data; And the optimum write power of variety classes CD just is recorded in the corresponding recording correction data.Different with known technology is, the present invention is stored in same programmable nonvolatile memory with recording correction data and procedure code, and just short-access storage 40.As for the present invention's recording correction data in the access short-access storage 40 how, then please refer to Fig. 4 (and in the lump with reference to figure 3).Fig. 4 is used for the process flow diagram of flow process 200 of access record correction data for the present invention; It is provided with the following step:
Step 202: beginning.Before CD player 30 began data to be write to CD 32, control circuit 36 must carry out flow process 200 earlier and obtain recording correction data corresponding to CD 32.
Step 204: read identification code.Read identification code 48 on the CD 32 with optical module 34A.
Step 206: each identification code of existing storage in identification code 48 and the short-access storage 40 is compared one by one.Illustrate with the example among Fig. 3, exactly identification code 48 is compared one by one with identification code T1, T2 and T3.If identification code 48 conforms to one of existing identification code, then continue to step 208.If identification code 48 all is not inconsistent (or not storing identification code in the data form 44 as yet) with each existing identification code, then continue to step 209.
Step 208: identification code 48 conforms to one of existing identification code, and control circuit 36 just can be directly by the recording correction data that reads in the short-access storage 40 identification code that should prestore.
Step 209: each the existing identification code in identification code 48 and the short-access storage 40 all is not inconsistent, and represents CD player 30 to need and will write down correction to CD 32, to obtain corresponding recording correction data.Before writing down correction, this step can be temporary in relevant procedure code earlier in the random access memory 38 earlier.Originally control circuit 36 is that the procedure code that reads in the short-access storage 40 carries out general operation; After the relative program sign indicating number was temporary in random access memory 38, control circuit 36 just changed by fetch program sign indicating number in the random access memory 38 to carry out follow-up operation control.
Step 210: write down correction.Control circuit 36 control optical module 34A write down correction to CD 32, obtaining the optimum write power of corresponding CD 32, and are recorded in the recording correction data.This moment, recording correction data can be temporary in earlier in the random access memory 38.
Step 212: through step 210, control circuit 36 can have been obtained the recording correction data of corresponding CD 32.In this step, control circuit 36 can together write to the recording correction data of obtaining in the step 210 in the short-access storage 40 together with corresponding identification code according to the procedure code that is temporary in the random access memory 38.As previously mentioned, the operating characteristic of short-access storage is exactly: when writing data to short-access storage, can't read the data in the short-access storage.Therefore, the present invention is temporary in relevant procedure code earlier in the random access memory 38, and the procedure code by control circuit 36 is carried out in the random access memory 38 writes to recording correction data in the short-access storage 40.Illustrate with the example among Fig. 3 again, after recording correction data and corresponding identification code 48 are write to data form 44, just have four row in the data form 44.When later CD player 30 will write to data the CD similar with CD 32, just can needn't carry out the record of step 210 again and proofread and correct directly by reading corresponding recording correction data in the short-access storage 40.
Step 214: obtain the recording correction data of CD 32 correspondences at control circuit 36 after, just can process ends 200.Next control circuit 35 just can utilize recording correction data with optimum write power data to be write in the CD 32.After step 212 write to short-access storage 40 with recording correction data, control circuit 36 just again can be by fetch program sign indicating number 42 in the short-access storage 40, to carry out follow-up control.
Because the characteristic of short-access storage when data are write to short-access storage, can't read the procedure code in the short-access storage simultaneously, therefore in known technology, recording correction data must be stored with a ROM (read-only memory) in addition.By comparison, technology disclosed by the invention is earlier the relative program sign indicating number to be temporary in the random access memory, and control circuit promptly writes to recording correction data in the short-access storage according to this temporary procedure code.So, even short-access storage has the characteristic that can't read while write data, procedure code and recording correction data also can both be stored in the same short-access storage simultaneously, and the CD player among the present invention also just need not be provided with ROM (read-only memory) in addition.This makes and utilizes the CD player of the technology of the present invention to reduce cost that the cost of circuit design, manufacturing and maintenance and time also can both reduce.
The above only is the preferred embodiments of the present invention, and all equivalences of doing according to claim of the present invention change and improve, and all should belong to covering scope of the present invention.