A data processing method, comprising: - receiving, by a switching device, a first network packet sent by a computing node, wherein the first network packet carries a resource identifier, a first offset, and an input/output, I/O, command, wherein the resource identifier is a volume number of a virtual disk on the computing node, or the resource identifier is a file system identifier and a file identifier in the virtual disk on the computing node; - generating, by the switching device, a second offset according to the first offset and a size of an object storage device, OSD, and obtaining, according to the resource identifier and the first offset, a first network address of a first storage node accommodating a first OSD on which an I/O operation is to be performed and an identifier of the first OSD; and - generating, by the switching device, a second network packet, and sending the second network packet to the first storage node, wherein the second network packet carries the second offset, the I/O command, and the identifier of the first OSD, and a destination address of the second network packet is the first network address; wherein the I/O command comprises a write I/O command and to-be-written data, and wherein, when determining by the switching device that the first network packet further carries a multi-copy operation code, the method additionally comprises: - obtaining, by the switching device, according to the resource identifier and the first offset, a second network address of a second storage node accommodating a second OSD on which the write operation is to be performed and an identifier of the second OSD; and - generating, by the switching device, a third network packet according to the multi-copy operation code, and sending the third network packet to the second storage node, wherein the third network packet carries the second offset, the write I/O command, the to-be-written data, and the identifier of the second OSD, and a destination address of the third network packet is the second network address. - receiving, by a switching device, a first network packet sent by a computing node, wherein the first network packet carries a resource identifier, a first offset, and an input/output, I/O, command, wherein the resource identifier is a volume number of a virtual disk on the computing node, or the resource identifier is a file system identifier and a file identifier in the virtual disk on the computing node; - generating, by the switching device, a second offset according to the first offset and a size of an object storage device, OSD, and obtaining, according to the resource identifier and the first offset, a first network address of a first storage node accommodating a first OSD on which an I/O operation is to be performed and an identifier of the first OSD; and - generating, by the switching device, a second network packet, and sending the second network packet to the first storage node, wherein the second network packet carries the second offset, the I/O command, and the identifier of the first OSD, and a destination address of the second network packet is the first network address; wherein the I/O command comprises a write I/O command and to-be-written data, and wherein, when determining by the switching device that the first network packet further carries a multi-copy operation code, the method additionally comprises: wherein the I/O command comprises a write I/O command and to-be-written data, and wherein, when determining by the switching device that the first network packet further carries a multi-copy operation code, the method additionally comprises: - obtaining, by the switching device, according to the resource identifier and the first offset, a second network address of a second storage node accommodating a second OSD on which the write operation is to be performed and an identifier of the second OSD; and - generating, by the switching device, a third network packet according to the multi-copy operation code, and sending the third network packet to the second storage node, wherein the third network packet carries the second offset, the write I/O command, the to-be-written data, and the identifier of the second OSD, and a destination address of the third network packet is the second network address.