Multi-MB data processing method, device, equipment and medium

Through the multi-MB data processing method, shared memory is used to realize communication and unified scheduling between MBs, which solves the problem of insufficient MB performance in NVMe embedded applications and improves NVMe performance and business processing efficiency.

CN117908772BActive Publication Date: 2024-09-27YUSUR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311633124.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2024-09-27
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

In NVMe embedded single MB applications, the performance of a single MB is limited, resulting in excessive delays in MB accessing the NVMe control module and storage module, seriously affecting NVMe storage bandwidth and IOPS performance, and failing to meet the latency and bandwidth requirements of NVMe services.

Method used

Through the multi-MB data processing method, the work process information in the shared memory is used to realize communication and unified scheduling between multiple MBs, and dynamically allocate IO commands to improve the scheduling coordination and flexibility of the MB, ensuring that each MB can be processed efficiently NVMe business.

Benefits of technology

It improves the performance of NVMe, meets the latency requirements of NVMe services, and improves the performance of MB in embedded application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117908772B
    Figure CN117908772B
Patent Text Reader

Abstract

The present disclosure relates to a multi-MB data processing method, device, equipment and medium, the method is executed by the current MB, the current MB is any one of multiple MBs, and the multiple MBs are all connected to the first memory; the method includes: receiving an IO command corresponding to an NVMe service; reading shared information from the first memory; wherein the shared information includes: respective work process information written by each MB in the first memory; determining multiple target MBs to be scheduled from the MB according to the shared information; and assigning the IO command to each target MB so that each target MB performs data access separately. The present disclosure can improve the service processing efficiency, better meet the latency requirements of the NVMe service, and thus improve the NVMe performance in the embedded MB application scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a multi-MB data processing method, device, equipment and medium. Background Art

[0002] Currently, in NVMe (NVM Express, non-volatile memory host controller interface specification) embedded single MB (Micro Blaze, embedded soft core) applications, the performance of a single MB is limited, resulting in excessive latency in MB accessing the NVMe control module and storage module, seriously affecting NVMe storage bandwidth and IOPS (Input / Output Operations Per Second, the number of read and write operations per second) and other performance, and failing to meet the latency and bandwidth requirements of NVMe services. Summary of the invention

[0003] In order to solve the above technical problems, the present disclosure provides a multi-MB data processing method, device, equipment and medium.

[0004] According to one aspect of the present disclosure, a method for processing data of multiple MBs is provided, the method being executed by a current embedded soft core MB, the current MB being any one of a plurality of MBs, and the plurality of MBs being connected to a first memory; the method comprising:

[0005] Receive IO commands corresponding to NVMe services;

[0006] Reading shared information from the first memory; wherein the shared information includes: respective work process information written by each of the MBs in the first memory;

[0007] Determining a plurality of target MBs to be scheduled from the MBs according to the shared information;

[0008] The IO commands are distributed to the target MBs so that the target MBs can access data separately.

[0009] According to another aspect of the present disclosure, a multi-MB data processing device is provided, wherein the device is arranged in a current embedded soft core MB, the current MB is any one of a plurality of MBs, and the plurality of MBs are all connected to a first memory; the device comprises:

[0010] A receiving module, used to receive IO commands corresponding to NVMe services;

[0011] A sharing module, used for reading sharing information from the first memory; wherein the sharing information includes: respective working process information written by each of the MBs in the first memory;

[0012] A scheduling module, used for determining a plurality of target MBs to be scheduled from the MBs according to the shared information;

[0013] The allocation module is used to allocate the IO command to each of the target MBs so that each of the target MBs can access data separately.

[0014] According to another aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0015] processor;

[0016] a memory for storing instructions executable by the processor;

[0017] The processor is used to read the executable instructions from the memory and execute the instructions to implement the above method.

[0018] According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the above method.

