WO2011091747A1 - 一种存储系统及数据传输方法 - Google Patents

一种存储系统及数据传输方法 Download PDF

Info

Publication number
WO2011091747A1
WO2011091747A1 PCT/CN2011/070621 CN2011070621W WO2011091747A1 WO 2011091747 A1 WO2011091747 A1 WO 2011091747A1 CN 2011070621 W CN2011070621 W CN 2011070621W WO 2011091747 A1 WO2011091747 A1 WO 2011091747A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol
interface
data
transmission
distance
Prior art date
Application number
PCT/CN2011/070621
Other languages
English (en)
French (fr)
Inventor
杜宇旻
Original Assignee
成都市华为赛门铁克科技有限公司
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 成都市华为赛门铁克科技有限公司 filed Critical 成都市华为赛门铁克科技有限公司
Publication of WO2011091747A1 publication Critical patent/WO2011091747A1/zh
Priority to US13/564,018 priority Critical patent/US20120297100A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0661Format or protocol conversion arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Definitions

  • a storage system and a data transmission method The present application claims priority to a Chinese patent application filed on February 1, 2010 by the Chinese Patent Office, Application No. 201010104536.X, entitled “A Storage System and Data Transmission Method” The entire contents of which are incorporated herein by reference.
  • the present invention relates to the field of communications technologies, and in particular, to a storage system and a data transmission method.
  • the storage system (that is, the storage array) is composed of a storage controller and a hard disk array.
  • the storage controller of the storage system can be further divided into a host port, a control part, and a rear port.
  • the hard disk array can include multiple disk enclosures, where storage control The rear port of the device is connected to the disk enclosure.
  • SAS serial small computer system interface
  • FC Fibre Channel
  • ISCSI Internet Small Computer System Interface
  • a device that supports the SAS protocol uses a SAS cable for data transmission, since the physical transmission path supported by the SAS protocol generally includes a medium such as a printed circuit board, a signal socket, and a cable, the path impedance is discontinuous, and the path impedance is discontinuous. Sexuality will have a large impact on the cable transmission distance.
  • the SAS protocol supports a safe transmission distance of 6 meters and a maximum distance of 10 meters. Therefore, devices currently using the SAS protocol cannot generally transmit long-distance data. .
  • the prior art usually sets a protocol conversion gateway of the SAS protocol to the FC protocol at the origin of the data transmission to convert the data into a protocol conversion of the SA protocol to the FC protocol.
  • the destination end of the arrival is further provided with a protocol conversion gateway of the FC protocol to the SAS protocol, so as to convert the data into a protocol of the FC protocol to the SAS protocol, so that the data is initiated.
  • Optical fiber can be used for data transmission between the end and the destination to meet the requirements of long-distance data transmission.
  • the inventors of the present invention found that since the protocol conversion gateway needs to be set at both the originating end and the destination end of the data, the data is converted twice by the protocol, so the cost is high, and the transmission time is high. The delay is larger.
  • Embodiments of the present invention provide a storage system and a data transmission method, which can reduce cost and reduce transmission delay.
  • a storage system including a primary node, a short-range secondary node, and a long-distance secondary node, where:
  • the master node includes a SAS interface and a protocol interface supporting serial long-distance transmission, where the remote secondary node includes a protocol conversion gateway, and between the S AS interface of the primary node and the short-range secondary node Connecting by using a SAS cable, and a protocol interface supporting the serial long distance transmission in the primary node and a protocol conversion gateway in the remote secondary node are connected by using an optical fiber or a serial cable; the short-distance secondary node a node that has a physical distribution distance from the primary node that is not greater than a secure transmission distance of the SAS cable, and the remote secondary node is a node whose physical distribution distance from the primary node is greater than a secure transmission distance of the SAS cable.
  • the protocol conversion gateway is configured to convert data from a protocol format supporting serial long distance transmission to a SAS protocol format.
  • a data transmission method including: receiving data;
  • the received data is sent to the short-distance secondary node by using the SAS cable through the SAS interface;
  • the received data is transmitted to the long-distance secondary node through a fiber or serial cable through a protocol interface supporting serial long-distance transmission.
  • a data transmission apparatus including: a first receiving module, configured to receive data;
  • An interface selection module configured to determine, according to the destination address of the data or the transport interface identifier carried in the data, a transmission interface of the data
  • a sending module configured to: when the determined transmission interface is a serial small computer system SAS interface, use a SAS cable to send the received data to the short-distance secondary node through the SAS interface; when the determined transmission interface supports serial long-distance transmission
  • the protocol interface transmits the received data to the remote secondary node through a fiber or serial cable through a protocol interface that supports serial long-distance transmission.
  • a data transmission method including: receiving data sent by a primary node by using a fiber or serial cable through a protocol interface supporting serial long distance transmission;
  • a data transmission apparatus including: a second receiving module, configured to receive data sent by a primary node by using a fiber optic cable or a serial cable through a protocol interface supporting serial long-distance transmission;
  • a conversion module for converting the received data from a protocol format supporting serial long distance transmission to a serial small computer system SAS protocol format
  • a first processing module configured to perform primary processing on the received data, where the primary processing is to perform basic operations or operation acceleration on the received data according to a preset policy;
  • the second processing module is configured to process data converted into a SAS protocol format.
  • the storage system is divided into a primary node and a secondary node at different physical locations, that is, a short-distance secondary node and a remote secondary node, and the secondary nodes of different physical locations use different protocols for data transmission, so that the storage system can be implemented.
  • the cost is as much as possible.
  • the SAS protocol is used for data transmission between the primary node and the close-range secondary node through the SAS cable to ensure lower cost, while the primary node and the remote secondary node
  • serial long-distance transmission the data is transmitted through optical fiber or serial cable for long-distance transmission.
  • support is directly adopted in the primary node. Serial protocol for long-distance transmission without the need to set up a protocol conversion gateway, thus further saving costs and further reducing The transmission delay.
  • FIG. 1 is a schematic structural diagram of a storage system according to an embodiment of the present invention.
  • FIG. 2 is another schematic structural diagram of a storage system according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method provided by an embodiment of the present invention.
  • FIG. 4 is another flow chart of the method provided by the embodiment of the present invention.
  • Embodiments of the present invention provide a storage system and a data transmission method. The following is a detailed description.
  • a storage system includes a primary node 101 and a secondary node, wherein the secondary node may be further divided into a short-distance secondary node A102 and a long-distance secondary node B102 according to a relative physical distance between the secondary node and the primary node 101; :
  • the remote secondary node B102 includes a protocol conversion gateway B 1021, and the protocol conversion gateway B 1021 is configured to convert data from a protocol format supporting serial long distance transmission to a SAS protocol format.
  • the short-distance secondary node A102 has a physical distribution distance from the primary node 101 that is not greater than the SAS cable.
  • the node that securely transmits the distance; the remote secondary node B 102 is a node whose physical distribution distance from the primary node 101 is greater than the safe transmission distance of the SAS cable; that is, the physical distribution distance between the primary node 101 and the short-distance secondary node A102 is not greater than SAS.
  • the safe transmission distance of the cable, the physical distribution distance between the primary node 101 and the remote secondary node B 102 is greater than the safe transmission distance of the SAS cable, wherein the physical distribution distance refers to the transmission distance between the secondary node and the primary node.
  • the S AS interface 1011 in the master node 101 and the short-range secondary node A 102 are connected by a SAS cable; the protocol interface 1012 supporting the serial long-distance transmission in the master node 101 and the protocol conversion gateway B1021 in the remote secondary node B 102; Use fiber or serial cable connections.
  • the safe transmission distance of the SAS cable mentioned here refers to the safe transmission distance of the cable supported by the SAS protocol.
  • the cable supported by the SAS protocol has a safe transmission distance of 6 meters and a maximum distance of 10 meters.
  • the serial cable refers to a cable for carrying a serial protocol signal that can be transmitted over long distances.
  • the protocol interface 1012 for supporting serial long-distance transmission included in the master node 101 may be a Fibre Channel over Ethernet (FCOE) protocol interface or an Internet Small Computer System Interface (ISCSI, Internet Small Computer System Interface). Protocol interface, or Infiniband protocol interface, etc.
  • FCOE Fibre Channel over Ethernet
  • ISCSI Internet Small Computer System Interface
  • IP interface Internet Small Computer System Interface
  • Infiniband protocol interface etc.
  • the protocol conversion gateway B 1021 included in the remote secondary node B102 may be a FC protocol to a SAS protocol gateway, or a Fibre Channel over Ethernet (FCOE) protocol to a SAS protocol gateway, or an Internet small computer system interface (ICSCSI, Internet Small Computer System Interface) protocol to SAS protocol gateway, or Infiniband protocol to SAS protocol gateway, etc.; protocol conversion gateway B1021 can be specifically used to convert data from a protocol format supporting serial long distance transmission to S AS protocol format, such as Convert data from FC protocol format to SAS protocol format, or convert data from FCOE protocol format to SAS protocol format, or convert data from ISCSI protocol format to SAS protocol format, or convert data from Infiniband protocol format to SAS protocol format , and many more.
  • FCOE Fibre Channel over Ethernet
  • ICSCSI Internet Small Computer System Interface
  • the storage system is divided into a primary node 101 and a secondary node at different physical locations, that is, a short-distance secondary node A102 and a long-distance secondary node B102, and different protocols are used for the secondary nodes of different physical locations.
  • the transmission makes the cost as much as possible in the case of long-distance transmission.
  • the primary node and the short-distance secondary node use the SAS protocol to transmit through the SAS cable to ensure lower cost
  • the primary node and the primary node Long-distance secondary nodes use a protocol that supports serial long-distance transmission to transmit over optical fibers or serial cables for long-distance data transmission.
  • the embodiment of the present invention uses the master node 101 as a storage controller, and the short-distance secondary node A102 and the remote secondary node B102 as disk enclosures as an example.
  • the master node 101 includes a SAS interface 1011 and a protocol interface 1012 supporting serial long-distance transmission.
  • the SAS interface 1011 is connected to the short-distance secondary node A102 through a SAS cable, and supports a protocol interface for serial long-distance transmission.
  • the 1012 is connected to the remote secondary node B102 via an optical fiber or a serial cable.
  • the short-range secondary node A102 can be an existing hard disk frame, and does not need to include the protocol conversion gateway B 1021, and the remote secondary node B 102 needs to include a protocol conversion gateway B 1021, for example, an FC protocol to a SAS protocol gateway. Or FCOE protocol to SAS protocol gateway, or ISCSI protocol to SAS protocol gateway, or Infmiband protocol to SAS protocol gateway, and so on.
  • the remote secondary node B102 can be configured by adding a protocol conversion gateway to the existing disk enclosure.
  • the protocol conversion gateway B1021 can be set on the disk enclosure cascading board of the disk enclosure.
  • the protocol conversion gateway B1021 is separately set outside the disk enclosure.
  • the SAS interface 1011 in the master node 101 is connected to the short-distance secondary node A102 through the SAS cable. Therefore, the master node 101 can adopt the S AS protocol through the SAS interface 1011. Data transmission is performed with the short-distance secondary node A102 to ensure lower transmission cost.
  • the master node 101 passes the support string.
  • the protocol interface 1012 for long-distance transmission uses the protocol corresponding to the interface to perform data transmission with the remote secondary node. Since the protocol interface supporting serial long-distance transmission is directly adopted in the primary node, there is no need to set a protocol conversion gateway. Therefore, further cost savings can be achieved.
  • the protocol conversion gateway B 1021 may further include an auxiliary operation and a cache memory ( Cache) capability coordinating unit to enable independent redundant disk arrays for hard disks (RAID, Redundant Array of The processing of the basic operation or the operation acceleration is performed to reduce the processing load of the master node 101.
  • the co-operation unit may specifically be the main controller basic operation unit in the memory controller.
  • the storage system is divided into a primary node 101 and a secondary node at different physical locations, that is, a short-distance secondary node A102 and a long-distance secondary node B102, and different protocols are used for the secondary nodes of different physical locations.
  • the transmission is such that the cost can be saved as much as possible in the case of long-distance transmission.
  • the protocol conversion gateway B 1021 in the remote secondary node B 102 can also have certain basic computing functions, such as Cache capability, thereby reducing the primary node 101.
  • the computational processing burden reduces the dependency of the system performance on the master node 101, avoids the waste of the previous resources existing in the centralized processing in the master node 101, and the performance bottleneck caused by the later expansion (ie, the addition of the secondary node). .
  • the later expansion ie, the addition of the secondary node.
  • a high-capacity storage controller is arranged on the master node 101, and only a small number of secondary nodes are present at this time, resource waste is caused, but if the general processing capability is arranged on the master node 101.
  • the storage controller after adding too many secondary nodes in the later stage, the performance of the entire system will be degraded due to the limited processing capacity of the storage controller; and the scheme provided by this embodiment is adopted, since the master node 101 is A part of the operation is transferred to the protocol conversion gateway B 1021 for processing, thereby reducing the influence of the processing capability of the master node 101 on the system performance, and the implementation is more flexible.
  • Embodiment 3
  • the master node 101 is the storage controller 201
  • the secondary node is the disk enclosure
  • the protocol supporting the serial long-distance transmission is the FC (Fibre Channel) protocol, the master node.
  • FC Fibre Channel
  • the optical fiber connection between the remote and secondary nodes is taken as an example for description.
  • a storage system includes a storage controller 201 and a plurality of disk enclosures, such as the short-distance disk enclosure A202 and the remote disk enclosure B202 shown in FIG. 2, etc., and the short-distance hard disk is illustrated.
  • the number of the frame A202 and the remote disk enclosure B202 can be deleted according to the needs of the actual application.
  • the storage controller 201 includes the SAS interface 2011 and the FC protocol interface 2012.
  • the number of the SAS interfaces 2011 is the same as the number of the A disk enclosure A202.
  • the number of the FC protocol interfaces 2012 is the same as the number of the remote disk enclosure B202.
  • the remote disk enclosure B202 may include a protocol conversion gateway B2021, that is, each remote disk enclosure B202 includes a protocol conversion gateway B2021;
  • the protocol conversion gateway B2021 can be set according to an operator's policy, as long as it corresponds to a protocol used between the main controller 201 and the remote disk enclosure B202, for example, the association
  • the conversion gateway B2021 can convert any one of the gateways B2021 for the following protocol:
  • the FC protocol is transferred to the SAS protocol gateway for converting data from the FC protocol format to the SAS protocol format;
  • the FCOE protocol to the SAS protocol gateway is used to convert data from the FCOE protocol format to the SAS protocol format;
  • the ISCSI protocol is transferred to the SAS protocol gateway for converting data from the ISCSI protocol format to the SAS protocol format;
  • the Infmiband protocol is transferred to the SAS protocol gateway to convert data from the Infmiband protocol format to the SAS protocol format.
  • the protocol conversion gateway B2021 in the embodiment of the present invention is an FC protocol to a SAS protocol gateway.
  • the S AS interface of the storage controller 201 is connected to the short-distance disk enclosure A202 by an S AS cable, and the SAS protocol is used for data transmission.
  • the secure transmission distance of the SAS cable is generally 6 meters, and the farthest distance is generally 10 meters
  • the physical distribution distance between the storage controller 201 and the short-distance disk enclosure A202 needs to be no more than the safe transmission distance of the SAS cable, that is, the storage control.
  • the physical distribution distance between the device 201 and the short-distance disk enclosure A202 generally needs to be no more than 6 meters, and the maximum is also required to be no more than 10 meters.
  • the FC protocol interface 2012 of the storage controller 201 and the remote hard disk The fiber-optic connection is used between the blocks B202, so that the FC protocol interface 2012 of the storage controller 201 can directly use the FC protocol to transmit data with the remote disk enclosure B202.
  • the corresponding protocol is set in the corresponding remote disk enclosure B202.
  • the gateway B2021 is converted to process the data from the FC protocol format to the SAS protocol format, so that the SAS hard disk in the remote disk enclosure B202 can smoothly read the transmitted data.
  • the protocol conversion gateway can be separately disposed outside the disk enclosure or directly replace the disk enclosure cascading board to save cost and space.
  • FC protocol interface 2012 and the remote disk enclosure of the storage controller 201 in the embodiment of the present invention
  • the FC protocol can be directly used to transmit data through the FC protocol interface 2012. Therefore, it is not necessary to set the protocol gateway of the SAS to FC in the storage controller 201, and only the protocol conversion gateway B 1021 needs to be set on the remote disk enclosure B202.
  • the long-distance data transmission of the SAS hard disk is realized by a protocol conversion.
  • the protocol conversion gateway is separately set on the initiator end (ie, the storage controller) and the receiving end (that is, the remote disk enclosure). , can save costs. Further, by Only one protocol conversion is required, so the transmission delay can be saved compared to the prior art, which requires two protocol conversions.
  • the short-distance disk enclosure A202 may be an existing hard disk array, and the protocol conversion gateway B2021 is not required, and the remote disk enclosure B202 needs to include a protocol conversion gateway B2021.
  • the protocol conversion gateway B2021 can be configured on the disk enclosure cascading board.
  • the protocol conversion gateway B2021 can be separately set outside the disk enclosure. .
  • the protocol conversion gateway B2021 in the embodiment of the present invention may further include a co-operation unit having a certain computing capability, so that the protocol conversion gateway may have a certain computing processing capability in addition to the protocol conversion.
  • the protocol conversion gateway B2021 may include a co-operation unit having a CACHE and a basic arithmetic function, so that it can perform basic operations such as RAID or hard disk acceleration on the hard disk to reduce the load on the controller in the memory controller 201.
  • the co-operation unit may specifically be a main operation unit of the main controller in the storage controller.
  • the dependency of the system performance on the storage controller 201 can be reduced, and the existence of the centralized processing in the storage controller 201 can be avoided.
  • the waste of the previous resources and the performance bottleneck caused by the later expansion facilitates the later expansion or deletion.
  • the storage system is divided into a storage controller 201 and a disk enclosure in different physical locations, that is, a short-distance disk enclosure A202 and a remote disk enclosure B202, and different protocols are used for disk enclosures of different physical locations.
  • the transmission is carried out so that the cost can be saved as much as possible in the case of long-distance transmission.
  • the storage controller 201 and the short-distance disk enclosure A202 are transmitted through the SAS cable by using the SAS protocol to ensure lower cost.
  • the storage controller 201 and the remote disk enclosure B202 are transmitted by using the FC protocol through the optical fiber to implement long-distance transmission.
  • the remote disk enclosure B202 due to the direct connection in the storage controller 201.
  • the embodiment of the present invention further provides a data transmission method, which can be applied to the implementation of the present invention.
  • this embodiment describes the data transmission method from the perspective of the master node. As shown in FIG. 3, the method may include:
  • the data to be stored sent by the host may be received, and the transmission interface of the data is determined according to the destination address of the data, or if the received data carries the identifier of the transmission interface, the primary node may also receive the data.
  • the transmission interface of the data is determined according to the identifier of the interface carried in the data.
  • the transmission interface of the data is determined to be a SAS interface
  • the transmission interface of the data is determined to be a support string.
  • the primary node may be a storage controller in the storage system, and the transmission interface included in the primary node includes a SAS interface and a protocol interface supporting serial long-distance transmission.
  • the received data is sent to the short-distance secondary node by using a SAS cable through the SAS interface.
  • the short-distance secondary node is a node whose physical distribution distance from the primary node is not greater than the safe transmission distance of the SAS cable, and the S AS interface of the primary node and the short-distance secondary node are connected by using an S AS cable.
  • SAS cables have a safe transmission distance of 6 meters and no more than 10 meters. Specifically, when transmitting, the data to be transmitted needs to be encapsulated by using the SAS protocol.
  • the received data is sent to the remote secondary node through a fiber or serial cable through a protocol interface that supports serial long-distance transmission.
  • the long-distance secondary node is a node whose physical distribution distance from the primary node is greater than the secure transmission distance of the S AS cable, and the primary node includes a protocol interface supporting serial long-distance transmission.
  • the long-distance secondary node includes a protocol conversion gateway, and the protocol interface supporting the serial long-distance transmission in the primary node and the protocol conversion gateway in the remote secondary node are connected by using a fiber or a serial cable.
  • the data to be transmitted needs to be encapsulated using a protocol supporting serial remote transmission.
  • the protocol supporting the serial long-distance transmission may include the FC protocol, the FCOE protocol, the ISCSI protocol, or the Infmiband protocol; correspondingly, the protocol interface supporting the serial long-distance transmission may be an FC protocol interface, a FCOE protocol interface, or an ISCSI protocol. Interface or Infiniband protocol interface and so on.
  • this embodiment adopts different protocols for the secondary nodes of different physical locations. Transmission makes cost savings as long as possible for long-distance transmission.
  • the SAS protocol is used between the primary node and the short-range secondary node to transmit through the SAS cable to ensure lower cost
  • the primary node and the primary node Long-distance secondary nodes use a protocol that supports serial long-distance transmission to transmit over optical fibers or serial cables to achieve long-distance data transmission.
  • the protocol node that supports serial long-distance transmission is directly adopted in the master node, and there is no need to set a protocol conversion gateway, so that the cost can be further saved. At the same time, since only one protocol conversion is required, two In terms of secondary protocol conversion, the transmission delay can be reduced.
  • the embodiment of the present invention further provides a data transmission method, which is used in the storage system provided by the embodiment of the present invention.
  • This embodiment will be described from the perspective of a remote secondary node.
  • the method includes:
  • the receiving master node uses data transmitted by the optical fiber or the serial cable through a protocol interface that supports serial long-distance transmission, and the data is encapsulated by using a protocol supporting serial long-distance transmission;
  • the protocol supporting serial long-distance transmission may include an FC protocol, a FCOE protocol, an ISCSI protocol, or an Infmiband protocol.
  • the protocol conversion gateway may be located in the remote secondary node or may be independent of the remote secondary node.
  • the protocol conversion gateway may be set on the disk enclosure cascading board.
  • the protocol conversion gateway may also be separately set.
  • the protocol conversion gateway may be a FC protocol to a SAS protocol gateway, or a FCOE protocol to a SAS protocol gateway, or an ISCSI protocol to a SAS protocol gateway, or an Infiniband protocol to a SAS protocol gateway, and the like.
  • the protocol conversion gateway used needs to correspond to the protocol interface supporting the serial long-distance transmission in the primary node.
  • the FC protocol needs to be used correspondingly.
  • the FCOE protocol interface is used in the master node
  • the FCOE protocol is required to be transferred to the SAS protocol gateway
  • the ISCSI protocol is required to be transferred to the SAS protocol gateway.
  • the Infiniband protocol interface is used in the master node, the Infiniband protocol is required to be transferred to the S AS protocol gateway. 403. Process data converted into a SAS protocol format.
  • the processing of the data includes transmitting the data converted into the SAS protocol format to the corresponding disk group for storage, and the like.
  • the method may further include:
  • the co-operation unit in the protocol conversion gateway performs primary processing on the received data.
  • the protocol conversion gateway may further include a co-operation unit having a certain computing capability, so that the protocol conversion gateway is divided.
  • the protocol conversion gateway can also have certain computing processing capabilities.
  • the protocol conversion gateway can include a co-operation unit with CACHE and basic computing functions, so that it can perform basic operations such as RAID or acceleration of operations on the hard disk. Reduce the burden on the controller in the storage controller.
  • the primary processing refers to the basic operation or operation acceleration of the received data according to the preset strategy.
  • the co-operation unit may specifically be a basic operation unit of the main controller in the storage controller, and the preset strategy may be configured according to the hardware capability of the co-operation unit.
  • processing the data converted into the SAS protocol format is specifically: processing the data that has been converted into the SAS protocol format and processed through the primary processing.
  • advanced operations such as processing of value-added software services for data converted into SAS protocol format and subjected to primary processing.
  • the protocol conversion gateway assumes a certain computing function, the dependency of the system performance on the storage controller can be reduced, and the pre-existing resource waste existing in the centralized processing in the storage controller is avoided, and the latter is Capacity expansion (that is, adding a disk enclosure) leads to performance bottlenecks, which facilitates later expansion or deletion. It should be noted that the basic operation of the received data and the execution order between the steps 402 may be in no particular order.
  • the method for transmitting data by using different protocols for the secondary nodes of different physical locations is adopted, so that the cost can be saved as much as possible in the case of long-distance transmission, for example, the primary node and the short-distance secondary node.
  • the SAS cable is used for transmission over the SAS cable to ensure lower cost, while the master node and the remote secondary node use a protocol that supports serial long-distance transmission for data transmission over fiber or serial cable. Achieve long-distance data transmission.
  • the data transmission method of the embodiment of the present invention only one protocol conversion is required for the data in the data transmission process, so that the data transmission can be reduced when the protocol conversion is required twice in the prior art. Delay.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)
  • Bus Control (AREA)

