Configuration method and system of data plane forwarding rules of DPU

By obtaining and delivering the destination address and port generated by the target event in real time, and modifying the forwarding rule table of the DPU, the problem of complexity and poor flexibility in the configuration of DPU data plane forwarding rules in the existing technology is solved, and automated business traffic forwarding is realized. and acceleration.

CN117278620BActive Publication Date: 2024-10-18YUSUR TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311220906.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-21
Publication Date
2024-10-18
Estimated Expiration
2043-09-21

AI Technical Summary

Technical Problem

Existing DPU data plane forwarding rules are complex to configure and have poor flexibility, requiring manual configuration, making it difficult to meet the business traffic acceleration requirements in centralized proxy mode.

Method used

Obtain target events by calling the service discovery component on the host side in real time, generate the destination address and destination port, and send them to the executor in the DPU's on-chip system. Modify them based on the forwarding rule table, determine data matching, and start data plane forwarding. .

Benefits of technology

It effectively reduces the configuration complexity of data forwarding rules on the DPU data plane, improves the flexibility of rule configuration, can automatically adapt to business changes, and achieve traffic acceleration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117278620B_ABST
    Figure CN117278620B_ABST
Patent Text Reader

Abstract

The present application provides a method and system for configuring the data plane forwarding rules of a DPU, the method comprising: calling the service discovery component on the host side in real time to obtain the target event in the target service on the host side, and generating the corresponding destination address and destination port based on the target event; sending the destination address and destination port to the executor preset in the system-on-chip of the DPU, so that the executor modifies the forwarding rule table preset in the system-on-chip based on the destination address and destination port, and determines whether the current target service data in the system-on-chip matches the modified forwarding rule table, and if so, starts the data plane in the system-on-chip to forward the target service data to the corresponding container. The present application can effectively reduce the configuration complexity of the data forwarding rules of the DPU data plane, and effectively improve the flexibility of the rule configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of DPU data forwarding, and in particular to a method and system for configuring DPU data plane forwarding rules. Background Technology

[0002] In the current solution where the service mesh distributed proxy is moved down to the DPU centralized proxy, the service mesh data plane is moved from the host side to the DPU SoC side, and the distributed proxy mode is transformed into a centralized proxy mode. In the original distributed proxy model, one business container corresponds to one proxy, and no traffic guidance is required; all traffic can be accelerated by the proxy without any awareness. However, in the centralized proxy one-to-many scenario, traffic that needs to be accelerated must be guided. This portion of business traffic that needs to be accelerated on the DPU SoC side needs to be distinguished according to the corresponding forwarding rules to determine whether it needs to be accelerated by the proxy.

[0003] Existing forwarding rules require manual configuration, which is complex and lacks flexibility. Summary of the Invention

[0004] In view of this, embodiments of this application provide a method and system for configuring data plane forwarding rules of a DPU, in order to eliminate or improve one or more defects existing in the prior art.

[0005] The first aspect of this application provides a method for configuring data plane forwarding rules based on DPU, the method comprising:

[0006] In real time, the service discovery component on the host side is invoked to obtain the target event in the target service on the host side, and the corresponding destination address and destination port are generated based on the target event;

[0007] The destination address and destination port are sent to the executor preset in the system-on-a-chip of the DPU, so that the executor modifies the forwarding rule table preset in the system-on-a-chip based on the destination address and destination port, and determines whether the current target service data in the system-on-a-chip matches the modified forwarding rule table. If so, the data plane in the system-on-a-chip is started to forward the target service data to the corresponding container.

[0008] In some embodiments of this application, generating the corresponding destination address and destination port based on the target event includes:

[0009] If the target event is a service addition event, then the service discovery component is invoked to obtain the destination address and destination port of the target service corresponding to the service addition event.

[0010] In some embodiments of this application, generating the corresponding destination address and destination port based on the target event includes:

[0011] If the target event is a service deletion event, then the service discovery component is invoked to obtain the destination address and destination port of the target service corresponding to the service deletion event.

[0012] In some embodiments of this application, generating the corresponding destination address and destination port based on the target event includes:

[0013] If the target event is a service update event and the destination address and destination port of the target service corresponding to the service update event have been modified, then the service discovery component is invoked to obtain the modified destination address and destination port.

