CN111107536B - User plane function forwarding method, device, system and storage medium - Google Patents

User plane function forwarding method, device, system and storage medium Download PDF

Info

Publication number
CN111107536B
CN111107536B CN201911389120.4A CN201911389120A CN111107536B CN 111107536 B CN111107536 B CN 111107536B CN 201911389120 A CN201911389120 A CN 201911389120A CN 111107536 B CN111107536 B CN 111107536B
Authority
CN
China
Prior art keywords
data
acceleration table
forwarding
message
soft
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
CN201911389120.4A
Other languages
Chinese (zh)
Other versions
CN111107536A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911389120.4A priority Critical patent/CN111107536B/en
Publication of CN111107536A publication Critical patent/CN111107536A/en
Application granted granted Critical
Publication of CN111107536B publication Critical patent/CN111107536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Abstract

The invention discloses a forwarding method, a forwarding device, a forwarding system and a forwarding storage medium of a User Plane Function (UPF). First, the forwarding method of the user plane function according to the embodiment of the present invention creates a soft acceleration table, and records, through a soft acceleration table entry, related data that is needed by user data in a forwarding process, that is, support data referred to herein. The soft acceleration table entry is generated in the forwarding process of the first message of the user data stream, and after the first message is preheated, the subsequent messages of the same data stream can be forwarded in an accelerated manner through the soft acceleration table. In addition, combining with the characteristics of the soft accelerometer, the forwarding method of the user plane function according to the embodiment of the present invention further divides the whole forwarding process into three major stages: the receiving stage, the processing stage and the sending stage are used for processing the batch messages in a pipeline operation mode. Therefore, the hit rate of the code cache can be improved, and the processing efficiency of the service unit can be correspondingly improved.

Description

User plane function forwarding method, device, system and storage medium
Technical Field
The present invention relates to the field of 5G communication networks, and in particular, to a method, an apparatus, a system, and a storage medium for forwarding a User Plane Function (UPF).
Background
In the 5G core network, the user plane function is responsible for forwarding user data streams, and the large-flow characteristic of the 5G requires that the user plane function has very high forwarding performance.
However, the whole forwarding process of the user plane function is complex, including routing lookup, session matching, tunnel encapsulation/decapsulation, message sending, and the like, and each stage needs related data support.
The inventor finds that two problems exist when the user plane function is used for forwarding the user data traffic: 1) each message of the same data flow needs to repeatedly obtain the same supporting data each time; 2) when a single processing node is adopted to perform all processing of the same data stream, the code amount of a program which needs to be loaded is large, and all codes cannot be loaded in a code cache region at one time, so that the hit rate of the code cache region is low.
The above problems may cause the user plane function forwarding performance to fail to satisfy the large traffic characteristic of 5G.
Disclosure of Invention
In view of the above problems, the present inventors have creatively provided a method, an apparatus, a system and a storage medium for forwarding a user plane function.
According to a first aspect of an embodiment of the present invention, a method for forwarding a user plane function includes: acquiring a data stream identifier of a message; and detecting whether a soft acceleration table item containing the data stream identification exists in the soft acceleration table according to the data stream identification, if so, directly obtaining support data from the soft acceleration table item, and if not, obtaining the support data and inserting the support data into the soft acceleration table according to the support data, the data stream identification and the generated soft acceleration table item, wherein the support data is data used for forwarding messages by the user plane function.
According to an embodiment of the present invention, before detecting whether there is a soft acceleration table entry containing a data flow identifier in a soft acceleration table according to the data flow identifier, the method further includes: and creating a soft acceleration table, wherein a soft acceleration table item of the soft acceleration table comprises a data stream identifier and supporting data, and the data stream identifier is a key of the soft acceleration table.
According to an embodiment of the present invention, wherein creating the soft acceleration table comprises: a soft accelerometer is created in memory.
According to an embodiment of the present invention, wherein the method further comprises: dividing the forwarding process of the user plane function into at least two stages, and setting a service node for each stage; and after finishing the service task of the cost stage, each service node transmits the service task to the next service node for operation.
According to an embodiment of the present invention, dividing a forwarding flow of a user plane function into at least two stages, and setting a service node for each stage includes: dividing the forwarding process of the user plane function into a receiving stage, a processing stage and a sending stage, and setting a receiving node, a processing node and a sending node; correspondingly, after completing the service task in the cost stage, each service node transmits the service task to the next service node for operation, which includes: after receiving the message and completing data verification, the receiving node searches the soft acceleration table to obtain support data, and transmits the received message and the support data to the processing node for operation; after receiving the message and the support data and completing the forwarding processing of the message, the processing node transmits the processed message and forwarding information to the sending node for operation, wherein the forwarding information comprises a next destination address; and the sending node receives the processed message and the forwarding information and sends the processed message to the next destination address.
According to a second aspect of an embodiment of the present invention, an apparatus for forwarding a user plane function includes: the data stream identification acquisition module is used for acquiring the data stream identification of the message; and the supporting data acquisition module is used for detecting whether a soft acceleration table item containing the data stream identification exists in the soft acceleration table according to the data stream identification, if so, directly obtaining supporting data from the soft acceleration table item, and if not, acquiring the supporting data and inserting the soft acceleration table item into the soft acceleration table according to the supporting data and the data stream identification and the generated soft acceleration table item, wherein the supporting data is data used for forwarding the message by the user plane function.
According to an embodiment of the present invention, the apparatus further includes a soft acceleration table creating module, configured to create a soft acceleration table, where a soft acceleration table entry of the soft acceleration table includes a data stream identifier and supporting data, and the data stream identifier is a key of the soft acceleration table.
According to an embodiment of the present invention, the soft acceleration table creating module is specifically configured to create the soft acceleration table in the memory.
According to an embodiment of the present invention, wherein the apparatus further comprises: the service node setting module is used for dividing the forwarding process of the user plane function into at least two stages and setting a service node for each stage; and the service pipeline module is used for transmitting the service task of the cost stage to the next service node for operation after each service node finishes the service task of the cost stage.
According to an embodiment of the present invention, the service node setting module is specifically configured to divide a forwarding flow of a user plane function into a receiving stage, a processing stage, and a sending stage, and set a receiving node, a processing node, and a sending node; correspondingly, the service pipeline module is specifically configured to: after receiving the message and completing data verification, the receiving node searches the soft acceleration table to obtain support data, and transmits the received message and the support data to the processing node for operation; after receiving the message and the support data and completing the forwarding processing of the message, the processing node transmits the processed message and forwarding information to the sending node for operation, wherein the forwarding information comprises a next destination address; and the sending node receives the processed message and the forwarding information and sends the processed message to the next destination address.
According to a third aspect of the embodiments of the present invention, there is provided a forwarding system for user plane functions, the system including a processor and a memory, where the memory stores computer program instructions, and the computer program instructions are executed by the processor to perform any one of the forwarding methods for user plane functions.
According to a fourth aspect of embodiments of the present invention, there is provided a computer storage medium comprising a set of computer executable instructions for performing any of the above methods for forwarding user plane functionality when the instructions are executed.
The embodiment of the invention provides a method, a device and a system for forwarding a user plane function and a storage medium. First, the forwarding method of the user plane function according to the embodiment of the present invention creates a soft acceleration table, and records, by using a soft acceleration table entry, related data that is required by user data in a forwarding process, that is, support data referred to herein. The soft acceleration table entry is generated in the forwarding process of the first message of the user data, and after the first message is preheated, the subsequent messages of the same data flow can be forwarded in an accelerated manner through the soft acceleration table. In addition, combining with the characteristics of the soft accelerometer, the forwarding method of the user plane function according to the embodiment of the present invention further divides the whole forwarding process into 3 stages: the receiving stage, the processing stage and the sending stage are used for processing the batch messages in a pipeline operation mode. Therefore, the hit rate of the code cache can be improved, and the processing efficiency of the service unit can be correspondingly improved.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 is a schematic diagram illustrating an implementation flow of a forwarding method for a user plane function according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a specific implementation flow of a forwarding method for applying user plane functions according to the present invention;
fig. 3 is a schematic structural diagram of a forwarding device with a user plane function according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Fig. 1 shows an implementation flow of a forwarding method of a user plane function according to an embodiment of the present invention. Referring to fig. 1, the forwarding method for the user plane function according to the embodiment of the present invention includes: operation 110, acquiring a data stream identifier of the packet; and operation 120, detecting whether a soft acceleration table entry containing the data stream identifier exists in the soft acceleration table according to the data stream identifier, if so, directly obtaining supporting data from the soft acceleration table entry, and if not, obtaining the supporting data and inserting the supporting data into the soft acceleration table according to the supporting data, the data stream identifier and the generated soft acceleration table entry, wherein the supporting data is data used for forwarding the message by the user plane function.
In operation 110, the data flow is the user data to be forwarded, and the message is a transmission unit of the data flow. The message here may have slight differences in format and component parts according to the transmission protocol used, but generally the message includes two parts, a message header and a message body. The header is mainly used to store some attributes of the packet, such as the used protocol information, destination address, packet length, check information, identification information for distinguishing data streams or packets, and the like, and the packet body contains the specific content to be transmitted by the packet. The embodiment of the invention mainly obtains the data stream identification of the message through the message header. According to different transmission protocols, the data stream identifications may be different, and if the header of the packet inherently contains a data stream identification for distinguishing the data stream, the data stream identification can be directly used; if the header does not directly contain information such as the data flow identifier, the data flow identifier may be a concatenated identifier of multiple pieces of information in the header. In either case, the data stream identification should be a string that can be used to uniquely identify the data stream.
In operation 120, the accelerometer is used to store support data required by the data stream. Each entry contains a data flow identifier for distinguishing the data flow and supporting data to be used for forwarding the data flow. The whole forwarding process of the user plane function is relatively complex, including routing search, session matching, tunnel encapsulation/decapsulation, message sending and the like, and each stage needs related data support. For example, when searching for a route, it is necessary to obtain route information from a specified routing table; the session information needs to be acquired when session matching is performed, and the tunnel information needs to be acquired when tunnel encapsulation/decapsulation is performed, and the like. And the above-mentioned routing information, session information, tunnel information, and the like are the supporting data referred to herein. Usually, these support data corresponding to the same data flow are the same, so that only one soft acceleration entry needs to be created for each data flow. After receiving the packet, it may first search, according to the data stream identifier obtained in operation 110, whether there is an acceleration table entry corresponding to the data stream identifier from the acceleration table, and if there is an acceleration table entry corresponding to the data stream identifier, directly read the supporting data from the table entry. However, if the message is a header message, i.e. the first message, of a certain data flow, the soft acceleration table entry of the data flow cannot be found from the soft acceleration table. At this time, it is necessary to obtain support data, such as searching a routing table, or obtaining session information or tunnel information from other communication modules. To reuse the supporting data, after the supporting data is obtained, a new soft acceleration table entry is generated and inserted into the soft acceleration table by using the data stream identifier obtained in operation 110 and the supporting data corresponding to the data stream identifier. Thus, the message after the data flow can directly obtain the support data from the soft accelerometer, and the support data can be obtained from each communication module without performing various operations again.
According to an embodiment of the present invention, before detecting whether there is a soft acceleration table entry containing a data stream identifier in a soft acceleration table according to the data stream identifier, the method further includes: and creating a soft acceleration table, wherein the soft acceleration table item of the soft acceleration table comprises a data stream identifier and supporting data, and the data stream identifier is a key of the soft acceleration table.
The soft acceleration table is newly created for improving the forwarding efficiency in the embodiment of the present invention, and does not exist in the prior art solution. Therefore, the table is first created before data forwarding is performed. The time for creating the soft acceleration table can be flexibly determined according to the forwarding requirement and the difficulty degree of realization, and can be created when the user name function module is initialized or the first message request is received. The forwarding method of the user plane function in the embodiment of the invention does not need to limit the position of creating the table, as long as the time spent on accessing the table to obtain the support data is shorter than the time spent on obtaining the original data by other communication modules. Of course, the shorter the time it takes to access the table to obtain the supporting data, the better, so it is recommended to create a soft accelerometer that is locally accessible. As described above, usually, these support data corresponding to the same data flow are the same, so only one soft acceleration table entry needs to be created for each data flow, and the data flow identifier is used as a key of the soft acceleration table.
According to an embodiment of the present invention, wherein creating the soft acceleration table comprises: a soft accelerometer is created in memory.
The data searching and reading in the memory are very fast, the time for obtaining the supporting data from other communication modules is far shorter, the implementation effect is better, and therefore the implementation mode is preferentially recommended under the condition that the actual implementation condition allows.
According to an embodiment of the present invention, wherein the method further comprises: dividing the forwarding process of the user plane function into at least two stages, and setting a service node for each stage; and after finishing the service task of the cost stage, each service node transmits the service task to the next service node for operation.
Generally, in order to improve the operating efficiency of a program, a code cache region is arranged in a memory, and if the code to be executed can be found in the code cache region, the code does not need to be loaded from a file again. In the prior art, a service node completes all forwarding processes of user plane functions. As mentioned above, the forwarding process of the user plane function is very complicated, and the amount of codes for implementing the whole forwarding process is also large, which results in that when the forwarding process of a certain packet of a data stream is completed, different codes are loaded due to different processes performed in different stages, so that the code cache area continuously replaces the codes to be executed, and the cache function cannot be well performed. Therefore, the inventor creatively proposes that the user plane function forwarding process is divided into a plurality of service nodes, each service node only completes one relatively independent and simple function, and each service node only needs to load codes for completing the function without repeatedly replacing codes of the code cache region, so that the characteristics of the code cache region can be better utilized, the running efficiency of a program is improved, and the service processing speed is correspondingly improved.
According to an embodiment of the present invention, the dividing a forwarding process of a user plane function into at least two stages, and setting a service node for each stage includes: dividing the forwarding process of the user plane function into a receiving stage, a processing stage and a sending stage, and setting a receiving node, a processing node and a sending node; correspondingly, after completing the service task in the cost stage, each service node transmits the service task to the next service node for operation, which includes: after receiving the message and completing data verification, the receiving node searches the soft acceleration table to obtain support data, and transmits the received message and the support data to the processing node for operation; after receiving the message and the support data and completing the forwarding processing of the message, the processing node transmits the processed message and forwarding information to the sending node for operation, wherein the forwarding information comprises a next destination address; and the sending node receives the processed message and the forwarding information and sends the processed message to the next destination address.
Fig. 2 shows a specific implementation flow of a forwarding method for application user plane functions in the present invention. As shown in fig. 2, the application instance performs the following steps to implement forwarding of the user plane function:
step 210, receiving a message;
step 220, acquiring a data stream identifier of the message;
step 230, detecting whether a soft acceleration table exists, if so, continuing to step 240, otherwise, continuing to step 260;
step 240, searching the software acceleration table by using the acquired data stream identifier, if a soft acceleration table entry containing the data stream identifier is found, continuing to step 250, and if no soft acceleration table entry containing the data stream identifier is found, continuing to step 270;
step 250, obtaining support data from the soft acceleration table entry;
step 260, in case of not creating an acceleration table, creating an acceleration table;
step 270, acquiring support data and generating a new acceleration table entry to be inserted into the acceleration table;
step 280, after the received message and the supporting data required by the message forwarding are obtained, the message is forwarded, including decapsulating, re-encapsulating, and the like, of the message according to the supporting data;
step 290, the processed message is sent to the next destination address.
In addition, this application of the embodiment of the present invention divides the forwarding flow into three stages: a receiving stage, a processing stage and a sending stage, wherein correspondingly, three service nodes are set, namely a receiving node, a processing node and a sending stage, wherein steps 220 to 270 are all executed at the receiving node; step 280 is performed at a processing node; step 290 is performed at the sending node.
Further, based on the forwarding method of the user plane function as described above, an embodiment of the present invention further provides a forwarding apparatus of the user plane function. As shown in fig. 3, the apparatus 30 includes: a data stream identifier obtaining module 301, configured to obtain a data stream identifier of the packet; the supporting data obtaining module 302 is configured to detect whether a soft acceleration table entry including a data stream identifier exists in the soft acceleration table according to the data stream identifier, if yes, obtain supporting data directly from the soft acceleration table entry, and if not, obtain supporting data and insert the soft acceleration table entry into the soft acceleration table according to the supporting data and the data stream identifier and the generated soft acceleration table entry, where the supporting data is data to be used by the user plane function forwarding packet.
According to an embodiment of the present invention, the apparatus 30 further includes a soft acceleration table creating module, configured to create a soft acceleration table, where a soft acceleration table entry of the soft acceleration table includes a data stream identifier and supporting data, and the data stream identifier is a key of the soft acceleration table.
According to an embodiment of the present invention, the soft acceleration table creating module is specifically configured to create the soft acceleration table in the memory.
According to an embodiment of the present invention, the apparatus 30 further comprises: the service node setting module is used for dividing the forwarding process of the user plane function into at least two stages and setting a service node for each stage; and the service pipeline module is used for transmitting the service task of the cost stage to the next service node for operation after each service node finishes the service task of the cost stage.
According to an embodiment of the present invention, the service node setting module is specifically configured to divide a forwarding flow of a user plane function into a receiving stage, a processing stage, and a sending stage, and set a receiving node, a processing node, and a sending node; correspondingly, the service pipeline module is specifically configured to: after receiving the message and completing data verification, the receiving node searches the soft acceleration table to obtain support data, and transmits the received message and the support data to the processing node for operation; after receiving the message and the support data and completing the forwarding processing of the message, the processing node transmits the processed message and forwarding information to the sending node for operation, wherein the forwarding information comprises a next destination address; and the sending node receives the processed message and the forwarding information and sends the processed message to the next destination address.
According to a third aspect of the embodiments of the present invention, there is provided a forwarding system for user plane functions, the system including a processor and a memory, where the memory stores computer program instructions, and the computer program instructions are executed by the processor to perform any one of the forwarding methods for user plane functions.
According to a fourth aspect of embodiments of the present invention, there is provided a computer storage medium comprising a set of computer executable instructions for performing any of the above methods for forwarding user plane functionality when the instructions are executed.
It is to be noted here that: the above description on the embodiment of the forwarding apparatus for user plane functions, the above description on the embodiment of the forwarding system for user plane functions, and the above description on the embodiment of the computer storage medium are similar to the foregoing description on the embodiment of the method shown in fig. 1, and have similar beneficial effects to the foregoing embodiment of the method shown in fig. 1, and therefore are not repeated. For technical details that have not been disclosed yet in the above description of the embodiment of the forwarding apparatus for user plane functions, the above description of the embodiment of the forwarding system for user plane functions, and the above description of the embodiment of the computer storage medium of the present invention, please refer to the description of the foregoing method embodiment shown in fig. 1 of the present invention for understanding, and therefore, for brevity, no further description is provided.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the unit is only a logical division, and there may be other divisions when the actual implementation is implemented, such as: multiple units or components may be combined, or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit may be implemented in the form of hardware, or in the form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage medium, a Read Only Memory (ROM), a magnetic disk, and an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage medium, a ROM, a magnetic disk, an optical disk, or the like, which can store the program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A forwarding method of a User Plane Function (UPF), the method comprising:
acquiring a data stream identifier of a message;
detecting whether a soft acceleration table item containing the data stream identification exists in a soft acceleration table according to the data stream identification, if so, directly obtaining support data from the soft acceleration table item, and if not, obtaining support data and inserting the support data into the soft acceleration table according to the support data, the data stream identification and the generated soft acceleration table item, wherein the support data is data used for forwarding the message by a user plane function, and the support data comprises routing information, session information and tunnel information;
the method further comprises the following steps:
dividing the forwarding process of the user plane function into a receiving stage, a processing stage and a sending stage, and setting a receiving node, a processing node and a sending node;
correspondingly, after completing the service task in the cost phase, each service node transmits the service task to the next service node for operation, which includes:
after receiving the message and completing data verification, the receiving node searches the soft acceleration table to obtain support data, and transmits the received message and the support data to a processing node for operation;
after receiving the message and the supporting data and completing the forwarding processing of the message, the processing node transmits the processed message and forwarding information to a sending node for operation, wherein the forwarding information comprises a next destination address;
and the sending node receives the processed message and the forwarding information and sends the processed message to a next destination address.
2. The method of claim 1 wherein prior to said detecting whether a soft acceleration table entry containing said data flow identification is present in a soft acceleration table based on said data flow identification, said method further comprises:
creating a soft acceleration table, wherein a soft acceleration table entry of the soft acceleration table comprises a data stream identifier and supporting data, and the data stream identifier is a key of the soft acceleration table.
3. The method of claim 2, wherein creating the soft acceleration table comprises:
a soft accelerometer is created in memory.
4. A forwarding device for user plane functions, the device comprising:
the data stream identification acquisition module is used for acquiring the data stream identification of the message;
a support data obtaining module, configured to detect whether a soft acceleration table entry including the data stream identifier exists in a soft acceleration table according to the data stream identifier, if yes, obtain support data directly from the soft acceleration table entry, and if no, obtain support data and insert the support data into the soft acceleration table according to the support data, the data stream identifier, and a generated soft acceleration table entry, where the support data is data to be used by a user plane function to forward the packet, and the support data includes routing information, session information, and tunnel information;
the service node setting module is used for dividing the forwarding process of the user plane function into a receiving stage, a processing stage and a sending stage and setting a receiving node, a processing node and a sending node;
the service pipeline module is used for searching the soft acceleration table to obtain support data after the receiving node receives the message and completes data verification, and transmitting the received message and the support data to the processing node for operation; after receiving the message and the support data and completing the forwarding processing of the message, the processing node transmits the processed message and forwarding information to the sending node for operation, wherein the forwarding information comprises a next destination address; and the sending node receives the processed message and the forwarding information and sends the processed message to the next destination address.
5. The apparatus of claim 4, further comprising a soft acceleration table creation module configured to create a soft acceleration table, wherein the soft acceleration table entry of the soft acceleration table comprises a data stream identification and supporting data, and wherein the data stream identification is a key of the soft acceleration table.
6. The apparatus of claim 4, wherein the soft accelerometer creation module is specifically configured to create a soft accelerometer in memory.
7. A forwarding system of user plane functions, comprising a processor and a memory, wherein the memory has stored therein computer program instructions for executing the forwarding method of user plane functions according to any one of claims 1 to 3 when the computer program instructions are executed by the processor.
8. A storage medium having stored thereon program instructions for performing, when executed, a method of forwarding a user plane function as claimed in any one of claims 1 to 3.
CN201911389120.4A 2019-12-30 2019-12-30 User plane function forwarding method, device, system and storage medium Active CN111107536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911389120.4A CN111107536B (en) 2019-12-30 2019-12-30 User plane function forwarding method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911389120.4A CN111107536B (en) 2019-12-30 2019-12-30 User plane function forwarding method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN111107536A CN111107536A (en) 2020-05-05
CN111107536B true CN111107536B (en) 2022-07-26

Family

ID=70424293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911389120.4A Active CN111107536B (en) 2019-12-30 2019-12-30 User plane function forwarding method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN111107536B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639443A (en) * 2015-02-16 2015-05-20 杭州华三通信技术有限公司 Method and device for rapidly forwarding message
WO2017215102A1 (en) * 2016-06-15 2017-12-21 Huawei Technologies Co., Ltd. Method of forwarding data packets, method of creating merged fib key entry and method of creating a search key
CN109474525A (en) * 2018-12-17 2019-03-15 杭州迪普科技股份有限公司 Processing method, device, equipment and the readable storage medium storing program for executing of message
WO2019135708A1 (en) * 2018-01-05 2019-07-11 St Electronics (Info-Security) Pte Ltd Detection of file loss in a one-way file transfer system
CN110086837A (en) * 2018-01-25 2019-08-02 中兴通讯股份有限公司 A kind of transmission control method of message, equipment and computer readable storage medium
CN110572377A (en) * 2019-08-22 2019-12-13 网宿科技股份有限公司 Data forwarding method, plug-in and domain name server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8141030B2 (en) * 2007-08-07 2012-03-20 International Business Machines Corporation Dynamic routing and load balancing packet distribution with a software factory
CN103152267B (en) * 2013-02-04 2017-02-22 华为技术有限公司 Route managing method and route method and network controller and router
CN104394096B (en) * 2014-12-11 2017-11-03 福建星网锐捷网络有限公司 A kind of message processing method and polycaryon processor based on polycaryon processor
CN105812276B (en) * 2016-04-27 2023-11-10 深圳市风云实业有限公司 Message forwarding adaptive system and method adopting multi-core processor
CN110233800A (en) * 2019-05-09 2019-09-13 星融元数据技术(苏州)有限公司 A kind of message forwarding method and system of open programmable

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639443A (en) * 2015-02-16 2015-05-20 杭州华三通信技术有限公司 Method and device for rapidly forwarding message
WO2017215102A1 (en) * 2016-06-15 2017-12-21 Huawei Technologies Co., Ltd. Method of forwarding data packets, method of creating merged fib key entry and method of creating a search key
WO2019135708A1 (en) * 2018-01-05 2019-07-11 St Electronics (Info-Security) Pte Ltd Detection of file loss in a one-way file transfer system
CN110086837A (en) * 2018-01-25 2019-08-02 中兴通讯股份有限公司 A kind of transmission control method of message, equipment and computer readable storage medium
CN109474525A (en) * 2018-12-17 2019-03-15 杭州迪普科技股份有限公司 Processing method, device, equipment and the readable storage medium storing program for executing of message
CN110572377A (en) * 2019-08-22 2019-12-13 网宿科技股份有限公司 Data forwarding method, plug-in and domain name server

Also Published As

Publication number Publication date
CN111107536A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN107113240B (en) Method for transmitting message of extensible virtual local area network, computer equipment and readable medium
US9378245B2 (en) Name database server, name resolution system, entry search method and entry search program
US6968393B1 (en) Method and apparatus for an attribute oriented routing update
CN110635987B (en) Message transmission method, device, equipment and machine readable storage medium
CN110968431B (en) Message processing method, device and equipment
US9679022B2 (en) Name database server, name resolution system, entry search method and entry search program
US8018946B2 (en) Application messaging system with flexible message header structure
EP2978174A1 (en) Interest return control message
CN104901997A (en) System and method for direct storage access in a content-centric network
CN106878199B (en) Configuration method and device of access information
CN105100045A (en) Method and apparatus for preventing insertion of malicious content at a named data network router
WO2021088629A1 (en) Detnet data packet processing method and apparatus
CN107070719B (en) Equipment management method and device
CN114244752A (en) Flow statistical method, device and equipment
CN113489811A (en) IPv6 flow processing method and device, electronic equipment and computer readable storage medium
US10289384B2 (en) Methods, systems, and computer readable media for processing data containing type-length-value (TLV) elements
US11768759B2 (en) Method and system for automated testing of web service APIs
CN108390811B (en) GRE tunnel establishment method and equipment thereof
CN107547378B (en) VPN route learning method and device
CN111107536B (en) User plane function forwarding method, device, system and storage medium
CN111600833B (en) Network operating system and message forwarding method
CN109656674B (en) Computer equipment, virtualization chip and data transmission method
US8755386B2 (en) Traceback packet transport protocol
US20050038895A1 (en) Method and apparatus for sending data from one protocol layer to another
CN112565477B (en) DNS data update notification method supporting multiple intelligent lines and storage medium

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