A data processing method, wherein the method is applied to a distributed storage system, the distributed storage system comprises a plurality of storage devices (10, 11), a first storage device in the plurality of storage devices comprises a first processor, a first hard disk, and a first artificial intelligence, Al, apparatus, the first AI apparatus communicates with the first processor through a high-speed interconnect network, wherein the first storage device comprises a memory and the first AI apparatus comprises an Al processor and an AI memory and the method comprises: receiving, by the first processor, service data, and storing the service data in the first hard disk; and sending, by the first AI apparatus, a data obtaining request to the first processor to obtain the service data, and performing AI computing on the service data; wherein the data obtaining request comprises a third data obtaining request, and the obtaining, by the first processor, the service data comprises: sending, by the first processor, metadata of the service data to the first AI apparatus in response to the third data obtaining request, wherein the metadata is used to indicate an address of the service data; and when the metadata indicates that the service data is located in a second storage device in the plurality of storage devices, sending, by the first AI apparatus, a second data access request to the second storage device, wherein the second data access request is a remote direct memory access, RDMA, request, and wherein the second data access request comprises the metadata; and receiving the service data that is sent by the second storage device in response to the second data access request; the method further comprising: when an available capacity of the Al memory reaches a preset threshold, sending, by the Al processor, a memory application request to the first processor, wherein the available capacity of the AI memory is determined by a specified batch size, and the memory application request is used to request the first processor to obtain a segment of memory space from the memory through division and reserve the segment of memory space for the AI apparatus. receiving, by the first processor, service data, and storing the service data in the first hard disk; and sending, by the first AI apparatus, a data obtaining request to the first processor to obtain the service data, and performing AI computing on the service data; wherein the data obtaining request comprises a third data obtaining request, and the obtaining, by the first processor, the service data comprises: sending, by the first processor, metadata of the service data to the first AI apparatus in response to the third data obtaining request, wherein the metadata is used to indicate an address of the service data; and when the metadata indicates that the service data is located in a second storage device in the plurality of storage devices, sending, by the first AI apparatus, a second data access request to the second storage device, wherein the second data access request is a remote direct memory access, RDMA, request, and wherein the second data access request comprises the metadata; and receiving the service data that is sent by the second storage device in response to the second data access request; the method further comprising: when an available capacity of the Al memory reaches a preset threshold, sending, by the Al processor, a memory application request to the first processor, wherein the available capacity of the AI memory is determined by a specified batch size, and the memory application request is used to request the first processor to obtain a segment of memory space from the memory through division and reserve the segment of memory space for the AI apparatus. sending, by the first processor, metadata of the service data to the first AI apparatus in response to the third data obtaining request, wherein the metadata is used to indicate an address of the service data; and when the metadata indicates that the service data is located in a second storage device in the plurality of storage devices, sending, by the first AI apparatus, a second data access request to the second storage device, wherein the second data access request is a remote direct memory access, RDMA, request, and wherein the second data access request comprises the metadata; and receiving the service data that is sent by the second storage device in response to the second data access request; the method further comprising: when an available capacity of the Al memory reaches a preset threshold, sending, by the Al processor, a memory application request to the first processor, wherein the available capacity of the AI memory is determined by a specified batch size, and the memory application request is used to request the first processor to obtain a segment of memory space from the memory through division and reserve the segment of memory space for the AI apparatus.