[0014] In some embodiments of this application, before sending the destination address and destination port to the actuator preset in the DPU's on-chip system, the method further includes:

[0015] Establish a heartbeat mechanism with the actuator;

[0016] Correspondingly, the step of sending the destination address and destination port to the actuator preset in the on-chip system of the DPU includes:

[0017] Based on the heartbeat mechanism, it is determined whether the connection with the actuator is maintained. If the connection is maintained, the destination address and destination port are sent to the actuator.

[0018] A second aspect of this application also provides a method for configuring data plane forwarding rules based on DPU, the method comprising:

[0019] The system receives the destination address and destination port sent by the controller preset on the host side in real time, and modifies the forwarding rule table preset in the on-chip system based on the destination address and destination port; wherein, the destination address and destination port are pre-defined by the controller calling the service discovery component on the host side in real time to obtain the target event in the target service on the host side, and generate the system based on the target event.

[0020] Determine whether the current target service data in the on-chip system matches the modified forwarding rule table. If so, start the data plane in the on-chip system to forward the target service data to the corresponding container.

[0021] In some embodiments of this application, modifying the forwarding rule table preset in the on-chip system based on the destination address and destination port includes:

[0022] If the target event is a service addition event, then add the destination address and destination port of the target service corresponding to the service addition event to the forwarding rule table.

[0023] In some embodiments of this application, modifying the forwarding rule table preset in the on-chip system based on the destination address and destination port includes:

[0024] If the target event is a service deletion event, then delete the destination address and destination port of the target service corresponding to the service deletion event from the forwarding rule table.

[0025] In some embodiments of this application, modifying the forwarding rule table preset in the on-chip system based on the destination address and destination port includes:

[0026] If the target event is a service update event and the destination address and destination port of the target service corresponding to the service update event have been modified, then the modified destination address and destination port shall be used to replace the original destination address and destination port in the forwarding rule table.

[0027] The third aspect of this application is a configuration system for data plane forwarding rules based on a DPU, the system comprising: an actuator on the DPU's on-chip system and a controller on the host side, respectively.

[0028] The controller is used to execute the configuration method for DPU-based data plane forwarding rules described in the first aspect above; the controller and the executor are connected in communication.

[0029] The actuator is used to execute the configuration method of DPU-based data plane forwarding rules described in the second aspect above; the actuator is communicatively connected to the controller, the data plane and the forwarding rule table in the DPU's on-chip system, respectively.

[0030] A fourth aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the configuration method for DPU-based data plane forwarding rules described in the first aspect, or implements the configuration method for DPU-based data plane forwarding rules described in the second aspect.

[0031] The fifth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the configuration method for DPU-based data plane forwarding rules described in the first aspect above, or implements the configuration method for DPU-based data plane forwarding rules described in the second aspect above.

[0032] This application provides a method and system for configuring data plane forwarding rules for a Data Processing Unit (DPU). The method includes: in real-time invoking a service discovery component on the host side to obtain target events in a target service on the host side, and generating corresponding destination addresses and destination ports based on the target events; sending the destination addresses and destination ports to an executor preset in the DPU's on-chip system, so that the executor modifies a forwarding rule table preset in the on-chip system based on the destination addresses and destination ports; determining whether the current target service data in the on-chip system matches the modified forwarding rule table; if so, activating the data plane in the on-chip system to forward the target service data to the corresponding container. This application can effectively reduce the configuration complexity of DPU data plane forwarding rules and effectively improve the flexibility of rule configuration.

[0033] Additional advantages, objectives, and features of this application will be set forth in part in the description which follows, and will in part become apparent to those skilled in the art upon review of the following description, or may be learned by practice of the application. The objectives and other advantages of this application can be realized and obtained by means of the structures specifically pointed out in the specification and drawings.

[0034] Those skilled in the art will understand that the purposes and advantages that can be achieved with this application are not limited to those specifically described above, and that the above and other purposes that this application can achieve will be more clearly understood from the following detailed description. Attached Figure Description

[0035] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, do not constitute a limitation thereof. The components in the drawings are not drawn to scale but are merely for illustrating the principles of this application. For ease of illustration and description of certain parts of this application, corresponding portions in the drawings may be enlarged, i.e., may appear larger relative to other components in an exemplary device actually manufactured according to this application. In the drawings:

