CN105786732B - Data access method and device - Google Patents

Data access method and device Download PDF

Info

Publication number
CN105786732B
CN105786732B CN201410834707.2A CN201410834707A CN105786732B CN 105786732 B CN105786732 B CN 105786732B CN 201410834707 A CN201410834707 A CN 201410834707A CN 105786732 B CN105786732 B CN 105786732B
Authority
CN
China
Prior art keywords
lun
host
information
storage equipment
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410834707.2A
Other languages
Chinese (zh)
Other versions
CN105786732A (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 CN201410834707.2A priority Critical patent/CN105786732B/en
Priority to CN201910040775.4A priority patent/CN109947676A/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

The embodiment of the present invention provides a kind of data access method and device.Data access method of the present invention, comprising: interface module obtains the logical unit number LUN distribution request that application module is sent, and the LUN distribution request is sent to the storage equipment;It is host assignment LUN that LUN distribution request, which is used to indicate storage equipment, and establishes the mark and the mapping relations of the host of LUN;The interface module receives the information of the mapping relations and the LUN that the storage equipment is sent;Wherein, the information of the LUN includes the mark of the LUN;The information of the LUN is used to indicate the host according to the information of the mapping relations and the LUN, accesses memory space corresponding with the mark of the LUN in the storage equipment.The embodiment of the present invention can be applied in large-scale cluster network, simplify the process of detecting host LUN, and be not required to change existing storage agreement, not influence IO performance.

Description

Data access method and device
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of data access methods and device.
Background technique
The mapping of the logical unit number (Logical Unit Number, abbreviation LUN) of host and storage equipment is that storage is matched One of key operation in setting, it is therefore an objective to the storage resource of an enterprise-level storage equipment is mounted on host, so that host It is able to use storage resource provided by enterprise-level storage equipment.After the LUN mapping to host for storing equipment, it is necessary to pass through host The scanning of side could be identified and be used by the operating system equipment of host.
After the LUN for storing equipment is mounted to host, host is a time-consuming job to the scanning of LUN.With cloud meter It calculates and the development of virtualization, host and the topological relation of storage equipment becomes to become increasingly complex.Carry number is generally required on host LUN in terms of hundred, in such a scenario, when there is new LUN to be mounted to host, lower layer's driver on host scans host Bus adapter (Host Bus Adapter, abbreviation HBA) needs to expend longer time, greatly to obtain the information of new LUN The working efficiency of whole system and cluster is affected in degree.
In order to reduce the time of host scanning LUN, simplifying host and store the mapping relations of the LUN in equipment, existing skill In art by the way of a kind of agency, i.e., between host and enterprise-level storage equipment, establish an agency.Agency belongs to enterprise The inner element of grade storage equipment, the LUN for storing equipment are associated with to agency, and in non-host, that is, establish agency and storage The mapping relations of LUN in equipment.Host can only see agency, and can't see the LUN of storage equipment, and host is to storage equipment It is first to be dealt into agency that LUN, which sends input/output (Input/Output, abbreviation IO) request, needs to be addressed to enterprise by agency Industry grade stores the LUN of equipment, and when the carry relationship of the LUN and agency that store equipment change, needs agent advertisement Host.
However, in the prior art since I/O Request is sent to agency, in mark (IDentity, the abbreviation of LUN The protocol-dependent part such as the discovery of parsing, LUN ID) and the in-band management of others LUN requires to do corresponding change. This change not only brings extra workload to storage equipment, but also also increases the complexity of I O process, affects IO Performance.
Summary of the invention
The embodiment of the present invention provides a kind of data access method and device, can be applied in large-scale cluster network, letter Change the process of detecting host LUN, and be not required to change existing storage agreement, does not influence IO performance.
In a first aspect, the embodiment of the present invention provides a kind of data access method, it is applied to storage system, the storage system Including host and storage equipment, the host includes application module and interface module, which comprises
The interface module obtains the logical unit number LUN distribution request that the application module is sent, and by the LUN points The storage equipment is sent to request;It is the host assignment that the LUN distribution request, which is used to indicate the storage equipment, LUN, and establish the mark and the mapping relations of the host of the LUN;
The interface module receives the information of the mapping relations and the LUN that the storage equipment is sent;Wherein, institute The information for stating LUN includes the mark of the LUN;The information of the LUN be used to indicate the host according to the mapping relations and The information of the LUN accesses memory space corresponding with the mark of the LUN in the storage equipment.
With reference to first aspect, in the first possible implementation of the first aspect, the LUN distribution request include with At least one of in lower information: storage size, memory space type, performance requirement, reliability requirement.
With reference to first aspect or the first possible implementation of first aspect, second in first aspect are possible Implementation in, the information of the LUN further include: the port information of host establishes the host and institute for the host State the data link between storage equipment, the interface module of the host is by the data link by the LUN distribution request It is sent to the storage equipment.
Second aspect, the embodiment of the present invention provide a kind of data access method, are applied to storage system, the storage system Including host and storage equipment, the storage equipment includes storage management interface module, which comprises
The storage management interface module receives the logical unit number LUN distribution request that the host is sent, according to described LUN distribution request is the host assignment LUN, and establishes the mark and the mapping relations of the host of the LUN;
The information of the mapping relations and the LUN is sent to the host by the storage management interface module, wherein The information of the LUN includes the mark of the LUN, and the information of the LUN is used to indicate the host according to the mapping relations With memory space corresponding with the mark of the LUN in storage equipment described in the message reference of the LUN.
In conjunction with second aspect, in the first possible implementation of the second aspect, the LUN distribution request include with At least one of in lower information: storage size, memory space type, performance requirement, reliability requirement.
In conjunction with the possible implementation of the first of second aspect or second aspect, second in second aspect may Implementation in, the information of the LUN further include: the port information of host establishes the host and institute for the host State storage equipment between data link, the storage equipment receive the host sent by the data link it is described LUN distribution request.
The third aspect, the embodiment of the present invention provide a kind of host, including application module and interface module;
Wherein, the application module is used for the interface module sending logic unit number LUN distribution request;It is described to connect Mouth mold block, the LUN distribution request sent for obtaining the application module, and the LUN distribution request is sent to and is deposited Store up equipment;It is the host assignment LUN that the LUN distribution request, which is used to indicate the storage equipment, and establishes the mark of the LUN Know the mapping relations with the host;
The interface module is also used to receive the information of the mapping relations and the LUN that the storage equipment is sent; Wherein, the information of the LUN includes the mark of the LUN;The information of the LUN is used to indicate the host according to the mapping The information of relationship and the LUN accesses memory space corresponding with the mark of the LUN in the storage equipment.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the LUN distribution request include with At least one of in lower information: storage size, memory space type, performance requirement, reliability requirement.
In conjunction with the possible implementation of the first of the third aspect or the third aspect, second in the third aspect may Implementation in, the information of the LUN further include: the port information of host establishes the host and institute for the host State the data link between storage equipment, the interface module of the host is by the data link by the LUN distribution request It is sent to the storage equipment.
Fourth aspect, the embodiment of the present invention provide a kind of storage equipment, comprising:
Storage management interface module, for the logical unit number LUN distribution request that receiving host is sent, according to the LUN Distribution request is the host assignment LUN, and establishes the mark and the mapping relations of the host of the LUN;
The storage management interface module is also used to the information of the mapping relations and the LUN being sent to the master Machine, wherein the information of the LUN includes the mark of the LUN, and the information of the LUN is used to indicate the host according to Memory space corresponding with the mark of the LUN in storage equipment described in the message reference of mapping relations and the LUN.
In conjunction with fourth aspect, in the first possible implementation of the fourth aspect, the LUN distribution request include with At least one of in lower information: storage size, memory space type, performance requirement, reliability requirement.
In conjunction with the possible implementation of the first of fourth aspect or fourth aspect, second in fourth aspect may Implementation in, the information of the LUN further include: the port information of host establishes the host and institute for the host State storage equipment between data link, the storage equipment receive the host sent by the data link it is described LUN distribution request.
Data access method of the embodiment of the present invention and device obtain the logic unit that application module is sent by interface module Number LUN distribution request, and the LUN distribution request is sent to the storage equipment;The LUN distribution request is used to indicate institute Stating storage equipment is the host assignment LUN, and establishes the mark and the mapping relations of the host of the LUN;The interface Module receives the information of the mapping relations and the LUN that the storage equipment is sent;Wherein, the information of the LUN includes The mark of the LUN;The information of the LUN is used to indicate the host according to the information of the mapping relations and the LUN, visits It asks memory space corresponding with the mark of the LUN in the storage equipment, can be applied in large-scale cluster network, move State distributes storage resource, and host does not need scanning LUN, simplifies the process of detecting host LUN, and is not required to change existing storage association View, does not influence IO performance.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these 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 schematic diagram of host embodiments one of the present invention;
Fig. 7 is the structural schematic diagram of present invention storage apparatus embodiments one;
Fig. 8 is the structural schematic diagram of host embodiments two of the present invention;
Fig. 9 is the structural schematic diagram of present invention storage apparatus embodiments two.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the system architecture diagram one of data access method embodiment of the present invention, and the embodiment of the present invention is applied to storage system In system, as shown in Figure 1, the storage system includes host and storage equipment, it may also include cluster management center, deposited in Fig. 1 Storage system includes host 210, host 220, host 230, by respective host bus adaptor (Host Bus Adapter, Abbreviation HBA) it is connected to enterprise-level storage equipment 240, cluster management center 250 being capable of managing main frame.
Fig. 2 is the flow chart of data access method embodiment one of the present invention, and Fig. 3 is data access method embodiment of the present invention System architecture diagram two, Fig. 4 be data access method embodiment of the present invention system architecture diagram three.As shown in Fig. 2, the present embodiment Method, be applied to storage system, the storage system include host and storage equipment, host includes application module and interface mould Block, which comprises
Step 201, the interface module obtain the logical unit number LUN distribution request that the application module is sent, and will The LUN distribution request is sent to the storage equipment;It is the master that the LUN distribution request, which is used to indicate the storage equipment, Machine distributes LUN, and establishes the mark and the mapping relations of the host of the LUN.
Step 202, the interface module receive the letter of the mapping relations and the LUN that the storage equipment is sent Breath;Wherein, the information of the LUN includes the mark of the LUN;The information of the LUN is used to indicate the host according to The information of mapping relations and the LUN accesses memory space corresponding with the mark of the LUN in the storage equipment.
Specifically, as shown in Figure 1 and Figure 2, the mapping that host passes through interface module managing main frame and the LUN for storing equipment The driving layer of relationship, host does not need to be scanned HBA, but by interface module by the information of LUN, such as the mark of LUN Deng passing to the application program in application module.The application program run on each host can be by the information of LUN to depositing The corresponding memory space of mark of LUN accesses in storage equipment.
Optionally, the LUN distribution request includes at least one in following information: storage size, memory space Type, performance requirement, reliability requirement.
Above-mentioned LUN distribution request is mainly to include from the space that the application program angle of application module is sent distribution order Storage size, memory space type (such as simplify configuration, completely configuration), performance requirement, reliability requirement.Need basis The concrete specification of equipment is stored to determine specifically comprising which content.
LUN distribution request needs to be converted into the identifiable management request of storage equipment, the pipe when being sent to storage equipment Reason request is the angle storage configuration order to understand and administration order from storage equipment.Enterprise-level stores equipment can be The programmable management interface for providing and being accessed inside equipment by external application, storage management interface as shown in Figure 3 are provided Module.Data center administrator can write application program flexible configuration and management storage equipment according to interface specification.
As shown in figure 3, the application program of the application module in host 210 will use the memory space in storage equipment 240, LUN distribution request is then sent to interface module, interface module asks the management that the LUN distribution request is converted into storage equipment It asks, is sent to the storage equipment 240, storage equipment 240 distributes the LUN distribution request corresponding LUN, such as LUN 1, and builds The mapping relations of vertical LUN 1 and host 210, and the information of the mapping relations and LUN 1 is returned into interface module.Interface mould The information for the LUN 1 that block will acquire, and application module is returned to, the application program of application module uses the information pair of LUN 1 The corresponding memory space of the LUN 1 accesses.
Optionally, as shown in figure 4, the interface module includes using adaptation unit 300 and storage adaptation unit 310, institute It states interface module and obtains logical unit number LUN distribution request, comprising:
The application adaptation unit obtains the LUN distribution request, and the LUN distribution request is transmitted to the storage Adaptation unit;
It is described that the LUN distribution request is sent to the storage equipment, comprising:
The storage adaptation unit requests the management that the LUN distribution request is converted into storage equipment, is sent to described Store equipment;
The interface unit receives the information of the mapping relations and the LUN that the storage equipment is sent, comprising:
The storage adaptation unit receives the information of the mapping relations and the LUN, and by the mapping relations and institute The information for stating LUN is sent to described using adaptation unit, is sent to application module by the application adaptation unit.
Specifically, as shown in figure 4, the application program of the application module in host 210 will use in storage equipment 240 Memory space then sends LUN distribution request and gives interface module application adaptation unit, asks LUN distribution using adaptation unit It asks and is transmitted to storage adaptation unit, storage adaptation unit requests the management that the LUN distribution request is converted into storage equipment, hair Give the storage equipment 240, storage equipment 240 distributes the LUN distribution request corresponding LUN, such as LUN 1, and establishes The mapping relations of LUN1 and host 210, and the storage that the information of the mapping relations and LUN 1 returns to interface module is adapted to Unit, and be transmitted to using adaptation unit.The information for the LUN1 that will acquire using adaptation unit returns to answering for application module It is accessed using the information of LUN 1 to the corresponding memory space of the LUN 1 with the application program of program, application module.
Optionally, the information of the LUN further include: the port information of host, for the host establish the host with The interface module of data link between the storage equipment, the host is asked LUN distribution by the data link It asks and is sent to the storage equipment.
Specifically, the port information of host establishes the data-link between the host and the storage for the host Road.Host computer side needs to configure the LUN on correct host port, could send IO and ask after getting the information of LUN It asks.
The present embodiment obtains the logical unit number LUN distribution request that application module is sent by interface module, and will be described LUN distribution request is sent to the storage equipment;The LUN distribution request is used to indicate the storage equipment as the host point With LUN, and establish the mark and the mapping relations of the host of the LUN;The interface module receives the storage equipment hair The information of the mapping relations and the LUN sent;Wherein, the information of the LUN includes the mark of the LUN;The LUN's Information is used to indicate the host according to the information of the mapping relations and the LUN, access in the storage equipment with it is described The corresponding memory space of the mark of LUN, can be applied in large-scale cluster network, dynamically distribute storage resource, host is not It needs to scan LUN, simplifies the process of detecting host LUN, and be not required to change existing storage agreement, do not influence IO performance.
Fig. 5 is the flow chart of data access method embodiment two of the present invention.As shown in figure 5, the method for the present embodiment, application In storage system, the storage system includes host and storage equipment, and the storage equipment includes storage management interface module, institute The method of stating includes:
Step 501, the storage management interface module receive the logical unit number LUN distribution request that the host is sent, It is the host assignment LUN according to the LUN distribution request, and establishes the mark and the mapping relations of the host of the LUN.
The information of the mapping relations and the LUN is sent to the master by step 502, the storage management interface module Machine, wherein the information of the LUN includes the mark of the LUN, and the information of the LUN is used to indicate the host according to Memory space corresponding with the mark of the LUN in storage equipment described in the message reference of LUN described in mapping relations.
Specifically, as shown in figure 3, the application program of the application module in host 210 will use in storage equipment 240 Memory space then sends LUN distribution request to the interface module of host, and the interface module of host turns the LUN distribution request The management request for changing storage equipment into is sent to the storage management interface module of the storage equipment 240, storage equipment 240 The corresponding LUN of LUN distribution request described in storage management interface module assignment such as LUN 1, and establishes reflecting for LUN 1 and host 210 Relationship is penetrated, and the information of the mapping relations and LUN 1 is returned to the interface module of host.The interface module of host will acquire The information of the LUN 1 arrived, and the application program of application module is returned to, the application program of application module uses the information of LUN 1 It accesses to the corresponding memory space of the LUN 1.
Optionally, the LUN distribution request includes at least one in following information: storage size, memory space Type, performance requirement, reliability requirement.
Above-mentioned LUN distribution request is mainly to include from the space that the application program angle of application module is sent distribution order Storage size, memory space type (such as simplify configuration, completely configuration), performance requirement, reliability requirement.Need basis The concrete specification of equipment is stored to determine specifically comprising which content.
LUN distribution request needs to be converted into the identifiable management request of storage equipment, the pipe when being sent to storage equipment Reason request is the angle storage configuration order to understand and administration order from storage equipment.Enterprise-level stores equipment can be The programmable management interface for providing and being accessed inside equipment by external application, storage management interface as shown in Figure 3 are provided Module.Data center administrator can write application program flexible configuration and management storage equipment according to interface specification.
Optionally, the information of the LUN further include: the port information of host, for the host establish the host with Data link between the storage equipment, the storage equipment receive the host sent by the data link it is described LUN distribution request.
The present embodiment receives the logical unit number LUN distribution request that the host is sent by storage management interface module, It is the host assignment LUN according to the LUN distribution request, and establishes the mark and the mapping relations of the host of the LUN; The information of the mapping relations and the LUN is sent to the host by the storage management interface module, wherein the LUN Information include the LUN mark, the information of the LUN is used to indicate the host according to mapping relations and described Memory space corresponding with the mark of the LUN in storage equipment described in the message reference of LUN, can be applied to collect on a large scale In group network, storage resource is dynamically distributed, host does not need scanning LUN, simplifies the process of detecting host LUN, and be not required to more Change existing storage agreement, does not influence IO performance.
Fig. 6 is the structural schematic diagram of host embodiments one of the present invention.As shown in fig. 6, the host of the present embodiment, including application Module 601 and interface module 602;
Wherein, the application module 601 is used for the 602 sending logic unit number LUN distribution request of interface module; The interface module 602, the LUN distribution request sent for obtaining the application module 601, and the LUN is distributed Request is sent to storage equipment;It is the host assignment LUN that the LUN distribution request, which is used to indicate the storage equipment, and is built Found the mark and the mapping relations of the host of the LUN;
The interface module 602 is also used to receive the letter of the mapping relations and the LUN that the storage equipment is sent Breath;Wherein, the information of the LUN includes the mark of the LUN;The information of the LUN is used to indicate the host according to The information of mapping relations and the LUN accesses memory space corresponding with the mark of the LUN in the storage equipment.
Optionally, the interface module 602 includes using adaptation unit and storage adaptation unit, and the application adaptation is single Member is transmitted to the storage adaptation unit for obtaining the LUN distribution request, and by the LUN distribution request;
The storage adaptation unit, the management for the LUN distribution request to be converted into storage equipment are requested, are sent to The storage equipment;
The storage adaptation unit is also used to receive the information of the mapping relations and the LUN, and the mapping is closed The information of system and the LUN are sent to described using adaptation unit, are sent to application module by the application adaptation unit.
Optionally, the LUN distribution request includes at least one in following information: storage size, memory space Type, performance requirement, reliability requirement.
Optionally, the information of the LUN further include: the port information of host, for the host establish the host with The interface module of data link between the storage equipment, the host is asked LUN distribution by the data link It asks and is sent to the storage equipment.
The host of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 2, realization principle and skill Art effect is similar, and details are not described herein again.
Fig. 7 is the structural schematic diagram of present invention storage apparatus embodiments one.As shown in fig. 7, the storage equipment of the present embodiment, Include:
Storage management interface module 701, for the logical unit number LUN distribution request that receiving host is sent, according to described LUN distribution request is the host assignment LUN, and establishes the mark and the mapping relations of the host of the LUN;
The storage management interface module 701 is also used to for the information of the mapping relations and the LUN being sent to described Host, wherein the information of the LUN includes the mark of the LUN, and the information of the LUN is used to indicate the host according to institute State memory space corresponding with the mark of the LUN in storage equipment described in the message reference of mapping relations and the LUN.
Optionally, the LUN distribution request includes at least one in following information: storage size, memory space Type, performance requirement, reliability requirement.
Optionally, the information of the LUN further include: the port information of host, for the host establish the host with Data link between the storage equipment, the storage equipment receive the host sent by the data link it is described LUN distribution request.
The storage equipment of the present embodiment, can be used for executing the technical solution of embodiment of the method shown in Fig. 5, realization principle Similar with technical effect, details are not described herein again.
Fig. 8 is the structural schematic diagram of host embodiments two of the present invention.As shown in figure 8, the host of the present embodiment, including communication Interface 801, processor 802 and memory 803;The processor is connect with the communication interface and the memory respectively;Institute Memory is stated, for storing data or information;
Wherein, the communication interface 801, the LUN distribution request sent for obtaining the processor 802, and will The LUN distribution request is sent to storage equipment;The LUN distribution request is used to indicate the storage equipment as the host point With LUN, and establish the mark and the mapping relations of the host of the LUN;
The communication interface 801 is also used to receive the letter of the mapping relations and the LUN that the storage equipment is sent Breath;Wherein, the information of the LUN includes the mark of the LUN;The information of the LUN is used to indicate the host according to The information of mapping relations and the LUN accesses memory space corresponding with the mark of the LUN in the storage equipment.
Optionally, the LUN distribution request includes at least one in following information: storage size, memory space Type, performance requirement, reliability requirement.
Optionally, the information of the LUN further include: the port information of host establishes the host for the processor With the data link between the storage equipment, the communication interface of the host is distributed the LUN by the data link Request is sent to the storage equipment.
The host of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 2, realization principle and skill Art effect is similar, and details are not described herein again.
Fig. 9 is the structural schematic diagram of present invention storage apparatus embodiments two.As shown in figure 9, the storage equipment of the present embodiment, It include: communication interface 901, processor 902 and memory 903;The processor 902 respectively with the communication interface 901 and institute State the connection of memory 903;The memory 903, for storing data or information;
The communication interface 901, for the logical unit number LUN distribution request that receiving host is sent, the processor 902, for being the host assignment LUN according to the LUN distribution request, and establish identifying and the host for the LUN Mapping relations;
The communication interface 901 is also used to the information of the mapping relations and the LUN being sent to the host, In, the information of the LUN includes the mark of the LUN, and the information of the LUN is used to indicate the host and is closed according to the mapping Memory space corresponding with the mark of the LUN in storage equipment described in the message reference of system and the LUN.
Optionally, the LUN distribution request includes at least one in following information: storage size, memory space Type, performance requirement, reliability requirement.
Optionally, the information of the LUN further include: the port information of host, for the host establish the host with Data link between the storage equipment, the storage equipment receive the host sent by the data link it is described LUN distribution request.
The storage equipment of the present embodiment, can be used for executing the technical solution of embodiment of the method shown in Fig. 5, realization principle Similar with technical effect, details are not described herein again.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, apparatus embodiments described above are merely indicative, for example, the unit or module It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or module It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of equipment or module It closes or communicates to connect, can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. a kind of data access method is applied to storage system, the storage system includes host and storage equipment, and feature exists In the host includes application module and interface module, which comprises
The interface module obtains the logical unit number LUN distribution request that the application module is sent, and LUN distribution is asked It asks and is sent to the storage equipment;It is the host assignment LUN that the LUN distribution request, which is used to indicate the storage equipment, and Establish the mark and the mapping relations of the host of the LUN;
The interface module receives the information of the mapping relations and the LUN that the storage equipment is sent;Wherein, described The information of LUN includes the mark of the LUN;The information of the LUN is used to indicate the host according to the mapping relations and institute The information of LUN is stated, memory space corresponding with the mark of the LUN in the storage equipment is accessed.
2. the method according to claim 1, wherein the LUN distribution request include in following information at least One: storage size, memory space type, performance requirement, reliability requirement.
3. method according to claim 1 or 2, which is characterized in that the information of the LUN further include: believe the port of host Breath establishes the data link between the host and the storage equipment for the host, and the interface module of the host is logical It crosses the data link and the LUN distribution request is sent to the storage equipment.
4. a kind of data access method is applied to storage system, the storage system includes host and storage equipment, and feature exists In the storage equipment includes storage management interface module, which comprises
The storage management interface module receives the logical unit number LUN distribution request that the host is sent, according to the LUN points It is the host assignment LUN with request, and establishes the mark and the mapping relations of the host of the LUN;
The information of the mapping relations and the LUN is sent to the host by the storage management interface module, wherein described The information of LUN includes the mark of the LUN, and the information of the LUN is used to indicate the host according to the mapping relations and institute State memory space corresponding with the mark of the LUN in storage equipment described in the message reference of LUN.
5. according to the method described in claim 4, it is characterized in that, the LUN distribution request include in following information at least One: storage size, memory space type, performance requirement, reliability requirement.
6. method according to claim 4 or 5, which is characterized in that the information of the LUN further include: believe the port of host Breath establishes the data link between the host and the storage equipment for the host, described in storage equipment reception The LUN distribution request that host is sent by the data link.
7. a kind of host, which is characterized in that including application module and interface module;
Wherein, the application module is used for the interface module sending logic unit number LUN distribution request;The interface mould Block, the LUN distribution request sent for obtaining the application module, and the LUN distribution request is sent to storage and is set It is standby;It is the host assignment LUN that the LUN distribution request, which is used to indicate the storage equipment, and establish the mark of the LUN with The mapping relations of the host;
The interface module is also used to receive the information of the mapping relations and the LUN that the storage equipment is sent;Its In, the information of the LUN includes the mark of the LUN;The information of the LUN is used to indicate the host and is closed according to the mapping The information of system and the LUN accesses memory space corresponding with the mark of the LUN in the storage equipment.
8. host according to claim 7, which is characterized in that the LUN distribution request include in following information at least One: storage size, memory space type, performance requirement, reliability requirement.
9. host according to claim 7 or 8, which is characterized in that the information of the LUN further include: believe the port of host Breath establishes the data link between the host and the storage equipment for the host, and the interface module of the host is logical It crosses the data link and the LUN distribution request is sent to the storage equipment.
10. a kind of storage equipment characterized by comprising
Storage management interface module is distributed for the logical unit number LUN distribution request that receiving host is sent according to the LUN Request is the host assignment LUN, and establishes the mark and the mapping relations of the host of the LUN;
The storage management interface module is also used to the information of the mapping relations and the LUN being sent to the host, In, the information of the LUN includes the mark of the LUN, and the information of the LUN is used to indicate the host and is closed according to the mapping Memory space corresponding with the mark of the LUN in storage equipment described in the message reference of system and the LUN.
11. storage equipment according to claim 10, which is characterized in that the LUN distribution request includes in following information At least one of: storage size, memory space type, performance requirement, reliability requirement.
12. storage equipment described in 0 or 11 according to claim 1, which is characterized in that the information of the LUN further include: host Port information establishes the data link between the host and the storage equipment for the host, and the storage equipment connects Receive the LUN distribution request that the host is sent by the 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
CN201410834707.2A CN105786732B (en) 2014-12-26 2014-12-26 Data access method and device
CN201910040775.4A CN109947676A (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 CN105786732A (en) 2016-07-20
CN105786732B true 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)

Families Citing this family (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
CN107506283B (en) * 2017-08-25 2021-06-29 郑州云海信息技术有限公司 Method and system for host to push information to SAN storage
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
US10732903B2 (en) * 2018-04-27 2020-08-04 Hewlett Packard Enterprise Development Lp Storage controller sub-LUN ownership mapping and alignment

Citations (5)

* 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
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
CN103902225A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Method and system for centralized management of storage resources

Family Cites Families (7)

* 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
JP5020601B2 (en) * 2006-11-10 2012-09-05 株式会社日立製作所 Access environment construction system and method
US7624262B2 (en) * 2006-12-20 2009-11-24 International Business Machines Corporation Apparatus, system, and method for booting using an external disk through a virtual SCSI connection
CN101459679A (en) * 2007-12-12 2009-06-17 华为技术有限公司 Network storage device and data read-write control method
CN101471830B (en) * 2007-12-25 2011-02-02 英业达股份有限公司 Method for accessing remote logic equipment through multiple routes in Linux system
CN103838515B (en) * 2012-11-23 2016-08-03 中国科学院声学研究所 A kind of method and system of server cluster access scheduling multi-controller disk array
CN103970486A (en) * 2014-05-22 2014-08-06 浪潮(北京)电子信息产业有限公司 Method and system for data storage

Patent Citations (5)

* 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
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
CN103902225A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Method and system for centralized management of storage resources

Also Published As

Publication number Publication date
WO2016101856A1 (en) 2016-06-30
CN105786732A (en) 2016-07-20
CN109947676A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
US20200278880A1 (en) Method, apparatus, and system for accessing storage device
CN106489251B (en) The methods, devices and systems of applied topology relationship discovery
CN105786732B (en) Data access method and device
CN105993009B (en) The method and apparatus that MSI-X is interrupted are transmitted by computing resource of the non-transparent bridge into PCIe cluster
US9063793B2 (en) Virtual server and virtual machine management method for supporting zero client by providing host interfaces from classified resource pools through emulation or direct connection modes
US7921185B2 (en) System and method for managing switch and information handling system SAS protocol communication
US8244924B2 (en) Discovery and configuration of device configurations
US20180189109A1 (en) Management system and management method for computer system
KR102361929B1 (en) Capacity Management in Provider Networks Using Dynamic Host Device Instance Model Reconfiguration
KR102144330B1 (en) Encapsulation Enabled PCIE Virtualisation
US8566416B2 (en) Method and system for accessing storage device
CN107924289A (en) Computer system and access control method
CN110196729A (en) Application program update method, equipment and device and storage medium
US10496294B2 (en) Data migration method and computer system
CN105874442A (en) Computer system and method for accessing endpoint device in the computer system
CN102346707A (en) Server system and operation method thereof
CN103455363A (en) Command processing method, device and physical host of virtual machine
CN103207801B (en) The methods, devices and systems of virtual machine (vm) migration and fibre channel media
US20150095530A1 (en) Dynamic port naming in a chassis
CN114650223A (en) Network configuration method and device of Kubernetes cluster and electronic equipment
CN110389711A (en) Endpoint device is helped to realize method, equipment and the computer program product of SR-IOV function
WO2019050845A1 (en) Networked storage architecture
CN108351802B (en) Computer data processing system and method for communication traffic based optimization of virtual machine communication
CN109561127A (en) Method, equipment and the computer-readable medium synchronous for the data in software defined network
CN104104594B (en) VSU protocol massages are sent and method of reseptance, equipment and system

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