WO2016023187A1 - 处理操作请求的存储系统、方法及装置 - Google Patents

处理操作请求的存储系统、方法及装置 Download PDF

Info

Publication number
WO2016023187A1
WO2016023187A1 PCT/CN2014/084255 CN2014084255W WO2016023187A1 WO 2016023187 A1 WO2016023187 A1 WO 2016023187A1 CN 2014084255 W CN2014084255 W CN 2014084255W WO 2016023187 A1 WO2016023187 A1 WO 2016023187A1
Authority
WO
WIPO (PCT)
Prior art keywords
operation request
scsi protocol
disk
ethernet
protocol
Prior art date
Application number
PCT/CN2014/084255
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
Priority to CN201480001877.0A priority Critical patent/CN105518610B/zh
Priority to SG11201600679XA priority patent/SG11201600679XA/en
Priority to BR112016003488-0A priority patent/BR112016003488B1/pt
Priority to KR1020167004294A priority patent/KR101752823B1/ko
Priority to PCT/CN2014/084255 priority patent/WO2016023187A1/zh
Priority to AU2014401914A priority patent/AU2014401914B2/en
Priority to EP14864981.7A priority patent/EP3026547B1/en
Priority to CA2918549A priority patent/CA2918549C/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201710216091.6A priority patent/CN107168903B/zh
Priority to JP2016516549A priority patent/JP6272465B2/ja
Priority to EP18152860.5A priority patent/EP3413185A1/en
Priority to US14/728,178 priority patent/US9753650B2/en
Priority to ZA2016/00666A priority patent/ZA201600666B/en
Publication of WO2016023187A1 publication Critical patent/WO2016023187A1/zh
Priority to US15/641,583 priority patent/US9940032B2/en
Priority to US15/912,275 priority patent/US10061519B2/en
Priority to US16/103,871 priority patent/US10372343B2/en

Links

Classifications

    • 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/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • 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/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
    • 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/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD

Definitions

  • the present invention relates to the field of information technology, and in particular, to a storage system, method and apparatus for processing an operation request.
  • the Internet Small Computer System Interface (iSCSI) protocol is a network storage protocol developed by the IETF to communicate with storage devices using the Internet Protocol (IP).
  • IP Internet Protocol
  • small computer system interface (SCSI) protocol communication is used on the IP protocol network, that is, communication using iSCSI protocol promotes the development of storage technology and realizes long-distance transmission of data.
  • the storage system includes a controller, a disk enclosure (Disk Enclosure), and a disk, wherein the controller communicates with the disk frame through the iSCSI protocol, and multiple disks are connected in the disk frame, and the disk frame and the connected multiple disks are called together. In this scenario, the controller is separated from the disk enclosure to achieve flexible deployment.
  • the controller communicates with the disk frame through the iSCSI protocol. Both the controller and the disk frame need to first package the SCSI protocol through the Transport Control Protocol/Internet Protocol (TCP/IP) and then the media. Access Control (MAC) layer encapsulation. Similarly, the decapsulation process is also decapsulated by the MAC layer and decapsulated by the TCP/IP layer. Due to the multi-layer protocol encapsulation or decapsulation, the storage system central processing unit (CPU) resource consumption and storage system processing are increased. Delay, reducing storage system performance. Summary of the invention
  • Embodiments of the present invention provide a storage system, method, and apparatus for processing an operation request.
  • an embodiment of the present invention provides a storage system for processing an operation request, where the storage system includes a controller and a disk frame, and the controller communicates with the disk frame through an Ethernet network; a processor and a backend adapter; the disk frame and the backend adapter each have a media access control MAC address, the disk frame is connected to a plurality of disks, and each disk in the disk frame passes through a serial small computer system
  • the interface SAS protocol is connected to the disk frame; the backend adapter saves a correspondence between a MAC address of the disk frame and a SAS protocol address of each disk in the disk frame;
  • the backend adapter is configured to receive a small computer system interface SCSI protocol operation request sent by the central processing unit, where the SCSI protocol operation request carries a SCSI protocol transaction identifier of the controller and a SAS protocol address of the target disk, Querying, according to the SAS protocol address of the target disk, a MAC address of the disk frame and a SAS protocol address of the target disk, obtaining a MAC address of the disk frame, and packaging the SCSI protocol operation request into an Ethernet operation. Sending the Ethernet operation request message to the disk frame according to the MAC address of the disk frame; the Ethernet operation request message carrying the MAC address of the backend adapter and the MAC address of the disk frame ;
  • the disk frame is configured to receive and decapsulate the Ethernet operation request message, obtain the SCSI protocol operation request, and send the SCSI protocol operation request to the target disk according to the SAS protocol address of the target disk.
  • the disk frame is further configured to establish a correspondence between a MAC address of the backend adapter and a SCSI protocol transaction identifier of the controller;
  • the disk frame is further configured to receive a SCSI protocol operation request response sent by the target disk according to the SCSI protocol operation request, where the SCSI protocol operation request response carries a SCSI protocol transaction identifier of the controller, according to the The SCSI protocol transaction identifier of the controller queries the correspondence between the MAC address of the backend adapter and the SCSI protocol transaction identifier of the controller, obtains the MAC address of the backend adapter, and encapsulates the SCSI protocol operation request response. Sending, by the Ethernet operation request response message, the Ethernet operation request response message to the controller according to the MAC address of the backend adapter; the Ethernet operation request response message carries a MAC address of the backend adapter;
  • the backend adapter is further configured to receive and decapsulate the Ethernet operation request response message, obtain the SCSI protocol operation request response, and send the SCSI protocol operation request response to the central processor.
  • the backend adapter is further configured to: use the SCSI protocol of the controller in the SCSI protocol operation request
  • the transaction identifier is encapsulated into the first field of the Ethernet operation request message
  • the SAS protocol address of the target disk in the SCSI protocol operation request is encapsulated into a second field of the Ethernet operation request message
  • the first field, the second field, and a field carrying the SCSI protocol operation request are three different fields;
  • the disk frame establishes a MAC address of the backend adapter and the controller
  • the corresponding relationship between the SCSI protocol transaction identifiers includes: decapsulating the first field of the Ethernet operation request message by the disk frame, obtaining a SCSI protocol transaction identifier of the controller, and establishing a MAC address of the backend adapter. Correspondence between the address and the SC SI protocol transaction identifier of the controller;
  • the disk frame the SCSI protocol operation request to the target disk according to the SAS protocol address of the target disk, specifically: the disk frame decapsulating the second field of the Ethernet operation request message, Obtaining a SAS protocol address of the target disk, and sending the SCSI protocol operation request to the target disk according to a SAS protocol address of the target disk.
  • an embodiment of the present invention provides a method for processing an operation request, where the method is applied to a controller, and the controller communicates with a disk frame through an Ethernet network;
  • the controller includes a central processing unit and a back end adapter.
  • the disk frame and the backend adapter each have a media access control MAC address;
  • the disk frame is connected to a plurality of disks, and each disk in the disk frame passes the serial small computer system interface SAS protocol and the a frame connection;
  • the backend adapter saves a correspondence between a MAC address of the disk frame and a SAS protocol address of each disk in the disk frame;
  • the method includes:
  • the central processor sends a small computer system interface SCSI protocol operation request; wherein the SCSI protocol operation request carries a SAS protocol address of the target disk; and the backend adapter receives the SCSI protocol operation sent by the central processor And requesting, according to the SAS protocol address of the target disk, querying a correspondence between a MAC address of the disk frame and a SAS protocol address of the target disk, and obtaining the frame a MAC address, the SCSI protocol operation request is encapsulated into an Ethernet operation request message carrying a MAC address of the backend adapter and a MAC address of the disk frame, and sent to the disk frame according to the MAC address of the disk frame.
  • the Ethernet operation requests a message.
  • the SCSI protocol operation request further carries a SCSI protocol transaction identifier
  • the method further includes: encapsulating the SCSI protocol transaction identifier into the Ethernet operation request packet a field, the SAS protocol address of the target disk is encapsulated into a second field of the Ethernet operation request message, where the first field, the second field, and the Ethernet operation request message are carried in the second field
  • the fields of the SC SI protocol operation request belong to three different fields.
  • the method further includes:
  • the backend adapter receives and decapsulates an Ethernet response message of the Ethernet operation request message sent by the disk frame, obtains a SCSI protocol operation request response, and sends the SCSI protocol operation request response to the central processor.
  • the Ethernet response message of the Ethernet operation request message carries the MAC address of the backend adapter; the central processor receives the SCSI protocol operation request response.
  • an embodiment of the present invention provides a method for processing an operation request, where the method is applied to a disk frame, and the controller communicates with the disk frame through an Ethernet network; the controller includes a central processing unit and a back end adapter.
  • the disk frame and the backend adapter each have a media access control MAC address; the disk frame is connected to a plurality of disks, and each disk in the disk frame passes the serial small computer system interface SAS protocol and the Disk frame connection
  • the method includes:
  • the disk frame receives and decapsulates the Ethernet operation request message sent by the controller, and obtains a small computer system interface SCSI protocol operation request; wherein the Ethernet operation request message carries the MAC address of the backend adapter and the a MAC address of the disk frame; the SCSI protocol operation request carries a SCSI protocol transaction identifier of the controller and a SAS protocol address of the target disk;
  • the disk frame sends the SCSI protocol operation request to the target disk according to a SAS protocol address of the target disk.
  • the method further includes: the disk frame establishing a correspondence between a MAC address of the backend adapter and a SCSI protocol transaction identifier of the controller;
  • the disk frame receives a SCSI protocol operation request response sent by the target disk according to the SCSI protocol operation request; wherein the SCSI protocol operation request response carries a SCSI protocol transaction identifier of the controller;
  • the disk enclosure encapsulates the SCSI protocol operation request response into an Ethernet operation request response message; the Ethernet operation request response message carries a MAC address of the backend adapter;
  • the disk frame sends the Ethernet operation request response message to the controller according to a MAC address of the backend adapter.
  • the first field of the Ethernet operation request packet carries the SCSI protocol transaction identifier
  • the second field of the Ethernet operation request packet The SAS protocol carrying the target disk; wherein the first field, the second field, and the field in the Ethernet operation request message carrying the SCSI protocol operation request respectively belong to three different fields.
  • the method includes: decapsulating the first field of the Ethernet operation request packet by the disk frame, Obtaining a SCSI protocol transaction identifier of the controller, establishing a correspondence between a MAC address of the backend adapter and an SC SI protocol transaction identifier of the controller;
  • the disk frame the SCSI protocol operation request to the target disk according to the SAS protocol address of the target disk, specifically: the disk frame decapsulating the second field of the Ethernet operation request message, Obtaining a SAS protocol address of the target disk, and sending the SCSI protocol operation request to the target disk according to a SAS protocol address of the target disk.
  • an embodiment of the present invention provides a controller, where the controller is applied to a storage system, where the storage system includes the controller and a disk frame; the controller includes a central processing unit and a back end adapter; The disk frame and the backend adapter each have a media access control MAC address; the disk frame is connected to a plurality of disks, and each disk in the disk frame passes through a serial small computer system interface SAS protocol and the disk a frame connection; the backend adapter saves a MAC address of the disk frame and a SAS protocol address corresponding to each disk in the disk frame; the controller and the disk frame pass through an Ethernet network Communication
  • the central processing unit is configured to send a small computer system interface SCSI protocol operation request, where the SCSI protocol operation request carries a SAS protocol address of the target disk;
  • the backend adapter is configured to receive the SCSI protocol operation request, query a correspondence between a MAC address of the disk frame and a SAS protocol address of the target disk according to a SAS protocol address of the target disk, to obtain the disk
  • the MAC address of the frame, the SCSI protocol operation request is encapsulated into an Ethernet operation request message, and the Ethernet operation request message is sent to the disk frame according to the MAC address of the disk frame;
  • the MAC address of the backend adapter and the MAC address of the disk frame is configured to receive the SCSI protocol operation request, query a correspondence between a MAC address of the disk frame and a SAS protocol address of the target disk according to a SAS protocol address of the target disk, to obtain the disk
  • the MAC address of the frame, the SCSI protocol operation request is encapsulated into an Ethernet operation request message, and the Ethernet operation request message is sent to the disk frame according to the MAC address of the disk frame;
  • the MAC address of the backend adapter and the MAC address of the disk frame is configured to
  • the SCSI protocol operation request further carries a SCSI protocol transaction identifier
  • the backend adapter is further configured to encapsulate the SCSI protocol transaction identifier into the Ethernet operation request report.
  • a first field of the text, the SAS protocol address of the target disk is encapsulated into a second field of the Ethernet operation request message; wherein the first field, the second field, and the Ethernet operation request message.
  • the backend adapter is further configured to receive and decapsulate the ether of the Ethernet operation request message sent by the disk frame Responding to the message, obtaining a SCSI protocol operation request response, and sending the SCSI protocol operation request response to the central processor;
  • the Ethernet response request message of the Ethernet operation request message carries the backend adapter
  • an embodiment of the present invention provides a disk frame, where the disk frame is applied to a storage system, where the storage system includes a controller and a disk frame; the controller includes a central processing unit and a back end adapter; The disk frame and the backend adapter have media access control MAC addresses; the disk frame is connected to a plurality of disks, and each disk in the disk frame is connected to the disk frame through a serial small computer system interface SAS protocol.
  • the controller communicates with the disk frame through an Ethernet network; wherein the disk frame includes:
  • a first transceiver unit configured to receive an Ethernet operation request message sent by the controller, where the Ethernet operation request message carries a MAC address of the backend adapter and a MAC address of the disk frame;
  • An encapsulation and decapsulation unit configured to decapsulate the Ethernet operation request message received by the first transceiver unit to obtain a small computer system interface SCSI protocol operation request; and the SCSI protocol operation request carries a SCSI protocol transaction of the controller The SAS protocol address of the identification and target disk;
  • a second transceiver unit configured to send the SCSI protocol operation request to the target disk according to the SAS protocol address of the target disk.
  • the first possible implementation manner further includes: establishing a unit and querying the unit;
  • the establishing unit is configured to establish a correspondence between a MAC address of the backend adapter and a SCSI protocol transaction identifier of the controller;
  • the second transceiver unit is further configured to receive a SCSI protocol operation request response sent by the target disk according to the SCSI protocol operation request, where the SCSI protocol operation request response carries an SC SI protocol transaction identifier of the controller ;
  • the query unit is configured to query, according to the SCSI protocol transaction identifier of the controller, a correspondence between a MAC address of the backend adapter established by the establishing unit and a SCSI protocol transaction identifier of the controller, and obtain the The MAC address of the end adapter;
  • the encapsulating and decapsulating unit is further configured to encapsulate the SCSI protocol operation request response into an Ethernet operation request response message; the Ethernet operation request response message carries a MAC address of the backend adapter;
  • the first transceiver unit is further configured to send the Ethernet operation request response message to the controller according to a MAC address of the backend adapter.
  • the first field of the Ethernet operation request packet carries the SCSI protocol transaction identifier, and the second field of the Ethernet operation request packet a SAS protocol carrying the target disk; wherein the first field, the second field, and the field in the Ethernet operation request message carrying the SCSI protocol operation request respectively belong to three different fields;
  • the establishing unit establishes a correspondence between the MAC address of the backend adapter and the SCSI protocol transaction identifier of the controller, specifically: the encapsulating and decapsulating unit decapsulates the first field of the Ethernet operation request message, Obtaining a SCSI protocol transaction identifier of the controller, where the establishing unit establishes a correspondence between a MAC address of the backend adapter and a SCSI protocol transaction identifier of the controller;
  • an embodiment of the present invention provides a back-end adapter, which is applied to a controller of a storage system, where the storage system includes a controller and a disk frame; the controller includes a central processing unit and the back-end adapter
  • the disk frame and the backend adapter each have a media access control MAC address;
  • the disk frame is connected to a plurality of disks, and each disk in the disk frame passes the serial small computer system interface SAS protocol and the a frame connection;
  • the backend adapter stores a MAC address of the disk frame and a SAS protocol address corresponding to each disk in the disk frame;
  • the controller communicates with the disk frame through an Ethernet network;
  • the backend adapter includes:
  • a first transceiver unit configured to receive a small computer system interface SCSI protocol operation request sent by the central processing unit, where the SCSI protocol operation request carries a SAS protocol address of the target disk;
  • a query unit configured to query a MAC address of the disk frame and a SAS protocol address of the target disk, to obtain a MAC address of the disk frame;
  • Encapsulating and decapsulating unit configured to encapsulate the SCSI protocol operation request into an Ethernet operation request message; the Ethernet operation request message carries the backend adapter
  • the second transceiver unit is configured to send the Ethernet operation request message to the disk frame according to the MAC address of the disk frame.
  • the SCSI protocol operation request further carries a SCSI protocol transaction identifier
  • the encapsulation and decapsulation unit is further configured to encapsulate the SCSI protocol transaction identifier into the Ethernet operation a first field of the request packet
  • the SAS protocol address of the target disk is encapsulated into a second field, where the first field, the second field, and the Ethernet operation request message carry the SCSI protocol
  • the fields of the operation request belong to three different fields.
  • the second transceiver unit is further configured to receive an Ethernet response packet of the Ethernet operation request packet sent by the disk frame, where The Ethernet response message of the Ethernet operation request message carries the MAC address of the backend adapter;
  • the encapsulating and decapsulating unit is further configured to decapsulate the Ethernet response message of the Ethernet operation request message, and obtain a SCSI protocol operation request response;
  • the first transceiver unit is further configured to send the SCSI protocol operation request response to the central processor.
  • an embodiment of the present invention provides a back-end adapter, which is applied to a controller of a storage system, where the storage system includes a controller and a disk frame; the controller includes a central processing unit and the back-end adapter
  • the disk frame and the backend adapter each have a media access control MAC address;
  • the disk frame is connected to a plurality of disks, and each disk in the disk frame passes the serial small computer system interface SAS protocol and the a frame connection;
  • the backend adapter saves a MAC address of the disk frame and each of the disk frames Corresponding relationship of the SAS protocol address of the block disk; the controller and the disk frame communicate through an Ethernet network;
  • the back-end adapter includes a first interface, a second interface, a memory, and a first central processing unit; the first interface is configured to receive a small computer system interface SCSI protocol operation request sent by the central processing unit;
  • the SCSI protocol operation request carries a SAS protocol address of the target disk;
  • the first central processor executes computer instructions in the memory to perform the following operations:
  • the second interface is configured to send the Ethernet operation request message to the disk frame according to the MAC address of the disk frame.
  • the SCSI protocol operation request further carries a SCSI protocol transaction identifier, where the first central processing unit executes the computer instruction in the memory, and performs the following operations:
  • the second interface is further configured to receive an Ethernet response packet of the Ethernet operation request packet sent by the disk frame, where And the Ethernet response of the Ethernet operation request message carries the MAC address of the backend adapter;
  • the first central processor executes the computer instructions in the memory and is further configured to:
  • the first interface is further configured to send the SCSI protocol operation request response to the central processor.
  • an embodiment of the present invention provides a disk frame, where the disk frame is applied to a storage system, where the storage system includes a controller and a disk frame; the controller includes a central processing unit and a back end adapter; The disk frame and the backend adapter have media access control MAC addresses; the disk frame is connected to a plurality of disks, and each disk in the disk frame is connected to the disk frame through a serial small computer system interface SAS protocol.
  • the controller communicates with the disk frame through an Ethernet network;
  • the disk frame includes: a front end interface, a back end interface, a first central processing unit, and a first memory;
  • the front end interface is configured to receive and decapsulate an Ethernet operation request message sent by the controller, obtain a small computer system interface SCSI protocol operation request, and send the SCSI protocol operation request to the first central processing unit;
  • the Ethernet operation request carries the MAC address of the backend adapter and the MAC address of the disk frame;
  • the SCSI protocol operation request carries a SCSI protocol transaction identifier of the controller and a SAS protocol address of the target disk;
  • the first central processor executes computer instructions in the first memory to perform the following operations:
  • the backend interface is configured to receive the SCSI protocol operation request, and send the SCSI protocol operation request to the target disk according to a SAS protocol address of the target disk.
  • the first central processing unit executes the computer instruction in the first memory, and further performs the following operations:
  • the backend interface is further configured to receive a SCSI protocol operation request response sent by the target disk according to the SCSI protocol operation request, where the SCSI protocol operation request response carries a SCSI protocol transaction identifier of the controller;
  • the first central processor executes the computer instructions in the first memory, and further performs the following operations:
  • the front end interface is further configured to receive the
  • the SCSI protocol operation request response encapsulating the SCSI protocol operation request response into an Ethernet operation request response message according to the MAC address of the backend adapter found by the first central processing unit; according to the backend adapter
  • the MAC address sends the Ethernet operation request response message to the controller; the Ethernet operation request response message carries a MAC address of the backend adapter.
  • the first field of the Ethernet operation request packet carries the SCSI protocol transaction identifier
  • the second field of the Ethernet operation request packet a SAS protocol carrying the target disk
  • the first field, the second field, and the field in the Ethernet operation request message carrying the SCSI protocol operation request respectively belong to three different fields
  • Establishing a correspondence between a MAC address of the backend adapter and a SCSI protocol transaction identifier of the controller specifically:
  • the front end interface decapsulates the first field of the Ethernet operation request message, obtains a SCSI protocol transaction identifier of the controller, and the first processor establishing unit establishes a MAC address and a location of the backend adapter Corresponding relationship of the SCSI protocol transaction identifier of the controller;
  • the sending, by the backend interface, the SCSI protocol operation request to the target disk according to the SAS protocol address of the target disk specifically: the front end interface decapsulates the second of the Ethernet operation request message a field, obtaining a SAS protocol address of the target disk, where the backend interface sends the SCSI protocol operation request to the target disk according to a SAS protocol address of the target disk.
  • the controller will encapsulate the SCSI protocol operation request to the Ethernet operation request message directly at the MAC layer without passing the SCSI protocol operation request through the TCP/IP protocol layer.
  • the frame decapsulation Ethernet operation request obtains a SCSI protocol operation request, and sends a SCSI protocol operation request to the target disk, which reduces the encapsulation level, reduces the storage system processing delay, and improves the storage system performance.
  • FIG. 1 is a structural diagram of a storage system according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a controller according to an embodiment of the present invention.
  • 3a and 3b are schematic diagrams showing the structure of a disk frame according to an embodiment of the present invention.
  • FIG. 4 is a two-dimensional table of correspondence between a SCSI protocol transaction identifier of a disk enclosure storage controller and a MAC address of a backend adapter according to an embodiment of the present invention
  • FIG. 5 is a flowchart of communication between a controller, a disk frame and a target disk according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a S AS protocol for collecting, by a controller, a MAC address of a disk frame and a disk communicating with the disk frame by using a heartbeat broadcast packet according to an embodiment of the present invention
  • Flow chart of the address
  • FIG. 7 is a schematic diagram of a packet format of a heartbeat broadcast packet according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a format of a packet response of a heartbeat broadcast packet according to an embodiment of the present invention
  • FIG. 9 is a corresponding diagram of a MAC address of a disk frame saved by a backend adapter and a SAS protocol address of a disk communicated with the disk frame according to an embodiment of the present invention
  • Two-dimensional table diagram Two-dimensional table diagram
  • FIG. 10 is a schematic structural diagram of a controller according to an embodiment of the present invention
  • 11 is a schematic structural diagram of a backend adapter according to an embodiment of the present invention
  • FIG. 12 is a schematic diagram of a format of an Ethernet operation request packet for encapsulating a SCSI protocol operation request according to an embodiment of the present invention
  • FIG. 13 is a schematic structural diagram of a backend adapter according to an embodiment of the present invention.
  • FIG. 14 is a system diagram of a storage system architecture according to an embodiment of the present invention.
  • a storage system includes a controller 101 and a disk frame 102.
  • the disk frame 102 is connected to a plurality of disks 1031...103n, 1041 ... 104n, where ⁇ can be defined according to the needs of the storage system. For connecting multiple disks in the disk frame 102
  • the other expression is: a plurality of discs 1031...103n, 1041...104n are placed in the disc frame 102, wherein the discs 1031...103n , 1041 ... 104 ⁇ are communicatively coupled to the disk frame 102.
  • the controller 101 communicates with the disk frame 102 through an Ethernet network, and the disks 1031...103n, 1041...104n are connected to the disk frame 102 through a serial small computer system interface (SAS), regarding the specificity of the SAS protocol.
  • SAS serial small computer system interface
  • Introduction can refer to the S AS Protocol Layer - 2 (SPL-2) standard
  • the disk 1031...103 ⁇ , 1041...104n may be a magnetic disk, a solid state hard disk, or other storage medium, or a combination of the foregoing storage media, which is not limited by the embodiment of the present invention. Set.
  • FIG. 2 An exemplary structure of the controller 101 is as shown in FIG. 2, including a front end adapter 1011, a central processing unit 1012, a memory 1013, and a backend adapter 1014.
  • the front end adapter 1011 is in communication with a server, and is configured to receive a read request sent by the server. And returning data to the server according to the read request, or for receiving a write request sent by the server, and sending a response to the server according to the write request.
  • the central processing unit 1012 is configured to process the read/write request received by the front end adapter according to the computer instruction in the memory 1013, or to send an operation request to the disk in the disk frame 102, or receive an operation request response sent by the disk frame 102.
  • the backend adapter 1014 is configured to communicate with the disk enclosure 102 via an Ethernet network.
  • the disk block 102 includes a front end interface 1021, a central processing unit 1022, a memory 1023, and a back end interface 1024.
  • the disk frame 102 communicates with the controller 101 through the front end interface 1021, and the back end interface 1024 is used for the disk. 1031 ... 103 ⁇ , 1041 ...
  • a central processing unit 1022 configured to process a first protocol based read operation request or a write operation request from the controller 101, requesting a disk according to the read operation request or the write operation request
  • the target disk in 1031...103 ⁇ , 1041...104n transmits a read operation request or a write operation request based on the second protocol, and according to the second protocol-based read operation request or write operation request response sent by the target disk,
  • the controller 101 sends a read operation request or a write operation request response based on the first protocol.
  • the first protocol and the second protocol may be different protocols, which are determined by the usage scenario. Specifically, in the embodiment of the present invention, the first protocol is Ethernet.
  • the communication protocol, the second protocol is the SAS protocol.
  • the backend interface 1024 of the disk frame 102 communicates with the SAS protocol interface of the disks 1031...103n, 1041...104n via the S AS protocol interface using the SCSI protocol.
  • the front end interface 1021 of the disk frame 102 is configured to receive and decapsulate an Ethernet operation request sent by the controller. The message, obtaining a SCSI protocol operation request, sends the SCSI protocol operation request to the central processor 1022.
  • the Ethernet operation request message carries the MAC address of the backend adapter 1014 and the MAC address of the disk frame 102; the SCSI protocol operation request carries the SCSI protocol transaction identifier of the controller 101 and the SAS protocol address of the target disk 1031, where The SCSI protocol transaction identifier is used to uniquely identify the specific SCSI protocol transaction link established by the controller 101 with the target disk 1031; the target disk refers to the disk to which the SCSI protocol operation requests access.
  • the central processor 1022 executes the computer instructions in the memory 1023 to perform the operation of receiving the SCSI protocol operation request, establishing a correspondence between a MAC address of the backend adapter 1014 and a SCSI protocol transaction identifier of the controller 101.
  • the relationship is sent to the backend interface 1024 according to the SAS protocol address of the target disk 1031.
  • an implementation manner is: parsing the SCSI protocol operation request to obtain the SAS protocol address of the target disk 1031.
  • the backend interface 1024 is configured to receive the SCSI protocol operation request, and send the SCSI protocol operation request to the target disk 1031.
  • the backend interface 1024 is further configured to receive the SCSI sent by the target disk 1031 according to the SCSI protocol operation request.
  • the protocol operation request response; wherein the SCSI protocol operation request response carries the SCSI protocol transaction identifier of the controller 101.
  • the central processor 1022 executes the computer instructions in the memory, and further performs the following operations: querying the MAC address of the backend adapter 1014 according to the SCSI protocol transaction identifier of the controller 101 carried in response to the SCSI protocol operation request response. Corresponding relationship of the SCSI protocol transaction status identifier of the controller 101, obtaining the MAC address of the backend adapter 1014; the front end interface 1201 is further configured to receive the SCSI protocol sent by the central processing unit 1022 Operation request response, according to the backend adapter 1014 found by the central processor 1022
  • the SCSI protocol operation request response is encapsulated into an Ethernet operation request response message carrying a MAC address of the backend adapter 1014; and the Ethernet operation request is sent to the controller 101 according to a MAC address of the backend adapter 1014. Response message.
  • the backend adapter 1014 encapsulates the SCSI protocol operation request into the Ethernet operation request message, and also encapsulates the SCSI protocol transaction identifier of the controller 101 carried by the SCSI protocol operation request into the first of the Ethernet operation request message.
  • a field, the SAS protocol address of the target disk is encapsulated into the second field, and the Ethernet operation request message is sent to the disk frame 102.
  • the first field, the second field, and the field carrying the SCSI protocol operation request are three different fields.
  • the field 102 decapsulates the Ethernet request message, and the field carrying the SCSI protocol operation request may not be parsed, and the SCSI protocol transaction identifier of the controller 101 and the SAS protocol address of the target disk are obtained from the SCSI protocol operation request, and The SAS protocol address of the target disk is obtained from the foregoing second field, and the SCSI protocol operation request is sent to the target disk according to the SAS protocol address of the target disk, and the disk frame 102 obtains the SCSI protocol transaction of the controller 101 from the foregoing first field. Identification, establishing control according to the SCSI protocol transaction identifier of the controller 101 obtained from the foregoing first field Correspondence between the SCSI protocol transaction identifier of the device 101 and the MAC of the backend adapter 101.
  • the controller 101 can be established without parsing the SCSI protocol operation request.
  • the SCSI protocol transaction identifier establishes a correspondence between the SCSI protocol transaction identifier of the controller 101 and the MAC of the backend adapter 101, and sends the SCSI protocol operation request to the target disk, thereby saving the computing resources of the disk frame 102.
  • the central processor 1022 of the disk frame 102 establishes the SCSI protocol of the controller 101.
  • Correspondence between the transaction identifier and the MAC address of the backend adapter 1014, as shown in FIG. 4, stores the correspondence between the SCSI protocol transaction identifier of the controller 101 and the MAC address of the backend adapter 1014 in the form of a two-dimensional table.
  • the two-dimensional table may be stored in a two-dimensional array or a computer readable form, which is not limited herein.
  • the SCSI protocol operation request response message and the Ethernet operation request response message respectively correspond to the SCSI protocol operation request and the Ethernet operation request message packet format, with the specific difference that the content carried in the message field is different.
  • the first field carries the SCSI protocol transaction identifier
  • the second field carries the destination SAS protocol address
  • the first field still carries the SCSI protocol transaction in the Ethernet operation request response message.
  • ID the destination SAS protocol address in the second field is empty.
  • the disk frame 102 depicted in Figure 3a of the present invention may be embodied by a computer including a general purpose central processor, as shown in Figure 3a.
  • a computer including a general purpose central processor, as shown in Figure 3a.
  • ASIC application-specific integrated circuit
  • FPGA Field Programmable Gate Array
  • FIG. 3b another logical presentation of the structure of the disk frame 102 is based on the structure of the disk frame 102 as shown in Figure 3a. Includes the following units.
  • the first transceiver unit 102 is configured to receive an Ethernet operation request message sent by the controller 101.
  • the Ethernet operation request message carries a MAC address of the backend adapter 1014 and a MAC address of the disk frame 102.
  • Encapsulating and decapsulating unit 1022' for receiving the first transceiver unit 102 The operation request message decapsulation obtains a SCSI protocol operation request; the SCSI protocol operation request carries a SCSI protocol transaction identifier of the controller 101 and a SAS protocol address of the target disk 1031.
  • the second transceiver unit 1024 is configured to send the SCSI protocol operation request to the target disk 1031 according to the SAS protocol address of the target disk 1031.
  • the disk frame 102 further includes an establishing unit 1023, and a query unit 1025.
  • the establishing unit 1023 is configured to establish a correspondence between a MAC address of the backend adapter 1014 and a SCSI protocol transaction identifier of the controller 101.
  • the second transceiver unit 1024' is further configured to: receive a SCSI protocol operation request response sent by the target disk 1031 according to the SCSI protocol operation request; wherein the SCSI protocol operation request response carries the SCSI protocol transaction of the controller 101.
  • logo the SCSI protocol operation request response sent by the target disk 1031 according to the SCSI protocol operation request.
  • the query unit 1025 is configured to obtain, according to the SCSI protocol transaction identifier query establishing unit 1023 of the controller 101, the correspondence between the MAC address of the established backend adapter 1014 and the SCSI protocol transaction identifier of the controller 101, and obtain the MAC of the backend adapter 1014. address.
  • the encapsulation and decapsulation unit 1022 is further configured to encapsulate the SCSI protocol operation request response into an Ethernet operation request response message, where the Ethernet operation request response message carries a MAC address of the backend adapter 1014.
  • the first transceiver unit 102 ⁇ It is also used to send the Ethernet operation request response message to the controller 101 according to the MAC address of the backend adapter 1014.
  • the first field of the Ethernet operation request message carries the SCSI protocol transaction identifier
  • the second field of the Ethernet operation request message carries the SAS protocol of the target disk 1031; wherein, the first field, The second field and the field carrying the SCSI protocol operation request in the Ethernet operation request message respectively belong to three different fields.
  • Building unit 1023 The relationship between the MAC address of the backend adapter 1014 and the SCSI protocol transaction identifier of the controller 101 is specifically configured to: the encapsulating and decapsulating unit 1022, decapsulating the Ethernet operation request message.
  • the first field obtains the SCSI protocol transaction identifier of the controller 101, and the establishing unit 1023 establishes a correspondence between the MAC address of the backend adapter 1014 and the SCSI protocol transaction identifier of the controller 101.
  • the second transceiver unit 1024 sends a SCSI protocol operation request to the target disk 1031 according to the SAS protocol address of the target disk 1031, and specifically includes: an encapsulation and decapsulation unit 1022, and decapsulating the second part of the Ethernet operation request message.
  • the field obtains the SAS protocol address of the target disk 1031, and the second transceiver unit 1024 sends the SCSI protocol operation request to the target disk 1031 according to the SAS protocol address of the target disk 1031.
  • the first field of the Ethernet operation request message sent by the backend adapter 1014 carries the SCSI protocol transaction identifier of the controller 101, and the second field carries the SAS protocol of the target disk; wherein, the Ethernet operation request message
  • the first field, the second field, and the field carrying the SCSI protocol operation request respectively belong to three different fields;
  • the establishing unit 1023 establishes the MAC address of the backend adapter 1014 and the SCSI protocol transaction identifier of the controller 101.
  • the SCSI protocol transaction identifier of the controller 101 is obtained by the disk frame 102 decapsulating the Ethernet operation request message from the first field.
  • the second transceiver unit 1024 sends the SAS protocol address of the target disk in the SCSI protocol operation request to the target disk according to the SAS protocol address of the target disk, specifically including the encapsulation and decapsulation unit 1022, and decapsulates the Ethernet operation request message. From the second word The SAS protocol address of the target disk is obtained in the segment, and the second transceiver unit 1024 sends the SAS protocol address of the target disk in the SCSI protocol operation request to the target disk according to the SAS protocol address of the target disk obtained from the second field. .
  • the SCSI protocol operation request does not need to be parsed again, and the correspondence between the SCSI protocol transaction identifier of the controller 101 and the backend adapter 1014 is established according to the SCSI protocol transaction identifier of the controller 101 carried in the first field, and according to the second field.
  • the SAS protocol address of the target disk 1031 carried in is directly sent to the target disk 1031 by the SCSI protocol operation request.
  • Embodiments of the present invention provide a method that can be performed based on the structure of FIG. 2.
  • the specific process of the method, as shown in Figure 5, includes the following steps.
  • the central processing unit 1012 sends a SCSI protocol operation request to the backend adapter 1014.
  • the backend adapter 1014 After receiving the SCSI protocol operation request, the backend adapter 1014 obtains the MAC address of the disk 102 by querying the MAC address of the query disk 102 and the SAS protocol address of the target disk 1031.
  • the SCSI protocol operation request is encapsulated into an Ethernet operation request message, and the Ethernet request carries the MAC address of the backend adapter 1014 and the MAC address of the disk frame 102.
  • the backend adapter 1014 sends an Ethernet operation request message to the disk frame 102 according to the MAC address of the disk frame 102.
  • the disk block 102 receives and decapsulates the Ethernet operation request message, obtains a SCSI protocol operation request, and establishes a correspondence between the MAC address of the backend adapter 1014 and the SCSI protocol transaction identifier of the controller 101.
  • the disk frame 102 is directed to the target disk according to the SAS protocol address of the target disk 1031. 1031 sends a SCSI protocol operation request.
  • the target disk 1031 After receiving the SCSI protocol operation request, the target disk 1031 generates a SCSI protocol operation request port.
  • the disk block 102 receives the SCSI protocol operation request response sent by the target disk 1031 according to the SCSI protocol operation request.
  • the disk frame 102 queries the correspondence between the MAC address of the backend adapter 1014 and the SCSI protocol transaction identifier of the controller 101 according to the SCSI protocol transaction identifier of the controller 101, obtains the MAC address of the backend adapter 1014, and requests the SCSI protocol.
  • the response is encapsulated into an Ethernet operation request response message carrying the MAC address of the backend adapter 1014.
  • the disk block 102 sends an Ethernet operation request response message to the controller 101 according to the MAC address of the backend adapter 1014.
  • the backend adapter 1014 receives and decapsulates the Ethernet operation request response message to obtain a SCSI protocol operation request response.
  • the backend adapter 1014 sends a SCSI protocol operation request to the central processing unit 1012.
  • the backend adapter 1014 of the controller 101 has a MAC address
  • the disk frame 102 also has a MAC address.
  • the SCSI protocol command is encapsulated into the Ethernet message, and the central processing unit 101 and the central processing unit of the disk frame 102 are not encapsulated or decapsulated using the TCP/IP protocol, thereby reducing the number of packets.
  • the level of encapsulation or decapsulation reduces the central processing unit resource consumption of the storage system, reduces the processing delay of the storage system, and improves the performance of the storage system.
  • the MAC address of the disk frame 102 and the disk 1031 need to be established on the controller 101 side.
  • the disk frame 102 needs to store the correspondence between the SCSI protocol transaction identifier of the controller 101 and the MAC address of the backend adapter 1014 of the controller 101. .
  • the backend adapter 1024 of the controller 101 sends a heartbeat broadcast packet carrying the MAC address of the backend adapter 1014 and the SCSI protocol transaction identifier of the controller 101, which is on the one hand
  • the communication with the disk frame 102 can be updated in time.
  • the state of the disk changes, such as the increase or decrease of the disk.
  • the disk block 102 collects the SAS protocol address of each of the disks 1031...103n, 1041...104n.
  • the disk frame 102 After receiving the heartbeat broadcast packet, the disk frame 102 sends a heartbeat broadcast packet response to the backend adapter 1014, and the heartbeat broadcast packet response carries the MAC address of the disk frame 102 and the disks 1031...103n.
  • the SAS protocol address of each disk in 1041...104n After receiving the heartbeat broadcast packet response sent by the disk frame 102, the backend adapter 1014 of the controller 101 establishes and saves the MAC address of the disk frame 102 and the S AS protocol of each of the disks 1031...103n, 1041...104n. The correspondence of addresses.
  • One implementation as shown in Figure 6, includes:
  • Step 601 The backend adapter 1014 in the controller 101 transmits a heartbeat broadcast packet.
  • Step 602 The disk frame 102 receives the heart broadcast packet transmitted by the backend adapter 1014 in the controller 101.
  • Step 603 The disk frame 102 sends a heartbeat broadcast packet response to the controller 101.
  • Step 604 The backend adapter 1014 in the controller 101 receives the heartbeat broadcast packet response sent by the disk frame 102.
  • Step 605 The backend adapter 1014 parses the MAC address of the disk frame 102 and the S AS protocol address of each disk in the disks 1031...103n, 1041...104n from the heartbeat broadcast packet response, and establishes the MAC address of the disk frame 102. The correspondence between the address and the SAS protocol address of each of the disks 1031...103n, 1041...104n.
  • step 601 the format of the heartbeat broadcast packet sent by the backend adapter 1014 is as shown in FIG. 7, and the heartbeat broadcast packet sent by the backend adapter 1014 is also that the SCSI protocol packet does not pass through the TCP/IP layer. Directly encapsulated into an Ethernet message.
  • the backend adapter 1014 sends a heartbeat broadcast packet as an Ethernet message, including a destination MAC address field, a source MAC address field, and a payload (Payload).
  • the source MAC address bit carries the MAC address of the backend adapter 1014.
  • each bit in the destination MAC address field is 1; the payload of the heartbeat broadcast packet carries other fields, and the payload may include multiple Field, such as: SCSI protocol message type field, used to indicate the type of SCSI protocol operation request, such as SCSI protocol read operation request or SCSI protocol write operation request; SCSI protocol transaction identification field, used to uniquely identify the controller and disk establishment a specific SCSI protocol transaction link; a destination SAS protocol address field is used to indicate a SAS protocol address of a disk encapsulated to the SCSI protocol operation request, by which the SAS protocol address of the target disk receiving the current SCSI protocol operation request can be identified without The SCSI protocol frame data field needs to be parsed again to determine the SAS protocol address of the target disk.
  • SCSI protocol message type field used to indicate the type of SCSI protocol operation request, such as SCSI protocol read operation request or SCSI protocol write operation request
  • SCSI protocol transaction identification field used to uniquely identify the controller and disk establishment a specific SCSI protocol transaction link
  • a destination SAS protocol address field is used to indicate a SAS protocol address
  • each bit in the destination SAS address field is 0.
  • the payload also includes an opcode field, where the opcode field is used to indicate the type of operation of the SCSI command and the data field, as a heartbeat broadcast packet,
  • the code field is 0x050 and is used to indicate the broadcast message.
  • the disk frame 102 receives the heartbeat broadcast packet, decapsulates the Ethernet operation request packet, and determines that the packet is a heartbeat broadcast packet message from the information carried in the destination SAS address field, thereby Improve the processing speed of messages.
  • the RMS protocol transaction identifier field and the destination SAS protocol address field and the SCSI protocol packet type field are not included in the valid number field
  • the payload of the heartbeat broadcast packet includes a SCSI protocol frame data field
  • the SCSI protocol frame field carries SCSI.
  • the protocol operation request, the SCSI protocol transaction identifier and the destination SAS protocol address of the controller 101 carried in the heartbeat broadcast packet may be obtained from the SCSI protocol protocol frame data field in the heartbeat broadcast packet.
  • the heartbeat broadcast packet of the Ethernet operation request message format in FIG. 7 provides the target MAC address field, the source MAC address field, and the payload. However, for those skilled in the art, the Ethernet operation request message may include other as needed. Fields, payloads can also carry other fields as needed, and will not be described here.
  • step 603 the format of the heartbeat broadcast packet response sent by the disk frame 102 to the controller 101 is as shown in FIG. 8.
  • the destination MAC address field of the heartbeat broadcast packet response is the MAC of the backend adapter 1014.
  • the address, the source MAC address field carries the MAC address of the disk frame 102, and the operation code field is 0x060.
  • the payload further includes a message content identification field for carrying the SAS protocol address of the disk that communicates with the disk frame 102.
  • step 605 the backend adapter 1014 parses out the MAC address of the disk frame 102 and the SAS protocol address of each of the disks 1031...103n, 1041...104n from the heartbeat broadcast packet response.
  • the correspondence between the MAC address of the disk frame 102 and the SAS protocol address of each of the disks 1031...103n, 1041...104n is stored in the form of a two-dimensional table.
  • a two-dimensional table can be in a two-dimensional array or a computer-recognizable form. The embodiment of the present invention is not limited herein.
  • the heartbeat broadcast packet response sent by the disk block 102 to the controller specifically, the MAC address of the disk frame 102 and the SAS protocol address of all the disks 1031 ... 103n, 1041 ... 104n can be responded to in the heartbeat broadcast packet at one time.
  • the MAC address of the disk frame 102 and the SAS protocol address of the partial disk may be carried in the response of the heartbeat broadcast packet, and the heartbeat broadcast packet and the heartbeat broadcast packet respond to the interaction between the controller 101 and the disk frame 102, and the update is performed.
  • the correspondence between the MAC address of the disk frame 102 held by the backend adapter 1014 and the SAS protocol address of each of the disks 1031...103n, 1041...104n is improved.
  • the disk frame 102 When a new disk is connected to the disk frame 102, the disk frame 102 receives the heartbeat broadcast packet sent by the controller 101, and carries the MAC address of the disk frame 102 and the SAS of the new disk when transmitting the heartbeat broadcast packet response to the controller 101. Protocol address.
  • the SCSI protocol transaction identifier of the controller 101 and the MAC address of the backend adapter 1014 Another expression of the correspondence between the SCSI protocol transaction identifier of the controller 101 and the MAC address of the backend adapter 1014 is stored, that is, the SCSI protocol transaction identifier of the storage controller 101 and the MAC address of the backend adapter 1014.
  • a Peripheral Component Interconnect Express (PCIE) exchange communicates with the central processor 1012.
  • PCIE Peripheral Component Interconnect Express
  • the front-end adapter 1011 and the back-end adapter 1014 are connected via a PCIE switch, with the central processor.
  • the implementation of 1012 communication is only one of the implementation methods, and it can also pass the South Bridge chip. Wait for it to be implemented, there is no limit to this.
  • the central processing unit 1012 of the controller 101 sends a SCSI protocol operation request, such as a read operation request or a write operation request, to the target disk connected to the disk block 102, which is not limited by the present invention.
  • the operation request of the SCSI protocol may be sent to the target disk by the central processing unit 1012 according to the operation request sent by the front-end adapter 1011.
  • the message format of the operation request of the SCSI protocol is a SCSI protocol standard message format, and the operation request of the SCSI protocol carries the SCSI protocol transaction identifier of the controller 101 and the SAS protocol address of the target disk.
  • the backend adapter 1014 receives the operation request of the SCSI protocol, and queries the correspondence between the MAC address of the disk frame and the S AS protocol address of the target disk according to the SAS protocol address carried in the operation request of the SCSI protocol, for example, the query indicates the disk frame 102.
  • the SAS protocol address of the target disk carried in the operation request of the SCSI protocol is the SAS protocol address of the disk 1031 as an example.
  • the MAC address of the disk frame 102 is obtained by querying the correspondence between the disk frame 102 and the SAS protocol address of the target disk 1031 according to the SAS protocol address of the target disk 1031.
  • the structure of the backend adapter 1014 is as shown in FIG. 11, and includes: a PCIE interface, a Direct Memory Access (DMA) engine, an input/output state maintenance module, a protocol encapsulation and decapsulation module, and an Ethernet module.
  • the PCIE interface is configured to perform data transmission with the PCIE port of the central processing unit 1012, such as receiving a SCSI protocol operation request sent by the central processing unit 1012.
  • the DMA engine is an optional structure of the backend adapter 1014. According to the SCSI protocol message type and the carried memory address, data can be directly read from the controller 1013 or directly written into the controller's memory 1013.
  • Input The output status maintenance module is used to collect and maintain the MAC address of the disk frame and the disk.
  • the correspondence relationship of the SAS protocol addresses is, for example, a two-dimensional table storing correspondences between the MAC addresses of the disk frame 102 and the S AS protocol addresses of each of the disks 1031...103n, 1041...104n.
  • the input/output state maintenance module queries the MAC address of the disk enclosure where the target disk is located according to the SAS protocol address of the target disk carried by the SCSI protocol operation request received by the PCIE interface.
  • the disk frame where the target disk is located refers to the disk frame where the target disk is placed. See the previous description for the meaning of placement.
  • the SAS protocol address of the target disk carried by the SCSI protocol operation request is the S AS protocol address of the disk 1031
  • the MAC address of the disk frame corresponding to the S AS protocol address of the target disk 1031 is the MAC address of the disk frame 102. Transmitting the SCSI protocol operation request and the MAC address of the disk frame 102 to the protocol encapsulation and decapsulation module. As shown in FIG.
  • the protocol encapsulation and decapsulation module encapsulates the SCSI protocol operation request into the SCSI protocol frame data field, and simultaneously
  • the SAS protocol address field encapsulates the SAS protocol address of the target disk 1031
  • the SCSI protocol message type field encapsulates the type of the SCSI protocol operation request
  • the SCSI protocol transaction identifier field encapsulates the SCSI protocol transaction identifier of the controller 101
  • the SCSI protocol message type The field SCSI protocol transaction identification field, the destination SAS protocol address field, and the SCSI protocol frame data field are encapsulated into the payload of the Ethernet operation request message, and the destination of the Ethernet message
  • the MAC address field carries the MAC address of the disk frame 102
  • the source MAC address field carries the MAC address of the backend adapter 1014.
  • the destination SAS protocol address field, the SCSI protocol transaction identifier field, and the SCSI protocol operation in the Ethernet operation request payload are referred to.
  • the requested SCSI protocol frame data field is three different fields.
  • the payload in the Ethernet operation request message does not include the SCSI protocol transaction identifier field and the destination SAS protocol address field, but the disk frame 102 Carryed from the SCSI protocol frame data field
  • the S AS address of the target disk 1031 and the SCSI protocol transaction identifier of the controller 101 are obtained in the SCSI protocol operation request.
  • the Ethernet module sends the Ethernet operation request message to the disk frame 102 through the Ethernet network.
  • the Ethernet module includes a flow control module, a message retransmission module, an Ethernet MAC module, and an Ethernet interface.
  • the flow control module is configured to perform flow control processing when data congestion occurs in the Ethernet to avoid packet loss caused by Ethernet congestion.
  • the message retransmission module is used for packet retransmission when the packet transmission error occurs on the Ethernet network to ensure data transmission reliability.
  • Ethernet MAC and Ethernet interfaces are used as the Ethernet standard Ethernet MAC layer and Ethernet physical interface layer, and standard. The Ethernet MAC layer and the Ethernet physical interface layer in the Ethernet network structure have the same meaning.
  • the input/output status maintenance module is also used to create and maintain input and output status according to the SCSI protocol message type field of the SCSI protocol operation request during the execution of the SCSI protocol operation request.
  • the transaction execution status of the SCSI protocol operation request can be recorded using the input and output status table to avoid SCSI protocol operation request conflicts.
  • the transaction execution state of the SCSI protocol operation request is recorded to establish a SCSI protocol transaction link with the target disk 1031, and the SCSI is executed. Agreement transaction.
  • the front end interface 1021 of the disk frame 102 shown in FIG. 3a receives the Ethernet operation request message sent by the backend adapter 1014 and the MAC address of the disk adapter 102 and the MAC address of the backend adapter 1014, and decapsulates the Ethernet operation request message.
  • the type of the SCSI protocol operation request can be obtained according to the SCSI protocol message type field in the payload.
  • the SCSI protocol packet type is a SCSI protocol read operation request
  • the SCSI protocol transaction identifier can be obtained according to the SCSI protocol transaction identifier field in the payload, thereby establishing a SCSI protocol transaction.
  • the corresponding relationship between the MAC address and the MAC address of the backend adapter 1014 is identified, and the SAS protocol address of the target disk 1031 can be obtained according to the destination SAS protocol address field in the payload.
  • the SCSI protocol transaction identifier field and the destination SAS protocol address field are not included in the payload of the Ethernet operation request message, and after the disk frame decapsulates the Ethernet operation request message, the SCSI protocol operation request is obtained in the payload.
  • the SCSI protocol operation request is parsed, the SCSI protocol transaction identifier and the target disk SAS protocol address are obtained, and the correspondence between the SCSI protocol transaction identifier and the MAC address of the backend adapter 1014 is established, and the target is addressed to the target through the backend interface 1024 according to the SAS protocol address of the target disk.
  • Disk 1031 sends the SCSI protocol operation request.
  • the MAC address of the backend adapter 1014 is obtained, and the SCSI protocol transaction identifier is obtained according to the SCSI protocol transaction identifier field in the payload, and the central processor 1022 establishes the backend adapter 1014.
  • the backend interface 1024 sends the SCSI protocol operation to the target disk 1031 according to the SAS protocol address of the target disk 1031 carried in the target SAS protocol address field in the payload. request.
  • the central processor 1022 receives the SCSI protocol operation request response sent by the target disk 1031 through the backend interface 1024, and the SCSI protocol operation request response carries the SCSI protocol transaction identifier of the controller 101, and responds to the SCSI carrying the controller 101 according to the SCSI protocol operation request.
  • the protocol transaction identifier queries the MAC address of the backend adapter 1014 and the SCSI protocol transaction of the controller 101. The corresponding relationship of the logo.
  • the front-end interface 1021 receives the SCSI protocol operation request response sent by the central processing unit 1022 and the MAC address of the back-end adapter 1014, and the front-end interface 1024 encapsulates the SCSI protocol operation request response into the Ethernet operation request response message, and the Ethernet operation request response message is carried.
  • the MAC address of the backend adapter 1014 and the MAC address of the frontend adapter 1024 are carried.
  • the destination MAC address field carries the MAC address of the backend adapter 1014
  • the source MAC address field carries the MAC address of the disk enclosure 102
  • the SCSI protocol transaction identifier field carries the SCSI protocol transaction identifier of the controller 101
  • the SCSI protocol packet type field carries the SCSI The type of protocol operation request.
  • the Ethernet operation request response message may also be referred to as an Ethernet response message of the Ethernet operation request message, and both have the same meaning.
  • the SCSI protocol frame data field carries the SCSI protocol operation request response in response to the Ethernet operation request response;
  • the SCSI protocol transaction identification field of the payload carries the SCSI protocol transaction identifier;
  • the payload SCSI protocol report The text type field carries the type of SCSI protocol operation request.
  • the backend adapter 1014 of the controller 101 receives the Ethernet operation request response message sent by the disk frame 102, decapsulates the Ethernet operation request response message, and obtains a SCSI protocol operation request response.
  • the input/output state maintenance module of the backend adapter 1014 determines whether the SCSI protocol operation request response is legal according to the SCSI protocol transaction identifier carried by the recorded SCSI protocol operation request and the transaction execution state of the SCSI protocol operation request. Specifically, when it is determined that the Ethernet operation request response message carries the SCSI protocol transaction identifier of the controller 101, the SCSI protocol operation request response is considered to be legal, and the input/output state maintenance module of the backend adapter 1014 updates the SCSI protocol operation request.
  • Transaction execution status is completed for the SCSI protocol transaction, and the target disk 1031 is revoked SCSI protocol transaction link; when a SCSI protocol transaction contains multiple SCSI protocol operation request responses to complete the SCSI protocol transaction, the input and output state maintenance module of the backend adapter 1014 also counts the received SCSI protocol operation request response. frequency.
  • the Ethernet operation request response message does not carry the SCSI protocol transaction identifier of the controller 101
  • the SCSI protocol operation request response is discarded.
  • the Ethernet operation request response packet does not carry the SCSI protocol transaction identifier of the controller 101, and the Ethernet operation request response packet does not carry the SCSI protocol transaction identifier of the controller 101, or the Ethernet operation request response packet carries the SCSI protocol transaction of the controller 101.
  • the identifier is inconsistent with the SCSI protocol transaction identifier of the controller 101.
  • the SCSI protocol transaction identifies an implementation that can be obtained from the SCSI protocol transaction identification field in the payload of the Ethernet operation request response message.
  • the SCSI protocol transaction identifier of the controller 101 is obtained from the SCSI protocol frame data field in the payload.
  • the backend adapter 1014 sends the SCSI protocol operation request response to the central processor 1012.
  • the backend adapter 1014 shown in FIG. 10 is used as a logical architecture. In actual implementation, it may be an ASIC commercial chip or an FPGA, and the specific components include a central processing unit and a memory, and may also be partially implemented by an ASIC business. The chip and the FPGA are combined.
  • the method includes: a first interface, a second interface, a memory, and a first central processing unit; the first interface is configured to receive a SCSI protocol operation request sent by the central processing unit 1012; wherein the SCSI protocol operation request is carried in The SAS protocol address of the target disk 1031; the first central processor executes the computer instructions in the memory to perform the following operations: Querying the MAC address of the disk frame 102 and the SAS protocol address of the target disk 1031 according to the SAS protocol address of the target disk 1031, obtaining the MAC address of the disk frame 102, and performing the SCSI protocol operation request.
  • the Ethernet operation request message is encapsulated, and the Ethernet operation request message carries the MAC address of the backend adapter 1014 and the MAC address of the disk frame 102.
  • the Ethernet operation request message further includes a first field and a second field, where the first field is used to carry the SCSI protocol transaction identifier, and the second field is used to carry the SAS protocol address of the target disk.
  • the first field, the second field, and the field carrying the SCSI protocol operation request belong to three different fields.
  • the first field is the payload in the Ethernet operation request message.
  • the SCSI protocol transaction identifier field in the second field is the destination SAS protocol address field in the payload
  • the field carrying the SCSI protocol operation request in the payload is a SCSI protocol frame data field.
  • FIG. 12 refer to the descriptions of the Ethernet operation request message, the Ethernet operation request response message, the heartbeat broadcast packet, and the heartbeat broadcast packet response message in the embodiment.
  • the second interface is configured to send the Ethernet operation request message to the disk frame 102 according to the MAC address of the disk frame 102. Further, the second interface is further configured to receive the Ethernet response packet of the Ethernet operation request packet sent by the disk frame 102, where the Ethernet response request message of the Ethernet operation request packet carries the backend The MAC address of the adapter 1014.
  • the first central processing unit executes the computer instruction in the memory, and is further configured to: decapsulate the Ethernet response request message of the Ethernet operation request message, and obtain a SCSI protocol operation request response; the first interface is further used for Central The processor 1012 sends the SCSI protocol operation request response.
  • the Ethernet response message of the Ethernet operation request message further carries the SCSI protocol transaction identifier of the controller 101, and the first central processor executes the computer instruction in the memory, and is further configured to perform: recording The transaction execution state of the SCSI protocol operation request; specifically, when the Ethernet operation request message is sent to the disk frame 102, the transaction status of the SCSI protocol operation request is recorded as being established with the target disk 1031.
  • the SCSI protocol transaction links and performs the SCSI protocol transaction.
  • the first central processing unit executes the computer instruction in the memory, and is further configured to: perform, according to the SCSI protocol operation request response, update a transaction state of the SCSI protocol operation request to complete execution of the SCSI protocol transaction, The SCSI protocol transaction link with the target disk 1031 is revoked.
  • the first central processing unit executes the computer instruction in the memory, and is further configured to: when the Ethernet operation request response message does not carry the SCSI protocol transaction identifier of the controller 101, discard the SCSI protocol operation. Request a response.
  • the first interface is a PCIE interface.
  • the backend adapter 1014 shown in FIG. 11 can be logically divided into the structure shown in FIG. 13, and includes a first transceiver unit 1301, a query unit 1302, a encapsulation and decapsulation unit 1303, and a second transceiver unit 1304.
  • the first transceiver unit 1301 is configured to receive a SCSI protocol operation request sent by the central processing unit 1012, where the SCSI protocol operation request carries a SAS protocol address of the target disk 1031, and the query unit 1302 is configured to query the MAC address of the disk frame 102.
  • the unit 1303 is configured to encapsulate the SCSI protocol operation request into an Ethernet operation request message, where the Ethernet operation request message carries the MAC address of the backend adapter 1014 and the MAC address of the disk frame 102.
  • the second transceiver unit 1304 uses The Ethernet operation request message is sent to the disk frame 102 according to the MAC address of the disk frame 102.
  • the SCSI protocol operation request further carries a SCSI protocol transaction identifier
  • the encapsulation and decapsulation unit is further configured to encapsulate the SCSI protocol transaction identifier into a first field of the Ethernet operation request message
  • the target disk is The SAS protocol address is encapsulated into the second field.
  • the first field, the second field, and the field carrying the SC SI protocol operation request in the Ethernet operation request message respectively belong to three different fields.
  • the second transceiver unit 1304 is further configured to receive the Ethernet response message of the Ethernet operation request message sent by the disk frame 102, where the Ethernet operation request sends the Ethernet response message The MAC address of the backend adapter 1014. Further, the encapsulation and decapsulation unit 1303 is further configured to decapsulate the Ether Response message of the Ether Operation Request message to obtain a SCSI protocol operation request response. The first transceiver unit 1301 is further configured to send the SCSI protocol operation request response to the central processing unit 1012. Further, the backend adapter 101 further includes a recording unit 1304 for recording a transaction execution state of the SCSI protocol operation request.
  • the recording unit 1304 records the transaction status of the SCSI protocol operation request to establish a SCSI protocol transaction link with the target disk 1031, and performs The SCSI protocol transaction. Further, the recording unit 1304 is further configured to: update a transaction status of the SCSI protocol operation request according to the SCSI protocol operation request response to the SCSI protocol transaction After the line is completed, the SCSI protocol transaction link with the target disk 1031 is revoked. Further, the first transceiver unit 1301 is further configured to discard the SCSI protocol operation request response when the Ethernet operation request response message does not carry the SCSI protocol transaction identifier of the controller 101.
  • the correspondence between the MAC address of the disk frame 102 and the SAS protocol address of the target disk 1031 is established by the backend adapter 1014 according to the resource information sent by the chassis 102; the resource information includes the MAC address and target of the disk frame 102.
  • the SAS protocol address of the disk 1031 is specifically implemented by the heartbeat broadcast packet response sent by the disk frame 102.
  • controller 101 and the disk frame 102 described in the embodiment of the present invention may constitute a storage system as shown in FIG. 14, and includes a plurality of controllers 101 and a plurality of disk frames 102, regarding the controller 101 and the disk frame 102.
  • the quantity can be determined according to actual needs.
  • a plurality of controllers 101 communicate with the plurality of disk enclosures 102 via the Ethernet switch 100.
  • redundant relationships can be formed between the controllers 101 to improve reliability.
  • the controller 101 and the disk 102 provided by the embodiments of the present invention can implement flexible expansion of the system.
  • the SCSI protocol operation request and the SCSI protocol operation request response are both SCSI protocol messages;
  • the S AS protocol is an interface protocol, that is, the serial SCSI protocol is used, and the SCSI protocol is used between the devices using the SAS interface.
  • Communication specifically to the embodiment of the present invention, the disks 1031...103n, 1041...104n are disks of the SAS protocol interface, and the disk frame 102 is also connected to the disks 1031...103n, 1041...104n using the SAS protocol interface.
  • the disk frame 102 communicates with the disks 1031...103n, 1041...104n using the SCSI protocol;
  • the SCSI protocol transaction link is a link established in the SCSI protocol, the initiator (Initiator) communicates with the target (Target), when When the communication ends, the link is released, thereby releasing the SCSI protocol resources and establishing the link.
  • the transaction to be executed is a SCSI protocol transaction, that is, a corresponding SCSI protocol operation request.
  • the SCSI protocol transaction identifier is encapsulated into the first field of the Ethernet operation request packet, and the first field of the Ethernet operation request packet carries the SCSI protocol transaction identifier; the SAS protocol address of the target disk is encapsulated into the Ethernet.
  • the second field of the operation request message indicates that the second field of the Ethernet operation request message carries the SAS protocol address of the target disk.
  • central processing unit and the first central processing unit used in the embodiments of the present invention are merely for the sake of clarity, and the central processing unit and the first central processing unit may be the same processor or different.
  • the processor is not limited to the embodiment of the present invention.
  • the disclosed systems and methods can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment scheme.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable non-volatile storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product stored in a non-volatile storage.
  • the medium includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing non-volatile storage medium includes: a medium that can store program codes, such as a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Systems (AREA)