Description

一种存储系统及数据传输方法 本申请要求于 2010 年 2 月 1 日提交中国专利局、 申请号为 201010104536.X,发明名称为"一种存储系统及数据传输方法"的中国专利申 请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及通信技术领域, 具体涉及一种存储系统及数据传输方法。
背景技术
存储系统 (即存储阵列 )由存储控制器和硬盘阵列组成, 存储系统的存储 控制器又可分为主机口、控制部分和后端口; 而硬盘阵列则可以包括多个硬盘 框, 其中, 存储控制器的后端口和硬盘框连接。 在现有技术中, 存储控制器 的后端口与硬盘框之间,以及硬盘框与硬盘框之间一般都会采用串行小型计算 机系统接口 ( SAS , Serial Attach SCSI )协议进行连接。
目前支持光纤通道 ( FC , Fiber Channel )协议和互联网小型计算机接口 ( ISCSI, Internet Small Computer System interface )等协议的设备一般可以采用 而只能采用 SAS电缆进行数据传输。 当支持 SAS协议的设备采用 SAS电缆进行 数据传输时, 由于 SAS协议支持的物理传输路径中一般包括印刷电路板、 信号 插座和电缆等介质, 其路径阻抗具有不连续性, 而路径阻抗的不连续性会对电 缆传输距离产生^ ί艮大的影响, 目前, SAS协议支持的安全传输距离为 6米, 最 远为 10米, 因此, 目前采用 SAS协议进行传输的设备一般不能进行远距离数据 传输。
为了实现采用 SAS协议的设备能够支持远距离数据传送,现有技术通常在 数据传输的发起端设置 SAS协议转 FC协议的协议转换网关,以将数据进行 SAS 协议到 FC协议的协议转换, 在数据到达的目的端又设置有 FC协议转 SAS协议 的协议转换网关, 以将数据进行 FC协议到 SAS协议的协议转换,这样数据发起 端和目的端之间就可以采用光纤进行数据传输, 以满足远距离数据传输的要 求。
在对现有技术的研究和实践过程中, 本发明的发明人发现, 由于需要在数 据的发起端和目的端都设置协议转换网关,对数据进行两次协议转换, 因此成 本较高, 传输时延较大。
发明内容 本发明实施例提供一种存储系统及数据传输方法,可以降低成本和减小传 输时延。
根据本发明实施例的一个方面, 提供了一种存储系统, 包括主节点、 近距 离辅节点和远距离辅节点, 其中:
所述主节点中包含有 SAS接口和支持串行远距离传输的协议接口,所述远 距离辅节点中包含有协议转换网关, 所述主节点的 S AS接口与所述近距离辅节 点之间采用 SAS电缆进行连接, 所述主节点中的支持串行远距离传输的协议接 口与所述远距离辅节点中的协议转换网关之间采用光纤或串行电缆进行连接; 所述近距离辅节点为与所述主节点之间的物理分布距离不大于 SAS电缆 的安全传输距离的节点,所述远距离辅节点为与所述主节点之间的物理分布距 离大于 SAS电缆的安全传输距离的节点, 所述协议转换网关用于将数据由支持 串行远距离传输的协议格式转换成 SAS协议格式。
根据本发明实施例的另一个方面, 提供了一种数据传输方法, 包括: 接收数据;
根据所述数据的目的地址或所述数据中携带的传输接口标识确定所述数 据的传输接口;
当确定的传输接口为 SAS接口时, 通过 SAS接口利用 SAS电缆将接收到的 数据发送给近距离辅节点;
当确定的传输接口为支持串行远距离传输的协议接口时,通过支持串行远 距离传输的协议接口将接收到的数据通过光纤或串行电缆发送给远距离辅节 点。
根据本发明实施例的又一个方面, 提供了一种数据传输装置, 包括: 第一接收模块, 用于接收数据;
接口选择模块,用于根据所述数据的目的地址或所述数据中携带的传输接 口标识确定所述数据的传输接口;
发送模块, 用于当确定的传输接口为串行小型计算机系统 SAS接口时, 通 过 SAS接口利用 SAS电缆将接收到的数据发送给近距离辅节点; 当确定的传输 接口为支持串行远距离传输的协议接口时,通过支持串行远距离传输的协议接 口将接收到的数据通过光纤或串行电缆发送给远距离辅节点。
根据本发明实施例的又一个方面, 提供了一种数据传输方法, 包括: 接收主节点通过支持串行远距离传输的协议接口利用光纤或串行电缆发 送的数据;
将接收到的数据从支持串行远距离传输的协议格式转换成 SAS协议格式; 对接收到的数据进行初级处理,所述初级处理为根据预置策略对接收到的 数据进行基本运算或运算加速;
对转换成 SAS协议格式的数据进行处理。
根据本发明实施例的又一个方面, 提供了一种数据传输装置, 包括: 第二接收模块,用于接收主节点通过支持串行远距离传输的协议接口利用 光纤或串行电缆发送的数据;
转换模块,用于将接收到的数据从支持串行远距离传输的协议格式转换成 串行小型计算机系统 SAS协议格式;
第一处理模块, 用于对接收到的数据进行初级处理, 所述初级处理为根据 预置策略对接收到的数据进行基本运算或运算加速;
第二处理模块, 用于对转换成 SAS协议格式的数据进行处理。
本发明实施例将存储系统分为主节点和处于不同物理位置的辅节点,即近 距离辅节点和远距离辅节点 ,针对不同物理位置的辅节点采用不同的协议进行 数据传输,使得在可以实现远距离数据传输的情况下尽可能地节约成本,例如, 主节点与近距离辅节点之间采用 SAS协议通过 SAS电缆进行数据传输, 以保证 较低的成本,而主节点与远距离辅节点之间则采用支持串行远距离传输的协议 通过光纤或串行电缆进行数据传输, 以实现远距离传输, 另一方面, 对于与远 距离辅节点的数据传输,由于在主节点中直接采用了支持串行远距离传输的协 议接口, 而无需设置协议转换网关, 因此可以进一步节约成本, 并进一步降低 了传输时延。
附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地, 下面描 述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不 付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例所提供的存储系统的结构示意图;
图 2是本发明实施例所提供的存储系统的又一结构示意图;
图 3是本发明实施例提供的方法的流程图;
图 4是本发明实施例提供的方法的另一流程图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例提供一种存储系统及数据传输方法。 以下分别进行详细说 明。
实施例一、
参见图 1 , 一种存储系统, 包括主节点 101和辅节点, 其中, 根据辅节点与 主节点 101的相对物理距离又可以将辅节点分为近距离辅节点 A102和远距离 辅节点 B102; 其中:
主节点 101中包含有 SAS接口 1011和支持串行远距离传输的协议接口
1012,远距离辅节点 B102中包含有协议转换网关 B 1021 ,该协议转换网关 B 1021 用于将数据由支持串行远距离传输的协议格式转换成 SAS协议格式;
近距离辅节点 A102为与主节点 101之间的物理分布距离不大于 SAS电缆的 安全传输距离的节点; 远距离辅节点 B102为与主节点 101之间的物理分布距离 大于 SAS电缆的安全传输距离的节点; 即, 主节点 101与近距离辅节点 A102的 物理分布距离不大于 SAS电缆的安全传输距离, 主节点 101与远距离辅节点 B102的物理分布距离大于 SAS电缆的安全传输距离, 其中, 物理分布距离是指 信号在辅节点与主节点之间的传输距离。
主节点 101中的 S AS接口 1011与近距离辅节点 A 102之间采用 SAS电缆连 接; 主节点 101中的支持串行远距离传输的协议接口 1012与远距离辅节点 B102 中的协议转换网关 B1021之间采用光纤或串行电缆连接。
需说明的是, 这里所说的 SAS电缆的安全传输距离指的是 SAS协议所支持 的电缆的安全传输距离。 一般的, SAS协议支持的电缆的安全传输距离为 6米, 最远为 10米。其中, 串行电缆指的是用于承载可以进行远距离传输的串行协议 信号的电缆。
具体的, 主节点 101中包含的支持串行远距离传输的协议接口 1012可以为 以太网光纤通道( FCOE , Fibre Channel over Ethernet )协议接口, 或因特网小 型计算机系统接口 ( ISCSI , Internet Small Computer System Interface )协议 接口, 或 Infiniband协议接口等等。 远距离辅节点 B102中包含的协议转换网关 B 1021可以为 FC协议转 SAS协议网关,或以太网光纤通道( FCOE , Fibre Channel over Ethernet )协议转 SAS协议网关, 或因特网小型计算机系统接口 ( ISCSI , Internet Small Computer System Interface )协议转 SAS协议网关,或 Infiniband 协议转 SAS协议网关等等; 协议转换网关 B1021具体可以用于将数据从支持串 行远距离传输的协议格式转换成 S AS协议格式,比如将数据从 FC协议格式转换 成 SAS协议格式, 或将数据从 FCOE协议格式转换成 SAS协议格式, 或将数据 从 ISCSI协议格式转换成 SAS协议格式, 或将数据从 Infiniband协议格式转换成 SAS协议格式, 等等。
由上可知, 本实施例采用将存储系统分为主节点 101和处于不同物理位置 的辅节点, 即近距离辅节点 A102和远距离辅节点 B102, 针对不同物理位置的 辅节点采用不同的协议进行传输,使得在可以实现远距离传输的情况下尽可能 地节约成本, 例如, 主节点与近距离辅节点之间采用采用 SAS协议通过 SAS电 缆进行传输, 以保证较低的成本, 而主节点与远距离辅节点之间则采用支持串 行远距离传输的协议通过光纤或串行电缆进行传输, 以实现远距离数据传输, 另一方面,对于与远距离辅节点的传输, 由于在主节点中直接采用支持串行远 距离传输的协议接口, 而无需设置协议转换网关, 因此可以进一步节约成本, 以及降低传输时延。 实施例二、
在实施例一的基础上, 本发明实施例以主节点 101为存储控制器, 近距离 辅节点 A102和远距离辅节点 B102为硬盘框为例进行说明。 具体的, 主节点 101 中包含有 SAS接口 1011和支持串行远距离传输的协议接口 1012 , 其中, SAS接 口 1011通过 SAS电缆与近距离辅节点 A102进行连接,支持串行远距离传输的协 议接口 1012通过光纤或串行电缆与远距离辅节点 B102进行连接。
具体的, 近距离辅节点 A102可以为现有的硬盘框, 不需要包括协议转换 网关 B 1021 , 而远距离辅节点 B 102则需要包括协议转换网关 B 1021 , 比如, FC 协议转 SAS协议网关, 或 FCOE协议转 SAS协议网关, 或 ISCSI协议转 SAS协议 网关, 或 Infmiband协议转 SAS协议网关等等。 远距离辅节点 B102可以通过在 现有的硬盘框中增加协议转换网关而成, 比如, 为了节约空间, 可以将协议转 换网关 B1021设置在硬盘框的硬盘框级联板上, 当然, 也可以将协议转换网关 B1021单独设置在硬盘框外。
具体的,本发明实施例提供的存储系统在运用过程中,主节点 101中的 SAS 接口 1011通过 SAS电缆与近距离辅节点 A102进行连接, 因此, 主节点 101可以 通过 SAS接口 1011采用 S AS协议与近距离辅节点 A102进行数据传输, 以保证较 低的传输成本。 并且, 在需要实现远距离数据传输时, 由于主节点 101中的支 持串行远距离传输的协议接口 1012通过光纤或串行电缆与远距离辅节点 B102 进行连接, 因此, 主节点 101通过支持串行远距离传输的协议接口 1012采用与 该接口相对应的协议与远距离辅节点进行数据传输,由于在主节点中直接采用 了支持串行远距离传输的协议接口, 而无需设置协议转换网关, 因此可以进一 步节约成本。
进一步的, 为了减轻主节点 101的处理代价, 提高整个系统的性能, 还可 以在该协议转换网关 B1021上进行一部分基础运算操作, 即协议转换网关 B1021还可以包括具备辅助运算和高速緩冲存储器(Cache ) 能力协运算单元, 从而能够进行针对硬盘的独立冗余磁盘阵列 ( RAID , Redundant Array of Independent Disk) 等基本运算或运算加速的处理, 以减轻主节点 101的处理负 担, 其中, 该协运算单元具体可以为存储控制器中的主控制器基本运算单元。
由上可知, 本实施例采用将存储系统分为主节点 101和处于不同物理位置 的辅节点, 即近距离辅节点 A102和远距离辅节点 B102, 针对不同物理位置的 辅节点采用不同的协议进行传输,使得在可以实现远距离传输的情况下尽可能 地节约成本, 而且, 远距离辅节点 B102中的协议转换网关 B1021还可以具有一 定的基础运算功能,比如 Cache能力,从而可以减轻主节点 101的运算处理负担, 减少了系统性能对主节点 101的依赖性,避免在主节点 101中进行集中式处理时 所存在的前期资源浪费, 以及后期扩容 (即增加辅节点 )后导致性能瓶颈的问 题。 比如, 在现有技术中, 如果在主节点 101上布置高处理能力的存储控制器, 而此时只有少量的辅节点, 则会导致资源浪费, 但是, 如果在主节点 101上布 置一般处理能力的存储控制器, 则在后期增加了过多的辅节点后, 由于存储控 制器的处理能力有限, 整个系统的性能将会下降; 而采用本实施例所提供的方 案, 由于将主节点 101上的一部分运算转移到协议转换网关 B1021上进行处理, 因此降低了主节点 101的处理能力对系统性能的影响, 实现较为灵活。 实施例三、
根据实施一和实施例二所描述的通信系统, 下面将以主节点 101为存储控 制器 201 , 辅节点为硬盘框, 支持串行远距离传输的协议为 FC (即光纤通道) 协议, 主节点和远距离辅节点之间采用光纤连接为例进行说明。
参见图 2, —种存储系统, 包括存储控制器 201和多个硬盘框, 例如图 2中 所示的近距离硬盘框 A202和远距离硬盘框 B202, 等等, 需说明的是, 近距离 硬盘框 A202和远距离硬盘框 B202的数量可以根据实际应用的需要进行删减。
其中, 存储控制器 201包括 SAS接口 2011和 FC协议接口 2012; 其中, SAS 接口 2011的数量与 i距离硬盘框 A202的数量一致, FC协议接口 2012的数量与 远距离硬盘框 B202的数量一致。
远距离硬盘框 B202可以包括协议转换网关 B2021 , 也就是说, 每一个远距 离硬盘框 B202中都包括有一个协议转换网关 B2021;
具体的, 该协议转换网关 B2021可以根据运营商的策略进行设置, 只要与 主控制器 201和远距离硬盘框 B202之间所采用的协议相对应即可, 例如, 该协 议转换议网关 B2021可以为如下协议转换网关 B2021中任一种:
FC协议转 SAS协议网关, 用于将数据从 FC协议格式转换成 SAS协议格式; FCOE协议转 SAS协议网关, 用于将数据从 FCOE协议格式转换成 SAS协议 格式;
ISCSI协议转 SAS协议网关, 用于将数据从 ISCSI协议格式转换成 SAS协议 格式;
Infmiband协议转 SAS协议网关, 用于将数据从 Infmiband协议格式转换成 SAS协议格式。
由于在本实施例中以 FC协议为例, 因此本发明实施例中的协议转换网关 B2021为 FC协议转 SAS协议网关。
存储控制器 201的 S AS接口 2011与近距离硬盘框 A202之间采用 S AS电缆连 接, 并且采用 SAS协议进行数据传输。 具体的, 由于 SAS电缆的安全传输距离 一般为 6米, 最远一般为 10米, 因此存储控制器 201与近距离硬盘框 A202的物 理分布距离需要不大于 SAS电缆的安全传输距离, 即存储控制器 201与近距离 硬盘框 A202的物理分布距离一般需要不大于 6米, 最大限度也需要不大于 10 米。
当硬盘框的物理分布位置相对于存储控制器 201的位置已经超过 SAS电缆 的安全传输距离 (一般为 6米, 最多不超过 10米) 时, 存储控制器 201的 FC协 议接口 2012与远距离硬盘框 B202之间采用光纤连接, 使存储控制器 201 的 FC 协议接口 2012可以直接采用 FC协议与远距离硬盘框 B202进行数据传输; 在对 应的远距离硬盘框 B202的机拒内设置相对应的协议转换网关 B2021 , 以将数据 进行从 FC协议格式转换成 SAS协议格式的处理, 使得远距离硬盘框 B202中的 SAS硬盘可以顺利地读取到传输过来的数据。 其中, 该协议转换网关可单独设 置于硬盘框外, 也可直接替代硬盘框级联板以节约成本和空间。
由于本发明实施例中存储控制器 201的 FC协议接口 2012与远距离硬盘框
B202之间可以通过 FC协议接口 2012直接采用 FC协议进行数据传输, 因此, 不 需要在存储控制器 201中设置 SAS转 FC的协议网关, 只需要在远距离硬盘框 B202上设置协议转换网关 B 1021 , 通过一次协议转换就实现了 SAS硬盘的远距 离数据传输, 相对于现有技术中需要在发起端 (即存储控制器 )和接收端 (即 远距离硬盘框)上分别设置协议转换网关而言, 可以节约成本。 进一步的, 由 于只需要进行了一次协议转换,因此相对于现有技术需要进行两次协议转换而 言, 可以节省传输时延。
需说明的是, 本发明实施例中, 近距离硬盘框 A202可以为现有的硬盘阵 歹l , 不需要包括协议转换网关 B2021 , 而远距离硬盘框 B202则需要包括协议转 换网关 B2021 ,具体可以通过在现有的硬盘框中增加协议转换网关 B2021而成, 比如, 可以将该协议转换网关 B2021设置在硬盘框级联板上, 当然, 也可以将 该协议转换网关 B2021单独设置在硬盘框外。
为了提高系统的性能, 本发明实施例中的协议转换网关 B2021还可以包括 具备了一定运算能力的协运算单元,使该协议转换网关除进行协议转换外,还 可以具备一定的运算处理能力, 具体的, 协议转换网关 B2021可以包括具备 CACHE及基本运算功能的协运算单元,使其能够进行针对硬盘的 RAID等基本 运算或运算加速的处理, 以减轻存储控制器 201中控制器的负担。 具体的, 协 运算单元具体可以为存储控制器中的主控制器基本运算单元。
本发明实施例通过在协议转换网关 B2021中增加具备 CACHE及基本运算 功能的协运算单元, 可以减少系统性能对存储控制器 201的依赖性, 避免在存 储控制器 201中进行集中式处理时所存在的前期资源浪费, 以及后期扩容(即 增加硬盘框 B202 )后导致性能瓶颈的问题, 方便后期的扩容或删减。
由上可知, 本实施例采用将存储系统分为存储控制器 201和处于不同物理 位置的硬盘框, 即近距离硬盘框 A202和远距离硬盘框 B202, 针对不同物理位 置的硬盘框采用不同的协议进行传输,使得在可以实现远距离传输的情况下尽 可能地节约成本,例如,存储控制器 201与近距离硬盘框 A202之间采用采用 SAS 协议通过 SAS电缆进行传输, 以保证较低的成本, 而存储控制器 201与远距离 硬盘框 B202之间则采用 FC协议通过光纤进行传输, 以实现远距离传输, 另一 方面, 对于与远距离硬盘框 B202的传输, 由于在存储控制器 201中直接采用 FC 协议接口 2012, 而无需设置协议转换网关, 因此可以进一步节约成本, 与此同 时, 由于只需要进行了一次协议转换, 因此相对于现有技术需要进行两次协议 转换而言, 可以降低传输时延。 实施例四、
相应地, 本发明实施例还提供一种数据传输方法, 可以适用于本发明实施 例所提供的存储系统, 本实施例将从主节点的角度对数据传输方法进行描述。 如图 3所示, 该方法可以包括:
301、 接收数据, 根据接收到的数据确定传输接口;
具体的, 可以接收主机发送的待存储数据,根据该数据的目的地址确定该 数据的传输接口, 或者, 如果该接收到的数据中携带了传输接口的标识, 主节 点接收到数据后,也可以根据该数据中携带的接口的标识确定该数据的传输接 口。 具体的, 当接收到的数据需要存储到近距离辅节点时, 确定该数据的传输 接口为 SAS接口, 当接收到的数据需要存储到远距离辅节点时, 确定该数据的 传输接口为支持串行远距离传输的协议接口。其中, 主节点可以为存储系统中 的存储控制器,主节点中包含的传输接口包括 SAS接口和支持串行远距离传输 的协议接口。
302、 当确定的传输接口为 SAS接口时,通过 SAS接口利用 SAS电缆将接收 到的数据发送给近距离辅节点;
其中,近距离辅节点为与主节点之间的物理分布距离不大于 SAS电缆的安 全传输距离的节点, 主节点的 S AS接口与近距离辅节点之间采用 S AS电缆进行 连接, 一般的, SAS电缆的安全传输距离为 6米, 最远不超过 10米。 具体的, 在传输时, 需要将待传输数据使用 SAS协议进行封装。
303、 当确定的传输接口为支持串行远距离传输的协议接口时, 通过支持 串行远距离传输的协议接口将接收到的数据通过光纤或串行电缆发送给远距 离辅节点。
其中,如上述系统实施例所述, 远距离辅节点为与主节点之间的物理分布 距离大于 S AS电缆的安全传输距离的节点,主节点中包含有支持串行远距离传 输的协议接口,远距离辅节点中包含有协议转换网关,主节点中的支持串行远 距离传输的协议接口与远距离辅节点中的协议转换网关之间采用光纤或串行 电缆进行连接。 具体的, 在传输过程中, 需要将待传输数据使用支持串行远距 离传输的协议进行封装。
具体的, 支持串行远距离传输的协议可以包括 FC协议、 FCOE协议、 ISCSI 协议或 Infmiband协议等; 相应的, 支持串行远距离传输的协议接口可以为 FC 协议接口、 FCOE协议接口、 ISCSI协议接口或 Infiniband协议接口等等。
由上可知,本实施例采用针对不同物理位置的辅节点采用不同的协议进行 传输, 使得在可以实现远距离传输的情况下尽可能地节约成本, 例如, 主节点 与近距离辅节点之间采用采用 SAS协议通过 SAS电缆进行传输, 以保证较低的 成本,而主节点与远距离辅节点之间则采用支持串行远距离传输的协议通过光 纤或串行电缆进行传输, 以实现远距离数据传输, 另一方面, 对于与远距离辅 节点之间的数据传输,由于在主节点中直接采用支持串行远距离传输的协议接 口, 而无需设置协议转换网关, 因此可以进一步节约成本, 与此同时, 由于只 需要进行了一次协议转换, 因此相对于现有技术需要进行两次协议转换而言, 可以降低传输时延。 实施例五、
相应地, 本发明实施例还提供一种数据传输方法, 用于本发明实施例所提 供的存储系统, 本实施例将从远距离辅节点的角度进行描述。
如图 4所示, 该方法包括:
401、 接收主节点通过支持串行远距离传输的协议接口利用光纤或串行电 缆发送的数据, 该数据使用支持串行远距离传输的协议进行封装;
其中, 该支持串行远距离传输的协议可以包括 FC协议、 FCOE协议、 ISCSI 协议或 Infmiband协议等。
402、 利用协议转换网关将接收到的数据从支持串行远距离传输的协议格 式转换成 SAS协议格式;
该协议转换网关可以位于远距离辅节点中, 也可以独立于远距离辅节点, 比如, 可以将该协议转换网关设置在硬盘框级联板上, 当然, 也可以将该协议 转换网关单独设置在硬盘框外; 具体的,该协议转换网关可以为 FC协议转 SAS 协议网关, 或 FCOE协议转 SAS协议网关, 或 ISCSI协议转 SAS协议网关, 或 Infiniband协议转 SAS协议网关, 等等。
需说明的是,所采用的协议转换网关需要与主节点中的支持串行远距离传 输的协议接口的相对应, 例如, 如果主节点中使用的是 FC协议接口, 则对应 地需使用 FC协议转 SAS协议网关; 如果主节点中使用的是 FCOE协议接口, 则 对应地需使用 FCOE协议转 SAS协议网关;如果主节点中使用的是 ISCSI协议接 口, 则对应地需使用 ISCSI协议转 SAS协议网关, 如果主节点中使用的是 Infiniband协议接口, 则对应地需使用 Infiniband协议转 S AS协议网关。 403、 对转换成 SAS协议格式的数据进行处理。
具体的,对数据的处理包括将转换成 SAS协议格式的数据发送给相应的磁 盘组中进行存储, 等等。
进一步的, 该方法还可以包括:
利用协议转换网关中的协运算单元对接收到的数据进行初级处理; 具体的, 为了提高系统的性能,协议转换网关中还可以包括具备了一定运 算能力的协运算单元,使该协议转换网关除进行协议转换外,还可以具备一定 的运算处理能力, 比如该协议转换网关可以包括具备 CACHE及基本运算功能 的协运算单元,使其能够进行针对硬盘的 RAID等基本运算或运算加速的处理, 以减轻存储控制器中控制器的负担。其中,初级处理指的是根据预置策略对接 收到的数据进行基本运算或运算加速。协运算单元具体可以为存储控制器中的 主控制器基本运算单元,而预置策略可以根据协运算单元的硬件能力进行相应 的配置。
此时, 对转换成 SAS协议格式的数据进行处理(即步骤 403 )具体为: 对 转换成 SAS协议格式且经过初级处理后的数据进行处理。
例如,对转换成 SAS协议格式且经过初级处理后的数据进行增值软件业务 的处理等高级运算。
本发明实施例中, 由于协议转换网关承担了一定的运算功能, 所以可以减 少系统性能对存储控制器的依赖性 ,避免在存储控制器中进行集中式处理时所 存在的前期资源浪费,以及后期扩容(即增加硬盘框)后导致性能瓶颈的问题, 方便后期的扩容或删减。需说明的是,对接收到的数据进行基本运算和步骤 402 之间的执行顺序可以不分先后。
由上可知,本实施例采用针对不同物理位置的辅节点采用不同的协议进行 数据传输的方法,使得在可以实现远距离传输的情况下尽可能地节约成本, 例 如, 主节点与近距离辅节点之间采用采用 SAS协议通过 SAS电缆进行传输, 以 保证较低的成本,而主节点与远距离辅节点之间则采用支持串行远距离传输的 协议通过光纤或串行电缆进行数据传输, 以实现远距离数据传输。 与此同时, 在本发明实施例的数据传输方法中 ,在数据传输过程中只需要对数据进行一次 协议转换, 因此相对于现有技术需要进行两次协议转换而言, 可以降低数据的 传输时延。 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明 可借助软件加必需的硬件平台的方式来实现, 当然也可以全部通过硬件来实 施, 但很多情况下前者是更佳的实施方式。基于这样的理解, 本发明的技术方 案对背景技术做出贡献的全部或者部分可以以软件产品的形式体现出来,该计 算机软件产品可以存储在存储介质中, 如 ROM/RAM、 磁碟、 光盘等, 包括若 干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备 等)执行本发明各个实施例或者实施例的某些部分所述的方法。 最后应说明的是:以上实施例仅用以说明本发明的技术方案而非对其进行 限制,尽管参照较佳实施例对本发明进行了详细的说明, 本领域的普通技术人 员应当理解: 其依然可以对本发明的技术方案进行修改或者等同替换, 而这些 修改或者等同替换亦不能使修改后的技术方案脱离本发明技术方案的精神和 范围。