[0019] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0020] The disclosed embodiment provides a multi-MB data processing method, device, equipment and medium, the method is executed by the current MB, the current MB is any one of the multiple MBs, and the multiple MBs are connected to the first memory; the method includes: receiving the IO command corresponding to the NVMe service; reading the shared information from the first memory; wherein the shared information includes: the allocation information of the NVMe service and the work process information of each MB; determining the multiple target MBs to be scheduled from the MB according to the shared information; assigning the IO command to each target MB so that each target MB can access the data separately. This technical solution extends multiple MBs, and multiple MBs realize communication between multiple MBs by sharing the shared information such as the work process information in the first memory; on this basis, unified scheduling of multiple MBs can be realized, and the unified scheduling can not only improve the scheduling coordination and scheduling flexibility between multiple MBs, but also the target MBs obtained by scheduling can be more suitable for processing the IO commands of the NVMe service, ensuring that each MB can efficiently process the NVMe service, improve the service processing efficiency, better meet the latency requirements of the NVMe service, and thus improve the NVMe performance in the embedded MB application scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0023] Figure 1 It is a schematic diagram of the NVMe embedded multi-MB hardware architecture described in the embodiment of the present disclosure;

[0024] Figure 2 This is a flow chart of a multi-MB data processing method according to an embodiment of the present disclosure;

[0025] Figure 3 This is a schematic diagram of writing shared information according to an embodiment of the present disclosure;

[0026] Figure 4 It is a structural schematic diagram of a multi-MB data processing device according to an embodiment of the present disclosure;

[0027] Figure 5 It is a schematic diagram of the structure of the electronic device described in the embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0029] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0030] At present, in NVMe non-SOC (System on Chip) embedded applications, the performance of a single MB is limited, resulting in excessive delays in MB accessing NVMe control modules and storage modules, which seriously affects NVMe storage bandwidth and IOPS performance, and cannot meet the latency and bandwidth requirements of NVMe services. Based on this, in order to improve the impact of MB performance on NVMe services, the embodiments of the present disclosure provide a multi-MB data processing method, device, equipment and medium, which are described in detail below.

[0031] First, for ease of understanding, this embodiment provides an NVMe embedded multi-MB hardware architecture, and illustrates an application scenario of a multi-MB data processing method.

[0032] The NVMe embedded multi-MB hardware architecture includes: RDMA (Remote Direct Memory Access), AXI Interconnect, multi-MB components, first memory, NVMe controller, second memory and host. Among them, the multi-MB component includes multiple independent MBs; the first memory includes, for example, RAM (Random Access Memory), and the second memory includes, for example, DDR (Double Data Rate).

[0033] Based on the above example, the following can be provided: Figure 1 A schematic diagram of an NVMe embedded multi-MB hardware architecture is shown. In the multi-storage disk architecture, each MB in the multi-MB component is connected to the first memory through AXI Interconnect, and each MB can access the first memory, so that multiple MBs share the first memory, or in other words, the first memory is used as a shared memory for communication between the MBs. The AXI Interconnect is connected to the first memory and each MB through the AXI bus; the AXI Interconnect can manage the AXI bus and support multiple MBs to access the same first memory using the AXI bus. The principle is to allocate different address access spaces to the AXI bus, so that different MBs access the same first memory through different address access spaces.

[0034] AXI Interconnect is also connected to the NVMe controller and RDMA respectively. Specifically, two axi_lite interfaces can be derived from AXIInterconnect, which are used as configuration paths for accessing the NVMe controller and RDMA respectively. In addition, the first interface of the NVMe controller is connected to the first interface of the RDMA through the host, and the second interface of the NVMe controller is connected to the second interface of the RDMA through the second memory.

[0035] According to the above NVMe embedded multi-MB hardware architecture, each MB processes NVMe services independently; and each MB is used as the current MB, and the current MB can uniformly schedule multiple MBs according to the work progress information of other MBs to ensure that each MB can efficiently process NVMe services.

[0036] The first memory is used to store the work process information of each MB and the allocation information of NVMe services. Among them, the work process information can indicate whether the MB is currently working, if it is not working, the MB is in an idle state, if it is working, the MB is in a working state, and in the working state, the work process information also includes what NVMe service the MB is currently processing. The allocation information can be expressed as the number information of MBs allocated to the NVMe service, which can be either a specific number or a comparative relationship between the number of MBs corresponding to different NVMe services. Generally speaking, the NVMe service with a larger number of allocated MBs is more important, and MBs can be scheduled for processing first.