Abstract

本发明实施例提供的处理操作请求的存储系统、方法及装置,将控制器将SCSI协议操作请求不通过TCP/IP协议层,直接在MAC层将SCSI协议操作请求封装到以太操作请求报文,盘框解封装以太操作请求获得SCSI协议操作请求,将SCSI协议操作请求发送到目标盘,减少了封装的层次,减少了存储系统处理延时,提高了存储系统性能。

Description

处理操作请求的存储系统、 方法及装置 技术领域
本发明涉及信息技术领域,尤其涉及一种处理操作请求的存储系 统、 方法及装置。
背景技术
互联网小型计算机系统接口 ( internet Small Computer System Interface, iSCSI )协议是由 IETF开发的网络存储协议, 目的是为了用 互联网协议( Internet Protocol, IP )实现存储设备的通信。存储系统中, 在 IP协议网络上使用小型计算机系统接口 ( Small Computer System Interface, SCSI )协议通信, 也就是使用 iSCSI协议通信, 推动了存储 技术的发展, 实现了数据的远距离传输。 其中一种应用场景, 存储系 统包括控制器、 盘框(Disk Enclosure )与盘, 其中控制器与盘框通过 iSCSI协议通信, 盘框中连接多块盘, 盘框及连接的多块盘一起称为 盘簇(Just a Bunch Of Disks, JBOD ) , 在该场景下, 实现控制器与 盘框分离, 从而实现灵活部署。
但控制器与盘框通过 iSCSI协议通信,无论是控制器,还是盘框, 都需要先将 SCSI协议经传输控制协议 /互联网协议( Transport Control Protocol/ Internet Protocol, TCP/IP )封装, 再由媒体访问控制 ( Media Access Control, MAC )层封装。 同理, 解封装过程也要经过 MAC层 解封装和 TCP/IP层解封装, 由于多层协议封装或解封装, 增加了存储 系统中央处理器( Central Processing Unit, CPU )资源消耗及存储系统 处理延时, 降低了存储系统性能。 发明内容
本发明实施例提供了处理操作请求的存储系统、 方法及装置。 第一方面, 本发明实施例提供了一种处理操作请求的存储系 统, 所述存储系统包括控制器和盘框, 所述控制器与所述盘框通 过以太网络通信; 所述控制器包括中央处理器和后端适配器;所述 盘框和所述后端适配器均有媒体访问控制 MAC地址,所述盘框中 连接多块盘, 所述盘框中的每块盘通过串行小型计算机系统接口 SAS协议与所述盘框连接; 所述后端适配器保存所述盘框的 MAC 地址与所述盘框中每块盘的 SAS协议地址对应关系;
所述后端适配器, 用于接收所述中央处理器发送的小型计算 机系统接口 SCSI协议操作请求, 所述 SCSI协议操作请求中携带 所述控制器的 SCSI协议事务标识和目标盘的 SAS协议地址,根据 所述目标盘的 SAS协议地址, 查询所述盘框的 MAC地址与所述 目标盘的 SAS协议地址对应关系, 获得所述盘框的 MAC地址, 将所述 SCSI协议操作请求封装到以太操作请求报文, 根据所述盘 框的 MAC地址向所述盘框发送所述以太操作请求报文; 所述以太 操作请求报文携带所述后端适配器的 MAC 地址和所述盘框的 MAC地址;
所述盘框用于接收并解封装所述以太操作请求报文, 获得所 述 SCSI协议操作请求,根据所述目标盘的 SAS协议地址, 向所述 目标盘发送所述 SCSI协议操作请求。
结合本发明第一方面,第一种可能的实施方式中,所述盘框, 还用于建立所述后端适配器的 MAC地址和所述控制器的 SCSI协 议事务标识的对应关系;
所述盘框, 还用于接收所述目标盘根据所述 SCSI协议操作请 求发送的 SCSI协议操作请求响应, 其中, 所述 SCSI协议操作请 求响应携带所述控制器的 SCSI协议事务标识, 根据所述控制器的 SCSI协议事务标识查询所述后端适配器的 MAC地址与所述控制 器的 SCSI协议事务标识的对应关系,获得所述后端适配器的 MAC 地址, 将所述 SCSI协议操作请求响应封装到以太操作请求响应报 文,根据所述后端适配器的 MAC地址向所述控制器发送所述以太 操作请求响应报文; 所述以太操作请求响应报文携带所述后端适 配器的 MAC地址;
所述后端适配器, 还用于接收并解封装所述以太操作请求响 应报文, 获得所述 SCSI协议操作请求响应, 向所述中央处理器发 送所述 SCSI协议操作请求响应。
结合本发明第一方面的第一种可能的实现方式, 在第二种可 能的实施方式中, 所述后端适配器, 还用于将所述 SCSI协议操作 请求中的所述控制器的 SCSI协议事务标识封装到所述以太操作请 求报文的第一字段, 将所述 SCSI协议操作请求中的所述目标盘的 SAS 协议地址封装到所述以太操作请求报文的第二字段; 其中, 所述第一字段、 所述第二字段与携带所述 SCSI协议操作请求的字 段为三个不同字段;
所述盘框建立所述后端适配器的 MAC 地址和所述控制器的 SCSI协议事务标识的对应关系, 具体包括: 所述盘框解封装所述 以太操作请求报文的所述第一字段, 获得所述控制器的 SCSI协议 事务标识,建立所述后端适配器的 MAC地址和所述控制器的 SC SI 协议事务标识的对应关系;
所述盘框根据所述目标盘的 SAS协议地址, 向所述目标盘发 送所述 SCSI协议操作请求, 具体包括: 所述盘框解封装所述以太 操作请求报文的所述第二字段,获得所述目标盘的 SAS协议地址, 根据所述目标盘的 SAS 协议地址, 向所述目标盘发送所述 SCSI 协议操作请求。
第二方面, 本发明实施例提供了一种处理操作请求的方法, 所述方法应用于控制器, 所述控制器与盘框通过以太网络通信; 所述控制器包括中央处理器和后端适配器; 所述盘框和所述后端 适配器均有媒体访问控制 MAC地址; 所述盘框中连接多块盘, 所 述盘框中的每块盘通过串行小型计算机系统接口 SAS协议与所述 盘框连接; 所述后端适配器保存所述盘框的 MAC地址与所述盘框 中每块盘的 SAS协议地址对应关系;
所述方法包括:
所述中央处理器发送小型计算机系统接口 SCSI协议操作请求; 其中, 所述 SCSI协议操作请求中携带目标盘的 SAS协议地址; 所述后端适配器接收所述中央处理器发送的所述 SCSI协议操 作请求, 根据所述目标盘的 SAS协议地址, 查询所述盘框的 MAC 地址与所述目标盘的 SAS 协议地址对应关系, 获得所述盘框的 MAC地址, 将所述 SCSI协议操作请求封装到携带所述后端适配 器的 MAC地址和所述盘框的 MAC地址的以太操作请求报文, 根 据所述盘框的 MAC地址向所述盘框发送所述以太操作请求报文。
结合第二方面, 第一种可能的实施方式, 所述 SCSI协议操作 请求还携带 SCSI协议事务标识, 所述方法还包括: 将所述 SCSI协 议事务标识封装到所述以太操作请求报文的第一字段, 将所述目 标盘的 SAS协议地址封装到所述以太操作请求报文的第二字段;其 中, 所述第一字段、 所述第二字段与所述以太操作请求报文中携 带所述 SC SI协议操作请求的字段分别属于三个不同的字段。
结合第二方面的第一种可能的实施方式, 第二种可能的实施 方式, 所述方法还包括:
所述后端适配器接收并解封装由所述盘框发送的所述以太操 作请求报文的以太响应报文, 获得 SCSI协议操作请求响应, 向所 述中央处理器发送所述 SCSI协议操作请求响应; 其中, 所述以太 操作请求报文的以太响应报文携带所述后端适配器的 MAC地址; 所述中央处理器接收所述 SCSI协议操作请求响应。
第三方面, 本发明实施例提供了一种处理操作请求的方法, 所述方法应用于盘框,控制器与所述盘框通过以太网络通信; 所述 控制器包括中央处理器和后端适配器; 所述盘框和所述后端适配 器均有媒体访问控制 MAC地址; 所述盘框中连接多块盘, 所述盘 框中的每块盘通过串行小型计算机系统接口 SAS协议与所述盘框 连接; 所述方法包括:
所述盘框接收并解封装所述控制器发送的以太操作请求报文, 获得小型计算机系统接口 SCSI协议操作请求; 其中, 所述以太操 作请求 文携带所述后端适配器的 MAC地址和所述盘框的 MAC 地址; 所述 SCSI协议操作请求携带所述控制器的 SCSI协议事务 标识和目标盘的 SAS协议地址;
所述盘框根据所述目标盘的 SAS协议地址, 向所述目标盘发 送所述 SCSI协议操作请求。
结合第三方面, 第一种可能的实施方式, 所述方法还包括, 所述盘框建立所述后端适配器的 MAC地址和所述控制器的 SCSI 协议事务标识的对应关系;
所述盘框接收所述目标盘根据所述 SCSI协议操作请求发送的 SCSI协议操作请求响应; 其中, 所述 SCSI协议操作请求响应携 带所述控制器的 SCSI协议事务标识;
所述盘框根据所述控制器的 SC SI协议事务标识查询所述后端 适配器的 MAC地址与所述控制器的 SCSI协议事务标识的对应关 系, 获得所述后端适配器的 MAC地址;
所述盘框将所述 SCSI协议操作请求响应封装到以太操作请求 响应报文; 所述以太操作请求响应报文携带所述后端适配器的 MAC地址;
所述盘框根据所述后端适配器的 MAC 地址向所述控制器发 送所述以太操作请求响应报文。 结合第三方面第一种可能的实施方式, 第二种可能的实施方 式, 所述以太操作请求报文的第一字段携带所述 SCSI协议事务标 识, 所述以太操作请求报文的第二字段携带所述目标盘的 SAS协 议; 其中, 所述第一字段、 所述第二字段与所述以太操作请求报 文中携带所述 SCSI协议操作请求的字段分别属于三个不同的字段。
所述盘框建立所述后端适配器的 MAC 地址和所述控制器的 SCSI协议事务标识的对应关系, 具体包括: 所述盘框解封装所述 以太操作请求报文的所述第一字段, 获得所述控制器的 SCSI协议 事务标识,建立所述后端适配器的 MAC地址和所述控制器的 SC SI 协议事务标识的对应关系;
所述盘框根据所述目标盘的 SAS协议地址, 向所述目标盘发 送所述 SCSI协议操作请求, 具体包括: 所述盘框解封装所述以太 操作请求报文的所述第二字段,获得所述目标盘的 SAS协议地址, 根据所述目标盘的 SAS 协议地址, 向所述目标盘发送所述 SCSI 协议操作请求。
第四方面, 本发明实施例提供了一种控制器, 所述控制器应 用于存储系统, 所述存储系统包括所述控制器和盘框; 所述控制 器包括中央处理器和后端适配器; 所述盘框和所述后端适配器均 有媒体访问控制 MAC地址; 所述盘框中连接多块盘, 所述盘框中 的每块盘通过串行小型计算机系统接口 SAS协议与所述盘框连接; 所述后端适配器保存所述盘框的 MAC 地址与所述盘框中每块盘 的 SAS协议地址对应关系; 所述控制器与所述盘框通过以太网络 通信;
所述中央处理器, 用于发送小型计算机系统接口 SCSI协议操 作请求; 其中, 所述 SCSI协议操作请求中携带目标盘的 SAS协议 地址;
所述后端适配器, 用于接收所述 SCSI协议操作请求, 根据所 述目标盘的 SAS协议地址, 查询所述盘框的 MAC地址与所述目 标盘的 SAS协议地址对应关系, 获得所述盘框的 MAC地址, 将 所述 SCSI协议操作请求封装到以太操作请求报文, 根据所述盘框 的 MAC地址向所述盘框发送所述以太操作请求报文; 所述以太操 作请求 文携带所述后端适配器的 MAC地址和所述盘框的 MAC 地址。
结合第四方面, 第一种可能的实施方式, 所述 SCSI协议操作 请求还携带 SCSI协议事务标识, 所述后端适配器, 还用于将所述 SCSI协议事务标识封装到所述以太操作请求报文的第一字段, 将 所述目标盘的 SAS协议地址封装到所述以太操作请求报文的第二 字段; 其中, 所述第一字段、 所述第二字段与所述以太操作请求 报文中携带所述 SC SI协议操作请求的字段分别属于三个不同的字 段。
结合第四方面的第一种可能的实施方式, 第二种可能的实施 方式, 所述后端适配器, 还用于接收并解封装由所述盘框发送的 所述以太操作请求报文的以太响应报文, 获得 SCSI协议操作请求 响应,向所述中央处理器发送所述 SCSI协议操作请求响应;其中, 所述以太操作请求报文的以太响应报文携带所述后端适配器的
MAC地址;
所述中央处理器, 还用于接收所述 SCSI协议操作请求响应。 第五方面, 本发明实施例提供了一种盘框, 所述盘框应用于 存储系统, 所述存储系统包括控制器和盘框; 所述控制器包括中 央处理器和后端适配器; 所述盘框和所述后端适配器均有媒体访 问控制 MAC地址; 所述盘框中连接多块盘, 所述盘框中的每块盘 通过串行小型计算机系统接口 SAS协议与所述盘框连接; 所述控 制器与所述盘框通过以太网络通信; 其中, 所述盘框包括:
第一收发单元, 用于接收所述控制器发送的以太操作请求报 文; 其中, 所述以太操作请求报文携带所述后端适配器的 MAC地 址和所述盘框的 MAC地址;
封装和解封装单元, 用于将所述第一收发单元接收的所述以 太操作请求报文解封装获得小型计算机系统接口 SCSI协议操作请 求; 所述 SCSI协议操作请求携带所述控制器的 SCSI协议事务标 识和目标盘的 SAS协议地址;
第二收发单元, 用于根据所述目标盘的 SAS协议地址, 向所 述目标盘发送所述 SCSI协议操作请求。
结合第五方面, 第一种可能的实施方式, 还包括建立单元和 查询单元;
所述建立单元,用于建立所述后端适配器的 MAC地址和所述 控制器的 SCSI协议事务标识的对应关系; 所述第二收发单元, 还用于接收所述目标盘根据所述 SCSI协 议操作请求发送的 SCSI协议操作请求响应; 其中, 所述 SCSI协 议操作请求响应携带所述控制器的 SC SI协议事务标识;
所述查询单元, 用于根据所述控制器的 SCSI协议事务标识查 询所述建立单元建立的所述后端适配器的 MAC 地址与所述控制 器的 SCSI协议事务标识的对应关系,获得所述后端适配器的 MAC 地址;
所述封装和解封装单元, 还用于将所述 SCSI协议操作请求响 应封装到以太操作请求响应报文; 所述以太操作请求响应报文携 带所述后端适配器的 MAC地址;
所述第一收发单元,还用于根据所述后端适配器的 MAC地址 向所述控制器发送所述以太操作请求响应报文。
结合第五方面第一种可能的实施方式, 第二种可能的实施方 式, 所述以太操作请求报文的第一字段携带所述 SCSI协议事务标 识, 所述以太操作请求报文的第二字段携带所述目标盘的 SAS协 议; 其中, 所述第一字段、 所述第二字段与所述以太操作请求报 文中携带所述 SCSI协议操作请求的字段分别属于三个不同的字段; 所述建立单元建立所述后端适配器的 MAC 地址和所述控制 器的 SCSI协议事务标识的对应关系, 具体包括: 所述封装和解封 装单元解封装所述以太操作请求报文的所述第一字段, 获得所述 控制器的 SCSI协议事务标识, 所述建立单元建立所述后端适配器 的 MAC地址和所述控制器的 SCSI协议事务标识的对应关系; 所述第二收发单元根据所述目标盘的 SAS协议地址, 向所述 目标盘发送所述 SCSI协议操作请求, 具体包括: 所述封装和解封 装单元解封装所述以太操作请求报文的所述第二字段, 获得所述 目标盘的 SAS 协议地址, 所述第二收发单元根据所述目标盘的 SAS协议地址, 向所述目标盘发送所述 SCSI协议操作请求。
第六方面, 本发明实施例提供了一种后端适配器, 应用于存 储系统的控制器中, 所述存储系统包括控制器和盘框; 所述控制 器包括中央处理器和所述后端适配器; 所述盘框和所述后端适配 器均有媒体访问控制 MAC地址; 所述盘框中连接多块盘, 所述盘 框中的每块盘通过串行小型计算机系统接口 SAS协议与所述盘框 连接; 所述后端适配器保存所述盘框的 MAC地址与所述盘框中每 块盘的 SAS协议地址对应关系; 所述控制器与所述盘框通过以太 网络通信;
所述后端适配器包括:
第一收发单元, 用于接收中央处理器发送的小型计算机系统 接口 SCSI协议操作请求, 其中, 所述 SCSI协议操作请求中携带 目标盘的 SAS协议地址;
查询单元, 用于查询所述盘框的 MAC 地址与所述目标盘的 SAS协议地址对应关系, 获得所述盘框的 MAC地址;
封装与解封装单元, 用于将所述 SCSI协议操作请求封装到以 太操作请求报文; 所述以太操作请求报文携带所述后端适配器的
MAC地址和所述盘框的 MAC地址; 第二收发单元,用于根据所述盘框的 MAC地址向所述盘框发 送所述以太操作请求报文。
结合第六方面, 第一种可能的实施方式, 所述 SCSI协议操作 请求还携带 SCSI协议事务标识, 所述封装与解封装单元, 还用于 将所述 SCSI协议事务标识封装到所述以太操作请求报文的第一字 段, 将所述目标盘的 SAS协议地址封装到第二字段; 其中, 所述 第一字段、 所述第二字段与所述以太操作请求报文中携带所述 SCSI协议操作请求的字段分别属于三个不同的字段。
结合第六方面第一种可能的实施方式, 第二种实施方式, 所 述第二收发单元, 还用于接收所述盘框发送的所述以太操作请求 报文的以太响应报文; 其中, 所述以太操作请求报文的以太响应 报文携带所述后端适配器的 MAC地址;
所述封装与解封装单元, 还用于解封装所述以太操作请求报 文的以太响应报文, 获得 SCSI协议操作请求响应;
所述第一收发单元, 还用于向所述中央处理器发送所述 SCSI 协议操作请求响应。
第七方面, 本发明实施例提供了一种后端适配器, 应用于存 储系统的控制器中, 所述存储系统包括控制器和盘框; 所述控制 器包括中央处理器和所述后端适配器; 所述盘框和所述后端适配 器均有媒体访问控制 MAC地址; 所述盘框中连接多块盘, 所述盘 框中的每块盘通过串行小型计算机系统接口 SAS协议与所述盘框 连接; 所述后端适配器保存所述盘框的 MAC地址与所述盘框中每 块盘的 SAS协议地址对应关系; 所述控制器与所述盘框通过以太 网络通信;
其中, 所述后端适配器包括第一接口、 第二接口、 内存和第 一中央处理器; 所述第一接口, 用于接收所述中央处理器发送的 小型计算机系统接口 SCSI协议操作请求; 其中, 所述 SCSI协议 操作请求中携带目标盘的 SAS协议地址;
所述第一中央处理器执行所述内存中的计算机指令, 以执行 如下操作:
根据所述目标盘的 SAS协议地址, 查询所述盘框的 MAC地 址与所述目标盘的 SAS协议地址对应关系,获得所述盘框的 MAC 地址, 将所述 SCSI协议操作请求封装到以太操作请求报文, 所述 以太操作请求报文携带所述后端适配器的 MAC 地址和所述盘框 的 MAC地址;
第二接口,用于根据所述盘框的 MAC地址向所述盘框发送所 述以太操作请求报文。
结合第七方面, 第一种可能的实施方式, 所述 SCSI协议操作 请求还携带 SCSI协议事务标识, 所述第一中央处理器执行所述内 存中的计算机指令, 还执行如下操作:
将所述 SCSI协议事务标识封装到所述以太操作请求报文的第 一字段, 将所述目标盘的 SAS协议地址封装到第二字段; 其中, 所述第一字段、 所述第二字段与所述以太操作请求报文中携带所 述 SC SI协议操作请求的字段分别属于三个不同的字段。 结合第七方面第一种可能的实施方式, 第二种可能的实施方 式, 所述第二接口, 还用于接收所述盘框发送的所述以太操作请 求报文的以太响应报文; 其中, 所述以太操作请求报文的以太响 应才艮文携带所述后端适配器的 MAC地址;
所述第一中央处理器执行所述内存中的计算机指令, 还用于 执行:
解封装所述以太操作请求报文的以太响应报文, 获得 SCSI协 议操作请求口向应;
所述第一接口, 还用于向所述中央处理器发送所述 SCSI协议 操作请求响应。
第八方面, 本发明实施例提供了一种盘框, 所述盘框应用于 存储系统, 所述存储系统包括控制器和盘框; 所述控制器包括中 央处理器和后端适配器; 所述盘框和所述后端适配器均有媒体访 问控制 MAC地址; 所述盘框中连接多块盘, 所述盘框中的每块盘 通过串行小型计算机系统接口 SAS协议与所述盘框连接; 所述控 制器与所述盘框通过以太网络通信;
其中, 所述盘框包括: 前端接口、 后端接口、 第一中央处理 器和第一内存;
所述前端接口, 用于接收并解封装所述控制器发送的以太操 作请求报文, 获得小型计算机系统接口 SCSI协议操作请求, 向所 述第一中央处理器发送所述 SCSI协议操作请求; 所述以太操作请 求才艮文携带所述后端适配器的 MAC地址和所述盘框的 MAC地址; 所述 SCSI协议操作请求携带所述控制器的 SCSI协议事务标识和 目标盘的 SAS协议地址;
所述第一中央处理器执行所述第一内存中的计算机指令, 以 执行如下操作:
接收所述 SCSI协议操作请求,向所述后端接口发送所述 SCSI 协议操作请求;
所述后端接口, 用于接收所述 SCSI协议操作请求, 根据所述 目标盘的 SAS协议地址向所述目标盘发送所述 SCSI协议操作请求。
结合第八方面, 第一种可能的实施方式, 所述第一中央处理 器执行所述第一内存中的计算机指令, 还执行如下操作:
建立所述后端适配器的 MAC地址和所述控制器的 SCSI协议 事务标识的对应关系,所述后端接口,用于根据所述目标盘的 SAS 协议地址;
所述后端接口, 还用于接收所述目标盘根据所述 SCSI协议操 作请求发送的 SCSI协议操作请求响应; 其中, 所述 SCSI协议操 作请求响应携带所述控制器的 SCSI协议事务标识;
所述第一中央处理器执行所述第一内存中的计算机指令, 还 执行如下操作:
根据所述 SCSI协议操作请求响应携带的所述控制器的 SCSI 协议事务标识,查询所述后端适配器的 MAC地址与所述控制器的 SCSI协议事务标识的对应关系, 获得所述后端适配器的 MAC地 址; 所述前端接口, 还用于接收所述第一中央处理器发送的所述
SCSI协议操作请求响应, 根据所述第一中央处理器查找到的所述 后端适配器的 MAC地址, 将所述 SCSI协议操作请求响应封装到 以太操作请求响应报文;根据所述后端适配器的 MAC地址向所述 控制器发送所述以太操作请求响应报文; 所述以太操作请求响应 报文携带所述后端适配器的 MAC地址。
结合第八方面第一种可能的实施方式, 第二种可能的实施方 式, 所述以太操作请求报文的第一字段携带所述 SCSI协议事务标 识, 所述以太操作请求报文的第二字段携带所述目标盘的 SAS协 议; 其中, 所述第一字段、 所述第二字段与所述以太操作请求报 文中携带所述 SCSI协议操作请求的字段分别属于三个不同的字段; 所述建立所述后端适配器的 MAC地址和所述控制器的 SCSI 协议事务标识的对应关系, 具体包括:
所述前端接口解封装所述以太操作请求报文的所述第一字段, 获得所述控制器的 SCSI协议事务标识, 所述第一处理器建立单元 建立所述后端适配器的 MAC地址和所述控制器的 SCSI协议事务 标识的对应关系;
所述后端接口根据所述目标盘的 SAS协议地址, 向所述目标 盘发送所述 SCSI协议操作请求, 具体包括: 所述封前端接口解封 装所述以太操作请求报文的所述第二字段, 获得所述目标盘的 SAS协议地址, 所述后端接口根据所述目标盘的 SAS协议地址, 向所述目标盘发送所述 SCSI协议操作请求。 本发明实施例提供的处理操作请求的存储系统、 方法及装置, 将 控制器将 SCSI协议操作请求不通过 TCP/IP协议层, 直接在 MAC层将 SCSI协议操作请求封装到以太操作请求报文,盘框解封装以太操作请 求获得 SCSI协议操作请求, 将 SCSI协议操作请求发送到目标盘, 减 少了封装的层次, 减少了存储系统处理延时, 提高了存储系统性能。 附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描 述中所需要使用的附图作简单地介绍,下面描述中的附图仅仅是本发 明的一些实施例, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例存储系统架构图;
图 2为本发明实施例控制器结构示意图;
图 3a和图 3b为本发明实施例盘框结构示意图;
图 4为本发明实施例盘框保存控制器的 SCSI协议事务标识和后端 适配器的 MAC地址的对应关系的二维表;
图 5为本发明实施例控制器、 盘框及目标盘通信流程图; 图 6为本发明实施例控制器通过心跳广播包收集盘框的 MAC地 址及与该盘框通信的盘的 S AS协议地址的流程图;
图 7为本发明实施例心跳广播包的报文格式示意图;
图 8为本发明实施例心跳广播包响应的报文格式示意图; 图 9为本发明实施例后端适配器保存的盘框的 MAC地址及与该 盘框通信的盘的 SAS协议地址的对应关系的二维表示意图;
图 10为本发明实施例控制器结构示意图; 图 11为本发明实施例后端适配器的结构示意图; 图 12为本发明实施例封装 SCSI协议操作请求的以太操作请求报 文格式示意图;
图 13为本发明实施例后端适配器的结构示意图;
图 14为本发明实施例存储系统架构系统图。
具体实施例
下面将结合本发明实施例中的附图,对本发明实施例中的技术方 案进行清楚地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。基于本发明提供的实施例所获得的所有其他实 施例, 都属于本发明保护的范围。
如图 1所示, 为本发明实施例提供的一种存储系统, 包括控制器 101和盘框 102, 所述盘框 102连接多块盘 1031...103η, 1041 ...104η, 其 中, η可根据存储系统需要来定义。 对于盘框 102中连接多块盘
1031...103η, 1041 ...104η这种表述, 另一种表述方式为: 盘框 102中放 置多块盘 1031...103η, 1041...104η, 其中, 盘 1031...103η, 1041 ...104η 与盘框 102通信连接。 控制器 101与盘框 102通过以太网络进行通信, 盘 1031...103η, 1041...104η通过串行小型计算机系统接口 ( Serial attached SCSI , SAS )与盘框 102连接, 关于 SAS协议的具体介绍可 以参考 S AS Protocol Layer - 2 (SPL-2)标准
( http://www.tl0.org/members/w_spl2.htm ) , 在此不再赘述。 其中, 盘 1031...103η, 1041...104η可以为磁盘, 也可以为固态硬盘, 或者其 他存储介质, 或上述几种存储介质的组合, 本发明实施例对此不作限 定。
控制器 101的一种示例性结构如图 2所示, 包括前端适配器 1011、 中央处理器 1012、 内存 1013和后端适配器 1014 , 其中前端适配器 1011 与服务器通信, 用于接收服务器发送的读请求, 并根据读请求向服务 器返回数据, 或者用于接收服务器发送的写请求, 并根据写请求向服 务器发送响应。 中央处理器 1012, 用于根据内存 1013中的计算机指令 处理前端适配器接收的读写请求, 或用于向盘框 102中的盘发送操作 请求, 或接收盘框 102发送的操作请求响应。 后端适配器 1014, 用于 与盘框 102通过以太网络通信。
盘框 102, 如图 3a所示, 包括前端接口 1021、 中央处理器 1022、 内存 1023和后端接口 1024, 盘框 102通过前端接口 1021与控制器 101 通信, 后端接口 1024, 用于与盘 1031 ...103η, 1041 ...104η通信, 中央 处理器 1022, 用于处理来自控制器 101的基于第一协议的读操作请求 或写操作请求, 根据该读操作请求或写操作请求向盘 1031...103η, 1041...104η中的目标盘发送基于第二协议的读操作请求或写操作请 求,并根据目标盘发送的基于第二协议的读操作请求或写操作请求响 应,向控制器 101发送基于第一协议的读操作请求或写操作请求响应; 第一协议和第二协议可以为不同的协议, 具体由使用场景决定, 具体 到本发明实施例,第一协议为以太网通信协议,第二协议为 SAS协议。 盘框 102的后端接口 1024通过 S AS协议接口, 与盘 1031...103η, 1041...104η 的 SAS协议接口使用 SCSI协议通信。 具体地, 盘框 102 的前端接口 1021 ,用于接收并解封装所述控制器发送的以太操作请求 报文,获得 SCSI协议操作请求,向所述中央处理器 1022发送所述 SCSI 协议操作请求。 所述以太操作请求报文携带后端适配器 1014的 MAC 地址和盘框 102的 MAC地址; 所述 SCSI协议操作请求携带所述控制器 101的 SCSI协议事务标识和目标盘 1031的 SAS协议地址, 其中, SCSI 协议事务标识用于唯一标识控制器 101与目标盘 1031建立的特定 SCSI 协议事务链接; 目标盘是指 SCSI协议操作请求访问的盘。
中央处理器 1022执行所述内存 1023中的计算机指令,以执行如下 操作:接收所述 SCSI协议操作请求,建立所述后端适配器 1014的 MAC 地址和所述控制器 101的 SCSI协议事务标识的对应关系, 根据所述目 标盘 1031的 SAS协议地址,向后端接口 1024发送所述 SCSI协议操作请 求。 其中, 根据所述目标盘 1031的 SAS协议地址, 一种实现方式为: 解析 SCSI协议操作请求获得目标盘 1031的 SAS协议地址。
后端接口 1024, 用于接收所述 SCSI协议操作请求, 并向目标盘 1031发送所述 SCSI协议操作请求; 后端接口 1024,还用于接收目标盘 1031根据所述 SCSI协议操作请求发送的 SCSI协议操作请求响应; 其 中, 所述 SCSI协议操作请求响应携带所述控制器 101的 SCSI协议事务 标识。
相应的, 中央处理器 1022执行所述内存中的计算机指令,还执行 如下操作: 根据所述 SCSI协议操作请求响应携带的所述控制器 101的 SCSI协议事务标识查询后端适配器 1014的 MAC地址与控制器 101的 SCSI协议事务状态标识的对应关系, 获得后端适配器 1014的 MAC地 址; 前端接口 1201 ,还用于接收中央处理器 1022发送的所述 SCSI协议 操作请求响应, 根据中央处理器 1022查找到的后端适配器 1014的
MAC地址, 将所述 SCSI协议操作请求响应封装到携带所述后端适配 器 1014的 MAC地址的以太操作请求响应 文; 根据后端适配器 1014 的 MAC地址向所述控制器 101发送所述以太操作请求响应报文。
另一种实现方式,后端适配器 1014将 SCSI协议操作请求封装到以 太操作请求报文, 还将该 SCSI协议操作请求携带的控制器 101的 SCSI 协议事务标识封装到以太操作请求报文的第一字段, 将目标盘的 SAS协议地址封装到第二字段, 向盘框 102发送该以太操作请求报文; 其中,第一字段、第二字段和携带所述 SCSI协议操作请求的字段为三 个不同的字段; 盘框 102解封装该以太请求报文, 可以不用再解析携 带 SCSI协议操作请求的字段, 从 SCSI协议操作请求中获得控制器 101 的 SCSI协议事务标识和目标盘的 SAS协议地址,而是从前述第二字段 中获得目标盘的 SAS协议地址, 并根据目标盘的 SAS协议地址将 SCSI 协议操作请求发送到目标盘, 盘框 102从前述第一字段中获得控制器 101的 SCSI协议事务标识, 根据从前述第一字段中获得控制器 101的 SCSI协议事务标识建立控制器 101的 SCSI协议事务标识与后端适配 器 101的 MAC的对应关系, 这一实施方式中, 盘框 102将以太操作请 求报文解封装后, 不需要解析 SCSI协议操作请求即可建立控制器 101 的 SCSI协议事务标识建立控制器 101的 SCSI协议事务标识与后端适 配器 101的 MAC的对应关系, 向目标盘发送该 SCSI协议操作请求, 从 而节省了盘框 102的计算资源。
示例性地,盘框 102的中央处理器 1022建立控制器 101的 SCSI协议 事务标识和后端适配器 1014的 MAC地址的对应关系, 如图 4所示, 以 二维表的形式保存控制器 101的 SCSI协议事务标识和后端适配器 1014 的 MAC地址的对应关系。 在具体计算机实现中, 二维表可以用二维 数组或者计算机可识别形式存储,本发明实施例在此不作限定。 SCSI 协议操作请求响应报文及以太操作请求响应报文分别与 SCSI协议操 作请求和以太操作请求报文的报文格式对应,具体区别在于报文字段 携带的内容不同。 具体地, 当以太操作请求报文中, 使用前述的第一 字段携带 SCSI协议事务标识,使用第二字段携带目的 SAS协议地址时, 以太操作请求响应报文中,第一字段仍然携带 SCSI协议事务标识, 第 二字段中的目的 SAS协议地址为空。
本发明实施例图 3a描述的盘框 102具体可以由包含通用中央 处理器的计算机实现, 如图 3a所示。 另一方面, 也可以为特定应 用集成电路( Application-specific Integrated Circuit, ASIC ),即 ASIC 商业芯片与内存配合使用实现。 或者为现场可编程逻辑门阵列 ( Field Programmable Gate Array, FPGA ) 实现, 其中, 从逻辑上 划分包括处理功能, 即中央处理器, 及存储处理指令的内存。
如图 3b 所示, 是基于如图 3a所示的盘框 102的结构, 盘框 102的结构的另一种逻辑呈现。 包括如下单元。
第一收发单元 102Γ , 用于接收控制器 101发送的以太操作请 求报文; 其中, 所述以太操作请求报文携带后端适配器 1014 的 MAC地址和盘框 102的 MAC地址。
封装和解封装单元 1022' , 用于将第一收发单元 102Γ接收的 所述太操作请求报文解封装获得 SCSI协议操作请求; 所述 SCSI 协议操作请求携带控制器 101的 SCSI协议事务标识和目标盘 1031 的 SAS协议地址。
第二收发单元 1024,, 用于, 根据所述目标盘 1031的 SAS协 议地址,向目标盘 1031发送所述 SCSI协议操作请求。进一步地, 盘框 102还包括建立单元 1023,和查询单元 1025,。 建立单元 1023,, 用于建立后端适配器 1014的 MAC地址和控制器 101的 SCSI协议 事务标识的对应关系。 进一步地, 第二收发单元 1024' , 还用于, 接收目标盘 1031根据所述 SCSI协议操作请求发送的 SCSI协议操 作请求响应; 其中, 所述 SCSI协议操作请求响应携带控制器 101 的 SCSI协议事务标识。 查询单元 1025,, 用于根据控制器 101的 SCSI协议事务标识查询建立单元 1023,建立的后端适配器 1014的 MAC地址与控制器 101 的 SCSI协议事务标识的对应关系, 获得 后端适配器 1014的 MAC地址。封装和解封装单元 1022,, 还用于 将所述 SCSI协议操作请求响应封装到以太操作请求响应报文, 以 太操作请求响应报文携带所述后端适配器 1014的 MAC地址; 第 一收发单元 102Γ ,还用于根据后端适配器 1014的 MAC地址向控 制器 101 发送所述以太操作请求响应报文。 其中一种实现方式, 以太操作请求报文的第一字段携带所述 SCSI协议事务标识, 以太 操作请求报文的第二字段携带所述目标盘 1031的 SAS协议;其中, 所述第一字段、 所述第二字段与所述以太操作请求报文中携带所 述 SCSI协议操作请求的字段分别属于三个不同的字段。 建立单元 1023'建立所述后端适配器 1014的 MAC地址和所述控制器 101的 SCSI协议事务标识的对应关系, 具体包括: 所述封装和解封装单 元 1022,解封装所述以太操作请求报文的所述第一字段, 获得所述 控制器 101的 SCSI协议事务标识, 建立单元 1023,建立所述后端 适配器 1014的 MAC地址和控制器 101的 SCSI协议事务标识的对 应关系。 第二收发单元 1024,根据所述目标盘 1031的 SAS协议地 址, 向目标盘 1031发送 SCSI协议操作请求, 具体包括: 封装和 解封装单元 1022,解封装所述以太操作请求报文的所述第二字段, 获得目标盘 1031的 SAS协议地址, 第二收发单元 1024,根据目标 盘 1031的 SAS协议地址,向目标盘 1031发送所述 SCSI协议操作 请求。
基于图 3b的另一实施例, 后端适配器 1014发送的以太操作 请求报文的第一字段携带控制器 101的 SCSI协议事务标识, 第二 字段携带目标盘的 SAS协议; 其中, 以太操作请求报文中的第一 字段、 第二字段和携带所述 SCSI协议操作请求的字段分别属于三 个不同的字段;建立单元 1023,建立后端适配器 1014的 MAC地址 和控制器 101 的 SCSI协议事务标识的对应关系, 控制器 101 的 SCSI协议事务标识是盘框 102解封装以太操作请求报文, 从第一 字段中获得的。
第二收发单元 1024,根据目标盘的 SAS协议地址,向目标盘发 送该 SCSI协议操作请求中的所述目标盘的 SAS协议地址,具体包 括是封装和解封装单元 1022,解封装以太操作请求报文, 从第二字 段中获得目标盘的 SAS协议地址,第二收发单元 1024,根据从第二 字段中获得的目标盘的 SAS协议地址,向目标盘发送该 SCSI协议 操作请求中的所述目标盘的 SAS 协议地址。 这样不需要再解析 SCSI 协议操作请求, 即可根据第一字段中携带的控制器 101 的 SCSI协议事务标识建立控制器 101 的 SCSI协议事务标识与后端 适配器 1014的对应关系,并且根据第二字段中携带的目标盘 1031 的 SAS协议地址直接将 SCSI协议操作请求发送到目标盘 1031。
本发明实施例提供一种方法, 可以基于图 2 的结构执行。 方 法具体流程, 如图 5所示, 包括如下步骤。
501 : 中央处理器 1012向后端适配器 1014发送 SCSI协议操 作请求。
502: 后端适配器 1014接收到 SCSI协议操作请求后, 查询盘 框 102的 MAC地址与目标盘 1031的 SAS协议地址对应关系, 获 得盘框 102的 MAC地址。 将 SCSI协议操作请求封装成以太操作 请求 4艮文, 以太请求 ^艮文中到携带后端适配器 1014的 MAC地址 和盘框 102的 MAC地址。
503 : 后端适配器 1014根据盘框 102的 MAC地址向盘框 102 发送以太操作请求报文。
504: 盘框 102接收并解封装以太操作请求报文, 获得 SCSI 协议操作请求, 建立后端适配器 1014的 MAC地址与控制器 101 的 SCSI协议事务标识的对应关系。
505: 盘框 102根据目标盘 1031的 SAS协议地址, 向目标盘 1031发送 SCSI协议操作请求。
目标盘 1031接收到 SCSI协议操作请求后,生成 SCSI协议操 作请求口向应。
506: 盘框 102接收目标盘 1031根据 SCSI协议操作请求发送 的 SCSI协议操作请求响应。
507: 盘框 102根据控制器 101的 SCSI协议事务标识, 查询 后端适配器 1014的 MAC地址与控制器 101的 SCSI协议事务标识 的对应关系, 获得后端适配器 1014的 MAC地址, 将 SCSI协议操 作请求响应封装到携带后端适配器 1014的 MAC地址的以太操作 请求响应 艮文。
508: 盘框 102根据后端适配器 1014的 MAC地址向控制器 101发送以太操作请求响应报文。
509:后端适配器 1014接收并解封装以太操作请求响应报文, 获得 SCSI协议操作请求响应。
510: 后端适配器 1014向中央处理器 1012发送 SCSI协议操 作请求口向应。
在本发明实施例中, 控制器 101的后端适配器 1014有 MAC地址, 盘框 102也有 MAC地址。 控制器 101与盘框 102使用以太网络通信时, 将 SCSI协议命令封装到以太报文,中间控制器 101和盘框 102的中央处 理器都不使用 TCP/IP协议进行封装或解封装,减少了封装或解封装的 层次, 减少了存储系统中央处理器资源消耗, 减少了存储系统处理延 时, 提高了存储系统性能。 在本发明实施例场景下, 为实现控制器 101访问盘 1031...103η, 1041...104η中的任一块盘, 在控制器 101侧需要建立盘框 102的 MAC 地址与盘 1031...103η, 1041...104η中每一块盘的 S AS协议地址的对应 关系, 盘框 102则需要保存控制器 101的 SCSI协议事务标识与控制器 101的后端适配器 1014的 MAC地址的对应关系。 在本发明实施例中的 存储系统上电后, 控制器 101的后端适配器 1024发送携带后端适配器 1014的 MAC地址和控制器 101的 SCSI协议事务标识的心跳广播包,该 心跳广播包一方面用于收集盘框 102的 MAC地址及与盘框 102通信的 盘 1031...103η, 1041...104η中每一块盘的 SAS协议地址; 另一方面, 可以及时更新与盘框 102通信的盘的状态变化,如盘的增加或者减少。 盘框 102收集盘 1031...103η, 1041...104η中每一块盘的 SAS协议地址。 盘框 102收到心跳广播包后,向后端适配器 1014发送心跳广播包响应, 心跳广播包响应中携带盘框 102的 MAC地址和盘 1031...103η,
1041...104η中每一块盘的 SAS协议地址。 控制器 101的后端适配器 1014接收盘框 102发送的心跳广播包响应后, 建立并保存盘框 102的 MAC地址和盘 1031...103η, 1041...104η中每一块盘的 S AS协议地址的 对应关系。
其中一种实现方式, 如图 6所示, 包括:
步骤 601 : 控制器 101中的后端适配器 1014发送心跳广播包。
步骤 602: 盘框 102接收控制器 101中的后端适配器 1014发送的心 兆广播包。
步骤 603: 盘框 102向控制器 101发送心跳广播包响应。 步骤 604: 控制器 101中的后端适配器 1014接收盘框 102发送的心 跳广播包响应。
步骤 605: 后端适配器 1014从心跳广播包响应中解析出盘框 102 的 MAC地址和盘 1031...103η, 1041...104η中每一块盘的 S AS协议地址, 建立盘框 102的 MAC地址和盘 1031...103η, 1041...104η中每一块盘的 SAS协议地址的对应关系。
示例性地, 步骤 601中, 后端适配器 1014发送的心跳广播包的才艮 文格式如图 7所示, 后端适配器 1014发送的心跳广播包同样是将 SCSI 协议报文不经过 TCP/IP层直接封装到以太报文中。 从图 7可知, 后端 适配器 1014发送心跳广播包作为以太报文, 包括目的 MAC地址字段、 源 MAC地址字段和有效载荷(Payload ) 。 其中, 源 MAC地址位携带 后端适配器 1014的 MAC地址, 作为广播^艮文, 目的 MAC地址字段中 每一位均为 1 ; 该心跳广播包的有效载荷承载其他字段, 有效载荷可 包含多个字段, 如: SCSI协议报文类型字段, 用于表示 SCSI协议操 作请求的类型,如 SCSI协议读操作请求或 SCSI协议写操作请求; SCSI 协议事务标识字段,用于唯一标识控制器与盘建立的特定 SCSI协议事 务链接; 目的 SAS协议地址字段用于表示接收封装到该 SCSI协议操作 请求的盘的 SAS协议地址,通过该字段可以识别接收当前 SCSI协议操 作请求的目标盘的 SAS协议地址,而不需要再解析查询 SCSI协议帧数 据字段来确定目标盘的 SAS协议地址, 在心跳广播包中, 目的 SAS地 址字段中每一位均为 0。 有效载荷还包括操作码字段, 其中, 操作码 字段用于表示 SCSI命令和数据字段的操作类型,作为心跳广播包,操 作码字段为 0x050,用于表示广播报文。图 7所示的心跳广播包的报文, 盘框 102接收到该心跳广播包,解封装以太操作请求报文,从目的 SAS 地址字段携带的信息判断该报文为心跳广播包报文,从而提高了报文 处理速度。另一种实现方式,有效数字段中不包括 SCSI协议事务标识 字段和目的 SAS协议地址字段和 SCSI协议报文类型字段,心跳广播包 的有效载荷包括 SCSI协议帧数据字段, SCSI协议帧字段携带 SCSI协 议操作请求, 心跳广播包中携带的控制器 101的 SCSI协议事务标识和 目的 SAS协议地址可以从心跳广播包中的 SCSI协议协议帧数据字段 获得。 图 7中的以太操作请求报文格式的心跳广播包虽然给出了目标 MAC地址字段、 源 MAC地址字段和有效载荷, 但对本领域技术人员 来说, 以太操作请求报文根据需要还可包括其他字段, 有效载荷根据 需要还可以携带其他字段, 在此不再赘述。
示例性地, 步骤 603中, 盘框 102向控制器 101发送的心跳广播包 响应的^艮文格式, 如图 8所示包括, 心跳广播包响应的目的 MAC地址 字段为后端适配器 1014的 MAC地址, 源 MAC地址字段携带盘框 102 的 MAC地址, 操作码字段为 0x060, 有效载荷还包括报文内容标识字 段, 用于携带与盘框 102通信的盘的 SAS协议地址。
示例性地, 步骤 605中, 后端适配器 1014从心跳广播包响应中解 析出盘框 102的 MAC地址和盘 1031...103η, 1041...104η中每一块盘的 SAS协议地址。如图 9所示, 以二维表的形式存储盘框 102的 MAC地址 和盘 1031...103η, 1041...104η中每一块盘的 SAS协议地址的对应关系。 在具体计算机实现中,二维表可以用二维数组或者计算机可识别形式 存储, 本发明实施例在此不作限定。 盘框 102向控制器发送的心跳广 播包响应, 具体地, 可以一次性在该心跳广播包响应携带盘框 102的 MAC地址和所有盘 1031 ...103η, 1041 ...104η的 SAS协议地址, 也可以 在一次该心跳广播包响应中携带盘框 102的 MAC地址和部分盘的 SAS 协议地址,通过控制器 101与盘框 102之间多次心跳广播包和心跳广播 包响应交互, 更新和完善后端适配器 1014保存的盘框 102的 MAC地址 和盘 1031...103η, 1041...104η中每一块盘的 SAS协议地址的对应关系。 当有新的盘连接到盘框 102后, 盘框 102接收控制器 101发送的心跳广 播包, 在向控制器 101发送心跳广播包响应时携带盘框 102的 MAC地 址和该新的盘的 SAS协议地址。 本发明实施例中, 保存控制器 101的 SCSI协议事务标识和后端适配器 1014的 MAC地址的对应关系的另一 种表述, 即存储控制器 101的 SCSI协议事务标识和后端适配器 1014的 MAC地址的对应关系; 保存盘框 102的 MAC地址和盘 1031...103η, 1041...104η中每一块盘的 S AS协议地址的对应关系的另一种表述, 即 存储盘框 102的 MAC地址和盘 1031...103η, 1041...104η中每一块盘的 SAS协议地址的对应关系具有相同的含义。
本发明实施例中, 在图 2所示的控制器结构图中,控制器 101的中 央处理器与后端适配器 1014的连接关系, 如图 10所示, 前端适配器 1011与后端适配器 1014通过外围组件快速互联 (Peripheral Component Interconnect Express, PCIE)交换与中央处理器 1012通信。 当然, 前端 适配器 1011与后端适配器 1014通过 PCIE交换连接, 与中央处理器
1012通信这种实现方式只是其中一种实现方式,也可以通过南桥芯片 等来实现, 对此不作限定。
以图 10所示控制器结构为例, 控制器 101的中央处理器 1012向盘 框 102连接的目标盘发送 SCSI协议操作请求, 如读操作请求, 或者写 操作请求,本发明对此不作限定。该 SCSI协议的操作请求可以为中央 处理器 1012根据前端适配器 1011接收服务器发送的操作请求向目标 盘发送的, 对此不作限定。 示例地, SCSI协议的操作请求的报文格式 为 SCSI协议标准报文格式, 该 SCSI协议的操作请求中携带控制器 101 的 SCSI协议事务标识和目标盘的 SAS协议地址。后端适配器 1014接收 该 SCSI协议的操作请求, 根据该 SCSI协议的操作请求中携带的 SAS 协议地址,查询盘框的 MAC地址与目标盘的 S AS协议地址的对应关系 , 如查询表示盘框 102的 MAC地址与盘 1031...103η, 1041...104η中每一 块盘的 SAS协议地址对应关系的二维表。 本发明实施例中, 以该 SCSI 协议的操作请求中携带的目标盘 SAS协议地址为盘 1031的 SAS协议 地址为例。 根据目标盘 1031的 SAS协议地址查询盘框 102与目标盘 1031的 SAS协议地址的对应关系, 得到盘框 102的 MAC地址。
示例地,后端适配器 1014的结构如图 11所示,包括: PCIE接口, 直接内存访问( Direct Memory Access, DMA )引擎, 输入输出状态维 护模块, 协议封装与解封装模块和以太模块。 其中, PCIE接口, 用 于与中央处理器 1012的 PCIE端口进行数据传输, 如接收中央处理器 1012发送的 SCSI协议操作请求。 DMA引擎为后端适配器 1014可选结 构,根据 SCSI协议报文类型与携带的内存地址,可以从控制器的内存 1013中直接读取数据或直接向控制器的内存 1013中写入数据。 输入 输出状态维护模块用于前述的收集并维护盘框的 MAC地址与盘的
SAS协议地址的对应关系, 如存储用于表示盘框 102的 MAC地址与盘 1031...103η, 1041...104η中每一块盘的 S AS协议地址对应关系的二维 表。 输入输出状态维护模块根据 PCIE接口接收到的 SCSI协议操作请 求携带的目标盘的 SAS协议地址,查询目标盘所在的盘框的 MAC地址, 目标盘所在的盘框是指放置目标盘的盘框,关于放置的含义请见前面 描述。 本实施例中, 该 SCSI协议操作请求携带的目标盘的 SAS协议地 址为盘 1031的 S AS协议地址, 查询目标盘 1031的 S AS协议地址对应的 盘框的 MAC地址为盘框 102的 MAC地址, 将该 SCSI协议操作请求与 盘框 102的 MAC地址发送给协议封装与解封装模块, 如图 11所示, 协 议封装与解封装模块将该 SCSI协议操作请求封装到 SCSI协议帧数据 字段, 同时目的 SAS协议地址字段中封装目标盘 1031的 SAS协议地址, SCSI协议报文类型字段封装 SCSI协议操作请求的类型, SCSI协议事 务标识字段封装控制器 101的 SCSI协议事务标识, 将 SCSI协议报文类 型字段 SCSI协议事务标识字段、目的 SAS协议地址字段和 SCSI协议帧 数据字段封装到以太操作请求报文中的有效载荷,该以太报文的目标
MAC地址字段携带盘框 102的 MAC地址, 源 MAC地址字段携带后端 适配器 1014的 MAC地址, 这里称以太操作请求 文有效载荷中的目 的 SAS协议地址字段、 SCSI协议事务标识字段和携带 SCSI协议操作请 求的 SCSI协议帧数据字段为三个不同的字段; 另一种实现方式, 以太 操作请求报文中的有效载荷中不包含 SCSI协议事务标识字段和目的 SAS协议地址字段, 而是则盘框 102从 SCSI协议帧数据字段中携带的 SCSI协议操作请求中获取目标盘 1031的 S AS地址和控制器 101的 SCSI 协议事务标识。以太模块将该以太操作请求报文通过以太网络发送到 盘框 102。 以太模块包括流量控制模块、 报文重传模块、 以太 MAC模 块和以太接口, 其中, 流量控制模块用于当以太网出现数据拥塞时, 进行流量控制处理,避免因以太网络拥塞导致数据包丟失,报文重传 模块用于以太网网络发生报文传输错误时, 进行报文重传, 保证数据 传输可靠性; 以太 MAC和以太接口作为以太网标准的以太 MAC层和 以太物理接口层, 与标准的以太网络结构中的以太 MAC层和以太物 理接口层具有相同的含义。
输入输出状态维护模块还用于在执行 SCSI协议操作请求过程 中, 根据 SCSI协议操作请求的 SCSI协议报文类型字段创建、 维 护输入输出状态。 示例地, 可以用输入输出状态表记录 SCSI协议 操作请求的事务执行状态, 以避免 SCSI协议操作请求冲突。 本发 明实施例中, 当向盘框 102 发送所述以太操作请求报文时, 记录 所述 SCSI 协议操作请求的事务执行状态为建立与所述目标盘 1031的 SCSI协议事务链接, 执行所述 SCSI协议事务。
如图 3a所示的盘框 102的前端接口 1021接收到后端适配器 1014发 送的携带盘框 102的 MAC地址和后端适配器 1014的 MAC地址的以太 操作请求报文,解封装该以太操作请求报文,根据有效载荷中的 SCSI 协议报文类型字段即可获得该 SCSI协议操作请求的类型。 例如 SCSI 协议报文类型为 SCSI协议读操作请求, 根据有效载荷中的 SCSI协议 事务标识字段即可获得 SCSI协议事务标识, 从而建立 SCSI协议事务 标识与后端适配器 1014的 MAC地址的对应关系, 才艮据有效载荷中的 目的 SAS协议地址字段即可获知目标盘 1031的 SAS协议地址, 盘框
102不需要解析 SCSI协议帧数据字段即可根据目标盘 1031的 SAS协议 地址将 SCSI协议操作请求发送到目标盘 1031。 因此, 减少了盘框 102 进行协议处理的计算资源, 同时提高了协议处理速度, 进而提高了存 储系统的性能。 另一种实现方式, 以太操作请求报文的有效载荷中没 有 SCSI协议事务标识字段和目的 SAS协议地址字段,则盘框解封装以 太操作请求报文后,在有效载荷中获得 SCSI协议操作请求,解析 SCSI 协议操作请求, 获得 SCSI协议事务标识和目标盘 SAS协议地址, 建立 SCSI协议事务标识与后端适配器 1014的 MAC地址的对应关系, 根据 目标盘的 SAS协议地址,通过后端接口 1024向目标盘 1031发送该 SCSI 协议操作请求。
解封装携带 SCSI协议操作请求的以太操作请求报文后 ,获得后端 适配器 1014的 MAC地址, 根据有效载荷中的 SCSI协议事务标识字段 获得 SCSI协议事务标识, 中央处理器 1022建立后端适配器 1014的
MAC地址和所述控制器 101的 SCSI协议事务标识的对应关系,后端接 口 1024根据有效载荷中的目标 SAS协议地址字段携带的目标盘 1031 的 SAS协议地址, 向目标盘 1031发送该 SCSI协议操作请求。 中央处理 器 1022通过后端接口 1024接收目标盘 1031发送的 SCSI协议操作请求 响应, 该 SCSI协议操作请求响应携带控制器 101的 SCSI协议事务标识, 根据该 SCSI协议操作请求响应携带控制器 101的 SCSI协议事务标识 查询后端适配器 1014的 MAC地址和所述控制器 101的 SCSI协议事务 标识的对应关系。前端接口 1021接收中央处理器 1022发送的 SCSI协议 操作请求响应及后端适配器 1014的 MAC地址, 前端接口 1024将该 SCSI协议操作请求响应封装到以太操作请求响应报文,以太操作请求 响应报文携带后端适配器 1014的 MAC地址和前端适配器 1024的 MAC 地址。 例如, 目的 MAC地址字段携带后端适配器 1014的 MAC地址, 源 MAC地址字段携带盘框 102的 MAC地址, SCSI协议事务标识字段 携带控制器 101的 SCSI协议事务标识, SCSI协议报文类型字段携带 SCSI协议操作请求的类型。本发明实施例中,以太操作请求响应报文 也可称为以太操作请求报文的以太响应报文, 两者具有相同的含义。 其中一种实现方式,在以太操作请求响应 "^文的有效载荷, SCSI协议 帧数据字段携带 SCSI协议操作请求响应; 有效载荷的 SCSI协议事务 标识字段携带 SCSI协议事务标识; 有效载荷的 SCSI协议报文类型字 段携带 SCSI协议操作请求的类型。
控制器 101的后端适配器 1014接收盘框 102发送的以太操作请 求响应报文, 解封装该以太操作请求响应报文, 得到 SCSI协议操作 请求响应。 后端适配器 1014 的输入输出状态维护模块根据记录的 SCSI协议操作请求携带的 SCSI协议事务标识及该 SCSI协议操作请 求的事务执行状态, 判断该 SCSI协议操作请求响应是否合法。 具体 地, 当判断以太操作请求响应报文携带控制器 101的 SCSI协议事务 标识时, 则认为该 SCSI协议操作请求响应合法, 后端适配器 1014 的输入输出状态维护模块更新所述 SCSI协议操作请求的事务执行状 态为所述 SCSI协议事务执行完毕, 并撤销所述与所述目标盘 1031 的 SCSI协议事务链接; 当一个 SCSI协议事务包含多个 SCSI协议操 作请求响应才能够完成该 SCSI协议事务时,后端适配器 1014的输入 输出状态维护模块还要统计接收到的 SCSI协议操作请求响应的次数。 当以太操作请求响应报文未携带控制器 101的 SCSI协议事务标识时, 丟弃该 SCSI协议操作请求响应。 其中以太操作请求响应报文未携带 控制器 101的 SCSI协议事务标识包括以太操作请求响应报文未携带 控制器 101的 SCSI协议事务标识, 或者以太操作请求响应报文携带 控制器 101的 SCSI协议事务标识与控制器 101的 SCSI协议事务标 识不一致。 这里 SCSI协议事务标识一种实施情况, 可以从以太操作 请求响应报文的有效载荷中的 SCSI协议事务标识字段中获得。 另一 种实施情况, 以太请求响应报文的有效载荷中不包含 SCSI协议事务 标识字段, 则从有效载荷中的 SCSI协议帧数据字段获得控制器 101 的 SCSI协议事务标识。 后端适配器 1014将该 SCSI协议操作请求响 应发送给中央处理器 1012。
本发明实施例图 10所示的后端适配器 1014,作为一种逻辑架构, 实际实现过程中, 可以为 ASIC商业芯片, 或者为 FPGA, 具体组成 包括中央处理器和内存,还可以部分由 ASIC商业芯片和 FPGA共同 组成。 具体包括: 第一接口、 第二接口、 内存和第一中央处理器; 所 述第一接口用于接收所述中央处理器 1012发送的 SCSI协议操作请求; 其中,所述 SCSI协议操作请求中携带目标盘 1031的 SAS协议地址; 所述第一中央处理器执行所述内存中的计算机指令, 以执行 如下操作: 根据所述目标盘 1031 的 SAS协议地址, 查询所述盘框 102 的 MAC地址与所述目标盘 1031的 SAS协议地址对应关系, 获得 所述盘框 102的 MAC地址, 将所述 SCSI协议操作请求封装到以 太操作请求报文, 该以太操作请求报文携带所述后端适配器 1014 的 MAC地址和所述盘框 102的 MAC地址。
进一步地, 以太操作请求报文还包括第一字段和第二字段, 其中, 第一字段用于携带所述 SCSI协议事务标识, 第二字段用于 携带所述目标盘的 SAS协议地址。 以太操作请求报文中, 第一字 段、 第二字段和携带 SCSI协议操作请求的字段属于三个不同的字 段, 具体地, 如图 12所示, 第一字段为以太操作请求报文中有效 载荷中的 SCSI协议事务标识字段, 第二字段为有效载荷中的目的 SAS协议地址字段,有效载荷中携带所述 SCSI协议操作请求的字 段为 SCSI协议帧数据字段。 关于图 12其他字段的描述, 具体可 参见实施例中关于以太操作请求报文、 以太操作请求响应报文、 心跳广播包及心跳广播包响应报文的描述。
第二接口, 用于根据所述盘框 102的 MAC地址, 向所述盘框 102发送所述以太操作请求报文。 进一步地, 第二接口, 还用于接 收所述盘框 102 发送的所述以太操作请求报文的以太响应报文; 其中, 所述以太操作请求报文的以太响应报文携带所述后端适配 器 1014的 MAC地址。 第一中央处理器执行所述内存中的计算机 指令, 还用于执行: 解封装所述以太操作请求报文的以太响应报 文, 获得 SCSI协议操作请求响应; 第一接口, 还用于向所述中央 处理器 1012发送所述 SCSI协议操作请求响应。 进一步地, 所述 以太操作请求报文的以太响应报文还携带所述控制器 101的 SCSI 协议事务标识, 所述第一中央处理器执行所述内存中的计算机指 令,还用于执行:记录所述 SCSI协议操作请求的事务执行状态; 具 体地, 当向所述盘框 102 发送所述以太操作请求报文时, 记录所 述 SCSI 协议操作请求的事务状态为建立与所述目标盘 1031 的 SCSI协议事务链接, 并且执行所述 SCSI协议事务。
进一步地, 第一中央处理器执行所述内存中的计算机指令, 还用于执行: 根据所述 SCSI协议操作请求响应, 更新所述 SCSI 协议操作请求的事务状态为所述 SCSI协议事务执行完毕, 撤销所 述与所述目标盘 1031的 SCSI协议事务链接。
进一步地, 第一中央处理器执行所述内存中的计算机指令, 还用于执行: 当以太操作请求响应报文未携带所述控器 101 的 SCSI协议事务标识时, 丟弃所述 SCSI协议操作请求响应。
进一步地, 第一接口为 PCIE接口。
如图 11 所示的后端适配器 1014, 从逻辑上可以划分为如图 13所示的结构, 包括第一收发单元 1301 , 查询单元 1302, 封装与 解封装单元 1303和第二收发单元 1304。 第一收发单元 1301 , 用 于接收中央处理器 1012发送的 SCSI协议操作请求, 其中, 所述 SCSI协议操作请求中携带目标盘 1031的 SAS协议地址; 查询单 元 1302 ,用于查询盘框 102的 MAC地址与目标盘 1031的 SAS协 议地址对应关系, 获得所述盘框 102的 MAC地址; 封装与解封装 单元 1303 ,用于将所述 SCSI协议操作请求封装到以太操作请求报 文, 以太操作请求报文携带所述后端适配器 1014的 MAC地址和 盘框 102的 MAC地址; 第二收发单元 1304 , 用于根据盘框 102 的 MAC地址向盘框 102发送所述以太操作请求^艮文。 进一步地, 所述 SCSI协议操作请求还携带 SCSI协议事务标识, 封装与解封 装单元还用于将所述 SCSI协议事务标识封装到所述以太操作请求 报文的第一字段,将所述目标盘的 SAS协议地址封装到第二字段; 其中, 所述第一字段、 所述第二字段与所述以太操作请求报文中 携带所述 SC SI协议操作请求的字段分别属于三个不同的字段。
进一步地, 第二收发单元 1304 , 还用于接收盘框 102发送的 所述以太操作请求报文的以太响应报文; 其中, 所述以太操作请 求才艮文的以太响应 ^艮文携带所述后端适配器 1014的 MAC地址。 进一步地, 封装与解封装单元 1303 , 还用于解封装所述以太操作 请求报文的以太响应报文, 获得 SCSI协议操作请求响应。 第一收 发单元 1301 , 还用于向所述中央处理器 1012发送所述 SCSI协议 操作请求响应。 进一步地, 所述后端适配器 101 还包括记录单元 1304,用于记录所述 SCSI协议操作请求的事务执行状态。具体地, 当向所述盘框 102 发送所述以太操作请求报文时, 所述记录单元 1304 记录所述 SCSI协议操作请求的事务状态为建立与所述目标 盘 1031的 SCSI协议事务链接, 执行所述 SCSI协议事务。 进一步 地, 所述记录单元 1304 ,还用于根据所述 SCSI协议操作请求响应 更新所述 SCSI协议操作请求的事务状态为所述 SCSI协议事务执 行完毕, 撤销所述与所述目标盘 1031 的 SCSI协议事务链接。 进 一步地, 所述第一收发单元 1301还用于当所述以太操作请求响应 报文未携带所述控制器 101 的 SCSI协议事务标识时, 丟弃所述 SCSI协议操作请求响应。
进一步地, 盘框 102的 MAC地址与目标盘 1031的 SAS协议地址对 应关系是由后端适配器 1014根据框盘 102发送的资源信息建立起来的; 所述资源信息包括盘框 102的 MAC地址和目标盘 1031的 SAS协议地址, 具体是由盘框 102发送的心跳广播包响应实现的。
进一步地,本发明实施例中描述的控制器 101和盘框 102可以组成 如图 14所示的存储系统, 包括多个控制器 101和多个盘框 102, 关于控 制器 101和盘框 102的数量可以根据实际需求确定。 多个控制器 101与 多个盘框 102通过以太交换机 100通信。 同时, 控制器 101之间可以形 成冗余关系以提高可靠性。 通过本发明实施例提供的控制器 101和盘 框 102, 可以实现系统的灵活扩展。
本发明实施例中, SCSI协议操作请求和 SCSI协议操作请求响应 均是 SCSI协议报文; S AS协议作为一种接口协议, 即使用串行的 SCSI 协议, 使用 SAS接口的设备之间使用 SCSI协议通信, 具体到本发明实 施例, 盘 1031...103η, 1041...104η为 SAS协议接口的盘, 盘框 102也使 用 SAS协议接口与盘 1031...103η, 1041...104η连接, 盘框 102与盘 1031...103η, 1041...104η使用 SCSI协议通信; SCSI协议事务链接是在 SCSI协议中,发起端( Initiator )与目标端( Target )通信建立的链路, 当通信结束时, 释放该链路, 从而释放 SCSI协议资源, 而建立该链路 以执行的事务为 SCSI协议事务, 即对应的 SCSI协议操作请求。
本发明实施例中,将 SCSI协议事务标识封装到以太操作请求报文 的第一字段,则称以太操作请求报文的第一字段携带 SCSI协议事务标 识; 将目标盘的 SAS协议地址封装到以太操作请求报文的第二字段, 则称以太操作请求报文的第二字段携带目标盘的 SAS协议地址。
本发明实施例中使用的中央处理器和第一中央处理器的描述,仅 仅是为了清楚说明归属于不同的装置,中央处理器和第一中央处理器 可以为相同的处理器, 也可以为不同的处理器, 具体根据技术需要选 择, 本发明实施例对此不作限定。
本领域普通技术人员可以意识到, 结合本文中所公开的实施 例描述的各示例的单元及算法步骤, 能够以电子硬件、 或者计算 机软件和电子硬件的结合来实现。 这些功能究竟以硬件还是软件 方式来执行, 取决于技术方案的特定应用和设计约束条件。 专业 技术人员可以对每个特定的应用来使用不同方法来实现所描述的 功能, 但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简 洁, 上述描述的系统、 装置和单元的具体工作过程, 可以参考前 述方法实施例中的对应过程, 在此不再赘述。
在本申请所提供的几个实施例中,应该理解到 ,所公开的系统、 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施 例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功 能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组 件可以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合 或通信连接可以是通过一些接口, 装置或单元的间接耦合或通信 连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上 分开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以 根据实际的需要选择其中的部分或者全部单元来实现本实施例方 案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个 处理单元中, 也可以是各个单元单独物理存在, 也可以两个或两 个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品 销售或使用时, 可以存储在一个计算机可读取非易失性存储介质 中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技 术做出贡献的部分或者该技术方案的部分可以以软件产品的形式 体现出来, 该计算机软件产品存储在一个非易失性存储介质中, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 月良 务器, 或者网络设备等) 执行本发明各个实施例所述方法的全部 或部分步骤。而前述的非易失性存储介质包括: U盘、移动硬盘、 只读存储器 (ROM, Read-Only Memory ) 、 磁碟或者光盘等各种 可以存储程序代码的介质。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范 围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露 的技术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保 护范围之内。 因此, 本发明的保护范围应所述以权利要求的保护 范围为准。

Claims

权利要求书
1、 一种处理操作请求的存储系统, 所述存储系统包括控制器 和盘框,所述控制器与所述盘框通过以太网络通信; 所述控制器包 括中央处理器和后端适配器; 所述盘框和所述后端适配器均有媒 体访问控制 MAC地址, 所述盘框中连接多块盘, 所述盘框中的每 块盘通过串行小型计算机系统接口 SAS协议与所述盘框连接; 其 特征在于, 所述后端适配器保存所述盘框的 MAC地址与所述盘框 中每块盘的 SAS协议地址对应关系;
所述后端适配器, 用于接收所述中央处理器发送的小型计算 机系统接口 SCSI协议操作请求, 所述 SCSI协议操作请求中携带 所述控制器的 SCSI协议事务标识和目标盘的 SAS协议地址,根据 所述目标盘的 SAS协议地址, 查询所述盘框的 MAC地址与所述 目标盘的 SAS协议地址对应关系, 获得所述盘框的 MAC地址, 将所述 SCSI协议操作请求封装到以太操作请求报文, 根据所述盘 框的 MAC地址向所述盘框发送所述以太操作请求报文; 所述以太 操作请求报文携带所述后端适配器的 MAC 地址和所述盘框的 MAC地址;
所述盘框用于接收并解封装所述以太操作请求报文, 获得所 述 SCSI协议操作请求,根据所述目标盘的 SAS协议地址, 向所述 目标盘发送所述 SCSI协议操作请求。
2、 根据权利要求 1所述的系统, 其特征在于, 所述盘框, 还 用于建立所述后端适配器的 MAC地址和所述控制器的 SCSI协议 事务标识的对应关系;
所述盘框, 还用于接收所述目标盘根据所述 SCSI协议操作请 求发送的 SCSI协议操作请求响应, 其中, 所述 SCSI协议操作请 求响应携带所述控制器的 SCSI协议事务标识, 根据所述控制器的 SCSI协议事务标识查询所述后端适配器的 MAC地址与所述控制 器的 SCSI协议事务标识的对应关系,获得所述后端适配器的 MAC 地址, 将所述 SCSI协议操作请求响应封装到以太操作请求响应报 文,根据所述后端适配器的 MAC地址向所述控制器发送所述以太 操作请求响应报文; 所述以太操作请求响应报文携带所述后端适 配器的 MAC地址;
所述后端适配器, 还用于接收并解封装所述以太操作请求响 应报文, 获得所述 SCSI协议操作请求响应, 向所述中央处理器发 送所述 SCSI协议操作请求响应。
3、 根据权利要求 2所述的系统, 其特征在于, 所述后端适配 器, 还用于将所述 SCSI协议操作请求中的所述控制器的 SCSI协 议事务标识封装到所述以太操作请求报文的第一字段, 将所述 SCSI协议操作请求中的所述目标盘的 SAS协议地址封装到所述以 太操作请求报文的第二字段; 其中, 所述第一字段、 所述第二字 段与携带所述 SC SI协议操作请求的字段为三个不同字段;
所述盘框建立所述后端适配器的 MAC 地址和所述控制器的 SCSI协议事务标识的对应关系, 具体包括: 所述盘框解封装所述 以太操作请求报文的所述第一字段, 获得所述控制器的 SCSI协议 事务标识,建立所述后端适配器的 MAC地址和所述控制器的 SC SI 协议事务标识的对应关系;
所述盘框根据所述目标盘的 SAS协议地址, 向所述目标盘发 送所述 SCSI协议操作请求, 具体包括: 所述盘框解封装所述以太 操作请求报文的所述第二字段,获得所述目标盘的 SAS协议地址, 根据所述目标盘的 SAS 协议地址, 向所述目标盘发送所述 SCSI 协议操作请求。
4、 根据权利要求 3所述的系统, 其特征在于, 所述后端适配 器,还用于记录所述 SCSI协议操作请求的事务执行状态;具体地, 当向所述盘框发送所述以太操作请求报文时, 记录所述 SCSI协议 操作请求的事务状态为建立与所述目标盘的 SCSI协议事务链接, 执行所述 SCSI协议事务。
5、 根据权利要求 4所述的系统, 其特征在于, 所述后端适配 器, 还用于根据所述 SCSI协议操作请求响应更新所述 SCSI协议 操作请求的事务状态为所述 SCSI协议事务执行完毕, 撤销所述与 所述目标盘的 SCSI协议事务链接。
6、 根据权利要求 4所述的系统, 其特征在于, 当所述以太操 作请求响应报文未携带所述控制器的 SCSI协议事务标识时, 所述 后端适配器, 还用于丟弃所述 SCSI协议操作请求响应。
7、 根据权利要求 1 所述的系统, 其特征在于, 所述盘框的 MAC地址与所述目标盘的 SAS协议地址对应关系是由所述后端适 配器根据所述盘框发送的资源信息建立起来的; 所述资源信息包 含所述盘框的 MAC地址和所述目标盘的 SAS协议地址。
8、 一种处理操作请求的方法, 所述方法应用于控制器, 所述 控制器与盘框通过以太网络通信; 所述控制器包括中央处理器和 后端适配器; 所述盘框和所述后端适配器均有媒体访问控制 MAC 地址; 所述盘框中连接多块盘, 所述盘框中的每块盘通过串行小 型计算机系统接口 SAS协议与所述盘框连接; 其特征在于, 所述 后端适配器保存所述盘框的 MAC地址与所述盘框中每块盘的 SAS 协议地址对应关系;
所述方法包括:
所述中央处理器发送小型计算机系统接口 SCSI协议操作请求; 其中, 所述 SCSI协议操作请求中携带目标盘的 SAS协议地址; 所述后端适配器接收所述中央处理器发送的所述 SCSI协议操 作请求, 根据所述目标盘的 SAS协议地址, 查询所述盘框的 MAC 地址与所述目标盘的 SAS 协议地址对应关系, 获得所述盘框的 MAC地址, 将所述 SCSI协议操作请求封装到携带所述后端适配 器的 MAC地址和所述盘框的 MAC地址的以太操作请求报文, 根 据所述盘框的 MAC地址向所述盘框发送所述以太操作请求报文。
9、 根据权利要求 8所述的方法, 其特征在于, 所述 SCSI协 议操作请求还携带 SCSI协议事务标识, 所述方法还包括: 将所述 SCSI协议事务标识封装到所述以太操作请求报文的第一字段, 将 所述目标盘的 SAS协议地址封装到所述以太操作请求报文的第二 字段; 其中, 所述第一字段、 所述第二字段与所述以太操作请求 报文中携带所述 SC SI协议操作请求的字段分别属于三个不同的字 段。
10、 根据权利要求 9 所述的方法, 其特征在于, 所述方法还 包括:
所述后端适配器接收并解封装由所述盘框发送的所述以太操 作请求报文的以太响应报文, 获得 SCSI协议操作请求响应, 向所 述中央处理器发送所述 SCSI协议操作请求响应; 其中, 所述以太 操作请求报文的以太响应报文携带所述后端适配器的 MAC地址; 所述中央处理器接收所述 SCSI协议操作请求响应。
11、 根据权利要求 10所述的方法, 其特征在于, 所述后端适 配器还记录所述 SCSI协议操作请求的事务执行状态; 具体地, 当 向所述盘框发送所述以太操作请求报文时, 记录所述 SCSI协议操 作请求的事务状态为建立与所述目标盘的 SCSI协议事务链接, 执 行所述 SCSI协议事务。
12、 根据权利要求 11所述的方法, 其特征在于, 还包括: 所 述后端适配器根据所述 SCSI协议操作请求响应更新所述 SCSI协 议操作请求的事务状态为所述 SCSI协议事务执行完毕, 撤销所述 与所述目标盘的 SCSI协议事务链接。
13、 根据权利要求 11所述的方法, 其特征在于, 当所述以太 操作请求报文的以太响应报文未携带所述控制器的 SCSI协议事务 标识时, 丟弃所述 SCSI协议操作请求响应。
14、 根据权利要求 8 所述的方法, 其特征在于, 所述盘框的 MAC地址与所述目标盘的 SAS协议地址对应关系是由所述后端适 配器根据所述盘框发送的资源信息建立起来的; 所述资源信息包 含所述盘框的 MAC地址和所述目标盘的 SAS协议地址。
15、 一种处理操作请求的方法, 所述方法应用于盘框, 控制 器与所述盘框通过以太网络通信; 所述控制器包括中央处理器和 后端适配器; 所述盘框和所述后端适配器均有媒体访问控制 MAC 地址; 所述盘框中连接多块盘, 所述盘框中的每块盘通过串行小 型计算机系统接口 SAS协议与所述盘框连接; 其特征在于,
所述方法包括:
所述盘框接收并解封装所述控制器发送的以太操作请求报文, 获得小型计算机系统接口 SCSI协议操作请求; 其中, 所述以太操 作请求 文携带所述后端适配器的 MAC地址和所述盘框的 MAC 地址; 所述 SCSI协议操作请求携带所述控制器的 SCSI协议事务 标识和目标盘的 SAS协议地址;
所述盘框根据所述目标盘的 SAS协议地址, 向所述目标盘发 送所述 SCSI协议操作请求。
16、 根据权利要求 15所述的方法, 其特征在于, 所述方法还 包括,所述盘框建立所述后端适配器的 MAC地址和所述控制器的 SCSI协议事务标识的对应关系;
所述盘框接收所述目标盘根据所述 SCSI协议操作请求发送的 SCSI协议操作请求响应; 其中, 所述 SCSI协议操作请求响应携 带所述控制器的 SCSI协议事务标识;
所述盘框根据所述控制器的 SC SI协议事务标识查询所述后端 适配器的 MAC地址与所述控制器的 SCSI协议事务标识的对应关 系, 获得所述后端适配器的 MAC地址;
所述盘框将所述 SCSI协议操作请求响应封装到以太操作请求 响应报文; 所述以太操作请求响应报文携带所述后端适配器的 MAC地址;
所述盘框根据所述后端适配器的 MAC 地址向所述控制器发 送所述以太操作请求响应报文。
17、 根据权利要求 16所述的方法, 其特征在于, 所述以太操 作请求报文的第一字段携带所述 SCSI协议事务标识, 所述以太操 作请求报文的第二字段携带所述目标盘的 SAS协议; 其中, 所述 第一字段、 所述第二字段与所述以太操作请求报文中携带所述 SCSI协议操作请求的字段分别属于三个不同的字段。
所述盘框建立所述后端适配器的 MAC 地址和所述控制器的 SCSI协议事务标识的对应关系, 具体包括: 所述盘框解封装所述 以太操作请求报文的所述第一字段, 获得所述控制器的 SCSI协议 事务标识,建立所述后端适配器的 MAC地址和所述控制器的 SC SI 协议事务标识的对应关系;
所述盘框根据所述目标盘的 SAS协议地址, 向所述目标盘发 送所述 SCSI协议操作请求, 具体包括: 所述盘框解封装所述以太 操作请求报文的所述第二字段,获得所述目标盘的 SAS协议地址, 根据所述目标盘的 SAS 协议地址, 向所述目标盘发送所述 SCSI 协议操作请求。
18、 一种控制器, 所述控制器应用于存储系统, 所述存储系 统包括所述控制器和盘框, 所述控制器与所述盘框通过以太网络 通信; 所述控制器包括中央处理器和后端适配器; 所述盘框和所 述后端适配器均有媒体访问控制 MAC地址; 所述盘框中连接多块 盘, 所述盘框中的每块盘通过串行小型计算机系统接口 SAS协议 与所述盘框连接; 其特征在于, 所述后端适配器保存所述盘框的 MAC地址与所述盘框中每块盘的 SAS协议地址对应关系;
所述中央处理器, 用于发送小型计算机系统接口 SCSI协议操 作请求; 其中, 所述 SCSI协议操作请求中携带目标盘的 SAS协议 地址;
所述后端适配器, 用于接收所述 SCSI协议操作请求, 根据所 述目标盘的 SAS协议地址, 查询所述盘框的 MAC地址与所述目 标盘的 SAS协议地址对应关系, 获得所述盘框的 MAC地址, 将 所述 SCSI协议操作请求封装到以太操作请求报文, 根据所述盘框 的 MAC地址向所述盘框发送所述以太操作请求报文; 所述以太操 作请求 文携带所述后端适配器的 MAC地址和所述盘框的 MAC 地址。
19、 根据权利要求 18所述的控制器, 其特征在于, 所述 SCSI 协议操作请求还携带 SCSI协议事务标识, 所述后端适配器, 还用 于将所述 SCSI协议事务标识封装到所述以太操作请求报文的第一 字段, 将所述目标盘的 SAS协议地址封装到所述以太操作请求报 文的第二字段; 其中, 所述第一字段、 所述第二字段与所述以太 操作请求报文中携带所述 SCSI协议操作请求的字段分别属于三个 不同的字段。
20、 根据权利要求 19所述的控制器, 其特征在于, 所述后端 适配器, 还用于接收并解封装由所述盘框发送的所述以太操作请 求报文的以太响应报文, 获得 SCSI协议操作请求响应, 向所述中 央处理器发送所述 SCSI协议操作请求响应; 其中, 所述以太操作 请求 ^艮文的以太响应 文携带所述后端适配器的 MAC地址;
所述中央处理器, 还用于接收所述 SCSI协议操作请求响应。
21、 根据权利要求 20所述的控制器, 其特征在于, 所述后端 适配器, 还用于记录所述 SCSI协议操作请求的事务执行状态; 具 体地,当向所述盘框发送所述以太操作请求报文时,记录所述 SCSI 协议操作请求的事务状态为建立与所述目标盘的 SC SI协议事务链 接, 执行所述 SCSI协议事务。
22、 根据权利要求 21所述的控制器, 其特征在于, 所述后端 适配器, 还用于根据所述 SCSI协议操作请求响应更新所述 SCSI 协议操作请求的事务状态为所述 SCSI协议事务执行完毕, 撤销所 述与所述目标盘的 SCSI协议事务链接。
23、 根据权利要求 21所述的控制器, 其特征在于, 所述后端 适配器, 还用于当所述以太操作请求报文的以太响应报文未携带 所述控制器的 SCSI协议事务标识时, 丟弃所述 SCSI协议操作请 求响应。
24、 根据权利要求 18所述的控制器, 其特征在于, 所述盘框 的 MAC地址与所述目标盘的 SAS协议地址对应关系是由所述后 端适配器根据所述盘框发送的资源信息建立起来的; 所述资源信 息包含所述盘框的 MAC地址和所述目标盘的 SAS协议地址。
25、 一种盘框, 所述盘框应用于存储系统, 所述存储系统包 括控制器和盘框; 所述控制器包括中央处理器和后端适配器; 所 述盘框和所述后端适配器均有媒体访问控制 MAC地址;所述盘框 中连接多块盘, 所述盘框中的每块盘通过串行小型计算机系统接 口 SAS协议与所述盘框连接; 所述控制器与所述盘框通过以太网 络通信; 其特征在于,
其中, 所述盘框包括:
第一收发单元, 用于接收所述控制器发送的以太操作请求报 文; 其中, 所述以太操作请求报文携带所述后端适配器的 MAC地 址和所述盘框的 MAC地址;
封装和解封装单元, 用于将所述第一收发单元接收的所述以 太操作请求报文解封装获得小型计算机系统接口 SCSI协议操作请 求; 所述 SCSI协议操作请求携带所述控制器的 SCSI协议事务标 识和目标盘的 SAS协议地址;
第二收发单元, 用于根据所述目标盘的 SAS协议地址, 向所 述目标盘发送所述 SCSI协议操作请求。
26、 根据权利要求 25所述的盘框, 其特征在于, 还包括建立 单元和查询单元;
所述建立单元,用于建立所述后端适配器的 MAC地址和所述 控制器的 SCSI协议事务标识的对应关系;
所述第二收发单元, 还用于接收所述目标盘根据所述 SCSI协 议操作请求发送的 SCSI协议操作请求响应; 其中, 所述 SCSI协 议操作请求响应携带所述控制器的 SC SI协议事务标识;
所述查询单元, 用于根据所述控制器的 SCSI协议事务标识查 询所述建立单元建立的所述后端适配器的 MAC 地址与所述控制 器的 SCSI协议事务标识的对应关系,获得所述后端适配器的 MAC 地址;
所述封装和解封装单元, 还用于将所述 SCSI协议操作请求响 应封装到以太操作请求响应报文; 所述以太操作请求响应报文携 带所述后端适配器的 MAC地址;
所述第一收发单元,还用于根据所述后端适配器的 MAC地址 向所述控制器发送所述以太操作请求响应报文。
27、 根据权利要求 26所述的盘框, 其特征在于, 所述以太操 作请求报文的第一字段携带所述 SCSI协议事务标识, 所述以太操 作请求报文的第二字段携带所述目标盘的 SAS协议; 其中, 所述 第一字段、 所述第二字段与所述以太操作请求报文中携带所述 SCSI协议操作请求的字段分别属于三个不同的字段;
所述建立单元建立所述后端适配器的 MAC 地址和所述控制 器的 SCSI协议事务标识的对应关系, 具体包括: 所述封装和解封 装单元解封装所述以太操作请求报文的所述第一字段, 获得所述 控制器的 SCSI协议事务标识, 所述建立单元建立所述后端适配器 的 MAC地址和所述控制器的 SCSI协议事务标识的对应关系; 所述第二收发单元根据所述目标盘的 SAS协议地址, 向所述 目标盘发送所述 SCSI协议操作请求, 具体包括: 所述封装和解封 装单元解封装所述以太操作请求报文的所述第二字段, 获得所述 目标盘的 SAS 协议地址, 所述第二收发单元根据所述目标盘的 SAS协议地址, 向所述目标盘发送所述 SCSI协议操作请求。
28、 一种后端适配器, 应用于存储系统的控制器中, 所述存 储系统包括控制器和盘框, 所述控制器与所述盘框通过以太网络 通信; 所述控制器包括中央处理器和所述后端适配器; 所述盘框 和所述后端适配器均有媒体访问控制 MAC地址; 所述盘框中连接 多块盘, 所述盘框中的每块盘通过串行小型计算机系统接口 SAS 协议与所述盘框连接; 其特征在于, 所述后端适配器保存所述盘 框的 MAC地址与所述盘框中每块盘的 SAS协议地址对应关系; 所述后端适配器包括:
第一收发单元, 用于接收中央处理器发送的小型计算机系统 接口 SCSI协议操作请求, 其中, 所述 SCSI协议操作请求中携带 目标盘的 SAS协议地址;
查询单元, 用于查询所述盘框的 MAC 地址与所述目标盘的 SAS协议地址对应关系, 获得所述盘框的 MAC地址;
封装与解封装单元, 用于将所述 SCSI协议操作请求封装到以 太操作请求报文; 所述以太操作请求报文携带所述后端适配器的
MAC地址和所述盘框的 MAC地址;
第二收发单元,用于根据所述盘框的 MAC地址向所述盘框发 送所述以太操作请求报文。
29、 根据权利要求 28所述的后端适配器, 其特征在于, 所述 SCSI协议操作请求还携带 SCSI协议事务标识, 所述封装与解封 装单元, 还用于将所述 SCSI协议事务标识封装到所述以太操作请 求报文的第一字段, 将所述目标盘的 SAS协议地址封装到第二字 段; 其中, 所述第一字段、 所述第二字段与所述以太操作请求报 文中携带所述 SCSI协议操作请求的字段分别属于三个不同的字段。
30、 根据权利要求 29所述的后端适配器, 其特征在于, 所述 第二收发单元, 还用于接收所述盘框发送的所述以太操作请求报 文的以太响应报文; 其中, 所述以太操作请求报文的以太响应报 文携带所述后端适配器的 MAC地址;
所述封装与解封装单元, 还用于解封装所述以太操作请求报 文的以太响应报文, 获得 SCSI协议操作请求响应;
所述第一收发单元, 还用于向所述中央处理器发送所述 SCSI 协议操作请求响应。
31、 根据权利要求 30所述的后端适配器, 其特征在于, 所述 后端适配器还包括记录单元, 用于记录所述 SCSI协议操作请求的 事务执行状态; 具体地,当向所述盘框发送所述以太操作请求报文 时, 所述记录单元记录所述 SCSI协议操作请求的事务状态为建立 与所述目标盘的 SCSI协议事务链接, 执行所述 SCSI协议事务。
32、 根据权利要求 31所述的后端适配器, 所述记录单元, 还 用于根据所述 SCSI协议操作请求响应更新所述 SCSI协议操作请 求的事务状态为所述 SC SI协议事务执行完毕, 撤销所述与所述目 标盘的 SCSI协议事务链接。
33、根据权利要求 31所述的后端适配器,所述第一收发单元, 还用于当所述以太操作请求报文的以太响应报文未携带所述控制 器的 SCSI协议事务标识时, 丟弃所述 SCSI协议操作请求响应。
34、 根据权利要求 29所述的后端适配器, 所述盘框的 MAC 地址与所述目标盘的 SAS协议地址对应关系是由所述后端适配器 根据所述盘框发送的资源信息建立起来的; 所述资源信息包括所 述盘框的 MAC地址和所述目标盘的 SAS协议地址。
35、 一种后端适配器, 应用于存储系统的控制器中, 所述存 储系统包括控制器和盘框, 所述控制器与所述盘框通过以太网络 通信; 所述控制器包括中央处理器和所述后端适配器; 所述盘框 和所述后端适配器均有媒体访问控制 MAC地址; 所述盘框中连接 多块盘, 所述盘框中的每块盘通过串行小型计算机系统接口 SAS 协议与所述盘框连接; 其特征在于, 所述后端适配器保存所述盘 框的 MAC地址与所述盘框中每块盘的 SAS协议地址对应关系; 其中, 所述后端适配器包括第一接口、 第二接口、 内存和第 一中央处理器; 所述第一接口, 用于接收所述中央处理器发送的 小型计算机系统接口 SCSI协议操作请求; 其中, 所述 SCSI协议 操作请求中携带目标盘的 SAS协议地址;
所述第一中央处理器执行所述内存中的计算机指令, 以执行 如下操作:
根据所述目标盘的 SAS协议地址, 查询所述盘框的 MAC地 址与所述目标盘的 SAS协议地址对应关系,获得所述盘框的 MAC 地址, 将所述 SCSI协议操作请求封装到以太操作请求报文, 所述 以太操作请求报文携带所述后端适配器的 MAC 地址和所述盘框 的 MAC地址;
第二接口,用于根据所述盘框的 MAC地址向所述盘框发送所 述以太操作请求报文。
36、 根据权利要求 35所述的后端适配器, 其特征在于, 所述 SCSI协议操作请求还携带 SCSI协议事务标识, 所述第一中央处 理器执行所述内存中的计算机指令, 还执行如下操作:
将所述 SCSI协议事务标识封装到所述以太操作请求报文的第 一字段, 将所述目标盘的 SAS协议地址封装到第二字段; 其中, 所述第一字段、 所述第二字段与所述以太操作请求报文中携带所 述 SC SI协议操作请求的字段分别属于三个不同的字段。
37、 根据权利要求 36所述的后端适配器, 其特征在于, 所述 第二接口, 还用于接收所述盘框发送的所述以太操作请求报文的 以太响应报文; 其中, 所述以太操作请求报文的以太响应报文携 带所述后端适配器的 MAC地址;
所述第一中央处理器执行所述内存中的计算机指令, 还用于 执行:
解封装所述以太操作请求报文的以太响应报文, 获得 SCSI协 议操作请求口向应;
所述第一接口, 还用于向所述中央处理器发送所述 SCSI协议 操作请求响应。
38、 根据权利要求 37所述的后端适配器, 其特征在于, 所述 第一中央处理器执行所述内存中的计算机指令, 还用于执行: 记录所述 SCSI协议操作请求的事务执行状态; 具体地, 当向 所述盘框发送所述以太操作请求报文时, 记录所述 SCSI协议操作 请求的事务状态为建立与所述目标盘的 SCSI协议事务链接, 执行 所述 SCSI协议事务。
39、 根据权利要求 38所述的后端适配器, 其特征在于, 所述 第一中央处理器执行所述内存中的计算机指令, 还用于执行: 根据所述 SCSI协议操作请求响应更新所述 SCSI协议操作请 求的事务状态为所述 SC SI协议事务执行完毕, 撤销所述与所述目 标盘的 SCSI协议事务链接。
40、 根据权利要求 38所述的后端适配器, 其特征在于, 所述 第一中央处理器执行所述内存中的计算机指令, 还用于执行: 当所述以太操作请求报文的以太响应报文未携带所述控器的 SCSI协议事务标识时, 丟弃所述 SCSI协议操作请求响应。
41、 根据权利要求 35所述的后端适配器, 其特征在于, 所述 第一接口为外围组件快速互联 PCIE接口。
42、 一种盘框, 所述盘框应用于存储系统, 所述存储系统包 括控制器和盘框,所述控制器与所述盘框通过以太网络通信; 所述 控制器包括中央处理器和后端适配器; 所述盘框和所述后端适配 器均有媒体访问控制 MAC地址; 所述盘框中连接多块盘, 所述盘 框中的每块盘通过串行小型计算机系统接口 SAS协议与所述盘框 连接; 其特征在于, 所述盘框包括: 前端接口、 后端接口、 第一 中央处理器和第一内存;
所述前端接口, 用于接收并解封装所述控制器发送的以太操 作请求报文, 获得小型计算机系统接口 SCSI协议操作请求, 向所 述第一中央处理器发送所述 SCSI协议操作请求; 所述以太操作请 求才艮文携带所述后端适配器的 MAC地址和所述盘框的 MAC地址; 所述 SCSI协议操作请求携带所述控制器的 SCSI协议事务标识和 目标盘的 SAS协议地址;
所述第一中央处理器执行所述第一内存中的计算机指令, 以 执行如下操作:
接收所述 SCSI协议操作请求,向所述后端接口发送所述 SCSI 协议操作请求;
所述后端接口, 用于接收所述 SCSI协议操作请求, 根据所述 目标盘的 SAS协议地址向所述目标盘发送所述 SCSI协议操作请求。
43、 根据权利要求 42所述的盘框, 其特征在于, 所述第一中 央处理器执行所述第一内存中的计算机指令, 还执行如下操作: 建立所述后端适配器的 MAC地址和所述控制器的 SCSI协议 事务标识的对应关系,所述后端接口,用于根据所述目标盘的 SAS 协议地址;
所述后端接口, 还用于接收所述目标盘根据所述 SCSI协议操 作请求发送的 SCSI协议操作请求响应; 其中, 所述 SCSI协议操 作请求响应携带所述控制器的 SCSI协议事务标识;
所述第一中央处理器执行所述第一内存中的计算机指令, 还 执行如下操作:
根据所述 SCSI协议操作请求响应携带的所述控制器的 SCSI 协议事务标识,查询所述后端适配器的 MAC地址与所述控制器的 SCSI协议事务标识的对应关系, 获得所述后端适配器的 MAC地 址;
所述前端接口, 还用于接收所述第一中央处理器发送的所述 SCSI协议操作请求响应, 根据所述第一中央处理器查找到的所述 后端适配器的 MAC地址, 将所述 SCSI协议操作请求响应封装到 以太操作请求响应报文;根据所述后端适配器的 MAC地址向所述 控制器发送所述以太操作请求响应报文; 所述以太操作请求响应 报文携带所述后端适配器的 MAC地址。
44、 根据权利要求 43所述的方法, 其特征在于, 所述以太操 作请求报文的第一字段携带所述 SCSI协议事务标识, 所述以太操 作请求报文的第二字段携带所述目标盘的 SAS协议; 其中, 所述 第一字段、 所述第二字段与所述以太操作请求报文中携带所述 SCSI协议操作请求的字段分别属于三个不同的字段; 所述建立所述后端适配器的 MAC地址和所述控制器的 SCSI 协议事务标识的对应关系, 具体包括:
所述前端接口解封装所述以太操作请求报文的所述第一字段, 获得所述控制器的 SCSI协议事务标识, 所述第一处理器建立单元 建立所述后端适配器的 MAC地址和所述控制器的 SCSI协议事务 标识的对应关系;
所述后端接口根据所述目标盘的 SAS协议地址, 向所述目标 盘发送所述 SCSI协议操作请求, 具体包括: 所述封前端接口解封 装所述以太操作请求报文的所述第二字段, 获得所述目标盘的 SAS协议地址, 所述后端接口根据所述目标盘的 SAS协议地址, 向所述目标盘发送所述 SCSI协议操作请求。
PCT/CN2014/084255 2014-08-13 2014-08-13 处理操作请求的存储系统、方法及装置 WO2016023187A1 (zh)