Claims

权 利 要 求
1、 一种存储系统, 其特征在于, 包括主节点、 近距离辅节点和远距离辅 节点, 其中:
所述主节点中包含有串行小型计算机系统 S AS接口和支持串行远距离传 输的协议接口, 所述远距离辅节点中包含有协议转换网关, 所述主节点的 SAS 接口与所述近距离辅节点之间采用 SAS电缆进行连接, 所述主节点中的支持串 行远距离传输的协议接口与所述远距离辅节点中的协议转换网关之间采用光 纤或串行电缆进行连接;
所述近距离辅节点为与所述主节点之间的物理分布距离不大于 SAS电缆 的安全传输距离的节点,所述远距离辅节点为与所述主节点之间的物理分布距 离大于 SAS电缆的安全传输距离的节点, 所述协议转换网关用于将数据由支持 串行远距离传输的协议格式转换成 SAS协议格式。
2、 根据权利要求 1所述的存储系统, 其特征在于:
所述支持串行远距离传输的协议包括光纤通道 FC协议、 以太网光纤通道
FCOE协议、 英特网小型计算机系统接口 ISCSI协议或 Infmiband协议。
3、 根据权利要求 1所述的存储系统, 其特征在于:
所述主节点包括存储控制器;
所述近距离辅节点和远距离辅节点包括硬盘阵列。
4、 根据权利要求 3所述的存储系统, 其特征在于,
所述协议转换网关设置于硬盘阵列的硬盘框级联板上; 或者
所述协议转换网关单独设置在硬盘阵列的硬盘框外。
5、 根据权利要求 1至 4任一所述的存储系统, 其特征在于,
所述协议转换网关包括具备辅助运算和高速緩冲存储器 Cache能力的协运 算单元。
6、 一种数据传输方法, 其特征在于, 包括:
接收数据;
根据所述数据的目的地址或所述数据中携带的传输接口标识确定所述数 据的传输接口;
当确定的传输接口为串行小型计算机系统 SAS接口时, 通过 SAS接口利用 SAS电缆将接收到的数据发送给近距离辅节点;
当确定的传输接口为支持串行远距离传输的协议接口时,通过支持串行远 距离传输的协议接口将接收到的数据通过光纤或串行电缆发送给远距离辅节 点。
7、 根据权利要求 6所述的方法, 其特征在于, 所述根据所述数据的目的地 址或所述数据中携带的传输接口标识确定所述数据的传输接口, 包括:
根据所述数据的目的地址或所述数据中携带的传输接口标识确定需要存 储的辅节点;
当接收到的数据需要存储到近距离辅节点时, 确定该数据的传输接口为 SAS接口, 当接收到的数据需要存储到远距离辅节点时, 确定该数据的传输接 口为支持串行远距离传输的协议接口。
8、 根据权利要求 6所述的方法, 其特征在于, 所述支持串行远距离传输的 协议包括光纤通道 FC协议、以太网光纤通道 FCOE协议、英特网小型计算机系 统接口 ISCSI协议或 Infiniband协议。
9、 一种数据传输装置, 其特征在于, 包括:
第一接收模块, 用于接收数据;
接口选择模块,用于根据所述数据的目的地址或所述数据中携带的传输接 口标识确定所述数据的传输接口;
发送模块, 用于当确定的传输接口为串行小型计算机系统 SAS接口时, 通 过 SAS接口利用 SAS电缆将接收到的数据发送给近距离辅节点; 当确定的传输 接口为支持串行远距离传输的协议接口时,通过支持串行远距离传输的协议接 口将接收到的数据通过光纤或串行电缆发送给远距离辅节点。
10、 根据权利要求 9所述的装置, 其特征在于, 所述接口选择模块, 包括: 节点判断单元,根据所述数据的目的地址或所述数据中携带的传输接口标 识确定需要存储的辅节点;
接口判断单元, 当接收到的数据需要存储到近距离辅节点时,确定该数据 的传输接口为 SAS接口, 当接收到的数据需要存储到远距离辅节点时, 确定该 数据的传输接口为支持串行远距离传输的协议接口。
11、 一种数据传输方法, 其特征在于, 包括:
接收主节点通过支持串行远距离传输的协议接口利用光纤或串行电缆发 送的数据;
将接收到的数据从支持串行远距离传输的协议格式转换成串行小型计算 机系统 SAS协议格式;
对接收到的数据进行初级处理,所述初级处理为根据预置策略对接收到的 数据进行基本运算或运算加速;
对转换成 SAS协议格式的数据进行处理。
12、 根据权利要求 11所述的方法, 其特征在于, 所述对转换成 SAS协议格 式的数据进行处理包括: 对转换成 SAS协议格式且经过初级处理后的数据进行 处理。
13、 一种数据传输装置, 其特征在于, 包括:
第二接收模块,用于接收主节点通过支持串行远距离传输的协议接口利用 光纤或串行电缆发送的数据;
转换模块,用于将接收到的数据从支持串行远距离传输的协议格式转换成 串行小型计算机系统 SAS协议格式;
第一处理模块, 用于对接收到的数据进行初级处理, 所述初级处理为根据 预置策略对接收到的数据进行基本运算或运算加速;
第二处理模块, 用于对转换成 SAS协议格式的数据进行处理。
14、 根据权利要求 13所述的装置, 其特征在于, 所述第二处理模块, 用于 对转换成 SAS协议格式且经过初级处理后的数据进行处理。
PCT/CN2011/070621 2010-02-01 2011-01-26 一种存储系统及数据传输方法 WO2011091747A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/564,018 US20120297100A1 (en) 2010-02-01 2012-08-01 Storage system and data transmission method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010104536A CN101778138A (zh) 2010-02-01 2010-02-01 一种存储系统及数据传输方法
CN201010104536.X 2010-02-01

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/564,018 Continuation US20120297100A1 (en) 2010-02-01 2012-08-01 Storage system and data transmission method