[0037] Reference Figure 2 The multi-MB data processing method flow chart shown in FIG. 1 can be applied to multi-MB scenarios to improve NVMe performance. The present disclosure can implement the multi-MB data processing method through the above-mentioned NVMe embedded multi-MB hardware architecture. In this embodiment, the multi-MB data processing method can be executed by the current MB, and the current MB is any one of the multiple MBs (for example, the current MB can be represented as MB i , i=1, 2, 3...n), multiple MBs are connected to the first memory. Figure 2 As shown, the method specifically comprises the following steps:

[0038] S102. Receive IO commands corresponding to NVMe services. Specifically, the current MB receives the IO queue corresponding to the NVMe service; the NVMe service may be a service for accessing the NVMe controller and a service for accessing RDMA, etc. An IO queue may include at least one IO command; at least one IO command needs to be assigned to multiple MBs for processing; for example, m1 IO commands may be assigned to m1 MBs, and one MB processes one IO command; or one IO command may be split into m2 sub-commands, and the m2 sub-commands may be assigned to m2 MBs, and the m2 MBs may jointly process one IO command in a pipeline manner.

[0039] S104, reading shared information from the first memory; wherein the shared information includes: respective work process information written by each MB in the first memory.

[0040] In this embodiment, the first memory is used as a shared memory for realizing communication between multiple MBs, and can record shared information shared by multiple MBs. The shared information may include but is not limited to: respective work process information written by each MB in the first memory.

[0041] An embodiment of an MB writing working process information into a first memory may include: writing the working process information of the current MB into the first memory in response to a preset target event; wherein the target event includes: the current MB starts processing a business event or completes processing a business event.

[0042] The start of business processing event indicates that the current MB enters the working state of processing business from the idle state, and its working process changes, in which case it triggers the writing of the working process information of the current MB into the first memory. Similarly, the completion of business processing event indicates that the current MB enters the idle state from the working state of processing business, and its working process changes, in which case it triggers the writing of the working process information of the current MB into the first memory.

[0043] The work process information may include: idle state, working state, and what NVMe business the current MB is processing in the working state.

[0044] According to the above embodiment, when the above target event occurs, the current MB triggers writing the working process information of the current MB into the first memory (ie, RAM). Figure 3 For example, the current MB can write the working process information of the current MB to the RAM space reg1 or reg2 via AXI Interconnect. Accordingly, other MBs in the multi-MB component can read the working process information of the current MB from the shared first memory at a preset time interval.

[0045] It can be understood that, just like the way in which the current MB writes its work process information in the first memory as mentioned above, each MB writes its own work process information in the first memory; the current MB reads the work process information of each MB from the first memory at a preset time interval, and for each MB, it can read the work process information of other MBs in the first memory.

[0046] In a specific embodiment of reading the shared information from the first memory, the first memory may be read at a preset time interval, and the shared information is acquired when a preset identifier is read.

[0047] In order to reduce the amount of data written and the occupation of the storage space in the first memory, the present embodiment may use preset identifiers to represent different shared information, for example, the two identifiers of 0 and 1 represent the idle state and the working state in the work process information respectively. Based on this, each MB may write an identifier matching the work process information in the first memory, and the current MB obtains the shared information by reading the identifier in the first memory.

[0048] S106. Determine multiple target MBs to be scheduled from the MBs according to the shared information.

[0049] According to the above embodiment, multiple MBs share the shared information in the first memory, so that multiple MBs can inform each other of shared information such as work process information, thereby realizing communication between multiple MBs. On the basis that multiple MBs share the above shared information, this embodiment can dynamically schedule multiple MBs and flexibly allocate IO commands of NVMe services.

[0050] In one embodiment, the implementation process of determining multiple target MBs to be scheduled from the MBs according to the shared information may be as follows.