Priority Applications (16)

Application Number Priority Date Filing Date Title
CN201710216091.6A CN107168903B (zh) 2014-08-13 2014-08-13 一种非易失性存储介质
SG11201600679XA SG11201600679XA (en) 2014-08-13 2014-08-13 Storage system, method, and apparatus for processing operation request
JP2016516549A JP6272465B2 (ja) 2014-08-13 2014-08-13 動作要求を処理するための記憶システム、方法、および装置
PCT/CN2014/084255 WO2016023187A1 (zh) 2014-08-13 2014-08-13 处理操作请求的存储系统、方法及装置
AU2014401914A AU2014401914B2 (en) 2014-08-13 2014-08-13 Storage system, method, and apparatus for processing operation request
EP14864981.7A EP3026547B1 (en) 2014-08-13 2014-08-13 Storage system, method and apparatus for processing operation request
CA2918549A CA2918549C (en) 2014-08-13 2014-08-13 Storage system, method, and apparatus for processing operation request
CN201480001877.0A CN105518610B (zh) 2014-08-13 2014-08-13 处理操作请求的存储系统、方法及装置
BR112016003488-0A BR112016003488B1 (pt) 2014-08-13 2014-08-13 Sistema de armazenamento, método, e aparelho para processar solicitação de operação
KR1020167004294A KR101752823B1 (ko) 2014-08-13 2014-08-13 작동 요청을 처리하기 위한 스토리지 시스템, 방법 및 장치
EP18152860.5A EP3413185A1 (en) 2014-08-13 2014-08-13 Storage system, method, and apparatus for processing operation request
US14/728,178 US9753650B2 (en) 2014-08-13 2015-06-02 Storage system, method, and apparatus for processing multi-layer protocol encapsulation or decapsulation operation requests
ZA2016/00666A ZA201600666B (en) 2014-08-13 2016-01-29 Storage system, method, and apparatus for processing operation request
US15/641,583 US9940032B2 (en) 2014-08-13 2017-07-05 Storage system, method, and apparatus for processing multi-layer protocol encapsulation or decapsulation operation requests
US15/912,275 US10061519B2 (en) 2014-08-13 2018-03-05 Storage system, method, and apparatus for processing multi-layer protocol encapsulation or decapsulation operation requests
US16/103,871 US10372343B2 (en) 2014-08-13 2018-08-14 Storage system, method, and apparatus for processing operation request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/084255 WO2016023187A1 (zh) 2014-08-13 2014-08-13 处理操作请求的存储系统、方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/728,178 Continuation US9753650B2 (en) 2014-08-13 2015-06-02 Storage system, method, and apparatus for processing multi-layer protocol encapsulation or decapsulation operation requests

