Disclosure of Invention
The invention aims to provide a session connection establishing method and an SMF entity, which are used for solving the problem that two sessions initiated by UE on the same data network cannot be connected to different user plane IP anchor points in the prior art.
In order to achieve the above object, an embodiment of the present invention provides a session connection establishing method, where the method includes:
a target Session Management Function (SMF) receives a session establishment request sent by an access and mobility management function (AMF), wherein the session establishment request is used for requesting the target SMF to establish a second session for a user terminal (UE), and the session establishment request at least carries identification information of a first session with which the UE is established to be connected;
the target SMF acquires the information of the first user plane IP anchor point connected with the first session according to the identification information of the first session;
and the target SMF selects a second user plane IP anchor point different from the first user plane IP anchor point for the second session according to the information of the first user plane IP anchor point.
Optionally, the obtaining, by the target SMF, information of the first user plane IP anchor point connected to the first session according to the identification information of the first session includes:
the target SMF judges whether the target SMF is an SMF for managing the first session according to the identification information of the first session;
if the target SMF is not the SMF for managing the first session, the target SMF sends a request message carrying identification information of the first session to the first SMF for managing the first session, wherein the request message is used for requesting to acquire information of a first user plane IP anchor point connected with the first session;
and the target SMF receives the information of the first user plane IP anchor point sent by the first SMF according to the request message.
Optionally, the sending, by the target SMF, a request message carrying the identification information of the first session to the first SMF includes:
the target SMF sends a request message carrying the identification information of the first session to the first SMF through the AMF;
the target SMF receiving the information of the first user plane IP anchor point sent by the first SMF, including:
and the target SMF receives the information of the first user plane IP anchor point, which is sent by the first SMF according to the request message, through the AMF.
Optionally, the method further comprises:
and if the target SMF is the SMF for managing the first session, the target SMF acquires the information of the first user plane IP anchor point connected with the first session from the stored session context information of the first session according to the identification information of the first session.
Optionally, the determining, by the target SMF, whether the target SMF is an SMF that manages the first session according to the identification information of the first session includes:
the target SMF judges whether the target SMF stores session context information of the first session according to the identification information of the first session;
if the target SMF stores the session context information of the first session, determining the target SMF as the SMF for managing the first session;
if the target SMF does not store the session context information of the first session, determining that the target SMF is not the SMF managing the first session.
Optionally, the information of the first user plane IP anchor is an IP address and/or a full domain name FQDN of the first user plane IP anchor.
Optionally, after the step of selecting, by the target SMF, a second user plane IP anchor different from the first user plane IP anchor for the second session according to the information of the first user plane IP anchor, the method further includes:
and the target SMF establishes user plane connection for the second session.
The embodiment of the present invention further provides a session management function SMF entity, where the session management function SMF entity is a target SMF, and the target SMF includes:
a receiving module, configured to receive a session establishment request sent by an access and mobility management function AMF, where the session establishment request is used to request the target SMF to establish a second session for a user equipment UE, and the session establishment request at least carries identification information of a first session to which the UE has established a connection;
the acquisition module is used for acquiring the information of the first user plane IP anchor point connected with the first session according to the identification information of the first session;
and the selection module is used for selecting a second user plane IP anchor point different from the first user plane IP anchor point for the second session according to the information of the first user plane IP anchor point.
Optionally, the obtaining module includes:
a judging unit, configured to judge whether the target SMF is not an SMF that manages the first session according to the identification information of the first session;
a sending unit, configured to send a request message carrying identification information of the first session to a first SMF managing the first session if the target SMF is not the SMF managing the first session, where the request message is used to request to acquire information of a first user plane IP anchor point connected to the first session;
a receiving unit, configured to receive the information of the first user plane IP anchor point, which is sent by the first SMF according to the request message.
Optionally, the sending unit is configured to send, to the first SMF, a request message carrying identification information of the first session through the AMF;
and the receiving unit is configured to receive, by the AMF, information of the first user plane IP anchor point sent by the first SMF according to the request message.
Optionally, the obtaining module further includes:
and if the target SMF is an SMF managing the first session, the target SMF acquires information of a first user plane IP anchor point connected to the first session from the stored session context information of the first session according to the identification information of the first session.
Optionally, the determining unit includes:
a determining subunit, configured to determine, according to the identifier information of the first session, whether the target SMF stores session context information of the first session;
a first determining subunit, configured to determine, if the target SMF stores session context information of the first session, that the target SMF is an SMF that manages the first session;
a second determining subunit, configured to determine that the target SMF is not an SMF that manages the first session, if the target SMF does not store the session context information of the first session.
Optionally, the information of the first user plane IP anchor is an IP address and/or a full domain name FQDN of the first user plane IP anchor.
Optionally, the target SMF further comprises:
and the establishing module is used for establishing user plane connection for the second session.
An embodiment of the present invention further provides a session management function SMF entity, which includes a memory, a processor, and a computer program that is stored in the memory and can be executed by the processor, where the processor implements the steps executed by the target SMF in any one of the above methods when executing the computer program.
Embodiments of the present invention further provide a computer-readable storage medium, in which one or more programs executable by a computer are stored, and when the one or more programs are executed by the computer, the computer executes the steps performed by the target SMF in any one of the above methods.
The technical scheme of the invention at least has the following beneficial effects:
in the embodiment of the invention, a target Session Management Function (SMF) receives a session establishment request sent by an access and mobility management function (AMF), wherein the session establishment request is used for requesting the target SMF to establish a second session for a user terminal (UE), and the session establishment request at least carries identification information of a first session with which the UE is established to be connected; the target SMF acquires the information of the first user plane IP anchor point connected with the first session according to the identification information of the first session; and the target SMF selects a second user plane IP anchor point different from the first user plane IP anchor point for the second session according to the information of the first user plane IP anchor point. In this way, the target SMF can determine information of a first user plane IP anchor connected to the first session according to the identification information of the first session, and then select a second user plane IP anchor different from the first user plane IP anchor for the second session requested to be established, thereby ensuring that two sessions initiated by the UE on the same data network are connected to different user plane IP anchors.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
A next generation (NextGen) communication system has a requirement for a session to support multiple continuity, and for this reason, three continuity modes SSC mode (Service and session continuity mode) are defined in the next generation communication system, which are SSC mode 1, SSC mode 2, and SSC mode 3, respectively. Wherein, the SSC mode 1 refers to allocating a user plane IP anchor point for a session, and the user plane IP anchor point is required to be kept unchanged in the whole survival period of the session; SSC mode 2 means that a user plane IP anchor point allocated for one session can only be maintained in a certain service area, and when UE moves out of the service area of the user plane IP anchor point, the UE needs to be connected with other user plane IP anchor points; SSC mode 3 refers to a first session previously selected with a first user plane IP anchor and established to a DN, and the UE establishes a second session to the same DN as the DN to which the first session is connected before the connection of the first session to the first user plane IP anchor is terminated and selects a second user plane IP anchor different from the first user plane IP anchor for the second session, and the UE can transfer data flow from the first session to the second session and then delete the first session.
Based on the definition of the SSC mode 3, the present invention provides a session connection establishment method, which is used to ensure that two sessions initiated by a UE on the same data network are connected to different user plane IP anchors. The UE of the present invention may be a terminal Device such as a Mobile phone, a Computer, a home appliance, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), or a Wearable Device (Wearable Device). It should be noted that, in the embodiment of the present invention, the specific type of the UE is not limited. The session in the present invention may be a PDU (Protocol Data Unit) session, or may be other sessions, which is not limited herein.
In the embodiment of the present invention, the main functions of the SMF include forwarding and detecting of packets, session control, selection of user plane functions, allocation of UE IP addresses (the connection type is IP), and the like. The main functions of the AMF (Access and mobility management Function) include managing and maintaining registration and deregistration Network states of the UE, managing a connection state of the UE, terminating NAS (Non Access Stratum) connection with the UE, and N2 signaling connection with RAN (Radio Access Network). It should be noted that the "target" two words in the target SMF in the embodiment of the present invention do not specifically limit the SMF, and are only used to distinguish from the "first SMF" in the following, that is, the target SMF in the embodiment of the present invention may be any SMF. The User plane IP anchor point in the embodiment of the present invention is a UPF (User plane function) to which a session is finally connected.
Referring to fig. 1, fig. 1 is a schematic flowchart of a session connection establishment method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101, a target SMF receives a session establishment request sent by an AMF, where the session establishment request is used to request the target SMF to establish a second session for a UE, and the session establishment request carries at least identification information of a first session established by the UE.
And step 102, the target SMF acquires the information of the first user plane IP anchor point connected with the first session according to the identification information of the first session.
Step 103, the target SMF selects a second user plane IP anchor point different from the first user plane IP anchor point for the second session according to the information of the first user plane IP anchor point.
In this embodiment, the target SMF receives a session establishment request sent by the AMF, where the session establishment request is used to request the target SMF to establish a second session for the UE. In this embodiment, when the UE determines that a new SSCmode 3 session needs to be established, the UE sends a session establishment request carrying identification information of a first session to which the UE has established a connection, to the AMF, so as to request establishment of a second session. And after receiving the session establishment request, the AMF selects a target SMF for the second session based on the session establishment request and sends the session establishment request to the target SMF.
For example, referring to fig. 2, fig. 2 is a schematic diagram of data transmission according to an embodiment of the present invention, as shown in fig. 2, when the UE receives a network (e.g., a first SMF managing the first session) indicating that a new SSC mode 3 session is to be established, the UE allocates an identification information, e.g., an identification code (ID) of the second session, to the session to be newly established (i.e., the second session). And the UE initiates a session establishment request to the AMF, and after receiving the session establishment request, the AMF selects a target SMF for the second session according to the session establishment request and sends the session establishment request to the target SMF. It is understood that the target SMF selected by the AMF for the second session may be the same SMF as the first SMF connected to the first session, or may be a different SMF from the SMF. The session establishment request at least carries identification information of a first session to which the UE has established a connection, and it can be understood that the session establishment request may also carry identification information of a second session, an SSC mode type, information of a DN to which the first session is connected, and the like. The identification information of the first session may be an identification code (ID) of the first session, and the identification information of the second session may be an identification code of the second session. It should be noted that, in the embodiment of the present invention, all steps performed by the target SMF are performed in the case that the SSC mode type requested by the UE is SSC mode 3.
And the target SMF acquires the information of the first user plane IP anchor point connected with the first session according to the identification information of the first session in the session establishing request. The target SMF obtains information of the first user plane IP anchor from a first SMF managing the first session, specifically, if the target SMF is an SMF connected to the first session, that is, if the target SMF is the same SMF as the first SMF managing the first session, it indicates that the target SMF stores information (for example, session context information) of the first session, and the target SMF directly obtains information of the first user plane IP anchor connected to the first session from information stored in the target SMF; and if the target SMF is not the SMF for managing the first session connection, namely the target SMF and the first SMF for managing the first session are different SMFs, the target SMF acquires the information of the first user plane IP anchor point from the first SMF.
In this embodiment of the present invention, after receiving the session establishment request, the target SMF may determine, according to the identification information of the first session in the session establishment request, whether the target SMF is an SMF that manages the first session, and then further determine, according to a determination result, a manner of acquiring the first user plane IP anchor. Specifically, if the target SMF is an SMF that manages the first session, the target SMF obtains information of a first user plane IP anchor point connected to the first session from session context information of the first session that is stored in the target SMF; on the contrary, if the target SMF is not the SMF managing the first session, the target SMF sends a request message to the first SMF managing the first session to request to acquire information of the first user plane IP anchor connected to the first session.
And the target SMF selects a second user plane IP anchor point different from the first user plane IP anchor point for the second session according to the information of the first user plane IP anchor point. The information of the first user plane IP anchor may be an IP address of the first user plane IP anchor, or may be an FQDN (full Qualified domain name) of the first user plane IP anchor. In this step, the target SMF selects a second user plane IP anchor point different from the first user plane IP anchor point for the second session according to the acquired information of the first user plane IP anchor point. In this way, the method can ensure that two sessions initiated by the UE on the same DN are connected to different user plane IP anchors, thus implementing the functionality of SSC mode 3.
Optionally, the obtaining, by the target SMF, information of the first user plane IP anchor point connected to the first session according to the identification information of the first session includes:
the target SMF judges whether the target SMF is an SMF for managing the first session according to the identification information of the first session;
if the target SMF is not the SMF for managing the first session, the target SMF sends a request message carrying identification information of the first session to the first SMF for managing the first session, wherein the request message is used for requesting to acquire information of a first user plane IP anchor point connected with the first session;
and the target SMF receives the information of the first user plane IP anchor point sent by the first SMF according to the request message.
In this embodiment, the manner in which the target SMF acquires the information of the first user plane IP anchor is determined by determining whether the target SMF is an SMF that manages the first session, and then further determining the manner in which the first user plane IP anchor is acquired according to the determination result. Specifically, if the target SMF is not the SMF managing the first session, the target SMF determines, according to the identification information of the first session, the first SMF managing the first session, and then sends a request message to the first SMF, where the request message is used to request to acquire information of a first user plane IP anchor point connected to the first session. And after receiving the request message, the first SMF sends the information of the first user plane IP anchor point to the target SMF according to the request message.
Similarly, the target SMF may receive the information of the first user plane IP anchor point sent by the first SMF, and the target SMF may receive the first user plane IP anchor point sent by the first SMF. Specifically, as shown in fig. 2, the target SMF may send the request message to the AMF first, the AMF may forward the request message to the first SMF after receiving the request message, and the first SMF may obtain the information of the first user plane IP anchor point connected to the first session according to the request message after receiving the request message, and then send the information of the first user plane IP anchor point to the AMF.
The manner of determining, by the target SMF, whether the target SMF is an SMF that manages the first session may be by determining whether the target SMF stores session context information of the first session, or by determining whether identification information of a first SMF that manages the first session is identification information of the target SMF itself. For example, the target SMF may determine whether session context information of the first session is stored according to the identification information of the first session, and if the target SMF determines that the session context information of the first session is stored, the target SMF determines that the target SMF is an SMF that manages the first session, that is, the target SMF and the first SMF that manages the first session are the same SMF; conversely, if the target SMF does not maintain session context information associated with the first session, the target SMF determines that the target SMF is not the first session connection, i.e., the target SMF is a different SMF than the first SMF managing the first session.
In addition, the target SMF may further determine whether the target SMF is an SMF that manages the first session by determining whether the identification information of the first SMF that manages the first session is the identification information of the target SMF itself, and specifically, if the identification information of the first SMF that manages the first session is the identification information of the target SMF itself, the target SMF determines that the target SMF is an SMF that manages the first session; conversely, if the identification information of the first SMF managing the first session is not the identification information of the target SMF itself, the target SMF determines that the target SMF is not the SMF managing the first SMF. In the embodiment of the present invention, the session establishment request may carry identification information of the first SMF that manages the first session, or may not carry identification information of the first SMF that manages the first session. Specifically, if the session establishment request carries the identification information of the first SMF, the target SMF directly obtains the identification information of the first SMF in the session establishment request, and determines whether the identification information of the first SMF is the same as the identification information of the target SMF; if the session establishment request does not carry the identification information of the first SMF, the target SMF may request the AMF to acquire the identification information of the first SMF managing the first session, and then determine whether the received identification information of the first SMF is the same as the identification information of the target SMF.
It can be understood that the request message of the present invention may or may not carry the identification information of the first SMF. Specifically, if the request message carries the identifier information of the first SMF, the AMF directly forwards the request message to the first SMF according to the identifier information of the first SMF after receiving the request message; conversely, if the request message does not carry the identifier information of the first SMF, the request message at least carries the identifier information of the first session, and after receiving the request message, the AMF determines, according to the identifier information of the first session, a first SMF that manages the first session, and then sends the request message to the determined first SMF.
Optionally, the sending, by the target SMF, a request message carrying the identification information of the first session to the first SMF includes:
the target SMF sends a request message carrying the identification information of the first session to the first SMF through the AMF;
the target SMF receiving the information of the first user plane IP anchor point sent by the first SMF, including:
and the target SMF receives the information of the first user plane IP anchor point, which is sent by the first SMF according to the request message, through the AMF.
In this embodiment, the way that the target SMF sends the request message carrying the identification information of the first session to the first SMF is sending through the AMF, and the way that the SMF receives the information of the first user plane IP anchor point sent by the first SMF is receiving through the AMF. Specifically, as shown in fig. 2, the target SMF sends a request message carrying identification information of the first session to the AMF, the AMF forwards the request message to the first SMF, the first SMF sends information of the first user plane IP anchor point to the AMF after receiving the request message, and the AMF forwards the information of the first user plane IP anchor point to the SMF.
Optionally, the method further comprises:
and if the target SMF is the SMF for managing the first session, the target SMF acquires the information of the first user plane IP anchor point connected with the first session from the stored session context information of the first session according to the identification information of the first session.
As shown in fig. 3, in this embodiment, if the target SMF is an SMF that manages the first session, session context information of the first session is necessarily stored in the target SMF, and the target SMF acquires information of the first user plane IP anchor point connected to the first session from the stored session context information of the first session according to the identification information of the first session.
Optionally, the determining, by the target SMF, whether the target SMF is an SMF that manages the first session according to the identification information of the first session includes:
the target SMF judges whether the target SMF stores session context information of the first session according to the identification information of the first session;
if the target SMF stores the session context information of the first session, determining the target SMF as the SMF for managing the first session;
if the target SMF does not store the session context information of the first session, determining that the target SMF is not the SMF managing the first session.
In this embodiment, the target SMF determines whether to connect to the first session by determining whether to store the session context information of the first session, and if the target SMF stores the session context information of the first session, the target SMF determines that the target SMF is an SMF that manages the first session; conversely, if the target SMF does not store the session context information of the first session, the target SMF determines that the target SMF is not the SMF that manages the first session. Specifically, the target SMF may search, according to the identification information of the first session, from the stored session context information, whether a session context matching the identification information of the first session exists, and if a session context matching the identification information of the first session exists, the target SMF determines that the target SMF stores the session context information of the first session; and if the session context matched with the identification information of the first session does not exist, the target SMF determines that the target SMF does not store the context information of the first session.
Optionally, the information of the first user plane IP anchor is an IP address and/or a full domain name FQDN of the first user plane IP anchor.
In this embodiment, the information of the first user plane IP anchor may be an IP address of the first user plane IP anchor, an FQDN of the first user plane IP anchor, an IP address of the first user plane IP anchor, and an FQDN of the first user plane IP anchor.
Optionally, after the step of selecting, by the target SMF, a second user plane IP anchor different from the first user plane IP anchor for the second session according to the information of the first user plane IP anchor, the method further includes:
and the target SMF establishes user plane connection for the second session.
In this embodiment, after selecting the second user plane IP anchor for the second session, the target SMF further establishes a user plane connection for the second session according to the second user plane IP anchor.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a target SMF according to an embodiment of the present invention, and as shown in fig. 4, the target SMF includes:
a receiving module 401, configured to receive a session establishment request sent by an access and mobility management function AMF, where the session establishment request is used to request the target SMF to establish a second session for a user equipment UE, and the session establishment request at least carries identification information of a first session to which the UE has established a connection;
an obtaining module 402, configured to obtain information of a first user plane IP anchor point connected to the first session according to the identification information of the first session;
a selecting module 403, configured to select, according to the information of the first user plane IP anchor, a second user plane IP anchor different from the first user plane IP anchor for the second session.
Optionally, referring to fig. 5, fig. 5 is a schematic structural diagram of another target SMF provided in the embodiment of the present invention, and as shown in fig. 5, the obtaining module 402 includes:
a determining unit 4021, configured to determine whether the target SMF is an SMF that manages the first session according to the identification information of the first session;
a sending unit 4022, configured to send a request message carrying identification information of the first session to a first SMF managing the first session if the target SMF is not the SMF managing the first session, where the request message is used to request to acquire information of a first user plane IP anchor point connected to the first session;
a receiving unit 4023, configured to receive the information of the first user plane IP anchor point sent by the first SMF according to the request message.
Optionally, the sending unit 4022 is configured to send, to the first SMF, a request message carrying identification information of the first session through the AMF;
the receiving unit 4023 is configured to receive, by the AMF, information of the first user plane IP anchor point sent by the first SMF according to the request message.
Optionally, referring to fig. 6, fig. 6 is a schematic structural diagram of another target SMF provided in the embodiment of the present invention, and as shown in fig. 6, the obtaining module 402 further includes:
an obtaining unit 4024, configured to, if the target SMF is an SMF that manages the first session, obtain, by the target SMF, information of the first user plane IP anchor point connected to the first session from the stored session context information of the first session according to the identification information of the first session.
Optionally, referring to fig. 7, fig. 7 is a schematic structural diagram of another target SMF provided in the embodiment of the present invention, and as shown in fig. 7, the determining unit 4021 includes:
a determining subunit 40211, configured to determine, according to the identifier information of the first session, whether the target SMF stores session context information of the first session;
a first determining subunit 40212, configured to determine, if the target SMF stores the session context information of the first session, that the target SMF is an SMF that manages the first session;
a second determining subunit 40213, configured to determine that the target SMF is not the SMF that manages the first session, if the target SMF does not store the session context information of the first session.
Optionally, the information of the first user plane IP anchor is an IP address and/or a full domain name FQDN of the first user plane IP anchor.
Optionally, referring to fig. 8, fig. 8 is a schematic structural diagram of another target SMF provided in the embodiment of the present invention, and as shown in fig. 8, the target SMF further includes:
an establishing module 404, configured to establish a user plane connection for the second session.
It should be noted that, in this embodiment, the target SMF may be the target SMF in the embodiment shown in fig. 1 to 3, and any implementation of the target SMF in the embodiment shown in fig. 1 to 3 may be implemented by the target SMF in this embodiment, and the same beneficial effects are achieved, and details are not repeated here.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a target SMF according to an embodiment of the present invention, and as shown in fig. 9, the target SMF includes: a processor 900, a transceiver 910, a memory 920, a user interface 930, and a bus interface, wherein:
a processor 900 for reading the program in the memory 920, executing the following processes:
receiving a session establishment request sent by an access and mobility management function (AMF), wherein the session establishment request is used for requesting the target SMF to establish a second session for a User Equipment (UE), and the session establishment request at least carries identification information of a first session with which the UE has established connection;
acquiring information of a first user plane IP anchor point connected with the first session according to the identification information of the first session;
and selecting a second user plane IP anchor point different from the first user plane IP anchor point for the second session according to the information of the first user plane IP anchor point.
Among other things, the transceiver 910 is configured to receive and transmit data under the control of the processor 900.
In fig. 9, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors, represented by processor 900, and memory, represented by memory 920. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 910 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The user interface 930 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 900 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 900 in performing operations.
Optionally, the acquiring, by the processor 900, information of the first user plane IP anchor point connected to the first session according to the identification information of the first session includes:
judging whether the target SMF is the SMF for managing the first session or not according to the identification information of the first session;
if the target SMF is not the SMF for managing the first session, sending a request message carrying identification information of the first session to the first SMF for managing the first session, wherein the request message is used for requesting to acquire information of a first user plane IP anchor point connected with the first session;
and receiving the information of the first user plane IP anchor point sent by the first SMF according to the request message.
Optionally, the sending, by the processor 900, a request message carrying the identification information of the first session to the first SMF includes:
sending a request message carrying the identification information of the first session to the first SMF through the AMF;
the processor 900 receives the information of the first user plane IP anchor point sent by the first SMF, including:
and receiving the information of the first user plane IP anchor point, which is sent by the first SMF according to the request message, through the AMF.
Optionally, the processor 900 is further configured to:
and if the target SMF is the SMF for managing the first session, acquiring information of a first user plane IP anchor point connected with the first session from the stored session context information of the first session according to the identification information of the first session.
Optionally, the determining, by the processor 900, whether the target SMF is an SMF managing the first session according to the identification information of the first session includes:
judging whether the target SMF stores session context information of the first session or not according to the identification information of the first session;
if the target SMF stores the session context information of the first session, determining the target SMF as the SMF for managing the first session;
if the target SMF does not store the session context information of the first session, determining that the target SMF is not the SMF managing the first session.
Optionally, the information of the first user plane IP anchor is an IP address and/or a full domain name FQDN of the first user plane IP anchor.
Optionally, after the processor 900 selects a second user plane IP anchor different from the first user plane IP anchor for the second session according to the information of the first user plane IP anchor, the processor 900 is further configured to:
and establishing user plane connection for the second session.
It should be noted that, in this embodiment, the target SMF may be the target SMF in the embodiment shown in fig. 1 to 3, and any implementation of the target SMF in the embodiment shown in fig. 1 to 3 may be implemented by the target SMF in this embodiment, and the same beneficial effects are achieved, and details are not repeated here.
It will be understood by those skilled in the art that all or part of the steps of the method for implementing the above embodiments may be implemented by hardware associated with program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program includes the following steps:
receiving a session establishment request sent by an access and mobility management function (AMF), wherein the session establishment request is used for requesting the target SMF to establish a second session for a User Equipment (UE), and the session establishment request at least carries identification information of a first session with which the UE has established connection;
acquiring information of a first user plane IP anchor point connected with the first session according to the identification information of the first session;
and selecting a second user plane IP anchor point different from the first user plane IP anchor point for the second session according to the information of the first user plane IP anchor point.
Optionally, the obtaining information of the first user plane IP anchor point connected to the first session according to the identification information of the first session includes:
judging whether the target SMF is the SMF for managing the first session or not according to the identification information of the first session;
if the target SMF is not the SMF for managing the first session, sending a request message carrying identification information of the first session to the first SMF for managing the first session, wherein the request message is used for requesting to acquire information of a first user plane IP anchor point connected with the first session;
and receiving the information of the first user plane IP anchor point sent by the first SMF according to the request message.
Optionally, the sending, to the first SMF, the request message carrying the identification information of the first session includes:
sending a request message carrying the identification information of the first session to the first SMF through the AMF;
the receiving the information of the first user plane IP anchor point sent by the first SMF includes:
and receiving the information of the first user plane IP anchor point, which is sent by the first SMF according to the request message, through the AMF.
Optionally, the program further performs the steps of:
and if the target SMF is the SMF for managing the first session, acquiring information of a first user plane IP anchor point connected with the first session from the stored session context information of the first session according to the identification information of the first session.
Optionally, the determining, according to the identifier information of the first session, whether the target SMF is an SMF that manages the first session includes:
judging whether the target SMF stores session context information of the first session or not according to the identification information of the first session;
if the target SMF stores the session context information of the first session, determining the target SMF as the SMF for managing the first session;
if the target SMF does not store the session context information of the first session, determining that the target SMF is not the SMF managing the first session.
Optionally, the information of the first user plane IP anchor is an IP address and/or a full domain name FQDN of the first user plane IP anchor.
Optionally, after the step of selecting a second user plane IP anchor point different from the first user plane IP anchor point for the second session according to the information of the first user plane IP anchor point, the program further performs the following steps:
and the target SMF establishes user plane connection for the second session.
The storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.