CN105786732A - Data access method and apparatus - Google Patents

Data access method and apparatus Download PDF

Info

Publication number
CN105786732A
CN105786732A CN201410834707.2A CN201410834707A CN105786732A CN 105786732 A CN105786732 A CN 105786732A CN 201410834707 A CN201410834707 A CN 201410834707A CN 105786732 A CN105786732 A CN 105786732A
Authority
CN
China
Prior art keywords
lun
main frame
storage device
information
interface module
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.)
Granted
Application number
CN201410834707.2A
Other languages
Chinese (zh)
Other versions
CN105786732B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910040775.4A priority Critical patent/CN109947676A/en
Priority to CN201410834707.2A priority patent/CN105786732B/en
Priority to PCT/CN2015/098105 priority patent/WO2016101856A1/en
Publication of CN105786732A publication Critical patent/CN105786732A/en
Application granted granted Critical
Publication of CN105786732B publication Critical patent/CN105786732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Abstract

Embodiments of the invention provide a data access method and apparatus. The data access method comprises the steps that an interface module obtains a logic unit number (LUN) allocation request sent by an application module and sends the LUN allocation request to a storage device, wherein the LUN allocation request is used for indicating that the storage device allocates an LUN to a host; a mapping relationship between an LUN identifier and the host is established; and the interface module receives the mapping relationship and the LUN information sent by the storage device, wherein the LUN information comprises the LUN identifier and is used for indicating that the host accesses to a storage space corresponding to the LUN identifier in the storage device according to the mapping relationship and the LUN information. The embodiments of the invention can be applied to a large-scale cluster network, so that a process of discovering the LUN by the host is simplified, an existing storage protocol does not need to be changed, and the IO performance is not influenced.

Description