[0036] Figure 1 This is a flowchart illustrating a method for configuring DPU-based data plane forwarding rules executed by a controller in one embodiment of this application.

[0037] Figure 2 This is a flowchart illustrating a method for configuring DPU-based data plane forwarding rules executed by an executor, as shown in another embodiment of this application.

[0038] Figure 3 This is a schematic diagram of an architecture for forwarding service data based on a forwarding rule table, as shown in another embodiment of this application. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the embodiments and accompanying drawings. Here, the illustrative embodiments and their descriptions are used to explain this application, but are not intended to limit it.

[0040] It should also be noted that, in order to avoid obscuring this application with unnecessary details, only the structures and / or processing steps closely related to the solution according to this application are shown in the accompanying drawings, while other details that are not closely related to this application are omitted.

[0041] It should be emphasized that the term "including / comprises" as used herein refers to the presence of a feature, element, step, or component, but does not exclude the presence or addition of one or more other features, elements, steps, or components.

[0042] It should also be noted that, unless otherwise specified, the term "connection" in this article can refer not only to a direct connection, but also to an indirect connection involving an intermediary.

[0043] In the following description, embodiments of the present application will be illustrated with reference to the accompanying drawings. In the drawings, the same reference numerals represent the same or similar parts, or the same or similar steps.

[0044] The following examples will provide a detailed description.

[0045] This application provides a first configuration method for DPU-based data plane forwarding rules that can be executed by a controller. See [link to relevant documentation]. Figure 1 The first configuration method for the DPU-based data plane forwarding rules specifically includes the following:

[0046] Step 110: In real time, call the service discovery component on the host side to obtain the target event in the target service on the host side, and generate the corresponding destination address and destination port based on the target event;

[0047] Step 120: Send the destination address and destination port to the executor preset in the DPU's on-chip system, so that the executor modifies the forwarding rule table preset in the on-chip system based on the destination address and destination port, and determines whether the current target service data in the on-chip system matches the modified forwarding rule table. If so, start the data plane in the on-chip system to forward the target service data to the corresponding container.

