Data processing method and apparatus, storage controller, and cabinet

US2016285648A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016285648-A1
Application numberUS-201615173494-A
CountryUS
Kind codeA1
Filing dateJun 3, 2016
Priority dateDec 4, 2013
Publication dateSep 29, 2016
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present invention provide a data processing method, where, after being encapsulated according to an Ethernet protocol, a data processing command is sent to a cabinet by using an Ethernet switch, so that a storage controller in a storage engine can communicate with the cabinet by using the Ethernet switch, thereby effectively utilizing advantages such as ease of expansion and simple operation of the Ethernet switch.

First claim

Opening claim text (preview).

What is claimed is: 1 . A data processing method implemented in a storage network including a storage controller, an Ethernet switch, and a cabinet, wherein the storage controller is configured to run an operating system and communicate with the cabinet by using the Ethernet switch, and the cabinet is configured to manage a plurality of storage apparatuses disposed therein, and the method comprises: receiving, by the storage controller, a data processing command sent by the operating system, wherein the command comprises an identifier of a target storage apparatus disposed in the cabinet by the data processing command; searching, by the storage controller, a preset mapping relationship for a media access control (MAC) address of the cabinet corresponding to the identifier comprised in the data processing command and for an interface address of the target storage apparatus; and constructing, by the storage controller, an Ethernet packet, wherein the Ethernet packet comprises the MAC address of the cabinet, and the data processing command and the interface address of the target storage apparatus that are encapsulated according to an Ethernet protocol, and sending the Ethernet packet to the cabinet using the Ethernet switch. 2 . The data processing method according to claim 1 , the method further comprising: encapsulating, by the storage controller, a request command in an Ethernet broadcast packet according to the Ethernet protocol, and sending, to the cabinet in the storage network using the Ethernet switch, the Ethernet broadcast packet in which the request command is encapsulated, wherein the request command is used to request the cabinet to report a MAC address of the cabinet and information about the managed storage apparatuses; receiving, by the storage controller, a response message fed back by using the Ethernet switch by the cabinet, wherein the response message comprises the MAC address of the cabinet and the interface address, encapsulated according to the Ethernet protocol, of the target storage apparatus; and allocating, by the storage controller, the identifier to the target storage apparatus corresponding to the interface address of the storage apparatus in the response message, and establishing a mapping relationship among the interface address of the target storage apparatus, the identifier of the target storage apparatus, and the MAC address of the cabinet in which the target storage apparatus disposed, wherein the identifier of the target storage apparatus is an identifier that can be identified by the operating system. 3 . The data processing method according to claim 2 , the method further comprising: registering, by the storage controller, the identifier allocated to the target storage apparatus to a kernel of the operating system running in the storage controller. 4 . The data processing method according to claim 1 , wherein the storage network is a storage area network, the target storage apparatus is a SAS interface disk, and the identifier of the target storage apparatus is a four-tuple ID of the SAS disk. 5 . A data processing method implemented in a storage network including a storage controller, an Ethernet switch, and a cabinet, wherein the storage controller is configured to run an operating system and communicate with the cabinet by using the Ethernet switch, and the cabinet is configured to manage a plurality of storage apparatuses disposed therein; and the method comprises: receiving, by the cabinet, an Ethernet packet that is from the storage controller via the Ethernet switch, wherein the Ethernet packet is encapsulated according to an Ethernet protocol and comprises a data processing command and an interface address of a target storage apparatus disposed in the cabinet aimed at by the data processing command; parsing, by the cabinet, the received Ethernet packet according to the Ethernet protocol to obtain the data processing command and the interface address of the target storage apparatus; and sending, by the cabinet, the data processing command to the target storage apparatus according to the interface address of the target storage apparatus. 6 . The data processing method according to claim 5 , the method further comprising: receiving, by the cabinet, an Ethernet broadcast packet sent by the storage controller via the Ethernet switch, wherein the Ethernet broadcast packet comprises a request command encapsulated according to the Ethernet protocol, and the request command is used to request the cabinet to report a MAC address of the cabinet and information about the managed storage apparatuses; and feeding back, by the cabinet by using the Ethernet switch, a response message to the storage controller, wherein the response message comprises the MAC address of the cabinet and the interface address, encapsulated according to the Ethernet protocol, of the target storage apparatus managed by the cabinet. 7 . A storage controller implemented in a storage network, wherein the storage network comprises the storage controller, an Ethernet switch, and a cabinet, wherein the storage controller is configured to run an operating system and communicate with the cabinet by using the Ethernet switch, and the cabinet is configured to manage a plurality of storage apparatuses disposed therein, and the storage controller comprises a processor, an Ethernet card, and a communications bus, wherein the processor and the Ethernet card communicate with each other by using the communication bus; wherein the processor comprises computing hardware and a non-transitory computer-readable storage medium including computer-executable instructions executed by the computing hardware to perform on the processor a method comprising: receiving a data processing command sent by the operating system, wherein the command comprises an identifier of a target storage apparatus disposed in the cabinet aimed at by the data processing command; searching a preset mapping relationship for a media access control (MAC) address of the cabinet corresponding to the identifier comprised in the data processing command and for an interface address of the target storage apparatus; and wherein the Ethernet card is configured to construct an Ethernet packet and send the Ethernet packet to the cabinet via the Ethernet switch, wherein the Ethernet packet comprises the MAC address of the target cabinet, and the data processing command and the interface address of the target storage apparatus. 8 . The storage controller according to claim 7 , wherein the Ethernet card is further configured to: encapsulate a request command in an Ethernet broadcast packet according to the Ethernet protocol, and send the Ethernet broadcast packet in which the request command is encapsulated to the cabinet in the storage network via the Ethernet switch, wherein the request command is used to request the cabinet to report a MAC address of the cabinet and information about the managed storage apparatuses; the method performed on the processor by the computing hardware according to the computer-executable instructions executed by the computing hardware further comprising: receiving from the Ethernet card a response message fed back via the Ethernet switch by the cabinet in the storage network, wherein the response message comprises the MAC address of the cabinet and the interface address, encapsulated according to the Ethernet protocol, of the target storage apparatus; allocating the identifier to the target storage apparatus corresponding to the interface address of the target storage apparatus in the response message; and establishing a mapping relationship among the interface address of the target storage apparatus, the identifier of the target storage apparatus, and the MAC

Assignees

Inventors

Classifications

  • Address table lookup; Address filtering · CPC title

  • Parsing or analysis of headers · CPC title

  • Reaction to server failures by a load balancer · CPC title

  • Hybrid transport · CPC title

  • Electricity · mapped topic

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2016285648A1 cover?
Embodiments of the present invention provide a data processing method, where, after being encapsulated according to an Ethernet protocol, a data processing command is sent to a cabinet by using an Ethernet switch, so that a storage controller in a storage engine can communicate with the cabinet by using the Ethernet switch, thereby effectively utilizing advantages such as ease of expansion and …
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L12/6418. Mapped technology areas include Electricity.
When was this patent published?
Publication date Thu Sep 29 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).