Publications (1)

Publication Number Publication Date
WO2011091747A1 true WO2011091747A1 (zh) 2011-08-04

Family

ID=42514462

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070621 WO2011091747A1 (zh) 2010-02-01 2011-01-26 一种存储系统及数据传输方法

Country Status (3)

Country Link
US (1) US20120297100A1 (zh)
CN (1) CN101778138A (zh)
WO (1) WO2011091747A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372013A (zh) * 2015-07-24 2017-02-01 华为技术有限公司 远程内存访问方法、装置和系统

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778138A (zh) * 2010-02-01 2010-07-14 成都市华为赛门铁克科技有限公司 一种存储系统及数据传输方法
WO2012176244A1 (en) * 2011-06-24 2012-12-27 Hitachi, Ltd. Storage system
JP5273830B2 (ja) * 2012-01-24 2013-08-28 Necインフロンティア株式会社 伝送方法、伝送装置及び伝送プログラム並びに伝送システム
US20140359612A1 (en) * 2013-06-03 2014-12-04 Microsoft Corporation Sharing a Virtual Hard Disk Across Multiple Virtual Machines
CN103414768B (zh) * 2013-07-31 2016-12-28 中国联合网络通信集团有限公司 数据处理方法、系统和网关
CN104598847B (zh) * 2015-02-02 2017-10-31 北京汉龙思琪数码科技有限公司 Sata硬盘矩阵级联系统
CN110190985A (zh) * 2019-04-30 2019-08-30 华为技术有限公司 管理设备对远端存储设备进行管理的方法
US11449455B2 (en) * 2020-01-15 2022-09-20 Alibaba Group Holding Limited Method and system for facilitating a high-capacity object storage system with configuration agility and mixed deployment flexibility

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1902616A (zh) * 2003-12-31 2007-01-24 英特尔公司 能够使用不同通信协议进行通信的中间设备
US20080098171A1 (en) * 2006-10-24 2008-04-24 Sridhar Balasubramanian System and method for implementing a meta-disk aggregation model for storage controllers
CN201174115Y (zh) * 2008-02-19 2008-12-31 浪潮电子信息产业股份有限公司 一种多主机接口存储控制器
CN101778138A (zh) * 2010-02-01 2010-07-14 成都市华为赛门铁克科技有限公司 一种存储系统及数据传输方法

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6682423B2 (en) * 2001-04-19 2004-01-27 Igt Open architecture communications in a gaming network
JP2006073045A (ja) * 2004-08-31 2006-03-16 Hitachi Ltd 記憶装置システム
JP4555029B2 (ja) * 2004-09-01 2010-09-29 株式会社日立製作所 ディスクアレイ装置
US7584325B2 (en) * 2006-07-26 2009-09-01 International Business Machines Corporation Apparatus, system, and method for providing a RAID storage system in a processor blade enclosure
US8140696B2 (en) * 2007-03-12 2012-03-20 International Business Machines Corporation Layering serial attached small computer system interface (SAS) over ethernet
US7917682B2 (en) * 2007-06-27 2011-03-29 Emulex Design & Manufacturing Corporation Multi-protocol controller that supports PCIe, SAS and enhanced Ethernet
US7523233B1 (en) * 2008-02-05 2009-04-21 International Business Machines Corporation System and method of tunneling SAS-extender discovery through a fibre-channel fabric
US8019895B2 (en) * 2008-03-25 2011-09-13 International Business Machines Corporation Serial attached SCSI and serial ATA wide port tunnelling through a fibre channel connection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1902616A (zh) * 2003-12-31 2007-01-24 英特尔公司 能够使用不同通信协议进行通信的中间设备
US20080098171A1 (en) * 2006-10-24 2008-04-24 Sridhar Balasubramanian System and method for implementing a meta-disk aggregation model for storage controllers
CN201174115Y (zh) * 2008-02-19 2008-12-31 浪潮电子信息产业股份有限公司 一种多主机接口存储控制器
CN101778138A (zh) * 2010-02-01 2010-07-14 成都市华为赛门铁克科技有限公司 一种存储系统及数据传输方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIN XINLIANG: "Good development of storage device interface SAS", ELECTRONIC TECHNOLOGY, 31 May 2005 (2005-05-31), pages 65 - 67 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372013A (zh) * 2015-07-24 2017-02-01 华为技术有限公司 远程内存访问方法、装置和系统
CN106372013B (zh) * 2015-07-24 2019-11-12 华为技术有限公司 远程内存访问方法、装置和系统

