[go: up one dir, main page]

CN1118758C - Realizing method of plug-and-play (pnp) virtual CD memory system with very high capacity - Google Patents

Realizing method of plug-and-play (pnp) virtual CD memory system with very high capacity Download PDF

Info

Publication number
CN1118758C
CN1118758C CN00105551A CN00105551A CN1118758C CN 1118758 C CN1118758 C CN 1118758C CN 00105551 A CN00105551 A CN 00105551A CN 00105551 A CN00105551 A CN 00105551A CN 1118758 C CN1118758 C CN 1118758C
Authority
CN
China
Prior art keywords
virtual
optical disk
file system
disc
scsi
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.)
Expired - Fee Related
Application number
CN00105551A
Other languages
Chinese (zh)
Other versions
CN1265492A (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.)
QINGHUA TONGFANG OPTICAL DISK CO Ltd
Original Assignee
QINGHUA TONGFANG OPTICAL DISK 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 QINGHUA TONGFANG OPTICAL DISK CO Ltd filed Critical QINGHUA TONGFANG OPTICAL DISK CO Ltd
Priority to CN00105551A priority Critical patent/CN1118758C/en
Publication of CN1265492A publication Critical patent/CN1265492A/en
Application granted granted Critical
Publication of CN1118758C publication Critical patent/CN1118758C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention belongs to the field of optical disk storage techniques. The present invention comprises the steps that consecutive and oversize-capacity addressing space provided by an interface command is averagely partitioned into a plurality of parts; after partition, each page addressing space corresponds to the storage capacity of the disk sheet of a specific physical optical disk, and different pages correspond to the disk sheets of different physical optical disks, file systems stored in all the physical optical disks are reconstructed into a virtual file system with large storage capacity according to a uniform mode which accords with the international standard of an optical disk file system structure. Therefore, the virtual file system appears transparently as a logically standard optical disk sheet with oversize capacity to the host system end.

Description

The implementation method of the ultra-large-capacity virtual optical disc storage system of plug and play
Technical field
The invention belongs to the CD storage technique field.
Background technology
In the huge capacity compact discs storage system, the storage system that optical disk library storage system is adopted for numerous application scenario day by day with the memory capacity of its super large, cheap storage cost.So-called optical disk library storage system is exactly a system that the memory capacity of many optical disks is integrated together, it can many optical disks of unified management, can be loaded into the optical disk of appointment in the CD drive automatically by user's request, thereby read the data that are stored on the optical disk, the memory capacity of this system is the summation of its all the optical disk memory capacity that can manage.
Current optical disk library storage system all is based on many peripheral hardwares of bus-type integrated system of small computer system interface (SCSI:Small ComputerSystem Interface) mostly.As shown in Figure 1 be exactly an optical disk library storage system that has connected many CD drive and a media switching apparatus (Medium Changer Device).In the system of this structure, all equipment that are connected on the SCSI bus all are scsi interfaces: they are respectively the host interface card of scsi interface, the CD drive of scsi interface and the media switching apparatus (mechanical system of many similar storage medium medium of a kind of unified management of scsi interface, it can be between a plurality of fetch equipments and holding tank the mobile memory medium medium, making between storage medium medium and the fetch equipment can co-ordination).The SCSI host interface card is connected on the main frame, makes main frame also become a scsi device, and it is the promoter of I/O task in the whole scsi system; The disc drive apparatus of scsi interface and media switching apparatus then are I/O task executions persons in the scsi system.In scsi system, the promoter of I/O task is called as main equipment (Initiator equipment), and the recipient of I/O task or executor are called as target device (Target equipment).CD drive is responsible for the information on the optical disk being read or information being write optical disk, is the fetch equipment of optical disk library storage system; Media switching apparatus is a very important equipment in the optical disk library storage system, exactly because it has been arranged, just makes integrated many physical disc discs of CD server become possibility.Media switching apparatus receives the order that main frame sends, the motion that relies on mechanical arm then move to the optical disk of a certain Zhang Zhiding in the CD drive or the CD server plate rail in holding tank in.Because media switching apparatus can be managed many optical disks that are stored in the CD server holding tank simultaneously, so collaborative work of its same fetch equipment (CD drive), just constituted an optical disk library storage system, the memory capacity of this optical disk library storage system is the summation of above-mentioned all optical disk memory capacity.As long as the ability of media switching apparatus management disc is enough strong, the disc number that it can be integrated just can increase so, the also corresponding increase of the memory capacity of optical disk library storage system, thus just enlarged the memory capacity of this CD server system.
Another kind of more novel optical disk library storage system is by Tsinghua Tongfang Optical Co., Ltd's exploitation, based on the optical disk library storage system of connected with several drives under single SCSI equipment number, and its structure as shown in Figure 2.This optical disk library storage system has utilized a characteristic of scsi device: any one target device that promptly is connected on the SCSI bus is only taking under the situation of a scsi device number, can have nearly 8 logical block equipment (Logical Unit), and each logical block equipment can be by being discerned by main equipment to the such connection of logical block equipment from the main equipment to the target device again.Therefore on SCSI bus, any one in 8 logical block equipment that can directly address link to each other as I/O task promoter's main equipment with certain target device, and distinguish them with its logical unit number (LUN:Logical Unit Number).Logical unit number is respectively LUN0~LUN7.This optical disk library storage system is according to the characteristics of logical block equipment redefinable, 8 the logical block equipment that only takies under the target device of a scsi device number is defined as an actual physical equipment respectively: i.e. a media switching apparatus (LUN0) and 7 disc drive apparatus (LUN1~LUN7), the actual physical device that these are defined is connected under the target device (IDO) on the SCSI bus, as shown in Figure 2 then.So just a scsi device number integrated down many CD drive and a media switching apparatus, these equipment are under the Single-chip Controlling of scsi target device inside, coordinate mutually, cooperatively interact, before finishing jointly they all directly are connected on the SCSI bus and those functions of the optical disk library storage system that forms.
Although the optical disk library storage system of Fig. 2 structure is compared with the optical disk library storage system of Fig. 1 structure, have the scsi device resource that can take still less, system advantage such as easy to use in parallel, all there is the problem of following several respects in two kinds of systems:
1, operating system dependence.Because although media switching apparatus is that the consensus standard of SCSI is (referring to X3T9.2Project375D:Information technology-Small Computer System Interface-2, call in the following text: the SCSI-2 standard) specified standard peripheral hardware (referring to the 17th chapter " media switching apparatus " of SCSI-2 standard), but current popular operating system such as Windows 95/98/NT, Unix etc. still do not support the standard operation to media switching apparatus, so the CD server system of band media switching apparatus is exactly an off-gauge computer peripheral equipment product.To use this non-standard peripheral product in order managing, just need to develop corresponding apparatus driver and file management system in concrete applied operating system side.And these device drivers and file management system all need be developed at the specific operating system platform.
2, another problem of bringing of problem 1 is the portable bad of system, does not support the plug and play of optical disk library storage system.Because the application of this system is to depend on the management software of operating system side, so the internal information of corresponding optical disk library storage system (as the positional information of all optical disks, label information etc.) is to be kept on the main frame that is connected.Be connected to when working on another host computer system when this optical disk library storage system like this, all information of original optical disk library storage system but can not be moved new host computer system simultaneously, therefore need on new host computer system, re-construct original CD server information, use very dumb.
3, when many optical disk library storage systems on SCSI bus during in parallel the use, because every CD drive in operating system side all to a logical drive drive should be arranged, therefore in operating system side such as series such as Windows95/98/2000/NT, drive quantity all is restricted to 26, so limited the extended capability of this optical disk library storage system.
4, because present optical disk library storage system all need be built corresponding management platform in operating system side, so the administration overhead of total system is huger, need take the more resource in host computer system side, economy is bad.
Summary of the invention
Purpose of the present invention is exactly in order to overcome the weak point of prior art.The present invention proposes a kind of vast capacity optical disc storage system that possesses the plug and play characteristics.This vast capacity optical disc storage system has that memory capacity is big, system management work simple, do not rely on concrete operating system platform, possess advantage such as plug and play characteristic, and in any operating system side, this optical disc storage system all shows as the computer peripheral equipment of a standard, so system's portability is good.
The implementation method of the ultra-large-capacity virtual optical disc storage system of a kind of plug and play that the present invention proposes, it is characterized in that, the addressing space average mark continuous, vast capacity that interface command is provided is slit into mass part, each part is called one page of addressing space, each Page addressing space after cutting apart is all corresponding with the memory capacity of a concrete physical disc disc, the actual physics optical disk that the different pages is corresponding different; The file system of storing in said all physical disc re-constructs a more Virtual File System of large storage capacity according to mode unified, that meet compact disk file system structure international standard, and make that the performance of the external logic of this Virtual File System is exactly the virtual optical disk of a standard, the memory capacity of this virtual CD equal the summation of integrated optical disk memory capacity; By unified order addressing mode, the mapping relations in addressing space and actual physics optical disc storage space have been realized.
The CD-ROM optical disk that said many physical disc discs can be read-only types in the implementation method of above-mentioned virtual optical disc storaging system, said compact disk file system structure international standard is the international standard ISO-9660 of corresponding C D-ROM compact disk file system, said many physical disc discs can also be once erasable CD-R CD or repeatedly erasable CD-RW CD and DVD CD, said compact disk file system structure international standard be with corresponding optical disk on the international standard of the compact disk file system that adopts.
In the implementation method of above-mentioned virtual optical disc storaging system, this virtual optical disc storaging system adopts small computer system interface SCSI being connected as system and computer host system.
Realization principle of the present invention is described as follows:
The virtual CD that this ultra-large-capacity virtual optical disc storage system that possesses the plug and play characteristics of the present invention is integrated many physical disc discs of energy, the flexibility of feasible system memory capacity increases.This system externally shows as the optical disk of a standard in logic, and all application operatings of this virtual CD are all met application operating to the standard physical optical disk.That is to say, this virtual CD all shields the otherness of many physical disc and independence in internal system, management to file system on many physical disc discs also is embedded in internal system, therefore the host computer system end is just shown as pellucidly the optical disk of the standard in logic of a vast capacity.
The memory capacity of the virtual CD that the present invention proposes is very big, its memory capacity equal the summation of integrated optical disk memory capacity.Realize the storage space of this virtual optical disc storaging system vast capacity, just must adopt a kind of appropriate interface command format in main frame side, this command format can provide an addressing space continuous, vast capacity, makes the storage space of addressing space and virtual CD corresponding.
At first, in this virtual optical disc storaging system the inside, the storage space that it possessed is made of many physical disc discs, the present invention has adopted the method for paging mapping that many physical disc discs are reasonably managed for this reason, the addressing space average mark continuous, vast capacity that exactly interface command is provided is slit into mass part specifically, and each part all is called one page of addressing space.Each Page addressing space after cutting apart is all corresponding with the memory capacity of a concrete physical disc disc in the virtual optical disc system, the actual physics optical disk that the different pages is corresponding different.Like this by unified order addressing mode, the mapping relations in addressing space and actual physics optical disc storage space have been realized, make main frame can be in so big storage space accurately addressing, and addressing is very convenient, flexible, possesses the randow addressing ability as a virtual CD of visit.
Secondly, want this virtual optical disc storaging system can by computer host system be identified as automatically one in logic standard optical disk and be used, so just need many integrated in this virtual optical disc storaging system physical disc disc contents be managed.The present invention proposes the management method of plug and play characteristic, promptly the file system of storing in all physical disc is constructed a more Virtual File System of large storage capacity according to unified international standard again, and make that the external logic performance of this Virtual File System is exactly the optical disk of a standard.Then, a kind of appropriate interface agreement is selected by this system, makes it to be connected with main frame.By this interface protocol, main frame can reach discerns virtual optic disk file of the present invention system intelligently, thereby utilizes this file system and the vast capacity storage space that interrelates of file system therewith.
The present invention has the following characteristics:
1. memory capacity is big.The virtual CD that the present invention the proposes storage system of many physical disc that has been integrated, along with the increase of integrated physical disc number of discs, the also corresponding increase of its memory capacity.
2. do not rely on concrete operating system platform.The virtual CD that the present invention proposes is the virtual CD of constructing according to international standard fully, and its file system meets international standard, almost can be identified in current all operations system.
3. the characteristic that possesses plug and play.The virtual CD that the present invention proposes is the same with common optical disk logically, in operating system side, virtual CD can be considered to the optical disk of a standard, all operations to it will be with the same to normal optical disk so, operating system side does not need extra device drives, so the virtual optical disc storaging system of the present invention's proposition possesses the characteristic of plug and play.
4. system management work is simple.The present invention shields the otherness of many physical disc and independence in internal system, management to file system on many physical disc discs also is embedded in internal system, therefore operating system side is just shown as pellucidly the optical disk of the standard in logic of a vast capacity.Operating system just is reduced to management work to an optical disk to the management work of virtual optical disc storaging system, so the system management work of operating system side is very simple.
Description of drawings
Fig. 1 is common in the market optical disk library storage system structured flowchart.
Fig. 2 utilizes 8 SCSI logical block equipment and the structured flowchart of the optical disk library storage system that constitutes.
Fig. 3 is the theory of constitution block diagram of storage system of the present invention.
Fig. 4 is a kind of 10 byte command forms commonly used in the SCSI agreement.
Fig. 5 is the distribution synoptic diagram (paging mapping) of SCSI addressable memory space
Fig. 6 is based on the embodiment FB(flow block) of the storage space paging mapping method of SCSI agreement.。
Fig. 7 is the organizational form synoptic diagram of the tree-shaped stratification bibliographic structure of virtual CD of the present invention.
Fig. 8 is a storage system work main-process stream block diagram of the present invention.
Embodiment
Describe the embodiment of the ultra-large-capacity virtual optical disc storage system implementation method of plug and play of the present invention in detail below in conjunction with accompanying drawing.
Present embodiment is based on the vast capacity optical disc storage system of the plug and play of many CD-ROM formations.
Fig. 3 is the structured flowchart of present embodiment storage system.As seen from Figure 3, system is made of following several sections: the holding tank 1 of stored CD disc, and it is made up of the little optical disc storage groove of many same structures, and each little optical disc storage groove is CD-ROM optical disk of corresponding stored respectively; Tray unit 2, it be optical disk deposit in, the parts of extraction system; CD drive 3, it is the fetch equipment in the system; Mechanical motion and control device 6, it is that optical disk is fetched into the CD drive 3 from optical disc storage groove 1, or optical disk is sent to 1 li of optical disc storage groove from CD drive 3, or the plant equipment of tray unit 2 ejections or retraction system; System interface 4, it is the interface of virtual optical disc storaging system and other main frame carrying out shake communication; It is the control module of whole storage system for a system control module 5, and it finishes the interface protocol command process of system and the control of mechanical motion.Optical disc storage groove in the present embodiment, tray unit, the concrete structure of mechanical motion and control device and plant equipment can adopt conventional means be made according to the general requirement of system, does not belong to protection scope of the present invention, at this not to give unnecessary details.
The implementation method that possesses the plug and play characteristic of the virtual CD of present embodiment comprises the selection of virtual optic disk file system; The connected mode of virtual optical disc storaging system and computer host system, the i.e. selection of interface protocol standard; The corresponding relation of the memory capacity that CD-ROM optical disk number that virtual CD is integrated and CD single-ROM optical disk memory capacity, virtual CD are total, the i.e. reasonable distribution of storage space in the scsi command: the method for " paging mapping "; The virtual optic disk file system re-constructs, and promptly the ISO-9660 file system re-constructs; The inner realization mechanism of virtual optical disc storaging system etc.Be described in detail as follows respectively below:
One, the selection of virtual optic disk file system
International standard ISO9660 document (Information processing-Volume and file structure ofCD-ROM for information interchange, First edition, 1988) be the file system standard that all CD-ROM optical disks all must be observed.Nearly all popular operating system is all supported the file system operation to the CD-ROM optical disk that meets the ISO9660 form at present, and therefore, every CD-ROM optical disk that meets the ISO9660 standard can use on different operating system.CD-ROM disk drive has become a standard peripherals on the computing machine, and its interchangeability on the different operating system platform is very good.
Present embodiment has adopted the file management of ISO9660 file system as total system, makes it have best plug and play characteristic.
Two, the selection of interface protocol standard
The notion of the virtual CD that proposes according to the present invention, the storage space of present embodiment can be done very highly, and it realizes that potential is big.But want to make main frame can make full use of the addressing potential of this virtual optical disc storaging system vast capacity, just must adopt a kind of suitable command format in main frame side, make its can be in so big storage space accurately addressing, and want addressing convenient, flexible, possess randow addressing ability as CD-ROM.Secondly, want this virtual optical disc storaging system can by computer host system be identified as automatically one in logic the CD-ROM optical disk and be used, so just the virtual optical disc storaging system is selected a kind of appropriate interface agreement for this reason, makes it to be connected with main frame.By this interface protocol, main frame can reach the virtual optical disc storaging system of discerning present embodiment intelligently, and the super large memory capacity space that utilizes this virtual optical disc storaging system to provide.
In existing main frame side, mainly contain two kinds of peripheral hardware storage system interface controllers: the one, secondly the controller of scsi interface is the controller of EIDE/ATAPI interface.Consider that the block command greatly of EIDE/ATAPI interface protocol all is to come from the SCSI agreement, and the scsi interface agreement all has more remarkable performance at aspects such as dirigibility, reliability and extensibilities, so present embodiment has adopted the scsi interface agreement on system's implementation method.The several benefits of bringing during below with regard to present embodiment employing scsi interface agreement is done an explanation.(consensus standard of relevant SCSI abbreviates the SCSI-2 standard as.)
According to the SCSI-2 standard code, CD-ROM drive equipment is a kind of standard scsi device that the SCSI consensus standard is supported, the virtual optical disc storaging system of present embodiment adopts the scsi interface of standard, and then whole storage system externally also just is shown as the scsi device of a standard: CD-ROM equipment.By the scsi interface agreement, main frame can reach the virtual optical disc storaging system of discerning present embodiment intelligently, then the super large memory capacity space that just can utilize this virtual optical disc storaging system to provide of the command set by SCSI.
According to the SCSI-2 standard code, the command set that scsi device uses is that the form with command description piece (CommandDescriptor Block) provides, and command block length is divided into 6 bytes, 10 bytes and several classes of 12 bytes.And for the CD-ROM equipment of scsi interface, about the command block of reading of data has only two kinds of 10 bytes and 12 bytes.The command format of 10 bytes as shown in Figure 4.
In the command format of Fig. 4, the 0th byte is a command code, the action type that expression the current command should be carried out; The 1st byte preceding 3 can be used for specified command at logical block equipment (in new SCSI standard, having phased out this kind usage); 2nd, 3,4,5 bytes are to be used to specify the LBA (Logical Block Addressing) that the command block of current reading of data need addressing in addressing space; The 6th byte keeps; 7th, 8 bytes are meant the data length that the command block of settled preceding reading of data need transmit, and represent with logical block number.Last byte is the control byte of SCSI.
Command format as for 12 bytes is the same substantially with Fig. 4, just increased the data length that two bytes are used to enlarge the needs transmission of the 7th, 8 byte representations, represents with logical block number equally.
Read to see dish order (10 byte) form from the SCSI of Fig. 4, concerning the CD-ROM device command sets of scsi interface, what the command block of relevant reading of data can be in order to addressing is continuous logical blocks addressing (the Logical Block Address:LBA) space (the 2nd, 3,4,5 byte) of 4 byte longs.In optical disc storage system, defined logical block size generally all is the individual byte of 2048 (2K).When with SCSI during as the standard interface of CD storage system, a logical block equipment under the scsi device can obtain the addressing space of 8Terabyte, and its computing formula is as follows:
2 4*8*2K=2 2*2 10*2 10*2 10*2K=8Terabyte
This is a very large storage space, and present commercial CD server medium does not far reach this requirement.Therefore, present embodiment adopts the scsi interface of standard, then can obtain the addressable space of 8Terabyte memory capacity, constitutes the optical disc storage system of a vast capacity.
Another benefit that adopts the SCSI standard interface is that the cascade that can be convenient to the virtual optical disc storaging system is used, and realizes that memory capacity increases exponentially.Because according to the protocol specification of SCSI, any one target device that is connected on the SCSI bus is only taking under the situation of a scsi device number, can have nearly 8 logical block equipment.From above-mentioned result of calculation, a logical block equipment under the scsi device just has the addressing space of 8Terabyte, so if 8 logical block equipment all utilize words completely, the available memory capacity of scsi target device will be (8*8=) 64Terabyte.If the cascade of adding between the scsi target device itself is used, its total memory capacity will increase exponentially.
Three, the distribution of storage space in the scsi command: paging mapping
From the above mentioned, the storage space of the 8Terabyte that present embodiment possessed is to be made of jointly the physics CD-ROM optical disk that many monolithic capacity are 650M, so reasonably the storage space of this 8Terabyte capacity is managed the reasonable management that also just means many physics CD-ROM optical disks.The present invention has adopted the method for paging mapping for this reason.Present embodiment is slit into mass part to the storage space average mark of 8Terabyte, and each part all is called one page of storage space.After cutting apart each page storage space is all corresponding with the memory capacity of a physics CD-ROM CD, the actual physics CD-ROM CD that the different pages is corresponding different.The method that storage space is specifically cut apart the page is as follows:
Addressable 8Terabyte addressing space in the scsi command form is distributed by page or leaf, and every page of capacity is determined according to the size of 650M, requires the storage space in each page can contain the memory capacity (650M) of covering a physics CD-ROM optical disk at least.That is:
2^ 18*2K=512M<650M<2^ 19*2K=1024M
Because 4 byte addressing spaces have 32, so as Page addressing space address position (size of page or leaf space memory capacity), as shown in Figure 5, can there be (2^ in 13 conduct pages or leaves of other height (32-19) addressing space so altogether to present embodiment with low 19 (0-18) 13=) 8192 pages.According to the principle of the corresponding different actual physics CD-ROM optical disk of the different pages, present embodiment at most can corresponding 8192 physics CD-ROM optical disks.
The scale of storage size of each page and page or leaf addressing itself can slightly adjust according to the convenience of the needs of actual virtual optical disc storaging system and hardware circuit realization.
Adopt the method for this paging mapping can carry out the advantage of reasonable management many physics CD-ROM optical disks except having, also having a benefit is exactly for the computing machine main equipment on the SCSI bus, this virtual optical disc storaging system of thinking that can be transparent has the storage space of a vast capacity, and its storage space addresses according to continuous logic address space mode.Therefore in computing machine main equipment side, the addressing that only needs directly the virtual optical disc storaging system to be carried out the continuous logic address space just can, and needn't comprehend the corresponding relation of certain concrete addressing space and actual physics CD addressing space, this is very easily concerning the application of operating system side.
In order to realize this point, the virtual optical disc storaging system of present embodiment need be handled by page or leaf according to the size of the addressing space in the scsi command piece.This handles flow process as shown in Figure 6.At first storage system need differentiate what the page address of institute's addressing is: from 32 LBA (Logical Block Addressing) space, extract a page addressing space bit, and promptly high 13, thus determine that according to the size of high 13 bit value which is opened the physical disc disc operates.Select corresponding physical disc disc then, be placed in the CD-ROM drive of reading of data.Secondly need to differentiate the particular location of institute's addressing logic piece on this physical disc disc: from 32 LBA (Logical Block Addressing) space, extract a page bank bit, promptly low 19, thus determine the particular location of institute's addressing logic piece on this physical disc disc according to the size of low 19 bit value.Order the CD-ROM drive that reads the optical disk data to navigate to the relevant position of this physical disc disc then, read required data of optical disk.The realization flow of handling by page or leaf can keep the characteristic of optical disc storage system randow addressing like this, and addressing is very flexible.
Four, the ISO-9660 file system re-constructs
The virtual CD that the present invention proposes is the optical disc storage system that integrated many physical disc discs of energy, realization system memory size are multiplied.It realizes that principle is according to the ISO9660 standard code, many physically independently CD-ROM disks be considered as the first order sub-directory of virtual CD respectively, constructed a tree-shaped stratification bibliographic structure that meets the standard of ISO-9660, as shown in Figure 7.The first order sub-directory of this bibliographic structure by many physically independently the CD-ROM optical disk constitute, it is the CD-ROM CD that the pointer of each sub-directory in the first order sub-directory all points to a reality respectively, and original bibliographic structure is keeping under original bibliographic structure situation in proper order on this CD-ROM CD, each grade sub-directory is successively from the first order catalogue of virtual CD recursion one deck down, again before the corresponding virtual first order sub-directory of all physical disc, set up a new virtual root at last.The present invention that Here it is proposes: one complete, meet the optical disk ISO-9660 standard, virtual.Its memory capacity is the summation of above-mentioned many CD-ROM optical disks, and promptly this optical disk is exactly the virtual CD of a vast capacity.It externally is shown as a standard CD-ROM optical disk, and all operations to virtual CD will not increase the added burden of operating system side with the same convenient to the operation of common CD-ROM CD.
In the present embodiment, its concrete grammar is exactly 8192 physics CD-ROM optical disks are considered as the first order virtual subnet catalogue of this file system structure and are connected under the virtual root of virtual CD, and each file system structure content of opening physical disc disc itself then is subordinated under the virtual subnet catalogue at the corresponding levels simultaneously.In view of the above, when realizing, the virtual optical disc storaging system will scan the file system of all integrated physics CD-ROM optical disks, then all these file system is sorted by the requirement of ISO-9660 again, constructs new, a complete virtual disk format.The groundwork here is to construct the master file that meets native system actual load optical disk situation to describe the width of cloth (PrimaryVolume Description), end the volume description width of cloth (Terminal Volume Description), File Directory Table (Tableof Content), routing table (Path Table) etc.Concrete building method is not the scope that the present invention protected, as long as posttectonic virtual CD disc formats is to meet the ISO-9660 standard.(concrete form can referring to the ISO-9660 international standard)
Five, the inner realization mechanism of virtual optical disc storaging system
For making whole virtual optical disc storaging system externally be shown as a CD-ROM optical disk of standard in logic, just must be the mode of above-mentioned work with firmware, be embedded in the virtual optical disc storaging system and go, make total system can finish the structure of virtual optic disk file system, reading and work such as renewal automatically the explanation of scsi command and execution, Page addressing space and the mapping of physics CD-ROM optical disk, many physical disc data.
The overall work flow process of the virtual optical disc storaging system of present embodiment as shown in Figure 8.System judges whether the file system (meeting the ISO-9660 standard) of virtual CD is present in the not power down storer of system behind power-up initializing, if exist, then directly load this file system; If do not exist, be kept in the not power down storer of system then according to the file system of the virtual CD of standard construction of ISO-9660, and it, directly use during in order to start later on, load this file system then.Wait for the order of SCSI main equipment.If the information that the SCSI main equipment is interrogated this virtual optical disc storaging system is then told main equipment, this is the CD-ROM drive equipment of a standard, and inside is mounted with a CD-ROM optical disk that meets the ISO9660 standard.After the SCSI main equipment is received such system information, will treat this virtual optical disc storaging system as treating common CD-ROM optical disk.If the virtual optical disc storaging system judges that the order that the SCSI main equipment sends is the file system structure information that will read virtual CD, then the filesystem information that has loaded is directly returned to main equipment, make the SCSI main equipment obtain the file system structure (as shown in Figure 7) of a virtual CD.Later on the SCSI main equipment reads that to coil order will be that file system structure according to Fig. 7 sends.If the virtual optical disc storaging system judges that the order that the SCSI main equipment sends is the data message that will read on the virtual CD, then system is according to the paging mapping mechanism (workflow as shown in Figure 6) of storage space, (this is by mechanical motion and control system 6 in the command diagram 3 to select corresponding physics CD-ROM CD earlier, make its corresponding physics CD-ROM CD take out and be transported to 3 li of CD-ROM drive and realize) from 1 li of holding tank, by CD-ROM drive the data message on the physical disc disc is read out then, again this part data is returned to the SCSI main equipment.The virtual optical disc storaging system is worked down like this, up to system closedown.
The virtual optical disc storaging system of present embodiment is the CD-ROM storage system of a read-only type, but if disc is changed into the CD-RW optical disk of erasable type, CD drive also changes the CD-RW driver into, just can realize the optical disc storage system of an erasable type so similarly.

