[go: up one dir, main page]

CN117278620B - Configuration method and system of data plane forwarding rule of DPU - Google Patents

Configuration method and system of data plane forwarding rule of DPU Download PDF

Info

Publication number
CN117278620B
CN117278620B CN202311220906.XA CN202311220906A CN117278620B CN 117278620 B CN117278620 B CN 117278620B CN 202311220906 A CN202311220906 A CN 202311220906A CN 117278620 B CN117278620 B CN 117278620B
Authority
CN
China
Prior art keywords
target
service
event
dpu
forwarding rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311220906.XA
Other languages
Chinese (zh)
Other versions
CN117278620A (en
Inventor
梁坤荣
王绍坤
黄明亮
鄢贵海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yusur Technology Co ltd
Original Assignee
Yusur Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yusur Technology Co ltd filed Critical Yusur Technology Co ltd
Priority to CN202311220906.XA priority Critical patent/CN117278620B/en
Publication of CN117278620A publication Critical patent/CN117278620A/en
Application granted granted Critical
Publication of CN117278620B publication Critical patent/CN117278620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/109Integrated on microchip, e.g. switch-on-chip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/111Switch interfaces, e.g. port details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a configuration method and a system of a data plane forwarding rule of a DPU, wherein the method comprises the following steps: a service discovery component on the host side is called in real time to acquire a target event in target service on the host side, and a corresponding destination address and a corresponding destination port are generated based on the target event; and transmitting the destination address and the destination port to an executor in a system-on-chip preset in the DPU, so that the executor modifies a forwarding rule table in the system-on-chip preset based on the destination address and the destination port, judging whether current target service data in the system-on-chip is matched with the modified forwarding rule table, and if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container. The application can effectively reduce the configuration complexity of the DPU data plane data forwarding rule and effectively improve the flexibility of rule configuration.

Description

Configuration method and system of data plane forwarding rule of DPU
Technical Field
The present application relates to the field of data forwarding of a DPU, and in particular, to a method and a system for configuring a data plane forwarding rule of a DPU.
Background
In the scheme that the current service grid distributed agent is sunk to the DPU to be a centralized agent, the service grid data plane is sunk to the DPU Soc side from the Host side, and the distributed agent mode is converted into a centralized agent mode. In the original distributed proxy model, the form that one service container corresponds to one proxy does not need to be guided, and all traffic can be subjected to proxy acceleration without perception; and under the condition that the centralized proxy is one-to-many, the traffic to be accelerated needs to be guided to be accelerated, and the traffic to be guided to be accelerated on the DPU Soc side needs to be distinguished according to the corresponding forwarding rule to determine whether the proxy acceleration is needed.
The existing forwarding rules need manual configuration, and have high complexity and poor flexibility.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and a system for configuring a data plane forwarding rule of a DPU, so as to eliminate or improve one or more drawbacks existing in the prior art.
The first aspect of the present application provides a method for configuring a data plane forwarding rule based on a DPU, where the method includes:
A service discovery component on the host side is called in real time to acquire a target event in target service on the host side, and a corresponding destination address and a corresponding destination port are generated based on the target event;
and transmitting the destination address and the destination port to an executor in a system-on-chip preset in the DPU, so that the executor modifies a forwarding rule table in the system-on-chip preset based on the destination address and the destination port, judging whether current target service data in the system-on-chip is matched with the modified forwarding rule table, and if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container.
In some embodiments of the present application, the generating the corresponding destination address and destination port based on the target event includes:
And if the target event is a service adding event, calling the service discovery component to acquire a target address and a target port of a target service corresponding to the service adding event.
In some embodiments of the present application, the generating the corresponding destination address and destination port based on the target event includes:
And if the target event is a service deletion event, calling the service discovery component to acquire a target address and a target port of a target service corresponding to the service deletion event.
In some embodiments of the present application, the generating the corresponding destination address and destination port based on the target event includes:
And if the target event is a service update event and the destination address and the destination port of the target service corresponding to the service update event are modified, calling the service discovery component to acquire the modified destination address and destination port.
In some embodiments of the present application, before the issuing the destination address and the destination port to the actuator preset in the system-on-chip of the DPU, the method further includes:
establishing a heartbeat mechanism with the executor;
correspondingly, the issuing the destination address and the destination port to an actuator preset in a system on a chip of the DPU includes:
And judging whether the connection with the executor is kept based on the heartbeat mechanism, and if the connection is kept, issuing the destination address and the destination port to the executor.
The second aspect of the present application also provides a method for configuring a data plane forwarding rule based on a DPU, where the method includes:
Receiving a destination address and a destination port sent by a controller preset on a host side in real time, and modifying a forwarding rule table preset in the system-on-chip based on the destination address and the destination port; the controller calls a service discovery component on the host side in real time to acquire a target event in target service of the host side, and generates the target event based on the target event;
and judging whether the current target service data in the system-on-chip is matched with the modified forwarding rule table, if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container.
In some embodiments of the present application, 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 adding event, adding a destination address and a destination port of a target service corresponding to the service adding event into the forwarding rule table.
In some embodiments of the present application, the modifying the forwarding rule table preset in the system-on-chip based on the destination address and the destination port includes:
And if the target event is a service deletion event, deleting a target address and a target port of a target service corresponding to the service deletion event in the forwarding rule table.
In some embodiments of the present application, the modifying the forwarding rule table preset in the system-on-chip based on the destination address and the destination port includes:
and if the target event is a service update event and the destination address and the destination port of the target service corresponding to the service update event are modified, replacing the destination address and the destination port before modification by the modified destination address and destination port in the forwarding rule table.
A third aspect of the present application is a configuration system for a data plane forwarding rule based on a DPU, the system comprising: an actuator and a host-side controller respectively provided in a system-on-chip of the DPU;
the controller is configured to execute the configuration method of the data plane forwarding rule based on the DPU according to the first aspect; the controller is in communication connection with the actuator;
The executor is configured to execute the configuration method of the data plane forwarding rule based on the DPU according to the second aspect; the executor is respectively in communication connection with the controller, a data plane in the system-on-chip of the DPU and the forwarding rule table.
A fourth aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for configuring a data plane forwarding rule based on a DPU described in the first aspect or implements the method for configuring a data plane forwarding rule based on a DPU described in the second aspect when the processor executes the computer program.
A fifth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method for configuring a data plane forwarding rule based on a DPU described in the foregoing first aspect, or implements the method for configuring a data plane forwarding rule based on a DPU described in the foregoing second aspect.
The application provides a configuration method and a system of a data plane forwarding rule of a DPU, wherein the method comprises the following steps: a service discovery component on the host side is called in real time to acquire a target event in target service on the host side, and a corresponding destination address and a corresponding destination port are generated based on the target event; and transmitting the destination address and the destination port to an executor in a system-on-chip preset in the DPU, so that the executor modifies a forwarding rule table in the system-on-chip preset based on the destination address and the destination port, judging whether current target service data in the system-on-chip is matched with the modified forwarding rule table, and if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container. The application can effectively reduce the configuration complexity of the DPU data plane data forwarding rule and effectively improve the flexibility of rule configuration.
Additional advantages, objects, and features of the application will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
It will be appreciated by those skilled in the art that the objects and advantages that can be achieved with the present application are not limited to the above-described specific ones, and that the above and other objects that can be achieved with the present application will be more clearly understood from the following detailed description.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate and together with the description serve to explain the application. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the application. Corresponding parts in the drawings may be exaggerated, i.e. made larger relative to other parts in an exemplary device actually manufactured according to the present application, for convenience in showing and describing some parts of the present application. In the drawings:
Fig. 1 is a flow chart of a configuration method of a data plane forwarding rule based on a DPU performed by a controller according to an embodiment of the present application.
Fig. 2 is a flow chart of a configuration method of a data plane forwarding rule based on a DPU performed by an executor according to another embodiment of the present application.
Fig. 3 is a schematic diagram of an architecture for forwarding service data based on a forwarding rule table according to another embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following embodiments and the accompanying drawings, in order to make the objects, technical solutions and advantages of the present application more apparent. The exemplary embodiments of the present application and the descriptions thereof are used herein to explain the present application, but are not intended to limit the application.
It should be noted here that, in order to avoid obscuring the present application due to unnecessary details, only structures and/or processing steps closely related to the solution according to the present application are shown in the drawings, while other details not greatly related to the present application are omitted.
It should be emphasized that the term "comprises/comprising" when used herein is taken to specify the presence of stated features, elements, steps or components, but does not preclude the presence or addition of one or more other features, elements, steps or components.
It is also noted herein that the term "coupled" may refer to not only a direct connection, but also an indirect connection in which an intermediate is present, unless otherwise specified.
Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. In the drawings, the same reference numerals represent the same or similar components, or the same or similar steps.
The following examples are provided to illustrate the invention in more detail.
The embodiment of the application provides a first configuration method of a data plane forwarding rule based on a DPU, which can be executed by a controller, referring to fig. 1, and specifically includes the following contents:
Step 110: a service discovery component on the host side is called in real time to acquire a target event in target service on the host side, and a corresponding destination address and a corresponding destination port are generated based on the target event;
Step 120: and transmitting the destination address and the destination port to an executor in a system-on-chip preset in the DPU, so that the executor modifies a forwarding rule table in the system-on-chip preset based on the destination address and the destination port, judging whether current target service data in the system-on-chip is matched with the modified forwarding rule table, and if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container.
Specifically, referring to fig. 3, the controller (i.e., the controller instance in fig. 3) invokes, in real time, a Service discovery component (informer component corresponding to a Service resource or a Pod resource in the K8S container cluster) on the Host side (i.e., the cloud server node Host in fig. 3) to obtain a target event in a target Service (e.g., service-a, service-b, service-c in the figure) on the Host side, and generates a corresponding destination address and destination port based on the target event; and then, the destination address and the destination port are issued to an executor (i.e. the executor example in fig. 3) preset in the system-on-chip of the DPU, so that the executor modifies a forwarding rule table (i.e. the rule table in fig. 3) preset in the system-on-chip based on the destination address and the destination port, and judges whether the current target service data in the system-on-chip is matched with the modified forwarding rule table, if yes, a data plane (i.e. the centralized agent in fig. 3) in the system-on-chip is started to forward the target service data to a corresponding container, thereby effectively reducing the configuration complexity of the data forwarding rule of the data plane of the DPU and improving the flexibility of rule configuration.
Wherein Istio in fig. 3 represents the control plane, podA represents container a.
To further increase the flexibility of rule configuration, generating a corresponding destination address and destination port based on the target event in step 110 includes:
And if the target event is a service adding event, calling the service discovery component to acquire a target address and a target port of a target service corresponding to the service adding event.
Specifically, the controller calls informer the component to acquire the service adding event, and acquires the destination address and the destination port of the target service corresponding to the service adding event, so that the flexibility of rule configuration can be further improved.
The business adding event comprises an add event corresponding to a Service resource and a Pod resource, and the target business comprises the Service resource and the Pod resource.
To further increase the flexibility of rule configuration, generating a corresponding destination address and destination port based on the target event in step 110 includes:
And if the target event is a service deletion event, calling the service discovery component to acquire a target address and a target port of a target service corresponding to the service deletion event.
Specifically, the controller calls informer the component to obtain the service deletion event, delete the target service corresponding to the service deletion event, and simultaneously obtain the destination address and the destination port of the target service corresponding to the service addition event, so as to further delete the forwarding rule table in the system on chip, thereby further improving the flexibility of rule configuration.
The Service deletion event comprises delete events corresponding to Service resources and Pod resources.
To further increase the flexibility of rule configuration, generating a corresponding destination address and destination port based on the target event in step 110 includes:
And if the target event is a service update event and the destination address and the destination port of the target service corresponding to the service update event are modified, calling the service discovery component to acquire the modified destination address and destination port.
Specifically, the controller calls informer the component to acquire the service update event, update the target service corresponding to the service update event, and acquire the updated destination address and destination port of the target service corresponding to the service add event, so as to update the forwarding rule table in the system on chip, thereby further improving the flexibility of rule configuration.
The Service update event comprises update events corresponding to Service resources and Pod resources.
In order to ensure accuracy of rule issuing, before the issuing of the destination address and the destination port to an actuator preset in a system-on-chip of the DPU, the method further comprises:
establishing a heartbeat mechanism with the executor;
correspondingly, the issuing the destination address and the destination port to an actuator preset in a system on a chip of the DPU includes:
And judging whether the connection with the executor is kept based on the heartbeat mechanism, and if the connection is kept, issuing the destination address and the destination port to the executor.
Specifically, the controller firstly establishes a heartbeat mechanism with the executor, then judges whether the connection with the executor is kept based on the heartbeat mechanism, and if the connection is kept, the destination address and the destination port are issued to the executor, so that the accuracy of rule issuing can be effectively ensured.
The embodiment of the application also provides a second configuration method of the data plane forwarding rule based on the DPU, which can be executed by the executor, referring to fig. 2, specifically includes the following contents:
Step 210: receiving a destination address and a destination port sent by a controller preset on a host side in real time, and modifying a forwarding rule table preset in the system-on-chip based on the destination address and the destination port; and the controller calls a service discovery component on the host side in real time in advance to acquire a target event in target service of the host side, and generates the target event based on the target event.
Step 220: and judging whether the current target service data in the system-on-chip is matched with the modified forwarding rule table, if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container.
Specifically, the executor receives a destination address and a destination port sent by a controller preset on the host side in real time, and modifies a forwarding rule table preset in the system-on-chip based on the destination address and the destination port; and then judging whether the current target service data in the system-on-chip is matched with the modified forwarding rule table, if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container, thereby effectively reducing the configuration complexity of the data forwarding rule of the DPU data plane and simultaneously effectively improving the flexibility of rule configuration.
The method comprises the steps that a service discovery component on a host side is called in real time by a controller in advance, a target event in target service of the host side is obtained, and the target event is generated based on the target event.
To further improve flexibility of rule configuration, in step 210, the forwarding rule table preset in the system-on-chip is modified based on the destination address and the destination port, including:
If the target event is a service adding event, adding a destination address and a destination port of a target service corresponding to the service adding event into the forwarding rule table.
Specifically, if the target event is a service addition event, the executor adds the destination address and the destination port of the target service corresponding to the service addition event to the forwarding rule table, so that the flexibility of rule configuration can be further improved.
The business adding event comprises an add event corresponding to a Service resource and a Pod resource, and the target business comprises the Service resource and the Pod resource.
To further improve flexibility of rule configuration, in step 210, the forwarding rule table preset in the system-on-chip is modified based on the destination address and the destination port, including:
And if the target event is a service deletion event, deleting a target address and a target port of a target service corresponding to the service deletion event in the forwarding rule table.
Specifically, if the target event is a service deletion event, the executor deletes the destination address and the destination port of the target service corresponding to the service deletion event in the forwarding rule table, so that the flexibility of rule configuration can be further improved.
The Service deletion event comprises delete events corresponding to Service resources and Pod resources.
To further improve flexibility of rule configuration, in step 210, the forwarding rule table preset in the system-on-chip is modified based on the destination address and the destination port, including:
and if the target event is a service update event and the destination address and the destination port of the target service corresponding to the service update event are modified, replacing the destination address and the destination port before modification by the modified destination address and destination port in the forwarding rule table.
Specifically, if the target event is a service update event and there is modification to the destination address and the destination port of the target service corresponding to the service update event, the executor replaces the destination address and the destination port before modification with the modified destination address and destination port in the forwarding rule table, so that the flexibility of rule configuration can be further improved.
The Service update event comprises update events corresponding to Service resources and Pod resources.
Some embodiments of the present application further provide a configuration system for a data plane forwarding rule based on a DPU, where the system includes: an actuator and a host-side controller respectively provided in a system-on-chip of the DPU;
the controller is configured to execute the first configuration method of the data plane forwarding rule based on the DPU; the controller is in communication connection with the actuator;
The executor is configured to execute the second configuration method of the data plane forwarding rule based on the DPU; the executor is respectively in communication connection with the controller, a data plane in the system-on-chip of the DPU and the forwarding rule table.
The application provides a configuration method and a system of a data plane forwarding rule of a DPU, wherein the method comprises the following steps: a service discovery component on the host side is called in real time to acquire a target event in target service on the host side, and a corresponding destination address and a corresponding destination port are generated based on the target event; and transmitting the destination address and the destination port to an executor in a system-on-chip preset in the DPU, so that the executor modifies a forwarding rule table in the system-on-chip preset based on the destination address and the destination port, judging whether current target service data in the system-on-chip is matched with the modified forwarding rule table, and if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container. The application can effectively reduce the configuration complexity of the DPU data plane data forwarding rule and effectively improve the flexibility of rule configuration.
The embodiment of the application also provides an electronic device, such as a central server, which may include a processor, a memory, a receiver and a transmitter, where the processor is configured to execute the configuration method of the data plane forwarding rule based on the DPU mentioned in the foregoing embodiment, and the processor and the memory may be connected by a bus or other manners, for example, through a bus connection. The receiver may be connected to the processor, memory, by wire or wirelessly.
The processor may be a central processing unit (Central Processing Unit, CPU). The Processor may also be other general purpose processors, digital Signal Processors (DSP), application SPECIFIC INTEGRATED Circuits (ASIC), field-Programmable gate arrays (Field-Programmable GATEARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above.
The memory, as a non-transitory computer readable storage medium, may be used to store a non-transitory software program, a non-transitory computer executable program, and a module, such as program instructions/modules corresponding to a method for configuring a data plane forwarding rule based on a DPU in an embodiment of the present application. The processor executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory, i.e. the configuration method for implementing the DPU-based data plane forwarding rules in the above-described method embodiments.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created by the processor, etc. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory may optionally include memory located remotely from the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory that, when executed by the processor, perform the method of configuring DPU-based data plane forwarding rules in an embodiment.
In some embodiments of the present application, a user equipment may include a processor, a memory, and a transceiver unit, which may include a receiver and a transmitter, the processor, the memory, the receiver, and the transmitter may be connected by a bus system, the memory being configured to store computer instructions, the processor being configured to execute the computer instructions stored in the memory to control the transceiver unit to transmit and receive signals.
As an implementation manner, the functions of the receiver and the transmitter in the present application may be considered to be implemented by a transceiver circuit or a dedicated chip for transceiver, and the processor may be considered to be implemented by a dedicated processing chip, a processing circuit or a general-purpose chip.
As another implementation manner, a manner of using a general-purpose computer may be considered to implement the server provided by the embodiment of the present application. I.e. program code for implementing the functions of the processor, the receiver and the transmitter are stored in the memory, and the general purpose processor implements the functions of the processor, the receiver and the transmitter by executing the code in the memory.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the steps of the aforementioned configuration method of the data plane forwarding rule based on the DPU. The computer readable storage medium may be a tangible storage medium such as Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, floppy disks, hard disk, a removable memory disk, a CD-ROM, or any other form of storage medium known in the art.
Those of ordinary skill in the art will appreciate that the various illustrative components, systems, and methods described in connection with the embodiments disclosed herein can be implemented as hardware, software, or a combination of both. The particular implementation is hardware or software dependent on the specific application of the solution and the design constraints. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave.
It should be understood that the application is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. The method processes of the present application are not limited to the specific steps described and shown, but various changes, modifications and additions, or the order between steps may be made by those skilled in the art after appreciating the spirit of the present application.
In this disclosure, features that are described and/or illustrated with respect to one embodiment may be used in the same way or in a similar way in one or more other embodiments and/or in combination with or instead of the features of the other embodiments.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, and various modifications and variations can be made to the embodiments of the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for configuring a data plane forwarding rule of a DPU, comprising:
A controller preset on the host side calls a service discovery component on the host side in real time to acquire a target event in target service of the host side, and generates a corresponding destination address and a destination port based on the target event;
And judging whether the controller is connected with an executor in a system-on-chip of the DPU or not based on a heartbeat mechanism, if so, transmitting the destination address and the destination port to the executor in the system-on-chip of the DPU, so that the executor modifies a forwarding rule table in the system-on-chip based on the destination address and the destination port, judging whether current target service data in the system-on-chip is matched with the modified forwarding rule table, and if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container.
2. The method for configuring the data plane forwarding rule of the DPU as claimed in claim 1, wherein said generating the corresponding destination address and destination port based on the target event comprises:
And if the target event is a service adding event, calling the service discovery component to acquire a target address and a target port of a target service corresponding to the service adding event.
3. The method for configuring the data plane forwarding rule of the DPU as claimed in claim 1, wherein said generating the corresponding destination address and destination port based on the target event comprises:
And if the target event is a service deletion event, calling the service discovery component to acquire a target address and a target port of a target service corresponding to the service deletion event.
4. The method for configuring the data plane forwarding rule of the DPU as claimed in claim 1, wherein said generating the corresponding destination address and destination port based on the target event comprises:
And if the target event is a service update event and the destination address and the destination port of the target service corresponding to the service update event are modified, calling the service discovery component to acquire the modified destination address and destination port.
5. The method for configuring a data plane forwarding rule of a DPU according to claim 1, further comprising, before said issuing the destination address and the destination port to an executor preset in a system-on-chip of the DPU:
and establishing a heartbeat mechanism with the executor.
6. A method for configuring a data plane forwarding rule of a DPU, comprising:
Receiving a destination address and a destination port sent by a controller preset on a host side in real time, and modifying a forwarding rule table preset in a system-on-chip based on the destination address and the destination port; the controller calls a service discovery component on the host side in real time to acquire a target event in target service of the host side, and generates the target event based on the target event;
and judging whether the current target service data in the system-on-chip is matched with the modified forwarding rule table, if so, starting a data plane in the system-on-chip to forward the target service data to a corresponding container.
7. The method for configuring the forwarding rules of the data plane of the DPU as claimed in claim 6, wherein said modifying the forwarding rules table preset in the system-on-chip based on the destination address and the destination port comprises:
If the target event is a service adding event, adding a destination address and a destination port of a target service corresponding to the service adding event into the forwarding rule table.
8. The method for configuring the forwarding rules of the data plane of the DPU as claimed in claim 6, wherein said modifying the forwarding rules table preset in the system-on-chip based on the destination address and the destination port comprises:
And if the target event is a service deletion event, deleting a target address and a target port of a target service corresponding to the service deletion event in the forwarding rule table.
9. The method for configuring the forwarding rules of the data plane of the DPU as claimed in claim 6, wherein said modifying the forwarding rules table preset in the system-on-chip based on the destination address and the destination port comprises:
and if the target event is a service update event and the destination address and the destination port of the target service corresponding to the service update event are modified, replacing the destination address and the destination port before modification by the modified destination address and destination port in the forwarding rule table.
10. A system for configuring data plane forwarding rules of a DPU, comprising: an actuator and a host-side controller respectively provided in a system-on-chip of the DPU;
the controller is configured 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 is in communication connection with the actuator;
The executor is configured to execute the configuration method of the data plane forwarding rule of the DPU according to any one of claims 6 to 9; the executor is respectively in communication connection with the controller, a data plane in the system-on-chip of the DPU and the forwarding rule table.
CN202311220906.XA 2023-09-21 2023-09-21 Configuration method and system of data plane forwarding rule of DPU Active CN117278620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311220906.XA CN117278620B (en) 2023-09-21 2023-09-21 Configuration method and system of data plane forwarding rule of DPU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311220906.XA CN117278620B (en) 2023-09-21 2023-09-21 Configuration method and system of data plane forwarding rule of DPU

Publications (2)

Publication Number Publication Date
CN117278620A CN117278620A (en) 2023-12-22
CN117278620B true CN117278620B (en) 2024-10-18

Family

ID=89200235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311220906.XA Active CN117278620B (en) 2023-09-21 2023-09-21 Configuration method and system of data plane forwarding rule of DPU

Country Status (1)

Country Link
CN (1) CN117278620B (en)

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BE791843A (en) * 1971-11-24 1973-05-24 Gte Automatic Electric Lab Inc ASSEMBLY FOR SUBSCRIBER AND PRE-PAYMENT DETECTION IN A TELEPHONE SWITCHING SYSTEM
KR100319741B1 (en) * 1998-10-28 2002-02-19 오길록 A parallel address control method between data memory banks
US7339903B2 (en) * 2001-06-14 2008-03-04 Qualcomm Incorporated Enabling foreign network multicasting for a roaming mobile node, in a foreign network, using a persistent address
KR101212131B1 (en) * 2006-03-08 2012-12-13 에스케이텔레콤 주식회사 Method And System for Providing Address Modification Service by Using Short Message Service
US9141942B2 (en) * 2012-09-05 2015-09-22 International Business Machines Corporation Event scheduler based on real-time analytics and business rules
US10042635B2 (en) * 2015-06-16 2018-08-07 Lear Corporation Method for wireless remote updating vehicle software
CN105991444B (en) * 2015-08-06 2019-05-07 杭州迪普科技股份有限公司 The method and apparatus of business processing
CN106254235B (en) * 2016-07-27 2020-02-14 上海华为技术有限公司 Load sharing method and equipment
CN111143408B (en) * 2019-11-25 2023-08-22 泰康保险集团股份有限公司 Event processing method and device based on business rule
CN111914194B (en) * 2020-07-02 2021-09-17 网联清算有限公司 Business system changing method and device, electronic equipment and storage medium
CN114079634B (en) * 2020-08-21 2024-03-12 深圳市中兴微电子技术有限公司 Message forwarding method and device and computer readable storage medium
US11394686B1 (en) * 2021-02-25 2022-07-19 Nvidia Corporation Dynamic network address translation using prediction
CN115347966A (en) * 2021-05-12 2022-11-15 华为技术有限公司 Message transmission method, device, equipment and storage medium
US20210326270A1 (en) * 2021-06-26 2021-10-21 Intel Corporation Address translation at a target network interface device
CN114745255B (en) * 2022-04-12 2023-11-10 深圳星云智联科技有限公司 Hardware chip, DPU, server, communication method and related device
CN115469833A (en) * 2022-07-29 2022-12-13 天翼云科技有限公司 Method and device for implementing dynamic rule engine, electronic equipment and storage medium
CN115442366A (en) * 2022-08-01 2022-12-06 中科驭数(北京)科技有限公司 Message forwarding method, device, equipment and medium
CN116301845A (en) * 2023-01-10 2023-06-23 长城汽车股份有限公司 Form generation method and device and electronic equipment
CN116431328A (en) * 2023-03-06 2023-07-14 芯启源(南京)半导体科技有限公司 Millions-level flow table speed construction system, method, medium and DPU processing device
CN116488987A (en) * 2023-03-29 2023-07-25 深圳艾灵网络有限公司 Method, device, electronic equipment and storage medium for realizing data distribution service
CN116414563A (en) * 2023-04-10 2023-07-11 阿里巴巴(中国)有限公司 Memory control device, cache consistency system and cache consistency method
CN116647520A (en) * 2023-05-30 2023-08-25 南京航空航天大学 A network forwarding system and method for delay-sensitive services in a network function virtualization scenario

Also Published As

Publication number Publication date
CN117278620A (en) 2023-12-22

Similar Documents

Publication Publication Date Title
EP4188029A1 (en) Computing task processing method, communication device and wireless network architecture
JP6730511B2 (en) Network policy update trigger method, management entity and core network device
WO2018233674A1 (en) Communication mode switching method and network side device and terminal device
CN111177112A (en) Database blocking method and device based on operation and maintenance management system and electronic equipment
US20240313851A1 (en) Method and device for determining satellite link information
CN113873680B (en) Session management method, session management function network element and storage medium
CN116886497B (en) Service grid business centralized proxy switching method and processing system based on DPU
CN112584437A (en) Data distribution method and device
CN117194039A (en) K8S drive integrated system, request processing method, device and storage medium
CN117240923A (en) Network resource dynamic adjustment method and device for DPU application
WO2020192473A1 (en) Unmanned aerial vehicle control method and related apparatus
CN112407326A (en) Unmanned aerial vehicle system fault diagnosis method and device, electronic equipment and storage medium
CN113791792B (en) Method, device and storage medium for acquiring application call information
CN117278620B (en) Configuration method and system of data plane forwarding rule of DPU
CN117061338B (en) Service grid data processing method, device and system based on multiple network cards
US10034166B1 (en) Apparatus and method of local profile assistant eUICC logging
AU2020246484B2 (en) Terminal management and control method, apparatus, and system
US10904746B2 (en) Implementation method, apparatus and system for remote access
WO2021163901A1 (en) Session processing method and apparatus therefor
CN107872479B (en) Cloud management platform and controller integration method and system and related modules
US20240080751A1 (en) Exchange method and apparatus for multi-subscriber identification module characteristic information, and communication device
US20220083485A1 (en) Data frame interface network device
CN108259527B (en) Proxy-based service processing method and device and network element equipment
CN103561134B (en) Message transmitting method and system
CN117435420A (en) DPU-based data plane log acquisition method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant