CN103617250B - File management method and file format system based on optical storage array - Google Patents

File management method and file format system based on optical storage array Download PDF

Info

Publication number
CN103617250B
CN103617250B CN201310626454.5A CN201310626454A CN103617250B CN 103617250 B CN103617250 B CN 103617250B CN 201310626454 A CN201310626454 A CN 201310626454A CN 103617250 B CN103617250 B CN 103617250B
Authority
CN
China
Prior art keywords
file
data
data file
index information
optical storage
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
CN201310626454.5A
Other languages
Chinese (zh)
Other versions
CN103617250A (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.)
Sino Cloud Data Storage Technology (beijing) Co Ltd
Original Assignee
Sino Cloud Data Storage Technology (beijing) Co Ltd
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 Sino Cloud Data Storage Technology (beijing) Co Ltd filed Critical Sino Cloud Data Storage Technology (beijing) Co Ltd
Priority to CN201310626454.5A priority Critical patent/CN103617250B/en
Publication of CN103617250A publication Critical patent/CN103617250A/en
Application granted granted Critical
Publication of CN103617250B publication Critical patent/CN103617250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1748De-duplication implemented within the file system, e.g. based on file segments
    • G06F16/1752De-duplication implemented within the file system, e.g. based on file segments based on file chunks
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention provides a kind of file management method based on optical storage array, this document management method includes:It is multiple data blocks by data file segmentation, and the plurality of data block is write in multiple CDs that optical storage array includes;The index information of the data file is recorded, the index information is used to indicate that reading device reads the multiple data block out of described multiple CDs.Correspondingly, the optical storage array of this document management method can be realized present invention also offers a kind of.Implementing the present invention can realize to hundreds of in the optical storage array even unified management of a few thousand sheets CDs.

Description

File management method and file format system based on optical storage array
Technical field
The present invention relates to field of optical storage technology, more particularly to a kind of file management method based on optical storage array and File format system.
Background technology
According to Internet data center(IDC, Internet Data Center)Statistics, global metadata amount in 2010 less than 1ZB, more than 35ZB is up to the year two thousand twenty.The filing data being wherein not frequently used account for 80% of total amount of data or so, i.e., 28ZB or so.How these data are carried out with low cost, safety and greenly long-term preserve becomes data storage industry One of problem.In numerous data storage mediums, CD realizes the storage of data by then passing through physical method, with will not be by Interference and the advantage insensitive to temperature and humidity to electromagnetic radiation, thus be recognized be filing data preserve final Jie Matter form.
At present, the compact disk file system specification main included below two used when data file is stored into CD Kind:A kind of is the file system of ISO9660 standards, and another is UDF (Universal Disc Format) file system.
File system according to ISO9660 standards writes data file into CD, and its problem is, after write-in CD Data file can not modify again.That is, once finding that the data file in CD has problem, being can not Data file is modified by deletion, additional and/or replacement operation, and data file can only be entered on disk first Row modification, then re-writes CD by amended data file.Especially, when data file needs that modification is repeated When, user operates can be very cumbersome.It is thus impossible to which it is ISO9660 that the content of data file in CD, which is modified, The weak point of one highly significant of file system.
Above-mentioned weak point can then be solved using UDF file system.Specifically, UDF file system is being used to CD During interior write-in data file, the index information of data file can be also write in the CD.As the behaviour that modified to data file The part changed when making, in data file is still suffered from CD in fact, and amended part is then with independent in data file Data cell write-in CD, while accordingly updating index information, reading device is read according to index information after renewal out of CD The part changed can not be found by taking during data file, but can find amended part, by using amended part The content changed is substituted to realize the modification operation to data file in CD.
Although UDF file system solves the problems, such as the modification to data file in CD, UDF file system is still In the presence of certain defect:
Firstth, UDF file system is directed to single compact disc, that is to say, that can only solve individual using UDF file system The problem of management of file in CD, and the serial continuous file management of multiple CDs and the parallel piecemeal of multiple CDs can not be carried out File management.At present, main trend is had become as storage device using optical storage array, and in optical storage array generally Including hundreds of or even a few thousand sheets CDs, therefore, it will be unable to effectively to the CD in optical storage array using UDF file system It is managed collectively.
When the secondth, writing data file into CD using UDF file system, if the size of CD remaining space is less than The data file, then can not be written in CD by the size of data file, consequently, it is possible to which the remaining space of CD will be unrestrained Take.When optical storage array includes hundreds of even a few thousand sheets CDs, if each can not be made full use of in optical storage array The remaining space of CD, then can cause the significant wastage of optical storage array memory space.
The content of the invention
In order to overcome drawbacks described above of the prior art, the invention provides a kind of file management based on optical storage array Method, this document management method includes:
It is multiple data blocks by data file segmentation, and the plurality of data block is write into multiple light that optical storage array includes In disk;
The index information of the data file is recorded, the index information is used to indicate reading device from multiple described CDs It is interior to read the multiple data block.
According to an aspect of the present invention, this document management method also includes:Read out of described multiple CDs described many After individual data block, the multiple data block combinations are reduced to the data text by the reading device always according to the index information Part.
According to another aspect of the present invention, this document management method is after the index information of the data file is recorded Also include:Storage updating the data for generation for the renewal operation of the data file, and update operation more according to described Change the index information.
According to another aspect of the present invention, multiple CDs described in this document management method are that write-once is repeatedly read CD.
According to another aspect of the present invention, operation is updated described in this document management method includes:It is described for deleting The operation of partial content in data file;Or the operation for new content to be added in the data file;Or for for Change the operation of part or full content in the data file.
According to another aspect of the present invention, multiple CDs described in this document management method are erasable optical disk, the party Method also includes after the index information of the data file is recorded:According to the deletion action for the data file, from institute State and the multiple data block is wiped in multiple CDs, and delete the index information;Or according to repairing for the data file Change operation, change or delete part related to the modification operation in the multiple data block, and update the index information; Or according to the addition operation for the data file, the supplemental data of the data file is write into multiple described CDs, And update the index information.
According to another aspect of the present invention, this document management method also includes:Multiple index informations are combined as File management directory tree.
According to another aspect of the present invention, by the index information and/or the file pipe in this document management method Reason directory tree is stored in:In multiple described CDs in the designated space of each CD;Or be set in the optical storage array Independently of at least one CD outside multiple described CDs;Or it is provided separately from the storage outside the smooth storage array In medium.
According to another aspect of the present invention, storage medium described in this document management method include volatile memory, Flash chip and/or disk.
According to another aspect of the present invention, index information described in this document management method includes the multiple data block In CD where each data block positional information in the CD of identification information and the data block.
According to another aspect of the present invention, optical storage array described in this document management method includes at least one CD Storehouse.
Correspondingly, present invention also offers a kind of file format system based on optical storage array, including:
Optical storage array;
Split writing module, for being multiple data blocks by data file segmentation, and the write-in of the plurality of data block is described In multiple CDs that optical storage array includes;
Logging modle, the index information for recording the data file, the index information is used to indicate reading device The multiple data block is read out of described multiple CDs.
According to an aspect of the present invention, reading device described in this document format system according to the index information by institute State multiple data block combinations and be reduced to the data file.
According to another aspect of the present invention, this document format system also includes storage update module, is directed to for storing What the renewal of the data file was operated and produced updates the data and changes the index information according to the renewal operation.
According to a further aspect of the invention, multiple CDs described in this document format system are that write-once is repeatedly read CD.
According to a further aspect of the invention, operation is updated described in this document format system includes:It is described for deleting The operation of partial content in data file;Or the operation for new content to be added in the data file;Or for for Change the operation of part or full content in the data file.
According to a further aspect of the invention, multiple CDs described in this document format system are erasable optical disk, this article Part format system also includes erasing update module, wherein:The erasing update module is according to the deletion for the data file Operation, wipes the multiple data block, and delete the index information from multiple described CDs;Or the erasing update module According to the modification operation for the data file, change or delete related to the modification operation in the multiple data block Part, and update the index information;Or the erasing update module is operated according to the addition for the data file, to institute The supplemental data that the data file is write in multiple CDs is stated, and updates the index information.
According to a further aspect of the invention, this document format system also includes composite module, for by multiple ropes Fuse breath is combined as file management directory tree.
According to a further aspect of the invention, by the index information and/or the file pipe in this document format system Reason directory tree is stored in:In multiple described CDs in the designated space of each CD;Or be set in the optical storage array Independently of at least one CD outside multiple described CDs;Or it is provided separately from the storage outside the smooth storage array In medium.
According to a further aspect of the invention, storage medium described in this document format system include volatile memory, Flash chip and/or disk.
According to a further aspect of the invention, index information described in this document format system includes the multiple data block In CD where each data block positional information in the CD of identification information and the data block.
According to a further aspect of the invention, optical storage array described in this document format system includes at least one CD Storehouse.
File management method and file format system provided by the present invention based on optical storage array are by data file To be write in the form of data block in multiple CDs for including of optical storage array, and record the index information of the data file in order to Subsequent read device reads out the data block by the index information out of multiple CDs.Advantage of the invention is that:Firstth, It can realize to hundreds of in the optical storage array even unified management of a few thousand sheets CDs;Secondth, it is directed in CD remaining empty Between be not enough to write a complete data file situation, remaining space in CD can be entered using data block using the present invention Row filling is so as to reaching the effect for making full use of remaining space in CD and realizing seamless storage;3rd, it can realize as magnetic Disk is equally operated to the data file in CD(For example delete, replace, add), correspondingly also support to data after operation The data recovery of file.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the file management method flow chart based on optical storage array according to the present invention;
Fig. 2 is a specific embodiment structural representation of the file format system based on optical storage array according to the present invention Figure.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
For a better understanding and interpretation of the present invention, below in conjunction with accompanying drawing, the present invention is described in further detail.
According to an aspect of the invention, there is provided a kind of file management method based on optical storage array.It refer to figure 1, Fig. 1 is the file management method flow chart based on optical storage array according to the present invention.As illustrated, this method is including following Step:
It is multiple data blocks by data file segmentation in step S101, and the plurality of data block is write into optical storage battle array Arrange in multiple CDs included;
In step s 102, the index information of the data file is recorded, the index information is used to indicate reading device The multiple data block is read out of described multiple CDs.
Before step S101 is described, optical storage array is illustrated first.In the present embodiment, optical storage Array includes one or more CD server, wherein, each CD server is further again including one group of CD-ROM drive and multiple CDs.Need It is noted that optical storage array involved in the present invention is not restricted to the form of above-mentioned CD server, it is every by a large amount of light Disk, which gathers together, to carry out the storage device of data storage and can be considered optical storage array, falls into the scope protected of the present invention It is interior.The CD that optical storage array includes can be that write-once repeatedly reads CD or erasable optical disk.
Below, step S101 is illustrated with reference to a specific implement scene.
Specifically, when the CD included to optical storage array writes data file, if the residue of CD to be written is empty Between size be more than data file size, then data file can be write direct in the CD;If CD to be written The size of remaining space is less than the size of data file, then the data file will be unable to be written in the CD, at this point it is possible to first First data file is split according to the size of the remaining space with obtain with the equal-sized data block of CD remaining space, Then the data block is write to write the space of the CD in the remaining space of the CD expires, and remaining after data file segmentation Another data block can be then write in an other CD.It should be noted that when data file is larger, it may be necessary to Repeat this step and repeated segmentation is carried out to data block, for brevity, will not be repeated here in this case.
It will be appreciated by those skilled in the art that, the present invention is not to be only limited to above-mentioned implement scene.Another , can be by data file segmentation into multiple equal-sized data blocks, then concurrently by the plurality of data in individual implement scene Block is write in multiple CDs, so as to reach higher file writing speed.It should be noted that except above-mentioned two implement scene Outside, it can also need data file writing multiple CDs in the form of data block in the presence of other implement scenes in actual applications It is interior, for brevity, no longer all implement scenes being likely to occur are enumerated one by one herein.
In addition, the present invention is not limited the mode of the write-in CD of data block, for example, it may be according to data block in number The plurality of data block is written to one by one in multiple CDs according to putting in order in file or by the plurality of data block simultaneously It is written to capablely in multiple CDs.
In step s 102, data file is write to multiple CDs that optical storage array includes in the form of multiple data blocks After interior, the index information of the data file is recorded.In the present embodiment, the index information includes each data block institute In the identification information of CD(The numbering of such as CD)And each data block is located at the position letter in its place CD Breath.When user needs to read out some data text stored with data block formal distribution from optical storage array by reading device During part, the index information of the data file finds instruction reading device multiple for having the data file from optical storage array CD simultaneously indicates that reading device reads out multiple data blocks of distribution storage from the relevant position in multiple CDs.Wherein, institute State reading device and be embodied as a kind of computer program product, the computer program product runs on a computing device and passes through this Computer equipment carries out data transmission with optical storage array, and user can be to optical storage array bag by the computer program product Data file in the CD included conducts interviews.Those skilled in the art it should be understood that the reading device also Other product form are may be embodied as, such as standalone architecture is for brevity, no longer that may be present to reading device herein Product form is enumerated.
Illustrated with one embodiment to how to read data file using index information.Specifically, user needs logical Cross reading device and a data file is read from optical storage array, in this case, reading device obtains the data first The index information of file, such as index information show that the data file includes data block 1 and data block 2, wherein, data block 1 It is stored in last 1,000,000 space of CD 1 and data block 2 is stored in the space of beginning 99,000,000 of CD 2, according to the index information Reading device the data block that is stored in last 1,000,000 space is read from CD 1 and read since CD 2 be stored in 99 Data block in million.
Further, read out of described multiple CDs after the multiple data block, the reading device can also basis The multiple data block is combined reduction and forms data file by index information.
By data file write multiple CDs for including of optical storage array and record the data file index information it Afterwards, operation further can also be updated to the data file.Below, it is directed to write-once and repeatedly reads CD and erasable Except CD is illustrated respectively.
For the multiple reading CD of write-once, when the data file in CD is updated operation, storage is directed to What the renewal of the data file was operated and produced updates the data, and changes the index information according to the renewal operation.Its In, it is described to update operation including for deleting the operation of partial content in the data file, for new content to be added to Operation in the data file or the operation for replacing part or full content in the data file.
After deletion action is carried out to the partial content of data file, it is necessary to it is corresponding update the data in file index information with Part corresponding to deleted content, can not be read out deleted by the index information reading device after change from CD Content.
After new content is added in data file, the new content of addition, which will be written into optical storage array, to be included CD white space in(If the CD of data storage file still suffers from remaining space, additional content can be write on this In remaining space), at the same time, it is necessary to be entered according to position of the new content in CD to the index information of data file Row change, the data text generated after addition content can be read out according to the index information reading device after change from CD Part.
When the part or all of content to data file is replaced operation, equivalent to some or all of content of deletion Then new content is added in the position of deletion, at this time, it may be necessary to the index information of data file be changed, according to the index after change Information read device can read out the data file generated after replacement operation from CD.
For erasable optical disk, data file is write into multiple CDs for including of optical storage array and the number is recorded After the index information of file, according to the renewal operation for the data file, to the data file and its index Information is handled accordingly.Specifically, when carrying out deletion action to the data file, according to the deletion action from institute State and the multiple data block is wiped in multiple CDs, and delete the index information.As the behaviour that modified to the data file When making, operated according to the modification(For example in the partial content of deletion data file, the part or all of of replacement data file Hold)Part related to the modification operation in the multiple data block is changed or deleted, and updates the index information.When right When the data file is added operation, the data file is write into multiple described CDs according to the addition operation Supplemental data, and update the index information.
By foregoing description, it can realize that the content to data file in CD as disk is entered using the present invention Row modification(Including deleting, replacing and add new content).In addition, for the multiple reading CD of write-once, being deleted Content actually remain in CD and be not veritably to be wiped out of CD, therefore, use the present invention can be with Realize and data recovery is carried out to the data file changed.
Optical storage array generally includes hundreds of even a few thousand sheets CDs, for the ease of the CD included to optical storage array Interior mass data file is managed, it is preferable that the index of all data files in the CD for including optical storage array Information combination is file management directory tree.Below, the position that index information and/or file management directory tree are stored is said It is bright.
In one embodiment, data file is write after multiple CDs, can be by index information and/or file management mesh Tree is stored in multiple CDs in the designated space of each CD for record.For example, by before all CDs in optical storage array 100000000 spaces are used to the index information and/or file management directory tree of recording data files.Those skilled in the art can be with Understand, the space for recording indexes information and/or file management directory tree is not limited to the example above, and this is spatially located at The size of particular location and the space in CD can be set according to the actual demand of user.
In another embodiment, data file is write after multiple CDs, can be by index information and/or file management Directory tree, which is stored in, to be set in optical storage array independently of at least one CD outside multiple described CDs.For example, The index information of all data files and/or file management directory tree are intensively recorded one or more in optical storage array In CD.It will be appreciated by those skilled in the art that, for recording indexes information and/or the CD of file management directory tree Particular number it is relevant with the memory capacity of optical storage array and the storage number of data file.
In yet another embodiment, the index information and/or the file management directory tree can also be stored in and set It is set to independently of in the storage medium outside light storage array.Wherein, the storage medium includes volatile memory, flash memory core Piece and/or disk.
It should be noted that although the operation of the inventive method is described with particular order in the accompanying drawings, this is not It is required that or hint these operations must be performed according to the particular order, could be real or have to carry out operation shown in whole Existing desired result.On the contrary, the step of describing in flow chart can change execution sequence.Additionally or alternatively, it is convenient to omit Multiple steps are merged into a step execution, and/or a step is decomposed into execution of multiple steps by some steps.
According to another aspect of the present invention, a kind of file format system based on optical storage array is additionally provided.It please join Fig. 2 is examined, Fig. 2 is a specific embodiment structural representation of the file format system based on optical storage array according to the present invention Figure.As illustrated, the file format system 20 includes optical storage array 201;Split writing module 202, for data are literary Part is divided into multiple data blocks and writes the plurality of data block in multiple CDs that the optical storage array 201 includes;And Logging modle 203, the index information for recording the data file, the index information is used to indicate reading device from described The multiple data block is read in multiple CDs.
Below, the operation principle to each part of file format system 20 is described in detail.
Specifically, in the present embodiment, file format system 20 includes optical storage array storehouse 201, the optical storage array storehouse 201 include one or more CD server, wherein, each CD server is further again including one group of CD-ROM drive and multiple CDs.Need It is noted that optical storage array 201 involved in the present invention is not restricted to the form of above-mentioned CD server, it is every by largely CD, which gathers together, to carry out the storage device of data storage and can be considered optical storage array, falls into the scope protected of the present invention It is interior.In the present embodiment, the CD that optical storage array 201 includes can be that write-once repeatedly reads CD or can Rewritable disk.
Below, segmentation writing module 202 is illustrated with reference to a specific implement scene.When to optical storage array When 201 CDs included write data file, if the size of the remaining space of CD to be written is less than the size of data file, Then segmentation writing module 202 is split remaining empty with CD to obtain according to the size of the remaining space to data file first Between equal-sized data block, then the data block is write in the remaining space of the CD space of the CD is write full, and Remaining another data block can then be write in an other CD by segmentation writing module 202 after data file segmentation.Need Illustrate, when data file is larger, segmentation writing module 202 may need to carry out repeated segmentation to data block, be For the sake of concise, in this case it will not be repeated here.
It will be appreciated by those skilled in the art that, the present invention is not to be only limited to above-mentioned implement scene.Another In individual implement scene, segmentation writing module 202 can be by data file segmentation into multiple equal-sized data blocks, then parallel Ground writes the plurality of data block in multiple CDs, so as to reach higher file writing speed.It should be noted that except upper State outside two implement scenes, can also need segmentation writing module 202 in the presence of other implement scenes in actual applications by data File division is into being written into multiple CDs after data block, for brevity, herein no longer to all realities being likely to occur Scene is applied to be enumerated one by one.
In addition, the present invention is not limited the mode for splitting the writing data blocks into CD of writing module 202, for example, point Cut writing module 202 can be according to data block in the data file put in order the plurality of data block is written to one by one it is many In Zhang Guangpan or the plurality of data block is written in parallel in multiple CDs.
Split that writing module 202 writes in the form of multiple data blocks data file that optical storage array 201 includes is more After in Zhang Guangpan, logging modle 203 records the index information of the data file.In the present embodiment, the index information bag The identification information of CD where including each data block(The numbering of such as CD)And each data block is located at its institute Positional information in CD.When user needs to read out from optical storage array 201 in data block form by reading device When being distributed some data file of storage, the index information of the data file will indicate reading device from optical storage array 201 Find multiple CDs for having the data file and indicate that reading device reads out distribution from the relevant position in multiple CDs Multiple data blocks of storage.Wherein, the reading device is embodied as a kind of computer program product, computer program product fortune Go on a computing device and carried out data transmission by the computer equipment and optical storage array, user passes through the computer journey Data file in the CD that sequence product can include to optical storage array conducts interviews.Those skilled in the art should can be with Understand, the reading device can also be embodied as other product form, such as standalone architecture, for brevity, herein No longer reading device product form that may be present is enumerated.
, can be according to rope after multiple data blocks are read out in the CD that reading device includes from optical storage array 201 The multiple data block is combined reduction and forms data file by fuse breath.
Preferably, the file format system 20 further comprises storage update module 204.Split writing module 202 Multiple CDs and logging modle 203 that data file write-in optical storage array is included record the index information of the data file Afterwards, the storage update module 204 be used for store for the data file renewal operation and produce update the data and The operation change index information is updated according to described.Wherein, the CD is that write-once repeatedly reads CD.It is described to update Operation is included for deleting the operation of partial content in the data file, for new content to be added into the data file In operation or operation for replacing in the data file part or full content.
After the partial content to data file carries out deletion action, storage update module 204 needs accordingly to update the data , can not be from light by the index information reading device after change with the part corresponding to deleted content in file index information Deleted content is read out in disk.
After new content is added in data file, the new content that storage update module 204 is added will be write In the white space for entering the CD that optical storage array 201 includes(If the CD of data storage file still suffers from remaining space, can Additional content is write in the remaining space), at the same time, storage update module 204 needs to be existed according to the new content Position in CD is modified to the index information of data file, can be from light according to the index information reading device after change The data file generated after addition content is read out in disk.
When the part or all of content to data file is replaced operation, equivalent to some or all of content of deletion Then new content is added in the position of deletion, now, storage update module 204 needs to change the index information of data file, The data file generated after replacement operation can be read out from CD according to the index information reading device after change.
Preferably, the file format system 20 can also include erasing update module 205.Splitting writing module 202 will Data file multiple CDs for including of write-in optical storage array and logging modle 203 record the data file index information it Afterwards, erasing update module 205 is according to the renewal operation for the data file, to the data file and its index information Handled accordingly.Wherein, the CD is CD-E Compact Disc-Erasable.Specifically, when to data file progress deletion action When, erasing update module 205 wipes the multiple data block according to the deletion action from multiple described CDs, and deletes institute State index information.When being operated when being modified to the data file, erasing update module 205 is operated according to the modification(Example Such as delete partial content, the part or all of content of replacement data file of data file)Change or delete the multiple data The part related to the modification operation in block, and update the index information.When being added operation to the data file When, erasing update module 205 writes the supplemental data of the data file according to the addition operation into multiple described CDs, And update the index information.
It should be noted that the type of the CD included according to optical storage array 201, the file format system 20 also may be used With simultaneously including storage update module 204 and erasing update module 205.
Optical storage array 201 generally includes hundreds of even a few thousand sheets CDs, for the ease of including to optical storage array 201 CD in mass data file be managed, it is preferable that the file format system 202 also include composite module 206, should The index information for all data files that composite module 206 is used in the CD that includes optical storage array 201 is combined as file Administrative directory tree.Below, the position that index information and/or file management directory tree are stored is illustrated.
In one embodiment, index information and/or file management directory tree can be stored in into this more for composite module 206 In Zhang Guangpan in the designated space of each CD.In another embodiment, composite module 206 can by index information and/or File management directory tree, which is stored in, to be set in optical storage array 201 independently of at least one light outside multiple described CDs In disk.In yet another embodiment, composite module 206 can also be by the index information and/or the file management directory tree It is stored in the storage medium being provided separately from outside light storage array.Wherein, the storage medium includes volatile storage Device, flash chip and/or disk.
The term and noun that this part occurs have consistent implication with hereinbefore identical term or noun, such as described " optical storage array ", " reading device ", " index information " etc., above-mentioned term or noun and its operation principle being related to are referred to Hereinbefore relevant portion is described and explained, for simplicity will not be repeated here.
The file management method based on optical storage array that the present invention is provided can use PLD to realize, Computer software can also be embodied as, such as embodiments in accordance with the present invention can be a kind of computer program product, transported The row program product makes computer perform for demonstrated method.The computer program product is stored including computer-readable Computer program logic or code section, each step for realizing the above method are included on medium, the medium.It is described to calculate Machine readable storage medium storing program for executing can be mounted built-in medium in a computer or can be dismantled from basic computer it is removable Medium(Such as hot-plugging technology storage device).The built-in medium includes but is not limited to rewritable nonvolatile memory, Such as RAM, ROM, flash memory and hard disk.The removable medium includes but is not limited to:Optical storage media(Such as CD-ROM And DVD), magneto-optic storage media(Such as MO), magnetic recording medium(Such as tape or mobile hard disk), with built-in rewritable The media of nonvolatile memory(Such as storage card)With the media with built-in ROM(Such as ROM boxes).
It will be appreciated by those skilled in the art that any computer system with properly programmed device is all possible to perform bag The all steps for the method for the present invention being contained in program product.Although most embodiments all sides described in this specification Software program is overweighted, but realizes that the alternate embodiment for the method that the present invention is provided is same as firmware and hardware and is wanted in the present invention Within the scope of asking protection.
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, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the claim involved by limitation.This Outside, it is clear that the word of " comprising " one is not excluded for miscellaneous part, unit or step, and odd number is not excluded for plural number.Stated in device claim Multiple parts, unit or device can also be realized by a part, unit or device by software or hardware.
File management method and file format system provided by the present invention based on optical storage array are by data file To be write in the form of data block in multiple CDs for including of optical storage array, and record the index information of the data file in order to Subsequent read device reads out the data block by the index information out of multiple CDs.Advantage of the invention is that:Firstth, It can realize to hundreds of in the optical storage array even unified management of a few thousand sheets CDs;Secondth, it is directed in CD remaining empty Between be not enough to write a complete data file situation, remaining space in CD can be entered using data block using the present invention Row filling is so as to reaching the effect for making full use of remaining space in CD and realizing seamless storage;3rd, it can realize as magnetic Disk is equally operated to the data file in CD(For example delete, replace, add), correspondingly also support to data after operation The data recovery of file.
Above disclosed is only some preferred embodiments of the present invention, can not limit the present invention's with this certainly Interest field, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (18)