Data access method and device
Technical field
The present embodiments relate to field of computer technology, particularly relate to a kind of data access method and device.
Background technology
LUN (the LogicalUnitNumber of main frame and storage device, be called for short LUN) mapping be one of the key operation in storage configuration, purpose is to be mounted on main frame by the storage resource of an enterprise-level storage device so that main frame can use the storage resource that enterprise-level storage device provides.After the LUN of storage device is mapped to main frame, it is necessary to the scanning through host computer side could by the operating system equipment identification of main frame and use.
After the LUN of storage device is mounted to main frame, the scanning of LUN is a job consuming time by main frame.Along with the topological relation of cloud computing and virtualized development, main frame and storage device becomes to become increasingly complex.Main frame generally requires the hundreds of LUN of carry, in such a scenario, when there being new LUN to be mounted to main frame, lower floor driver scanning host bus adaptor (HostBusAdapter on main frame, it is called for short HBA) to obtain the information of new LUN, need to expend the longer time, have impact on the work efficiency of whole system and cluster largely.
In order to reduce the time of main frame scanning LUN, simplify the mapping relations of main frame and the LUN in storage device, prior art adopts the mode of a kind of agency, namely between main frame and enterprise-level storage device, sets up an agency.Agency belongs to the inner element of enterprise-level storage device, and the LUN of storage device closes and is coupled on agency, and in non-host, namely establishes the mapping relations of agency and the LUN in storage device.Main frame can only see agency, and can't see the LUN of storage device, main frame sends input/output (Input/Output to the LUN of storage device, it is called for short IO) ask to be first be dealt into agency, need to be addressed to the LUN of enterprise-level storage device through agency, and when the LUN of storage device changes with the carry relation of agency, it is necessary to agent advertisement main frame.
But, owing to I/O Request is to send to agency in prior art, therefore it is required for doing corresponding change in protocol-dependent parts such as the in-band managements of the parsing of mark (IDentity, be called for short ID) of LUN, the discovery of LUN and other LUN.This change not only brings extra work amount to storage device, and too increases the complexity of I O process, have impact on IO performance.
Summary of the invention
The embodiment of the present invention provides a kind of data access method and device, can be applicable in large-scale cluster network, simplifies the flow process of detecting host LUN, and do not need to change existing storage agreement, do not affect IO performance.
First aspect, the embodiment of the present invention provides a kind of data access method, is applied to storage system, and described storage system includes main frame and storage device, and described main frame includes application module and interface module, and described method includes:
Described interface module obtains the LUN LUN distribution request that described application module sends, and described LUN distribution request is sent to described storage device;It is described host assignment LUN that described LUN distribution request is used for indicating described storage device, and sets up the mark of described LUN and the mapping relations of described main frame;
Described interface module receives the described mapping relations of described storage device transmission and the information of described LUN;Wherein, the information of described LUN includes the mark of described LUN;The information of described LUN, for indicating the described main frame information according to described mapping relations and described LUN, accesses memory space corresponding with the mark of described LUN in described storage device.
In conjunction with first aspect, in the first possible implementation of first aspect, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
The first possible implementation in conjunction with first aspect or first aspect, in the implementation that the second of first aspect is possible, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described LUN is distributed request by described data link and is sent to described storage device by the interface module of described main frame.
Second aspect, the embodiment of the present invention provides a kind of data access method, is applied to storage system, and described storage system includes main frame and storage device, and described storage device includes storage management interface module, and described method includes:
Described storage management interface module receives the LUN LUN distribution request that described main frame sends, and is described host assignment LUN according to described LUN distribution request, and sets up the mark of described LUN and the mapping relations of described main frame;
The information of described mapping relations and described LUN is sent to described main frame by described storage management interface module, wherein, the information of described LUN includes the mark of described LUN, and the information of described LUN is for indicating described main frame according to memory space corresponding with the mark of described LUN in described mapping relations and storage device described in the message reference of described LUN.
In conjunction with second aspect, in the first possible implementation of second aspect, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
The first possible implementation in conjunction with second aspect or second aspect, in the implementation that the second of second aspect is possible, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described storage device receives the described LUN distribution request that described main frame is sent by described data link.
The third aspect, the embodiment of the present invention provides a kind of main frame, including application module and interface module;
Wherein, described application module, for sending LUN LUN distribution request to described interface module;Described interface module, for obtaining the described LUN distribution request that described application module sends, and is sent to storage device by described LUN distribution request;It is described host assignment LUN that described LUN distribution request is used for indicating described storage device, and sets up the mark of described LUN and the mapping relations of described main frame;
Described interface module, is additionally operable to the information of described mapping relations and the described LUN receiving the transmission of described storage device;Wherein, the information of described LUN includes the mark of described LUN;The information of described LUN, for indicating the described main frame information according to described mapping relations and described LUN, accesses memory space corresponding with the mark of described LUN in described storage device.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
The first possible implementation in conjunction with the third aspect or the third aspect, in the implementation that the second of the third aspect is possible, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described LUN is distributed request by described data link and is sent to described storage device by the interface module of described main frame.
Fourth aspect, the embodiment of the present invention provides a kind of storage device, including:
Storage management interface module, for the LUN LUN distribution request that Receiving Host sends, is described host assignment LUN according to described LUN distribution request, and sets up the mark of described LUN and the mapping relations of described main frame;
Described storage management interface module, it is additionally operable to the information of described mapping relations and described LUN is sent to described main frame, wherein, the information of described LUN includes the mark of described LUN, and the information of described LUN is for indicating described main frame according to memory space corresponding with the mark of described LUN in described mapping relations and storage device described in the message reference of described LUN.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
The first possible implementation in conjunction with fourth aspect or fourth aspect, in the implementation that the second of fourth aspect is possible, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described storage device receives the described LUN distribution request that described main frame is sent by described data link.
Embodiment of the present invention data access method and device, obtain, by interface module, the LUN LUN distribution request that application module sends, and described LUN distribution request be sent to described storage device;It is described host assignment LUN that described LUN distribution request is used for indicating described storage device, and sets up the mark of described LUN and the mapping relations of described main frame;Described interface module receives the described mapping relations of described storage device transmission and the information of described LUN;Wherein, the information of described LUN includes the mark of described LUN;The information of described LUN is for indicating the described main frame information according to described mapping relations and described LUN, access memory space corresponding with the mark of described LUN in described storage device, can apply in large-scale cluster network, dynamically distribution storage resource, main frame need not scan LUN, simplify the flow process of detecting host LUN, and do not need to change existing storage agreement, do not affect IO performance.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the system architecture diagram one of data access method embodiment of the present invention;
Fig. 2 is the flow chart of data access method embodiment one of the present invention;
Fig. 3 is the system architecture diagram two of data access method embodiment of the present invention;
Fig. 4 is the system architecture diagram three of data access method embodiment of the present invention;
Fig. 5 is the flow chart of data access method embodiment two of the present invention;
Fig. 6 is the structural representation of host embodiments one of the present invention;
Fig. 7 is the structural representation of storage device embodiment one of the present invention;
Fig. 8 is the structural representation of host embodiments two of the present invention;
Fig. 9 is the structural representation of storage device embodiment two of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Fig. 1 is the system architecture diagram one of data access method embodiment of the present invention, the embodiment of the present invention is applied in storage system, as shown in Figure 1, described storage system includes main frame and storage device, may also include cluster management center, storage system includes main frame 210, main frame 220, main frame 230 in FIG, by respective host bus adaptor (HostBusAdapter, it is called for short HBA) it is connected to enterprise-level storage device 240, cluster management center 250 can manage main frame.
Fig. 2 is the flow chart of data access method embodiment one of the present invention, and Fig. 3 is the system architecture diagram two of data access method embodiment of the present invention, and Fig. 4 is the system architecture diagram three of data access method embodiment of the present invention.As in figure 2 it is shown, the method for the present embodiment, being applied to storage system, described storage system includes main frame and storage device, and main frame includes application module and interface module, and described method includes:
Step 201, described interface module obtain the LUN LUN distribution request that described application module sends, and described LUN distribution request is sent to described storage device;It is described host assignment LUN that described LUN distribution request is used for indicating described storage device, and sets up the mark of described LUN and the mapping relations of described main frame.
Step 202, described interface module receive the described mapping relations of described storage device transmission and the information of described LUN;Wherein, the information of described LUN includes the mark of described LUN;The information of described LUN, for indicating the described main frame information according to described mapping relations and described LUN, accesses memory space corresponding with the mark of described LUN in described storage device.
Specifically, as shown in Figure 1 and Figure 2, main frame is by the mapping relations of interface module management main frame with the LUN of storage device, HBA need not be scanned by the driving layer of main frame, but by interface module by the information of LUN, such as the mark etc. of LUN, pass to the application program in application module.The memory space that the mark of LUN in storage device is corresponding can be conducted interviews by the application program run on each main frame by the information of LUN.
Alternatively, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
Above-mentioned LUN distributes request, is from the space distribution order that the application program angle of application module sends, and mainly includes storage size, memory space type (as simplifying configuration, completely configuration), performance requirement, reliability requirement etc..Need the concrete specification according to storage device determines specifically comprise which content.
LUN distributes to be needed when request is sent to storage device to convert the discernible management request of storage device to, and described management request, is from the angle of storage device storage configuration order to understand and administration order.Enterprise-level storage device can provide the management interface able to programme that can be accessed, storage management interface module as shown in Figure 3 by external application inside storage device.Data center administrator according to interface specification, can write application program flexible configuration and management storage device.
As shown in Figure 3, the application program of the application module in main frame 210 to use the memory space in storage device 240, then send LUN distribution request to interface module, interface module converts described LUN distribution request the management request of storage device to, being sent to described storage device 240, storage device 240 distributes the LUN that described LUN distribution request is corresponding, such as LUN1, and set up the mapping relations of LUN1 and main frame 210, and the information of these mapping relations and LUN1 is returned to interface module.The information of LUN1 that interface module will get, and return to application module, the application program of application module uses the information of LUN1 that the memory space that described LUN1 is corresponding is conducted interviews.
Alternatively, as shown in Figure 4, described interface module includes application adaptation unit 300 and storage adaptation unit 310, and described interface module obtains LUN LUN distribution request, including:
Described application adaptation unit obtains described LUN distribution request, and described LUN distribution request is transmitted to described storage adaptation unit;
Described by described LUN distribute request be sent to described storage device, including:
Described storage adaptation unit converts described LUN distribution request the management request of storage device to, is sent to described storage device;
Described interface unit receives the described mapping relations of described storage device transmission and the information of described LUN, including:
Described storage adaptation unit receives the information of described mapping relations and described LUN, and the information of described mapping relations and described LUN is sent to described application adaptation unit, described application adaptation unit be sent to application module.
Specifically, as shown in Figure 4, the application program of the application module in main frame 210 to use the memory space in storage device 240, then send LUN distribution request to interface module application adaptation unit, described LUN is distributed request and is transmitted to storage adaptation unit by application adaptation unit, storage adaptation unit converts described LUN distribution request the management request of storage device to, it is sent to described storage device 240, storage device 240 distributes the LUN that described LUN distribution request is corresponding, such as LUN1, and set up the mapping relations of LUN1 and main frame 210, and the information of these mapping relations and LUN1 is returned to the storage adaptation unit of interface module, and it is transmitted to application adaptation unit.The information of the LUN1 got is returned to the application program of application module by application adaptation unit, and the application program of application module uses the information of LUN1 that the memory space that described LUN1 is corresponding is conducted interviews.
Alternatively, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described LUN is distributed request by described data link and is sent to described storage device by the interface module of described main frame.
Specifically, the port information of main frame sets up the data link between described main frame and described storage for described main frame.Host computer side is after getting the information of LUN, it is necessary to is arranged on correct host port by this LUN, could send I/O Request.
The present embodiment, obtains, by interface module, the LUN LUN distribution request that application module sends, and described LUN distribution request is sent to described storage device;It is described host assignment LUN that described LUN distribution request is used for indicating described storage device, and sets up the mark of described LUN and the mapping relations of described main frame;Described interface module receives the described mapping relations of described storage device transmission and the information of described LUN;Wherein, the information of described LUN includes the mark of described LUN;The information of described LUN is for indicating the described main frame information according to described mapping relations and described LUN, access memory space corresponding with the mark of described LUN in described storage device, can apply in large-scale cluster network, dynamically distribution storage resource, main frame need not scan LUN, simplify the flow process of detecting host LUN, and do not need to change existing storage agreement, do not affect IO performance.
Fig. 5 is the flow chart of data access method embodiment two of the present invention.As it is shown in figure 5, the method for the present embodiment, being applied to storage system, described storage system includes main frame and storage device, and described storage device includes storage management interface module, and described method includes:
Step 501, described storage management interface module receive the LUN LUN distribution request that described main frame sends, and are described host assignment LUN according to described LUN distribution request, and set up the mark of described LUN and the mapping relations of described main frame.
The information of described mapping relations and described LUN is sent to described main frame by step 502, described storage management interface module, wherein, the information of described LUN includes the mark of described LUN, and the information of described LUN is for indicating memory space corresponding with the mark of described LUN in storage device described in the message reference of LUN according to described mapping relations of described main frame.
Specifically, as shown in Figure 3, the application program of the application module in main frame 210 to use the memory space in storage device 240, then send LUN distribution request to the interface module of main frame, the interface module of main frame converts described LUN distribution request the management request of storage device to, it is sent to the storage management interface module of described storage device 240, the LUN that LUN distribution request described in the storage management interface module assignment of storage device 240 is corresponding, such as LUN1, and set up the mapping relations of LUN1 and main frame 210, and the information of these mapping relations and LUN1 is returned to the interface module of main frame.The information of LUN1 that the interface module of main frame will get, and return to the application program of application module, the application program of application module uses the information of LUN1 that the memory space that described LUN1 is corresponding is conducted interviews.
Alternatively, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
Above-mentioned LUN distributes request, is from the space distribution order that the application program angle of application module sends, and mainly includes storage size, memory space type (as simplifying configuration, completely configuration), performance requirement, reliability requirement etc..Need the concrete specification according to storage device determines specifically comprise which content.
LUN distributes to be needed when request is sent to storage device to convert the discernible management request of storage device to, and described management request, is from the angle of storage device storage configuration order to understand and administration order.Enterprise-level storage device can provide the management interface able to programme that can be accessed, storage management interface module as shown in Figure 3 by external application inside storage device.Data center administrator according to interface specification, can write application program flexible configuration and management storage device.
Alternatively, the information of described LUN also includes: the port information of main frame, sets up the data link between described main frame and described storage device for described main frame, and described storage device receives the described LUN distribution request that described main frame is sent by described data link.
The present embodiment, receives, by storage management interface module, the LUN LUN distribution request that described main frame sends, is described host assignment LUN according to described LUN distribution request, and set up the mark of described LUN and the mapping relations of described main frame;The information of described mapping relations and described LUN is sent to described main frame by described storage management interface module, wherein, the information of described LUN includes the mark of described LUN, the information of described LUN is for indicating described main frame according to memory space corresponding with the mark of described LUN in described mapping relations and storage device described in the message reference of described LUN, can apply in large-scale cluster network, dynamically distribution storage resource, main frame need not scan LUN, simplify the flow process of detecting host LUN, and do not need to change existing storage agreement, do not affect IO performance.
Fig. 6 is the structural representation of host embodiments one of the present invention.As shown in Figure 6, the main frame of the present embodiment, including application module 601 and interface module 602;
Wherein, described application module 601, for sending LUN LUN distribution request to described interface module 602;Described interface module 602, for obtaining the described LUN distribution request that described application module 601 sends, and is sent to storage device by described LUN distribution request;It is described host assignment LUN that described LUN distribution request is used for indicating described storage device, and sets up the mark of described LUN and the mapping relations of described main frame;
Described interface module 602, is additionally operable to the information of described mapping relations and the described LUN receiving the transmission of described storage device;Wherein, the information of described LUN includes the mark of described LUN;The information of described LUN, for indicating the described main frame information according to described mapping relations and described LUN, accesses memory space corresponding with the mark of described LUN in described storage device.
Alternatively, described interface module 602 includes applying adaptation unit and storage adaptation unit, described application adaptation unit, is used for obtaining described LUN distribution request, and described LUN distribution request is transmitted to described storage adaptation unit;
Described storage adaptation unit, for described LUN distribution request converts to the management request of storage device, is sent to described storage device;
Described storage adaptation unit, is additionally operable to the information receiving described mapping relations and described LUN, and the information of described mapping relations and described LUN is sent to described application adaptation unit, described application adaptation unit be sent to application module.
Alternatively, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
Alternatively, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described LUN is distributed request by described data link and is sent to described storage device by the interface module of described main frame.
The main frame of the present embodiment, it is possible to for performing the technical scheme of embodiment of the method shown in Fig. 2, it is similar with technique effect that it realizes principle, repeats no more herein.
Fig. 7 is the structural representation of storage device embodiment one of the present invention.As it is shown in fig. 7, the storage device of the present embodiment, including:
Storage management interface module 701, for the LUN LUN distribution request that Receiving Host sends, is described host assignment LUN according to described LUN distribution request, and sets up the mark of described LUN and the mapping relations of described main frame;
Described storage management interface module 701, it is additionally operable to the information of described mapping relations and described LUN is sent to described main frame, wherein, the information of described LUN includes the mark of described LUN, and the information of described LUN is for indicating described main frame according to memory space corresponding with the mark of described LUN in described mapping relations and storage device described in the message reference of described LUN.
Alternatively, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
Alternatively, the information of described LUN also includes: the port information of main frame, sets up the data link between described main frame and described storage device for described main frame, and described storage device receives the described LUN distribution request that described main frame is sent by described data link.
The storage device of the present embodiment, it is possible to for performing the technical scheme of embodiment of the method shown in Fig. 5, it is similar with technique effect that it realizes principle, repeats no more herein.
Fig. 8 is the structural representation of host embodiments two of the present invention.As shown in Figure 8, the main frame of the present embodiment, including communication interface 801, processor 802 and memorizer 803;Described processor is connected with described communication interface and described memorizer respectively;Described memorizer, is used for storing data or information;
Wherein, described communication interface 801, for obtaining the described LUN distribution request that described processor 802 sends, and described LUN distribution request is sent to storage device;It is described host assignment LUN that described LUN distribution request is used for indicating described storage device, and sets up the mark of described LUN and the mapping relations of described main frame;
Described communication interface 801, is additionally operable to the information of described mapping relations and the described LUN receiving the transmission of described storage device;Wherein, the information of described LUN includes the mark of described LUN;The information of described LUN, for indicating the described main frame information according to described mapping relations and described LUN, accesses memory space corresponding with the mark of described LUN in described storage device.
Alternatively, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
Alternatively, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described processor, described LUN is distributed request by described data link and is sent to described storage device by the communication interface of described main frame.
The main frame of the present embodiment, it is possible to for performing the technical scheme of embodiment of the method shown in Fig. 2, it is similar with technique effect that it realizes principle, repeats no more herein.
Fig. 9 is the structural representation of storage device embodiment two of the present invention.As it is shown in figure 9, the storage device of the present embodiment, including: communication interface 901, processor 902 and memorizer 903;Described processor 902 is connected with described communication interface 901 and described memorizer 903 respectively;Described memorizer 903, is used for storing data or information;
Described communication interface 901, for the LUN LUN distribution request that Receiving Host sends, described processor 902, for distributing request for described host assignment LUN according to described LUN, and sets up the mark of described LUN and the mapping relations of described main frame;
Described communication interface 901, it is additionally operable to the information of described mapping relations and described LUN is sent to described main frame, wherein, the information of described LUN includes the mark of described LUN, and the information of described LUN is for indicating described main frame according to memory space corresponding with the mark of described LUN in described mapping relations and storage device described in the message reference of described LUN.
Alternatively, described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
Alternatively, the information of described LUN also includes: the port information of main frame, sets up the data link between described main frame and described storage device for described main frame, and described storage device receives the described LUN distribution request that described main frame is sent by described data link.
The storage device of the present embodiment, it is possible to for performing the technical scheme of embodiment of the method shown in Fig. 5, it is similar with technique effect that it realizes principle, repeats no more herein.
In several embodiments provided herein, it should be understood that disclosed equipment and method, it is possible to realize by another way.Such as, apparatus embodiments described above is merely schematic, such as, the division of described unit or module, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or module can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, equipment or module, it is possible to be electrical, machinery or other form.
The described module illustrated as separating component can be or may not be physically separate, and the parts shown as module can be or may not be physical module, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can be completed by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program upon execution, performs to include the step of above-mentioned each embodiment of the method;And aforesaid storage medium includes: the various media that can store program code such as ROM, RAM, magnetic disc or CDs.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein some or all of technical characteristic is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a data access method, is applied to storage system, and described storage system includes main frame and storage device, it is characterised in that described main frame includes application module and interface module, and described method includes:
Described interface module obtains the LUN LUN distribution request that described application module sends, and described LUN distribution request is sent to described storage device;It is described host assignment LUN that described LUN distribution request is used for indicating described storage device, and sets up the mark of described LUN and the mapping relations of described main frame;
Described interface module receives the described mapping relations of described storage device transmission and the information of described LUN;Wherein, the information of described LUN includes the mark of described LUN;The information of described LUN, for indicating the described main frame information according to described mapping relations and described LUN, accesses memory space corresponding with the mark of described LUN in described storage device.
2. method according to claim 1, it is characterised in that described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
3. method according to claim 1 and 2, it is characterized in that, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described LUN is distributed request by described data link and is sent to described storage device by the interface module of described main frame.
4. a data access method, is applied to storage system, and described storage system includes main frame and storage device, it is characterised in that described storage device includes storage management interface module, and described method includes:
Described storage management interface module receives the LUN LUN distribution request that described main frame sends, and is described host assignment LUN according to described LUN distribution request, and sets up the mark of described LUN and the mapping relations of described main frame;
The information of described mapping relations and described LUN is sent to described main frame by described storage management interface module, wherein, the information of described LUN includes the mark of described LUN, and the information of described LUN is for indicating described main frame according to memory space corresponding with the mark of described LUN in described mapping relations and storage device described in the message reference of described LUN.
5. method according to claim 4, it is characterised in that described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
6. the method according to claim 4 or 5, it is characterized in that, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described storage device receives the described LUN distribution request that described main frame is sent by described data link.
7. a main frame, it is characterised in that include application module and interface module;
Wherein, described application module, for sending LUN LUN distribution request to described interface module;Described interface module, for obtaining the described LUN distribution request that described application module sends, and is sent to storage device by described LUN distribution request;It is described host assignment LUN that described LUN distribution request is used for indicating described storage device, and sets up the mark of described LUN and the mapping relations of described main frame;
Described interface module, is additionally operable to the information of described mapping relations and the described LUN receiving the transmission of described storage device;Wherein, the information of described LUN includes the mark of described LUN;The information of described LUN, for indicating the described main frame information according to described mapping relations and described LUN, accesses memory space corresponding with the mark of described LUN in described storage device.
8. main frame according to claim 7, it is characterised in that described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
9. the main frame according to claim 7 or 8, it is characterized in that, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described LUN is distributed request by described data link and is sent to described storage device by the interface module of described main frame.
10. a storage device, it is characterised in that including:
Storage management interface module, for the LUN LUN distribution request that Receiving Host sends, is described host assignment LUN according to described LUN distribution request, and sets up the mark of described LUN and the mapping relations of described main frame;
Described storage management interface module, it is additionally operable to the information of described mapping relations and described LUN is sent to described main frame, wherein, the information of described LUN includes the mark of described LUN, and the information of described LUN is for indicating described main frame according to memory space corresponding with the mark of described LUN in described mapping relations and storage device described in the message reference of described LUN.
11. storage device according to claim 10, it is characterised in that described LUN allocation request packet draws together at least one in following information: storage size, memory space type, performance requirement, reliability requirement.
12. the storage device according to claim 10 or 11, it is characterized in that, the information of described LUN also includes: the port information of main frame, setting up the data link between described main frame and described storage device for described main frame, described storage device receives the described LUN distribution request that described main frame is sent by described data link.
CN201410834707.2A 2014-12-26 2014-12-26 Data access method and device Active CN105786732B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910040775.4A CN109947676A (en) 2014-12-26 2014-12-26 Data access method and device
CN201410834707.2A CN105786732B (en) 2014-12-26 2014-12-26 Data access method and device
PCT/CN2015/098105 WO2016101856A1 (en) 2014-12-26 2015-12-21 Data access method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410834707.2A CN105786732B (en) 2014-12-26 2014-12-26 Data access method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201910040775.4A Division CN109947676A (en) 2014-12-26 2014-12-26 Data access method and device

