CN103186473A - Locating system for storage resources - Google Patents
Locating system for storage resources Download PDFInfo
- Publication number
- CN103186473A CN103186473A CN2011104613218A CN201110461321A CN103186473A CN 103186473 A CN103186473 A CN 103186473A CN 2011104613218 A CN2011104613218 A CN 2011104613218A CN 201110461321 A CN201110461321 A CN 201110461321A CN 103186473 A CN103186473 A CN 103186473A
- Authority
- CN
- China
- Prior art keywords
- resource
- storage
- module
- storage resources
- locating
- 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
- 238000013507 mapping Methods 0.000 claims abstract description 42
- 238000003491 array Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000004397 blinking Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种资源定位系统,特别涉及一种存储资源的定位系统。The invention relates to a resource positioning system, in particular to a resource storage positioning system.
背景技术 Background technique
随着信息量的爆炸性增长,各种应用系统对存储设备的需求大幅度的增加。因此单一的存储设备,不再能够满足日益增长的存储空间需求。所以有厂商通过了网络连接的方式,在网路上设置多个存储设备节点。并在每一个存储设备节点上,又连接了各类的存储设备,用以增加存储设备的存储空间。With the explosive growth of information volume, the demand for storage devices of various application systems has increased significantly. Therefore, a single storage device can no longer meet the growing demand for storage space. Therefore, some manufacturers set up multiple storage device nodes on the network through network connection. And on each storage device node, various storage devices are connected to increase the storage space of the storage device.
为方便管理这些存储设备,因此会以特定的空间来存放,例如机房或服务器。当存储设备一多时,连接线材也会随之增加。这样一来,管理者就无法从这些设备或线材中找到特定的数据的存储设备。In order to facilitate the management of these storage devices, they will be stored in specific spaces, such as computer rooms or servers. When there are more storage devices, the connecting wires will also increase accordingly. In this way, the administrator cannot find specific data storage devices from these devices or wires.
发明内容 Contents of the invention
鉴于以上的问题,本发明的目的在于提供一种存储资源的定位系统,用以指出存储系统中特定存储资源的存储位置。In view of the above problems, the object of the present invention is to provide a storage resource positioning system, which is used to point out the storage location of a specific storage resource in a storage system.
本发明所揭露的存储资源的定位系统包括存储设备、资源映射模块、资源定位模块与主控模块。存储设备具有至少一存储资源。资源定位模块连接资源映射模块与主控模块。资源映射模块记录存储资源的资源代码。主控模块连接于资源映射模块,主控模块接收资源调用要求并输出相应的资源合并结果。资源定位模块根据资源调用要求查找资源映射模块中的资源代码并查找资源代码所连接的其他存储资源及资源代码。资源定位模块将重复查找到的存储资源进行合并,将存储资源输出为资源合并结果。The storage resource positioning system disclosed in the present invention includes a storage device, a resource mapping module, a resource positioning module and a main control module. The storage device has at least one storage resource. The resource location module connects the resource mapping module and the main control module. The resource mapping module records resource codes of stored resources. The main control module is connected to the resource mapping module, and the main control module receives resource calling requirements and outputs corresponding resource merging results. The resource location module searches for the resource code in the resource mapping module according to the resource calling requirement, and searches for other storage resources and resource codes connected to the resource code. The resource locating module merges the repeatedly found storage resources, and outputs the storage resources as a result of resource merging.
本发明的存储资源的定位系统可以指出存储系统中特定存储资源的存储位置,藉以提供使用者可以快速的找到所述的存储资源的实体设备。The storage resource locating system of the present invention can point out the storage location of a specific storage resource in the storage system, so as to provide the user with a fast way to find the physical device of the storage resource.
以下结合附图和具体实施例对本发明进行详细描述,但不作为对本发明的限定。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.
附图说明 Description of drawings
图1A为本发明的架构示意图;FIG. 1A is a schematic diagram of the architecture of the present invention;
图1B为资源结构示意图;FIG. 1B is a schematic diagram of a resource structure;
图2为本发明的资源定位模块的运作流程示意图。FIG. 2 is a schematic diagram of the operation flow of the resource location module of the present invention.
其中,附图标记Among them, reference signs
存储设备110
资源映射模块120
资源定位模块130
主控模块140Main control module 140
资源合并模块150Resource Merge
接口显示模块160
逻辑卷LV-1、LV-2、LV-3Logical volume LV-1, LV-2, LV-3
具体实施方式 Detailed ways
下面结合附图对本发明的结构原理和工作原理作具体的描述:Below in conjunction with accompanying drawing, structural principle and working principle of the present invention are specifically described:
请参考图1A所示,其为本发明的架构示意图。本发明的存储资源的定位系统包括存储设备110、资源映射模块120(Resource Map)、资源定位模块130(Resource Locator)、主控模块140、资源合并模块150(resource merger)与接口显示模块160。在存储设备110中可能具有至少一种存储资源,或者由多个存储设备110共有同一种存储资源。本发明中所述的存储资源可以是但不限定为独立磁盘的存储设备110、磁盘阵列(Redundant Array of IndependentDisks,RAID)等实体存储设备110,也可以被应用在网路小型电脑系统接口(Internet Small Computer System Interface,iSCSI)、存储区域网路(storage areanetwork,SAN)、逻辑卷(logical volume)、快照(snapshot)、文件(document)、磁盘簇(Just a Bunch Of Disks,JOBDS)、目录或网路存储设备110中。Please refer to FIG. 1A , which is a schematic diagram of the architecture of the present invention. The storage resource location system of the present invention includes a
主控模块140除了连接资源定位模块130外,也同时连接于接口显示模块160。资源定位模块130连接主控模块140、资源映射模块120与资源合并模块150。主控模块140用以接收资源调用要求,并输出相应的资源合并结果。主控模块140在接收资源调用要求后,主控模块140会调用资源映射模块120用来查找该笔资源在存储设备110中的位置。资源映射模块120用以指向文件数据在存储设备110中的实体位置。因此资源映射模块120可以定位出所需的资源。而每一个资源映射模块120会负责一次映射。由于存储设备110可能同时存在多个层次,如文件系统、快照、逻辑卷、RAID等等,每一层次都需要一个资源映射模块120。以下是以逻辑卷(Logical Volume)为例进行说明并请同时配合图1B。对用户而言,一个逻辑卷是一个类似硬盘的块设备(BlockDevice)。但就从硬件与软件的实现方式而言,一个逻辑卷可能是由不同存储设备(如硬盘、RAID)上的多个存储区域拼凑组成的。如下图所示,在2个存储设备上,存在3个逻辑卷——LV-1、LV-2、LV-3。在存储设备一具有逻辑卷LV-1与部分的逻辑卷LV-2,而存储设备二具有另一部分的逻辑卷LV-2与逻辑卷LV-3。为能具体指出各个逻辑卷(LV-1、LV-2、LV-3)的各个片段存在于底层存储设备上的那个区域之中,因此本发明系通过映射模块对实际存储的位置进行了映射。In addition to being connected to the
一个存储资源可能包含若干片段,所以本发明采用多个范围构成的范围组的形式。在本发明的资源调用要求是由信息范围集合(Range Set)、存储资源标志(Resource ID)、存储位置的起始位置(Start Address)、存储资源的长度(Length)与存储资源的属性(Attributes)所构成。本发明的信息范围集合是以下式表示:A storage resource may contain several fragments, so the present invention adopts the form of a range group composed of multiple ranges. The resource calling requirement in the present invention is composed of information range set (Range Set), storage resource mark (Resource ID), storage location start position (Start Address), storage resource length (Length) and storage resource attribute (Attributes) ) constitutes. The information range set of the present invention is represented by the following formula:
Range Set={Range1,Range2,...,Range n}Range Set={Range1, Range2,..., Range n}
信息范围集合包含至少一个资源(Range n,n是为正整数)。其中,每一个资源还可以进一步的定义为:The information range set contains at least one resource (Range n, n is a positive integer). Among them, each resource can be further defined as:
Range=(Resource ID,Start Address,Length,Attributes)Range=(Resource ID, Start Address, Length, Attributes)
其中,Resource ID是存储资源标志,表示指定的文件或存储设备110,可以是文件名、目录名、设备名称等。Start Address是资源的起始位置。Length是资源的长度。Attributes是此范围内所包含的数据的特殊属性,比如为文件的原始数据、镜像数据(Mirror)或快照(Snapshot)。而Range Set中的StartAddress或Length可以用ALL替代,用以表示指定存储资源的全部范围。Wherein, Resource ID is storage resource sign, represents the specified file or
而资源定位模块130负责控制定位处理,资源定位模块130根据所接收的信息范围集合调用资源映射模块120。请参考图2所示,本发明的资源定位模块130的运作流程如下:The
步骤S210:资源定位模块接收输入信息范围集合#i;Step S210: the resource location module receives the input information range set #i;
步骤S220:找到对应的资源映射模块#i;Step S220: find the corresponding resource mapping module #i;
步骤S230:依序调用资源映射模块机至资源映射模块#(i+n),并以每一个资源映射模块的输出,作为下一个资源映射模块的输入,其中i与n是为整数;Step S230: call the resource mapping module machine to the resource mapping module #(i+n) in sequence, and use the output of each resource mapping module as the input of the next resource mapping module, wherein i and n are integers;
步骤S240:根据资源映射模块的调用结果,判断是否调用资源合并模块,将重复的范围去除并且合并相邻范围;以及Step S240: According to the invocation result of the resource mapping module, determine whether to call the resource merging module, remove duplicated ranges and merge adjacent ranges; and
步骤S250:将最后的信息范围集合#(i+n)输出为资源合并结果。Step S250: Output the final information range set #(i+n) as a resource combination result.
首先,资源定位模块130从主控模块140接收输入信息范围集合#i。资源定位模块130根据输入信息范围集合,依序从第i个存储资源查找到第n个存储资源。在本发明中是以每一个资源映射模块120的输出,作为下一个资源映射模块120的输入。换句话说,第i个存储资源的资源输出会成为第i+1个存储资源的输入。若资源定位模块130发现各存储资源的输出有重复时,资源定位模块130会将重复的范围去除,并由资源合并模块150合并相邻范围。资源定位模块130将最后的信息范围集合#(i+n)输出为资源合并结果。主控模块140在接获资源定位模块130的输出后,主控模块140会驱动接口显示模块160进行资源合并结果的显示。接口显示模块160可以是显示器(displayer)或是显示灯号(Light-Emitting Diode,LED)。First, the
为清楚说明本发明的运作,在此以下述说名为例,但并非仅局限于此一硬体与其结构。假设存储设备D包含如下层次:In order to clearly illustrate the operation of the present invention, the following description is used as an example, but not limited to this hardware and its structure. Suppose storage device D contains the following layers:
(1)文件系统(1) File system
(2)逻辑卷(含快照、镜像)(2) Logical volumes (including snapshots and mirrors)
(3)RAID(3)RAID
(4)JBOD/硬盘(4) JBOD/hard disk
相应的,存储设备D的资源映射模块120包括:Correspondingly, the
(1)资源映射模块#1:FS Mapper(1) Resource Mapping Module #1: FS Mapper
(2)资源映射模块#2:VD Mapper(2) Resource Mapping Module #2: VD Mapper
(3)资源映射模块#3:RAID Mapper(3) Resource Mapping Module #3: RAID Mapper
(4)资源映射模块#4:HDD Mapper(4) Resource Mapping Module #4: HDD Mapper
若需要定位的存储资源是一个文件:/volume/dir1/dir2/file。本发明的主控模块140将会通过下述方式进行定位:If the storage resource to be located is a file: /volume/dir1/dir2/file. The main control module 140 of the present invention will be positioned in the following manner:
(1)接收输入的信息范围集合:(1) Receive input information range set:
{(/volume/dir1/dir2/file,ALL,原始数据)};{(/volume/dir1/dir2/file, ALL, raw data)};
(2)由于是文件,可以确定对应的资源映射模块是FS Maper;(2) Since it is a file, it can be determined that the corresponding resource mapping module is FS Maper;
(3)调用资源映射模块#1:FS Mapper,并得到输出:(3) Call the resource mapping module #1: FS Mapper, and get the output:
{(VD1,1029MB,11MB,原始数据),{(VD1, 1029MB, 11MB, raw data),
(VD2,875MB,11MB,Mirror)}(VD2, 875MB, 11MB, Mirror)}
(4)调用资源映射模块#2:VD Mapper,并得到输出:(4) Call the resource mapping module #2: VD Mapper, and get the output:
{(RAID1,2032MB,11MB,原始数据),{(RAID1, 2032MB, 11MB, raw data),
(RAID2,985MB,11MB,Mirror)}(RAID2, 985MB, 11MB, Mirror)}
(5)调用资源映射模块#3:RAID Mapper,并得到输出:(5) Call the resource mapping module #3: RAID Mapper, and get the output:
{(JBOD1/HDD8,2047MB,11MB,原始数据),{(JBOD1/HDD8, 2047MB, 11MB, raw data),
(JBOD2/HDD7,1069MB,11MB,Mirror)}(JBOD2/HDD7, 1069MB, 11MB, Mirror)}
(6)调用接口显示模块160,控制JBOD1/HDD8和JBOD2/HDD7的硬盘灯,进入闪烁状态。(6) Call the
本发明的存储资源的定位系统可以指出存储系统中特定存储资源的存储位置,藉以提供使用者可以快速的找到所述的存储资源的实体设备。The storage resource locating system of the present invention can point out the storage location of a specific storage resource in the storage system, so as to provide the user with a fast way to find the physical device of the storage resource.
当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention also can have other multiple embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding Changes and deformations should belong to the scope of protection of the appended claims of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104613218A CN103186473A (en) | 2011-12-30 | 2011-12-30 | Locating system for storage resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104613218A CN103186473A (en) | 2011-12-30 | 2011-12-30 | Locating system for storage resources |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103186473A true CN103186473A (en) | 2013-07-03 |
Family
ID=48677649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011104613218A Pending CN103186473A (en) | 2011-12-30 | 2011-12-30 | Locating system for storage resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103186473A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5265252A (en) * | 1991-03-26 | 1993-11-23 | International Business Machines Corporation | Device driver system having generic operating system interface |
CN101382877A (en) * | 2008-10-15 | 2009-03-11 | 青岛海信移动通信技术股份有限公司 | FAT file data reading/writing method, system and mobile communication terminal |
CN101404764A (en) * | 2008-10-30 | 2009-04-08 | 宁波中科集成电路设计中心有限公司 | Internal memory management method in audio/video decoding course |
CN101567001A (en) * | 2009-05-22 | 2009-10-28 | 清华大学 | Method for managing metadata file layout of parallel file system |
-
2011
- 2011-12-30 CN CN2011104613218A patent/CN103186473A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5265252A (en) * | 1991-03-26 | 1993-11-23 | International Business Machines Corporation | Device driver system having generic operating system interface |
CN101382877A (en) * | 2008-10-15 | 2009-03-11 | 青岛海信移动通信技术股份有限公司 | FAT file data reading/writing method, system and mobile communication terminal |
CN101404764A (en) * | 2008-10-30 | 2009-04-08 | 宁波中科集成电路设计中心有限公司 | Internal memory management method in audio/video decoding course |
CN101567001A (en) * | 2009-05-22 | 2009-10-28 | 清华大学 | Method for managing metadata file layout of parallel file system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11494088B2 (en) | Push-based piggyback system for source-driven logical replication in a storage environment | |
US10223375B2 (en) | Handling data extent size asymmetry during logical replication in a storage system | |
JP5068252B2 (en) | Data placement technology for striping data containers across multiple volumes in a storage system cluster | |
JP4510028B2 (en) | Adaptive look-ahead technology for multiple read streams | |
US7865677B1 (en) | Enhancing access to data storage | |
US8423731B1 (en) | System and method for automatic scheduling and policy provisioning for information lifecycle management | |
US9891860B1 (en) | Managing copying of data in storage systems | |
US8171063B1 (en) | System and method for efficiently locating and processing data on a deduplication storage system | |
US8645737B2 (en) | Power-saving control apparatus and method | |
US9071622B2 (en) | Multi-level parallelism of process execution in a mutual exclusion domain of a processing system | |
CN104408091A (en) | Data storage method and system for distributed file system | |
CN103262019A (en) | Extent migration for paired storage | |
US10031682B1 (en) | Methods for improved data store migrations and devices thereof | |
CN1688982A (en) | Multi-protocol storage appliance that provides integrated support for file and block access protocols | |
EP4139781A1 (en) | Persistent memory architecture | |
US10929066B1 (en) | User stream aware file systems with user stream detection | |
US6904508B2 (en) | Recovery of dynamic maps and data managed thereby | |
US20240411744A1 (en) | Distributed storage systems and methods to provide change tracking integrated with scalable databases | |
US20240104081A1 (en) | Integrating change tracking of storage objects of a distributed object storage database into a distributed storage system | |
CN107153512A (en) | A kind of data migration method and device | |
US20240411583A1 (en) | Policy Enforcement And Performance Monitoring At Sub-Lun Granularity | |
JP4779012B2 (en) | System and method for restoring data on demand for instant volume restoration | |
US8001347B1 (en) | Coherently sharing any form of instant snapshots separately from base volumes | |
CN104216664A (en) | Network volume creating method, data storage method, storage equipment and storage system | |
US11055005B2 (en) | Background deduplication using trusted fingerprints |
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: 20130703 |