Disclosure of Invention
The embodiment of the invention provides a path switching method and network equipment, which are used for solving the technical problem that double-registered UE (user equipment) cannot correctly switch a user plane data transmission path between a 5G system and an EPS system.
The embodiment of the invention provides the following specific technical scheme:
in a first aspect, an embodiment of the present invention provides a path switching method, including:
acquiring indication information and session identification information, wherein the indication information is used for indicating that switching of a user plane data transmission path is required, and the session identification information is used for indicating a session which is required to switch the user plane data transmission path;
determining a PDU session and a PDN connection associated with the PDU session based on the session identification information, wherein the PDN connection and the PDU session are established by the UE based on the same APN or DNN;
switching a path of user plane data transmission between the PDU session and the PDN connection based on the indication information.
In a possible implementation, the indication information and the session identification information are information sent by the UE when it is determined that the user plane data transmission path needs to be switched between the PDU session and the PDN connection.
In a possible embodiment, the switching a path of user plane data transmission between the PDU session and the PDN connection based on the indication information specifically includes:
generating user plane tunnel configuration information of the PDU session and the PDN connection based on the indication information;
and configuring the user plane tunnel configuration information to the user plane gateway anchor point, so that the user plane gateway anchor point switches the user plane data transmission path between the PDU session and the PDN connection.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDU session to the PDN connection, the user plane tunnel configuration information includes:
deleting or deactivating the user plane tunnel of the PDU session; and
and creating or activating a user plane tunnel of the PDN connection.
In a possible implementation, the indication information is specifically indication information for deleting or deactivating the user plane tunnel of the PDU session; or the indication information is specifically indication information for creating or activating a user plane tunnel connected to the PDN.
In a possible embodiment, the indication information is specifically indication information received from the UE in a 5G system; or
The indication information is specifically indication information received from the UE in the EPS system; or
The indication information is specifically indication information received from an MME during a process of switching from an idle state to a connected state by the UE in the EPS system.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDN connection to the PDU session, the user plane tunnel configuration information includes:
creating or activating a user plane tunnel of the PDU session; and
and deleting or deactivating the user plane tunnel of the PDN connection.
In a possible embodiment, when the UE is in a connected state in a 5G system, the indication information is specifically indication information received from the UE to create or activate the PDU session user plane transport tunnel;
when the UE performs idle state to connected state transition in the 5G system, the indication information is specifically indication information received from the AMF to activate the PDU session.
In a possible embodiment, when the UE performs transition from an idle state to a connected state in a 5G system, the indication information is specifically indication information received from an AMF and used for activating the PDU session, and specifically is:
the indication information is the indication information which is generated by the AMF after receiving the service request message which is sent by the UE and carries the session identifier and activates the PDU session.
In a possible embodiment, before the obtaining the indication information and the session identification information, the method further includes:
receiving a PDU session establishment request sent by the UE, and determining that the UE has established a PDN connection to an APN with the same meaning as the DNN according to a permanent identifier (SUPI) of a subscriber of the UE and the DNN in the PDU session establishment request;
establishing the PDU session for the UE, and allocating an IP address which is the same as the PDN connection for the PDU session; or
Before the obtaining the indication information and the session identification information, the method further includes:
receiving a PDN connection establishment request sent by the UE, and determining that the UE has established a PDU session to DNN same as the APN according to the IMSI of the UE and the APN in the PDN connection establishment request;
and establishing the PDN connection for the UE, and allocating the same IP address as the PDU session for the PDN connection.
In a second aspect, an embodiment of the present invention provides a network device, including:
the device comprises an acquisition module, a switching module and a processing module, wherein the acquisition module is used for acquiring indication information and session identification information, the indication information is used for indicating that switching of a user plane data transmission path is required, and the session identification information is used for indicating a session which is required to switch the user plane data transmission path;
a determining module, configured to determine, based on the session identification information, a PDU session and a PDN connection associated with the PDU session, where the PDN connection and the PDU session are established by a UE based on a same APN or DNN;
and a path switching module, configured to switch a path for user plane data transmission between the PDU session and the PDN connection based on the indication information.
In a possible implementation, the indication information and the session identification information are information sent by the UE when it is determined that the user plane data transmission path needs to be switched between the PDU session and the PDN connection.
In a possible embodiment, the path switching module is specifically configured to:
generating user plane tunnel configuration information of the PDU session and the PDN connection based on the indication information;
and configuring the user plane tunnel configuration information to the user plane gateway anchor point, so that the user plane gateway anchor point switches the user plane data transmission path between the PDU session and the PDN connection.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDU session to the PDN connection, the user plane tunnel configuration information includes:
deleting or deactivating the user plane tunnel of the PDU session; and
and creating or activating a user plane tunnel of the PDN connection.
In a possible implementation manner, the indication information is specifically indication information for deleting or deactivating a user plane tunnel of the PDU session; or the indication information is specifically indication information for creating or activating a user plane tunnel connected to the PDN.
In a possible embodiment, the indication information is specifically indication information received from the UE in a 5G system; or
The indication information is specifically indication information received from the UE in the EPS system; or
The indication information is specifically indication information received from an MME during a process of switching from an idle state to a connected state by the UE in the EPS system.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDN connection to the PDU session, the user plane tunnel configuration information includes:
creating or activating a user plane tunnel of the PDU session; and
and deleting or deactivating the user plane tunnel of the PDN connection.
In a possible embodiment, when the UE is in a connected state in a 5G system, the indication information is specifically indication information received from the UE to create or activate the PDU session user plane transport tunnel;
when the UE performs idle state to connected state transition in the 5G system, the indication information is specifically indication information received from the AMF to activate the PDU session.
In a possible embodiment, when the UE performs transition from an idle state to a connected state in a 5G system, the indication information is specifically indication information received from an AMF and used for activating the PDU session, and specifically is:
the indication information is the indication information which is generated by the AMF after receiving the service request message which is sent by the UE and carries the session identifier and activates the PDU session.
In a possible embodiment, the apparatus further comprises:
a session establishing unit, configured to receive, before the obtaining indication information and the session identifier information, a PDU session establishment request sent by the UE, and determine, according to a persistent subscriber identity SUPI of the UE and a DNN in the PDU session establishment request, that the UE has established a PDN connection to an APN having a same meaning as the DNN; establishing the PDU session for the UE, and allocating an IP address which is the same as the PDN connection for the PDU session;
a connection establishing unit, configured to receive a PDN connection establishment request sent by the UE before the obtaining of the indication information and the session identification information, and determine that the UE has established a PDU session to a DNN that is the same as an APN according to the IMSI of the UE and the APN in the PDN connection establishment request; and establishing the PDN connection for the UE, and allocating the same IP address as the PDU session for the PDN connection.
In a third aspect, an embodiment of the present invention provides a network device, including a processor, a memory, and a transceiver, where the transceiver receives and transmits data under the control of the processor, the memory stores a preset program, the processor reads the program in the memory, and executes the following processes according to the program:
the processor acquires indication information and session identification information, wherein the indication information is used for indicating that switching of a user plane data transmission path is required, and the session identification information is used for indicating a session which is required to switch the user plane data transmission path;
the processor determines a PDU session and a PDN connection associated with the PDU session based on the session identification information, wherein the PDN connection and the PDU session are established by the UE based on the same APN or DNN;
and the processor switches a path of user plane data transmission between the PDU session and the PDN connection based on the indication information.
In a possible implementation, the indication information and the session identification information are information sent by the UE when it is determined that the user plane data transmission path needs to be switched between the PDU session and the PDN connection.
In a possible embodiment, the processor generates user plane tunnel configuration information of the PDU session and the PDN connection based on the indication information;
and the processor configures the user plane tunnel configuration information to a user plane gateway anchor point, so that the user plane gateway anchor point switches a user plane data transmission path between the PDU session and the PDN connection.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDU session to the PDN connection, the user plane tunnel configuration information includes:
deleting or deactivating the user plane tunnel of the PDU session; and
and creating or activating a user plane tunnel of the PDN connection.
In a possible implementation manner, the indication information is specifically indication information for deleting or deactivating a user plane tunnel of the PDU session; or the indication information is specifically indication information for creating or activating a user plane tunnel connected to the PDN.
In a possible embodiment, the indication information is specifically indication information received from the UE in a 5G system; or
The indication information is specifically indication information received from the UE in the EPS system; or
The indication information is specifically indication information received from an MME during a process of switching from an idle state to a connected state by the UE in the EPS system.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDN connection to the PDU session, the user plane tunnel configuration information includes:
creating or activating a user plane tunnel of the PDU session; and
and deleting or deactivating the user plane tunnel of the PDN connection.
In a possible embodiment, when the UE is in a connected state in a 5G system, the indication information is specifically indication information received from the UE to create or activate the PDU session user plane transport tunnel;
when the UE performs idle state to connected state transition in the 5G system, the indication information is specifically indication information received from the AMF to activate the PDU session.
In a possible embodiment, when the UE performs transition from an idle state to a connected state in a 5G system, the indication information is specifically indication information received from an AMF and used for activating the PDU session, and specifically is:
the indication information is the indication information which is generated by the AMF after receiving the service request message which is sent by the UE and carries the session identifier and activates the PDU session.
In a possible embodiment, before the obtaining of the indication information and the session identification information, the processor receives a PDU session establishment request sent by the UE, and determines that the UE has established a PDN connection to an APN having the same meaning as DNN according to a subscriber permanent identity SUPI of the UE and DNN in the PDU session establishment request; establishing the PDU session for the UE, and allocating an IP address which is the same as the PDN connection for the PDU session; or
Before the indication information and the session identification information are acquired, a processor receives a PDN connection establishment request sent by the UE, and determines that the UE has established a PDU session to the DNN same as the APN according to the IMSI of the UE and the APN in the PDN connection establishment request; and establishing the PDN connection for the UE, and allocating the same IP address as the PDU session for the PDN connection.
Based on the above technical solution, the embodiment of the present invention provides a method for switching a data plane transmission path between a 5G system and an EPS system by a dual-registered UE, where a path for user plane data transmission is switched between a PDU session in the 5G system and a PDN connection in the EPS system based on indication information of the UE and session identification information that needs to be switched on the user plane data transmission path. The technical problem that the UE with double registration in the prior art can not correctly switch the user plane data transmission path between the 5G system and the EPS system can be effectively solved. The reasonable switching path is distributed to the UE, so that the UE can correctly switch the user plane data transmission path between the 5G system and the EPS system.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiment of the present invention, as shown in fig. 2, the path switching process is as follows:
step 101: acquiring indication information and session identification information, wherein the indication information is used for indicating that switching of a user plane data transmission path is required, and the session identification information is used for indicating a session which is required to switch the user plane data transmission path;
the indication information and the session identification information are information sent by the UE when the UE determines that the user plane data transmission path needs to be switched between the PDU session and the PDN connection;
step 102: determining a PDU session and a PDN connection associated with the PDU session based on the session identification information, wherein the PDN connection and the PDU session are established by the UE based on the same APN or DNN;
step 103: switching a path of user plane data transmission between the PDU session and the PDN connection based on the indication information; the method specifically comprises the following steps: generating user plane tunnel configuration information of the PDU session and the PDN connection based on the indication information; and configuring the user plane tunnel configuration information to the user plane gateway anchor point, so that the user plane gateway anchor point switches the user plane data transmission path between the PDU session and the PDN connection.
And, before the obtaining the indication information and the session identification information, the method further comprises:
receiving a PDU session establishment request sent by the UE, and determining that the UE has established a PDN connection to an APN with the same meaning as the DNN according to a permanent identifier (SUPI) of a subscriber of the UE and the DNN in the PDU session establishment request; establishing the PDU session for the UE, and allocating an IP address which is the same as the PDN connection for the PDU session; or
Before the obtaining the indication information and the session identification information, the method further includes:
receiving a PDN connection establishment request sent by the UE, and determining that the UE has established a PDU session to DNN same as the APN according to the IMSI of the UE and the APN in the PDN connection establishment request; and establishing the PDN connection for the UE, and allocating the same IP address as the PDU session for the PDN connection.
Specifically, in this embodiment, when the UE is in a connected state, after it is determined that the currently connected network cannot continue to provide services, the UE determines that switching of a user plane data transmission path needs to be performed between a PDU session and a PDN connection. The UE sends indication information and corresponding session identification information in the 5G system, wherein the indication information is used for indicating that the PGW-C + SMF needs to switch the user plane data transmission path, and the session identification information is used for indicating the session which needs to switch the user plane data transmission path.
As shown in fig. 3, a certain session or connection is created in an EPS system or a 5G system by a UE, and since the UE moves, the UE finds that the signal quality of the current system is not good and needs to execute inter-system movement, the UE initiates a registration or attach process in a new system, initiates a session or connection establishment request, and sends corresponding indication information and session identification information, where the indication information is used to indicate that the UE needs to perform switching of a user plane data transmission path between a PDU session and a PDN connection. The session or connection establishment request carries an HO flag, and after receiving the session or connection establishment request, the PGW-C + SMF judges that the connection or session to the same APN or DNN needs to be established for the UE in the new system according to the HO flag, so that the PGW-C + SMF determines the corresponding PDU session according to the session identification information, checks the PDU session context based on the IMSI and APN (or DNN) of the UE, obtains the IP address allocated to the UE by the PDU session or PDN connection in the previous system, allocates the same IP address for the UE in the new system, and establishes a new PDU session or PDN connection context for the UE in the new system. The method comprises the steps that a PGW-C + SMF carries out association of a PDN connection context and a PDU session context according to an IMSI and an APN, then the PGW-C + SMF generates user plane tunnel configuration information of the PDU session and the PDN connection according to user instructions, and the PGW-C + SMF configures the user plane tunnel configuration information to a user plane gateway anchor point PGW-U + UPF so that the user plane gateway anchor point can switch a user plane data transmission path between the PDU session and the PDN connection.
Specifically, if the UE creates a PDU session of the DNN when the UE is connected to the 5G system, it is determined that the signal quality of the currently connected 5G system is not good due to the movement of the UE, and it is determined that the currently connected 5G system cannot continue to provide services. Therefore, the UE initiates a registration or attach procedure to the EPS system, initiates a PDN connection establishment request, and sends indication information and session identification information, where the indication information is used to indicate that the UE needs to be switched from a 5G system PDU session to an EPS system PDN connection. The PDN connection establishment request carries an HO flag, and after the PDN connection establishment request is received by the PGW-C + SMF, the PDN connection which is required to be established to the APN same as the DNN in the EPS system for the UE is judged according to the HO flag. And the PGW-C + SMF establishes PDN connection for the UE and allocates the same IP address as the PDU session for the PDN connection. Then, PGW-C + SMF creates a PDN connection context for the UE in the EPS system. And the PGW-C + SMF determines a corresponding PDU session according to the session identification information, further associates a PDN connection context with the PDU session context according to the IMSI and the APN, and then generates a user plane configuration instruction, and the PGW-C + SMF configures the user plane tunnel configuration information to a user plane gateway anchor point PGW-U + UPF, so that the user plane gateway anchor point switches the path of user plane data transmission from the 5G system PDU session to the EPS system PDN connection.
Specifically, if the UE establishes a PDN connection for the APN when the UE connects to the EPS system, it is determined that the signal quality of the currently connected EPS system is not good due to the movement of the UE, and it is determined that the currently connected EPS system cannot continue to provide services. Therefore, the UE initiates a registration or attach procedure to the 5G system, initiates a PDU session establishment request, and sends indication information and session identification information, where the indication information is used to indicate that the UE needs to be switched from the EPS system PDN connection to the 5G system PDU session. The PDU session establishment request carries an HO flag, and after the PDU session establishment request is received by the PGW-C + SMF, the PDU session needing to be established for the UE to the DNN same as the APN in the 5G system is judged according to the HO flag. And the PGW-C + SMF establishes the PDU session indicated by the session identification information for the UE according to the session identification information and allocates the IP address which is the same as the PDN connection for the PDU session. PGW-C + SMF then creates a PDU session context for the UE in the 5G system. And the PGW-C + SMF carries out association of PDN connection context and PDU session context according to the IMSI and the APN, then generates a user plane configuration instruction, and the PGW-C + SMF configures the user plane tunnel configuration information to a user plane gateway anchor point PGW-U + UPF, so that the user plane gateway anchor point switches the path of user plane data transmission from the EPS system PDN connection to the 5G system PDU session.
In this embodiment, due to the mobility of the UE, the UE needs to switch the path for user plane data transmission between the 5G system and the EPS system. When performing path switching, the following two cases are mainly used:
the first method comprises the following steps: the UE is switched from the 5G system to the EPS system, at this time, the indication information is used for indicating that the path of the user plane data transmission is switched from the PDU session to the PDN connection, and the user plane tunnel configuration information includes:
deleting or deactivating the user plane tunnel of the PDU session; and
and creating or activating a user plane tunnel of the PDN connection.
The indication information is specifically indication information for deleting or deactivating a user plane tunnel of the PDU session; or the indication information is specifically indication information for creating or activating a user plane tunnel connected to the PDN. The indication information is specifically indication information received from the UE in a 5G system; or the indication information is specifically indication information received from the UE in the EPS system; or the indication information is specifically indication information received from an MME during the transition from the idle state to the connected state of the UE in the EPS system.
Specifically, in this embodiment, a process of switching the UE from the 5G system to the EPS system is as shown in fig. 4, where the UE establishes a PDN connection in the EPS system using the same APN, establishes a PDU session with the 5G system, and the UE is assigned the same IP address in the PDN connection and the PDU session. Due to the movement of the UE, the UE judges that the data transmission path of the user plane needs to be switched from the 5G to the EPS according to the signal quality of the current 5G network. If the current UE is in an idle state at the EPS side, the UE needs to enter a connected state at the EPS side, and the UE can initiate a TAU process in the EPS system to enter the connected state or initiate a service request process in the EPS system to recover all PDN connections. The method comprises the steps that UE sends out a session management request message in a 5G system, for example, a PDU session modification request carries session identification information of a PDU session which is expected to be subjected to data transmission path switching and indication information corresponding to the UE, wherein the indication information is used for indicating that a path of user plane data transmission is switched from the PDU session to PDN connection, and comprises indication information for deactivating a user plane and indication information for deleting or deactivating a user plane tunnel of the PDU session. In addition, the UE may also send a specific message to instruct the PGW-C + SMF to switch the user plane transmission path. After the PGW-C + SMF receives the indication information, the PGW-C + SMF finds out the PDU session context corresponding to the PDU session and the context of the PDN connection associated with the PDU session according to the session identification information of the PDU session, then generates a user plane configuration instruction, indicates the PGW-U + UPF to delete or deactivate the user plane tunnel configuration of the PDU session, and creates or activates the user plane tunnel configuration of the PDN connection. If the UE does not support simultaneous transceiving of data in the EPS system and the 5G system, the UE needs to send an indication for switching the path of user plane data transmission from the PDU session to the PDN connection in the 5G system before accessing the EPS system, i.e. before initiating a TAU or service request procedure in the EPS system. Of course, the indication information may also be indication information received from the UE in the EPS system to modify the PDN connection; or the indication information for modifying the bearer or transmitting the tunnel received from the MME during the transition process from the idle state to the connected state of the UE in the EPS system.
And the second method comprises the following steps: the UE is switched from the EPS system to the 5G system, at this time, the indication information is used for indicating that the path of the user plane data transmission is switched from the PDN connection to the PDU session, and the user plane tunnel configuration information includes:
creating or activating a user plane tunnel of the PDU session; and
and deleting or deactivating the user plane tunnel of the PDN connection.
When the UE is switched from the EPS system to the 5G system, the following two cases are divided:
the first condition is as follows: when the UE is in a connected state in a 5G system, the indication information is specifically indication information received from the UE to create or activate the PDU session user plane transmission tunnel;
case two: when the UE performs transition from the idle state to the connected state in the 5G system, the indication information is specifically indication information received from the AMF to activate the PDU session, and specifically:
the indication information is the indication information which is generated by the AMF after receiving the service request message which is sent by the UE and carries the session identifier and activates the PDU session.
Specifically, in this embodiment, in the first case, as shown in fig. 5, the UE establishes a PDN connection in the EPS system using the same APN, establishes a PDU session with the 5G system, and is assigned the same IP address in the PDN connection and the PDU session. Due to the movement of the UE, the UE judges that the data transmission path of the user plane needs to be switched from the EPS to the 5G system according to the signal quality of the current EPS network. The UE is in a connected state in the 5G system, and sends out a session management request message in the 5G system, for example, a PDU session revision request, wherein the request carries session identification information of a PDU session which is expected to be switched over a data transmission path and indication information corresponding to the UE, the indication information is used for indicating that the path of user plane data transmission is switched over from PDN connection to the PDU session, and the indication information comprises indication information for deactivating the user plane and indication information for creating or activating a PDU session user plane transmission tunnel. In addition, the UE may also send a specific message to instruct the PGW-C + SMF to switch the user plane transmission path. After the PGW-C + SMF receives the indication information, the PGW-C + SMF finds out the PDU session context corresponding to the PDU session and the context of the PDN connection associated with the PDU session according to the session identification information of the PDU session, then generates a user plane configuration instruction, indicates the PGW-U + UPF to delete or deactivate the user plane tunnel configuration of the PDN connection, and creates or activates the user plane tunnel configuration of the PDU session.
Specifically, in the second embodiment, as shown in fig. 6, the UE establishes a PDN connection in the EPS system using the same APN, establishes a PDU session with the 5G system, and is assigned the same IP address in the PDN connection and the PDU session. Due to the movement of the UE, the UE judges that the data transmission path of the user plane needs to be switched from the EPS to the 5G system according to the signal quality of the current EPS network. The UE carries out conversion from an idle state to a connected state in the 5G system, and sends a service request message in the EPS system, carries session identification information of the PDU session, and indicates recovery of the PDU session indicated by the session identification information. After receiving the service request message, the AMF sends an N11 message to the SMF to request to activate the user plane of the PDU session, and the PGW-C + SMF uses the session identification information to find the indicated PDU session context and the associated PDN connection context according to the N11 message, then generates a user plane configuration instruction to indicate the PGW-U + UPF to delete or deactivate the user plane tunnel configuration of the PDN connection, and create or activate the user plane tunnel configuration of the PDU session.
Based on the same inventive concept, embodiments of the present invention provide a network device, and specific implementation of the network device may refer to the description of the method embodiment, and repeated details are not repeated, as shown in fig. 7, the network device mainly includes:
an obtaining module 701, configured to obtain indication information and session identifier information, where the indication information is used to indicate that switching of a user plane data transmission path is required, and the session identifier information is used to indicate a session that is required to switch the user plane data transmission path;
a determining module 702, configured to determine, based on the session identification information, a PDU session and a PDN connection associated with the PDU session, where the PDN connection and the PDU session are established by a UE based on a same APN or DNN;
a path switching module 703, configured to switch a path for user plane data transmission between the PDU session and the PDN connection based on the indication information.
In a possible implementation, the indication information and the session identification information are information sent by the UE when it is determined that the user plane data transmission path needs to be switched between the PDU session and the PDN connection.
In a possible implementation manner, the path switching module 703 is specifically configured to:
generating user plane tunnel configuration information of the PDU session and the PDN connection based on the indication information;
and configuring the user plane tunnel configuration information to the user plane gateway anchor point, so that the user plane gateway anchor point switches the user plane data transmission path between the PDU session and the PDN connection.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDU session to the PDN connection, the user plane tunnel configuration information includes:
deleting or deactivating the user plane tunnel of the PDU session; and
and creating or activating a user plane tunnel of the PDN connection.
In a possible implementation manner, the indication information is specifically indication information for deleting or deactivating a user plane tunnel of the PDU session; or the indication information is specifically indication information for creating or activating a user plane tunnel connected to the PDN.
In a possible embodiment, the indication information is specifically indication information received from the UE in a 5G system; or
The indication information is specifically indication information received from the UE in the EPS system; or
The indication information is specifically indication information received from an MME during a process of switching from an idle state to a connected state by the UE in the EPS system.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDN connection to the PDU session, the user plane tunnel configuration information includes:
creating or activating a user plane tunnel of the PDU session; and
and deleting or deactivating the user plane tunnel of the PDN connection.
In a possible embodiment, when the UE is in a connected state in a 5G system, the indication information is specifically indication information received from the UE to create or activate the PDU session user plane transport tunnel;
when the UE performs idle state to connected state transition in the 5G system, the indication information is specifically indication information received from the AMF to activate the PDU session.
In a possible embodiment, when the UE performs transition from an idle state to a connected state in a 5G system, the indication information is specifically indication information received from an AMF and used for activating the PDU session, and specifically is:
the indication information is the indication information which is generated by the AMF after receiving the service request message which is sent by the UE and carries the session identifier and activates the PDU session.
In a possible embodiment, the apparatus further comprises:
a session establishing unit, configured to receive, before the obtaining indication information and the session identifier information, a PDU session establishment request sent by the UE, and determine, according to a persistent subscriber identity SUPI of the UE and a DNN in the PDU session establishment request, that the UE has established a PDN connection to an APN having a same meaning as the DNN; establishing the PDU session for the UE, and allocating an IP address which is the same as the PDN connection for the PDU session;
a connection establishing unit, configured to receive a PDN connection establishment request sent by the UE before the obtaining of the indication information and the session identification information, and determine that the UE has established a PDU session to a DNN that is the same as an APN according to the IMSI of the UE and the APN in the PDN connection establishment request; and establishing the PDN connection for the UE, and allocating the same IP address as the PDU session for the PDN connection.
Based on the same inventive concept, an embodiment of the present invention provides a network device, and specific implementation of the network device may refer to description of the method embodiment, and repeated parts are not repeated, as shown in fig. 8, the network device mainly includes a processor 801, a memory 802, and a transceiver 803, where the transceiver 803 receives and transmits data under control of the processor 801, a preset program is stored in the memory 802, the processor 801 reads the program in the memory 802, and executes the following processes according to the program:
the processor 801 obtains indication information and session identification information, where the indication information is used to indicate that switching of a user plane data transmission path is required, and the session identification information is used to indicate a session that is required to switch the user plane data transmission path;
the processor 801 determines a PDU session and a PDN connection associated with the PDU session based on the session identification information, wherein the PDN connection and the PDU session are established by the UE based on the same APN or DNN;
the processor 801 switches the path of user plane data transmission between the PDU session and the PDN connection based on the indication information.
Wherein in fig. 8, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 801, and various circuits, represented by memory 802, being linked together. 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 803 may be a plurality of elements, i.e., including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 801 is responsible for managing the bus architecture and general processing, and the memory 802 may store data used by the processor 801 in performing operations.
In a possible implementation, the indication information and the session identification information are information sent by the UE when it is determined that the user plane data transmission path needs to be switched between the PDU session and the PDN connection.
In a possible embodiment, the processor generates user plane tunnel configuration information of the PDU session and the PDN connection based on the indication information;
the processor 801 configures the user plane tunnel configuration information to the user plane gateway anchor point, so that the user plane gateway anchor point switches the path of user plane data transmission between the PDU session and the PDN connection.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDU session to the PDN connection, the user plane tunnel configuration information includes:
deleting or deactivating the user plane tunnel of the PDU session; and
and creating or activating a user plane tunnel of the PDN connection.
In a possible implementation manner, the indication information is specifically indication information for deleting or deactivating a user plane tunnel of the PDU session; or the indication information is specifically indication information for creating or activating a user plane tunnel connected to the PDN.
In a possible embodiment, the indication information is specifically indication information received from the UE in a 5G system; or
The indication information is specifically indication information received from the UE in the EPS system; or
The indication information is specifically indication information received from an MME during a process of switching from an idle state to a connected state by the UE in the EPS system.
In a possible embodiment, when the indication information is used to indicate that the path of the user plane data transmission is switched from the PDN connection to the PDU session, the user plane tunnel configuration information includes:
creating or activating a user plane tunnel of the PDU session; and
and deleting or deactivating the user plane tunnel of the PDN connection.
In a possible embodiment, when the UE is in a connected state in a 5G system, the indication information is specifically indication information received from the UE to create or activate the PDU session user plane transport tunnel;
when the UE performs idle state to connected state transition in the 5G system, the indication information is specifically indication information received from the AMF to activate the PDU session.
In a possible embodiment, when the UE performs transition from an idle state to a connected state in a 5G system, the indication information is specifically indication information received from an AMF and used for activating the PDU session, and specifically is:
the indication information is the indication information which is generated by the AMF after receiving the service request message which is sent by the UE and carries the session identifier and activates the PDU session.
In a possible embodiment, before the obtaining of the indication information and the session identification information, the processor receives a PDU session establishment request sent by the UE, and determines that the UE has established a PDN connection to an APN having the same meaning as DNN according to a subscriber permanent identity SUPI of the UE and DNN in the PDU session establishment request; establishing the PDU session for the UE, and allocating an IP address which is the same as the PDN connection for the PDU session; or
Before the indication information and the session identification information are acquired, a processor receives a PDN connection establishment request sent by the UE, and determines that the UE has established a PDU session to the DNN same as the APN according to the IMSI of the UE and the APN in the PDN connection establishment request; and establishing the PDN connection for the UE, and allocating the same IP address as the PDU session for the PDN connection.
Based on the above technical solution, the embodiment of the present invention provides a method for switching a data plane transmission path between a 5G system and an EPS system by a dual-registered UE, where a path for user plane data transmission is switched between the PDU session and the PDN connection based on indication information of the UE and a session identifier that needs to be switched for the user plane data transmission path. The technical problem that the UE with double registration in the prior art can not correctly switch the user plane data transmission path between the 5G system and the EPS system can be effectively solved. The reasonable switching path is distributed to the UE, so that the UE can correctly switch the user plane data transmission path between the 5G system and the EPS system.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.