Storage system, request processing method, and switch
Abstract
A storage system includes a switch and a plurality of storage nodes. The switch is configured to receive a first request from a client. The first request includes an identifier of a storage partition. The switch queries an entry in a forwarding table based on the identifier to determine a target storage node in the plurality of storage nodes. The entry includes a mapping relationship between the identifier and the target storage node. The switch sends the first request to the target storage node. The target storage node is configured to receive the first request from the switch.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 63 · Forward citations: 0.
Claims (20 — 2 Independent, 18 Dependent)
- Claim 1Independent Claim
A storage system comprising: a plurality of storage nodes comprising a target storage node; a switch configured to: receive a first request from a client, wherein the first request comprises an identifier of a storage partition; query an entry in a forwarding table based on the identifier to determine the target storage node in the plurality of storage nodes, wherein the entry comprises a mapping relationship between the identifier and the target storage node; and send the first request to the target storage node; and a controller configured to: receive a second request from the client; determine the target storage node in the plurality of storage nodes based on the second request; and send the second request to the target storage node, wherein the target storage node is configured to: receive the second request from the controller; generate the identifier of the storage partition based on the second request; and send the identifier to the controller, wherein the controller is further configured to: receive the identifier from the target storage node; and send the entry that comprises the mapping relationship between the identifier and the target storage node to the switch, and wherein the switch is further configured to: receive the entry from the controller; and update the forwarding table based on the entry.
- Claim 2Depends on #1
The storage system of claim 1, wherein the target storage node is configured to: receive the first request from the switch; generate a request processing result based on the first request; and send the request processing result to the switch, and wherein the switch is further configured to: receive the request processing result; and send the request processing result to the client.
- Claim 3Depends on #1
The storage system of claim 1, wherein the target storage node is further configured to: allocate a storage resource from a server partition corresponding to the identifier of the storage partition based on the first request when the first request is a data write request; and send an address of the target storage node to the switch; and the switch is further configured to: receive the address of the target storage node; and send a response message comprising the address of the target storage node to the client.
- Claim 4Depends on #1
The storage system of claim 1, wherein the controller is further configured to update a partition mapping table in the controller based on the mapping relationship.
- Claim 5Depends on #1
The storage system of claim 1, wherein the controller is further configured to update a storage node status table in the controller based on the mapping relationship.
- Claim 6Independent Claim
A request processing method implemented by a storage system comprising a switch and a plurality of storage nodes, wherein the plurality of storage nodes comprises a target storage node, and wherein the request processing method comprises: receiving, by the switch, a first request from a client, wherein the first request comprises an identifier of a storage partition; querying, by the switch, an entry in a forwarding table based on the identifier to determine the target storage node in the plurality of storage nodes, wherein the entry comprises a mapping relationship between the identifier and the target storage node; sending, by the switch, the first request to the target storage node; receiving, by the target storage node, the first request from the switch; receiving, by a controller of the storage system, a second request from the client; determining, by the controller, the target storage node in the plurality of storage nodes based on the second request; sending, by the controller, the second request to the target storage node; receiving, by the target storage node, the second request from the controller; generating, by the target storage node, the identifier of the storage partition based on the second request; sending, by the target storage node, the identifier to the controller; receiving, by the controller, the identifier from the target storage node; sending, by the controller, the entry that comprises the mapping relationship between the identifier and the target storage node to the switch; and receiving, by the switch, the entry from the controller, and updating the forwarding table based on the entry.
- Claim 7Depends on #6
The request processing method of claim 6, further comprising: generating, by the target storage node, a request processing result based on the first request; sending, by the target storage node, the request processing result to the switch; and receiving, by the switch, the request processing result, and sending the request processing result to the client.
- Claim 8Depends on #6
The request processing method of claim 6, further comprising: allocating, by the target storage node, a storage resource from a server partition corresponding to the identifier of the storage partition based on the first request when the first request is a data write request; sending, by the target storage node, an address of the target storage node to the switch; receiving, by the switch, the address of the target storage node; and sending, by the switch, a response message comprising the address of the target storage node to the client.
- Claim 9Depends on #8
The request processing method of claim 8, further comprising updating, by the controller, a partition mapping table in the controller based on the mapping relationship.
- Claim 10Depends on #8
The request processing method of claim 8, further comprising updating, by the controller, a storage node status table in the controller based on the mapping relationship.
- Claim 11Depends on #1
The storage system of claim 1, wherein the target storage node is further configured to: read data from the storage partition based on the first request to obtain read data when the first request is a data read request; and send the read data to the switch.
- Claim 12Depends on #3
The storage system of claim 3, wherein the switch is further configured to: receive a data write command from the client, wherein the data write command comprises to-be-written data; and send the data write command to the target storage node based on the forwarding table.
- Claim 13Depends on #12
The storage system of claim 12, wherein the target storage node is further configured to: write the to-be-written data to the storage resource based on the data write command; and send a data write result to the switch; and wherein the switch is further configured to: receive the data write result; and send the data write result to the client.
- Claim 14Depends on #4
The storage system of claim 4, wherein the controller has a function of a name server, and wherein the partition mapping table comprises a mapping relationship between a virtual name server and a storage node.
- Claim 15Depends on #1
The storage system of claim 1, wherein the entry in the forwarding table further comprises an input port and an output port corresponding to the target storage node.
- Claim 16Depends on #6
The request processing method of claim 6, wherein the target storage node is further configured to: read data from the storage partition based on the first request to obtain read data when the first request is a data read request; and send the read data to the switch.
- Claim 17Depends on #8
The request processing method of claim 8, wherein the switch is further configured to: receive a data write command from the client, wherein the data write command comprises to-be-written data; and send the data write command to the target storage node based on the forwarding table.
- Claim 18Depends on #17
The request processing method of claim 17, wherein the target storage node is further configured to: write the to-be-written data to the storage resource based on the data write command; and send a data write result to the switch; and wherein the switch is further configured to: receive the data write result; and send the data write result to the client.
- Claim 19Depends on #9
The request processing method of claim 9, wherein the controller has a function of a name server, and wherein the partition mapping table comprises a mapping relationship between a virtual name server and a storage node.
- Claim 20Depends on #6
The request processing method of claim 6, wherein the entry in the forwarding table further comprises an input port and an output port corresponding to the target storage node.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Patent Application No. PCT/CN2020/114222 filed on Sep. 9, 2020, which claims priority to Chinese Patent Application No. 202010159006.9 filed on Mar. 9, 2020 and Chinese Patent Application No. 202010568783.9 filed on Jun. 19, 2020. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD The present disclosure relates to the field of computer technologies, and in particular, to a storage system, a request processing method, and a switch. BACKGROUND The Internet and digitalization promote generation of data explosion. Therefore, an extremely large information processing requirement is caused. For example, a data storage requirement far exceeds a storage capacity that can be provided by a current enterprise array storage system. A distributed system used for information processing may be a storage system, and the storage system starts to be a main storage form in an internet environment and a big data environment, for example, may be a Hadoop distributed file system (HDFS). The distributed system may allocate information processing and load to each server node, so that a capacity and performance of information processing are improved. However, a large quantity of messages and data packets are distributed and transferred on a network connected between nodes. This also increases a quantity of inter-node messages and an information forwarding amount in the distributed system, and also increases a delay of the distributed system. For example, the storage system may allocate a storage capacity and load to each storage server node, so that storage energy and performance are improved. However, a large quantity of messages and data packets are distributed and transferred on a network connected between nodes. This also increases a quantity of inter-node messages and a data forwarding amount in a distributed storage syste
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.