[0051] The target number of NVMe services currently to be allocated and target MBs for processing NVMe services is determined based on the allocation information.

[0052] In this embodiment, the user can write allocation information in the first memory through human-computer interaction, and the allocation information indicates the number of MBs corresponding to each NVMe service. Exemplarily, the allocation information is, for example: at least 5 MBs are allocated to the NVMe service accessing the NVMe controller, and 1 MB is allocated to the NVMe service accessing RDMA; or, 1 MB is allocated to the NVMe service accessing RDMA, and the remaining MBs are allocated to the NVMe service accessing the NVMe controller; or, MBs are allocated preferentially to the NVMe service accessing the NVMe controller.

[0053] In the allocation information, the number of MBs corresponding to the NVMe business is larger, which means that the processing priority of the NVMe business is higher and the NVMe business needs to be completed more efficiently, so more MB resources and computing power need to be allocated to the NVMe business.

[0054] Then, the target number of target MBs can be determined for each NVMe service according to the allocation information. Alternatively, the NVMe service with the largest number of MBs can be used as the current NVMe service to be allocated, and the target number of target MBs for processing the NVMe service can be determined preferentially according to the order of the number of MBs corresponding to each NVMe service in the allocation information from most to least.

[0055] According to the working process information of each MB, the first MB whose working process information is in an idle state is determined. When the number of the first MBs is not less than the target number, the target MB to be scheduled is determined from the first MB according to the target number.

[0056] It is understandable that among multiple MBs, some MBs are usually in an idle state and some MBs are in a working state. The NVMe services being processed by the working MBs may be the same as or different from the NVMe services currently to be allocated. Of course, it is also possible that multiple MBs are in a working state.

[0057] According to the work process information of each MB, this embodiment preferentially schedules the first MB in idle state. If the number of the first MB in idle state is sufficient to process NVMe services, that is, the number of the first MB is not less than the target number, then an MB not less than the target number is determined from the first MB as the target MB to be scheduled. This embodiment uses the target MB in idle state to process NVMe services, which can make fuller use of each MB, improve service processing efficiency, and better meet the latency requirements of NVMe services.

[0058] On the contrary, when the number of the first MBs is less than the target number, the second MB is determined from the MBs whose working process information is in working state; the first MB and the second MB are determined as the target MBs to be scheduled; wherein the number of the target MBs is not less than the target number.

[0059] In this embodiment, when the number of the first MBs in the idle state is insufficient, a part of the MBs in the working state can be called to process the current NVMe service, and a part of the MBs can be left to continue processing the original NVMe service. Therefore, the second MB is determined from the MBs in the working state, and the first MB and the second MB are jointly determined as the target MBs to be scheduled.

[0060] In addition to using the idle first MB to process the current NVMe service, this embodiment also calls part of the second MB from the MB processing other NVMe services to process the current NVMe service. This scheduling method enables the target MB to process the NVMe service more efficiently, improve the service processing efficiency, and better meet the latency requirements of the NVMe service.

[0061] It is easy to understand that in this embodiment, as the work process information of each MB changes, different target MBs can be dynamically called to process NVMe services. Dynamically calling MBs can not only improve the flexibility of calling MBs, but also more reasonably call target MBs suitable for processing NVMe services, thereby ensuring that each MB can efficiently process NVMe services.

[0062] S108. Allocate IO commands to each target MB so that each target MB can access data separately.

[0063] After determining the target MB for processing the NVMe service according to the above embodiment, the IO command is allocated to each target MB so that each target MB can access data separately.

[0064] In one method, multiple IO commands can be allocated to multiple target MBs of the same number in the manner of one IO command corresponding to one target MB, and each target MB accesses data to the NVMe controller and / or RDMA according to the IO command.

[0065] In another way, an IO command can be split into multiple sub-commands; the multiple sub-commands are assigned to multiple target MBs so that the multiple target MBs access data in a pipeline manner according to the sub-commands respectively, that is, each target MB accesses data to the NVMe controller and / or RDMA respectively according to the sub-commands; this pipeline method can process more commands and data per unit time.