Publications (1)

Publication Number Publication Date
WO2016023187A1 true WO2016023187A1 (zh) 2016-02-18

Family

ID=55299878

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084255 WO2016023187A1 (zh) 2014-08-13 2014-08-13 处理操作请求的存储系统、方法及装置

Country Status (11)

Country Link
US (4) US9753650B2 (zh)
EP (2) EP3413185A1 (zh)
JP (1) JP6272465B2 (zh)
KR (1) KR101752823B1 (zh)
CN (2) CN105518610B (zh)
AU (1) AU2014401914B2 (zh)
BR (1) BR112016003488B1 (zh)
CA (1) CA2918549C (zh)
SG (1) SG11201600679XA (zh)
WO (1) WO2016023187A1 (zh)
ZA (1) ZA201600666B (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831395A (zh) * 2019-02-27 2019-05-31 中国科学院软件研究所 一种嵌入式设备与主机间底层网络数据传输系统及方法

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105518610B (zh) 2014-08-13 2017-04-19 华为技术有限公司 处理操作请求的存储系统、方法及装置
US11543967B2 (en) 2017-02-23 2023-01-03 Samsung Electronics Co., Ltd. Method for controlling BW SLA in NVME-of ethernet SSD storage systems
DK3596981T3 (da) * 2017-03-15 2021-10-25 Carrier Corp Et trådløst hændelsesnotifikationssystem
CN108769028B (zh) * 2018-05-31 2020-09-29 阿里巴巴集团控股有限公司 组装报文的方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7769842B2 (en) * 2006-08-08 2010-08-03 Endl Texas, Llc Storage management unit to configure zoning, LUN masking, access controls, or other storage area network parameters
US20120059978A1 (en) * 2010-09-07 2012-03-08 Daniel L Rosenband Storage array controller for flash-based storage devices
US20140012940A1 (en) * 2012-07-03 2014-01-09 Fusion-Io, Inc. Systems, Methods and Apparatus for a Virtual Machine Cache
CN103828332A (zh) * 2013-12-04 2014-05-28 华为技术有限公司 数据处理方法、装置、存储控制器和机柜
CN103984662A (zh) * 2014-05-29 2014-08-13 华为技术有限公司 一种读、写数据的方法及设备、存储系统

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491812A (en) 1992-09-28 1996-02-13 Conner Peripherals, Inc. System and method for ethernet to SCSI conversion
US6226680B1 (en) * 1997-10-14 2001-05-01 Alacritech, Inc. Intelligent network interface system method for protocol processing
US20030018828A1 (en) 2001-06-29 2003-01-23 International Business Machines Corporation Infiniband mixed semantic ethernet I/O path
US7165258B1 (en) * 2002-04-22 2007-01-16 Cisco Technology, Inc. SCSI-based storage area network having a SCSI router that routes traffic between SCSI and IP networks
US7480303B1 (en) * 2005-05-16 2009-01-20 Pericom Semiconductor Corp. Pseudo-ethernet switch without ethernet media-access-controllers (MAC's) that copies ethernet context registers between PCI-express ports
US8774215B2 (en) 2006-09-01 2014-07-08 Emulex Corporation Fibre channel over Ethernet
US20080159260A1 (en) 2006-12-15 2008-07-03 Brocade Communications Systems, Inc. Fibre channel over ethernet frame
US8140696B2 (en) * 2007-03-12 2012-03-20 International Business Machines Corporation Layering serial attached small computer system interface (SAS) over ethernet
CN101022425B (zh) * 2007-04-02 2012-05-23 杭州华三通信技术有限公司 基于iscsi的存储资源的分配方法
US7917682B2 (en) 2007-06-27 2011-03-29 Emulex Design & Manufacturing Corporation Multi-protocol controller that supports PCIe, SAS and enhanced Ethernet
US8817656B2 (en) 2008-04-08 2014-08-26 Cisco Technology, Inc. Discovery for fibre channel over ethernet devices
JP5332430B2 (ja) * 2008-09-11 2013-11-06 富士通株式会社 共有メモリシステム
US9300597B2 (en) * 2009-04-27 2016-03-29 Intel Corporation Statistics module for network processors in virtual local area networks
US8499094B2 (en) 2010-03-04 2013-07-30 Coraid, Inc. Modification of small computer system interface commands to exchange data with a networked storage device using AT attachment over ethernet
CN102075401B (zh) * 2011-01-28 2013-08-07 华为技术有限公司 在pcie总线上传输报文的方法、设备和系统
US8812707B2 (en) * 2011-05-25 2014-08-19 Lsi Corporation Transmitting internet protocol over SCSI in a high availability cluster
CN105518610B (zh) * 2014-08-13 2017-04-19 华为技术有限公司 处理操作请求的存储系统、方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7769842B2 (en) * 2006-08-08 2010-08-03 Endl Texas, Llc Storage management unit to configure zoning, LUN masking, access controls, or other storage area network parameters
US20120059978A1 (en) * 2010-09-07 2012-03-08 Daniel L Rosenband Storage array controller for flash-based storage devices
US20140012940A1 (en) * 2012-07-03 2014-01-09 Fusion-Io, Inc. Systems, Methods and Apparatus for a Virtual Machine Cache
CN103828332A (zh) * 2013-12-04 2014-05-28 华为技术有限公司 数据处理方法、装置、存储控制器和机柜
CN103984662A (zh) * 2014-05-29 2014-08-13 华为技术有限公司 一种读、写数据的方法及设备、存储系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3026547A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831395A (zh) * 2019-02-27 2019-05-31 中国科学院软件研究所 一种嵌入式设备与主机间底层网络数据传输系统及方法
CN109831395B (zh) * 2019-02-27 2020-08-07 中国科学院软件研究所 一种嵌入式设备与主机间底层网络数据传输系统及方法

Also Published As

Publication number Publication date
KR20160033754A (ko) 2016-03-28
CA2918549A1 (en) 2016-02-13
US10061519B2 (en) 2018-08-28
US20170300231A1 (en) 2017-10-19
US20180196601A1 (en) 2018-07-12
KR101752823B1 (ko) 2017-06-30
US20160048329A1 (en) 2016-02-18
US20180349028A1 (en) 2018-12-06
AU2014401914A1 (en) 2016-03-03
JP6272465B2 (ja) 2018-01-31
AU2014401914B2 (en) 2017-05-25
CN107168903B (zh) 2020-02-14
US9940032B2 (en) 2018-04-10
ZA201600666B (en) 2017-04-26
EP3413185A1 (en) 2018-12-12
EP3026547A1 (en) 2016-06-01
CA2918549C (en) 2018-05-01
US10372343B2 (en) 2019-08-06
EP3026547A4 (en) 2016-10-19
BR112016003488B1 (pt) 2019-06-11
JP2016538608A (ja) 2016-12-08
SG11201600679XA (en) 2016-03-30
CN107168903A (zh) 2017-09-15
CN105518610A (zh) 2016-04-20
CN105518610B (zh) 2017-04-19
US9753650B2 (en) 2017-09-05
EP3026547B1 (en) 2018-05-16

Similar Documents

Publication Publication Date Title
US10986171B2 (en) Method for unified communication of server, baseboard management controller, and server
US10372343B2 (en) Storage system, method, and apparatus for processing operation request
JP5805821B2 (ja) 通信方法及びネットワーク装置
US7720064B1 (en) Method and system for processing network and storage data
US7743178B2 (en) Method and apparatus for SATA tunneling over fibre channel
JP2006033854A (ja) ノード間の通信を可能にする方法、システム、およびプログラム
US20170124231A1 (en) Introducing Latency and Delay in a SAN Environment
EP2845114A1 (en) Extensible wse hub to support a multi-hop tree of usb hubs or peripherals over a wireless link
US7908404B1 (en) Method and system for managing network and storage data
CN103558995B (zh) 一种存储控制芯片及磁盘报文传输方法
US20150350014A1 (en) Networking implementation using a converged high speed input/output fabric technology
WO2012126352A1 (zh) 在pcie总线上传输报文的方法、设备和系统
US8225004B1 (en) Method and system for processing network and storage data
WO2020215455A1 (zh) 一种基于Virtio端口传输数据的方法和系统
WO2015096158A1 (zh) 一种存储设备的管理方法及设备
WO2023060928A1 (zh) 一种与PCIe设备通信的方法、装置及系统

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2918549

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 2014401914

Country of ref document: AU

ENP Entry into the national phase

Ref document number: 20167004294

Country of ref document: KR

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016003488

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2016516549

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 14864981

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112016003488

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160219