DPU chip, data transmission method based on DPU chip, electronic equipment and computer storage medium
By designing the on-chip network and acceleration unit in the DPU chip, the problem of data communication between acceleration units in multi-business scenarios is solved, efficient data transmission is achieved, and the requirements for high data volume and high interaction frequency are met.
Patent Information
- Application Number
- CN202410783609.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-10
AI Technical Summary
The existing technology cannot meet the requirements for efficient data communication between acceleration units in multi-service scenarios, especially when the amount of acceleration data is large and interactions are frequent.
A DPU chip is designed, which contains multiple acceleration units and an on-chip network. It receives upstream acceleration data through the on-chip network, determines the downstream acceleration units, and establishes independent data channels or backup data channels to achieve efficient data transmission between acceleration units.
It realizes efficient data communication between acceleration units in multi-business scenarios, meets the needs of high data volume and high interaction frequency, and improves the stability and efficiency of data transmission.
Smart Images

Figure CN118626435A
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of chip technology, and in particular to a DPU chip, a data transmission method based on the DPU chip, an electronic device, and a computer storage medium. Background Art
[0002] DPU (Data Processing Unit) is a hardware accelerator designed for data-intensive tasks. Compared with traditional CPUs, DPUs focus on optimizing specific types of data processing tasks, such as network packet processing, storage operations, security protocol processing, etc., to improve performance and efficiency. The design concept of DPU is to offload certain tasks from the main CPU, allowing it to focus on other computing tasks while processing multiple data streams or tasks through highly parallel processing capabilities. DPUs generally have better energy efficiency because they are optimized for specific tasks and can perform these tasks more energy-efficiently.
[0003] Another important feature of DPUs is their programmability, which means that users can adjust the behavior of the DPU as needed to meet specific application requirements. In addition, DPUs can be integrated into a variety of devices, including servers, network equipment, and storage devices, providing these devices with enhanced data processing capabilities. DPUs also have the potential to improve system security because they can handle encryption and decryption operations to ensure the security of data transmission.
[0004] As the amount of data continues to grow and the demand for real-time processing capabilities increases, DPUs, as an emerging hardware accelerator, are becoming increasingly important. Their development is accompanied by corresponding software tools and APIs to support developers to fully utilize the hardware capabilities of DPUs. DPUs have a wide range of application scenarios, including network processing, storage systems, reasoning processes of machine learning models, and security applications, providing strong support for modern data centers and various computing-intensive applications.
[0005] Currently, DPU supports multiple business scenarios and multiple acceleration units are designed. The acceleration units for various business scenarios need to interact with a large number of data packets and need to communicate with the Internet.
[0006] However, in the prior art, the communication method between different acceleration units is that the upstream acceleration unit records the downstream acceleration unit by adding a destination field to the acceleration data, and uses the destination field to send the acceleration data to the downstream acceleration unit. However, the above method is only applicable to a single business scenario. In a multi-business scenario, there is a large amount of acceleration data and frequent interactions. The above method cannot meet the communication needs between acceleration units in multiple business scenarios. Summary of the invention
[0007] In view of this, an embodiment of the present invention provides a DPU chip, a data transmission method based on the DPU chip, an electronic device and a computer storage medium to at least partially solve the above problems.
[0008] According to a first aspect of an embodiment of the present invention, a DPU chip is provided, including:
[0009] A plurality of acceleration units, each of which is used to process received data according to a data acceleration type of the acceleration unit to obtain accelerated data;
[0010] An on-chip network is connected to the multiple acceleration units respectively, and the on-chip network is used to receive upstream acceleration data from an upstream acceleration unit corresponding to the data acceleration task among the multiple acceleration units, determine a downstream acceleration unit corresponding to the data acceleration task among the multiple acceleration units, and send the upstream acceleration data to the downstream acceleration unit.
[0011] In some embodiments, the on-chip network is further used to: parse the upstream acceleration data to obtain pre-configured downstream task indication information, and determine the downstream acceleration unit according to the downstream task indication information.
[0012] In some embodiments, the on-chip network is also used to: determine a first number of upstream acceleration units and a second number of downstream acceleration units, establish at least one independent data channel between the upstream acceleration unit and the downstream acceleration unit, and send upstream acceleration data received from the upstream acceleration unit to the downstream acceleration unit through the at least one independent data channel.
[0013] In some embodiments, the on-chip network is further configured to: if the first number is equal to the second number, establish the same number of the independent data channels as the first number or the second number.
[0014] In some embodiments, the on-chip network is further configured to: if the first number is not equal to the second number, establish the same number of the independent data channels as the second number.
[0015] In some embodiments, the DPU chip further includes a peripheral bus, which is connected between the downstream acceleration unit and an external host, and the peripheral bus is used to send downstream acceleration data received from the downstream acceleration unit to the external host.
[0016] In some embodiments, the on-chip network is further used to: establish a backup data channel other than the at least one independent data channel, the backup data channel being used to send the upstream acceleration data received from the upstream acceleration unit to the downstream acceleration unit,
[0017] The on-chip network is further used to detect a channel status of the at least one independent data channel, and when the channel status indicates that the at least one independent data channel is abnormal, switch from the at least one independent data channel to the standby data channel.
[0018] According to a first aspect of an embodiment of the present invention, a DPU chip is provided, including:
[0019] A plurality of acceleration units, each of which includes a transceiver and a routing end, each of which is used to receive data through the transceiver, and process the received data according to the data acceleration type of the acceleration unit to obtain accelerated data sent from the transceiver, wherein the plurality of acceleration units include at least two acceleration units selected from a media access control acceleration unit, a peripheral bus, a direct memory access unit, a network processor, a local area network, a database offload acceleration engine, a double data rate SDRAM unit, a storage acceleration unit, and a remote storage acceleration unit;
[0020] The on-chip network includes multiple routing nodes and routing units connected to the multiple routing nodes, and is respectively connected to the routing ends of the multiple acceleration units. The on-chip network is used to receive upstream acceleration data from an upstream acceleration unit corresponding to a data acceleration task among the multiple acceleration units via the routing nodes corresponding to the upstream acceleration unit, determine a downstream acceleration unit corresponding to the data acceleration task among the multiple acceleration units through the routing units, and send the upstream acceleration data to the downstream acceleration unit via the routing nodes corresponding to the downstream acceleration unit.
[0021] In some embodiments, the routing unit is specifically used to: parse the upstream acceleration data to obtain pre-configured downstream task indication information, and determine the downstream acceleration unit according to the downstream task indication information.
[0022] In some embodiments, the routing unit includes at least one storage unit, and the routing unit is specifically used to: determine a first number of upstream acceleration units and a second number of downstream acceleration units, connect the routing nodes corresponding to the upstream acceleration units and the downstream acceleration units to at least one storage unit, establish at least one independent data channel between the upstream acceleration unit and the downstream acceleration unit, and the at least one storage unit is used to independently cache the acceleration data queues between the upstream acceleration unit and the downstream acceleration unit.
[0023] In some embodiments, the routing unit is specifically configured to: if the first number is equal to the second number, establish the same number of the independent data channels as the first number or the second number.
[0024] In some embodiments, the routing unit is specifically configured to: if the first number is not equal to the second number, establish the same number of the independent data channels as the second number.
[0025] In some embodiments, the DPU chip further includes a peripheral bus, which is connected between the downstream acceleration unit and an external host, and the peripheral bus is used to send downstream acceleration data received from the downstream acceleration unit to the external host.
[0026] In some embodiments, the routing unit is further used to: establish a backup data channel outside the at least one independent data channel, and the backup data channel is used to send the upstream acceleration data received from the upstream acceleration unit to the downstream acceleration unit.
[0027] In some embodiments, the routing unit is further used to: detect a channel status of the at least one independent data channel, and switch from the at least one independent data channel to the backup data channel when the channel status indicates that the at least one independent data channel is abnormal.
[0028] In some embodiments, the DPU chip further includes:
[0029] A packaging shell, comprising a plurality of pins, wherein the plurality of pins are connected to the transceiver ends of the plurality of acceleration units;
[0030] Wherein, the multiple acceleration units and the on-chip network are packaged in the packaging shell.
[0031] According to a third aspect of an embodiment of the present invention, a data transmission method based on a DPU chip is provided, wherein the DPU chip includes a plurality of acceleration units and an on-chip network, wherein the plurality of acceleration units include an upstream acceleration unit and a downstream acceleration unit, and the method includes:
[0032] The network on chip receives upstream acceleration data corresponding to the data acceleration task, wherein the upstream acceleration data is sent by an upstream acceleration unit to the network on chip;
[0033] The on-chip network determines a downstream acceleration unit corresponding to the data acceleration task;
[0034] The on-chip network sends the upstream acceleration data to the downstream acceleration unit.
[0035] According to a fourth aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the data transmission method based on the DPU chip as described in the first aspect.
[0036] According to a fifth aspect of an embodiment of the present invention, there is provided a computer storage medium on which a computer program is stored. When the program is executed by a processor, the data transmission method based on the DPU chip as described in the first aspect is implemented.
[0037] According to the solution provided by an embodiment of the present invention, by setting an on-chip network to receive upstream data sent by an acceleration unit, an upstream acceleration unit corresponding to a data acceleration task among multiple acceleration units receives the upstream acceleration data, and determines the downstream acceleration unit corresponding to the upstream acceleration data, and further uses the on-chip network to send the upstream acceleration data to the downstream acceleration unit, and then the upstream acceleration data can be centrally received through the on-chip network, and forwarded to the downstream acceleration unit centrally using the on-chip network, thereby realizing data communication requirements in multiple business scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] 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, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0039] Figure 1 A schematic diagram of the structure of a DPU chip applicable to an embodiment of the present invention;
[0040] Figure 2 FIG. 1 is a diagram showing a structure of a network on chip according to an embodiment of the present invention.
[0041] Figure 3 A structural diagram of another DPU chip according to an embodiment of the present invention;
[0042] Figure 4 A schematic diagram of a flow chart of a DPU data transmission method based on a DPU chip according to an embodiment of the present invention;
[0043] Figure 5 FIG. 4 is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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. All other embodiments obtained by ordinary technicians in the field based on the embodiments in the embodiments of the present invention should fall within the scope of protection of the embodiments of the present invention.
[0045] The specific implementation of the embodiment of the present invention is further described below in conjunction with the accompanying drawings of the embodiment of the present invention.
[0046] An embodiment of the present invention provides a DPU chip, specifically Figure 1 As shown, the DPU chip includes multiple acceleration units and an on-chip network, wherein each acceleration unit is respectively connected to the on-chip network, the acceleration unit receives data, and processes the received data according to the data acceleration type of the acceleration unit to obtain acceleration data, and sends the acceleration data to the on-chip network. Specifically, the multiple units include but are not limited to a media access control acceleration unit (MAC), a peripheral bus (PCIE), a direct memory access unit (DMA), a network processor (NP), a local area network (K2Pro-LAN), a database offload acceleration engine (DOE), a double data rate SDRAM unit (DDR), and a storage acceleration unit (NVME-of, Non-Volatile Memory expressovor Fabrics).
[0047] Furthermore, the acceleration unit of an embodiment of the present invention includes a transceiver and a routing end. The acceleration unit is connected to the on-chip network through the routing end. The acceleration unit receives data based on the transceiver, processes the received data according to the data acceleration type of the acceleration unit, obtains accelerated data, and sends the accelerated data to the on-chip network through the routing end.
[0048] Specifically, the media access range control acceleration unit (MAC) is responsible for media access control. The first end of the media access range control acceleration unit is connected to an external network device through two Ethernet interface SERDES, and the second end is connected to a network processor (NP), and is connected to a routing unit of an on-chip network through the network processor (NP). The Ethernet interface SERDES can include 10G, 25G, 40G, 50G, 100G and other rates.
[0049] Specifically, the bus acceleration unit (PCIE, Poriphoral Component Intorconnect Express) is used to provide a host communication interface for the acceleration unit. The first end is connected to the host through the physical layer, the second end is connected to the acceleration unit through the AXI4 bus interface of the standard protocol, and the third end is connected to the on-chip network to achieve high-speed, high-bandwidth, and low-latency data communication between the host and the acceleration unit.
[0050] Specifically, a direct memory access unit (DMA) is used to increase the transmission speed, a first end of which is connected to a bus acceleration unit (PCIE, Poriphoral Component Intorconnect Express), and a second end of which is connected to an on-chip network.
[0051] Specifically, the network processor (NP) is used to parse, identify and process received network data packets, and can specifically implement functions such as packet processing, protocol parsing, and table entry lookup. Its first end is connected to the on-chip network, and its second end is connected to the media access range control acceleration unit (MAC).
[0052] Specifically, the local area network (K2Pro-LAN) is used to implement network layer 2 addressing, network virtualization, and load balancing calculations. Its first end is connected to the media access range control acceleration unit (MAC), and the second end is connected to the on-chip network.
[0053] Specifically, the database offload acceleration engine (DOE) is used to collect, store, process and other functions of real-time processed data, and its first end is connected to the network processor (NP), the second end is connected to the double data rate SDRAM unit (DDR), and the third end is connected to the on-chip network. Further, in an embodiment of the present invention, the database offload acceleration engine (DOE) is used to provide flow table offloading for the network processor (NP).
[0054] Specifically, a double data rate SDRAM unit (DDR) is used for fast data transmission, a first end of which is connected to an external memory through a physical layer, a second end is connected to a database offload acceleration engine (DOE), and a third end is connected to an on-chip network, wherein the double data rate SDRAM unit (DDR) can be set to multiple.
[0055] Specifically, a storage acceleration unit (NVME-of, Non-Volatile Memory express ovor Fabrics) is used to establish shared register access between two external hosts, a first end of which is connected to the on-chip network, and a second end is connected to a bus acceleration unit (PCIE, Poriphoral Component Intorconnect Express).
[0056] Specifically, a remote memory acceleration unit (RDMA) is used to achieve remote communication with an external memory, a first end of which is connected to an on-chip network, and a second end of which is connected to an external memory through a double data rate SDRAM unit (DDR, Double Data Rate SDRAM).
[0057] The on-chip network is connected to each acceleration unit respectively, and is used to receive upstream acceleration data sent by the upstream acceleration unit corresponding to the data acceleration task, and determine the downstream acceleration unit corresponding to the data acceleration task based on the upstream acceleration data, and further send the upstream acceleration data to the corresponding downstream acceleration unit.
[0058] Furthermore, if Figure 2As shown, the on-chip network includes multiple routing nodes R and routing units. The routing node R is used to receive acceleration data sent by the acceleration unit through the routing end. The routing unit determines the downstream acceleration unit corresponding to the data acceleration task among the multiple acceleration units, and sends the upstream acceleration data to the downstream acceleration unit via the routing node corresponding to the downstream acceleration unit.
[0059] In one example, the upstream acceleration unit in the embodiment of the present invention is an acceleration unit that needs to send acceleration data, and the downstream acceleration unit is an acceleration unit that needs to receive acceleration data.
[0060] Specifically, for example, the data acceleration task is direct memory reading, and the acceleration unit corresponding to the data acceleration task determined by the on-chip network is a direct memory reading acceleration unit, and then the on-chip network sends the upstream acceleration data to the direct memory reading unit.
[0061] According to the DPU chip provided by the embodiment of the present invention, an on-chip network is set to receive upstream data sent by an acceleration unit, and an upstream acceleration unit corresponding to a data acceleration task among multiple acceleration units receives the upstream acceleration data, and determines the downstream acceleration unit corresponding to the upstream acceleration data, and further uses the on-chip network to send the upstream acceleration data to the downstream acceleration unit. Then, the upstream acceleration data can be centrally received through the on-chip network, and forwarded to the downstream acceleration unit centrally using the on-chip network, thereby realizing data communication requirements in multiple business scenarios.
[0062] Furthermore, if Figure 3 As shown, an embodiment of the present invention provides another DPU chip, wherein a bus acceleration unit (PCIE, Poriphoral Component Intorconnect Express) may include a first bus acceleration subunit (PCIE_1) and a second bus acceleration subunit (PCIE_2), the first bus acceleration subunit (PCIE_1) is used to connect to a first host, and the second bus acceleration subunit is used to connect to a second host.
[0063] The number of direct memory access units (DMA) can be set to multiple, which is consistent with the number of bus acceleration subunits.
[0064] Furthermore, the DPU chip of the embodiment of the present invention may also include a clock unit (CLOCK) for performing clock synchronization on each module in the DPU chip.
[0065] Furthermore, the DPU chip of the embodiment of the present invention may further include a reset unit (RESET) for resetting the DPU chip.
[0066] Furthermore, the DPU chip of the embodiment of the present invention may also include a control unit and a parameter storage unit (FLASH_CTRL), wherein the control unit includes a control subunit (CTRL_SYS) and an embedded management processor (EPU), and the control subunit is also directly connected to the microcontroller through a serial peripheral interface (QSPI).
[0067] Furthermore, the routing unit of the embodiment of the present invention is also used to parse the upstream acceleration data, obtain the pre-configured downstream task indication information, and determine the downstream acceleration unit according to the downstream task indication information. Specifically, after receiving the upstream acceleration data, the on-chip network parses the upstream acceleration data, determines the pre-configured downstream task indication information, and then determines the task that the downstream acceleration unit needs to perform, and then determines the acceleration unit. For example, the on-chip network parses the upstream acceleration data, and determines that the downstream task indication information is directly written to the host memory, and then the downstream acceleration unit determined by the on-chip network is a direct memory access unit (DMA, Direct Memory Access), and then the on-chip network sends the upstream data packet to the direct memory access unit (DMA, Direct Memory Access).
[0068] Furthermore, the network on chip of the embodiment of the present invention is also used to determine a first number of upstream acceleration units and a second number of downstream acceleration units, establish at least one independent data channel between the upstream acceleration unit and the downstream acceleration unit, and send the upstream acceleration data received from the upstream acceleration unit to the downstream acceleration unit through the at least one independent data channel. Specifically, before transmitting the upstream data packet, the network on chip also obtains the first number of upstream acceleration units and the second number of downstream acceleration units, and establishes at least one independent data channel based on the first number and the second number, and further, transmits the upstream data packet using the at least one established independent data channel.
[0069] In one example, the routing unit of the on-chip network includes at least one storage unit, and the routing unit is used to determine a first number of upstream acceleration units and a second number of downstream acceleration units, establish at least one independent data channel between the upstream acceleration unit and the downstream acceleration unit, and send the upstream acceleration data received from the upstream acceleration unit to the downstream acceleration unit through the at least one independent data channel. Specifically, before transmitting the upstream data packet, the routing unit also obtains the first number of the upstream acceleration units and the second number of the downstream acceleration units, and establishes at least one independent data channel based on the first number and the second number, and further, transmits the upstream data packet using the at least one established independent data channel.
[0070] In one example, if the on-chip network determines that the first number is equal to the second number, the on-chip network establishes independent data channels that are the same as the first number or the second number. For example, if the first number and the second number are both 3, the on-chip network establishes 3 independent data channels.
[0071] In one example, the routing unit in the on-chip network is specifically configured to establish an independent data channel that is the same as the first number or the second number if it is determined that the first number is equal to the second number.
[0072] In one example, if the on-chip network determines that the first number is not equal to the second number, the on-chip network establishes independent data channels that are equal to the second number. For example, if the first number is 1 and the second number is 3, the on-chip network establishes 3 independent data channels.
[0073] In one example, the routing unit of the on-chip network is specifically configured to establish independent data channels equal to the second number if it is determined that the first number is not equal to the second number, and the on-chip network then establishes independent data channels equal to the second number.
[0074] Furthermore, the on-chip network of the embodiment of the present invention is also used to establish a backup data channel, which sends the upstream acceleration data received from the upstream acceleration unit to the downstream acceleration unit to complete the data transmission through the backup data transmission channel, thereby improving the stability of data transmission. Specifically, the on-chip network detects the channel status of at least one independent data channel, and when the channel status indicates that at least one independent data channel is abnormal, switches from at least one independent data channel to the backup data channel. Please continue to refer to Figure 3 As shown, the dotted line in the figure represents the spare data channel.
[0075] In one example, the routing unit of the on-chip network is also used to establish a backup data channel, which sends the upstream acceleration data received from the upstream acceleration unit to the downstream acceleration unit to complete the data transmission through the backup data transmission channel, thereby improving the stability of data transmission. Specifically, the routing unit of the on-chip network detects the channel status of at least one independent data channel, and switches from the at least one independent data channel to the backup data channel when the channel status indicates that the at least one independent data channel is abnormal.
[0076] In one example, the on-chip network can detect the state of the independent data channel by detecting the transmission time of the acceleration unit to send upstream acceleration data. When the transmission time exceeds a preset threshold, the on-chip network determines that the transmission has timed out.
[0077] In one example, the routing unit of the on-chip network is specifically used to: detect the transmission time of the acceleration unit to send upstream acceleration data, detect the state of the independent data channel, and when the transmission time exceeds a preset threshold, the on-chip network determines that the transmission has timed out.
[0078] In one example, the DPU chip of an embodiment of the present invention further includes: a packaging shell, including multiple pins, wherein the multiple pins are connected to the transceiver ends of the multiple acceleration units; wherein the multiple acceleration units and the on-chip network are packaged in the packaging shell.
[0079] Furthermore, the embodiment of the present invention also provides a data transmission method based on a DPU chip, which is applied to the DPU chip of the embodiment of the present invention. The specific steps are as follows: Figure 4 As shown, including:
[0080] S401, the on-chip network receives upstream acceleration data corresponding to a data acceleration task.
[0081] In an embodiment of the present invention, the upstream acceleration unit processes the received data according to its own data acceleration type to obtain upstream acceleration data. Further, the upstream acceleration unit sends the obtained acceleration data to the on-chip network, and the on-chip network can receive the upstream acceleration data corresponding to the data acceleration task.
[0082] In one example, the data acceleration types of the acceleration unit in the embodiment of the present invention may include low-latency data acceleration transmission, real-time data acceleration transmission, and high-efficiency data acceleration transmission.
[0083] S402, the on-chip network determines a downstream acceleration unit corresponding to the data acceleration task.
[0084] In an embodiment of the present invention, after receiving the upstream acceleration data, the on-chip network determines the downstream acceleration unit corresponding to the data acceleration task according to the upstream acceleration data. Specifically, for example, the data acceleration task is direct memory reading, and the acceleration unit corresponding to the data acceleration task determined by the on-chip network is the direct memory reading acceleration unit, and then the on-chip network sends the upstream acceleration data to the direct memory reading unit.
[0085] S403, the on-chip network sends the upstream acceleration data to the downstream acceleration unit.
[0086] In the embodiment of the present invention, after determining the downstream acceleration unit, the on-chip network transmits the upstream acceleration data to the downstream acceleration unit to complete the data communication between different acceleration units.
[0087] Further, refer to Figure 5 , shows a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0088] like Figure 5As shown, the electronic device may include: a processor (processor) 502 , a communication interface (Communications Intorface) 504 , a memory (memory) 506 , and a communication bus 508 .
[0089] in:
[0090] The processor 502 , the communication interface 504 , and the memory 506 communicate with each other via a communication bus 508 .
[0091] The communication interface 504 is used to communicate with other electronic devices or servers.
[0092] The processor 502 is used to execute the program 510, and specifically can execute the relevant steps in the above-mentioned DPU chip-based data transmission method embodiment.
[0093] Specifically, the program 510 may include program codes, which include computer operation instructions.
[0094] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0095] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0096] The program 510 may be specifically configured to enable the processor 502 to perform the following operations:
[0097] In an optional implementation, the program 510 is also used to enable the processor 502 to implement each step in the program 510. The specific implementation can refer to the corresponding steps and corresponding descriptions in the units in the above-mentioned DPU chip-based data transmission method embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiment, which will not be repeated here.
[0098] An embodiment of the present invention further provides a computer program product, including computer instructions, which instruct a computing device to execute operations corresponding to the DPU chip-based data transmission method in the above method embodiment.
[0099] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present invention can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present invention.
[0100] The above-described method according to an embodiment of the present invention may be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code that is originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and will be stored in a local recording medium, so that the method described herein may be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor, or hardware, the DPU chip-based data transmission method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the DPU chip-based data transmission method shown herein, the execution of the code converts the general-purpose computer into a dedicated computer for executing the DPU chip-based data transmission method shown herein.
[0101] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present invention.
[0102] The above implementation methods are only used to illustrate the embodiments of the present invention, and are not intended to limit the embodiments of the present invention. Ordinary technicians in the relevant technical field may make various changes and modifications without departing from the spirit and scope of the embodiments of the present invention. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present invention. The patent protection scope of the embodiments of the present invention should be defined by the claims.
Claims
1. A DPU chip, It is characterized in that include: A plurality of acceleration units, each of which is used to process received data according to a data acceleration type of the acceleration unit to obtain accelerated data; An on-chip network is connected to the multiple acceleration units respectively, and the on-chip network is used to receive upstream acceleration data from an upstream acceleration unit corresponding to the data acceleration task among the multiple acceleration units, determine a downstream acceleration unit corresponding to the data acceleration task among the multiple acceleration units, and send the upstream acceleration data to the downstream acceleration unit.
2. The DPU chip according to claim 1, It is characterized in that The on-chip network is further used to: parse the upstream acceleration data to obtain pre-configured downstream task indication information, and determine the downstream acceleration unit according to the downstream task indication information.
3. The DPU chip according to claim 2, It is characterized in that The on-chip network is also used to: determine a first number of upstream acceleration units and a second number of downstream acceleration units, establish at least one independent data channel between the upstream acceleration unit and the downstream acceleration unit, and send upstream acceleration data received from the upstream acceleration unit to the downstream acceleration unit through the at least one independent data channel.
4. The DPU chip according to claim 3, It is characterized in that The on-chip network is further configured to: if the first number is equal to the second number, establish the same number of the independent data channels as the first number or the second number.
5. The DPU chip according to claim 3, It is characterized in that The on-chip network is further configured to: if the first number is not equal to the second number, establish the independent data channels having the same number as the second number.
6. The DPU chip according to claim 1, It is characterized in that The DPU chip also includes a peripheral bus connected between the downstream acceleration unit and an external host, and the peripheral bus is used to send downstream acceleration data received from the downstream acceleration unit to the external host.
7. The DPU chip according to claim 3, It is characterized in that The on-chip network is further used to: establish a spare data channel other than the at least one independent data channel, wherein the spare data channel is used to send upstream acceleration data received from the upstream acceleration unit to the downstream acceleration unit, The on-chip network is further used to detect a channel status of the at least one independent data channel, and when the channel status indicates that the at least one independent data channel is abnormal, switch from the at least one independent data channel to the standby data channel.
8. A data transmission method based on DPU chip, It is characterized in that The DPU chip includes a plurality of acceleration units and an on-chip network, the plurality of acceleration units include an upstream acceleration unit and a downstream acceleration unit, and the method includes: The on-chip network receives upstream acceleration data corresponding to the data acceleration task, wherein the upstream acceleration data is sent by an upstream acceleration unit to the on-chip network; The on-chip network determines a downstream acceleration unit corresponding to the data acceleration task; The on-chip network sends the upstream acceleration data to the downstream acceleration unit.
9. An electronic device, It is characterized in that include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the data transmission method based on the DPU chip as described in claim 8.
10. A computer storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the DPU chip-based data transmission method as described in claim 8 is implemented.
Citation Information
Cited By
Data processing system, server, method, product and storage medium
CN119324909A
