Message transmission method and device, electronic equipment and storage medium
By separating the message forwarding business from the main thread to the working thread in VPP, the problem of busy main thread affecting message transmission is solved, and the transmission rate of the forwarding plane and control plane channels and the processing capacity of the main thread are improved.
Patent Information
- Application Number
- CN202311665705.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-06
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-12-06
AI Technical Summary
In the computing network, when the main thread of VPP processes data packet forwarding and control message events at the same time, the main thread is busy and affects the packet transmission rate of the forwarding plane and control plane channels.
By separating the message forwarding business from the main thread to the working thread, the main thread focuses on processing control plane related services, such as the issuance of routing rules, ensuring that message transmission is not affected by the busy main thread, and monitoring the system kernel through event-triggered nodes. The data packet is forwarded.
It improves the packet transmission rate between the forwarding plane and the control plane channel, alleviates the congestion of the main thread, and improves the high availability of the overall architecture.
Smart Images

Figure CN118827652A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of message processing, and in particular to a method, device, electronic device and storage medium for transmitting messages. Background Art
[0002] In the context of the new concept of computing power network, computing is the center, network is the foundation, and the computing network base is crucial. The computing network base needs to have not only forwarding capabilities, but also high-performance routing interaction capabilities. In the computing network, VPP (Vector Packet Processing) can be used as the forwarding plane of the LINUX kernel to realize message forwarding. Among them, VPP only has forwarding plane functions and does not have control plane functions such as routing protocols. The control plane routing protocol is determined by the open source routing protocol stack FRR (Fast Reroute). The VPPSB (VPP SandBox) component is usually used to realize the connection between VPP and FRR, thereby realizing the sending, receiving and processing of data messages in the forwarding plane and control plane channels.
[0003] During the message forwarding process, the main thread of VPP simultaneously schedules the command line processing process, schedules the routing issuance and other control message processes, and multiple worker threads of VPP are used to process the packet receiving and sending process of the network port. However, there is only one main thread, which not only needs to handle the forwarding of data messages, but also needs to handle various control message events. Therefore, when the main thread handles many control message events at the same time, it will cause the main thread to be busy or even congested, which will inevitably affect the data message sending and receiving rate of the main thread and reduce the message transmission rate between the forwarding plane and the control plane channel. Summary of the invention
[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for transmitting a message, which can improve the message transmission rate between the forwarding plane and the control plane channel.
[0005] In a first aspect, an embodiment of the present application provides a method for transmitting a message, which is applied to a vector packet processing engine VPP, and the method includes: when the VPP receives a data message, sending the data message to a system kernel through a first working thread, so that the system kernel processes the data message, and / or forwarding the data message to a control plane device, and the control plane device processes the data message to obtain a target data message; when it is determined that the monitoring mode for monitoring the target data message is the first monitoring mode, calling a first event triggering node through a second working thread, so that the first event triggering node monitors the system kernel; in the first event triggering node When the point monitors the target data message in the system kernel, the message receiving node registered in the first event trigger node is called to enable the message receiving node to extract the target data message from the system kernel; at least one data forwarding node is called through the second working thread, and the target data message is forwarded to the device corresponding to the target network port through at least one data forwarding node, wherein the target network port is determined by the routing rule issued by the routing issuing node called by the main thread, the routing issuing node is a node registered in the second event trigger node corresponding to the main thread, and the second event trigger node is used to listen to the routing issuing request.
[0006] In a second aspect, an embodiment of the present application provides a device for transmitting a message, which is applied to a vector packet processing engine VPP, and the device includes: a first message processing module, which is used to send the data message to the system kernel through a first working thread when the VPP receives a data message, so that the system kernel processes the data message, and / or forwards the data message to a control plane device, and the control plane device processes the data message to obtain a target data message; a first node calling module, which is used to call a first event triggering node through a second working thread when determining that the monitoring mode of monitoring the target data message is the first monitoring mode, so that the first event triggering node monitors the system kernel; a second node calling module A block is used to call the message receiving node registered in the first event trigger node when the first event trigger node monitors the target data message in the system kernel, so that the message receiving node extracts the target data message from the system kernel; a message forwarding module is used to call at least one data forwarding node through the second working thread, and forward the target data message to the device corresponding to the target network port through at least one data forwarding node, wherein the target network port is determined by the routing rule issued by the routing issuing node called by the main thread, the routing issuing node is a node registered in the second event trigger node corresponding to the main thread, and the second event trigger node is used to monitor the routing issuing request.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method for transmitting a message as described in the first aspect is implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the method for transmitting a message as described in the first aspect is implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method for transmitting a message as described in the first aspect.
[0010] From the above content, it can be seen that this application separates the services related to message forwarding from the services of the main thread and completes them by the working thread, so that the main thread can only handle services related to the control plane, such as the issuance of routing rules. Therefore, even if the main thread is busy, it will not affect the message transmission of the working thread, thereby improving the message transmission rate. In addition, since the message forwarding service of the main thread is completed by the working thread, the main thread can concentrate on handling services related to the control plane, thereby alleviating the congestion of the main thread. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0012] Figure 1 It is a flow chart of forwarding data packets in the related art;
[0013] Figure 2 It is a schematic diagram of the architecture of a method for transmitting a message provided by an embodiment of the present application;
[0014] Figure 3 It is a flowchart of a method for transmitting a message provided by an embodiment of the present application;
[0015] Figure 4 It is a flowchart of message processing between the forwarding plane and the control plane provided by an embodiment of the present application;
[0016] Figure 5 This is a flowchart of a worker thread calling a node in a VPP provided by an embodiment of the present application;
[0017] Figure 6 It is a structural schematic diagram of a device for transmitting a message provided by another embodiment of the present application;
[0018] Figure 7 It is a structural schematic diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0019] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0020] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0021] For ease of understanding, before explaining the solution provided in the present application, the professional terms that may be used in the embodiments of the present application are first explained.
[0022] (1) VPP (Vector Packet Processing) is an extensible framework that provides production-quality switch / router functions out of the box.
[0023] (2) FRR (Fast Reroute) is a routing suite that implements all standard routing protocols, such as BGP (Border Gateway Protocol), RIP (Routing Information Protocol), OSPF (Open Shortest Path First), IS-IS (Intermediate System to Intermediate System), and their extensions.
[0024] (3) tap-inject. tap is the tap port in the Linux kernel, and inject means injection. In the VPP open source framework, the message and routing interaction between the forwarding plane and the control plane is achieved by injecting traffic into the tap port in the user state to realize the interaction between the user state and the kernel state. In the VPP framework, each functional node on the pipeline is implemented in a node manner, and the work of injecting traffic into the tap port is completed by the nodes related to tap-inject.
[0025] (4) IPv4 (Internet Protocol version 4), also known as the fourth version of the Internet Communication Protocol, is the fourth revised version in the development process of the Internet Protocol.
[0026] (5) Linux kernel: Linux is an open source computer operating system kernel written in C language and is a Unix-like operating system that complies with the POSIX (Portable Operating System Interface) standard.
[0027] The following is an explanation of the concept of the solution provided in this application.
[0028] In the related art, when using the existing VPP node scheduling framework to realize the transmission of data packets, the main thread is used to simultaneously schedule the command line processing process and the process of control messages such as routing issuance, and multiple worker threads are used to process the packet receiving and sending process of the interface or network port. In the VPP node scheduling framework, there is only one main thread, which is used to implement the control plane process, that is, processing command lines, routing, etc.; and there are multiple worker threads, which are used to process the data plane process, for example, the message processing process (such as forwarding of data packets). The main thread and the worker thread work independently and do not affect each other.
[0029] In the node scheduling framework of VPP, data message forwarding is achieved by scheduling nodes, that is, the message forwarding pipeline can be decomposed into a process in which multiple nodes perform pipeline operations. For example, a data message enters the network card and first passes through the dpdk-input node, then enters the ethernet-input node for link layer message processing, then enters the IP layer through the ip-input node, and finally enters the xxx-output and xxx-tx nodes and is forwarded from the network port.
[0030] In addition, from the above content, it can be seen that VPP is a scheduling framework in which a main thread and multiple worker threads operate in parallel. The main thread is used to implement control message processing and node scheduling, and the worker thread is used for data plane pipeline packet processing and node scheduling. It should be noted that there are four main types of nodes in VPP, namely internal type, input type, pre-input type and process type. The internal type node is used to process data packets; the input type node (for example, dpdk-input node) is used to receive data packets; the pre-input type node is used to monitor trigger events, such as epoll nodes, which are called by the main thread, and various nodes (for example, nodes that receive data packets) are registered in the epoll node. When VPP receives a message from the command line or other control messages, epoll is awakened, and each node registered in epoll can execute its corresponding event, for example, reading data packets from the system kernel.
[0031] Building a complete system with router functions requires a control plane software that can implement the routing protocol (for example, FRR software), and VPPSB can serve as a bridge between the two, allowing VPP and the Linux kernel to connect, while FRR also directly operates the kernel. Therefore, routing protocol packets can be sent to the Linux kernel protocol stack through FRR, and the Linux kernel protocol stack is sent to VPP through VPPSB.
[0032] It can be seen that the node tap-inject-rx used to connect the forwarding plane and the control plane interaction messages in VPPSB is an input type node, which has the same nature as the dpdk-input node. Among them, dpdk-input receives data packets from the network port, and the tap-inject-rx node receives data packets from the system kernel. The tap-inject-rx node is registered on the epoll node, and the epoll node is scheduled by the main thread. Therefore, the process of receiving data packets by the tap-inject-rx node is also scheduled by the main thread. In the forwarding pipeline of VPP, message processing is performed in the working thread, and the tap-inject-rx node receives data packets from the system kernel or control plane through the scheduling of the main thread.
[0033] Specifically, Figure 1 The forwarding process of the data message in the related technology shown in FIG. Figure 1In the process, after the data message comes in from the network port, it enters the processing flow of VPP. First, the dpdk-input node is called by worker thread 1 to process the data message. After a series of processing, if the internal logic determines that the data message needs to be sent to the control plane or the Linux kernel, it enters the ip4-local node and then enters the tap-inject-tx node. The tap-inject-tx node sends the data message in the VPP pipeline to the Linux kernel, which is then processed by the Linux kernel and sent to the control plane, which processes the data message. After the control plane completes the processing of the data message, the system kernel sends it to VPP through the tap port. The main thread receives the data message from the Linux kernel by calling the tap-inject-rx node, and then enters the pipeline of VPP, passes through the xxx-output node and the xxx-tx node, and finally sends the data message out from a certain network port.
[0034] It is easy to notice that Figure 1 It can be seen that the tap-inject-rx node and a series of subsequent nodes in the VPP pipeline are scheduled by the main thread. Among them, the tap-inject-rx node is registered in the epoll node, and the epoll node is only scheduled by the main thread. The worker thread (such as Figure 1 The worker thread 1) in the main thread only sends and receives data packets, and is not responsible for the processing work at the control level. Moreover, the epoll node not only responds to the trigger event corresponding to the tap-inject-rx node, but also needs to respond to the processing time of various control command lines registered in the epoll node, and also needs to handle the routing distribution task. Therefore, when the epoll node in the main thread continuously responds to events related to control messages, it will cause the main thread to be busy, thereby affecting the performance of the tap-inject-rx node in processing data packets.
[0035] In order to solve the above problems and improve the processing performance of data messages, an embodiment of the present application provides a solution for separating the epoll node from the main thread to the working thread. The solution adds a new epoll node and calls the newly added epoll node through the working thread. At the same time, the tap-inject-rx node is registered with the newly added epoll node, so that the work of receiving data messages by the tap-inject-rx node can be separated into a clean working thread, so that the main thread only responds to control message events, and the main thread and the working thread have a clear division of labor, thereby improving the high availability of the overall VPP architecture.
[0036] Figure 2 The structure diagram corresponding to the method for transmitting a message provided in an embodiment of the present application is shown. Figure 2 It can be seen that in the embodiment of the present application, a working thread (such as Figure 2 Worker thread 2 in the worker thread, start a new epoll node on the worker thread (such as Figure 2 At the same time, the tap-inject-rx node is registered with the epoll-worker, so that in the process of transmitting data packets, the epoll-worker node can be scheduled by the worker thread 1. Each time there is a data packet from the control plane, the epoll-worker node will be triggered, and then the packet receiving callback function corresponding to the tap-inject-rx node registered on the epoll-worker node will be triggered, so that the tap-inject-rx node can extract the data packet from the system kernel and then perform subsequent processing.
[0037] like Figure 2 As shown in the figure, after the epoll-worker node is separated from the main thread, the epoll-worker node, tap-inject-rx node, and subsequent xxx-output, xxx-tx and other nodes are all scheduled and processed by the worker thread 2, and are completely separated from the main thread. Therefore, even if the main thread is busy, it will not affect the worker thread 2, thereby ensuring that the interactive performance of the channel traffic between the forwarding plane and the control plane will not be affected.
[0038] Figure 3 FIG. 1 is a flow chart of a method for transmitting a message provided in an embodiment of the present application, which method can be applied to a vector packet processing engine VPP. Figure 3 As shown, the method comprises the following steps:
[0039] Step S301: When the VPP receives a data message, the data message is sent to the system kernel through the first working thread, so that the system kernel processes the data message, and / or the data message is forwarded to the control plane device, and the control plane device processes the data message to obtain the target data message.
[0040] As an example, in Figure 2 In the process of VPP, when the data message enters the processing flow of VPP from the network port, the worker thread 1 forwards the data message to the Linux kernel by calling the dpdk-input node, the ip-local node, the tap-inject-tx node, etc., so that the Linux kernel can process the data message, for example, parse the data message; in addition, the Linux kernel can also forward the data message to the device corresponding to the control plane (i.e., the control plane device), and the control plane device processes the data message accordingly.
[0041] Step S302: When it is determined that the monitoring mode for monitoring the target data message is the first monitoring mode, the first event triggering node is called through the second working thread, so that the first event triggering node monitors the system kernel.
[0042] In step S302, the second working thread is different from the first working thread. In an embodiment of the present application, the second working thread is used to extract data packets from the system kernel and forward the data packets to the target network port, that is, the second working thread is used to process the message transmission work originally to be completed by the main thread, that is, in an embodiment of the present application, the main thread does not need to process the work related to message transmission, but only needs to process the work related to control information.
[0043] In addition, in step S302, the first monitoring method is to use the second working thread to handle the message transmission work. In the first monitoring method, the second working thread can monitor the system kernel by calling the first event trigger node. When it is monitored that the system kernel generates or forwards the target data message, the first event trigger node can wake up other nodes related to the message transmission, and the other nodes complete the message transmission.
[0044] As an example, when VPP is initially started, VPP can read its corresponding configuration file and determine the specific monitoring mode by detecting whether there is a target field in the configuration file. When the monitoring mode is determined to be the first monitoring mode, such as Figure 2 As shown, the configuration file can be used to determine the working thread that calls the first event triggering node, and start the working thread (ie, the second working thread), such as Figure 2 Then, the worker thread 2 calls the first event triggering node epoll-worker node to monitor the system kernel.
[0045] Step S303, when the first event triggering node monitors the target data message in the system kernel, the message receiving node registered in the first event triggering node is called to enable the message receiving node to extract the target data message from the system kernel.
[0046] In step S303, after the message receiving node completes registration in the first event triggering node, that is, after the file descriptor of the message receiving event corresponding to the message receiving node is added to the first event triggering node, the first event triggering node will monitor the message receiving event, so that after the first event triggering node monitors that the system kernel has generated the target data message, the first event triggering node will wake up the message receiving node, and then the message receiving node will obtain the target data message from the system kernel. Figure 2In the example, when the epoll-worker node monitors that the system kernel generates a target data message, the epoll-worker node wakes up the message receiving node, that is, the tap-inject-rx node, so that the tap-inject-rx node can receive the target data message in the system kernel.
[0047] As an example, Figure 4 The flow chart of message processing between the forwarding plane and the control plane is shown as Figure 4 As shown, in VPPSB, the tap-inject node is used to generate data related to data messages, and the rtnl node is used to generate data related to routing messages. VPPSB generates a socket message, i.e., a message, based on the above two types of data. The message receiving event split fd is triggered based on the socket message. In VPP, when VPP is started, the main thread vlib-main is started, and the control scheduling node dispatch_node is started at the same time to schedule the split_epoll_unix_input node (i.e., the first event triggering node) to monitor the message receiving event split fd. When the split_epoll_unix_input node detects the message receiving event split fd, the message receiving node tap-inject-rx can be scheduled through the scheduling node dispatch_node to enable the tap-inject-rx node to receive the socket message.
[0048] In the above process, the tap-inject-rx node registers its corresponding message receiving event split fd to the split_epoll_unix_input node, and then schedules the tap-inject-rx node through the core scheduling process corresponding to dispatch_node to receive the data packet message (that is, the above-mentioned socket message) from the system kernel.
[0049] As an example, the structure of the above event split fd can be extern clib_file_main_tsplit_file_main;
[0050] The registration of split fd can be achieved through the following code:
[0051] clib_file_del(&split_file_main,split_file_main.file_pool+clib_file_index); / / Close registration
[0052] clib_file_add(&split_file_main,&template); / / Register
[0053] Among them, split_file_main is the split fd registered by tap-inject-rx.
[0054] Step S304: call at least one data forwarding node through the second working thread, and forward the target data message to the device corresponding to the target network port through the at least one data forwarding node.
[0055] In step S304, the target network port is determined by the routing rule issued by the routing issuing node called by the main thread. The routing issuing node is a node registered in the second event triggering node corresponding to the main thread. The second event triggering node is used to monitor the routing issuing request. As an example, the second event triggering node can be Figure 2 The epoll node in the main thread, that is, in an embodiment of the present application, the triggering task of the message event originally handled by the epoll node in the main thread is implemented by the newly added epoll-worker node scheduled by the worker thread, and the epoll node in the main thread is only used to implement control-related tasks (for example, routing delivery tasks), that is, the work of the control plane is separated from the message transmission work and is handled by different epoll nodes, so that when the epoll node in the main thread is busy, it will not affect the transmission rate of the data message.
[0056] In addition, in step S304, at least one data forwarding node called by the second working thread is a node registered in the first event triggering node, for example, Figure 2 In the embodiment, at least one data forwarding node may include an xxx-output node and an xxx-tx node, which are all registered in the epoll-worker node, so that the epoll-worker node monitors the events corresponding to the xxx-output node and the xxx-tx node. When the event corresponding to the xxx-output node and the xxx-tx node is detected to be triggered, the epoll-worker node may wake up the xxx-output node and the xxx-tx node to enable the xxx-output node and the xxx-tx node to complete the corresponding tasks.
[0057] Based on the scheme defined in the above steps S301 to S304, it can be known that the present application separates the services related to message forwarding from the services of the main thread and performs them by the working thread, so that the main thread can only process services related to the control plane, such as the delivery of routing rules. Therefore, even if the main thread is busy, it will not affect the message transmission of the working thread, thereby improving the message transmission rate. In addition, since the message forwarding service of the main thread is completed by the working thread, the main thread can concentrate on processing services related to the control plane, thereby alleviating the congestion of the main thread.
[0058] It should be noted that, from the scheme defined by the above steps S301 to S304, it can be known that when the monitoring mode of monitoring the target data message is the first monitoring mode, the first event trigger node is called by the second working thread to realize the transmission of the data message; when the monitoring mode of monitoring the target data message is the first monitoring mode, the main thread can be used to call the second event trigger node to realize the transmission of the data message.
[0059] Specifically, the main thread calls the second event trigger node to enable the event trigger node to monitor the system kernel; and when the second event trigger node monitors the target data message in the system kernel, the target message receiving node registered in the second event trigger node is called to enable the target message receiving node to extract the target data message from the system kernel; and then the main thread calls at least one target data forwarding node registered in the second event trigger node, and forwards the target data message to the device corresponding to the target network port through at least one target data forwarding node.
[0060] From the above content, it can be seen that after determining the monitoring method of the target data message, the corresponding monitoring method can be used to monitor the target data message. In actual applications, users can select a specific monitoring method according to the busyness of the control channel between the forwarding plane and the control plane. For example, when the control channel between the forwarding plane and the control plane is relatively busy, the first monitoring method can be used to monitor the target data message in the system kernel; and when the control channel is relatively idle, the second monitoring method can be used to monitor the target data message in the system kernel.
[0061] As an example, the busyness of the control channel can be determined based on the ratio of the number of routing messages and control plane messages in the control channel to the number of all messages in the control channel. For example, when the ratio of the number of routing messages and control plane messages to the total number of messages in the control channel is greater than a preset ratio, it is determined that the control channel is in a busy state; otherwise, it is determined that the control channel is in an idle state.
[0062] Furthermore, in actual applications, VPP can determine the monitoring mode of the target data message by detecting whether there is a target field in the configuration file. Specifically, when the target field exists in the configuration file, the monitoring mode is determined to be the first monitoring mode; when the target field does not exist in the configuration file, the monitoring mode is determined to be the second monitoring mode. Among them, the above-mentioned first monitoring mode is a mode in which the node monitors the system kernel through the first event triggering node, and the second monitoring mode is a mode in which the node monitors the system kernel through the second event triggering node.
[0063] It should be noted that, in order to increase flexibility and select the required monitoring mode from the above two monitoring modes, the embodiment of the present application adds an epoll-worker field (ie, target field) to the unix field of the configuration file (startup.conf), and the configuration file can be as follows:
[0064]
[0065]
[0066] It should be noted that the epoll-worker field in the configuration file is used to indicate the specific method used for the socket communication between the tap-inject node and the VPP, that is, whether the main thread transmits the message or the worker thread transmits the message. A new global variable can be added to the program script corresponding to the VPP: int tap_inject_epoll_worker. When the VPP detects the epoll-worker field from the configuration file, the global variable tap_inject_epoll_worker is set to 1. At the same time, in the socket interaction between the tap-inject and rtnl nodes, the tap-inject node (for example, the tap-inject-rx node) is registered to the epoll-worker node. In this way, the configuration file can determine whether to use the solution of separating the monitoring task of the message trigger event corresponding to the epoll node into the worker thread, and the worker thread completes the message transmission. This method does not affect the original process.
[0067] In another example, the configuration file also includes the association relationship between thread indexes corresponding to multiple working threads and multiple event triggering nodes, wherein different working threads process different message events, and message events may include routing message events and control plane message events. The routing message event is the event corresponding to the above-mentioned transmission message, and the control plane message event is a related event for processing the control plane message.
[0068] Specifically, in the process of configuring the configuration file corresponding to the VPP, firstly, an association relationship between thread indexes corresponding to multiple working threads and multiple event triggering nodes is constructed, a target field is added to the configuration file, and the configuration file is configured based on the association relationship between thread indexes corresponding to the multiple working threads and multiple event triggering nodes.
[0069] It should be noted that in the configuration file, only one thread index and one event triggering node can be configured as the association relationship. For example, in the configuration file, the thread index corresponding to the routing message event is configured as 0. When VPP reads the configuration file and detects the target field epoll-worker in the configuration file, the epoll-worker node is automatically called through the worker thread. Alternatively, since there is only one message event, the corresponding worker thread schedules the node corresponding to the message event by default. Therefore, in this scenario, the event triggering node may not be associated with the worker thread.
[0070] In addition, by Figure 2 It can be seen that in worker thread 2, the tap-inject-rx node is used to process routing messages, and there will be other control plane messages in the future, for example, L2TP (Layer 2Tunneling Protocol), IPSEC (Internet Protocol Security) control plane messages, each control plane message corresponds to a control plane message event, and each control plane message event can be connected by an epoll-worker, that is, in an embodiment of the present application, the work related to the control plane message completed by the epoll node scheduled by the main thread can be separated from the epoll node and completed by the newly added epoll-worker, wherein different worker threads can process different control plane message events by scheduling different epoll-worker nodes. When the number of worker threads (determined by the number of CPU cores) is large enough, an epoll-worker node can be added for each worker thread to facilitate subsequent expansion, thereby greatly reducing the workload of the epoll node in the main thread.
[0071] As an example, for each worker thread, when naming the event trigger node corresponding to the worker thread, the name and thread_index (core num) can be matched, for example, epoll_worker_0, epoll_worker_1, so that the worker can determine which worker thread schedules the event trigger node by the name of the event trigger node, for example, epoll_worker_0 means that it is scheduled by worker thread 0. The corresponding relationship between each event trigger node and the worker thread is as follows:
[0072]
[0073]
[0074] However, the definition of nodes is a static process, and the definition of nodes cannot be determined by dynamically reading the configuration file. In the embodiment of the present application, during the VPP initialization process, the number of epoll-worker nodes is determined. For example, in the above configuration file, there are epoller-worker nodes corresponding to four events such as router, L2TP, IPSEC, and XXX; then N (for example, 4) nodes are statically defined, and the information obtained from the configuration file is used to determine how many nodes to register when registering the nodes. Since the reading of the configuration file is prior to the processing of node registration, the above method can make the registration of each control plane service node corresponding to the epoll-worker simpler and more efficient.
[0075] In actual applications, after VPP is started, the configuration file is read to determine the number of event trigger nodes to be configured. Then, the event trigger node needs to be created and the message event is registered in the created event trigger node to register the nodes related to the message event in the event trigger node.
[0076] Specifically, first, the association relationship between the thread indexes corresponding to the multiple working threads and the multiple event trigger nodes is read from the configuration file, and then, based on the association relationship between the thread indexes corresponding to the multiple working threads and the multiple event trigger nodes, multiple event trigger nodes are created, and the message events corresponding to each event trigger node are registered in each event trigger node, so that the event trigger node can monitor the corresponding message events.
[0077] It should be noted that each of the above-mentioned working threads is used to call a node that executes a corresponding message event, and the message events corresponding to the multiple working threads include at least a routing message event and a control plane message event.
[0078] Specifically, in the process of registering a message event in the corresponding event trigger node, a target memory is allocated for the message event node corresponding to the target message event in the target event trigger node through the node initialization function; then, a target message event is created for the message event node in the target memory, and a file descriptor corresponding to the target message event is obtained; finally, the file descriptor corresponding to the target message event is added to the listening list corresponding to the target event trigger node, so that after the VPP is started, the target event trigger node can listen to the events in the listening list, and when an event in the listening list is listened to, the message event node that processes the event is awakened.
[0079] It should be noted that the above-mentioned target event triggering node is any one of the multiple event triggering nodes, and the message event node is a node that executes the target message event through a working thread.
[0080] As an example, the node initialization function split_linux_epoll_input_init can be used to implement memory allocation and callback of the event monitoring function split_linux_epoll_file_update. After allocating memory for the target message event through the node initialization function, the epoll_create function is called through the split_linux_epoll_file_update function to create the target message event epoll_fd, and the epoll_ctl function is called to add the file descriptor file_descriptor corresponding to the target message event to the listening list corresponding to the target event triggering node epoll-worker, so that the message receiving event tap-inject-rx (that is, the above-mentioned target message event) calls the clib_file_add function, and then triggers the callback function of split_linux_epoll_file_update, adding file_descriptor to the listening list. The split_linux_epoll_file_update function can be implemented by the following code:
[0081]
[0082]
[0083] The epoll-worker node can be implemented by the following code:
[0084] The clib_file_add function can be implemented by the following code:
[0085] After calling the clib_file_add function, tap-inject registration can be implemented through the following code:
[0086] template.file_descriptor=tap_fd;
[0087] u32 clib_file_index=clib_file_add(&split_file_main,&template);
[0088] tap_inject_insert_tap(sw->sw_if_index,tap_fd,ifr.ifr_ifindex,trubotap_fd,sock_fd,clib_file_index);
[0089] return 0;
[0090] After completing the registration of the target message event in the target event trigger node, for example, after completing the registration of the routing message event in the first event trigger node, the registration of the message reception event in the first event trigger node can be realized. After that, the target event trigger node can monitor the target event by calling the event monitoring function split_linux_epoll_input_inline.
[0091] As an example, the event monitoring function split_linux_epoll_input_inline takes out the registration information of the target event triggering node from the split_linux_epoll_mains global variable in the split_linux_epoll_file_update function, and then monitors whether the event is received, and then calls the relevant previously registered read or write function to callback the monitored event.
[0092] After the message receiving node is registered with the first event triggering node, during the data message transmission process, VPP can monitor the target data message in the system kernel by calling the first event triggering node. Specifically, VPP obtains the thread index corresponding to the second working thread, determines the event triggering node corresponding to the thread index from the configuration file according to the thread index, obtains the first event triggering node, and then calls the first event triggering node.
[0093] It should be noted that, as described in the above content, in the related technology, the epoll node is scheduled in the main thread, and all socket events are registered in this epoll node. The epoll node needs to monitor all socket events, including command line events. Once there are a large number of epoll event interactions, for example, a large number of command lines are issued, or a large number of static routes, ARP (Address Resolution Protocol) are issued, the main thread is busy, and the tap-inject-rx node's packet reception and sending are greatly affected.
[0094] In order to prevent the tap-inject-rx node from being affected by other events, the present embodiment adds an epoll node and calls it in the specified working thread. The flowchart of the working thread calling the node in VPP is as follows: Figure 5 As shown. Figure 5 As shown, when VPP is started, the main thread vlib_main is started and enters the main thread loop vlib_main_loop. During the running of the main thread vlib_main loop, the worker thread vlib_main_worker needs to be called, and at the same time, the worker thread vlib_main_worker also enters the worker thread loop vlib_main_worker_loop. In the execution of each worker thread vlib_main_worker_loop, various nodes need to be dispatched, that is, dispatch_node is used to call the corresponding node according to the task of each worker thread.
[0095] Depend on Figure 5 It can be seen that each working thread will call the node it needs to use. In the embodiment of the present application, the newly added epoll node can be specified to be scheduled in the specified working thread, which can be implemented by the following code:
[0096]
[0097] In actual applications, the thread index corresponding to the worker thread can be checked, for example, to check whether the thread index corresponding to a worker thread matches the epoll-worker node it is going to call, to ensure that the epoll-worker node is only scheduled in the specified worker thread. If the scheduled worker thread is worker[worker_index], the epoll-worker node is scheduled; if other worker threads are scheduling the epoll-worker node, the function returns and is called again after the epoll-worker node is released.
[0098] As can be seen from the above content, the embodiment of the present application provides a method for improving the interactive performance of the control channel traffic on the VPP, which determines whether to use the worker thread to call the epoll node by setting a switch in the configuration file, and when it is determined that the worker thread is used to call the epoll node, other nodes related to the message transmission event that the worker thread needs to call are registered in the epoll node that the worker thread needs to call, so that the epoll node called by the worker thread monitors the message transmission event. The solution provided by the embodiment of the present application has the following advantages:
[0099] (1) In the related art, the main thread processes the message sending and receiving work of the transfer control channel, and at the same time, the main thread also processes other control messages. When a large number of control messages are sent, the main thread is busy, which affects the message sending and receiving, and the performance loss of the transfer control channel is great. However, this application separates the message processing work of the transfer control channel from the main thread and completes it by an idle working thread, so that the message forwarding work is no longer affected by the control messages of the main thread, which can greatly improve the performance of the transfer control channel message transmission.
[0100] (2) In the embodiment of the present application, the separation of the main thread and the epoll node is turned on or off through the target field in the configuration file, and the working line of calling epoll-worker can be specified through the configuration file, which can be flexibly deployed to facilitate future expansion.
[0101] (3) The solution provided by the present application can not only realize the routing message interaction between VPPSB and VPP, but also can be infinitely extended to other control plane services, such as L2TP and other services. Each control plane service can create an epoll-worker node separately, and multiple control plane services do not affect each other. The more control plane services there are, the higher the performance of the control channel provided by the solution provided by the present application compared with the prior art.
[0102] The present application also provides a device for transmitting a message, which is applied to a vector packet processing engine VPP, such as Figure 6 As shown, the device 600 includes: a first message processing module 601, a first node calling module 602, a second node calling module 603 and a message forwarding module 604.
[0103] The first message processing module 601 is used for sending the data message to the system kernel through the first working thread when the VPP receives the data message, so that the system kernel processes the data message, and / or forwarding the data message to the control plane device, so that the control plane device processes the data message to obtain the target data message;
[0104] The first node calling module 602 is used to call the first event triggering node through the second working thread when it is determined that the monitoring mode of monitoring the target data message is the first monitoring mode, so that the first event triggering node monitors the system kernel;
[0105] The second node calling module 603 is used to call the message receiving node registered in the first event triggering node when the first event triggering node monitors the target data message in the system kernel, so that the message receiving node extracts the target data message from the system kernel;
[0106] The message forwarding module 604 is used to call at least one data forwarding node through the second working thread, and forward the target data message to the device corresponding to the target network port through at least one data forwarding node, wherein the target network port is determined by the routing rules issued by the routing issuance node called by the main thread, and the routing issuance node is a node registered in the second event triggering node corresponding to the main thread, and the second event triggering node is used to listen to the routing issuance request.
[0107] In one example, the device for transmitting messages also includes: a second message processing module, which is used to call the second event trigger node through the main thread when it is determined that the monitoring mode for monitoring the target data message is the second monitoring mode, so that the event trigger node monitors the system kernel; when the second event trigger node monitors the target data message in the system kernel, call the target message receiving node registered in the second event trigger node, so that the target message receiving node extracts the target data message from the system kernel; call at least one target data forwarding node registered in the second event trigger node through the main thread, and forward the target data message to the device corresponding to the target network port through at least one target data forwarding node.
[0108] In one example, the device for transmitting a message also includes: a message monitoring module, which is used to determine a monitoring method for monitoring a target data message. The message monitoring module is specifically used to detect whether there is a target field in the configuration file corresponding to the VPP; when the target field exists in the configuration file, the monitoring method is determined to be a first monitoring method, wherein the first monitoring method is a method of triggering a node to monitor a system kernel through a first event; when the target field does not exist in the configuration file, the monitoring method is determined to be a second monitoring method, wherein the second monitoring method is a method of triggering a node to monitor a system kernel through a second event.
[0109] In one example, the configuration file also includes an association relationship between thread indexes corresponding to multiple working threads and multiple event triggering nodes, wherein the configuration file corresponding to the VPP is configured in the following manner: constructing an association relationship between thread indexes corresponding to multiple working threads and multiple event triggering nodes; adding a target field to the configuration file, and configuring the configuration file based on the association relationship between thread indexes corresponding to multiple working threads and multiple event triggering nodes.
[0110] In one example, the device for transmitting a message further includes: a reading module and a node registration module. The reading module is used to read the association relationship between the thread indexes corresponding to the multiple working threads and the multiple event triggering nodes from the configuration file, wherein each working thread is used to call the node for executing the corresponding message event, and the message events corresponding to the multiple working threads include at least routing message events and control plane message events; the node registration module is used to create multiple event triggering nodes based on the association relationship between the thread indexes corresponding to the multiple working threads and the multiple event triggering nodes, and register the message event corresponding to each event triggering node in each event triggering node.
[0111] In one example, the node registration module is specifically used to allocate target memory for a message event node corresponding to a target message event in a target event trigger node through a node initialization function, wherein the target event trigger node is any one of a plurality of event trigger nodes, and the message event node is a node that executes a target message event through a working thread; create a target message event for the message event node in the target memory, and obtain a file descriptor corresponding to the target message event; and add the file descriptor corresponding to the target message event to a listening list corresponding to the target event trigger node.
[0112] In one example, the first node calling module is specifically used to obtain the thread index corresponding to the second working thread; determine the event trigger node corresponding to the thread index from the configuration file according to the thread index to obtain the first event trigger node; and call the first event trigger node.
[0113] The device for transmitting messages provided in the embodiment of the present application can implement each process implemented in the aforementioned method embodiment, and will not be described again here to avoid repetition.
[0114] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0115] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0116] The electronic device may include a processor 701 and a memory 702 storing computer program instructions.
[0117] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0118] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory.
[0119] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0120] The processor 701 implements any one of the message transmission methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .
[0121] In one example, the electronic device may further include a communication interface 703 and a bus 710. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 710 and communicate with each other.
[0122] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0123] Bus 710 includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0124] In addition, in combination with the method for transmitting a message in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the methods for transmitting a message in the above embodiment is implemented.
[0125] In addition, in combination with the message transmission method in the above embodiment, the present application embodiment can provide a computer program product to implement. When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device executes and implements any message transmission method in the above embodiment.
[0126] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0127] The functional modules shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0128] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0129] The above reference is to the flow chart and / or block diagram of the method, device, electronic device and storage medium for transmitting messages according to the embodiment of the present disclosure, and describes various aspects of the present disclosure. It should be understood that each box in the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flow chart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flow chart and the combination of boxes in the block diagram and / or flow chart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0130] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for transmitting a message, characterized in that: Applied in a vector packet processing engine VPP, the method comprises: When the VPP receives a data message, the VPP sends the data message to the system kernel through the first working thread, so that the system kernel processes the data message, and / or forwards the data message to the control plane device, and the control plane device processes the data message to obtain a target data message; When it is determined that the monitoring mode for monitoring the target data message is the first monitoring mode, calling the first event triggering node through the second working thread, so that the first event triggering node monitors the system kernel; In the case where the first event triggering node monitors the target data message in the system kernel, calling the message receiving node registered in the first event triggering node, so that the message receiving node extracts the target data message from the system kernel; At least one data forwarding node is called through the second working thread, and the target data message is forwarded to the device corresponding to the target network port through the at least one data forwarding node, wherein the target network port is determined by the routing rules issued by the routing issuance node called by the main thread, and the routing issuance node is a node registered in the second event triggering node corresponding to the main thread, and the second event triggering node is used to listen to the routing issuance request.
2. The method according to claim 1, characterized in that The method further comprises: When it is determined that the monitoring mode for monitoring the target data message is the second monitoring mode, calling the second event triggering node through the main thread so that the event triggering node monitors the system kernel; In the case where the second event triggering node monitors the target data message in the system kernel, calling the target message receiving node registered in the second event triggering node, so that the target message receiving node extracts the target data message from the system kernel; At least one target data forwarding node registered in the second event triggering node is called by the main thread, and the target data message is forwarded to the device corresponding to the target network port by the at least one target data forwarding node.
3. The method according to claim 1 or 2, characterized in that: Determining a monitoring mode for monitoring the target data message includes: Detecting whether a target field exists in a configuration file corresponding to the VPP; When the target field exists in the configuration file, determining that the monitoring mode is the first monitoring mode, wherein the first monitoring mode is a mode of monitoring the system kernel by triggering the node through the first event; When the target field does not exist in the configuration file, the monitoring mode is determined to be a second monitoring mode, wherein the second monitoring mode is a mode of monitoring the system kernel by triggering the node through the second event.
4. The method according to claim 3, characterized in that The configuration file also includes associations between thread indexes corresponding to multiple working threads and multiple event triggering nodes, wherein the configuration file corresponding to the VPP is configured in the following manner: Constructing association relationships between thread indexes corresponding to the multiple working threads and the multiple event triggering nodes; The target field is added to the configuration file, and the configuration file is configured based on the association relationship between the thread indexes corresponding to the multiple working threads and the multiple event triggering nodes.
5. The method according to claim 4, characterized in that Before calling the message receiving node that has completed registration in the first event triggering node, the method further includes: Reading from the configuration file an association relationship between thread indexes corresponding to the multiple worker threads and the multiple event triggering nodes, wherein each worker thread is used to call a node that executes a corresponding message event, and the message events corresponding to the multiple worker threads include at least a routing message event and a control plane message event; Based on the association relationship between the thread indexes corresponding to the multiple working threads and the multiple event trigger nodes, the multiple event trigger nodes are created, and the message events corresponding to each event trigger node are registered in each event trigger node.
6. The method according to claim 5, characterized in that Registering a message event corresponding to each event triggering node in each event triggering node includes: Allocating target memory for a message event node corresponding to a target message event in a target event trigger node through a node initialization function, wherein the target event trigger node is any one of the multiple event trigger nodes, and the message event node is a node that executes the target message event through a working thread; Creating the target message event for the message event node in the target memory, and obtaining a file descriptor corresponding to the target message event; The file descriptor corresponding to the target message event is added to the monitoring list corresponding to the target event triggering node.
7. The method according to claim 4, characterized in that Calling the first event triggering node through the second working thread includes: Obtaining a thread index corresponding to the second working thread; Determine, from the configuration file according to the thread index, an event triggering node corresponding to the thread index, to obtain the first event triggering node; The first event triggering node is called.
8. A device for transmitting a message, characterized in that: Applied in a vector packet processing engine VPP, the device comprises: a first message processing module, configured to, when the VPP receives a data message, send the data message to a system kernel through a first working thread, so that the system kernel processes the data message, and / or forward the data message to a control plane device, so that the control plane device processes the data message to obtain a target data message; A first node calling module is used to call a first event triggering node through a second working thread when it is determined that the monitoring mode for monitoring the target data message is the first monitoring mode, so that the first event triggering node monitors the system kernel; A second node calling module is used to call the message receiving node registered in the first event triggering node when the first event triggering node monitors the target data message in the system kernel, so that the message receiving node extracts the target data message from the system kernel; A message forwarding module is used to call at least one data forwarding node through the second working thread, and forward the target data message to the device corresponding to the target network port through the at least one data forwarding node, wherein the target network port is determined by the routing rules issued by the routing issuance node called by the main thread, and the routing issuance node is a node registered in the second event triggering node corresponding to the main thread, and the second event triggering node is used to listen to the routing issuance request.
9. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for transmitting a message according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: Computer program instructions are stored on a computer-readable storage medium, and when the computer program instructions are executed by a processor, the method for transmitting a message according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Server-based event processing method, device and apparatus and medium
CN109189595A
Data transmission method and data transmission server
CN112631788A
UPF forwarding plane implementation method, device and system based on VPP and related equipment
CN115499889A
Data processing method and device, network element equipment and readable storage medium
CN115834722A
Message forwarding method and device and computer readable storage medium
CN116367236A