Claims (4)

1, a kind of ultra-large-capacity virtual optical disc storage system implementation method of plug and play, it is characterized in that, the addressing space average mark continuous, vast capacity that interface command is provided is slit into mass part, each part is called one page of addressing space, each Page addressing space after cutting apart is all corresponding with the memory capacity of a concrete physical disc disc, the actual physics optical disk that the different pages is corresponding different; The file system of storing in said all physical disc re-constructs a more Virtual File System of large storage capacity according to mode unified, that meet compact disk file system structure international standard, and make that the performance of the external logic of this Virtual File System is exactly the virtual optical disk of a standard, the memory capacity of this virtual CD equal the summation of integrated optical disk memory capacity; By unified order addressing mode, the mapping relations in addressing space and actual physics optical disc storage space have been realized.
2, the implementation method of virtual optical disc storaging system according to claim 1, it is characterized in that, the CD-ROM optical disk that said many physical disc discs are read-only types, said compact disk file system structure international standard is the international standard ISO-9660 of corresponding C D-ROM compact disk file system.
3, the implementation method of virtual optical disc storaging system according to claim 1, it is characterized in that, said many physical disc discs are once erasable CD-R CD, erasable CD-RW CD and DVD CD repeatedly, said compact disk file system structure international standard be with corresponding optical disk on the international standard of the compact disk file system that adopts.
4, the implementation method of virtual optical disc storaging system according to claim 1 is characterized in that, this virtual optical disc storaging system adopts small computer system interface SCSI being connected as system and computer host system.
CN00105551A 2000-03-31 2000-03-31 Realizing method of plug-and-play (pnp) virtual CD memory system with very high capacity Expired - Fee Related CN1118758C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN00105551A CN1118758C (en) 2000-03-31 2000-03-31 Realizing method of plug-and-play (pnp) virtual CD memory system with very high capacity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN00105551A CN1118758C (en) 2000-03-31 2000-03-31 Realizing method of plug-and-play (pnp) virtual CD memory system with very high capacity

