CN102419694A - Method for accessing storage device and electronic system - Google Patents
Method for accessing storage device and electronic system Download PDFInfo
- Publication number
- CN102419694A CN102419694A CN2010105070290A CN201010507029A CN102419694A CN 102419694 A CN102419694 A CN 102419694A CN 2010105070290 A CN2010105070290 A CN 2010105070290A CN 201010507029 A CN201010507029 A CN 201010507029A CN 102419694 A CN102419694 A CN 102419694A
- Authority
- CN
- China
- Prior art keywords
- storage element
- instruction
- storage
- operating system
- access
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 230000004044 response Effects 0.000 claims description 12
- 230000015572 biosynthetic process Effects 0.000 claims description 8
- 101100472041 Arabidopsis thaliana RPL8A gene Proteins 0.000 description 4
- 101000711846 Homo sapiens Transcription factor SOX-9 Proteins 0.000 description 4
- 101100527654 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RPL4A gene Proteins 0.000 description 4
- 101100527652 Schizosaccharomyces pombe (strain 972 / ATCC 24843) rpl402 gene Proteins 0.000 description 4
- 102100034204 Transcription factor SOX-9 Human genes 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 101150112128 mrpl2 gene Proteins 0.000 description 4
- 101150003660 rpl2 gene Proteins 0.000 description 4
- 101150027142 rpl8 gene Proteins 0.000 description 4
- 101150015255 rplB gene Proteins 0.000 description 4
- 102100026926 60S ribosomal protein L4 Human genes 0.000 description 3
- 101100527655 Arabidopsis thaliana RPL4D gene Proteins 0.000 description 3
- 101100469270 Candida albicans (strain SC5314 / ATCC MYA-2876) RPL10A gene Proteins 0.000 description 3
- 101100232371 Hordeum vulgare IAT3 gene Proteins 0.000 description 3
- 101100304908 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RPL5 gene Proteins 0.000 description 3
- 101150060526 rpl1 gene Proteins 0.000 description 3
- 101150009248 rpl4 gene Proteins 0.000 description 3
- 101150079275 rplA gene Proteins 0.000 description 3
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The invention provides a method for accessing a storage device and an electronic system. The storage capacity of the storage device is more than the maximum capacity provided by an operation system. The method comprises the following steps of: distributing the storage capacity of the storage device to obtain a plurality of storage units, wherein each storage unit comprises at least one first storage unit and a second storage unit, and all storage capacities of the first storage unit and the second storage unit are not more than the maximum capacity provided by the operation system; and applying a queue instruction to simultaneously accessing the at least one first storage unit and the second storage unit through the operation system.
Description
Technical field
The invention relates to access one storage device, when referring to a max cap. that an a kind of storage volume when a storage device supports greater than an operating system especially, in order to the method for this storage device of access and relevant electronic system.
Background technology
General operating system is because the restriction of its addressing capability; Therefore on an entity hard disk, only can discern a limited max cap.; And other storage area that surpasses this max cap. that this operating system can support all can't use, so causes the waste in data storing space easily.For instance, the operating system of general x86 can be the size that unit plans sector (sector) with 512 hytes (byte), and the addressing of Window XP operating system can only can discern 2
32Individual sector is so its max cap. that can support then can be 2TB (2
32* 512byte), when an entity hard disk had above the capacity more than the 2TB, other storage area beyond its space of on this entity hard disk, being planned just can't discerned or use to Window XP operating system.Therefore, how to improve the access mode of an operating system, be still a important issue in this field so that it can discern and use the storage area that can support on the entity hard disk that max cap. is above.
Summary of the invention
In view of this; The method and the electronic system that the purpose of this invention is to provide a kind of access one storage device; Through configuration a plurality of logic hard disks (logical hard drive) on an entity hard disk; And cooperate formation (queued) instruction should be used for those logic hard disks of access so that the max cap. that the storage volume of this entity hard disk is supported greater than an operating system, all storage areas of this entity hard disk still can discerned and use to this operating system.
A kind of method of access one storage device is provided according to one aspect of the present invention; The max cap. that one storage volume of this storage device is supported greater than an operating system; This method includes: distribute this storage volume of this storage device to obtain a plurality of storage elements; Wherein these a plurality of storage elements include at least one first storage element and one second storage element, and the storage volume of this first storage element and this second storage element all is less than or equal to this max cap. that this operating system is supported; And the application queue instruction comes through this operating system simultaneously to this first storage element and this second storage element carry out access at least.
According to another aspect of the present invention a kind of electronic system is provided, includes: a storage device and a control circuit.The max cap. supported greater than an operating system of a storage volume of this storage device wherein; This storage volume of this storage device is divided into a plurality of storage elements; These a plurality of storage elements include at least one first storage element and one second storage element, and the storage volume of this first storage element and this second storage element all is less than or equal to this max cap. that this operating system is supported.This control circuit then is coupled to this storage device, simultaneously this first storage element and this second storage element is carried out access in order to the application queue instruction through this operating system.
Useful technique effect of the present invention is: under the situation of the max cap. that a storage volume of a storage device is supported greater than an operating system; The method of this storage device of access of the present invention and relevant electronic system; Through a plurality of logic hard disks of configuration on this storage device; And cooperate queue instruction should be used for those logic hard disks of access; Like this, all storage areas of this entity hard disk just can discerned and use to this operating system, and this max cap. that this operating system of need not worrying can be supported.
Description of drawings
Fig. 1 is the synoptic diagram according to the electronic system that one embodiment of the invention realized.
Fig. 2 is for advancing the schematic flow sheet that executes instruction on the technology add-on hard disk of rank.
Fig. 3 is the synoptic diagram of storage device shown in Figure 1.
Embodiment
Please with reference to Fig. 1, it is the synoptic diagram according to the electronic system 100 that one embodiment of the invention realized.Electronic system 100 (for example: advance additional (the AdvancedTechnology Attachment of rank technology through one includes a storage device 110; ATA) interface, a run-in index advance additional (the Parallel AdvancedTechnology Attachment of rank technology; PATA)))) interface or a string type advance additional (the Serial AdvancedTechnology Attachment of rank technology; SATA) the entity hard disk that is connected of interface), a control circuit 120 (for example: a CPU (Central Processing Unit; CPU)) and an operating system 122 (for example: program code WindowsXP); Control circuit 120 is understood the program code of load operation system 122 when running, and links up through operating system 122 and storage device 110.Yet as aforesaid existing general operation system, operating system 122 has a supported max cap. C
M, storage device 110 then has greater than max cap. C
MA storage volume C
S(that is C
S>C
M).In order to make full use of all storage volume C of storage device 110
S, can configure a plurality of logic hard disks (logical hard drive) on the storage device 110 earlier, with storage volume C with storage device 110
SBeing divided into a plurality of storage elements that include first storage element 111 and one second storage element 112 at least (please notes; Under the situation that does not influence technology exposure of the present invention; Fig. 1 only demonstrates two storage elements; Yet in fact, the number of storage element can be decided based on the demand in the design), wherein the storage volume that had of first storage element 111 and one second storage element 112 is respectively C
1And C
2, and storage volume C
1And C
2All be less than or equal to the max cap. C that operating system 122 is supported
MIn general, as long as the capacity of a logic hard disk that on storage device 110, is configured is not more than the max cap. C that operating system 122 is supported
M, this logic hard disk promptly can be applicable to reality of the present invention and does within the scope.Yet; Concerning an entity hard disk; Because the restriction of hardware aspect can't be assigned a plurality of access instructions to this entity hard disk at one time, is example with above-mentioned storage device 110; Even can identify at least two logic hard disks (that is first storage element 111 and one second storage element 112) concerning operating system 122; Owing to advance the instruction restriction of rank technology additional interface (that is ATA driving interface), and can't come simultaneously to first storage element 111 and 112 accesses of one second storage element, concerning advancing rank technology additional interface through hardware; Need wait until after wherein the access instruction of a logic hard disk finishes, just can carry out the access of another logic hard disk.
In order to overcome the restriction of a plurality of logic hard disks of access simultaneously, the present invention has used the direct memory access (DMA) of first group, and (first party direct memory access, FPDMA) instruction comes accessing storing device 110.For string type advances rank technology additional interface; Belong to primary instruction ordering (Native Command Queuing; NCQ) first group direct memory access (DMA) of agreement instruction can send in regular turn access instruction with the mode of formation (queue), can not carry out next access instruction but need not wait for that previous access instruction is accomplished.Please with reference to Fig. 2; It is for advancing the schematic flow sheet that executes instruction on the technology add-on hard disk of rank; As far as being familiar with this operator, should after with reference to Fig. 2, learning that easily queue instruction can have higher right of priority in the middle of advancing rank technology add-on hard disk, and might not need execution command in regular turn; And after advancing the additional driving circuit of rank technology and also needing the waiting list instruction to accomplish, could begin other non-queue instruction.
For instance, please cooperate Fig. 1 with reference to Fig. 3, Fig. 3 is the synoptic diagram of storage device 110 shown in Figure 1.Can know that by figure storage device 110 includes a formation 113, be used in regular turn the temporary instruction that sends to a plurality of logic hard disks simultaneously.If control circuit 120 sends one first access instruction CMD1 and second storage element 112 is sent one second access instruction CMD2 first storage element 111 simultaneously through operating system 122; When first storage element 111 and second storage element 112 receive the first access instruction CMD1 and the second access instruction CMD2 in regular turn in formation 113 after; First storage element 111 is replied instruction RPL1 operation response system 122, the second storage elements 112 with one first and is then replied instruction RPL2 operation response system 122 with one second; Reply instruction RPL1 to operating system 122 in response first, first storage element 111 can be carried out access program according to the first access instruction CMD1; Likewise; Reply instruction RPL2 to operating system 122 in response second; Second storage element 112 also can be carried out access program according to the second access instruction RPL2; Yet, even if the first access instruction CMD1 early sends compared to the second access instruction CMD2 in time, in case 112 responses second of second storage element are replied instruction RPL2 to operating system 122; Second storage element 112 also possibly carried out access program than first storage element 111 sooner, and need not wait for the 111 completion accesses of first storage element or respond first and reply instruction RPL1 to operating system 122.Therefore; Through queue instruction such as first group direct memory access (DMA) instructions; No matter on storage device 110, disposed how many logic hard disks; Control circuit 120 also can be able to a plurality of logic hard disks are sent access instruction simultaneously, and the order that those logic hard disks also can be not send according to instruction and carry out access program separately.
In sum; Under the situation of the max cap. that a storage volume of a storage device is supported greater than an operating system; The invention provides a kind of method of this storage device of access and relevant electronic system; Through a plurality of logic hard disks of configuration on this storage device, and cooperate queue instruction should be used for those logic hard disks of access, thus; All storage areas of this entity hard disk just can discerned and use to this operating system, and this max cap. that this operating system of need not worrying can be supported.
The above is merely preferred embodiment of the present invention, and every all changes that is equal to or replacement of being made according to the application's claim scope all should belong to covering scope of the present invention.
Claims (10)
1. the method for access one storage device, the max cap. that a storage volume of this storage device is supported greater than an operating system is characterized in that, this method includes:
Distribute this storage volume of this storage device to obtain a plurality of storage elements; Wherein these a plurality of storage elements include at least one first storage element and one second storage element, and the storage volume of this first storage element and this second storage element all is not more than this max cap. that this operating system is supported; And
The application queue instruction comes through this operating system simultaneously to this first storage element and this second storage element carry out access at least.
2. method according to claim 1 is characterized in that, this queue instruction includes primary instruction ordering agreement.
3. method according to claim 2 is characterized in that, this queue instruction includes the direct memory access (DMA) instruction of one first group.
4. method according to claim 1 is characterized in that, application queue instruction comes simultaneously the step that this first storage element and this second storage element at least carry out access to be included through this operating system:
This operating system is sent one first access instruction and this second storage element is sent one second access instruction this first storage element simultaneously;
This first access instruction and this second access instruction is temporary in regular turn to a formation;
When this first storage element and this second storage element after this formation receives this first access instruction and this second access instruction in regular turn; This first storage element is replied this operating system of commanded response with one first, and this second storage element is replied this operating system of commanded response with one second;
To this operating system, this first storage element is carried out access program according to this first access instruction in this first answer instruction of response; And
To this operating system, this second storage element is carried out access program according to this second access instruction in this second answer instruction of response.
5. method according to claim 1 is characterized in that, this operating system and this storage device advance rank technology additional interface, run-in index through one and advance rank technology additional interface or a string type and advance rank technology additional interface and communicate with each other.
6. an electronic system is characterized in that, includes:
One storage device; The max cap. supported greater than an operating system of a storage volume of this storage device wherein; This storage volume of this storage device is divided into a plurality of storage elements; These a plurality of storage elements include at least one first storage element and one second storage element, and the storage volume of this first storage element and this second storage element all is not more than this max cap. that this operating system is supported; And
One control circuit is coupled to this storage device, simultaneously this first storage element and this second storage element is carried out access in order to the application queue instruction through this operating system.
7. electronic system according to claim 6 is characterized in that, this queue instruction includes primary instruction ordering agreement.
8. electronic system according to claim 7 is characterized in that, this queue instruction includes the direct memory access (DMA) instruction of one first group.
9. electronic system according to claim 6 is characterized in that, this storage device includes:
One formation is in order to keep in one first access instruction and one second access instruction in regular turn;
Wherein this control circuit sends this first access instruction and this second storage element is sent this second access instruction this first storage element simultaneously through this operating system; When this first storage element and this second storage element after this formation receives this first access instruction and this second access instruction in regular turn; This first storage element is replied this operating system of commanded response with one first, and this second storage element is replied this operating system of commanded response with one second; To this operating system, this first storage element is carried out access program according to this first access instruction in this first answer instruction of response; And in responding this second answer instruction to this operating system, this second storage element is carried out access program according to this second access instruction.
10. electronic system according to claim 6 is characterized in that, this control circuit and this storage device system advances rank technology additional interface, run-in index through one and advances rank technology additional interface or a string type and advance rank technology additional interface and communicate with each other.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105070290A CN102419694A (en) | 2010-09-27 | 2010-09-27 | Method for accessing storage device and electronic system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105070290A CN102419694A (en) | 2010-09-27 | 2010-09-27 | Method for accessing storage device and electronic system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102419694A true CN102419694A (en) | 2012-04-18 |
Family
ID=45944119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105070290A Pending CN102419694A (en) | 2010-09-27 | 2010-09-27 | Method for accessing storage device and electronic system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102419694A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107066201A (en) * | 2016-02-11 | 2017-08-18 | 爱思开海力士有限公司 | Data storage device and its method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5805857A (en) * | 1994-04-07 | 1998-09-08 | International Business Machines Corporation | DASD capacity in excess of 528 megabytes apparatus and method for personal computers |
US20030065903A1 (en) * | 2001-10-01 | 2003-04-03 | Ashton Lyn Lequam | Storage management system, apparatus, and method for supporting a multiplicity of logical block identification |
CN1831787A (en) * | 2005-03-10 | 2006-09-13 | 联想(北京)有限公司 | A Method of Establishing Physical Partition of Hard Disk |
CN1877727A (en) * | 2005-06-10 | 2006-12-13 | 技嘉科技股份有限公司 | Hard disk data backup method |
CN101458657A (en) * | 2007-12-10 | 2009-06-17 | 英业达股份有限公司 | Automatic magnetic disk dividing method |
US20100199040A1 (en) * | 2009-01-23 | 2010-08-05 | Infortrend Technology, Inc. | Storage Subsystem And Storage System Architecture Performing Storage Virtualization And Method Thereof |
US20100218184A1 (en) * | 2009-02-24 | 2010-08-26 | Kabushiki Kaisha Toshiba | Information processing device, method, and computer program product |
-
2010
- 2010-09-27 CN CN2010105070290A patent/CN102419694A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5805857A (en) * | 1994-04-07 | 1998-09-08 | International Business Machines Corporation | DASD capacity in excess of 528 megabytes apparatus and method for personal computers |
US20030065903A1 (en) * | 2001-10-01 | 2003-04-03 | Ashton Lyn Lequam | Storage management system, apparatus, and method for supporting a multiplicity of logical block identification |
CN1831787A (en) * | 2005-03-10 | 2006-09-13 | 联想(北京)有限公司 | A Method of Establishing Physical Partition of Hard Disk |
CN1877727A (en) * | 2005-06-10 | 2006-12-13 | 技嘉科技股份有限公司 | Hard disk data backup method |
CN101458657A (en) * | 2007-12-10 | 2009-06-17 | 英业达股份有限公司 | Automatic magnetic disk dividing method |
US20100199040A1 (en) * | 2009-01-23 | 2010-08-05 | Infortrend Technology, Inc. | Storage Subsystem And Storage System Architecture Performing Storage Virtualization And Method Thereof |
US20100218184A1 (en) * | 2009-02-24 | 2010-08-26 | Kabushiki Kaisha Toshiba | Information processing device, method, and computer program product |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107066201A (en) * | 2016-02-11 | 2017-08-18 | 爱思开海力士有限公司 | Data storage device and its method |
CN107066201B (en) * | 2016-02-11 | 2020-12-11 | 爱思开海力士有限公司 | Data storage device and method therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10824526B2 (en) | Using failed storage device in peer-to-peer storage system to perform storage-centric task | |
CN110413201B (en) | Method, apparatus and computer program product for managing a storage system | |
US8533527B2 (en) | Raid-group converting apparatus and method | |
JP5347061B2 (en) | Method and apparatus for storing data in a flash memory data storage device | |
US10156994B2 (en) | Methods and systems to reduce SSD IO latency | |
US8966164B1 (en) | Storage processor managing NVME logically addressed solid state disk array | |
US9164840B2 (en) | Managing a solid state drive (‘SSD’) in a redundant array of inexpensive drives (‘RAID’) | |
WO2018231293A1 (en) | Multi-device platform | |
US11087826B2 (en) | Storing method and apparatus of data | |
EP2378410A2 (en) | Method and apparatus to manage tier information | |
CN104603739A (en) | Block-level access to parallel storage | |
US8966130B2 (en) | Tag allocation for queued commands across multiple devices | |
CN103999060A (en) | Solid-state storage management | |
US10628074B2 (en) | Tiered storage system with data routing by peer storage devices | |
US11442636B2 (en) | Method, apparatus for managing the redundant array of independent disks (RAID) and related computer readable medium | |
CN110737390A (en) | Method, apparatus and computer program product for managing a storage system | |
WO2014043448A1 (en) | Block level management with service level agreement | |
US20130054920A1 (en) | Storage system and method for reallocating data | |
CN104104705A (en) | Access method and device of distributed storage system | |
CN113196225B (en) | Open channel vector command execution | |
CN109213429B (en) | Storage management method and device | |
US20140082318A1 (en) | Apparatus and Method for Sharing Resources between Storage Devices | |
US11923869B2 (en) | Data storage device with dynamic mapping of low-density parity check (LDPC) engines | |
CN102419694A (en) | Method for accessing storage device and electronic system | |
JP2014137783A (en) | Raid controller and command processing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120418 |