A data processing method, distributed storage system, product, device and medium

By using controller memory buffers and object storage daemons in distributed storage nodes, client data is directly transferred to memory, which solves the problem of high pressure on main memory, improves distributed storage performance and reduces hardware costs.

CN118519589BActive Publication Date: 2024-10-22JINAN INSPUR DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410993685.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-22
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

In a distributed storage system, the main memory bears a large amount of data transmission pressure, resulting in low performance. How to offload the main memory to improve system performance is an urgent problem that needs to be solved.

Method used

By introducing the controller memory buffer into the memory of the distributed storage node, and using the object storage daemon to obtain its mapping address in the memory, register it with the network card that supports point-to-point transmission, and directly transmit the client data to the memory to avoid Main memory serves as a staging post for two memory accesses.

Benefits of technology

It reduces the main memory bandwidth occupation, increases the data processing speed, improves the distributed storage performance, saves the memory capacity of the storage node, reduces the hardware cost, and ensures the persistent storage of business data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118519589B_ABST
    Figure CN118519589B_ABST
Patent Text Reader

Abstract

The present invention discloses a data processing method, a distributed storage system, a product, a device and a medium, and relates to the field of distributed storage technology. The method uses a controller memory buffer on a distributed storage node so that a network card can directly transfer data to a storage device, thereby realizing unloading of the host memory, avoiding the need to perform two direct storage access operations when using the main memory as a transfer station for data transmission, reducing most of the bandwidth of the main memory occupied, improving the processing speed of storage services, and improving the performance of the distributed storage system; and after using the controller memory buffer for memory unloading, the memory capacity of the distributed storage node is saved, and the hardware cost of the distributed storage node is reduced; and on the basis of placing the service data in the controller memory buffer, when it is detected that the target address belongs to the controller memory buffer address, the service data is saved, realizing the persistence of the service data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distributed storage technology, and in particular to a data processing method, a distributed storage system, a product, a device and a medium. Background Art

[0002] In the server, the Peripheral Component Interconnect Express (PCIE) bus serves as a local bus of the processor system. Its main purpose is to connect external devices in the processor system, such as network cards and memory.

[0003] In order to store the client's data, the relevant technology first transfers the data to the main memory through the network card, and the main memory is used as a transfer before the device is placed on the memory. The process of storing data performs a read operation and a write operation on the main memory respectively. As the network card and memory continue to improve their bandwidth, this transmission undoubtedly puts a huge pressure on the main memory. Moreover, as the data grows, the number of memories included in the distributed storage nodes increases. Facing the storage of data on a large amount of memory, it puts a huge pressure on the main memory.

[0004] It can be seen that in the distributed storage system scenario, how to offload host memory and improve distributed storage performance is a technical problem that people in this field urgently need to solve. Summary of the invention

[0005] The purpose of the present invention is to provide a data processing method, a distributed storage system, a product, a device and a medium to solve the technical problems of high main memory pressure and low distributed storage performance in a distributed storage system scenario.

[0006] In order to solve the above technical problems, the present invention provides a data processing method, which is applied to a memory of a distributed storage node, wherein the memory includes a controller memory buffer; the method comprises:

[0007] The object storage daemon is used to obtain the address mapped in the memory by the controller memory buffer, and the address mapped in the memory by the controller memory buffer is registered to the network card; wherein the network card is a network card supporting point-to-point transmission;

[0008] Receiving the service data sent by the client through the network card, and placing the service data in the controller memory buffer according to the address of the registered controller memory buffer;

[0009] Receive a target address sent by a user-mode driver; wherein the target address is obtained by the object storage daemon process from the network card and sending the target address to the user-mode driver; the target address is the address of the controller memory buffer storing the business data;

[0010] When it is detected that the target address is a controller memory buffer address, the service data is saved.

[0011] On the one hand, obtaining the address mapped in the memory of the controller memory buffer includes:

[0012] Switch the memory driver to a user-mode driver;

[0013] Loading the user mode driver and operating the controller memory buffer in the user mode;

[0014] Using the user state to drive the memory to be initialized;

[0015] In the process of initializing the memory, the controller memory buffer is mapped to the user space of the process to obtain the address mapped in the memory by the controller memory buffer.

[0016] On the other hand, mapping the controller memory buffer to the user space of the process during the process of initializing the memory to obtain the address mapped in the memory by the controller memory buffer includes:

[0017] Calling a controller memory buffer interface function in the user mode driver;

[0018] The address mapped in the memory by the controller memory buffer is outputted through the function for obtaining the controller memory buffer interface.

[0019] On the other hand, registering the address mapped in the memory of the controller memory buffer to the network card includes:

[0020] Acquire a data transmission mode between a memory buffer of a controller and the network card;

[0021] The address mapped in the memory by the controller memory buffer is transmitted to the driver of the network card through the provided data transmission mode.

[0022] On the other hand, after the object storage daemon process obtains the target address from the network card and before the object storage daemon process sends the target address to the user state driver, the process further includes:

[0023] The object storage daemon transmits the target address to the object storage daemon software stack of the distributed storage system;

[0024] The object storage daemon process sending the target address to the user mode driver includes:

[0025] The object storage daemon sends the target address after passing through the object storage daemon software stack of the distributed storage system to a user-mode driver.

[0026] On the other hand, receiving the target address sent by the user mode driver includes:

[0027] Processing the target address by a user mode driver in a command manner that complies with a non-volatile memory host controller interface specification;

[0028] The target address is received by the user mode driver in a command manner that complies with the non-volatile memory host controller interface specification.

[0029] On the other hand, the data processing method further comprises:

[0030] When it is detected that the target address is not a controller memory buffer address, the remaining capacity of the memory is obtained; wherein the remaining capacity of the memory is the difference between the total capacity of the memory and the data occupied by the memory;

[0031] Determining whether the remaining capacity of the memory is greater than the capacity of the storage space to be occupied by the business data;

[0032] If yes, storing the business data via the memory;

[0033] If not, the business data is saved in other storage areas; wherein the other storage areas are storage areas in the server except the memory.

[0034] On the other hand, before acquiring the address mapped in the memory by the controller memory buffer and registering the address mapped in the memory by the controller memory buffer to the network card, the method further includes:

[0035] Get the unique identification code of the controller memory buffer;

[0036] The registering of the address mapped in the memory by the controller memory buffer to the network card comprises:

[0037] The address mapped in the memory by the controller memory buffer is registered to the network card in combination with the unique identification code of the controller memory buffer.

[0038] On the other hand, before obtaining the address of the controller memory buffer mapped in the memory, it also includes:

[0039] Get the remaining capacity of the controller memory buffer;

[0040] Determining whether the remaining capacity of the controller memory buffer meets preset requirements;

[0041] If yes, then enter the step of obtaining the address mapped in the memory of the controller memory buffer;

[0042] If not, the network module of the object storage daemon is used to register the memory area on the main memory to the network card; the business data sent by the client is received through the network card, and the business data is saved according to the memory area of ​​the main memory registered in the network card; the address of the business data on the main memory is received; and an operation of direct storage access to the main memory is initiated to obtain the business data stored on the main memory.

[0043] On the other hand, registering the memory area on the main memory to the network card includes:

[0044] Allocating a target memory area on the main memory for storing the business data;

[0045] Call the remote direct memory access interface;

[0046] The target memory area is registered to the network card through the remote direct memory access interface.

[0047] In order to solve the above technical problems, the present invention further provides a data processing method, which is applied to a network card of a distributed storage node, and the method comprises:

[0048] Obtaining an address mapped in the memory by the controller memory buffer; wherein the address mapped in the memory by the controller memory buffer is obtained by the memory of the distributed storage node using the object storage daemon; the memory includes the controller memory buffer, and the network card is a network card that supports point-to-point transmission;

[0049] Receive business data sent by the client, and place the business data into the address mapped in the memory of the controller memory buffer;

[0050] The target address is transmitted to the object storage daemon; after obtaining the target address, the object storage daemon sends the target address to the user state driver and transmits the target address to the memory through the user state driver. When the memory detects that the target address is the controller memory buffer address, the business data is saved through the memory, wherein the target address is the address of the controller memory buffer where the business data is stored.

[0051] In order to solve the above technical problems, the present invention further provides a distributed storage system, wherein the distributed storage system comprises a plurality of distributed storage nodes, each of the distributed storage nodes comprises a network card and a memory, and the memory comprises a controller memory buffer;

[0052] The memory is used to use the object storage daemon to obtain the address mapped in the memory of the controller memory buffer, and register the address mapped in the memory of the controller memory buffer to the network card, so that the network card receives the business data sent by the client and places the business data in the controller memory buffer according to the registered address of the controller memory buffer; receives the target address sent by the user state driver; and saves the business data when it is detected that the target address is the address of the controller memory buffer; wherein the network card is a network card that supports point-to-point transmission, the target address is obtained by the object storage daemon obtaining the target address from the network card and sending the target address to the user state driver, and the target address is the address of the controller memory buffer where the business data is stored;

[0053] The network card is used to obtain the address mapped in the memory by the controller memory buffer; receive business data sent by the client, and place the business data in the address mapped in the memory by the controller memory buffer; and transmit the target address to the object storage daemon.

[0054] In order to solve the above technical problem, the present invention also provides a computer program product, including a computer program / instruction, which implements the steps of the above data processing method when executed by a processor.

[0055] In order to solve the above technical problems, the present invention further provides a data processing device, comprising:

[0056] Memory for storing computer programs;

[0057] A processor is used to implement the steps of the above-mentioned data processing method when executing the computer program.

[0058] In order to solve the above technical problem, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above data processing method are implemented.

[0059] The data processing method of the memory applied to the distributed storage node provided by the present invention includes using the object storage daemon process to obtain the address mapped in the memory of the controller memory buffer, and registering the address mapped in the memory of the controller memory buffer to the network card, receiving the business data sent by the client through the network card, and saving the business data in the controller memory buffer according to the registered address of the controller memory buffer, receiving the target address sent by the user state driver, and saving the business data when it is detected that the target address is the address of the controller memory buffer.

[0060] The beneficial effect of the present invention is that, first, the address mapped in the memory of the controller memory buffer of the storage is registered to the network card by using the object storage daemon process. Since a network card supporting point-to-point transmission is used, after the network card receives the business data sent by the client, the business data is placed in the controller memory buffer according to the address mapped in the memory of the registered controller memory buffer; then the object storage daemon process obtains the target address (that is, the address of the controller memory buffer storing the business data) from the network card, and sends the target address to the user state driver, which sends the target address to the storage, and when it is detected in the storage that the target address is the address of the controller memory buffer, the business data is saved. It can be seen that this method uses the controller memory buffer on the distributed storage node so that the network card can directly transfer data to the storage, thereby realizing unloading of the host memory, avoiding the need to use the main memory as a transit station for data transmission and performing two direct storage access operations, reducing most of the bandwidth occupied by the main memory, improving the processing speed of storage services, and improving the performance of the distributed storage system; and after using the controller memory buffer for memory unloading, the memory capacity of the distributed storage node is saved, and the hardware cost of the distributed storage node is reduced; and on the basis of placing the business data in the controller memory buffer, when it is detected that the target address belongs to the controller memory buffer address, the business data is saved, thereby realizing the persistence of the business data.

[0061] In addition, when obtaining the address mapped in the memory by the controller memory buffer, the memory driver is first switched to the user mode driver, and then the controller memory buffer is operated in the user mode, and the controller memory buffer is mapped to the user space of the process during the initialization of the memory. By mapping the memory cache area to the user space, the data transmission between the operating system kernel and the user space can be reduced. Since the data operation is completed in the user space, the demand for kernel resources is reduced, and the stability and efficiency of the system are improved.

[0062] The function used to obtain the controller memory buffer interface is called to output the address mapped in the memory of the controller memory buffer, which can directly access the memory area of ​​the controller and improve the data access speed.

[0063] The provided data transmission method is used to transmit the address mapped in the memory of the controller memory buffer to the driver of the network card. Since the data transmission does not require the participation of the central processing unit, the waiting of the central processing unit during the data transmission process can be avoided, thereby improving the efficiency of data transmission.

[0064] The object storage daemon transmits the target address to the object storage daemon software stack of the distributed storage system, and sends the target address after passing through the object storage daemon software stack of the distributed storage system to the user-mode driver. The software stack method is adopted to improve the data reading efficiency.

[0065] The target address transmitted by the user mode driver in a command mode conforming to the non-volatile memory host controller interface specification is received, thereby improving the stability and reliability of the system.

[0066] When it is detected that the target address is not the controller memory buffer address, if the remaining capacity of the memory is sufficient, the business data is stored in the memory, and if the remaining capacity of the memory is insufficient, the business data is stored in other memories outside the memory, thereby realizing the preservation of business data.

[0067] The address mapped by the controller memory buffer in the memory is registered to the network card in combination with the unique identification code of the controller memory buffer, so that when there are multiple memories (corresponding to multiple controller memory buffers), the controller memory buffer of the registered address can be distinguished on the network card according to the unique code of the controller memory buffer.

[0068] Before obtaining the address mapped by the controller memory buffer in the memory, when the remaining capacity of the controller memory buffer meets the preset requirements, the controller memory buffer is used so that the network card can directly transfer data to the storage, thereby unloading the host memory. Otherwise, the main memory is used as a data transfer station, ensuring that data storage can still be achieved when the controller memory buffer is insufficient.

[0069] In addition, the present invention also provides a data processing method, a distributed storage system, a computer program product, a data processing device and a computer-readable storage medium for a network card applied to a distributed storage node, which have the same or corresponding technical features as the above-mentioned memory applied to the distributed storage node and have the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0071] Figure 1 A flowchart of a data processing method applied to a memory of a distributed storage node provided by an embodiment of the present invention;

[0072] Figure 2 A schematic diagram of a distributed storage system provided by an embodiment of the present invention;

[0073] Figure 3 A flowchart of a method for registering a controller memory buffer to a network card provided by an embodiment of the present invention;

[0074] Figure 4 A schematic diagram of a business data transmission scenario after using a controller memory buffer provided by an embodiment of the present invention;

[0075] Figure 5 A schematic diagram of another business data transmission scenario provided by an embodiment of the present invention;

[0076] Figure 6 A flowchart of a method for registering a memory area on a main memory to a network card provided by an embodiment of the present invention;

[0077] Figure 7 A schematic diagram of a distributed storage node memory offloading scenario based on a controller memory buffer provided by an embodiment of the present invention;

[0078] Figure 8 A structural diagram of a data processing device provided in another embodiment of the present invention. DETAILED DESCRIPTION

[0079] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0080] The core of the present invention is to provide a data processing method, a distributed storage system, a product, a device and a medium to solve the technical problems of high main memory pressure and low distributed storage performance in the distributed storage system scenario.

[0081] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 A flowchart of a data processing method for a memory of a distributed storage node provided by an embodiment of the present invention. Figure 1 As shown, the method includes:

[0082] S10: using the object storage daemon process to obtain the address mapped in the memory by the controller memory buffer, and registering the address mapped in the memory by the controller memory buffer to the network card;

[0083] S11: receiving the service data sent by the client through the network card, and placing the service data in the controller memory buffer according to the address of the registered controller memory buffer;

[0084] S12: Receive the target address sent by the user mode driver;

[0085] The target address is obtained by the object storage daemon from the network card and sent to the user-mode driver; the target address is the address of the controller memory buffer storing the business data;

[0086] S13: When it is detected that the target address is a controller memory buffer address, the business data is saved.

[0087] Figure 2 A schematic diagram of a distributed storage system provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the distributed storage system 100 includes multiple distributed storage nodes (each distributed storage node is a server), and each distributed storage node includes a network card and a memory. In order to realize memory unloading, a controller memory buffer (Controller Memory Buffer, CMB) is set in the memory. The current controller memory buffer is mainly used for NVMf (NVMe overFabric, supporting the decomposition of computing and storage in the data center) unloading, that is, on the NVMf service provider, by directly transferring data from the network card to the memory. Although the NVMf service is flexible and reliable, it does not have the characteristics of a distributed storage system that can carry various services and ensure data redundancy. Therefore, memory unloading based on NVMf using controller memory buffer technology has not been widely used. The memory is a non-volatile memory (Non-VolatileMemory Express, NVME). The network card used is a network card that supports point-to-point transmission. One or more memories are included in each distributed storage node.

[0088] The Object Storage Daemon (OSD) is used to obtain the address mapped in the memory by the controller memory buffer, and the address mapped in the memory by the controller memory buffer is registered to the network card. Figure 3 A flowchart of a method for registering a controller memory buffer to a network card is provided in an embodiment of the present invention. Figure 3 As shown, the method includes:

[0089] S101: Obtaining a controller memory buffer mapping memory address through a storage performance development kit memory user state driver;

[0090] S102: calling a remote direct memory access interface to register a controller memory buffer with the network card.

[0091] The object storage daemon registers the controller memory buffer on the storage with the network card capable of remote direct memory access to implement remote direct memory access. The network card capable of remote direct memory access puts the received data into the registered controller memory buffer, so that the object storage daemon receives the business data sent by the client.

[0092] Specifically, obtaining the address mapped in the memory of the controller memory buffer includes:

[0093] Switch the memory driver to a user-mode driver;

[0094] Load the user-mode driver and operate the controller memory buffer in user mode;

[0095] Use user mode to drive the memory to be initialized;

[0096] During the process of initializing the memory, the controller memory buffer is mapped to the user space of the process to obtain the address of the controller memory buffer mapped in the memory.

[0097] During the memory initialization process, the controller memory buffer is mapped to the user space of the process to obtain the address of the controller memory buffer mapped in the memory, including:

[0098] Call the interface function for obtaining the controller memory buffer in the user mode driver;

[0099] The address of the controller memory buffer mapped in the memory is output by the function used to obtain the controller memory buffer interface.

[0100] Registering the address mapped in the memory of the controller memory buffer to the network card includes:

[0101] Get the data transmission mode between the controller memory buffer and the card;

[0102] The address mapped in the memory of the controller memory buffer is transmitted to the driver of the network card through the provided data transmission method.

[0103] Since each distributed storage node may include multiple memories, before using the object storage daemon to obtain the address mapped in the memory by the controller memory buffer and registering the address mapped in the memory by the controller memory buffer to the network card, it also includes:

[0104] Obtain the input and output operation status of each memory;

[0105] When it is detected that there is no input / output operation in each memory, a target memory is randomly obtained from all memories;

[0106] When it is detected that each memory has input / output operations, a memory with the smallest input / output operation is obtained from all memories, and the memory with the smallest input / output operation is used as a target memory;

[0107] Correspondingly, using the object storage daemon to obtain the address mapped in the memory of the controller memory buffer includes:

[0108] The object storage daemon is used to obtain the address of the controller memory buffer of the target storage mapped in the memory.

[0109] For example, a distributed storage node contains three memories, namely, memory 1, memory 2, and memory 3. If none of the three memories have input / output operations, one memory is randomly selected from the three memories as the target memory. If all three memories have input / output operations, and memory 1 has the smallest input / output operation, memory 1 is selected as the target memory. Then, the step of using the object storage daemon to obtain the address mapped in the memory by the controller memory buffer of the target memory is executed. In this method, when a distributed storage node contains multiple memories, the memory with the smallest input / output operation is selected to store business data in combination with the input / output operation of each memory, thereby improving the efficiency of saving business data.

[0110] In order to distinguish the controller memory buffer registered in the network card, before obtaining the address mapped in the memory by the controller memory buffer and registering the address mapped in the memory by the controller memory buffer to the network card, the following is also included:

[0111] Get the unique identification code of the controller memory buffer;

[0112] Registering the address mapped in the memory of the controller memory buffer to the network card includes:

[0113] The address mapped in the memory by the controller memory buffer is registered to the network card in combination with the unique identification code of the controller memory buffer.

[0114] There is no limitation on the unique identification code set for each controller memory buffer, as long as the identification codes of the controller memory buffers of each storage in a distributed storage node are different. For example, if a distributed storage node contains three controller memory buffers, the controller memory buffers can be marked as controller memory buffer one, controller memory buffer two, and controller memory buffer three in sequence. By setting a unique identification code for each controller memory buffer, the registered controller memory buffer can be distinguished in the network card.

[0115] In practice, registering the controller memory buffer to the NIC involves the following two processes:

[0116] 1. Get the memory address of the controller memory buffer mapping. This includes the following steps:

[0117] (1) Switch the NVME device driver to a Virtual Function I / O (VFIO) driver (a user-mode driver) to load the Storage Performance Development Kit (SPDK) NVME driver and operate the controller memory buffer of the NVME device in user mode;

[0118] (2) Use the SPDK NVME user-mode driver to initialize the NVMe device;

[0119] (3) Get the address of the controller memory buffer mapped in the memory. The controller memory buffer will be mapped to the user space of the process when the SPDK NVMe driver is initialized. Therefore, this process only needs to call the SPDK NVMe driver's get controller memory buffer interface function.

[0120] (II) Register the controller memory buffer to the Remote Direct Memory Access (RDMA) network card. This includes the following processes:

[0121] (1) Get the dmabuf_fd of the controller memory buffer (dmabuf_fd is a mechanism in Linux for sharing data transmission between devices);

[0122] (2) By providing dmabuf_fd to the RDMA network card driver, the controller memory buffer is registered as a memory region (MR). This process calls the libverbs library that is commonly supported by RDMA network cards.

[0123] In the process of registering the controller memory buffer to the network card, when obtaining the address mapped in the memory of the controller memory buffer, first switch the memory driver to the user mode driver, then operate the controller memory buffer in the user mode, and map the controller memory buffer to the user space of the process in the process of initializing the memory. By mapping the memory cache area to the user space, the data transmission between the operating system kernel and the user space can be reduced. Since the data operation is completed in the user space, the demand for kernel resources is reduced, and the stability and efficiency of the system are improved; calling the function for obtaining the controller memory buffer interface to output the address mapped in the memory of the controller memory buffer can directly access the memory area of ​​the controller, thereby improving the data access speed; using the provided data transmission method to transmit the address mapped in the memory of the controller memory buffer to the driver of the network card, since the data transmission does not require the participation of the central processor, the waiting of the central processor during the data transmission process can be avoided, thereby improving the efficiency of data transmission.

[0124] After registering the controller memory buffer with the network card, the service data sent by the client is received through the network card. There is no limit on the content and frequency of the service data sent by the client received by the network card, which is determined according to the actual situation. The controller memory buffer is registered with the RDMA network card. Therefore, when the network card receives the service data from the client, it directly places the received data on the controller memory buffer of the NVMe device through the Peripheral Component Interconnect Express (PCIE) peer-to-peer (P2P) transmission method.

[0125] In order to achieve persistence of business data, after placing the business data in the controller memory buffer, it is further determined whether the address where the business data is placed is the address of the controller memory buffer. If so, the business data is saved through the memory to achieve persistence of the business data.

[0126] Specifically, in order to improve data reading efficiency, in implementation, after the object storage daemon obtains the target address from the network card and before the object storage daemon sends the target address to the user mode driver, it also includes:

[0127] The object storage daemon transmits the target address to the object storage daemon software stack of the distributed storage system;

[0128] The object storage daemon sends the target address to the user mode driver including:

[0129] The object storage daemon sends the target address after passing through the object storage daemon software stack of the distributed storage system to the user mode driver.

[0130] The target address sent by the user mode driver received by the controller includes:

[0131] The target address is processed by a user mode driver in a command manner that complies with the non-volatile memory host controller interface specification;

[0132] Receive a target address transmitted by a user mode driver in a command manner that complies with the non-volatile memory host controller interface specification.

[0133] After the network card receives the business data and places the data in the controller memory buffer, the object storage daemon needs to submit the controller memory buffer address where the business data is stored to the SPDK NVME user state driver, which transmits the controller memory buffer address to the NVMe solid-state drive (SSD) in the form of an NVME command. The NVMe SSD device can recognize that the address belongs to its own controller memory buffer and save the business data in the controller memory buffer. At this point, the data is stored on the disk.

[0134] In order to save all business data, the data processing method also includes:

[0135] When it is detected that the target address is not the controller memory buffer address, the remaining capacity of the memory is obtained; wherein the remaining capacity of the memory is the difference between the total capacity of the memory and the data occupied by the memory;

[0136] Determine whether the remaining capacity of the memory is greater than the capacity of the storage space to be occupied by the business data;

[0137] If so, the business data is saved through the storage;

[0138] If not, the business data is saved in other storage areas; wherein other storage areas are storage areas in the server except the memory.

[0139] In the method provided in this embodiment, when it is detected that the target address is not the controller memory buffer address, if the remaining capacity of the memory is sufficient, the business data is stored in the memory, and if the remaining capacity of the memory is insufficient, the business data is stored in other memories outside the memory, thereby realizing the preservation of the business data.

[0140] Figure 4 A schematic diagram of a business data transmission scenario after using a controller memory buffer provided by an embodiment of the present invention. Figure 4As shown, the business data transmission involves the network card 1, the distributed storage system object storage daemon 2, and the memory 3. The memory 3 contains the controller memory buffer. The controller memory buffer address is mapped to the controller memory buffer storage area (the storage area is the memory used for remote direct memory access transmission); the controller memory buffer is mapped to the address of the controller memory buffer storage area and registered to the network card 1; the network card 1 directly places the received data on the controller memory buffer of the memory 3 through the fast peripheral component interconnection point-to-point direct storage access method; finally, the data is stored on the disk. Figure 4 The solid arrows in the middle represent the actual data flow, and the dotted arrows represent the phenomenon exhibited by the data flow transmission, specifically, the data is manifested from the network card 1 to the memory, and the memory to the storage 3.

[0141] In order to ensure that data can still be stored when the controller memory buffer is insufficient, in some embodiments, before obtaining the address mapped by the controller memory buffer in the memory, the following is also included:

[0142] Get the remaining capacity of the controller memory buffer;

[0143] Determine whether the remaining capacity of the controller memory buffer meets the preset requirements;

[0144] If yes, then enter the step of obtaining the address mapped in the memory of the controller memory buffer;

[0145] If not, the network module of the object storage daemon is used to register the memory area on the main memory to the network card; the business data sent by the client is received through the network card, and the business data is saved according to the memory area of ​​the main memory registered in the network card; the address of the business data on the main memory is received; and an operation of direct storage access to the main memory is initiated to obtain the business data stored on the main memory.

[0146] Figure 5 A schematic diagram of another business data transmission scenario provided by an embodiment of the present invention. Figure 5 As shown, business data transmission involves network card 1, distributed storage system object storage daemon 2, and storage 3. Figure 4 and Figure 5 It can be found that in Figure 5 The business data transmission does not involve the controller memory buffer in the memory 3. The distributed storage system object storage daemon registers the memory area on the main memory to the network card 1, the network card 1 directly stores the memory for the first time, and finally the memory directly stores the memory 3 for the second time.

[0147] The step of registering the memory area on the main memory to the network card includes:

[0148] Allocate a target memory area on the main memory for storing business data;

[0149] Call the remote direct memory access interface;

[0150] Register the target memory area to the network card through the remote direct memory access interface.

[0151] Figure 6 A flowchart of a method for registering a memory area on a main memory to a network card provided by an embodiment of the present invention, such as Figure 6 As shown, the method includes:

[0152] S103: Allocate a large block of memory (memory on the main memory);

[0153] S104: calling a remote direct memory access interface to register the memory area to the network card.

[0154] In the remote direct memory access + CNC separation scenario, the network module of the object storage daemon registers the memory area on the main memory to the network card capable of remote direct memory access to implement remote direct memory access. The network card capable of remote direct memory access will put the received data into the registered memory area, so the object storage daemon receives the business data sent by the client.

[0155] In the method provided by this embodiment, in the object storage daemon of the distributed storage system, the business data generated by the client is received by the network card, and is transmitted to the main memory by the network card through direct storage access. After passing through the object storage daemon software stack, kernel or user-mode driver, the address of the data on the main memory is passed to the memory, and the memory initiates a second direct storage access operation to transfer the data located on the main memory to the memory, thereby completing the data preservation. It can be seen that this method uses the main memory as a data transfer station, ensuring that data storage can still be achieved when the controller memory buffer is insufficient.

[0156] In order to make those skilled in the art better understand the present invention, Figure 7 The present invention is further described in detail with specific implementation methods. In the distributed storage system object storage daemon in the remote direct memory access + CNC separation scenario, the business data is sent directly from the client to the master object storage daemon or slave object storage daemon of the storage node. Therefore, the object storage daemon only needs to write the received business data to the disk. The whole process includes: (1) registering the controller memory buffer of the storage to the network card in the object storage daemon; (2) the network card receives the data and places it on the controller memory buffer; (3) the object storage daemon writes the received data to the disk. Figure 7A schematic diagram of a distributed storage node memory offloading scenario based on a controller memory buffer provided by an embodiment of the present invention, such as Figure 7 As shown in the figure, the process is the interaction between client 4, network card 1, and storage 3. Client 4 uses remote direct memory access technology to transmit business data to network card 1, and network card 1 directly places the business data on the controller memory buffer of storage 3 through the point-to-point direct storage access of fast peripheral component interconnection, and provides the memory address of the data to the distributed storage system object storage daemon software stack; through the distributed storage system object storage daemon software stack, the memory address of the business data is submitted to the storage in the form of a memory command through the storage performance development kit storage user state driver; finally, the storage persists the data in its own controller memory buffer, thereby completing the storage of business data. In the whole process, by directly storing the business data received by the network card in the controller memory buffer located in the NVMe device, the use of business data on the main memory during the business data reception and storage process is avoided, that is, it does not pass through the main memory (memory), thereby realizing the memory unloading of the storage node. By using the controller memory buffer for memory unloading, the burden of business data transmission and storage (persistence) on the main memory in the object storage daemon node can be reduced. Especially in the high-pressure scenario of the distributed all-flash system, the two direct storage access operations from the network card to the main memory and from the main memory to the storage will occupy most of the bandwidth of the main memory, reduce the CPU memory access speed, and thus slow down the processing speed of the storage business, causing the performance of the distributed storage system to decline. At the same time, after using the controller memory buffer for memory unloading, the memory capacity of the storage node can be saved and the hardware cost of the node can be reduced.

[0157] The above describes a data processing method for a memory applied to a distributed storage node. This embodiment also provides a data processing method for a network card applied to a distributed storage node. The data processing method for a network card applied to a distributed storage node includes:

[0158] Obtaining the address mapped in the memory by the controller memory buffer; wherein the address mapped in the memory by the controller memory buffer is obtained by the memory of the distributed storage node using the object storage daemon; the memory includes the controller memory buffer, and the network card is a network card that supports point-to-point transmission;

[0159] Receive the business data sent by the client and place the business data into the address mapped in the memory buffer of the controller;

[0160] The target address is transmitted to the object storage daemon; after obtaining the target address, the object storage daemon sends the target address to the user state driver and transmits the target address to the memory through the user state driver. When the memory detects that the target address is the controller memory buffer address, the business data is saved through the memory, wherein the target address is the address of the controller memory buffer where the business data is stored.

[0161] The data processing method for the network card applied to the distributed storage node provided in this embodiment has the same or corresponding technical features as the data processing method for the memory applied to the distributed storage node described above. The embodiment of the data processing method for the memory applied to the distributed storage node has been described in detail above, and the embodiment of the data processing method for the network card applied to the distributed storage node will not be repeated here, and the effect is the same as above.

[0162] This embodiment also provides a distributed storage system, the distributed storage system includes multiple distributed storage nodes, each distributed storage node includes a network card and a memory, and the memory includes a controller memory buffer;

[0163] The memory is used to use the object storage daemon to obtain the address mapped in the memory of the controller memory buffer, and register the address mapped in the memory of the controller memory buffer to the network card, so that the network card receives the business data sent by the client and places the business data in the controller memory buffer according to the registered address of the controller memory buffer; receives the target address sent by the user state driver; and saves the business data when it is detected that the target address is the address of the controller memory buffer; wherein the network card is a network card that supports point-to-point transmission, the target address is obtained by the object storage daemon from the network card, and the target address is sent to the user state driver, and the target address is the address of the controller memory buffer storing the business data;

[0164] The network card is used to obtain the address mapped in the memory by the controller memory buffer; receive the business data sent by the client and place the business data in the address mapped in the memory by the controller memory buffer; and transmit the target address to the object storage daemon.

[0165] The distributed storage system provided in this embodiment has the same or corresponding technical features as the data processing method of the memory applied to the distributed storage node described above. The embodiment of the data processing method of the memory applied to the distributed storage node has been described in detail above. Therefore, the embodiment of the distributed storage system will not be repeated here, and the effect is the same as above.

[0166] In the above embodiments, the data processing method is described in detail, and the present invention also provides a data processing device applied to a memory of a distributed storage node, a data processing device applied to a network card of a distributed storage node, and corresponding embodiments of a data processing device. It should be noted that the present invention describes the embodiments of the device part from two perspectives, one is based on the perspective of the functional module, and the other is based on the perspective of the hardware.

[0167] An embodiment of the present invention provides a data processing device for a memory of a distributed storage node. This embodiment, based on the perspective of a functional module, includes:

[0168] The first acquisition module is used to use the object storage daemon process to acquire the address mapped in the memory of the controller memory buffer, and register the address mapped in the memory of the controller memory buffer to the network card; wherein the network card is a network card that supports point-to-point transmission;

[0169] A placement module, used for receiving business data sent by a client through a network card, and placing the business data in a controller memory buffer according to an address of a registered controller memory buffer;

[0170] A receiving module is used to receive a target address sent by a user-mode driver; wherein the target address is obtained by the object storage daemon process from the network card and sent to the user-mode driver; the target address is the address of the controller memory buffer storing the business data;

[0171] The saving module is used to save the business data when it is detected that the target address is the controller memory buffer address.

[0172] In some embodiments, the first acquisition module includes: an acquisition submodule, configured to acquire an address mapped in the memory by the controller memory buffer;

[0173] Get submodules include:

[0174] A switching module, used for switching the memory driver to the user mode driver;

[0175] A loading and operating module, used to load user-mode drivers and operate the controller memory buffer in user mode;

[0176] The module to be initialized is used to drive the memory to be initialized using the user state;

[0177] The mapping module is used to map the controller memory buffer to the user space of the process during the memory initialization process to obtain the address mapped out of the controller memory buffer in the memory.

[0178] In some embodiments, the mapping module specifically includes:

[0179] A first calling module is used to call a function in a user-mode driver for obtaining a controller memory buffer interface;

[0180] The output module is used to output the address mapped in the memory of the controller memory buffer through the function used to obtain the controller memory buffer interface.

[0181] The data processing device comprises a first registration module, which is used for registering the address mapped in the memory of the controller memory buffer to the network card.

[0182] In some embodiments, the first registration module specifically includes:

[0183] A second acquisition module is used to acquire the data transmission mode between the memory buffer of the controller and the network card;

[0184] The first transmission module is used to transmit the address mapped in the memory of the controller memory buffer to the driver of the network card through a provided data transmission method.

[0185] In some embodiments, the receiving module specifically includes:

[0186] A processing module, used for processing the target address in a command mode that complies with the non-volatile memory host controller interface specification through a user mode driver;

[0187] The receiving submodule is used to receive a target address transmitted by a user-mode driver in a command manner that complies with the non-volatile memory host controller interface specification.

[0188] In some embodiments, the data processing apparatus further includes:

[0189] A third acquisition module is used to acquire the remaining capacity of the memory when it is detected that the target address is not the address of the controller memory buffer; wherein the remaining capacity of the memory is the difference between the total capacity of the memory and the data occupied by the memory;

[0190] A first judgment module is used to judge whether the remaining capacity of the memory is greater than the capacity of the storage space to be occupied by the business data; if so, triggering the first saving submodule; if not, triggering the second saving submodule;

[0191] A first storage submodule, used for storing business data in a memory;

[0192] The second saving submodule is used to save the business data in other storage areas; wherein the other storage areas are storage areas other than the memory in the server.

[0193] In some embodiments, the data processing apparatus further comprises:

[0194] A fourth acquisition module, used to acquire a unique identification code of a controller memory buffer;

[0195] The first registration module is further used to register the address mapped in the memory by the controller memory buffer with the network card in combination with the unique identification code of the controller memory buffer.

[0196] In some embodiments, the data processing apparatus further comprises:

[0197] A fifth acquisition module, used to acquire the remaining capacity of the controller memory buffer;

[0198] The second judgment module is used to judge whether the remaining capacity of the controller memory buffer meets the preset requirements; if so, the acquisition submodule is triggered; if not, the second registration module is triggered;

[0199] The second registration module is used to register the memory area on the main memory to the network card using the network module of the object storage daemon; receive the business data sent by the client through the network card, and save the business data according to the memory area of ​​the main memory registered in the network card; receive the address of the business data on the main memory; initiate a direct storage access operation to the main memory to obtain the business data stored on the main memory.

[0200] In some embodiments, the second registration module specifically includes:

[0201] An allocation module, used for allocating a target memory area for storing business data on the main memory;

[0202] A second calling module is used to call a remote direct memory access interface;

[0203] The registration submodule is used to register the target memory area to the network card through the remote direct memory access interface.

[0204] In some embodiments, a network card data processing device applied to a distributed storage node includes:

[0205] A sixth acquisition module is used to obtain the address mapped in the memory by the controller memory buffer; wherein the address mapped in the memory by the controller memory buffer is obtained by the memory of the distributed storage node using the object storage daemon; the memory includes the controller memory buffer, and the network card is a network card that supports point-to-point transmission;

[0206] The receiving and placing module is used to receive the business data sent by the client and place the business data into the address mapped in the memory of the controller memory buffer;

[0207] The second transmission module is used to transmit the target address to the object storage daemon; after obtaining the target address, the object storage daemon sends the target address to the user state driver and transmits the target address to the memory through the user state driver. When the memory detects that the target address is the controller memory buffer address, the business data is saved through the memory, wherein the target address is the address of the controller memory buffer where the business data is stored.

[0208] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part refer to the description of the embodiments of the method part, and will not be repeated here. The effect is the same as above.

[0209] Figure 8 This is a structural diagram of a data processing device provided by another embodiment of the present invention. This embodiment is based on the hardware perspective, such as Figure 8 As shown, the data processing device includes:

[0210] Memory 3, used for storing computer programs;

[0211] The processor 21 is used to implement the steps of the data processing method mentioned in the above embodiment when executing the computer program.

[0212] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0213] The memory 3 may include one or more computer-readable storage media, which may be non-transitory. The memory 3 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 3 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the data processing method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 3 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the above-mentioned data processing method, etc.

[0214] In some embodiments, the data processing device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .

[0215] Those skilled in the art will understand that Figure 8 The structure shown in the figure does not constitute a limitation of the data processing device, and may include more or fewer components than shown in the figure.

[0216] The data processing device provided by the embodiment of the present invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: a data processing method, with the same effect as above.

[0217] This embodiment also provides a computer program product, including a computer program / instruction, which implements the steps of the above data processing method when executed by a processor.

[0218] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps described in the above method embodiment (which may be a method corresponding to the memory side of a distributed storage node or a method corresponding to the network card side of a distributed storage system) are implemented.

[0219] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc. Various media that can store program codes.

[0220] The computer-readable storage medium provided by the present invention includes the above-mentioned data processing method, and the effect is the same as above.

[0221] The above is a detailed introduction to a data processing method, distributed storage system, product, device and medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in several ways, and these improvements and modifications also fall within the scope of protection of the present invention.

[0222] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A data processing method, characterized in that: A memory applied to a distributed storage node, wherein the memory includes a controller memory buffer; the method comprises: The object storage daemon is used to obtain the address mapped in the memory by the controller memory buffer, and the address mapped in the memory by the controller memory buffer is registered to the network card; wherein the network card is a network card supporting point-to-point transmission; Receiving the service data sent by the client through the network card, and placing the service data in the controller memory buffer according to the address of the registered controller memory buffer; Receive a target address sent by a user-mode driver; wherein the target address is obtained by the object storage daemon process from the network card and sending the target address to the user-mode driver; the target address is the address of the controller memory buffer storing the business data; When detecting that the target address is a controller memory buffer address, saving the service data; The obtaining of the address mapped in the memory of the controller memory buffer comprises: Switch the memory driver to a user-mode driver; Loading the user mode driver and operating the controller memory buffer in the user mode; Using the user mode to drive the memory to be initialized; In the process of initializing the memory, mapping the controller memory buffer to the user space of the process to obtain the address mapped in the memory by the controller memory buffer; After the object storage daemon process obtains the target address from the network card and before the object storage daemon process sends the target address to the user mode driver, the method further includes: The object storage daemon transmits the target address to the object storage daemon software stack of the distributed storage system; The object storage daemon process sending the target address to the user mode driver includes: The object storage daemon sends the target address after passing through the object storage daemon software stack of the distributed storage system to the user state driver; The receiving of the target address sent by the user mode driver includes: Processing the target address by a user mode driver in a command manner that complies with a non-volatile memory host controller interface specification; receiving the target address transmitted by the user mode driver in a command manner that complies with the non-volatile memory host controller interface specification; Before obtaining the address of the controller memory buffer mapped in the memory, it also includes: Get the remaining capacity of the controller memory buffer; Determining whether the remaining capacity of the controller memory buffer meets preset requirements; If yes, then enter the step of obtaining the address mapped in the memory of the controller memory buffer; If not, register the memory area on the main memory to the network card by using the network module of the object storage daemon process; receive the business data sent by the client through the network card, and save the business data according to the memory area of ​​the main memory registered in the network card; receive the address of the business data on the main memory; initiate a direct storage access operation to the main memory to obtain the business data stored in the main memory; Before using the object storage daemon process to obtain the address mapped in the memory by the controller memory buffer and registering the address mapped in the memory by the controller memory buffer to the network card, it also includes: Obtain the input and output operation status of each memory; When it is detected that there is no input / output operation in each memory, a target memory is randomly obtained from all memories; When it is detected that each memory has input / output operations, a memory with the smallest input / output operation is obtained from all memories, and the memory with the smallest input / output operation is used as a target memory; Correspondingly, using the object storage daemon to obtain the address mapped in the memory of the controller memory buffer includes: The object storage daemon is used to obtain the address of the controller memory buffer of the target storage mapped in the memory.

2. The data processing method according to claim 1, characterized in that: Mapping the controller memory buffer to the user space of the process during the process of initializing the memory to obtain the address mapped by the controller memory buffer in the memory includes: Calling a controller memory buffer interface function in the user mode driver; The address mapped in the memory by the controller memory buffer is outputted through the function for obtaining the controller memory buffer interface.

3. The data processing method according to claim 1 or 2, characterized in that: Registering the address mapped in the memory of the controller memory buffer to the network card includes: Acquire a data transmission mode between a memory buffer of a controller and the network card; The address mapped in the memory by the controller memory buffer is transmitted to the driver of the network card through the provided data transmission mode.

4. The data processing method according to claim 1, characterized in that: Also includes: When it is detected that the target address is not a controller memory buffer address, the remaining capacity of the memory is obtained; wherein the remaining capacity of the memory is the difference between the total capacity of the memory and the data occupied by the memory; Determining whether the remaining capacity of the memory is greater than the capacity of the storage space to be occupied by the business data; If yes, storing the business data via the memory; If not, the business data is saved in other storage areas; wherein the other storage areas are storage areas in the server except the memory.

5. The data processing method according to claim 3, characterized in that: Before acquiring the address mapped in the memory by the controller memory buffer and registering the address mapped in the memory by the controller memory buffer to the network card, the method further includes: Get the unique identification code of the controller memory buffer; The registering of the address mapped in the memory by the controller memory buffer to the network card comprises: The address mapped in the memory by the controller memory buffer is registered to the network card in combination with the unique identification code of the controller memory buffer.

6. The data processing method according to claim 1, characterized in that: The registering the memory area on the main memory to the network card comprises: Allocating a target memory area on the main memory for storing the business data; Call the remote direct memory access interface; The target memory area is registered to the network card through the remote direct memory access interface.

7. A data processing method, characterized in that: A network card applied to a distributed storage node, the method comprising: Obtaining an address mapped in the memory by the controller memory buffer; wherein the address mapped in the memory by the controller memory buffer is obtained by the memory of the distributed storage node using the object storage daemon; the memory includes the controller memory buffer, and the network card is a network card that supports point-to-point transmission; Receive business data sent by the client, and place the business data into the address mapped in the memory of the controller memory buffer; The target address is transmitted to the object storage daemon; after obtaining the target address, the object storage daemon sends the target address to the user state driver and transmits the target address to the memory through the user state driver, and when the memory detects that the target address is the address of the controller memory buffer, the business data is saved through the memory, wherein the target address is the address of the controller memory buffer storing the business data; Obtaining the address of the controller memory buffer mapped in memory includes: Switch the memory driver to a user-mode driver; Loading the user mode driver and operating the controller memory buffer in the user mode; Using the user mode to drive the memory to be initialized; In the process of initializing the memory, mapping the controller memory buffer to the user space of the process to obtain the address mapped in the memory by the controller memory buffer; After the object storage daemon process obtains the target address from the network card and before the object storage daemon process sends the target address to the user mode driver, the method further includes: The object storage daemon transmits the target address to the object storage daemon software stack of the distributed storage system; The object storage daemon process sending the target address to the user mode driver includes: The object storage daemon sends the target address after passing through the object storage daemon software stack of the distributed storage system to the user state driver; The target addresses sent by the user-mode driver include: The user mode driver processes the target address in a command manner that complies with the non-volatile memory host controller interface specification; The target address is transmitted in a command manner in accordance with the non-volatile memory host controller interface specification; Before obtaining the address mapped in the memory of the controller memory buffer, the memory of the distributed storage node also includes: Get the remaining capacity of the controller memory buffer; Determining whether the remaining capacity of the controller memory buffer meets preset requirements; If yes, then enter the step of obtaining the address mapped in the memory of the controller memory buffer; If not, register the memory area on the main memory to the network card by using the network module of the object storage daemon process; receive the business data sent by the client through the network card, and save the business data according to the memory area of ​​the main memory registered in the network card; receive the address of the business data on the main memory; initiate a direct storage access operation to the main memory to obtain the business data stored in the main memory; Before the memory of the distributed storage node uses the object storage daemon process to obtain the address mapped in the memory by the controller memory buffer and registers the address mapped in the memory by the controller memory buffer to the network card, the memory also includes: Obtain the input and output operation status of each memory; When it is detected that there is no input / output operation in each memory, a target memory is randomly obtained from all memories; When it is detected that each memory has input / output operations, a memory with the smallest input / output operation is obtained from all memories, and the memory with the smallest input / output operation is used as a target memory; Correspondingly, using the object storage daemon to obtain the address mapped in the memory of the controller memory buffer includes: The object storage daemon is used to obtain the address of the controller memory buffer of the target storage mapped in the memory.

8. A distributed storage system, characterized in that: The distributed storage system comprises a plurality of distributed storage nodes, each of the distributed storage nodes comprises a network card and a memory, and the memory comprises a controller memory buffer; The memory is used to obtain the address mapped in the memory by the controller memory buffer by using the object storage daemon process, and register the address mapped in the memory by the controller memory buffer to the network card, so that the network card receives the business data sent by the client and places the business data in the controller memory buffer according to the registered address of the controller memory buffer; Receive the target address sent by the user mode driver; When it is detected that the target address is the address of the controller memory buffer, the business data is saved; wherein the network card is a network card that supports point-to-point transmission, the target address is obtained by the object storage daemon process from the network card, and the target address is sent to the user state driver, and the target address is the address of the controller memory buffer where the business data is stored; the address mapped in the memory of the controller memory buffer by obtaining the address includes: Switch the memory driver to a user-mode driver; Loading the user mode driver and operating the controller memory buffer in the user mode; Using the user mode to drive the memory to be initialized; In the process of initializing the memory, mapping the controller memory buffer to the user space of the process to obtain the address mapped in the memory by the controller memory buffer; After the object storage daemon process obtains the target address from the network card and before the object storage daemon process sends the target address to the user mode driver, the method further includes: The object storage daemon transmits the target address to the object storage daemon software stack of the distributed storage system; The object storage daemon process sending the target address to the user mode driver includes: The object storage daemon sends the target address after passing through the object storage daemon software stack of the distributed storage system to the user state driver; The receiving of the target address sent by the user mode driver includes: Processing the target address by a user mode driver in a command manner that complies with a non-volatile memory host controller interface specification; receiving the target address transmitted by the user mode driver in a command manner that complies with the non-volatile memory host controller interface specification; Before obtaining the address of the controller memory buffer mapped in the memory, it also includes: Get the remaining capacity of the controller memory buffer; Determining whether the remaining capacity of the controller memory buffer meets preset requirements; If yes, then enter the step of obtaining the address mapped in the memory of the controller memory buffer; If not, register the memory area on the main memory to the network card by using the network module of the object storage daemon process; receive the business data sent by the client through the network card, and save the business data according to the memory area of ​​the main memory registered in the network card; receive the address of the business data on the main memory; initiate a direct storage access operation to the main memory to obtain the business data stored in the main memory; Before using the object storage daemon process to obtain the address mapped in the memory by the controller memory buffer and registering the address mapped in the memory by the controller memory buffer to the network card, it also includes: Obtain the input and output operation status of each memory; When it is detected that there is no input / output operation in each memory, a target memory is randomly obtained from all memories; When it is detected that each memory has input / output operations, a memory with the smallest input / output operation is obtained from all memories, and the memory with the smallest input / output operation is used as a target memory; Correspondingly, using the object storage daemon to obtain the address mapped in the memory of the controller memory buffer includes: Use the object storage daemon to obtain the address of the controller memory buffer of the target storage mapped in memory The network card is used to obtain the address mapped in the memory by the controller memory buffer; receive business data sent by the client, and place the business data in the address mapped in the memory by the controller memory buffer; and transmit the target address to the object storage daemon.

9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the data processing method according to any one of claims 1 to 7 are implemented.

10. A data processing device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the data processing method according to any one of claims 1 to 7 when executing the computer program.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 7 are implemented.