Also Published As

Publication number Publication date
US20120297100A1 (en) 2012-11-22
CN101778138A (zh) 2010-07-14

Similar Documents

Publication Publication Date Title
WO2011091747A1 (zh) 一种存储系统及数据传输方法
JP5520951B2 (ja) Usbデバイスをリモートコンピュータに接続する方法及び装置
CA2657827C (en) Method and apparatus for distributing usb hub functions across a network
JP5542707B2 (ja) 装置接続形態における音声/ビデオ・ストリーミングのためのメッセージを送る構成
EP1750401B1 (en) USB 1.1 over a high speed link
EP1697850B1 (en) Managing transmissions between devices
WO2015197027A1 (zh) 一种访问NVMe存储设备的方法和NVMe存储设备
JP2002542527A (ja) 一般的なシリアルバスプロトコルの範囲を拡張する方法並びに装置
JP2006033854A (ja) ノード間の通信を可能にする方法、システム、およびプログラム
US11991083B2 (en) Systems and methods for enhanced autonegotiation
US8359401B2 (en) Network switch
US9195626B2 (en) Reducing write I/O latency using asynchronous Fibre Channel exchange
US20150227486A1 (en) Method to Facilitate Fast Context Switching for Partial and Extended Path Extension to Remote Expanders
WO2015055008A1 (zh) 一种存储控制芯片及磁盘报文传输方法
US20110167190A1 (en) Apparatus and method for distant bus extended system
CN113204517B (zh) 一种电力专用以太网控制器的核间共享方法
EP2300925B1 (en) System to connect a serial scsi array controller to a storage area network
CN102223285B (zh) 处理数据报文的方法及网络节点
KR100887931B1 (ko) 무선 usb 시스템의 양방향 데이터 송수신 방법
JP3601381B2 (ja) 光回線終端装置
JP2008135048A (ja) クロスコール機能を備えるディスク制御装置
GB2477415A (en) Path training via messages in a video streaming topology

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11736629

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11736629

Country of ref document: EP

Kind code of ref document: A1