[0066] In the above embodiment, each target MB has the same priority in accessing the first memory, NVMe controller and RDMA through AXI Interconnect, and there is no order of precedence. Each MB can be accessed independently. When multiple MBs access a module at the same time, the access requests of multiple MBs can be cached and queued inside AXI Interconnect.

[0067] In summary, the multi-MB data processing method provided by the embodiment of the present disclosure is executed by the current MB, the current MB is any one of the multiple MBs, and the multiple MBs are all connected to the first memory; the method includes: receiving an IO command corresponding to the NVMe service; reading shared information from the first memory; wherein the shared information includes: allocation information of the NVMe service and work process information of each MB; determining multiple target MBs to be scheduled from the MB according to the shared information; and allocating the IO command to each target MB so that each target MB can access data separately.

[0068] The technical solution extends multiple MBs, and multiple MBs achieve communication between each other by sharing shared information such as work process information in the first memory; on the basis of sharing the above shared information through communication between MBs, multiple MBs can be uniformly scheduled, and the unified scheduling can not only fully schedule and use MBs in idle state, but also schedule some MBs from MBs processing other services to process the IO commands of the current NVMe service, thereby improving the scheduling coordination and scheduling flexibility between multiple MBs; moreover, the target MB obtained by scheduling in the above manner can be more suitable for processing the IO commands of NVMe services, ensuring that each MB can efficiently process NVMe services, improving service processing efficiency, and better meeting the latency requirements of NVMe services, thereby improving NVMe performance in embedded MB application scenarios.

[0069] Reference Figure 4The schematic diagram of the structure of the multi-MB data processing device shown in the figure, the device is set in the current MB, the current MB is any one of the multiple MBs, and the multiple MBs are connected to the first memory; the device includes the following modules:

[0070] A receiving module 210 is used to receive IO commands corresponding to NVMe services;

[0071] The sharing module 220 is used to read the sharing information from the first memory; wherein the sharing information includes: the respective working process information written by each of the MBs in the first memory;

[0072] A scheduling module 230, configured to determine a plurality of target MBs to be scheduled from the MBs according to the shared information;

[0073] The allocation module 240 is used to allocate the IO command to each of the target MBs so that each of the target MBs can access data separately.

[0074] In one embodiment, the shared information further includes: allocation information of NVMe services; the scheduling module 230 is further used to:

[0075] Determine the target number of the current NVMe service to be allocated and the target MB for processing the NVMe service according to the allocation information;

[0076] Determine, according to the working process information of each of the MBs, a first MB whose working process information is in an idle state;

[0077] In a case where the number of the first MBs is not less than the target number, determining the target MB to be scheduled from the first MBs according to the target number;

[0078] In the case that the number of the first MBs is less than the target number, determining a second MB from the MBs whose working process information is in working state;

[0079] The first MB and the second MB are determined as the target MBs to be scheduled; wherein the number of the target MBs is not less than the target number.

[0080] In one embodiment, the allocation module 240 is further configured to:

[0081] Splitting one of the IO commands into multiple sub-commands;

[0082] The multiple sub-commands are distributed to the multiple target MBs, so that the multiple target MBs respectively perform data access according to the sub-commands in a pipeline manner.

[0083] In one embodiment, the plurality of MBs are connected to an architecture-based non-volatile memory NVMe controller and a remote direct memory access RDMA via an AXI Interconnect; the allocation module 240 is also used for: each of the target MBs respectively accesses data to the NVMe controller and / or the RDMA according to the IO command.

[0084] In one embodiment, the first interface of the NVMe controller is connected to the first interface of the RDMA through the host, and the second interface of the NVMe controller is connected to the second interface of the RDMA through the second memory.

[0085] In one embodiment, the device also includes a writing module, which is used to: write the work process information of the current MB into the first memory in response to a preset target event; wherein the target event includes: the current MB starts processing a business event or completes processing a business event.

[0086] In one embodiment, the sharing module 220 is further configured to: read the first memory at a preset time interval, and obtain the sharing information when a preset identifier is read.