Publications (2)

Publication Number Publication Date
CN1265492A CN1265492A (en) 2000-09-06
CN1118758C true CN1118758C (en) 2003-08-20

Family

ID=4577768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN00105551A Expired - Fee Related CN1118758C (en) 2000-03-31 2000-03-31 Realizing method of plug-and-play (pnp) virtual CD memory system with very high capacity

Country Status (1)

Country Link
CN (1) CN1118758C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323358C (en) * 2004-03-05 2007-06-27 中国科学院计算技术研究所 A virtual storage model and its method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100334566C (en) * 2002-09-06 2007-08-29 联想(北京)有限公司 Method for accessing any sector of hard disk from file system
CN113611333B (en) * 2021-07-14 2023-08-08 武汉光忆科技有限公司 Optical disc library cluster system and read-write method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323358C (en) * 2004-03-05 2007-06-27 中国科学院计算技术研究所 A virtual storage model and its method

Also Published As

Publication number Publication date
CN1265492A (en) 2000-09-06

Similar Documents

Publication Publication Date Title
CN103186350B (en) The moving method of mixing storage system and hot spot data block
JP6910131B2 (en) Storage device including multiple partitions for multiple mode operation, and its operation method
JP5530863B2 (en) I/O conversion method and apparatus for storage system - Patents.com
US7310699B2 (en) Mass storage accelerator
US9411746B2 (en) Computer system, computer and method for performing thin provisioning capacity management in coordination with virtual machines
US8090923B2 (en) Storage system and control method for the same
AU2007239066B2 (en) Describing and querying discrete regions of flash storage
CN1077305C (en) CKD to fixed block mapping for optimum performance and space utilization
JP4690765B2 (en) Storage management system, storage management server, data relocation control method, and data relocation control program
US20080215800A1 (en) Hybrid SSD Using A Combination of SLC and MLC Flash Memory Arrays
CN1295592C (en) Maintaining information in one or more virtual volume aggregates comprising a plurality of virtual volumes
JP2001243099A (en) Method, system, program and data structure for mapping logical block into physical block
US8607021B2 (en) Method and data storage system for providing multiple partition support
JP2017091545A (en) Multimode storage management apparatus, multimode storage apparatus, and selective underlying exposure (sue) mapping operation method therefor
US8694563B1 (en) Space recovery for thin-provisioned storage volumes
CN100337224C (en) Method of local data migration
WO2022095346A1 (en) Blockchain data storage method, system, device, and readable storage medium
WO2010035124A1 (en) File system for storage device which uses different cluster sizes
CN1447242A (en) Control device applicable to flash memory card and construction method thereof
KR102471966B1 (en) Data input and output method using storage node based key-value srotre
CN1118758C (en) Realizing method of plug-and-play (pnp) virtual CD memory system with very high capacity
CN1282067C (en) Device and related method for hard disk array parity operation
CN1225476A (en) Method for quick protection and recovery for hard disc data of computer
CN101459679A (en) Network storage device and data read-write control method
KR102812181B1 (en) Memory system and method for managing i/o of memory system and computing device for executing the method

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee