CN113810968B - User plane network element UPF switching method, device and equipment - Google Patents

User plane network element UPF switching method, device and equipment Download PDF

Info

Publication number
CN113810968B
CN113810968B CN202111152734.8A CN202111152734A CN113810968B CN 113810968 B CN113810968 B CN 113810968B CN 202111152734 A CN202111152734 A CN 202111152734A CN 113810968 B CN113810968 B CN 113810968B
Authority
CN
China
Prior art keywords
upf
target
target terminal
session connection
terminal
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
CN202111152734.8A
Other languages
Chinese (zh)
Other versions
CN113810968A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202111152734.8A priority Critical patent/CN113810968B/en
Publication of CN113810968A publication Critical patent/CN113810968A/en
Application granted granted Critical
Publication of CN113810968B publication Critical patent/CN113810968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0016Hand-off preparation specially adapted for end-to-end data sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • H04W36/0044Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information of quality context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a user plane network element UPF switching method, device and equipment. According to the method and the device, when the need of switching the UPF for the target terminal is detected, and the presence of the UPF which meets the UPF switching requirement and has session connection with the target terminal is detected, one UPF is directly selected from the UPFs which meet the UPF switching requirement and have session connection with the target terminal to be switched as the target UPF, and the established session connection between the target UPF and the target terminal is prolonged, so that new session connection is not required to be established on the target UPF, and network resource waste is reduced.

Description

User plane network element UPF switching method, device and equipment
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a device for switching a user plane network element UPF.
Background
After the terminal accesses the 5G (Fifth Generation) mobile communication network, since the service area of the UPF (User Plane Function ) network element used when the terminal accesses the external data network is extensive, if the location of the terminal changes, the UPF network element may need to be switched. When the UPF network element used by the terminal is switched, as the switching of the UPF network element involves interaction among a plurality of network element nodes, the switching is complex and takes longer time, if the direct switching can cause discontinuous service on the terminal, the service quality is lost, such as the problems of voice call drop and the like in the moving process of the terminal.
Therefore, a UPF switching manner that can implement service continuity is proposed in the related art: SSC Mode 3 (Session and Service Continuity Mode 3, session and service continuation Mode 3). However, in this mode, when a change in the service area of the UPF in which the terminal is located is detected, the UPF is reselected for the terminal, and a new PFCP (Packet Forwarding Control Protocol, packet-switched control protocol) session connection is established between the reselected UPF and the terminal, but when the terminal moves frequently, there may be still a previously established PFCP session connection between the reselected UPF and the terminal, the above-mentioned established new PFCP session connection is effectively a waste of network resources.
Disclosure of Invention
The application discloses a user plane network element UPF switching method, device and equipment, which are used for reducing resource waste caused by user plane network element UPF switching.
According to a first aspect of an embodiment of the present application, there is provided a user plane network element UPF switching method, where the method is applied to a session management network element SMF, including:
when detecting that user plane network element UPF needs to be switched for a target terminal, detecting whether UPF meeting specified conditions exists in UPFs currently managed by the SMF, and if so, selecting one UPF from the UPFs meeting the specified conditions as a target UPF; wherein the specified condition means: meeting UPF switching requirements, and currently having session connection with the target terminal;
and switching the UPF providing the service for the target terminal into the target UPF, and taking the established session connection between the target UPF and the target terminal as a target session connection so that the target terminal uses the target session connection to perform data transmission.
Optionally, the detecting whether the UPF meeting the specified condition exists in the UPFs currently managed by the SMF includes:
determining UPF meeting UPF switching requirements from the UPFs which are recorded in the SMF and belong to the same type with the UPF to be switched for the target terminal;
detecting whether a UPF which is in session connection with the target terminal exists in the UPFs or not;
or,
obtaining each recorded UPF which has session connection between the current and the target terminal and belongs to the same type with the UPF which needs to be switched for the target terminal,
and detecting whether UPF meeting UPF switching requirements exists in the UPFs.
Optionally, the target UPF is determined to meet the UPF handover requirement by:
and judging that the current position information is in a service area of the target UPF according to the acquired current position information of the target terminal, and determining that the target UPF meets UPF switching requirements.
Optionally, the UPF to be switched for the target terminal is an anchor UPF;
the session connection is established based on an IP address allocated to the target terminal, and the IP address allocated to the target terminal is configured with a corresponding effective duration;
the switching the UPF providing the service for the target terminal to the target UPF comprises the following steps:
and notifying the target terminal to modify the effective duration of the IP address corresponding to the target session connection so that the effective duration of the IP address is longer than the effective duration of other IP addresses which are currently allocated by the target terminal and used for establishing other session connections.
Optionally, the method further comprises:
notifying the target terminal to modify the effective duration of the IP addresses corresponding to the session connection established between other UPFs and the target terminal, so that the effective duration of the modified IP addresses is smaller than the effective duration of the IP addresses corresponding to the target session connection; wherein the other UPFs refer to UPFs that currently have session connections with the target terminal and do not belong to the target UPF.
According to a second aspect of an embodiment of the present application, there is provided a user plane network element UPF switching device, which is applied to a session management network element SMF, including:
a target UPF determining unit, configured to detect, when it is detected that a user plane network element UPF needs to be switched for a target terminal, whether there is a UPF meeting a specified condition in each UPF currently managed by the SMF, and if there is a UPF meeting a specified condition, select one UPF from the UPFs meeting the specified condition as a target UPF; wherein the specified condition means: meeting UPF switching requirements, and currently having session connection with the target terminal;
and the UPF switching unit is used for switching the UPF providing the service for the target terminal into the target UPF and taking the established session connection between the target UPF and the target terminal as a target session connection so that the target terminal uses the target session connection to carry out data transmission.
Optionally, the determining, by the target UPF determining unit, that the target UPF meets the UPF switching requirement includes:
and judging that the current position information is in a service area of the target UPF according to the acquired current position information of the target terminal, and determining that the target UPF meets UPF switching requirements.
Optionally, the UPF to be switched for the target terminal is an anchor UPF; the session connection is established based on an IP address allocated to the target terminal, and the IP address allocated to the target terminal is configured with a corresponding effective duration;
the UPF switching unit switching the UPF providing the service to the target terminal to the target UPF includes:
and notifying the target terminal to modify the effective duration of the IP address corresponding to the target session connection so that the effective duration of the IP address is longer than the effective duration of other IP addresses which are currently allocated by the target terminal and used for establishing other session connections.
Optionally, the UPF switching unit is further configured to:
notifying the target terminal to modify the effective duration of the IP addresses corresponding to the session connection established between other UPFs and the target terminal, so that the effective duration of the modified IP addresses is smaller than the effective duration of the IP addresses corresponding to the target session connection; wherein the other UPFs refer to UPFs that currently have session connections with the target terminal and do not belong to the target UPF.
According to a third aspect of embodiments of the present application, there is provided an electronic device including: a processor and a memory;
the memory is used for storing machine executable instructions;
the processor is configured to read and execute the machine executable instructions stored in the memory, so as to implement a user plane network element UPF switching method as described above.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
according to the technical scheme, when the UPF which needs to be switched for the target terminal is detected, and the UPF which meets the UPF switching requirement is detected to exist, and the session connection exists between the target terminal and the target terminal, the UPF which meets the UPF switching requirement is directly selected from the UPFs which meet the UPF switching requirement and have the session connection between the target terminal and the target terminal currently as the target UPF to be switched, and the established session connection between the target UPF and the target terminal is prolonged, so that new session connection is not required to be established on the target UPF, and network resource waste is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a schematic diagram of a UPF service area provided in an embodiment of the present application;
fig. 2 is a flowchart of a method for switching a user plane network element UPF according to an embodiment of the present application;
fig. 3 is a schematic diagram of a device for switching a user plane network element UPF according to an embodiment of the present application;
fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
In order to better understand the technical solutions provided by the embodiments of the present application and make the above objects, features and advantages of the embodiments of the present application more obvious, the following description will first be given with reference to fig. 1 of the following description of a switching process of a UPF in a SSC Mode 3 Mode in the related art:
first, it should be noted that in this embodiment, each UPF corresponds to a service area, and the service area corresponding to each UPF is extensive, and the UPF may provide a better-quality network service for a terminal within the service area, as shown in fig. 1, and the ranges of the service areas of three UPF network elements, namely UPF1, UPF2, and UPF3, are shown in fig. 1.
In the related art, after determining that the terminal switches the UPF, the session management function network element SMF (Session Management Function) determines a candidate anchor UPF from the UPFs managed by the SMF according to the current location information of the terminal, where a service area of the candidate anchor UPF covers the current location information of the terminal, and then uses a UPF with the highest priority among the candidate anchor UPFs as an anchor UPF. The anchor UPF is used for providing service for the terminal and has a data processing function.
Illustratively, based on the service area ranges of UPF1, UPF2, and UPF3 shown in fig. 1, when the terminal is at the location a in fig. 1, since the location a is within the service area range of UPF1, network services will be provided to the terminal by UPF 1; when the terminal moves from the position a to the position B in fig. 1, since the position B is located at the intersection of the service areas of the UPF1 and the UPF3, the UPF3 with higher priority can be selected to provide network service for the terminal by comparing the priority between the UPF1 and the UPF 3; and when the terminal moves from the location B to the location C in fig. 1, since the location C is within the service area of the UPF2, network services will be provided to the terminal by the UPF 2.
The SSC Mode 3 is a method for guaranteeing service continuity by using the Multi-home Multi-Homing characteristic of IPv6, and how to switch the UPF providing service to the terminal in the SSC Mode 3 will be described below by taking switching from the anchor UPF1 to the anchor UPF3 as an example:
step a, when the terminal moves from the position a to the position B in fig. 1, the SMF determines that the UPF needs to be switched for the terminal according to the current location information of the terminal reported by the AMF (Access and Mobility Management Function ).
Step b, after determining to switch the UPF for the terminal, the SMF first needs to determine a target anchor UPF (i.e. UPF 3) and a branch node BP UPF (denoted as BP UPF 0), where the BP UPF is a UPF with a splitting function.
The method for determining the anchor point UPF and the branch node UPF may refer to related technologies, for example, determine a target anchor point UPF and a branch node BP UPF from a corresponding anchor point UPF pool and branch node BP UPF according to respective service areas and priorities of the anchor point UPF and the branch node BP UPF, which are not described herein.
Step c, a new IP address (denoted as IP 3) is allocated to the terminal, and a PFCP session creation based on IP3 is initiated to UPF3 and BP UPF0, respectively, so that a data link (denoted as first data link) from the terminal to the data network is established according to the PFCP session created based on IP 3: terminal-base station-BP UPF0-UPF 3-data network.
Step d, modifying the establishment of the PFCP session in UPF1 based on the IP address allocated to the terminal (denoted as IP 1) to establish another data link from the terminal to the data network (denoted as second data link): terminal-base station-BP UPF0-UPF 1-data network to ensure that service currently processed by UPF1 will not be interrupted by incomplete transfer to UPF3 processing.
And e, configuring corresponding effective time lengths for the IP1 and the IP3 respectively, informing the UPF3 to send the effective time length of the IP3 to the terminal, and informing the UPF1 to send the effective time length of the IP1 to the terminal, wherein the effective time length of the IP3 is longer than the effective time length of the IP 1.
Calculating the using time length of the IP1 from the allocated effective time length of the IP1, and when the using time length of the IP1 is determined to exceed the effective time length of the IP1, removing the second data link and modifying the first data link to be: terminal-base station-UPF 3-data network to complete the switching of anchor UPF.
In the process of switching the UPF1 to the UPF3, if the terminal moves frequently, when the second data link has not been removed, it may be necessary to switch the anchor UPF again for the terminal. At this time, if the target anchor UPF determined by the SMF is UPF1, an IP address is reassigned to the terminal (denoted as IP 4), and a PFCP session creation based on IP4 is initiated to UPF1, and a data link (denoted as third data link) from the terminal to the data network is established according to the PFCP session based on IP 4: terminal-base station-BP UPF0-UPF 1-data network.
At this point there are two sessions in UPF 1: the PFCP session based on IP1 and the PFCP session based on IP4, and paths of the third data link and the fourth data link constructed based on the two sessions are substantially identical. It can be seen that in practice the PFCP session present in UPF1 is redundant at this time and a lot of signalling interactions are needed to build the third data link described above, wasting network resources.
In addition, in the process of switching the above-mentioned UPF1 to UPF3, if the second data link is not yet removed, it may also trigger to switch the BP UPF for the terminal, but the terminal may actually be still in the service area of the BP UPF0 to be switched, and switching the BP UPF0 to other BP UPFs also requires a large amount of signaling interaction, which also wastes network resources.
In view of the above problems, the embodiment of the present application provides a method for switching a user plane network element UPF. The technical solutions in the embodiments of the present application are described in further detail below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a flowchart of a method for switching a user plane network element UPF according to an embodiment of the present application. As an embodiment, the flow shown in fig. 2 may be applied to a session management network element SMF.
As shown in fig. 2, the process may include the steps of:
step 201, when it is detected that a user plane network element UPF needs to be switched for a target terminal, detecting whether there is a UPF meeting a specified condition in each UPF currently managed by the SMF, and if so, selecting one UPF from the UPFs meeting the specified condition as a target UPF; wherein the specified condition means: meets the UPF switching requirement, and a session connection exists between the current terminal and the target terminal.
In the embodiment of the application, the UPF to be switched for the target terminal is an anchor point UPF or a BP UPF, wherein the anchor point UPF is a UPF which provides service for the terminal and has a data processing function, the BP UPF is a UPF with a shunting function, and the type identifiers corresponding to the anchor point UPF and the BP UPF are different.
As an embodiment, detecting that the user plane network element UPF needs to be switched for the target terminal in the present application refers to: and receiving the current position information of the terminal reported by the AMF, acquiring a service area range corresponding to the UPF which currently provides service for the terminal, and determining whether the UPF needs to be switched for the target terminal according to an algorithm formulated by a manufacturer for the SSC Mode 3 Mode. The SMF is a network element for managing UPFs, and records each UPF managed by the SMF, the range of each service area corresponding to each UPF, the information of session connection between each UPF and the terminal and the like; and optionally, the current position information of the terminal is triggered and reported to the SMF when the terminal initiates a service request flow.
Optionally, in this embodiment, detecting whether there is a UPF that meets the specified condition in each UPF managed by the SMF may be performed in the following two ways:
the first way is: firstly, determining the UPF meeting the UPF switching requirement from the UPFs which are recorded in the SMF and belong to the same type with the UPF which needs to be switched for the target terminal, and then detecting whether the UPF which has session connection with the target terminal exists in the UPFs.
The second way is: and acquiring each recorded UPF which is currently connected with the target terminal in a session and belongs to the same type as the UPF which needs to be switched for the target terminal, and then detecting whether UPF which meets the UPF switching requirement exists in each UPF.
As an example, if a plurality of UPFs satisfying the specified condition are detected in the present example, one UPF may be selected as the target UPF from among the plurality of UPFs satisfying the specified condition in a manner of priority, load, or the like.
In this embodiment, the above-mentioned UPF meeting the UPF switching requirement refers to: the current position of the target terminal belongs to the service area range corresponding to the UPF; the UPF that a session connection exists between the current terminal and the target terminal means that: the UPF creates a PFCP session based on the IP address previously assigned to the target terminal.
As an embodiment, the detection of the need to switch anchor point UPF for the target terminal may be by the following steps: receiving current position information of a terminal reported by an AMF, acquiring a service area range corresponding to an anchor point UPF for providing service for the terminal at present, judging whether the current position information of the terminal is in the service area range, if not, determining that the anchor point UPF needs to be switched for the target terminal, and if so, determining that the anchor point UPF does not need to be switched for the target terminal.
In this embodiment, since it is determined that the handover anchor UPF is required to be triggered when the current location of the target terminal is out of the service area range of the anchor UPF to be handed off (referred to as New UPF), the New UPF does not meet the UPF handover requirement, and thus the target UPF determined in this embodiment is different from the New UPF.
As another embodiment, if it is determined whether the target terminal needs to switch the UPF according to the algorithm formulated by the manufacturer for the SSC Mode 3 Mode, in this embodiment, the New UPF and the target UPF may be the same anchor UPF, and the target UPF and the established session connection between the target UPF and the target terminal may be used as the target session connection.
Step 202, switching a UPF providing a service for a target terminal to the target UPF, and using an established session connection between the target UPF and the target terminal as a target session connection, so that the target terminal uses the target session connection to perform data transmission.
Illustratively, if there are at least three UPFs for session connections currently with the target terminal: the method comprises the steps of New UPF, old UPF and BP UPF, wherein when an Old UPF target terminal switches the UPF into the New UPF, if the current target terminal moves back into the service area of the Old UPF from the service area of the New UPF and detects that the anchor UPF needs to be switched for the target terminal, the target UPF can be determined to be the Old UPF by the method shown in the embodiment.
It should be noted that, at least two data links are included in the network where the current target terminal is located, where one data link (denoted as L1) is: terminal-base station-BP UPF-New UPF-data network, the other data link is (denoted as L2): terminal-base station-BP UPF-Old UPF-data network, then in this embodiment, after determining Old UPF as the target UPF, the above-mentioned data link L2 will continue to be used. The BP UPF is used for aggregating downlink data transmitted by the New UPF and the Old UPF and shunting the downlink data transmitted by the base station to the New UPF and the Old UPF.
In a specific implementation, the established session connection in this step is established based on the IP address allocated to the target terminal, and the IP address allocated to the target terminal is configured with a corresponding effective duration. Based on the above-described SSC Mode 3 pattern, it can be appreciated that the target UPF in this embodiment actually establishes a data link from the terminal to the data network based on the established session connection and controls the data link by the effective duration of the IP address used by the session connection.
In this embodiment of the present application, if the UPF to be switched for the target terminal is an anchor UPF, session connection exists between the current target terminal and the New UPF and between the current target terminal and the target UPF, and different IP addresses are allocated to the target terminal for different UPFs (where the IP addresses to be allocated may be carried by the SMF and allocated to the target terminal in an instruction, or the SMF notifies the UPF of selecting the IP address to be allocated and allocating the IP address to the target terminal by the UPF), and the corresponding effective duration is configured for each allocated IP address, the embodiment further needs to execute the following steps:
as an embodiment, since the above IP address allocated to the target terminal for the New UPF and the target UPF is performed in the process of performing the last switching of the anchor UPF (such as Old UPF in the above example) to the New UPF for the target terminal, the effective duration of the IP address allocation allocated to the target terminal for the New UPF is longer than the effective duration of the IP address allocation allocated to the target terminal for the target UPF.
Therefore, in this embodiment, the target terminal needs to be further notified to modify the effective duration of the IP address corresponding to the target session connection, so that the effective duration of the IP address is longer than the effective duration of the other IP addresses currently allocated to the target terminal for establishing other session connections.
Further, if the effective duration of the IP address corresponding to the session connection on the New UPF is permanently valid, the target terminal needs to be notified to modify the effective duration of the IP address corresponding to the session connection in the New UPF, so that the effective duration of the modified IP address is smaller than the effective duration of the IP address corresponding to the target session connection.
Preferably, in order to reduce the time required for completing the handover to the target UPF, it may further determine that there is a session connection between the target terminal and another UPF that does not belong to the target UPF, and notify the target terminal to modify the effective duration of the IP address corresponding to the session connection established between the other UPF and the target terminal, so that the effective duration of the modified IP address is less than the effective duration of the IP address corresponding to the target session connection.
For example, the above-mentioned notifying the target terminal of modifying the effective duration of the IP address may send the effective duration of the newly configured corresponding IP address to the target UPF or other UPFs through the SMF, and then the target UPF or other UPFs carry the effective duration of the newly configured IP address in an RA (Router Advertisement) message and send the RA (router advertisement) message to the target terminal.
As an embodiment, in this embodiment, after the effective duration is configured for the IP address, calculation of the duration of use of the IP address will be started, and when the duration of use of the IP address is detected to exceed the effective duration of the IP address, failure of the IP address is determined, and session connection corresponding to the failed IP address is torn down.
After the effective duration of the IP address allocated to the target terminal is configured, because the effective duration of the IP address corresponding to the target session connection is the largest, before the IP address corresponding to the target session connection fails, other IP addresses allocated to the target terminal will fail in sequence, and session connections corresponding to the failed other IP addresses will be removed in sequence.
Further, when detecting that there is only one current UPF (i.e., the target UPF) and the target terminal, the target UPF, the base station, and other devices may be further notified to modify the data link via the target UPF as follows: terminal-base station-target UPF-data network. The specific modification process is as follows:
initiating session modification to the target UPF to instruct the target UPF to forward downlink data received from the data network to the base station and receive uplink data from the base station;
initiating resource update to a base station, and indicating the base station to forward uplink data to a target UPF;
and sending a session deletion instruction to the BP UPF to delete session connection between the BP UPF and the target UPF and between the BP UPF and the BP.
The New UPF serving the target terminal network is successfully switched to the target UPF, the IP address is not required to be reassigned to the target terminal in the switching process, and a New session connection is not required to be established on the target UPF based on the reassigned IP address, so that signaling is saved, and network resource waste is reduced.
Thus, the flow shown in fig. 2 is completed.
As can be seen from the flow shown in fig. 2, in the embodiment of the present application, when it is detected that a target terminal needs to switch a UPF, and it is detected that a UPF meeting the requirement of the UPF switch exists, and when a session connection exists between the target terminal and the target terminal, the UPF meeting the requirement of the UPF switch is directly selected from the UPFs meeting the requirement of the UPF switch, and one UPF currently having the session connection with the target terminal is selected as the target UPF for switching, and the established session connection between the target UPF and the target terminal is prolonged, without establishing a new session connection on the target UPF, thereby reducing network resource waste.
The above examples are merely for ease of understanding, and the embodiments of the present application are not particularly limited.
Referring to fig. 3, fig. 3 is a schematic diagram of an apparatus for switching a user plane network element UPF according to an embodiment of the present application, where the embodiment of the apparatus is applied to a session management network element SMF. The device comprises:
a target UPF determining unit 301, configured to detect, when it is detected that a user plane network element UPF needs to be switched for a target terminal, whether there is a UPF meeting a specified condition in each UPF currently managed by the SMF, and if there is a UPF meeting a specified condition, select one UPF from the UPFs meeting the specified condition as a target UPF; wherein the specified condition means: meets the UPF switching requirement, and a session connection exists between the current terminal and the target terminal.
A UPF switching unit 302, configured to switch a UPF that provides a service to a target terminal to the target UPF, and use an established session connection between the target UPF and the target terminal as a target session connection, so that the target terminal uses the target session connection to perform data transmission.
Optionally, the target UPF determining unit 301 detecting whether there is a UPF satisfying a specified condition in the UPFs currently managed by the SMF includes:
determining UPF meeting UPF switching requirements from the UPFs which are recorded in the SMF and belong to the same type with the UPF to be switched for the target terminal; and detecting whether a UPF with session connection between the current UPF and the target terminal exists in the UPFs.
Or, acquiring each recorded UPF which has session connection with the target terminal and belongs to the same type with the UPF which needs to be switched for the target terminal, and detecting whether UPF which meets the UPF switching requirement exists in each UPF.
Optionally, the determining, by the target UPF determining unit 301, that the target UPF meets the UPF switching requirement includes:
and judging that the current position information is in a service area of the target UPF according to the acquired current position information of the target terminal, and determining that the target UPF meets UPF switching requirements.
Optionally, the UPF to be switched for the target terminal is an anchor UPF; the session connection is established based on an IP address allocated to the target terminal, and the IP address allocated to the target terminal is configured with a corresponding effective duration;
the UPF switching unit 302 switching the UPF providing the service to the target terminal to the target UPF includes:
and notifying the target terminal to modify the effective duration of the IP address corresponding to the target session connection so that the effective duration of the IP address is longer than the effective duration of other IP addresses which are currently allocated by the target terminal and used for establishing other session connections.
Optionally, the UPF switching unit 302 is further configured to:
notifying the target terminal to modify the effective duration of the IP addresses corresponding to the session connection established between other UPFs and the target terminal, so that the effective duration of the modified IP addresses is smaller than the effective duration of the IP addresses corresponding to the target session connection; wherein the other UPFs refer to UPFs that currently have session connections with the target terminal and do not belong to the target UPF.
This completes the block diagram of the embodiment of the apparatus shown in fig. 3.
Correspondingly, the embodiment of the application also provides a hardware structure diagram of the electronic device, and in particular, as shown in fig. 4, the electronic device may be the device for implementing the user plane network element UPF switching method. As shown in fig. 4, the hardware structure includes: a processor and a memory.
Wherein the memory is configured to store machine-executable instructions;
the processor is configured to read and execute the machine executable instructions stored in the memory, so as to implement the method embodiment of the user plane network element UPF handover corresponding to the foregoing.
The memory may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, data, or the like, for one embodiment. For example, the memory may be: volatile memory, nonvolatile memory, or similar storage medium. In particular, the memory may be RAM (Radom Access Memory, random access memory), flash memory, a storage drive (e.g., hard drive), a solid state disk, any type of storage disk (e.g., optical disk, DVD, etc.), or a similar storage medium, or a combination thereof.
Thus, the description of the electronic device shown in fig. 4 is completed.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the invention to the precise form disclosed, and any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. The user plane network element UPF switching method is characterized in that the method is applied to a session management network element SMF and comprises the following steps:
when detecting that user plane network element UPF needs to be switched for a target terminal, detecting whether UPF meeting specified conditions exists in UPFs currently managed by the SMF, and if so, selecting one UPF from the UPFs meeting the specified conditions as a target UPF; wherein the specified condition means: meeting UPF switching requirements, and currently having session connection with the target terminal;
and switching the UPF providing the service for the target terminal into the target UPF, and taking the established session connection between the target UPF and the target terminal as a target session connection so that the target terminal uses the target session connection to perform data transmission.
2. The method of claim 1, wherein detecting whether there are UPFs that satisfy a specified condition among the UPFs currently managed by the SMF comprises:
determining UPF meeting UPF switching requirements from the UPFs which are recorded in the SMF and belong to the same type with the UPF to be switched for the target terminal;
detecting whether a UPF which is in session connection with the target terminal exists in the UPFs or not;
or,
obtaining each recorded UPF which has session connection between the current and the target terminal and belongs to the same type with the UPF which needs to be switched for the target terminal,
and detecting whether UPF meeting UPF switching requirements exists in the UPFs.
3. A method according to claim 1 or 2, characterized in that the target UPF is determined to meet the UPF handover requirements by:
and judging that the current position information is in a service area of the target UPF according to the acquired current position information of the target terminal, and determining that the target UPF meets UPF switching requirements.
4. The method of claim 1, wherein the UPF to be switched for the target terminal is an anchor UPF;
the session connection is established based on an IP address allocated to the target terminal, and the IP address allocated to the target terminal is configured with a corresponding effective duration;
the switching the UPF providing the service for the target terminal to the target UPF comprises the following steps:
and notifying the target terminal to modify the effective duration of the IP address corresponding to the target session connection so that the effective duration of the IP address is longer than the effective duration of other IP addresses which are currently allocated by the target terminal and used for establishing other session connections.
5. The method according to claim 4, characterized in that the method further comprises:
notifying the target terminal to modify the effective duration of the IP addresses corresponding to the session connection established between other UPFs and the target terminal, so that the effective duration of the modified IP addresses is smaller than the effective duration of the IP addresses corresponding to the target session connection; wherein the other UPFs refer to UPFs that currently have session connections with the target terminal and do not belong to the target UPF.
6. A user plane network element UPF switching device, characterized in that the device is applied to a session management network element SMF, comprising:
a target UPF determining unit, configured to detect, when it is detected that a user plane network element UPF needs to be switched for a target terminal, whether there is a UPF meeting a specified condition in each UPF currently managed by the SMF, and if there is a UPF meeting a specified condition, select one UPF from the UPFs meeting the specified condition as a target UPF; wherein the specified condition means: meeting UPF switching requirements, and currently having session connection with the target terminal;
and the UPF switching unit is used for switching the UPF providing the service for the target terminal into the target UPF and taking the established session connection between the target UPF and the target terminal as a target session connection so that the target terminal uses the target session connection to carry out data transmission.
7. The apparatus of claim 6, wherein the target UPF determination unit determining that the target UPF meets UPF switch requirements comprises:
and judging that the current position information is in a service area of the target UPF according to the acquired current position information of the target terminal, and determining that the target UPF meets UPF switching requirements.
8. The apparatus of claim 6, wherein the UPF to be switched for the target terminal is an anchor UPF;
the session connection is established based on an IP address allocated to the target terminal, and the IP address allocated to the target terminal is configured with a corresponding effective duration;
the UPF switching unit switching the UPF providing the service to the target terminal to the target UPF includes:
and notifying the target terminal to modify the effective duration of the IP address corresponding to the target session connection so that the effective duration of the IP address is longer than the effective duration of other IP addresses which are currently allocated by the target terminal and used for establishing other session connections.
9. The apparatus of claim 8, wherein the UPF switching unit is further configured to:
notifying the target terminal to modify the effective duration of the IP addresses corresponding to the session connection established between other UPFs and the target terminal, so that the effective duration of the modified IP addresses is smaller than the effective duration of the IP addresses corresponding to the target session connection; wherein the other UPFs refer to UPFs that currently have session connections with the target terminal and do not belong to the target UPF.
10. An electronic device, comprising: a processor and a memory;
the memory is used for storing machine executable instructions;
the processor is configured to read and execute the machine executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.
CN202111152734.8A 2021-09-29 2021-09-29 User plane network element UPF switching method, device and equipment Active CN113810968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111152734.8A CN113810968B (en) 2021-09-29 2021-09-29 User plane network element UPF switching method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111152734.8A CN113810968B (en) 2021-09-29 2021-09-29 User plane network element UPF switching method, device and equipment

Publications (2)

Publication Number Publication Date
CN113810968A CN113810968A (en) 2021-12-17
CN113810968B true CN113810968B (en) 2023-05-26

Family

ID=78897072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111152734.8A Active CN113810968B (en) 2021-09-29 2021-09-29 User plane network element UPF switching method, device and equipment

Country Status (1)

Country Link
CN (1) CN113810968B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118139135A (en) * 2022-12-02 2024-06-04 中国移动通信有限公司研究院 Data transmission method, device, equipment and storage medium
CN116390184A (en) * 2023-05-31 2023-07-04 阿里巴巴(中国)有限公司 User plane function network element online replacement method, network element equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510991A (en) * 2009-04-03 2009-08-19 杭州华三通信技术有限公司 Method, apparatus and system for implementing port thermal backup of video signal conference
CN108924849A (en) * 2017-04-01 2018-11-30 华为技术有限公司 A kind of session connection method for building up and control plane network element
CN109756937A (en) * 2017-11-01 2019-05-14 中国移动通信有限公司研究院 Business continuance support method, functional network element and storage medium
CN110035562A (en) * 2018-01-12 2019-07-19 华为技术有限公司 Conversation managing method, equipment and system
CN110290561A (en) * 2018-03-19 2019-09-27 大唐移动通信设备有限公司 A kind of sending method and the network equipment of local service
WO2020249032A1 (en) * 2019-06-11 2020-12-17 华为技术有限公司 Communication method and device
CN112630802A (en) * 2020-12-08 2021-04-09 中国联合网络通信集团有限公司 Obstacle detection method, device and system
CN113242293A (en) * 2021-05-08 2021-08-10 恒安嘉新(北京)科技股份公司 UPF equipment, data processing and capacity expansion method and device
WO2021179174A1 (en) * 2020-03-10 2021-09-16 Oppo广东移动通信有限公司 Data transmission method and apparatus, and network device, and terminal device
CN113438665A (en) * 2021-06-02 2021-09-24 中国联合网络通信集团有限公司 Session path optimization method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307530B (en) * 2016-09-30 2023-09-22 华为技术有限公司 Session connection establishment method, related equipment and system
CN108632904B (en) * 2017-03-24 2019-09-17 电信科学技术研究院 A kind of communication means and equipment
CN110120879B (en) * 2018-02-06 2020-12-01 华为技术有限公司 Method, device and system for guaranteeing application service level protocol
JP2022501866A (en) * 2018-08-29 2022-01-06 オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. Wireless communication method and communication device
CN111200848B (en) * 2018-11-19 2022-03-25 华为技术有限公司 Communication method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510991A (en) * 2009-04-03 2009-08-19 杭州华三通信技术有限公司 Method, apparatus and system for implementing port thermal backup of video signal conference
CN108924849A (en) * 2017-04-01 2018-11-30 华为技术有限公司 A kind of session connection method for building up and control plane network element
CN109756937A (en) * 2017-11-01 2019-05-14 中国移动通信有限公司研究院 Business continuance support method, functional network element and storage medium
CN110035562A (en) * 2018-01-12 2019-07-19 华为技术有限公司 Conversation managing method, equipment and system
CN110290561A (en) * 2018-03-19 2019-09-27 大唐移动通信设备有限公司 A kind of sending method and the network equipment of local service
WO2020249032A1 (en) * 2019-06-11 2020-12-17 华为技术有限公司 Communication method and device
WO2021179174A1 (en) * 2020-03-10 2021-09-16 Oppo广东移动通信有限公司 Data transmission method and apparatus, and network device, and terminal device
CN112630802A (en) * 2020-12-08 2021-04-09 中国联合网络通信集团有限公司 Obstacle detection method, device and system
CN113242293A (en) * 2021-05-08 2021-08-10 恒安嘉新(北京)科技股份公司 UPF equipment, data processing and capacity expansion method and device
CN113438665A (en) * 2021-06-02 2021-09-24 中国联合网络通信集团有限公司 Session path optimization method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
面向5G的端到端网络切片关键技术研究;倪春亚;;电子世界(23);全文 *

Also Published As

Publication number Publication date
CN113810968A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN113810968B (en) User plane network element UPF switching method, device and equipment
KR100451548B1 (en) Packet core function and method of selecting a packet data service node/foreign agent in a packet data network
CN112770266B (en) Method and device for processing mobility management
US10575219B2 (en) Circuit switched fallback method, network device, and system
JP2005525711A (en) Managing packet data interconnection in mobile communications
KR20100066508A (en) Mobile communication method, mobile exchange, wireless base station and mobile station
JP2010515337A (en) How to transfer voice calls
CN103841545A (en) Capability information reporting method and device in MME pool scene
JP2012530426A (en) Method and apparatus for switching between base stations
CN101610554A (en) Switching, location area updating, the method and system of setting up ISR, equipment between network
EP1400138B1 (en) Arrangement for improving the connectivity in a mobile telephone system
CN103797824A (en) Location update method, device and system
CN101523842A (en) VRM selection
CN101031146B (en) Method, apparatus and system for switching network
US20230042390A1 (en) Tunnel initiation in a communications network
CN111918272B (en) Terminal fall-back control method and device
CN104066118A (en) Load sharing method and system for switching of access modes
CN101207925B (en) Switch method, exchange equipment and terminal equipment
KR100685740B1 (en) Terminal of performing hand-over using link information of data link layer
WO2017008288A1 (en) Ip address management method, device, ip address anchor and mobile node
US20100098022A1 (en) Method and apparatus for routing a packet in mobile ip system
CN101877841A (en) Method, system and network equipment for realizing urgent services
KR100922581B1 (en) Method and apparatus for supporting seamless handover using multiple wireless interface in mobile terminal
CN117042069B (en) Path switching method and device applied to 5G core network and electronic equipment
JP3735032B2 (en) Handover method and apparatus

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