1. a kind of file management method based on optical storage array, this document management method includes:
Data file segmentation is obtained according to the remaining space of the CD of multiple in optical storage array to correspond with multiple CDs Multiple data blocks, and the plurality of data block is respectively written into corresponding CD;
The index information of the data file is combined as file management directory tree, wherein, the index information is used to indicate to read Device is taken to read the multiple data block out of described multiple CDs;
The file management directory tree is stored in multiple described CDs in the designated space of each CD or is stored in and is set It is set in the optical storage array independently of at least one CD outside multiple described CDs or being stored in setting For independently of in the storage medium outside the optical storage array.
2. file management method according to claim 1, this document management method also includes:
Read out of described multiple CDs after the multiple data block, the reading device will be described always according to the index information Multiple data block combinations are reduced to the data file.
3. file management method according to claim 1, this document management method is recording the index of the data file Also include after information:
Storage updating the data for generation for the renewal operation of the data file, and update operation change institute according to described State index information.
4. file management method according to claim 3, wherein, multiple described CDs are that write-once repeatedly reads light Disk.
5. file management method according to claim 3, wherein, the renewal operation includes:
Operation for deleting partial content in the data file;Or
For the operation that new content is added in the data file;Or
Operation for replacing part or full content in the data file.
6. file management method according to claim 1, wherein multiple described CDs are erasable optical disks, this method is in note Also include after the index information for recording the data file:
According to the deletion action for the data file, the multiple data block is wiped from multiple described CDs, and delete The index information;Or
According to the modification operation for the data file, change or delete in the multiple data block and change operation phase with described The part of pass, and update the index information;Or
According to the addition operation for the data file, the addition number of the data file is write into multiple described CDs According to, and update the index information.
7. file management method according to claim 1, wherein, the storage medium includes volatile memory, flash memory Chip and/or disk.
8. the file management method according to claim 1, wherein:
The index information includes the identification information and the number of CD where each data block in the multiple data block According to positional information of the block in the CD.
9. file management method according to claim 1, wherein, the optical storage array includes at least one CD server.
10. a kind of file format system based on optical storage array, including:
Optical storage array;
Split writing module, data file segmentation is obtained for the remaining space according to the CD of multiple in optical storage array with being somebody's turn to do The one-to-one multiple data blocks of multiple CDs, and the plurality of data block is respectively written into corresponding CD;
Composite module, for the index information of the data file to be combined as into file management directory tree, wherein, the index letter Cease for indicating that reading device reads the multiple data block out of described multiple CDs;
Logging modle, the designated space for the file management directory tree to be stored in each CD in multiple described CDs It is interior or be stored in be set in the optical storage array independently of at least one CD outside multiple described CDs, Or be stored in the storage medium being provided separately from outside the optical storage array.
11. file format system according to claim 10, wherein:
The multiple data block combinations are reduced to the data file by the reading device according to the index information.
12. file format system according to claim 10, this document format system also includes:
Update module is stored, what the renewal for storing for the data file was operated and produced updates the data and according to institute State the renewal operation change index information.
13. file format system according to claim 12, wherein, multiple described CDs are that write-once repeatedly reads light Disk.
14. file format system according to claim 12, wherein, the renewal operation includes:
Operation for deleting partial content in the data file;Or
For the operation that new content is added in the data file;Or
Operation for replacing part or full content in the data file.
15. file format system according to claim 10, wherein multiple described CDs are erasable optical disk, this document lattice Formula system also includes erasing update module, wherein:
The erasing update module wipes described many according to the deletion action for the data file from multiple described CDs Individual data block, and delete the index information;Or
The erasing update module is operated according to the modification for the data file, is changed or is deleted in the multiple data block The part related to the modification operation, and update the index information;Or
The erasing update module is operated according to the addition for the data file, and the number is write into multiple described CDs According to the supplemental data of file, and update the index information.
16. file format system according to claim 10, wherein, the storage medium includes volatile memory, dodged Deposit chip and/or disk.
17. the file format system according to claim 10, wherein:
The index information includes the identification information and the number of CD where each data block in the multiple data block According to positional information of the block in the CD.
18. file format system according to claim 10, wherein, the optical storage array includes at least one CD Storehouse.
CN201310626454.5A 2013-11-28 2013-11-28 File management method and file format system based on optical storage array Active CN103617250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310626454.5A CN103617250B (en) 2013-11-28 2013-11-28 File management method and file format system based on optical storage array

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310626454.5A CN103617250B (en) 2013-11-28 2013-11-28 File management method and file format system based on optical storage array

Publications (2)

Publication Number Publication Date
CN103617250A CN103617250A (en) 2014-03-05
CN103617250B true CN103617250B (en) 2017-07-18

Family

ID=50167953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310626454.5A Active CN103617250B (en) 2013-11-28 2013-11-28 File management method and file format system based on optical storage array

Country Status (1)

Country Link
CN (1) CN103617250B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109326307B (en) * 2018-09-07 2020-12-11 江苏菲利斯通信息科技有限公司 Optical disk stream recording method
CN111061683B (en) * 2019-12-30 2023-03-21 成都定为电子技术有限公司 Method and device for storing and operating data stream at high speed

Citations (4)

* Cited by examiner, † Cited by third party
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
CN1882941A (en) * 2003-09-25 2006-12-20 索尼株式会社 Recorder, reproducer, method for managing file, program of method for managing file, and recording medium containing program of method for managing file
CN101902498A (en) * 2010-07-02 2010-12-01 广州鼎甲计算机科技有限公司 Network technology based storage cloud backup method
CN102004769A (en) * 2010-11-12 2011-04-06 成都市华为赛门铁克科技有限公司 File management method, equipment and memory system

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
CN1882941A (en) * 2003-09-25 2006-12-20 索尼株式会社 Recorder, reproducer, method for managing file, program of method for managing file, and recording medium containing program of method for managing file
CN101902498A (en) * 2010-07-02 2010-12-01 广州鼎甲计算机科技有限公司 Network technology based storage cloud backup method
CN102004769A (en) * 2010-11-12 2011-04-06 成都市华为赛门铁克科技有限公司 File management method, equipment and memory system

Also Published As

Publication number Publication date
CN103617250A (en) 2014-03-05

Similar Documents

Publication Publication Date Title
CN101325078B (en) Information processing apparatus, information processing method and computer program
JPH05313980A (en) Information recording method
CN101853684A (en) Drive device
CA2575418A1 (en) Information recording medium, recording/ reproducing apparatus, and recording/ reproducing method
US8565051B2 (en) Storage system and method for generating file system in the storage system
CN103955433A (en) Shingled magnetic recording hard disk, and method and device for writing data in shingled magnetic recording hard disk
EP1768125A1 (en) Information recording device and method, program storage medium, and program
CN1860547B (en) Recording device, reproduction device, recording method, reproduction method and operation method
CN103617250B (en) File management method and file format system based on optical storage array
WO2008136563A1 (en) Method of storing meta-data and system for storing meta-data
CN103514901B (en) CD server, for this CD server data parallel reading/writing method and control device
CN101620632A (en) File operation apparatus
WO2015198182A1 (en) Hybrid surface format hard disk drive
CN114661243A (en) Method, device, equipment and medium suitable for adjusting visible capacity of SSD
US20080022164A1 (en) Apparatus for formatting information storage medium
CN103617802B (en) Reading and writing data authority control method and optical storage system based on optical storage array
JP5831235B2 (en) File editing device
CN106033454B (en) Formatting method, processing method and device of virtual file system
CN101669095B (en) Information reproduction method and information reproduction device
JP2014049152A (en) Information processing device and information processing method
US20170060474A1 (en) Data erasing method
CN103366777B (en) Recording/reproducing system, server
CN102063273A (en) Hard disk management method and device
CN101751390A (en) Disk configuration method of object orientation storage device
JP2007213272A (en) Data storage device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant