CN114363963A - Load balancing selection method and system for cloud-native UPF signaling plane - Google Patents

Load balancing selection method and system for cloud-native UPF signaling plane Download PDF

Info

Publication number
CN114363963A
CN114363963A CN202111614996.1A CN202111614996A CN114363963A CN 114363963 A CN114363963 A CN 114363963A CN 202111614996 A CN202111614996 A CN 202111614996A CN 114363963 A CN114363963 A CN 114363963A
Authority
CN
China
Prior art keywords
upf
service instance
seid
message
signaling
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.)
Pending
Application number
CN202111614996.1A
Other languages
Chinese (zh)
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.)
Inspur Communication Technology Co Ltd
Original Assignee
Inspur Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Communication Technology Co Ltd filed Critical Inspur Communication Technology Co Ltd
Priority to CN202111614996.1A priority Critical patent/CN114363963A/en
Publication of CN114363963A publication Critical patent/CN114363963A/en
Priority to PCT/CN2022/121299 priority patent/WO2023124309A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/12Flow control between communication endpoints using signalling between network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a load balancing selection method and a load balancing selection system for a cloud native UPF signaling plane, wherein the method comprises the following steps: when a message forwarding control protocol (PFCP) session is established, determining a corresponding UPF service instance in a UPF cluster based on a User Plane Function (UPF) signaling plane load balancing selection algorithm; and processing the PFCP message between the SMF and the UPF based on the UPF service instance. In the cloud native core network, the signaling communication between the external SMF and the UPF cluster is processed by a cloud native UPF signaling surface load balancing selection algorithm, so that the containerized UPF cluster can meet the requirements on elasticity, reliability and expansibility.

Description

Load balancing selection method and system for cloud-native UPF signaling plane
Technical Field
The invention relates to the technical field of mobile communication, in particular to a load balancing selection method and system for a cloud-native UPF signaling plane.
Background
In 5G (5th Generation Mobile Communication Technology, fifth Generation Mobile Communication Technology), a 5G core network (5GC) is entirely divided into two categories, namely, CPF (Control Plane Function) and UPF (User Plane Function), as shown in fig. 1.
A Session Management Function (SMF) of a Control plane configures AN UPF through a Packet Forwarding Control Protocol (PFCP), the UPF establishes a tunnel between AN Access Network (AN) and a Data Network (DN) according to Packet information carried by the PFCP, and performs operations such as Forwarding, discarding, caching, and quality of service (QoS) on Data of a User Equipment (UE) according to the tunnel information and a Forwarding rule configured by the PFCP. In the cloud native core network, after the UPF is decomposed into a plurality of running service instances, the problem of how to route and select the UPF service instances by PFCP messages sent to the UPF by a control plane needs to be solved.
Therefore, a new method for load balancing the cloud-native UPF signaling plane needs to be proposed to solve the problem of how to route the UPF service instance by the PFCP message sent by the control plane to the UPF.
Disclosure of Invention
The invention provides a load balancing selection method and a load balancing selection system for a cloud native UPF signaling plane, which are used for solving the defect of how to route a UPF service instance method aiming at PFCP messages which lack a control plane and are sent to UPF in a cloud native core network in the prior art.
In a first aspect, the present invention provides a load balancing selection method for a cloud-native UPF signaling plane, including:
when a message forwarding control protocol (PFCP) session is established, determining a corresponding UPF service instance in a UPF cluster based on a User Plane Function (UPF) signaling plane load balancing selection algorithm;
and processing the PFCP message between the SMF and the UPF based on the UPF service instance.
According to the cloud-native UPF signaling plane load balancing selection method provided by the invention, when a message forwarding control protocol (PFCP) session is established, a corresponding UPF service instance in a UPF cluster is determined based on a user plane function UPF signaling plane load balancing selection algorithm, and the method comprises the following steps:
acquiring a signaling message, and further confirming whether the signaling message is a session level message or not if the signaling message is judged to be of a Request type;
if the signaling message is judged to be a session level message, further confirming whether the signaling message is a PFCPSessionseSablistRequest, if so, calling a metrics interface, calculating to obtain the load of each UPF service instance, determining the minimum load service instance, otherwise, obtaining the UP-SEID carried in the signaling message, comparing the UP-SEID with an SEID-UPF table, and confirming the UPF service instance;
and if the signaling message is judged not to be the session level message, randomly selecting a service instance as the UPF service instance.
According to the load balancing selection method for the cloud-native UPF signaling plane, the metrics interface is called, the load of each UPF service instance is obtained through calculation, and the minimum load service instance is determined, and the method comprises the following steps:
acquiring the CPU occupancy rate, the memory occupancy rate, the service instance capacity and the current session number of each UPF service instance through the metrics interface;
if the CPU occupancy rate is larger than a first threshold value, or the memory occupancy rate is larger than a second threshold value, or the ratio of the current session number of the service instances to the capacity of the service instances is larger than a third threshold value, determining that the load is infinite;
and if the CPU occupancy rate is not larger than a first threshold value, the memory occupancy rate is not larger than a second threshold value, and the ratio of the current session number of the service instance to the capacity of the service instance is not larger than a third threshold value, determining that the load is obtained by performing weighted summation on the CPU occupancy rate, the memory occupancy rate, the current session number of the service instance and the capacity of the service instance.
According to the load balancing selection method for the cloud-native UPF signaling plane provided by the invention, the method for acquiring the UP-SEID carried in the signaling message, comparing the UP-SEID with the SEID-UPF table and confirming the UPF service instance comprises the following steps:
if the service instance corresponding to the UP-SEID exists in the SEID-UPF table, determining that the service instance corresponding to the UP-SEID is the UPF service instance;
and if the service instance corresponding to the UP-SEID does not exist in the SEID-UPF table, randomly selecting the service instance as the UPF service instance.
According to the cloud-native UPF signaling plane load balancing selection method provided by the present invention, when a packet forwarding control protocol PFCP session is established, a corresponding UPF service instance in a UPF cluster is determined based on a user plane function UPF signaling plane load balancing selection algorithm, which further includes:
acquiring a signaling message, and if the signaling message is judged not to be of a Request type, further confirming whether the signaling message is a PFCPSessionsestablementResponse;
if the signaling message is judged to be PFCPSessionseStablestringResponse, acquiring a session endpoint identifier in a message header to process an SEID field, otherwise, sending the signaling message to the outside and ending the process;
and confirming whether a service instance corresponding to the SEID field exists in an SEID-UPF table or not based on the SEID field, if so, updating the SEID of the corresponding service instance, sending the signaling message to the outside and ending the flow, otherwise, determining the UPF service instance based on the capacity of the SEID-UPF table.
According to the load balancing selection method for the cloud-native UPF signaling plane, the determining of the UPF service instance based on the capacity of the SEID-UPF table includes:
if the SEID-UPF table is judged to be full, replacing the SEID-UPF table based on the least recently used page replacement algorithm LRU, sending the signaling message to the outside and finishing the process;
otherwise, inserting the SEID field and the service instance record into the SEID-UPF table, sending the signaling message to the outside and ending the process.
In a second aspect, the present invention further provides a load balancing selection system for a cloud-native UPF signaling plane, including:
the selection module is used for determining a corresponding UPF service instance in the UPF cluster based on a user plane function UPF signaling plane load balancing selection algorithm when a message forwarding control protocol (PFCP) session is established;
and the processing module is used for processing the PFCP message between the SMF and the UPF based on the UPF service instance.
In a third aspect, the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of any one of the above cloud-based UPF signaling plane load balancing selection methods when executing the program.
In a fourth aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the cloud-native UPF signaling plane load balancing selection method as described in any one of the above.
In a fifth aspect, the present invention also provides a computer program product, including a computer program, which when executed by a processor, implements the steps of any of the cloud-native UPF signaling plane load balancing selection methods described above.
According to the cloud-native UPF signaling plane load balancing selection method and system provided by the invention, the signaling communication between the external SMF and the UPF cluster is processed through a cloud-native UPF signaling plane load balancing selection algorithm in the cloud-native core network, so that the containerized UPF cluster can meet the requirements on elasticity, reliability and expansibility.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a structure diagram of a user plane function and a control plane function of a core network provided in the prior art;
fig. 2 is a schematic flow chart of a load balancing selection method for a cloud-native UPF signaling plane according to an embodiment of the present invention;
fig. 3 is a diagram of a cloud-native UPF signaling plane load balancer architecture provided by the present invention;
fig. 4 is a schematic diagram of a format of a PFCP message header provided by the present invention;
fig. 5 is a second schematic flowchart of a load balancing selection method for a cloud-native UPF signaling plane according to the present invention;
fig. 6 is a schematic structural diagram of a cloud-native UPF signaling plane load balancing selection system provided in the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all 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.
Fig. 2 is a schematic flow diagram of a load balancing selection method for a cloud-native UPF signaling plane, as shown in fig. 2, including:
step S1, when a message forwarding control protocol PFCP session is established, determining a corresponding UPF service instance in the UPF cluster based on a user plane function UPF signaling plane load balancing selection algorithm;
step S2, based on the UPF service instance, processing the PFCP message between the session management function SMF and the UPF.
It should be noted that, in the core network cloud native evolution process, the key point is to split the network function into a plurality of fine-grained micro services according to the function and other dimensions, and combine virtualization and micro service management to meet the requirements of cloud native elasticity, reliability and expandability.
The invention provides a cloud native UPF signaling plane load balancing algorithm which is deployed on a UPF signaling plane load balancer device, the device selects a service instance of a UPF cluster when a PFCP session is established according to a cloud native UPF signaling plane load balancing selection algorithm, and the session is kept uniform through a viscosity strategy. Through the algorithm, the requirements of elasticity, reliability and expansibility of the cloud native UPF cluster can be met. A cloud-native UPF signaling plane load balancer architecture diagram is shown in fig. 3.
For an N4 interface between the SMF and the UPF, which is an interface between a 5G core network control plane and a forwarding plane, a Session Endpoint Identifier (SEID) Handling is used as a unique Identifier F-SEID (full Qualified SEID) of a PFCP Session context between control plane network element entities (i.e., the SMF and the UPF), the sip entity and the UPF entity are independently allocated and sent to each other in a PFCP message, and the PFCP entity on the other side is used as a unique Identifier for identifying the PFCP Session through the Identifier. The PFCP endpoint must use the locally assigned SEID value of the peer PFCP end when sending messages. The SEID value is exchanged between PFCP endpoints using PFCP messages. The PFCP entity wants to send a SEID value to a peer PFCP entity and expects to receive all subsequent control plane messages related to the PFCP session through the "F-SEID" IE. Messages related to the PFCP session should share the same F-SEID as the PFCP session. The F-SEID should be released after the PFCP session is released.
The PFCP header may be an optional SEID, taking 8 bytes. For node-related messages, the PFCP header does not contain the SEID field; for the session related message, the SEID must be included, and in the session establishment request, the SEID is set to all 0 s, and the general format of the PFCP message header is shown in fig. 4.
According to the invention, in the cloud-native core network, the signaling communication between the external SMF and the UPF cluster is processed according to the load balancing selection algorithm of the cloud-native UPF signaling plane, so that the containerized UPF cluster can meet the requirements on elasticity, reliability and expansibility.
Based on the above embodiment, step S1 includes:
acquiring a signaling message, and further confirming whether the signaling message is a session level message or not if the signaling message is judged to be of a Request type;
if the signaling message is judged to be a session level message, further confirming whether the signaling message is a PFCPSessionseSablistRequest, if so, calling a metrics interface, calculating to obtain the load of each UPF service instance, determining the minimum load service instance, otherwise, obtaining the UP-SEID carried in the signaling message, comparing the UP-SEID with an SEID-UPF table, and confirming the UPF service instance;
and if the signaling message is judged not to be the session level message, randomly selecting a service instance as the UPF service instance.
Specifically, as shown in the flowchart of fig. 5, firstly, the signaling message is monitored, after the signaling message is acquired, whether the message is a Request type is checked, and if the message is a session level message, whether the message is a session level message is further determined, where for a node related message or a session related message, a message header in the PFCP needs to be distinguished whether the message includes an SEID.
If the message is further judged to be a session level message, checking whether the message is a PFCPSessionseSbleblishRequest, if so, calling a metrics interface, calculating the load of each UPF service instance, determining the minimum load service instance, and if not, acquiring the UP-SEID carried in the signaling message, and comparing the UP-SEID with the SEID-UPF table to acquire the UPF service instance.
And if the message is not the session level message, randomly selecting the service instance as the UPF service instance.
The invention obtains the corresponding UPF service instance by judging the type of the signaling message as the Request type and then according to the corresponding routing strategy, thereby meeting the requirements of elasticity, reliability and expansibility of the UPF cluster.
Based on any of the above embodiments, the invoking a metrics interface, calculating a load of each UPF service instance, and determining a minimum load service instance includes:
acquiring the CPU occupancy rate, the memory occupancy rate, the service instance capacity and the current session number of each UPF service instance through the metrics interface;
if the CPU occupancy rate is larger than a first threshold value, or the memory occupancy rate is larger than a second threshold value, or the ratio of the current session number of the service instances to the capacity of the service instances is larger than a third threshold value, determining that the load is infinite;
and if the CPU occupancy rate is not larger than a first threshold value, the memory occupancy rate is not larger than a second threshold value, and the ratio of the current session number of the service instance to the capacity of the service instance is not larger than a third threshold value, determining that the load is obtained by performing weighted summation on the CPU occupancy rate, the memory occupancy rate, the current session number of the service instance and the capacity of the service instance.
Specifically, a metrics interface is called, the load of each UPF service instance is calculated, and the following algorithm is adopted:
acquiring a CPU occupancy rate CPU, a memory occupancy rate memory, a service instance capacity and a current session number seNumber of a service instance of the UPF service instance, and calculating a load of the UPF service instance, which is specifically as follows:
Figure BDA0003436446010000081
and according to the calculation principle, obtaining the load of each UPF service instance, and selecting the service instance with the minimum load as the UPF service instance.
The invention respectively calculates the CPU occupancy rate, the memory occupancy rate, the service instance capacity and the current session number of the service instance, and sets a certain threshold value to obtain the load under the high load and low load state so as to select the service instance with the minimum load.
Based on any of the above embodiments, the acquiring the UP-SEID carried in the signaling message, comparing the UP-SEID with the SEID-UPF table, and determining the UPF service instance includes:
if the service instance corresponding to the UP-SEID exists in the SEID-UPF table, determining that the service instance corresponding to the UP-SEID is the UPF service instance;
and if the service instance corresponding to the UP-SEID does not exist in the SEID-UPF table, randomly selecting the service instance as the UPF service instance.
Specifically, if it is further determined that the signaling message is not a session level message, acquiring an UP-SEID carried in the signaling message, using the UP-SEID as a query condition, querying an SEID-UPF table, and looking UP whether a service instance recorded by the SEID exists in the table, if a service instance recorded by the SEID exists in the table, selecting the instance as an UPF service instance, otherwise, randomly selecting a service instance of the UPF, sending the signaling message to the UPF service instance, and ending the process.
The invention selects the specific UPF service instance by comparing the SEID records in the SEID-UPF table, and has the characteristics of high execution efficiency and high reliability.
Based on any of the above embodiments, step S1 further includes:
acquiring a signaling message, and if the signaling message is judged not to be of a Request type, further confirming whether the signaling message is a PFCPSessionsestablementResponse;
if the signaling message is judged to be PFCPSessionseStablestringResponse, acquiring a session endpoint identifier in a message header to process an SEID field, otherwise, sending the signaling message to the outside and ending the process;
and confirming whether a service instance corresponding to the SEID field exists in an SEID-UPF table or not based on the SEID field, if so, updating the SEID of the corresponding service instance, sending the signaling message to the outside and ending the flow, otherwise, determining the UPF service instance based on the capacity of the SEID-UPF table.
Specifically, as shown in fig. 5, for another case of the signaling message, if it is determined that the signaling message is not of the Request type, it needs to further confirm whether the signaling message is a pfcpsessionestablstringresponse, if so, an SEID field in a message header is obtained, an SEID-UPF table is queried with the SEID in the message header as a query condition, whether the table has a service instance of the record of the SEID, if the table has the service instance of the record of the SEID, the SEID of the service instance is updated, the signaling message is sent to the outside and the flow is ended, and if the table does not have the service instance of the record of the SEID, the UPF service instance is determined based on the capacity of the SEID-UPF table.
In addition, if it is determined that the signaling message is not the pfcpsessionestablstringresponse, the signaling message is directly sent to the outside and the flow is terminated.
The invention obtains the corresponding UPF service instance by judging the type of the signaling message as the non-Request type and then according to the corresponding routing strategy, thereby meeting the requirements of elasticity, reliability and expansibility of the UPF cluster.
Based on any of the above embodiments, the determining the UPF service instance based on the capacity of the SEID-UPF table includes:
if the SEID-UPF table is judged to be full, replacing the SEID-UPF table based on the least recently used page replacement algorithm LRU, sending the signaling message to the outside and finishing the process;
otherwise, inserting the SEID field and the service instance record into the SEID-UPF table, sending the signaling message to the outside and ending the process.
Specifically, the determining of the UPF service instance for the capacity based on the SEID-UPF table in the present invention includes:
checking whether the capacity of the SEID-UPF table is full, if so, replacing the SEID-UPF table according to an LRU (Least Recently Used page replacement algorithm), sending a signaling message to the outside and finishing the process;
and if the capacity of the SEID-UPF table is not full, inserting the SEID and the record of the service instance into the table, sending the signaling message to the outside and finishing the process.
The invention further judges whether the SEID information in the SEID-UPF table needs to be updated or not by judging the capacity of the SEID-UPF table, can timely obtain the service instance with the minimum load in the UPF service instance, and ensures the smoothness of the service.
The following is described according to a complete flow of the cloud-native UPF signaling plane load balancing selection method in fig. 5, as shown in fig. 5, the specific steps include:
(1) starting an algorithm;
(2) and monitoring the signaling message, and checking whether the message is of a Request type after the signaling message is acquired. If the message type is the Request type, going to the step (3); otherwise, go to step (8);
(3) it is checked whether it is a session level message. If the message is a session level message, going to the step (4); otherwise, go to step (20);
(4) checking whether the message is a PFCPSessionsEstablishRequest, and if the message is of the type, proceeding to step (5); otherwise, go to step (17);
(5) calling a metrics interface to obtain a CPU (central processing unit) occupancy rate CPU, a memory occupancy rate memory, service instance capacity and the current session number seNumber of the service instance of the UPF service instance;
(6) let the load of the UPF service instance be load:
Figure BDA0003436446010000111
(7) calculating the load of the UPF service instances, and selecting the service instance with the minimum load;
(8) if the message is not a Request type message, checking whether the message is a PFCPSessionsestableblisterResponse, and if the message is the type message, going to the step (9); otherwise, go to step (15);
(9) acquiring an SEID field in a message header;
(10) and inquiring an SEID-UPF table by taking the SEID as an inquiry condition to see whether the table has a service instance recorded by the SEID. If the service instance of the SEID record exists in the table, proceeding to the step (11); otherwise, go to step (12);
(11) updating the SEID of the service instance, and proceeding to the step (16);
(12) check if the SEID-UPF table is full. If the SEID-UPF table is full, go to step (13); otherwise, go to step (14);
(13) replacing the SEID-UPF table according to the LRU algorithm, and proceeding to the step (16);
(14) inserting a record of the SEID and the service instance into the table, proceeding to step (16);
(15) if the message type is not PFCPSessionsestablishmentRespone, go to step (16);
(16) sending the signaling message to the outside, proceeding to step (22);
(17) acquiring UP-SEID carried in the signaling message;
(18) taking the UP-SEID as a query condition, querying an SEID-UPF table, and judging whether a service instance recorded by the SEID exists in the table; if the service instance of the SEID record exists in the table, proceeding to step (19); otherwise, go to step (20);
(19) selecting the UPF service instance;
(20) randomly selecting a UPF service instance;
(21) sending a signaling message to the UPF service instance;
(22) and finishing the algorithm flow.
In the following description of the cloud-native UPF signaling plane load balancing selection system provided by the present invention, the cloud-native UPF signaling plane load balancing selection system described below and the cloud-native UPF signaling plane load balancing selection method described above may be referred to in a corresponding manner.
Fig. 6 is a schematic structural diagram of a cloud-native UPF signaling plane load balancing selection system provided in the present invention, as shown in fig. 6, including: a selection module 61 and a processing module 62, wherein:
the selection module 61 is used for determining a corresponding UPF service instance in the UPF cluster based on a user plane function UPF signaling plane load balancing selection algorithm when a message forwarding control protocol PFCP session is established; the processing module 62 is configured to process the PFCP message between the session management function SMF and the UPF based on the UPF service instance.
According to the invention, in the cloud native core network, the signaling communication between the external SMF and the UPF cluster is processed by the cloud native UPF signaling surface load balancing selection algorithm, so that the containerized UPF cluster can meet the requirements on elasticity, reliability and expansibility.
Fig. 7 illustrates a physical structure diagram of an electronic device, and as shown in fig. 7, the electronic device may include: a processor (processor)710, a communication Interface (Communications Interface)720, a memory (memory)730, and a communication bus 740, wherein the processor 710, the communication Interface 720, and the memory 730 communicate with each other via the communication bus 740. Processor 710 may invoke logic instructions in memory 730 to perform a cloud-native UPF signaling plane load balancing selection method comprising: when a message forwarding control protocol (PFCP) session is established, determining a corresponding UPF service instance in a UPF cluster based on a User Plane Function (UPF) signaling plane load balancing selection algorithm; and processing the PFCP message between the SMF and the UPF based on the UPF service instance.
In addition, the logic instructions in the memory 730 can be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention further provides a computer program product, where the computer program product includes a computer program, the computer program may be stored on a non-transitory computer readable storage medium, and when the computer program is executed by a processor, a computer can execute the cloud-native UPF signaling plane load balancing selection method provided by the foregoing methods, and the method includes: when a message forwarding control protocol (PFCP) session is established, determining a corresponding UPF service instance in a UPF cluster based on a User Plane Function (UPF) signaling plane load balancing selection algorithm; and processing the PFCP message between the SMF and the UPF based on the UPF service instance.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute a method for selecting load balancing of a cloud-native UPF signaling plane provided by the above methods, where the method includes: when a message forwarding control protocol (PFCP) session is established, determining a corresponding UPF service instance in a UPF cluster based on a User Plane Function (UPF) signaling plane load balancing selection algorithm; and processing the PFCP message between the SMF and the UPF based on the UPF service instance.
The above-described embodiments of the apparatus are merely illustrative, and 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, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A load balancing selection method for a cloud-native UPF signaling plane is characterized by comprising the following steps:
when a message forwarding control protocol (PFCP) session is established, determining a corresponding UPF service instance in a UPF cluster based on a User Plane Function (UPF) signaling plane load balancing selection algorithm;
and processing the PFCP message between the SMF and the UPF based on the UPF service instance.
2. The method according to claim 1, wherein when the PFCP session to be signaled is established, determining the UPF service instance corresponding to the UPF cluster based on a user plane function UPF signaling plane load balancing selection algorithm comprises:
acquiring a signaling message, and further confirming whether the signaling message is a session level message or not if the signaling message is judged to be of a Request type;
if the signaling message is judged to be a session level message, further confirming whether the signaling message is a PFCPSessionseSablistRequest, if so, calling a metrics interface, calculating to obtain the load of each UPF service instance, determining the minimum load service instance, otherwise, obtaining the UP-SEID carried in the signaling message, comparing the UP-SEID with an SEID-UPF table, and confirming the UPF service instance;
and if the signaling message is judged not to be the session level message, randomly selecting a service instance as the UPF service instance.
3. The method of claim 2, wherein the invoking metrics interface calculates a load of each UPF service instance, and determining a load minimum service instance comprises:
acquiring the CPU occupancy rate, the memory occupancy rate, the service instance capacity and the current session number of each UPF service instance through the metrics interface;
if the CPU occupancy rate is larger than a first threshold value, or the memory occupancy rate is larger than a second threshold value, or the ratio of the current session number of the service instances to the capacity of the service instances is larger than a third threshold value, determining that the load is infinite;
and if the CPU occupancy rate is not larger than a first threshold value, the memory occupancy rate is not larger than a second threshold value, and the ratio of the current session number of the service instance to the capacity of the service instance is not larger than a third threshold value, determining that the load is obtained by performing weighted summation on the CPU occupancy rate, the memory occupancy rate, the current session number of the service instance and the capacity of the service instance.
4. The method according to claim 2, wherein the obtaining the UP-SEID carried in the signaling message, comparing the UP-SEID with an SEID-UPF table, and determining the UPF service instance comprises:
if the service instance corresponding to the UP-SEID exists in the SEID-UPF table, determining that the service instance corresponding to the UP-SEID is the UPF service instance;
and if the service instance corresponding to the UP-SEID does not exist in the SEID-UPF table, randomly selecting the service instance as the UPF service instance.
5. The method according to claim 1, wherein when the to-be-message-forwarded control protocol PFCP session is established, determining a corresponding UPF service instance in a UPF cluster based on a user plane function UPF signaling plane load balancing selection algorithm further comprises:
acquiring a signaling message, and if the signaling message is judged not to be of a Request type, further confirming whether the signaling message is a PFCPSessionsestablementResponse;
if the signaling message is judged to be PFCPSessionseStablestringResponse, acquiring a session endpoint identifier in a message header to process an SEID field, otherwise, sending the signaling message to the outside and ending the process;
and confirming whether a service instance corresponding to the SEID field exists in an SEID-UPF table or not based on the SEID field, if so, updating the SEID of the corresponding service instance, sending the signaling message to the outside and ending the flow, otherwise, determining the UPF service instance based on the capacity of the SEID-UPF table.
6. The cloud-native UPF signaling plane load balancing selection method of claim 5, wherein said determining the UPF service instance based on the capacity of the SEID-UPF table comprises:
if the SEID-UPF table is judged to be full, replacing the SEID-UPF table based on the least recently used page replacement algorithm LRU, sending the signaling message to the outside and finishing the process;
otherwise, inserting the SEID field and the service instance record into the SEID-UPF table, sending the signaling message to the outside and ending the process.
7. A cloud-native UPF signaling plane load balancing selection system, comprising:
the selection module is used for determining a corresponding UPF service instance in the UPF cluster based on a user plane function UPF signaling plane load balancing selection algorithm when a message forwarding control protocol (PFCP) session is established;
and the processing module is used for processing the PFCP message between the SMF and the UPF based on the UPF service instance.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the cloud-native UPF signaling plane load balancing selection method according to any one of claims 1 to 6.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the cloud-native UPF signaling plane load balancing selection method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the steps of the cloud-based UPF signaling plane load balancing selection method according to any one of claims 1 to 6.
CN202111614996.1A 2021-12-27 2021-12-27 Load balancing selection method and system for cloud-native UPF signaling plane Pending CN114363963A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111614996.1A CN114363963A (en) 2021-12-27 2021-12-27 Load balancing selection method and system for cloud-native UPF signaling plane
PCT/CN2022/121299 WO2023124309A1 (en) 2021-12-27 2022-09-26 Cloud native upf signaling plane load balancing selection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111614996.1A CN114363963A (en) 2021-12-27 2021-12-27 Load balancing selection method and system for cloud-native UPF signaling plane

Publications (1)

Publication Number Publication Date
CN114363963A true CN114363963A (en) 2022-04-15

Family

ID=81102970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111614996.1A Pending CN114363963A (en) 2021-12-27 2021-12-27 Load balancing selection method and system for cloud-native UPF signaling plane

Country Status (2)

Country Link
CN (1) CN114363963A (en)
WO (1) WO2023124309A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277571A (en) * 2022-07-29 2022-11-01 联想(北京)有限公司 Processing method and processing system
CN115567986A (en) * 2022-11-29 2023-01-03 阿里巴巴(中国)有限公司 Communication network based on load balancing
WO2023124309A1 (en) * 2021-12-27 2023-07-06 浪潮通信技术有限公司 Cloud native upf signaling plane load balancing selection method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019197276A1 (en) * 2018-04-09 2019-10-17 Telefonaktiebolaget Lm Ericsson (Publ) N4 connection establishment for combined upf-nimf
US10506469B1 (en) * 2018-05-17 2019-12-10 Cisco Technology, Inc. Resilient in-band mobile core user plane function selection using segment routing load balancing
CN111107611B (en) * 2018-10-29 2022-04-05 大唐移动通信设备有限公司 Method and device for selecting user plane function
CN113242293B (en) * 2021-05-08 2022-12-02 恒安嘉新(北京)科技股份公司 UPF equipment, data processing and capacity expansion method and device
CN114363963A (en) * 2021-12-27 2022-04-15 浪潮通信技术有限公司 Load balancing selection method and system for cloud-native UPF signaling plane

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023124309A1 (en) * 2021-12-27 2023-07-06 浪潮通信技术有限公司 Cloud native upf signaling plane load balancing selection method and system
CN115277571A (en) * 2022-07-29 2022-11-01 联想(北京)有限公司 Processing method and processing system
CN115277571B (en) * 2022-07-29 2024-03-29 联想(北京)有限公司 Processing method and processing system
CN115567986A (en) * 2022-11-29 2023-01-03 阿里巴巴(中国)有限公司 Communication network based on load balancing

Also Published As

Publication number Publication date
WO2023124309A1 (en) 2023-07-06

Similar Documents

Publication Publication Date Title
CN114363963A (en) Load balancing selection method and system for cloud-native UPF signaling plane
US10419531B2 (en) Method for setting gateway device identity, and management gateway device
US11240745B2 (en) Network slice instance processing method and apparatus, and system
CN114615154B (en) Method and device for managing service quality and communication system
WO2018090677A1 (en) Processing method, device and system for nf component abnormality
CN110808948B (en) Remote procedure calling method, device and system
CN111726293B (en) Message transmission method and device
CN110995873A (en) Gateway service interface discovery method, system, electronic device and storage medium
WO2024104284A1 (en) Nwdaf-based management and decision-making method for computing resources
TWI640214B (en) Network access method, related equipment and system
CN105847352A (en) Distributed cache system-based capacity expansion method, device and distributed cache system
CN109391503B (en) Network slice management method and device
CN109194993B (en) Media file distribution method and file distribution platform
CN106790354B (en) Communication method and device for preventing data congestion
CN115396510B (en) Communication method and communication module
CN109526032B (en) Method and device for modifying network slice example
CN115038123A (en) UPF signaling surface load allocation method, system, electronic equipment and storage medium
CN116112572A (en) Service processing method, device, network equipment and storage medium
CN112925946B (en) Service data storage method and device and electronic equipment
CN101448021A (en) Method and device for realizing point to point network communicating
SG178407A1 (en) Method and apparatus for constructing seed group in peer-to-peer application and method for using seed group
CN111917667A (en) Dynamic bandwidth allocation method, SDN controller and computer readable storage medium
CN112543191B (en) Load balancing method and device
CN114124686B (en) Method and device for distributing user plane function network element UPF for UE session
CN112702801B (en) Method and device for establishing session

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