[0087] The implementation principle and technical effects of the device provided in this embodiment are the same as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0088] Figure 5 The structure diagram of an electronic device provided by the embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the electronic device 300 includes one or more processors 301 and a memory 302 .

[0089] The processor 301 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 300 to perform desired functions.

[0090] The memory 302 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may run the program instructions to implement the multi-MB data processing method of the embodiment of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0091] In one example, the electronic device 300 may further include: an input device 303 and an output device 304 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0092] In addition, the input device 303 may also include, for example, a keyboard, a mouse, and the like.

[0093] The output device 304 can output various information to the outside, including the determined distance information, direction information, etc. The output device 304 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0094] Of course, to simplify, Figure 5 Only some of the components related to the present disclosure in the electronic device 300 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 300 may also include any other appropriate components.

[0095] Furthermore, this embodiment also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the above-mentioned multi-MB data processing method.

[0096] The embodiments of the present disclosure provide a multi-MB data processing method, device, electronic device, and medium computer program product, including a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.

[0097] It should be noted that, in this article, relational terms such as "first" and "second" 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 "include", "comprise" 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, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0098] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A multi-MB data processing method, characterized in that: The method is executed by a current embedded soft core MB, the current MB is any one of a plurality of MBs, and the plurality of MBs are all connected to a first memory; the method comprises: Receive IO commands corresponding to NVMe services; Reading shared information from the first memory; wherein the shared information includes: respective work process information written by each of the MBs in the first memory; Determining a plurality of target MBs to be scheduled from the MBs according to the shared information; The IO commands are distributed to the target MBs so that the target MBs can access data separately.

2. The method according to claim 1, characterized in that The shared information further includes: allocation information of the NVMe service; and determining a plurality of target MBs to be scheduled from the MB according to the shared information includes: Determine the target number of the current NVMe service to be allocated and the target MB for processing the NVMe service according to the allocation information; Determine, according to the working process information of each of the MBs, a first MB whose working process information is in an idle state; In a case where the number of the first MBs is not less than the target number, determining the target MB to be scheduled from the first MBs according to the target number; In the case that the number of the first MBs is less than the target number, determining a second MB from the MBs whose working process information is in working state; The first MB and the second MB are determined as the target MBs to be scheduled; wherein the number of the target MBs is not less than the target number.

3. The method according to claim 1, characterized in that Allocating the IO command to each of the target MBs so that each of the target MBs respectively performs data access, including: Splitting one of the IO commands into multiple sub-commands; The multiple sub-commands are distributed to the multiple target MBs, so that the multiple target MBs respectively perform data access according to the sub-commands in a pipeline manner.

4. The method according to claim 1 or 3, characterized in that: The plurality of MBs are connected to the architecture-based non-volatile memory NVMe controller and remote direct memory access RDMA through AXI Interconnect; and each of the target MBs performs data access separately, including: Each of the target MBs accesses data to the NVMe controller and / or the RDMA according to the IO command.

5. The method according to claim 4, characterized in that The first interface of the NVMe controller is connected to the first interface of the RDMA through the host, and the second interface of the NVMe controller is connected to the second interface of the RDMA through the second memory.

6. The method according to claim 1, characterized in that The method further comprises: In response to a preset target event, the working process information of the current MB is written into the first memory; wherein the target event includes: the current MB starts processing a business event or completes processing a business event.

7. The method according to claim 1, characterized in that The reading shared information from the first memory includes: The first memory is read at a preset time interval, and the shared information is acquired when a preset identifier is read.

8. A multi-MB data processing device, characterized in that: The device is arranged in a current embedded soft core MB, the current MB is any one of a plurality of MBs, and the plurality of MBs are all connected to a first memory; the device comprises: A receiving module, used to receive IO commands corresponding to NVMe services; A sharing module, used for reading sharing information from the first memory; wherein the sharing information includes: respective working process information written by each of the MBs in the first memory; A scheduling module, used for determining a plurality of target MBs to be scheduled from the MBs according to the shared information; The allocation module is used to allocate the IO command to each of the target MBs so that each of the target MBs can access data separately.

9. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the method described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 7.