CN104994135B - The method and device of SAN and NAS storage architectures is merged in storage system - Google Patents
The method and device of SAN and NAS storage architectures is merged in storage system Download PDFInfo
- Publication number
- CN104994135B CN104994135B CN201510270920.XA CN201510270920A CN104994135B CN 104994135 B CN104994135 B CN 104994135B CN 201510270920 A CN201510270920 A CN 201510270920A CN 104994135 B CN104994135 B CN 104994135B
- Authority
- CN
- China
- Prior art keywords
- data
- address
- logical address
- written
- physical
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
Abstract
The embodiment of the present invention provides the method and device that SAN and NAS storage architectures are merged in a kind of storage system.A kind of method that SAN and NAS storage architectures are merged in storage system, including:Receive the first data write request sent using the connected network host of the physical connection mode of SAN;The first data write request includes the first data to be written and corresponding first logical address of first data to be written;According to the correspondence of first logical address and physical address, physical address corresponding with first logical address is determined;According to the corresponding physical address of first logical address, the described first data to be written are stored.The present invention solves the problems, such as that the storage efficiency of SAN storage architectures in storage system in the prior art is relatively low.
Description
Technical field
The present embodiments relate to SAN and NAS storage architectures are merged in memory technology more particularly to a kind of storage system
Method and device.
Background technology
Currently, by network attached storage (NAS:Network Attached Storage) and storage area network
(SAN:Storage Area Network) two kinds of storage architectures combine together.Storage system same in this way can realize base
The NAS storage architectures of file-sharing between the SAN storage architectures and more network hosts of high speed data transfer.
In the prior art, it for the storage system of fusion two kinds of storage architectures of SAN and NAS, is adopted when storage system receives
(write request includes data to be written to the data write request sent with the connected network host of the physical connection mode of NAS or SAN
And the corresponding logical address of the data to be written) when:Storage system is the corresponding logical address distribution of the data to be written first
Corresponding physical address;Then other logical addresses whether are assigned to before determining distributed physical address, if so,
The corresponding space of the physical address is discharged;The data to be written finally store to data to be written are corresponding patrols to this again
It collects in the physical address corresponding to address.
But need allocated physical address and to physical address when being stored under SAN storage architectures in the prior art
The processing that corresponding space is discharged;Therefore the relatively low problem of the storage efficiency of SAN storage architectures within the storage system is deposited.
Invention content
The embodiment of the present invention provides the method and device that SAN and NAS storage architectures are merged in a kind of storage system, to solve
The relatively low problem of the storage efficiency of SAN storage architectures in storage system certainly existing in the prior art.
In a first aspect, the present invention provides a kind of method for merging SAN and NAS storage architectures in storage system, the storage
System is used to provide service to network host, the method includes:
Receive the first data write request sent using the connected network host of the physical connection mode of SAN;Described first
Data write request includes the first data to be written and corresponding first logical address of first data to be written;
According to the correspondence of first logical address and physical address, determination is corresponding with first logical address
Physical address;
According to the corresponding physical address of first logical address, the described first data to be written are stored.
With reference to first aspect, described according to first logic in the first mode in the cards of first aspect
The corresponding physical address in address further includes after being stored to the described first data to be written:
Receive the second data write request sent using the connected network host of the physical connection mode of NAS;Described second
Data write request includes the second data to be written and corresponding second logical address of second data to be written;
Corresponding physical address is distributed for second logical address;
According to the physical address distributed for second logical address, the described second data to be written are stored.
With reference to first aspect the first mode in the cards, in second of mode in the cards of first aspect
In, the basis is the physical address of second logical address distribution, before being stored to the described second data to be written,
Further include:
It is judged as whether the physical address of the second logical address distribution is assigned to other logical addresses;
If so, to the space corresponding to the physical address that is distributed for second logical address carry out release and then
It executes according to the physical address for being second logical address distribution, the step of storage to the described second data to be written;
Otherwise, it directly executes according to the physical address for being second logical address distribution, to the described second number to be written
According to the step of being stored.
Second aspect, the present invention provide a kind of method that SAN and NAS storage architectures are merged in storage system, the storage
System is used to provide service to network host, the method includes:
Data write request is received, the data write request includes data to be written and the corresponding logic of the data to be written
Address;
Determine the data write request be sent by the connected network host of the physical connection mode using SAN or by
It is sent using the connected network host of the physical connection mode of NAS;
If the data write request is when being sent by the connected network host of the physical connection mode using SAN, basis
The correspondence of the logical address and physical address determines physical address corresponding with the logical address, and according to described
The corresponding physical address of logical address stores the data to be written;
If the data write request is when being sent by the connected network host of the physical connection mode using NAS, for institute
It states logical address and distributes corresponding physical address, and according to the physical address distributed for the logical address, to described to be written
Data are stored.
In conjunction with second aspect, in the first mode in the cards of second aspect, the basis be it is described logically
Location distribution physical address further include before being stored to the data to be written:
It is judged as whether the physical address of the logical address distribution is assigned to other logical addresses;
If so, the space corresponding to the physical address that is distributed for the logical address is discharged and then is executed
According to the physical address distributed for the logical address, the step of storage to the data to be written;
Otherwise, it directly executes according to the physical address for being logical address distribution, the data to be written is deposited
The step of storage.
The third aspect, the present invention provide the device that SAN and NAS storage architectures are merged in a kind of storage system, the storage
System is used to provide service to network host, and described device is storage system, and described device includes:
SAN modules, the first data for receiving the network host transmission for using the physical connection mode of SAN connected, which are write, asks
It asks;The first data write request include the first data to be written and first data corresponding first to be written logically
Location;
Copy on write COW modules, for the correspondence according to first logical address and physical address, determining and institute
State the corresponding physical address of the first logical address;
Writing module is used for according to the corresponding physical address of first logical address, to the described first data to be written
It is stored.
In conjunction with the third aspect, in the first mode in the cards of the third aspect, described device further includes:
NAS modules, the second data for receiving the network host transmission for using the physical connection mode of NAS connected, which are write, asks
It asks;The second data write request include the second data to be written and second data corresponding second to be written logically
Location;
Redirection writes ROW modules, for distributing corresponding physical address for second logical address;
Said write module is additionally operable to, according to the physical address for being second logical address distribution, wait for described second
Write-in data are stored.
In conjunction with the first mode in the cards of the third aspect, in second of mode in the cards of the third aspect
In, the ROW modules are additionally operable to:
It is judged as whether the physical address of the second logical address distribution is assigned to other logical addresses;
If so, being discharged to the space corresponding to the physical address that is distributed for second logical address.
Fourth aspect, the present invention provide it is a kind of fusion SAN and NAS storage architectures device, the storage system be used for
Network host provides service, and described device includes:
Receiving module, for receiving data write request, the data write request includes data to be written and described to be written
The corresponding logical address of data;
Processing module, for determining that the data write request is by the connected network master of the physical connection mode using SAN
It is that machine is sent or by the connected network host transmission of the physical connection mode using NAS;If the data write request be by
It is when being sent using the connected network host of the physical connection mode of SAN, then corresponding with physical address according to the logical address
Relationship determines physical address corresponding with the logical address, and according to the corresponding physical address of the logical address, to described
Data to be written are stored;If the data write request is by the connected network host hair of the physical connection mode using NAS
When sending, then corresponding physical address is distributed for the logical address, and according to the physical address distributed for the logical address, it is right
The data to be written are stored.
In conjunction with fourth aspect, in the first mode in the cards of fourth aspect, the processing module is additionally operable to:
It is judged as whether the physical address of the logical address distribution is assigned to other logical addresses;
If so, being discharged to the space corresponding to the physical address that is distributed for the logical address.
5th aspect, the present invention provide the device that SAN and NAS storage architectures are merged in a kind of storage system, the storage
System is used to provide service to network host, and described device includes:
Communication interface is write for receiving the first data that the network host for using the physical connection mode of SAN connected is sent
Request;The first data write request include the first data to be written and first data corresponding first to be written logically
Location;
Processor, for the correspondence according to first logical address and physical address, determination is patrolled with described first
The corresponding physical address in address is collected, and according to the corresponding physical address of first logical address, to the described first number to be written
According to being stored.
In conjunction with the 5th aspect, in the first mode in the cards of the 5th aspect, the communication interface is additionally operable to:
Receive the second data write request sent using the connected network host of the physical connection mode of NAS;Described second
Data write request includes the second data to be written and corresponding second logical address of second data to be written;
The processor is additionally operable to:
Corresponding physical address is distributed for second logical address, and according to the object distributed for second logical address
Address is managed, the described second data to be written are stored.
In conjunction with the first mode in the cards of the 5th aspect, in second of mode in the cards of the 5th aspect
In, the processor is additionally operable to:
It is judged as whether the physical address of the second logical address distribution is assigned to other logical addresses;
If so, being discharged to the space corresponding to the physical address that is distributed for second logical address.
6th aspect, the present invention provide the device that SAN and NAS storage architectures are merged in a kind of storage system, the storage
System is used to provide service to network host, and described device includes:
Communication interface is connected with network by the physical connection mode of SAN and the physical connection mode of NAS, is used for
Data write request is received, the data write request includes data to be written and the corresponding logical address of the data to be written;Place
Manage device, for determine the data write request be sent by the connected network host of the physical connection mode using SAN or
It is sent by the connected network host of the physical connection mode using NAS;If the data write request is by the physics using SAN
When the connected network host of connection type is sent, then according to the correspondence of the logical address and physical address, determining and institute
State the corresponding physical address of logical address, and according to the corresponding physical address of the logical address, to the data to be written into
Row storage;If the data write request is to be described when being sent by the connected network host of the physical connection mode using NAS
Logical address distributes corresponding physical address, and according to the physical address distributed for the logical address, to the number to be written
According to being stored.
In conjunction with the 6th aspect, in the first mode in the cards of the 6th aspect, the processor is additionally operable to:
It is judged as whether the physical address of the logical address distribution is assigned to other logical addresses;
If so, being discharged to the space corresponding to the physical address that is distributed for the logical address.
The present invention provides the method and device that SAN and NAS storage architectures are merged in a kind of storage system, by according to
The correspondence of first logical address and physical address determines physical address corresponding with first logical address;So that pair
It is mainly the SAN storage architectures of the data write request of " covering is write " mode in data write request, storage system is receiving use
When the first data write request that the connected network host of the physical connection mode of SAN is sent, storage system can be directly by the
The correspondence of one logical address and physical address determines physical address corresponding with the first logical address;It avoids and is receiving
To when the first data write request corresponding physical address, and the object to being distributed for the first logical address are distributed for the first logical address
The processing that the corresponding space in reason address is discharged;Improve the storage efficiency of SAN storage architectures.
Description of the drawings
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 technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Some bright embodiments for those of ordinary skill in the art without having to pay creative labor, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is the application scenarios schematic diagram of the method for fusion SAN and NAS storage architectures in storage system of the present invention;
Fig. 2A is the structural schematic diagram one of storage system of the present invention;
Fig. 2 B are the structural schematic diagram two of storage system of the present invention;
Fig. 3 is the flow chart of the embodiment of the method one of fusion SAN and NAS storage architectures in storage system of the present invention;
Fig. 4 is the flow chart of the embodiment of the method two of fusion SAN and NAS storage architectures in storage system of the present invention;
Fig. 5 is the flow chart of the embodiment of the method three of fusion SAN and NAS storage architectures in storage system of the present invention;
Fig. 6 is the structural schematic diagram of the device embodiment one of fusion SAN and NAS storage architectures in storage system of the present invention;
Fig. 7 is the structural schematic diagram of the device embodiment two of fusion SAN and NAS storage architectures in storage system of the present invention;
Fig. 8 is the structural schematic diagram of the device embodiment three of fusion SAN and NAS storage architectures in storage system of the present invention;
Fig. 9 is the structural schematic diagram of the device embodiment four of fusion SAN and NAS storage architectures in storage system of the present invention.
Specific implementation mode
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
The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the application scenarios schematic diagram of the method for fusion SAN and NAS storage architectures in storage system of the present invention;Such as Fig. 1
It is shown, between storage system and network host 1, it is connected using the physical connection mode of NAS storage architectures;Storage system and network
Between host 2, it is connected using the physical connection mode of SAN storage architectures.In this way, same storage system can be realized based on height
The NAS storage architectures of file-sharing between the SAN storage architectures and multiple host of fast data transmission.In SAN storage architectures
In, Internet protocol (IP, Internet Protocol) network or optical fiber can be passed through between network host 2 and storage system
Channel (FC, Fibre Channel) network interconnection, and it is based on internet small computer interface (iSCSI, internet
SCSI) agreement or FC protocol interactions;In NAS frameworks, it is connected by IP network between network host 1 and storage system, and base
In public the Internet system (CIFS, Common Internet File System) agreement or Network File System (NFS,
Network File System) agreement interacts.
When storage system receives the data write request that network host 1 or network host 2 are sent, (write request includes to be written
Enter data and the corresponding logical address of the data to be written) when, processing mode that storage system uses all for:It is that this is to be written first
Enter the corresponding logical address of data and distributes corresponding physical address;Then whether it is assigned before determining distributed physical address
To other logical addresses, if so, being discharged to the corresponding space of the physical address;Finally the data to be written are deposited again
It stores up into the physical address corresponding to the corresponding logical address of the data to be written.But it uses above-mentioned first for logical address point
With corresponding physical address, then under the premise of determining that the space corresponding to the physical address has discharged, to data to be written into
The processing mode of row storage, has that SAN storage architecture storage efficiencies are relatively low.
Fig. 2A is the structural schematic diagram one of storage system of the present invention, and as shown in Figure 2 A, storage system includes:IP interfaces are deposited
Store up processor (storage processor), list type SCSI (SAS interfaces, Serial Attached SCSI) and hard disk.Its
In, IP interfaces are connected by the physical connection mode of SAN and the physical connection mode of NAS with network, for receiving data
Write request;Hard disk is for storing data;Storage processor is used to pass through SAS interfaces according to the data write request that IP interfaces arrive
Data are written to hard disk.
Fig. 2 B are the structural schematic diagram two of storage system of the present invention, and as shown in Figure 2 B, storage system includes:IP interfaces, FC
Interface, storage processor, list type SCSI and hard disk.Wherein, IP interfaces are connected by the physical connection mode of NAS with network
It connects, for receiving data write request;FC interfaces, for being connected with network by the physical connection mode of SAN, for receiving number
According to write request;Hard disk is for storing data;The data write request that storage processor is used to be arrived according to IP interfaces and FC interfaces
Data are written to hard disk by SAS interfaces.
It should be noted that the hard disk in Fig. 2A and Fig. 2 B is used as storage unit, for storing data;Fig. 2A and Fig. 2 B
In hard disk can also replace with other storage devices;Its corresponding interface between storage processor should also occur corresponding
Change.
Fig. 3 is the flow chart of the embodiment of the method one of fusion SAN and NAS storage architectures in storage system of the present invention, such as Fig. 3
Shown, the method for the present embodiment may include:
Step 301, storage system receive the first data sent using the connected network host of the physical connection mode of SAN
Write request;The first data write request includes the first data to be written and corresponding first logic of first data to be written
Address;
Step 302, the storage system are according to the correspondence of first logical address and physical address, determining and institute
State the corresponding physical address of the first logical address;
Step 303, the storage system are to be written to described first according to the corresponding physical address of first logical address
Enter data to be stored.
It should be noted that it is described according to the corresponding physical address of first logical address, it is to be written to described first
Data are stored, Ke Yiwei:Processor in storage system is according to the corresponding physical address of first logical address, by institute
State the storage unit that the first data to be written are written in storage system.
In the prior art, the number sent using the connected network host of the physical connection mode of SAN (or NAS) is being received
When according to write request, need to be the corresponding physical address of logical address distribution first, then in the physics for being determined as logical address distribution
Under the premise of space corresponding to address has discharged, data to be written are stored;Due to SAN storage architectures under normal conditions
For storage configuration data (for example, database), data write request is mainly the data write request of " covering is write " mode, because
This is directed to SAN storage architectures, is all that logical address distributes a corresponding physical address to each data write request, there are SAN
The relatively low problem of storage architecture storage efficiency.
In the embodiment of the present invention, by reception using the first of the connected network host transmission of the physical connection mode of SAN
Data write request, the first data write request include the first data to be written and first data corresponding first to be written
Logical address;According to the correspondence of the first logical address and physical address, object corresponding with first logical address is determined
Manage address;So that being mainly the SAN storage architectures of the data write request of " covering is write " mode, storage system for data write request
When receiving the first data write request sent using the connected network host of the physical connection mode of SAN, storage system can
Directly by the correspondence of the first logical address and physical address, to determine at physical address corresponding with the first logical address
The data write request that the network host that reason is connected using the physical connection mode of SAN is sent is (that is, storage system uses the when write to copy
Shellfish (COW, copy-on-write);It avoids corresponding for the distribution of the first logical address when receiving the first data write request
Physical address, and processing that space corresponding to the physical address to being distributed for the first logical address is discharged;Improve SAN
The storage efficiency of storage architecture.Simultaneously as the corresponding content of logical address in the data write request of " covering is write " mode is
It is thus continually updated;Therefore, the present invention according to the correspondence of logical address and physical address by determining data to be stored
Physical address can improve the storage efficiency of SAN storage architectures under the premise of ensuring the correct storage to data to be stored.
Fig. 4 is the flow chart of the embodiment of the method two of fusion SAN and NAS storage architectures in storage system of the present invention, such as Fig. 4
It is shown, on the basis of the present embodiment embodiment of the method shown in Fig. 3, can also include:
Step 401, the storage system receive second sent using the connected network host of the physical connection mode of NAS
Data write request;The second data write request includes the second data to be written and second data corresponding second to be written
Logical address;
It should be noted that there is no sequencings between step 401 and step 301.
Step 402, the storage system are that second logical address distributes corresponding physical address;
Step 403, the storage system are judged as whether the physical address of the second logical address distribution is assigned to
Other logical addresses;
If so, thening follow the steps 404;Otherwise, step 405 is executed;
Step 404, the storage system to the space corresponding to the physical address that is distributed for second logical address into
Row release;
It should be noted that step 404 executes step 405 after having executed.
Step 405, the storage system are waited for according to the physical address distributed for second logical address described second
Write-in data are stored.
In the prior art, the data write request of NAS storage architectures is mainly the data write request of " newly-increased to write " mode;This reality
It applies in example, the second data write request sent using the connected network host of the physical connection mode of NAS by reception;Described
Two data write requests include the second data to be written and corresponding second logical address of second data to be written;It is described
The mode that two logical addresses distribute corresponding physical address handles the network host transmission connected using the physical connection mode of NAS
Data write request (that is, storage system using redirect write (ROW, Redirect-on-write);So that being write for data
Request is mainly the NAS storage architectures of the data write request of " writing again " mode, and storage system is receiving the physics using NAS
Can be that the second logical address distributes corresponding physics when the second data write request that the connected network host of connection type is sent
Address.For merging the storage system of two kinds of storage architectures of SAN and NAS, application corresponding for SAN and NAS is realized
Scene, using corresponding processing mode (namely for the COW processing modes that SAN is used, for NAS using the processing side of ROW
Formula).
Fig. 5 is the flow chart of the embodiment of the method three of fusion SAN and NAS storage architectures in storage system of the present invention, such as Fig. 5
Shown, the method for the present embodiment may include:
Step 501, storage system receive data write request, and the data write request includes data to be written and described to be written
Enter the corresponding logical address of data;
Step 502, the storage system determine that the data write request is by being connected using the physical connection mode of SAN
It is that network host is sent or by the connected network host transmission of the physical connection mode using NAS;
Step 503, if the data write request is sent by the connected network host of the physical connection mode using SAN
When, then the storage system determines corresponding with the logical address according to the correspondence of the logical address and physical address
Physical address, and according to the corresponding physical address of the logical address, the data to be written are stored;If the number
It is when being sent by the connected network host of the physical connection mode using NAS according to write request, then the storage system is described patrols
It collects address and distributes corresponding physical address, and according to the physical address distributed for the logical address, to the data to be written
It is stored.
Optionally, the basis is the physical address of logical address distribution, is stored to the data to be written
Can also include before:
It is judged as whether the physical address of the logical address distribution is assigned to other logical addresses;If so, right
It is the logical address that the space corresponding to physical address for logical address distribution, which is discharged and then executed basis,
The physical address of distribution, the step of storage to the data to be written;Otherwise, it is the logical address directly to execute basis
The physical address of distribution, the step of storage to the data to be written.
In the prior art, the number sent using the connected network host of the physical connection mode of SAN (or NAS) is being received
When according to write request, need to be the corresponding physical address of logical address distribution first, then in the physics for being determined as logical address distribution
Under the premise of space corresponding to address has discharged, data to be written are stored;Due to SAN storage architectures under normal conditions
For storage configuration data (for example, database), data write request is mainly the data write request of " covering is write " mode, because
This is directed to SAN storage architectures, is all that logical address distributes a corresponding physical address to each data write request, there are SAN
The relatively low problem of storage architecture storage efficiency.
In the embodiment of the present invention, if being by the connected net of the physical connection mode using SAN by the data write request
When network host is sent, then according to the correspondence of the logical address and physical address, determination is corresponding with the logical address
Physical address, and according to the corresponding physical address of the logical address, the data to be written are stored;If the data
Write request is when being sent by the connected network host of the physical connection mode using NAS, then to distribute and correspond to for the logical address
Physical address, and according to the physical address distributed for the logical address, the data to be written are stored;So that pair
It is mainly the SAN storage architectures of " covering is write " in data write request type, storage system is receiving the physical connection using SAN
When the data write request that the connected network host of mode is sent, can directly it be closed by the way that logical address is corresponding with physical address
System determines that the mode of physical address corresponding with logical address handles the network host connected using the physical connection mode of SAN
The data write request of transmission is (that is, storage system uses Copy on write (COW, copy-on-write);It avoids and is receiving
Corresponding physical address is distributed for logical address when data write request, and corresponding to the physical address to being distributed for logical address
The processing that space is discharged;Improve the storage efficiency of SAN storage architectures.Simultaneously as the data of " covering is write " mode are write
The corresponding content of logical address in request is thus continually updated;Therefore, the present invention passes through according to logical address and physically
The correspondence of location determines the physical address of data to be stored, can ensure the premise correctly stored to data to be stored
Under, improve the storage efficiency of SAN storage architectures.
Fig. 6 is the structural schematic diagram of the device embodiment one of fusion SAN and NAS storage architectures in storage system of the present invention,
As shown in fig. 6, the device of the present embodiment may include:SAN modules 601, COW modules 602 and writing module 603.Wherein, SAN
Module 601, for receiving the first data write request sent using the connected network host of the physical connection mode of SAN;It is described
First data write request includes the first data to be written and corresponding first logical address of first data to be written;COW moulds
Block 602, for the correspondence according to first logical address and physical address, determination is corresponding with first logical address
Physical address;Writing module 603 is used for according to the corresponding physical address of first logical address, to be written to described first
Enter data to be stored.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 3, realization principle and skill
Art effect is similar, and details are not described herein again.
Fig. 7 is the structural schematic diagram of the device embodiment two of fusion SAN and NAS storage architectures in storage system of the present invention;
As shown in fig. 7, on the basis of the device of the present embodiment apparatus structure shown in Fig. 6, further, can also include:NAS modules
604 and ROW modules 605.Wherein, NAS modules 604, for receiving using the connected network host hair of the physical connection mode of NAS
The the second data write request sent;The second data write request includes the second data to be written and second data pair to be written
The second logical address answered;ROW modules 605, for distributing corresponding physical address for second logical address;Writing module
603, it is additionally operable to, according to the physical address for being second logical address distribution, store the described second data to be written.
Optionally, ROW modules 605 are additionally operable to:It is judged as whether the physical address of the second logical address distribution is divided
Dispensing others logical address;If so, being carried out to the space corresponding to the physical address that is distributed for second logical address
Release.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 4, realization principle and skill
Art effect is similar, and details are not described herein again.
Fig. 8 is the structural schematic diagram of the device embodiment three of fusion SAN and NAS storage architectures in storage system of the present invention,
As shown in figure 8, the device of the present embodiment may include:Receiving module 801, processing module 802.Wherein, receiving module 801 are used
In receiving data write request, the data write request includes data to be written and the corresponding logical address of the data to be written;
Processing module 802, for determining that the data write request is sent by the connected network host of the physical connection mode using SAN
Or sent by the connected network host of the physical connection mode using NAS;If the data write request is by using SAN
Physical connection mode connected network host when sending, then according to the correspondence of the logical address and physical address, really
Fixed physical address corresponding with the logical address, and according to the corresponding physical address of the logical address, to described to be written
Data are stored;If the data write request is when being sent by the connected network host of the physical connection mode using NAS,
Corresponding physical address is distributed for the logical address, and according to the physical address distributed for the logical address, is waited for described
Write-in data are stored.
Optionally, processing module 802 is additionally operable to:It is judged as whether the physical address of the logical address distribution is assigned to
Other logical addresses;If so, being discharged to the space corresponding to the physical address that is distributed for the logical address.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 5, realization principle and skill
Art effect is similar, and details are not described herein again.
Fig. 9 is the structural schematic diagram of the device embodiment four of fusion SAN and NAS storage architectures in storage system of the present invention,
As shown in figure 9, the device of the present embodiment may include:Communication interface 901 and processor 902.Wherein, communication interface 901 are used for
Receive the first data write request sent using the connected network host of the physical connection mode of SAN;First data, which are write, asks
It asks including the first data to be written and corresponding first logical address of first data to be written;Processor 902 is used for basis
The correspondence of first logical address and physical address determines physical address corresponding with first logical address;Root
According to the corresponding physical address of first logical address, the described first data to be written are stored.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 3, realization principle and skill
Art effect is similar, and details are not described herein again.
Optionally, communication interface 901 are additionally operable to receive using the connected network host transmission of the physical connection mode of NAS
The second data write request;The second data write request includes that the second data to be written and second data to be written correspond to
The second logical address;Processor 902 is additionally operable to distribute corresponding physical address for second logical address;According to for institute
The physical address for stating the distribution of the second logical address, stores the described second data to be written.
Optionally, processor 902 is additionally operable to:It is judged as whether the physical address of the second logical address distribution is assigned
To other logical addresses;If so, releasing the space corresponding to the physical address that is distributed for second logical address
It puts.
It should be noted that communication interface 901 can be the IP interfaces in Fig. 2A, processor 902 can be in Fig. 2A
Store processor;Alternatively, communication interface 901 can be IP interfaces and FC interfaces in Fig. 2 B, processor 902 can be in Fig. 2 B
Storage processor.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 3, Fig. 4, realization principle
Similar with technique effect, details are not described herein again.
The device embodiment five of SAN and NAS storage architectures is merged in storage system of the present invention
The structure of the device of the present embodiment is identical as structure shown in Fig. 9, equally also includes communication interface and processor.Its
In, communication interface is connected by the physical connection mode of SAN and the physical connection mode of NAS with network, for receiving number
According to write request, the data write request includes data to be written and the corresponding logical address of the data to be written;Processor is used
In determine the data write request be sent by the connected network host of the physical connection mode using SAN or by using
The connected network host of the physical connection mode of NAS is sent;If the data write request is by the physical connection side using SAN
When the connected network host of formula is sent, then according to the correspondence of the logical address and physical address, determine and the logic
The corresponding physical address in address, and according to the corresponding physical address of the logical address, the data to be written are stored;
If the data write request is when being sent by the connected network host of the physical connection mode using NAS, for it is described logically
Corresponding physical address is distributed in location, and according to the physical address distributed for the logical address, is carried out to the data to be written
Storage.
Optionally, processor is additionally operable to:It is judged as whether the physical address of the logical address distribution is assigned to other
Logical address;If so, being discharged to the space corresponding to the physical address that is distributed for the logical address.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 5, realization principle and skill
Art effect is similar, and details are not described herein again.
One of ordinary skill in the art will appreciate that:Realize that all or part of step 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 read/write memory medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc 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
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (6)
1. a kind of method for merging Store Area Network and network attached storage NAS storage architectures in storage system, described to deposit
Storage system is used to provide service to network host, which is characterized in that the method includes:
Data write request is received, the data write request includes that data to be written and the data to be written are corresponding logically
Location;
Determine that the data write request is by the connected network host transmission of the physical connection mode using SAN or by using
The connected network host of the physical connection mode of NAS is sent;
If the data write request is when being sent by the connected network host of the physical connection mode using SAN, according to
The correspondence of logical address and physical address determines physical address corresponding with the logical address, and according to the logic
The corresponding physical address in address stores the data to be written;
If the data write request is when being sent by the connected network host of the physical connection mode using NAS, to be patrolled to be described
It collects address and distributes corresponding physical address, and according to the physical address distributed for the logical address, to the data to be written
It is stored.
2. according to the method described in claim 1, it is characterized in that, the basis is distributed physically for the logical address
Location further includes before being stored to the data to be written:
It is judged as whether the physical address of the logical address distribution is assigned to other logical addresses;
If so, being discharged and then being executed basis to the space corresponding to the physical address that is distributed for the logical address
For the logical address distribution physical address, the step of storage to the data to be written;
Otherwise, it directly executes according to the physical address for being logical address distribution, the data to be written is stored
Step.
3. the device of Store Area Network and network attached storage NAS storage architectures is merged in a kind of storage system, it is described to deposit
Storage system is used to provide service to network host, which is characterized in that described device includes:
Receiving module, for receiving data write request, the data write request includes data to be written and the data to be written
Corresponding logical address;
Processing module, for determining that the data write request is by the connected network host hair of the physical connection mode using SAN
It is sending or by the connected network host transmission of the physical connection mode using NAS;If the data write request is by using
When the connected network host of the physical connection mode of SAN is sent, then according to the correspondence of the logical address and physical address,
Physical address corresponding with the logical address is determined, and according to the corresponding physical address of the logical address, to described to be written
Enter data to be stored;If the data write request is when being sent by the connected network host of the physical connection mode using NAS,
It is then the corresponding physical address of logical address distribution, and according to the physical address distributed for the logical address, to described
Data to be written are stored.
4. device according to claim 3, which is characterized in that the processing module is additionally operable to:
It is judged as whether the physical address of the logical address distribution is assigned to other logical addresses;
If so, being discharged to the space corresponding to the physical address that is distributed for the logical address.
5. the device of Store Area Network and network attached storage NAS storage architectures is merged in a kind of storage system, it is described to deposit
Storage system is used to provide service to network host, which is characterized in that described device includes:
Communication interface is connected by the physical connection mode of SAN and the physical connection mode of NAS with network, for receiving
Data write request, the data write request include data to be written and the corresponding logical address of the data to be written;Processor,
For determining that the data write request is by the connected network host transmission of the physical connection mode using SAN or by using
The connected network host of the physical connection mode of NAS is sent;If the data write request is by the physical connection side using SAN
When the connected network host of formula is sent, then according to the correspondence of the logical address and physical address, determine and the logic
The corresponding physical address in address, and according to the corresponding physical address of the logical address, the data to be written are stored;
If the data write request is when being sent by the connected network host of the physical connection mode using NAS, for it is described logically
Corresponding physical address is distributed in location, and according to the physical address distributed for the logical address, is carried out to the data to be written
Storage.
6. device according to claim 5, which is characterized in that the processor is additionally operable to:
It is judged as whether the physical address of the logical address distribution is assigned to other logical addresses;
If so, being discharged to the space corresponding to the physical address that is distributed for the logical address.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510270920.XA CN104994135B (en) | 2015-05-25 | 2015-05-25 | The method and device of SAN and NAS storage architectures is merged in storage system |
PCT/CN2016/082806 WO2016188373A1 (en) | 2015-05-25 | 2016-05-20 | Method and apparatus for fusing san and nas storage architectures in storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510270920.XA CN104994135B (en) | 2015-05-25 | 2015-05-25 | The method and device of SAN and NAS storage architectures is merged in storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104994135A CN104994135A (en) | 2015-10-21 |
CN104994135B true CN104994135B (en) | 2018-09-21 |
Family
ID=54305886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510270920.XA Active CN104994135B (en) | 2015-05-25 | 2015-05-25 | The method and device of SAN and NAS storage architectures is merged in storage system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104994135B (en) |
WO (1) | WO2016188373A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104994135B (en) * | 2015-05-25 | 2018-09-21 | 华为技术有限公司 | The method and device of SAN and NAS storage architectures is merged in storage system |
CN106997274B (en) * | 2016-01-25 | 2021-04-30 | 中兴通讯股份有限公司 | Architecture and method for realizing storage space management |
CN107707628B (en) * | 2017-09-06 | 2020-06-02 | 华为技术有限公司 | Method and apparatus for transmitting data processing requests |
CN112099728B (en) * | 2019-06-18 | 2022-09-16 | 华为技术有限公司 | Method and device for executing write operation and read operation |
CN116069685B (en) * | 2023-03-07 | 2023-07-14 | 浪潮电子信息产业股份有限公司 | Storage system write control method, device, equipment and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1628200A1 (en) * | 2004-07-21 | 2006-02-22 | Hitachi, Ltd. | Storage system |
CN101075203A (en) * | 2006-05-18 | 2007-11-21 | 株式会社日立制作所 | Storage system and method of producing recovery volume |
CN101566927A (en) * | 2008-04-23 | 2009-10-28 | 杭州华三通信技术有限公司 | Memory system, memory controller and data caching method |
CN101710323A (en) * | 2008-09-11 | 2010-05-19 | 威睿公司 | Computer storage deduplication |
CN101751233A (en) * | 2009-12-31 | 2010-06-23 | 成都索贝数码科技股份有限公司 | Method and system for expanding capacity of memory device |
CN102622189A (en) * | 2011-12-31 | 2012-08-01 | 成都市华为赛门铁克科技有限公司 | Storage virtualization device, data storage method and system |
CN104246707A (en) * | 2012-04-27 | 2014-12-24 | 株式会社日立制作所 | Storage system and storage apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808243B (en) * | 2010-03-11 | 2012-04-18 | 杭州华三通信技术有限公司 | Data processing method and equipment based on snapshot |
US8793466B2 (en) * | 2012-04-27 | 2014-07-29 | Netapp, Inc. | Efficient data object storage and retrieval |
CN104994135B (en) * | 2015-05-25 | 2018-09-21 | 华为技术有限公司 | The method and device of SAN and NAS storage architectures is merged in storage system |
-
2015
- 2015-05-25 CN CN201510270920.XA patent/CN104994135B/en active Active
-
2016
- 2016-05-20 WO PCT/CN2016/082806 patent/WO2016188373A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1628200A1 (en) * | 2004-07-21 | 2006-02-22 | Hitachi, Ltd. | Storage system |
CN101075203A (en) * | 2006-05-18 | 2007-11-21 | 株式会社日立制作所 | Storage system and method of producing recovery volume |
CN101566927A (en) * | 2008-04-23 | 2009-10-28 | 杭州华三通信技术有限公司 | Memory system, memory controller and data caching method |
CN101710323A (en) * | 2008-09-11 | 2010-05-19 | 威睿公司 | Computer storage deduplication |
CN101751233A (en) * | 2009-12-31 | 2010-06-23 | 成都索贝数码科技股份有限公司 | Method and system for expanding capacity of memory device |
CN102622189A (en) * | 2011-12-31 | 2012-08-01 | 成都市华为赛门铁克科技有限公司 | Storage virtualization device, data storage method and system |
CN104246707A (en) * | 2012-04-27 | 2014-12-24 | 株式会社日立制作所 | Storage system and storage apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2016188373A1 (en) | 2016-12-01 |
CN104994135A (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10860213B2 (en) | Methods and systems for data storage using solid state drives | |
US10257273B2 (en) | Systems, methods and devices for RDMA read/write operations | |
JP5026283B2 (en) | Collaborative shared storage architecture | |
CN103152397B (en) | Method for designing multi-protocol storage system | |
US8555279B2 (en) | Resource allocation for controller boards management functionalities in a storage management system with a plurality of controller boards, each controller board includes plurality of virtual machines with fixed local shared memory, fixed remote shared memory, and dynamic memory regions | |
CN104994135B (en) | The method and device of SAN and NAS storage architectures is merged in storage system | |
CN103890729B (en) | computerized method, storage server and management server | |
US20090144389A1 (en) | Virtual computer system and virtual computer migration control method | |
CN101566927B (en) | Memory system, memory controller and data caching method | |
US20020161983A1 (en) | System, method, and computer program product for shared device of storage compacting | |
US9213500B2 (en) | Data processing method and device | |
CN104050102B (en) | Object storage method and device in a kind of telecommunication system | |
CN103763383A (en) | Integrated cloud storage system and storage method thereof | |
US11200082B2 (en) | Data storage system employing dummy namespaces for discovery of NVMe namespace groups as protocol endpoints | |
CN111722786A (en) | Storage system based on NVMe equipment | |
CN105892943A (en) | Access method and system for block storage data in distributed storage system | |
CN102467352A (en) | Latency reduction associated with response to request in storage system | |
CN105468296B (en) | Nothing based on virtual platform shares memory management method | |
US20050050273A1 (en) | RAID controller architecture with integrated map-and-forward function, virtualization, scalability, and mirror consistency | |
CN104123228B (en) | A kind of data-storage system and its application method | |
US20170031614A1 (en) | Systems, methods and devices for addressing data blocks in mass storage filing systems | |
CN104102742A (en) | High-performance mass storage system and high-performance mass storage method | |
CN105739930B (en) | A kind of storage architecture and its initial method and date storage method and managing device | |
CN103176751A (en) | Unified service system under multiple storage protocols | |
CN108228099B (en) | Data storage method and device |
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 |