CN103514901B - CD server, for this CD server data parallel reading/writing method and control device - Google Patents
CD server, for this CD server data parallel reading/writing method and control device Download PDFInfo
- Publication number
- CN103514901B CN103514901B CN201310439281.6A CN201310439281A CN103514901B CN 103514901 B CN103514901 B CN 103514901B CN 201310439281 A CN201310439281 A CN 201310439281A CN 103514901 B CN103514901 B CN 103514901B
- Authority
- CN
- China
- Prior art keywords
- rom drive
- server
- stored
- data
- read
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Optical Recording Or Reproduction (AREA)
Abstract
The invention provides a kind of data parallel reading/writing method for CD server, the method includes: selecting the CD-ROM drive group in CD server, described CD-ROM drive group at least includes a CD-ROM drive;Wait that described CD-ROM drive group is ready;The all of CD-ROM drive parallel running that described CD-ROM drive group includes, write data block to be stored in each described light is driven onto its built-in CD in this all of CD-ROM drive or in described CD, read data block to be assembled, wherein said data block to be stored is formed by splitting data file to be stored, and described data block to be assembled is used for being combined into target data file.Correspondingly, present invention also offers the control device that a kind of data parallel for CD server is read and write and the CD server with this control device.Implement the present invention and can be effectively improved the overall read or write speed of CD server.
Description
Technical field
The present invention relates to CD storage technique field, particularly relate to a kind of CD server, for this CD server
Data parallel reading/writing method and control device.
Background technology
Add up according to Internet data center (IDC, Internet Data Center), global metadata amount in 2010
Less than 1ZB, it is up to more than 35ZB to the year two thousand twenty.The filing data being wherein not frequently used account for always
About the 80% of data volume, i.e. about 28ZB.How these data are carried out low cost, safe and green
Color ground is long-term preserves one of difficult problem becoming data storage industry.In numerous data storage mediums, light
Dish medium is realized the storage of data by then passing through physical method, has and will not be disturbed by electromagnetic radiation
And the advantage insensitive to temperature and humidity, be therefore recognized be filing data preserve final medium shape
Formula.
In recent years, CD is more and more utilized to come out as the data storage device of storage medium, wherein,
CD server is gradually applied to file field on a large scale by people as a kind of modal data storage device.
Further, along with being greatly increased of single compact disc memory capacity, compared to other storage devices such as such as hard disks,
The advantages such as the cost performance of CD server are the most obvious.But, CD server also has certain weak point:
Existing CD server, being written and read data file when, is all to use a complete data file
It is saved in a CD or reads out from a CD mode of a complete data file, and light
The read or write speed of dish relatively slow (4.5MB/s~54MB/s), only 1/10th of common hard disc read or write speed,
Therefore, existing CD server cannot realize the high-speed read-write of data file.Especially, when CD server is to relatively
When big data file is written and read, its weak point then becomes apparent from.At present, this weak point is tight
Important place hinders CD server application in extensive filing field.
Summary of the invention
In order to overcome drawbacks described above of the prior art, the invention provides a kind of data for CD server
Concurrent reading and concurrent writing method, the method includes:
Selecting the CD-ROM drive group in CD server, described CD-ROM drive group at least includes a CD-ROM drive;
Wait that described CD-ROM drive group is ready;
The all of CD-ROM drive parallel running that described CD-ROM drive group includes, each described light in this all of CD-ROM drive
Write data block to be stored in being driven onto its built-in CD or in described CD, read data block to be assembled,
Wherein said data block to be stored is formed, described data block to be assembled by splitting data file to be stored
For being combined into target data file.
According to an aspect of the present invention, CD server described in the method includes CD-ROM drive described at least two
Group;The CD-ROM drive set that in described CD server, arbitrary described CD-ROM drive group includes and other light arbitrary in this CD server
Driving the CD-ROM drive intersection of sets collection included by group is sky.
According to another aspect of the present invention, the method selects the CD-ROM drive group in CD server include: according to
Predefined parameter selects described CD-ROM drive group.
According to a further aspect of the invention, predefined parameter described in the method includes described data to be stored
The number of file and/or overall writing speed.
According to a further aspect of the invention, the method waiting, described CD-ROM drive group is ready to include: drive
Motivation mechanical arm inserts CD respectively in the CD-ROM drive that described CD-ROM drive group includes;Wait that all described CDs enter
Enter to read and write SBR.
According to a further aspect of the invention, the size of data block to be stored described in the method is equal to presetting
Value.
Present invention also offers the control device that a kind of data parallel for CD server is read and write, this control fills
Put and include:
Selecting module, for selecting the CD-ROM drive group in CD server, described CD-ROM drive group at least includes a CD-ROM drive;
Preparation module, is used for receiving the described ready notification signal of CD-ROM drive group, and triggers driving module
Run;
Described driving module, for all of CD-ROM drive parallel running driving described CD-ROM drive group to include, makes
Data block to be stored is write or from described in each described light is driven onto its built-in CD in this all of CD-ROM drive
Reading data block to be assembled in CD, wherein said data block to be stored is by splitting data file to be stored
And formed, described data block to be assembled is used for being combined into target data file.
According to an aspect of the present invention, described in this control device, CD server includes described at least two
CD-ROM drive group;In the CD-ROM drive set that in described CD server, arbitrary described CD-ROM drive group includes and this CD server arbitrary its
His the CD-ROM drive intersection of sets collection included by CD-ROM drive group is empty.
According to another aspect of the present invention, module is selected to select according to predefined parameter described in this control device
Select described CD-ROM drive group.
According to a further aspect of the invention, described in this control device, predefined parameter includes described to be stored
The number of data file and/or overall writing speed.
According to a further aspect of the invention, described in this control device, preparation module includes: first prepares
Unit, for detecting that mechanical arm is successively inserted into CD respectively in the CD-ROM drive that described CD-ROM drive group includes;
Second preparatory unit, is used for detecting that all described CDs enter read-write SBR, and drives described in triggering
Dynamic model block runs.
According to a further aspect of the invention, this control device also includes cutting unit, for treating described
Storage data file carries out splitting to be formed described data block to be stored, wherein, described data block to be stored
Size equal to preset value.
Present invention also offers a kind of CD server, including read-write equipment, this read-write equipment includes CD-ROM drive, light
Dish, CD casket and mechanical arm, described CD server also includes above-mentioned control device, wherein:
Described control device drives the light in described read-write equipment to carry out data also in being driven onto its built-in CD
Row read-write.
According to an aspect of the present invention, described in this CD server control device by data transmission interface with
Described read-write equipment carries out data transmission.
According to another aspect of the present invention, data transmission interface described in this CD server include USB interface,
SATA interface, scsi interface, SAS interface or ISCASI interface.
According to a further aspect of the invention, device and described read-write equipment collection are controlled described in this CD server
In Cheng Yi rack.
CD server provided by the present invention, for this CD server data parallel reading/writing method and control device
By driving the multiple CD-ROM drive collaborative works in CD server parallel to realize in the built-in CD of multiple CD-ROM drives
Write data block to be stored or from the built-in CD of multiple CD-ROM drives, read data block to be assembled parallel, thus
Drastically increase the overall read or write speed of CD server, particularly in the case of CD-ROM drive number is more, can
So that the overall read or write speed of CD server reaches hard disk is even above the effect of R/W speed of hard disc, same with this
Time, also it is especially advantageous for promoting CD server application in extensive filing field.
Accompanying drawing explanation
The detailed description that non-limiting example is made made with reference to the following drawings by reading, this
Bright other features, objects and advantages will become more apparent upon:
Fig. 1 is the method flow diagram that the data parallel for CD server according to the present invention is read and write;
Fig. 2 is the control apparatus structure schematic diagram that the data parallel for CD server according to the present invention is read and write;
Fig. 3 is a specific embodiment knot of the CD server of the realized data parallel read-write according to the present invention
Structure schematic diagram;
Fig. 4 is another specific embodiment of the CD server of the realized data parallel read-write according to the present invention
Structural representation.
In accompanying drawing, same or analogous reference represents same or analogous parts.
Detailed description of the invention
For a better understanding and interpretation of the present invention, below in conjunction with accompanying drawing, the present invention is made the most in detail
Thin description.
According to an aspect of the invention, it is provided a kind of data parallel reading/writing method for CD server.
Refer to Fig. 1, Fig. 1 is the method flow diagram that the data parallel for CD server according to the present invention is read and write.
As it can be seen, the method comprises the following steps:
In step S101, selecting the CD-ROM drive group in CD server, described CD-ROM drive group at least includes a CD-ROM drive;
In step s 102, wait that described CD-ROM drive group is ready;
In step s 103, all of CD-ROM drive parallel running that described CD-ROM drive group includes, this all of light
Drive in each described light is driven onto its built-in CD and write data block to be stored or read in described CD
Data block to be assembled, wherein said data block to be stored is formed, institute by splitting data file to be stored
State data block to be assembled for being combined into target data file.
Specifically, in step S101, CD-ROM drive group is selected to carry out the read-write of data file from CD server.
Hereinafter, data file to be stored, wherein, a number to be stored are referred to as data file to be written
To be written in the CD included by a CD-ROM drive group according to file;Number of targets is referred to as file to be read
According to file, wherein, a target data file will read out in the CD included by a CD-ROM drive group.
In the present embodiment, CD server includes at least one CD-ROM drive group, and each CD-ROM drive group includes at least
One CD-ROM drive.If only including a CD-ROM drive group in CD server, then the CD-ROM drive number that this CD-ROM drive group includes is equal to
The sum of CD-ROM drive in CD server;If CD server includes two or more CD-ROM drive groups, the most all CD-ROM drives
The summation of the CD-ROM drive number that group includes is equal to the sum of CD-ROM drive in CD server, say, that appoint in CD server
The CD-ROM drive set that one CD-ROM drive group includes and other CD-ROM drive set intersections included by CD-ROM drive group arbitrary in this CD server
Collection is sky.Include that (these 20 CD-ROM drives represent, wherein 20 CD-ROM drives respectively with CD-ROM drive i with CD server
I=1,2 ... 20) as a example by illustrate, if the number of CD-ROM drive group is equal to 1, then the CD-ROM drive number that this CD-ROM drive group includes
Mesh i.e. includes CD-ROM drive 1 to CD-ROM drive 20 equal to 20();If the number of CD-ROM drive group is equal to 3, then these 3 CD-ROM drives
The CD-ROM drive number that group includes can be respectively equal to 10 (CD-ROM drive 1 to CD-ROM drives 10), 6 (CD-ROM drives 11
To CD-ROM drive 16) and 4 (CD-ROM drive 17 to CD-ROM drive 20).Above are only citing, in actual applications,
In CD server, the number of CD-ROM drive is determined by the memory capacity of data, the CD-ROM drive number that therefore CD server includes
Can be 10,20,50 the most, and the number of CD-ROM drive group is also not limited only in citing
1 or 3, can be 2 can also be more than 3.It should be noted that at the present embodiment
In, the CD-ROM drive group in CD server is according to all CD-ROM drives in described CD server are carried out logic groups in advance
Arrange and formed.
When data file to be stored is carried out write operation, need according to predefined parameter in CD server
CD-ROM drive group selects.In a specific embodiment, described predefined parameter is data file to be stored
Number, i.e. select the CD-ROM drive group equal with data file number to be stored to write from CD server.
Illustrating, CD server includes 5 CD-ROM drive groups, if the number of data file to be stored is equal to 3, then needs
Arbitrarily to select 3 CD-ROM drive groups as CD-ROM drive group to be written from these 5 CD-ROM drive groups.Concrete at another
In embodiment, described predefined parameter can also is that the overall writing speed of data file to be stored, i.e. from
CD server select the CD-ROM drive group that can meet overall writing speed write.Illustrate, CD server
Including 5 CD-ROM drive groups, the CD-ROM drive number that these 5 CD-ROM drive groups include is 10 respectively, 8,6,5
Individual and 3, the number of data file to be stored is equal to 3, and the writing speed of single compact disc is equal to
4.5MB/s, if it is desired to the overall writing speed of each data file to be stored is greater than or equal to
25MB/s, then need the CD-ROM drive group selecting CD-ROM drive number to be respectively 10,8 and 6, if the phase
Hope that the overall writing speed of each data file to be stored, then can be from CD-ROM drive greater than or equal to 20MB/s
Number arbitrarily selects 3 CD-ROM drive groups in being respectively the CD-ROM drive group of 10,8,6 and 5.
When target data file is read, due to target data file with number to be assembled
It is stored in CD according to the form of block, therefore from CD server, selects CD-ROM drive accordingly according to the number of this CD
Group is as CD-ROM drive group to be read.
In step s 102, during for writing data file to be stored, CD-ROM drive group to be written is being determined
After, it is necessary first to drive mechanical arm correctly to take out for data file to be stored write from CD casket
This CD is also inserted in the CD-ROM drive that CD-ROM drive group to be written includes by CD, repeat the above steps until
All CD-ROM drives that CD-ROM drive group to be written includes are inserted into CD, then wait that all CD-ROM drives enter write standard
Standby state, namely can carry out data write to all CDs.When the number of data file to be stored is
Two or more time, when the number of CD-ROM drive group the most to be written should be two or more mutually,
In this case it is necessary to the CD waited in all CD-ROM drives that all CD-ROM drive groups to be written include enters
Write SBR.
Similarly, for the situation of reading target data file, after determining CD-ROM drive group to be read, need
Drive mechanical arm correctly to take out from CD casket preserve the CD of data block to be assembled and inserted by this CD
Entering to corresponding CD-ROM drive group to be read in the CD-ROM drive included, repeat the above steps is until at CD-ROM drive to be read
All CD-ROM drives that group includes are inserted into CD, then wait that all CD-ROM drives enter and read SBR, also
It is exactly from all CDs, to carry out digital independent.When the number of target data file is two or two
Time above, when the number of CD-ROM drive group the most to be read should be two or more mutually, in this situation
Under, need to wait that the CD in all CD-ROM drives that all CD-ROM drive groups to be read include enters reading preparation shape
State.
In step s 103, after waiting that CD-ROM drive group is ready, the institute that all CD-ROM drive groups include is driven
There is CD-ROM drive parallel running, now can proceed by the read-write operation of data file.
When writing data file to be stored, all CD-ROM drive parallel runnings in CD-ROM drive group to be written
After, drive each described light in this all of CD-ROM drive to write data block to be stored in being driven onto its built-in CD.
Wherein, described data block to be stored is formed by splitting data file to be stored.It is embodied as at one
In example, the size of described data block to be stored is equal to preset value, such as 4K, 512K or 1M etc..Described
Preset value beforehand through being manually configured or can carry out self-adaptative adjustment according to practical situation.At root
When data file to be stored being cut according to preset value, if there is the data to be stored less than preset value
Block, then by making its size reach preset value to this data block to be stored write supplementary data.Number to be stored
After being formed according to block, if the number of data block to be stored is more than the CD-ROM drive group for preserving this data block to be stored
During the CD-ROM drive number included, can by data block to be stored write, built-in CD drive to use in the way of poll
In CD.Illustrating, the size of a data file to be stored is equal to 20M, according to preset value by it
It is partitioned into 20 data blocks to be stored (representing with data block 1 to be stored) to data block 20 to be stored,
The size of the most each data block to be stored is equal to 1M, if for the CD-ROM drive group writing this data file to be stored
Including 10 CD-ROM drives (representing with CD-ROM drive 1 to CD-ROM drive 10), then first drive CD-ROM drive 1 to CD-ROM drive 10
It is respectively written into data block 1 to be stored to data block 10 to be stored to its built-in CD, then proceedes to drive light
Drive 1 to CD-ROM drive 10 and be respectively written into data block 11 to be stored to data block 20 to be stored to its built-in CD,
Data block 1,11 the most to be stored is saved in the CD that CD-ROM drive 1 is built-in, data block 2,12 to be stored
Being saved in the CD that CD-ROM drive 2 is built-in, data block 3,13 to be stored is saved in the CD that CD-ROM drive 3 is built-in
In, by that analogy.
When reading target data file, after all CD-ROM drive parallel runnings in CD-ROM drive group to be read,
Each described CD-ROM drive in these all CD-ROM drives is driven to read data block to be assembled in the CD that it is built-in, wherein,
This data block to be assembled becomes target data file for subsequent combination.
In all data blocks to be stored are written to CD by CD-ROM drive group to be written or will be needed
Assemble after data block read out in CD by CD-ROM drive group to be read, data file be written in parallel to or
Reading completes.It is apparent that it is overall to use the mode of above-mentioned concurrent reading and concurrent writing can reach higher data file
Read or write speed.Still the writing speed by single compact disc illustrates as a example by being equal to 4.5MB/s, if concurrent working
CD-ROM drive quantity equal to 50 time, overall read or write speed will be up to 225MB/s.
Although it should be noted that describe the operation of the inventive method in the accompanying drawings with particular order, but
It is that this does not requires that or imply and according to this particular order to perform these operations, or must must hold
Operation shown in row is whole could realize desired result.On the contrary, the step described in flow chart can change
Become execution sequence.Additionally or alternatively, it is convenient to omit some step, multiple steps are merged into one
Step performs, and/or a step is decomposed into the execution of multiple step.
According to another aspect of the present invention, additionally provide what a kind of data parallel for CD server was read and write
Control device.Refer to Fig. 2, Fig. 2 is the control that the data parallel for CD server according to the present invention is read and write
Apparatus structure schematic diagram processed.As it can be seen, this control device 20 includes:
Selecting module 201, for selecting the CD-ROM drive group in CD server, described CD-ROM drive group at least includes a light
Drive;
Preparation module 202, is used for receiving the described ready notification signal of CD-ROM drive group, and triggers driving mould
Block 203 runs;
Described driving module 203, for all of CD-ROM drive parallel running driving described CD-ROM drive group to include,
Each described light in this all of CD-ROM drive is made to write data block to be stored or from institute in being driven onto its built-in CD
Reading data block to be assembled in stating CD, wherein said data block to be stored is by splitting data to be stored literary composition
Part and formed, described data block to be assembled is used for being combined into target data file.
Below, the specific works process of upper module will be described in detail.
Specifically, module 201 is selected to select CD-ROM drive group to carry out the read-write of data file from CD server.Light
Make an inventory of goods in a warehouse and include at least one CD-ROM drive group, and each CD-ROM drive group includes at least one CD-ROM drive.If in CD server
Only include a CD-ROM drive group, then the CD-ROM drive number that this CD-ROM drive group includes is equal to the sum of CD-ROM drive in CD server;
If CD server includes two or more CD-ROM drive groups, the CD-ROM drive number that the most all CD-ROM drive groups include total
With equal to the sum of CD-ROM drive in CD server, say, that the light round-up that in CD server, arbitrary CD-ROM drive group includes
Close other CD-ROM drive set included by CD-ROM drive group arbitrary with this CD server to occur simultaneously for sky.Include with CD server
20 CD-ROM drives (these 20 CD-ROM drives represent with CD-ROM drive i respectively, wherein i=1,2 ... 20) as a example by illustrate, if
The number of CD-ROM drive group is equal to 1, then the CD-ROM drive number that this CD-ROM drive group includes i.e. includes CD-ROM drive 1 equal to 20(
To CD-ROM drive 20);If the number of CD-ROM drive group is equal to 3, then the CD-ROM drive number that these 3 CD-ROM drive groups include is permissible
Respectively equal to 10 (CD-ROM drive 1 to CD-ROM drive 10), 6 (CD-ROM drive 11 to CD-ROM drives 16) and 4 (light
Drive 17 to CD-ROM drive 20).Above are only citing, in actual applications, in CD server, the number of CD-ROM drive is by counting
According to memory capacity determine, the CD-ROM drive number that therefore CD server includes can be 10,20,50
Individual the most, and the number of CD-ROM drive group is also not limited only to 1 or 3 in citing, can be 2
Individual can also be more than 3.It should be noted that in the present embodiment, the CD-ROM drive group in CD server is
User presets and is formed, and has once set, will be based on this in the read-write of follow-up data file
CD-ROM drive group is selected by setting in advance.
When data file to be stored is carried out write operation, module 201 is selected to need according to predefined parameter
CD-ROM drive group in CD server is selected.In a specific embodiment, described predefined parameter is to wait to deposit
The number of storage data file, i.e. select module 201 to select from CD server and data file to be stored
The equal CD-ROM drive group of number writes.Illustrating, CD server includes 5 CD-ROM drive groups, if to be stored
The number of data file is equal to 3, selects module 201 then to need from these 5 CD-ROM drive groups and arbitrarily selects 3
CD-ROM drive group is as CD-ROM drive group to be written.In another specific embodiment, described predefined parameter can also is that
The overall writing speed of data file to be stored, i.e. select module 201 to select to expire from CD server
The CD-ROM drive group of the overall writing speed of foot writes.Illustrating, CD server includes 5 CD-ROM drive groups, and these are 5 years old
The CD-ROM drive number that individual CD-ROM drive group includes is 10,8,6,5 and 3 respectively, number to be stored
Being equal to 3 according to the number of file, the writing speed of single compact disc is equal to 4.5MB/s, if it is desired to each waiting is deposited
The overall writing speed of storage data file is all greater than or equal to 25MB/s, selects module 201 then to need to select
CD-ROM drive number is respectively the CD-ROM drive group of 10,8 and 6, if it is desired to each data to be stored literary composition
The overall writing speed of part is all greater than or equal to 20MB/s, selects module 201 then can divide from CD-ROM drive number
It is not 3 CD-ROM drive groups of any selection in the CD-ROM drive group of 10,8,6 and 5.
When target data file is read, due to target data file with number to be assembled
It is stored in CD according to the form of block, therefore selects module 201 according to the number of this CD accordingly from CD
Storehouse select CD-ROM drive group as CD-ROM drive group to be read.
After selecting module 201 to complete the selection of CD-ROM drive group, send and drive signal to drive the light that CD-ROM drive group includes
Drive and be written and read preparing.Can trigger ready after all CD-ROM drives of including when CD-ROM drive group are ready
Notification signal, preparation module 202 receives the described ready notification signal of CD-ROM drive group, and triggers driving mould
Block 203 runs.Specifically, described preparation module 202 farther includes the first preparatory unit 2021 and second
Preparatory unit 2022.Wherein, the first preparatory unit 2021 is used for detecting that mechanical arm is respectively to described CD-ROM drive
The CD-ROM drive that group includes is successively inserted into CD;Second preparatory unit 2022 is used for detecting all described light
Dish enters read-write SBR, and triggers the operation of described driving module.
After preparation module 202 triggers and drives module 203 to run, module 203 is driven to drive all CD-ROM drives
All CD-ROM drive parallel runnings that group includes.When writing data file to be stored, drive module
203 drive each described light in this all of CD-ROM drive to be driven onto its built-in CD interior write data block to be stored.
Preferably, control device provided by the present invention further comprises segmentation module 204, for treating described
Storage data file carries out splitting to be formed described data block to be stored, wherein, described data block to be stored
Size equal to preset value.In a specific embodiment, the size of described data block to be stored is equal to pre-
If value, such as 4K, 512K or 1M etc..Described preset value can be manual beforehand through segmentation module 204
It is configured or splits module 204 carrying out self-adaptative adjustment according to practical situation.In segmentation module 204
When data file to be stored being cut according to preset value, if there is the number to be stored less than preset value
According to block, then by making its size reach preset value to this data block to be stored write supplementary data.To be stored
After data block is formed, if the number of data block to be stored is more than the CD-ROM drive for preserving this data block to be stored
During the CD-ROM drive number that group includes, driving module 203 can be by data block to be stored in the way of using poll
In the write CD that built-in CD drive.Illustrating, the size of a data file to be stored is equal to 20M,
It is that 20 data blocks to be stored are (with data block to be stored that segmentation module 204 is divided into according to preset value
1 represents to data block 20 to be stored), the size of the most each data block to be stored is equal to 1M, if being used for writing
The CD-ROM drive group entering this data file to be stored includes 10 CD-ROM drives (representing with CD-ROM drive 1 to CD-ROM drive 10), that
Module 203 is driven first to drive CD-ROM drive 1 to CD-ROM drive 10 to be respectively written into data to be stored to its built-in CD
Block 1 is to data block 10 to be stored, and right rear drive module 203 continues to drive CD-ROM drive 1 to CD-ROM drive 10 in it
Put CD and be respectively written into data block 11 to be stored to data block 20 to be stored, data block 1 the most to be stored,
11 are saved in the CD that CD-ROM drive 1 is built-in, and data block 2,12 to be stored is saved in the light that CD-ROM drive 2 is built-in
In dish, data block 3,13 to be stored is saved in the CD that CD-ROM drive 3 is built-in, by that analogy.For reading
Take the situation of target data file, drive module 203 to drive in these all CD-ROM drives each described CD-ROM drive from it
Reading data block to be assembled in built-in CD, wherein, this data block to be assembled becomes mesh for subsequent combination
Mark data file.
In all data blocks to be stored are written to CD by CD-ROM drive group to be written or will be needed
Assemble after data block read out in CD by CD-ROM drive group to be read, data file be written in parallel to or
Reading completes.
The term that this part occurs has consistent implication with noun with the most identical term or noun,
Such as described " data file to be stored ", " target data file ", " CD-ROM drive group to be written ", " treat
Read CD-ROM drive group " etc., above-mentioned term or noun and the operation principle related to thereof all refer to hereinbefore be correlated with
Describing and explaining, for simplicity not repeating them here of part.
Control device 20 and each several part included thereof are preferably implemented as a kind of computer program, above-mentioned
The embodiment of computer program can be by using any record medium for computer-readable information
Realizing, described record medium includes magnetizing mediums, light medium or other media being suitable for.Control device 20
May be embodied as standalone architecture, control device 20 and each several part included thereof and operate in a computer equipment
In.
According to a further aspect of the invention, a kind of CD server is additionally provided.Refer to Fig. 3, Fig. 3 is root
The CD server structural representation read and write according to the realized data parallel of one specific embodiment of the present invention.Such as figure
Shown in, described CD server includes read-write equipment 30, this read-write equipment 30 include CD-ROM drive 301, CD 302,
CD casket 303 and mechanical arm 304, wherein, CD casket 303 is for placing compact disc 303, and mechanical arm 304 is used
After taking out CD 302 from CD casket 303, this CD 302 is inserted CD-ROM drive 301 or takes from CD-ROM drive 301
This CD 302 is put into after going out CD 302 CD casket 303, and described CD-ROM drive 301 is for from its built-in CD
Read in 302 or write data file.Described CD server further comprises previously described control device
20, wherein, described control device 20 is for driving the light in described read-write equipment 30 to be driven onto its built-in light
Data parallel read-write is carried out in dish 302.Owing to hereinbefore control device 20 being driven in described read-write equipment 30
Light be driven onto its built-in CD 302 in carry out the process of data parallel read-write and be described in detail, because of
This no longer carries out repeated description for brevity at this.
In a specific embodiment, if controlling device 20 to be embodied as a kind of computer program, and should
Computer program operates in a computer equipment, in this case, as it is shown on figure 3, described
Read-write equipment 30 is integrated in a rack 40, and the computer equipment running this control device 20 (does not shows
Go out) carried out data transmission with described read-write equipment 30 by data transmission interface.Wherein, described data pass
Defeated interface includes but not limited to USB interface, SATA interface, scsi interface, SAS interface or ISCASI
Interface.
In another specific embodiment, as shown in Figure 4, described control device 20 can also be with described read-write
Device 30 is integrated in a rack.
What the present invention provided is used for determining that the data parallel reading/writing method for CD server can use able to programme
Logical device realizes, it is also possible to be embodied as computer software, such as according to embodiments of the invention
Can be a kind of computer program, run this program product and make computer perform for the side demonstrated
Method.Described computer program includes computer-readable recording medium, and this medium comprises computer journey
Sequence logic or code section, for realizing each step of said method.Described computer-readable storage medium
Matter can be the built-in medium being mounted in a computer or removable Jie that can dismantle from basic computer
Matter (such as hot-plugging technology storage device).Described built-in medium includes but not limited to rewritable non-volatile
Property memorizer, such as RAM, ROM, flash memory and hard disk.Described removable medium include but not
It is limited to: optical storage media (such as CD-ROM and DVD), magneto-optic storage media (such as MO), magnetic
Storage media (such as tape or portable hard drive), there is the matchmaker of built-in rewritable nonvolatile memory
Body (such as storage card) and there are the media (such as ROM box) of built-in ROM.
It will be appreciated by those skilled in the art that any there is the computer system of properly programmed device all by energy
Enough perform all steps of the method for the present invention being included in program product.Although described in this specification
Most detailed description of the invention all lay particular emphasis on software program, but realize the present invention as firmware and hardware and provide
The alternate embodiment of method equally within the scope of protection of present invention.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment,
And without departing from the spirit or essential characteristics of the present invention, it is possible to real in other specific forms
The existing present invention.Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary, and
Being nonrestrictive, the scope of the present invention is limited by claims rather than described above, therefore purport
All changes in falling in the implication of equivalency and scope of claim are included in the present invention.
Should not be considered as limiting involved claim by any reference in claim.Furthermore, it is to be understood that " bag
Including " word is not excluded for miscellaneous part, unit or step, and odd number is not excluded for plural number.In device claim old
Multiple parts, unit or the device stated can also be by parts, unit or device by software or hard
Part realizes.
CD server provided by the present invention, for this CD server data parallel reading/writing method and control device
By driving the multiple CD-ROM drive collaborative works in CD server parallel to realize in the built-in CD of multiple CD-ROM drives
Write data block to be stored or from the built-in CD of multiple CD-ROM drives, read data block to be assembled parallel, thus
Drastically increase the overall read or write speed of CD server, particularly in the case of CD-ROM drive number is more, can
So that the overall read or write speed of CD server reaches hard disk is even above the effect of R/W speed of hard disc, same with this
Time, also it is especially advantageous for promoting CD server application in extensive filing field.
Above disclosed some preferred embodiments being only the present invention, can not limit with this certainly
The interest field of the present invention, the equivalent variations therefore made according to the claims in the present invention, still belong to institute of the present invention
The scope contained.
Claims (12)
1., for a data parallel reading/writing method for CD server, the method includes:
Number according to predefined parameter or data block place to be assembled CD selects the CD-ROM drive group in CD server,
Described CD-ROM drive group at least includes a CD-ROM drive, described predefined parameter include data file to be stored number and/
Or entirety writing speed;
Wait that described CD-ROM drive group is ready;
The all of CD-ROM drive parallel running that described CD-ROM drive group includes, each described light in this all of CD-ROM drive
Write data block to be stored in being driven onto its built-in CD or in described CD, read described data to be assembled
Block, wherein said data block to be stored by split described data file to be stored and formed, described in treat group
Dress data block is used for being combined into target data file.
Method the most according to claim 1, wherein:
Described CD server includes CD-ROM drive group described at least two;
The CD-ROM drive set that in described CD server, arbitrary described CD-ROM drive group includes and other light arbitrary in this CD server
Driving the CD-ROM drive intersection of sets collection included by group is sky.
Method the most according to claim 1, wherein, waits that described CD-ROM drive group is ready and includes:
Mechanical arm is driven to insert CD respectively in the CD-ROM drive that described CD-ROM drive group includes;
Wait that all described CDs enter read-write SBR.
Method the most according to claim 1, wherein, the size of described data block to be stored is equal to pre-
If value.
5. the control device read and write for the data parallel of CD server, this control device includes:
Select module, select CD for the number according to predefined parameter or data block place to be assembled CD
CD-ROM drive group in storehouse, described CD-ROM drive group at least includes a CD-ROM drive, and described predefined parameter includes number to be stored
Number and/or overall writing speed according to file;
Preparation module, is used for receiving the described ready notification signal of CD-ROM drive group, and triggers driving module
Run;
Described driving module, for all of CD-ROM drive parallel running driving described CD-ROM drive group to include, makes
Data block to be stored is write or from described in each described light is driven onto its built-in CD in this all of CD-ROM drive
Reading described data block to be assembled in CD, wherein said data block to be stored is described to be stored by segmentation
Data file and formed, described data block to be assembled is used for being combined into target data file.
Control device the most according to claim 5, wherein:
Described CD server includes CD-ROM drive group described at least two;
The CD-ROM drive set that in described CD server, arbitrary described CD-ROM drive group includes and other light arbitrary in this CD server
Driving the CD-ROM drive intersection of sets collection included by group is sky.
Control device the most according to claim 5, wherein, described preparation module includes:
First preparatory unit, for detecting that mechanical arm becomes respectively in the CD-ROM drive that described CD-ROM drive group includes
Merit inserts CD;
Second preparatory unit, is used for detecting that all described CDs enter read-write SBR, and triggers institute
State driving module to run.
Control device the most according to claim 5, this control device also includes;
Cutting unit, for splitting to form described data to be stored to described data file to be stored
Block, wherein, the size of described data block to be stored is equal to preset value.
9. a CD server, including read-write equipment, this read-write equipment include CD-ROM drive, CD, CD casket with
And mechanical arm, it is characterised in that described CD server also includes the control dress as described in claim 5 to 8
Put, wherein:
Described control device drives the light in described read-write equipment to carry out data also in being driven onto its built-in CD
Row read-write.
CD server the most according to claim 9, wherein, described control device is transmitted by data
Interface carries out data transmission with described read-write equipment.
11. CD servers according to claim 10, wherein, described data transmission interface includes USB
Interface, SATA interface, scsi interface, SAS interface or ISCASI interface.
12. CD servers according to claim 9, wherein, described control device and described read-write dress
Put and be integrated in a rack.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310439281.6A CN103514901B (en) | 2013-09-24 | 2013-09-24 | CD server, for this CD server data parallel reading/writing method and control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310439281.6A CN103514901B (en) | 2013-09-24 | 2013-09-24 | CD server, for this CD server data parallel reading/writing method and control device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103514901A CN103514901A (en) | 2014-01-15 |
CN103514901B true CN103514901B (en) | 2016-08-17 |
Family
ID=49897513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310439281.6A Active CN103514901B (en) | 2013-09-24 | 2013-09-24 | CD server, for this CD server data parallel reading/writing method and control device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103514901B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104134447B (en) * | 2014-05-04 | 2017-01-25 | 武汉光忆科技有限公司 | Compact disc storage system and compact disc data reading and writing method |
CN106202414B (en) * | 2016-07-12 | 2019-11-22 | 武汉光忆科技有限公司 | A kind of file system and file memory method and system based on huge capacity compact discs library |
JP7183171B2 (en) * | 2017-10-06 | 2022-12-05 | シーエムシー マグネティクス コーポレーション | Optical disc and optical disc manufacturing method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1172322A (en) * | 1997-06-13 | 1998-02-04 | 清华大学 | Multifunctional optical disk array and using implementation data parallel write/read method |
US5936794A (en) * | 1994-10-17 | 1999-08-10 | Nippon Telegraph & Telephone Corp. | Media library system using media management scheme for reducing recording medium access time |
CN201323055Y (en) * | 2008-12-22 | 2009-10-07 | 苏州互盟信息存储技术有限公司 | Mark automatic recognition device of disc box |
CN102193751A (en) * | 2010-03-15 | 2011-09-21 | 日立-Lg数据存储韩国公司 | Optical disk drive RAID driving method |
-
2013
- 2013-09-24 CN CN201310439281.6A patent/CN103514901B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5936794A (en) * | 1994-10-17 | 1999-08-10 | Nippon Telegraph & Telephone Corp. | Media library system using media management scheme for reducing recording medium access time |
CN1172322A (en) * | 1997-06-13 | 1998-02-04 | 清华大学 | Multifunctional optical disk array and using implementation data parallel write/read method |
CN201323055Y (en) * | 2008-12-22 | 2009-10-07 | 苏州互盟信息存储技术有限公司 | Mark automatic recognition device of disc box |
CN102193751A (en) * | 2010-03-15 | 2011-09-21 | 日立-Lg数据存储韩国公司 | Optical disk drive RAID driving method |
Also Published As
Publication number | Publication date |
---|---|
CN103514901A (en) | 2014-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI603194B (en) | Data storage device and data accessing method | |
RU2019110993A (en) | METHOD AND DEVICE FOR WRITING SAVED DATA ON DATA CARRIER BASED ON FLASH MEMORY | |
US9569134B2 (en) | Sequential access storage and data de-duplication | |
RU2006107213A (en) | SINGLE RECORDING OPTICAL DISK AND METHOD AND DEVICE FOR MANAGING INFORMATION ON IT | |
US7702845B2 (en) | Method and apparatus for managing blocks according to update type of data in block-type memory | |
CN103870211A (en) | Method of writing a file to a plurality of media and a storage system thereof | |
CN103514901B (en) | CD server, for this CD server data parallel reading/writing method and control device | |
CN103955433A (en) | Shingled magnetic recording hard disk, and method and device for writing data in shingled magnetic recording hard disk | |
CN107526689A (en) | Read cache management | |
US20150095294A1 (en) | Elimination of Fragmentation of Files in Storage Medium by Utilizing Head Movement Time | |
US8565051B2 (en) | Storage system and method for generating file system in the storage system | |
US10963425B2 (en) | Data placement on magnetic data storage tape | |
CN101441596A (en) | Method for improving flash memory medium read-write speed | |
CN104133640B (en) | From the fast quick-recovery of dormancy | |
CN103514916B (en) | CD server, for the data asynchronous parallel reading/writing method of CD server and control device | |
EP3093772B1 (en) | Data processing method, data writing method, and related apparatus | |
TWI559139B (en) | Data storage device and data maintenance method thereof | |
Micheloni et al. | Solid-State-Drives (SSDs) Modeling | |
WO2008102471A1 (en) | Reproducing apparatus, reproducing method, program, and recording medium | |
CN103617250B (en) | File management method and file format system based on optical storage array | |
WO2015198182A1 (en) | Hybrid surface format hard disk drive | |
CN101960527B (en) | Recording method, recording device, optical disc, optical disc manufacturing method, and optical disc drive device | |
Roy | All the memory in the world, all the music in the world: Mediating musical patrimony in the digital age | |
US8392169B2 (en) | Simulating virtual optical disc recorder by using a storage device and method for the same | |
CN103530068B (en) | Data reading-writing method and control device for light storage array network |
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 |