Publications (2)

Publication Number Publication Date
CN105786732A true CN105786732A (en) 2016-07-20
CN105786732B CN105786732B (en) 2019-02-12

Family

ID=56149266

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410834707.2A Active CN105786732B (en) 2014-12-26 2014-12-26 Data access method and device
CN201910040775.4A Pending CN109947676A (en) 2014-12-26 2014-12-26 Data access method and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201910040775.4A Pending CN109947676A (en) 2014-12-26 2014-12-26 Data access method and device

Country Status (2)

Country Link
CN (2) CN105786732B (en)
WO (1) WO2016101856A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325777A (en) * 2016-08-24 2017-01-11 浪潮(北京)电子信息产业有限公司 Logical unit management method and system
CN107506283A (en) * 2017-08-25 2017-12-22 郑州云海信息技术有限公司 A kind of main frame stores the method and system of pushed information to SAN
CN109597565A (en) * 2017-09-30 2019-04-09 北京忆恒创源科技有限公司 Virtual Plane management
CN109992536A (en) * 2018-01-03 2019-07-09 华为技术有限公司 Data processing method, solid state hard disk and computer equipment
CN110413548A (en) * 2018-04-27 2019-11-05 慧与发展有限责任合伙企业 Sub- LUN ownership alignment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694081A (en) * 2005-05-31 2005-11-09 清华大学 Implementing method of virtual intelligent controller in SAN system
CN1902578A (en) * 2004-01-21 2007-01-24 国际商业机器公司 Method and apparatus for controlling access to logical units
CN101179593A (en) * 2006-11-10 2008-05-14 株式会社日立制作所 Access environment construction system and method
CN101206581A (en) * 2006-12-20 2008-06-25 国际商业机器公司 Apparatus, system, and method for booting using an external disk through a virtual scsi connection
US20090158002A1 (en) * 2007-12-12 2009-06-18 Huawei Technologies Co., Ltd. Network storage device and data read-write control method
CN101471830A (en) * 2007-12-25 2009-07-01 英业达股份有限公司 Method for accessing remote logic equipment through multiple routes in Linux system
CN101815036A (en) * 2010-04-21 2010-08-25 中兴通讯股份有限公司 Method and device for realizing access control
CN102622189A (en) * 2011-12-31 2012-08-01 成都市华为赛门铁克科技有限公司 Storage virtualization device, data storage method and system
CN103838515A (en) * 2012-11-23 2014-06-04 中国科学院声学研究所 Method and system for allowing server cluster to have access to and dispatch multi-controller disk array
CN103902225A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Method and system for centralized management of storage resources
CN103970486A (en) * 2014-05-22 2014-08-06 浪潮(北京)电子信息产业有限公司 Method and system for data storage

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060265566A1 (en) * 2005-05-17 2006-11-23 Sreerupa Sen Method and apparatus for verifying logical bindings between provisionable servers and provisionable storage array volumes

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1902578A (en) * 2004-01-21 2007-01-24 国际商业机器公司 Method and apparatus for controlling access to logical units
CN1694081A (en) * 2005-05-31 2005-11-09 清华大学 Implementing method of virtual intelligent controller in SAN system
CN101179593A (en) * 2006-11-10 2008-05-14 株式会社日立制作所 Access environment construction system and method
CN101206581A (en) * 2006-12-20 2008-06-25 国际商业机器公司 Apparatus, system, and method for booting using an external disk through a virtual scsi connection
US20090158002A1 (en) * 2007-12-12 2009-06-18 Huawei Technologies Co., Ltd. Network storage device and data read-write control method
CN101471830A (en) * 2007-12-25 2009-07-01 英业达股份有限公司 Method for accessing remote logic equipment through multiple routes in Linux system
CN101815036A (en) * 2010-04-21 2010-08-25 中兴通讯股份有限公司 Method and device for realizing access control
CN102622189A (en) * 2011-12-31 2012-08-01 成都市华为赛门铁克科技有限公司 Storage virtualization device, data storage method and system
CN103838515A (en) * 2012-11-23 2014-06-04 中国科学院声学研究所 Method and system for allowing server cluster to have access to and dispatch multi-controller disk array
CN103902225A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Method and system for centralized management of storage resources
CN103970486A (en) * 2014-05-22 2014-08-06 浪潮(北京)电子信息产业有限公司 Method and system for data storage

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325777A (en) * 2016-08-24 2017-01-11 浪潮(北京)电子信息产业有限公司 Logical unit management method and system
CN107506283A (en) * 2017-08-25 2017-12-22 郑州云海信息技术有限公司 A kind of main frame stores the method and system of pushed information to SAN
CN107506283B (en) * 2017-08-25 2021-06-29 郑州云海信息技术有限公司 Method and system for host to push information to SAN storage
CN109597565A (en) * 2017-09-30 2019-04-09 北京忆恒创源科技有限公司 Virtual Plane management
CN109597565B (en) * 2017-09-30 2024-04-05 北京忆恒创源科技股份有限公司 Virtual Plane management
CN109992536A (en) * 2018-01-03 2019-07-09 华为技术有限公司 Data processing method, solid state hard disk and computer equipment
CN110413548A (en) * 2018-04-27 2019-11-05 慧与发展有限责任合伙企业 Sub- LUN ownership alignment
CN110413548B (en) * 2018-04-27 2021-08-17 慧与发展有限责任合伙企业 Method, data storage system and storage device for sub-LUN alignment

Also Published As

Publication number Publication date
CN105786732B (en) 2019-02-12
CN109947676A (en) 2019-06-28
WO2016101856A1 (en) 2016-06-30

Similar Documents

Publication Publication Date Title
JP6609696B2 (en) Network service life cycle management method and device
US10305823B2 (en) Network interface card configuration method and resource management center
CN104579772B (en) The configuring management method of computer equipment and computer equipment
US8495255B2 (en) Discovery and configuration of device configurations
US20150207678A1 (en) Method and Apparatus for Managing Physical Network Interface Card, and Physical Host
CN109445905B (en) Virtual machine data communication method and system and virtual machine configuration method and device
CN102316043B (en) Port virtualization method, switch and communication system
CN106301859B (en) Method, device and system for managing network card
US20120131201A1 (en) Virtual Hot Inserting Functions in a Shared I/O Environment
CN105786732A (en) Data access method and apparatus
CN104170323A (en) Fault handling method, device and system based on network function virtualization
CN103677858A (en) Method, system and device for managing virtual machine software in cloud environment
CN103078965B (en) The IP address management method of virtual machine
CN103257941B (en) Multi-protocol storage controller and system
US20150113114A1 (en) Network interface adapter registration method, driver, and server
EP2667296A1 (en) Method and apparatus of data processing
CN104486234A (en) Method and server for uninstalling service exchanger to physical network card
CN104572243A (en) Method and system for sharing JAVA virtual machine
CN103516547A (en) Network parameter distribution method and device
USRE46770E1 (en) Computer managing method
CN104731635A (en) Virtual machine access control method and virtual machine access control system
EP3506575A1 (en) Method and device for data transmission
CN105739930A (en) Storage framework as well as initialization method, data storage method and data storage and management apparatus therefor
CN105718299A (en) Virtual machine configuration method, device and system
CN115080479B (en) Transmission method, server, device, bare metal instance and baseboard management controller

Legal Events

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