[0048] Specifically, see Figure 3 Controller (i.e.) Figure 3 The controller instance in the middle) makes real-time calls to the same host side (i.e. Figure 3The service discovery component (the informer component corresponding to the Service or Pod resource in the Kubernetes container cluster) of the cloud server node (Host) obtains the target event in the target service (Service-a, Service-b, Service-c in the figure) on the host side, and generates the corresponding destination address and destination port based on the target event; then, it sends the destination address and destination port to the executor (i.e., the one preset in the DPU's on-chip system) pre-programmed. Figure 3 (an instance of the actuator in the chip), so that the actuator, based on the destination address and destination port, accesses the forwarding rule table preset in the on-chip system (i.e., Figure 3 The rule table in the on-chip system is modified, and it is determined whether the current target service data in the on-chip system matches the modified forwarding rule table. If so, the data plane (i.e., the data plane in the on-chip system) is activated. Figure 3 The centralized proxy in the container forwards the target business data to the corresponding container, thereby effectively reducing the configuration complexity of the DPU data plane data forwarding rules and improving the flexibility of rule configuration.

[0049] in, Figure 3 In this context, Istio represents the control plane, and PodA represents container A.

[0050] To further improve the flexibility of rule configuration, step 110 generates the corresponding destination address and destination port based on the target event, including:

[0051] If the target event is a service addition event, then the service discovery component is invoked to obtain the destination address and destination port of the target service corresponding to the service addition event.

[0052] Specifically, the controller calls the Informer component to obtain the service addition event, and obtains the destination address and destination port of the target service corresponding to the service addition event, thereby further improving the flexibility of rule configuration.

[0053] Among them, the business addition event includes the add event corresponding to Service resources and Pod resources, and the target business includes Service resources and Pod resources.

[0054] To further improve the flexibility of rule configuration, step 110 generates the corresponding destination address and destination port based on the target event, including:

[0055] If the target event is a service deletion event, then the service discovery component is invoked to obtain the destination address and destination port of the target service corresponding to the service deletion event.

[0056] Specifically, the controller calls the Informer component to obtain the service deletion event, deletes the target service corresponding to the service deletion event, and at the same time obtains the destination address and destination port of the target service corresponding to the service addition event, so as to further delete it in the forwarding rule table of the on-chip system, thereby further improving the flexibility of rule configuration.

[0057] Among them, the business deletion event includes the delete event corresponding to Service resources and Pod resources.

[0058] To further improve the flexibility of rule configuration, step 110 generates the corresponding destination address and destination port based on the target event, including:

[0059] If the target event is a service update event and the destination address and destination port of the target service corresponding to the service update event have been modified, then the service discovery component is invoked to obtain the modified destination address and destination port.

[0060] Specifically, the controller calls the Informer component to obtain the service update event, updates the target service corresponding to the service update event, and obtains the updated destination address and destination port of the target service corresponding to the service addition event, so as to further update the forwarding rule table in the on-chip system, thereby further improving the flexibility of rule configuration.

[0061] Among them, business update events include update events corresponding to Service resources and Pod resources.

[0062] To ensure the accuracy of rule distribution, before the destination address and destination port are distributed to the actuator preset in the DPU's on-chip system, the following steps are also included:

[0063] Establish a heartbeat mechanism with the actuator;

[0064] Correspondingly, the step of sending the destination address and destination port to the actuator preset in the on-chip system of the DPU includes:

[0065] Based on the heartbeat mechanism, it is determined whether the connection with the actuator is maintained. If the connection is maintained, the destination address and destination port are sent to the actuator.

[0066] Specifically, the controller first establishes a heartbeat mechanism with the actuator, and then determines whether to maintain a connection with the actuator based on the heartbeat mechanism. If the connection is maintained, the controller sends the destination address and destination port to the actuator, thereby effectively ensuring the accuracy of rule distribution.

[0067] This application also provides a second configuration method for DPU-based data plane forwarding rules that can be executed by an executor, see [link to relevant documentation]. Figure 2 The second configuration method for the data plane forwarding rules based on DPU specifically includes the following:

[0068] Step 210: Receive the destination address and destination port sent by the controller preset on the host side in real time, and modify the forwarding rule table preset in the on-chip system based on the destination address and destination port; wherein, the destination address and destination port are pre-initiated by the controller in real time by calling the service discovery component on the host side to obtain the target event in the target service on the host side, and generate based on the target event.

[0069] Step 220: Determine whether the current target service data in the on-chip system matches the modified forwarding rule table. If so, start the data plane in the on-chip system to forward the target service data to the corresponding container.

[0070] Specifically, the actuator receives the destination address and destination port sent by the controller preset on the host side in real time, and modifies the forwarding rule table preset in the on-chip system based on the destination address and destination port; then it determines whether the current target service data in the on-chip system matches the modified forwarding rule table. If so, it starts the data plane of the on-chip system to forward the target service data to the corresponding container, thereby effectively reducing the configuration complexity of the DPU data plane data forwarding rules and effectively improving the flexibility of rule configuration.

[0071] The destination address and destination port are generated in advance by the controller in real time by calling the service discovery component on the host side to obtain the target event in the target service on the host side, and based on the target event.

[0072] To further improve the flexibility of rule configuration, step 210 modifies the preset forwarding rule table in the on-chip system based on the destination address and destination port, including:

[0073] If the target event is a service addition event, then add the destination address and destination port of the target service corresponding to the service addition event to the forwarding rule table.

[0074] Specifically, if the target event is a service addition event, the executor adds the destination address and destination port of the target service corresponding to the service addition event to the forwarding rule table, thereby further improving the flexibility of rule configuration.

[0075] Among them, the business addition event includes the add event corresponding to Service resources and Pod resources, and the target business includes Service resources and Pod resources.

[0076] To further improve the flexibility of rule configuration, step 210 modifies the preset forwarding rule table in the on-chip system based on the destination address and destination port, including:

[0077] If the target event is a service deletion event, then delete the destination address and destination port of the target service corresponding to the service deletion event from the forwarding rule table.

[0078] Specifically, if the target event is a service deletion event, the executor will delete the destination address and destination port of the target service corresponding to the service deletion event in the forwarding rule table, thereby further improving the flexibility of rule configuration.

[0079] Among them, the business deletion event includes the delete event corresponding to Service resources and Pod resources.

[0080] To further improve the flexibility of rule configuration, step 210 modifies the preset forwarding rule table in the on-chip system based on the destination address and destination port, including:

[0081] If the target event is a service update event and the destination address and destination port of the target service corresponding to the service update event have been modified, then the modified destination address and destination port shall be used to replace the original destination address and destination port in the forwarding rule table.

[0082] Specifically, if the target event is a service update event and the destination address and destination port of the target service corresponding to the service update event have been modified, the executor will replace the original destination address and destination port with the modified destination address and destination port in the forwarding rule table, thereby further improving the flexibility of rule configuration.

[0083] Among them, business update events include update events corresponding to Service resources and Pod resources.

[0084] Some embodiments of this application also provide a configuration system for data plane forwarding rules based on a DPU, the system comprising: an actuator on the DPU's on-chip system and a controller on the host side, respectively;

[0085] The controller is used to execute the aforementioned first configuration method for DPU-based data plane forwarding rules; the controller and the executor are connected in communication.

[0086] The actuator is used to execute the second configuration method for the data plane forwarding rules based on the DPU mentioned above; the actuator is communicatively connected to the controller, the data plane and the forwarding rule table in the on-chip system of the DPU.

[0087] This application provides a method and system for configuring data plane forwarding rules for a Data Processing Unit (DPU). The method includes: in real-time invoking a service discovery component on the host side to obtain target events in a target service on the host side, and generating corresponding destination addresses and destination ports based on the target events; sending the destination addresses and destination ports to an executor preset in the DPU's on-chip system, so that the executor modifies a forwarding rule table preset in the on-chip system based on the destination addresses and destination ports; determining whether the current target service data in the on-chip system matches the modified forwarding rule table; if so, activating the data plane in the on-chip system to forward the target service data to the corresponding container. This application can effectively reduce the configuration complexity of DPU data plane forwarding rules and effectively improve the flexibility of rule configuration.

[0088] This application also provides an electronic device, such as a central server, which may include a processor, a memory, a receiver, and a transmitter. The processor is used to execute the configuration method for DPU-based data plane forwarding rules mentioned in the above embodiments. The processor and memory can be connected via a bus or other means, taking a bus connection as an example. The receiver can be connected to the processor and memory via wired or wireless means.

[0089] The processor can be a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above types of chips.

[0090] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the DPU-based data plane forwarding rule configuration method in the embodiments of this application. The processor executes various functional applications and data processing by running the non-transitory software programs, instructions, and modules stored in the memory, thereby implementing the DPU-based data plane forwarding rule configuration method in the above method embodiments.

[0091] The memory may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created by the processor, etc. Furthermore, the memory may include high-speed random access memory and non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the processor, which can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0092] The one or more modules are stored in the memory, and when executed by the processor, they execute the configuration method of the DPU-based data plane forwarding rules in the embodiment.

[0093] In some embodiments of this application, the user equipment may include a processor, a memory, and a transceiver unit. The transceiver unit may include a receiver and a transmitter. The processor, memory, receiver, and transmitter may be connected via a bus system. The memory is used to store computer instructions, and the processor is used to execute the computer instructions stored in the memory to control the transceiver unit to send and receive signals.

[0094] As one implementation method, the functions of the receiver and transmitter in this application can be implemented by transceiver circuits or dedicated transceiver chips, and the processor can be implemented by dedicated processing chips, processing circuits or general-purpose chips.

[0095] As another implementation approach, the server provided in this application embodiment can be implemented using a general-purpose computer. That is, the program code implementing the processor, receiver, and transmitter functions is stored in memory, and the general-purpose processor implements the processor, receiver, and transmitter functions by executing the code in memory.

[0096] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the aforementioned DPU-based data plane forwarding rule configuration method. The computer-readable storage medium can be a tangible storage medium, such as random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, floppy disks, hard disks, removable storage disks, CD-ROMs, or any other form of storage medium known in the art.

[0097] Those skilled in the art will understand that the exemplary components, systems, and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software, or a combination of both. Whether implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application. When implemented in hardware, it can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. The programs or code segments can be stored in a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave.

[0098] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0099] In this application, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with or in place of features of other embodiments.

[0100] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to the embodiments of this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for configuring a data plane forwarding rule of a DPU, characterized in that: include: The controller preset on the host side calls the service discovery component on the host side in real time to obtain the target event in the target service on the host side, and generates the corresponding destination address and destination port based on the target event; Based on the heartbeat mechanism, it is determined whether the controller maintains a connection with the executor preset in the system-on-chip of the DPU. If so, the destination address and the destination port are sent to the executor preset in the system-on-chip of the DPU, so that the executor modifies the forwarding rule table preset in the system-on-chip based on the destination address and the destination port, and determines whether the current target business data in the system-on-chip matches the modified forwarding rule table. If so, the data plane in the system-on-chip is started to forward the target business data to the corresponding container.

2. The method for configuring the data plane forwarding rules of the DPU according to claim 1, characterized in that: The generating a corresponding destination address and a destination port based on the target event includes: If the target event is a service addition event, the service discovery component is called to obtain the destination address and destination port of the target service corresponding to the service addition event.

3. The method for configuring the data plane forwarding rules of the DPU according to claim 1, characterized in that: The generating a corresponding destination address and a destination port based on the target event includes: If the target event is a service deletion event, the service discovery component is called to obtain the destination address and destination port of the target service corresponding to the service deletion event.

4. The method for configuring the data plane forwarding rules of the DPU according to claim 1, characterized in that: The generating a corresponding destination address and a destination port based on the target event includes: If the target event is a service update event and the destination address and destination port of the target service corresponding to the service update event are modified, the service discovery component is called to obtain the modified destination address and destination port.

5. The method for configuring the data plane forwarding rules of the DPU according to claim 1, characterized in that: Before sending the destination address and the destination port to the executor preset in the on-chip system of the DPU, the method further includes: A heartbeat mechanism is established with the actuator.

6. A method for configuring a data plane forwarding rule of a DPU, characterized in that: include: Receiving in real time the destination address and destination port sent by the controller preset on the host side, and modifying the forwarding rule table preset in the on-chip system based on the destination address and destination port; wherein the destination address and destination port are pre-generated by the controller calling the service discovery component on the host side in real time, obtaining the target event in the target service on the host side, and based on the target event; It is determined whether the current target service data in the system on chip matches the modified forwarding rule table. If so, the data plane in the system on chip is started to forward the target service data to the corresponding container.

7. The method for configuring the data plane forwarding rules of the DPU according to claim 6, characterized in that: The modifying the forwarding rule table preset in the system on chip based on the destination address and the destination port includes: If the target event is a service addition event, the destination address and destination port of the target service corresponding to the service addition event are added to the forwarding rule table.

8. The method for configuring the data plane forwarding rules of the DPU according to claim 6, characterized in that: The modifying the forwarding rule table preset in the system on chip based on the destination address and the destination port includes: If the target event is a service deletion event, the destination address and destination port of the target service corresponding to the service deletion event are deleted from the forwarding rule table.

9. The method for configuring the data plane forwarding rules of the DPU according to claim 6, characterized in that: The modifying the forwarding rule table preset in the system on chip based on the destination address and the destination port includes: If the target event is a service update event and the destination address and destination port of the target service corresponding to the service update event are modified, the modified destination address and destination port are used to replace the destination address and destination port before the modification in the forwarding rule table.

10. A configuration system for a data plane forwarding rule of a DPU, characterized in that: include: An actuator in a system-on-chip of the DPU and a controller on the host side are respectively arranged; The controller is used to execute the configuration method of the data plane forwarding rule of the DPU according to any one of claims 1 to 5; the controller and the executor are communicatively connected; The executor is used to execute the configuration method of the data plane forwarding rules of the DPU according to any one of claims 6 to 9; the executor is respectively communicated with the controller, the data plane of the on-chip system of the DPU and the forwarding rule table.

Citation Information

Patent Citations

  • Enabling foreign network multicasting for a roaming mobile node, in a foreign network, using a persistent address

    US20030018715A1

  • Method for wireless remote updating vehicle software

    US20160371077A1