WO2019096318A1 - Session switching method, device and system - Google Patents

Session switching method, device and system Download PDF

Info

Publication number
WO2019096318A1
WO2019096318A1 PCT/CN2018/116279 CN2018116279W WO2019096318A1 WO 2019096318 A1 WO2019096318 A1 WO 2019096318A1 CN 2018116279 W CN2018116279 W CN 2018116279W WO 2019096318 A1 WO2019096318 A1 WO 2019096318A1
Authority
WO
WIPO (PCT)
Prior art keywords
pdn connection
network
network slice
slice information
switched
Prior art date
Application number
PCT/CN2018/116279
Other languages
French (fr)
Chinese (zh)
Inventor
景昊
宗在峰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201810490565.0A external-priority patent/CN109819488B/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019096318A1 publication Critical patent/WO2019096318A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a session switching method, device, and system.
  • 5G network With the rapid development of wireless communication technology, the fifth generation (5G) mobile communication network (referred to as 5G network) came into being, and the 5G network can coexist with the existing Forth Generation (4G) network. Interoperability between the two.
  • 5G network With the rapid development of wireless communication technology, the fifth generation (5G) mobile communication network (referred to as 5G network) came into being, and the 5G network can coexist with the existing Forth Generation (4G) network. Interoperability between the two.
  • 4G Forth Generation
  • a network slice is defined in a 5G network, which is a logically isolated network for supporting specific network capabilities and network characteristics.
  • the network slice can be end-to-end (E2E) including the entire network, or part of the network function. Sharing among multiple network slices is a key technology to meet the 3G mobile communication technology proposed by 3GPP regarding network differentiation requirements.
  • a terminal device can establish a protocol data unit (PDU) session through a network slice to access a data network (DN).
  • PDU protocol data unit
  • the network slice corresponding to the PDN connection to the 5G network needs to be selected to pass the network.
  • the slice establishes a PDU session corresponding to the PDN connection switch.
  • the prior art does not consider the problem of network slicing during the handover of the PDN connection to the PDU session, and cannot switch the PDN connection to the PDU session.
  • the embodiment of the present application provides a session switching method, device, and system, to solve the problem that the existing PDN connection cannot be switched to the PDU session.
  • the embodiment of the present application provides the following technical solution: the first device determines the network slice information corresponding to when the PDN connection is switched to the fifth generation 5G network; when the first device sends the PDN connection to the mobility management entity and switches to the 5G network, Corresponding network slice information; the mobility management entity receives the network slice information corresponding to when the PDN connection is switched to the 5G network, and sends a session switch request for requesting to switch the PDN connection to the PDU session to the control plane function entity Switch the PDN connection to the PDU session.
  • the first device is a terminal device
  • the mobility management entity is a Mobility Management Entity (MME) or an Access and Mobility Management Function (AMF) entity.
  • MME Mobility Management Entity
  • AMF Access and Mobility Management Function
  • the MME may send a session switching request for requesting handover of the PDN connection to the PDU session to the control plane function entity through the AMF.
  • the possible design can be referred to the following first to nineteenth aspects.
  • the first device is a control plane function entity
  • the mobility management entity is an MME
  • the MME sends a session switching request for requesting to switch the PDN connection to the PDU session to the control plane function entity through the AMF.
  • the still further possible design can be referred to the following twentieth to thirty-eighth aspects.
  • a first aspect provides a session switching method, where the method includes: determining, by a terminal device, network slice information corresponding to a PDN connection handover to a fifth generation 5G network; and transmitting, to the mobility management entity, a network corresponding to when the PDN connection is switched to the 5G network Slice information.
  • the terminal device Based on the session switching method provided by the embodiment of the present application, the terminal device sends the network slice information corresponding to the handover of the PDN connection to the 5G network to the mobility management entity on the network side, so that the mobility management entity cooperates with other devices in the network according to the PDN connection.
  • Corresponding network slice information and other information when switching to the 5G network determines the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and creates a PDU session according to the determined network slice information, so as to implement the PDN connection to the PDU session. Switching. The problem that the network slice in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
  • the terminal device determines the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network according to the correspondence between the PDN connection information and the network slice information.
  • the correspondence between the PDN connection information and the network slice information is determined.
  • the PDN connection information may be pre-configured in the network slice selection policy of the terminal device, including the access point name APN corresponding to the PDN connection, the application corresponding to the PDN connection, and the corresponding data network name DNN when the PDN connection is switched to the 5G network.
  • the network slice information may be determined according to the correspondence between the pre-configured PDN connection information and the network slice information.
  • the network slice information determined according to the correspondence relationship is largely The information of the corresponding network slice after the PDN connection is switched to the 5G network is improved, and the network slice information corresponding to the subsequent network side device switching to the 5G network according to the PDN connection is determined to determine that the PDN connection switchable in the PDN connection is switched to the 5G network. The accuracy of the network slice information.
  • the method further includes: determining, by the terminal device, the terminal device according to the policy information of the application corresponding to the PDN connection.
  • the PDN connection is switched to the 5G network in the established PDN connection; or, when the terminal device determines that it supports the 5G network communication capability, the terminal device determines that all established PDN connections are switched to the 5G network.
  • the terminal device determines the network slice information corresponding to the PDN connection to switch to the fifth-generation 5G network, and implements an application or communication capability that requires higher service requirements.
  • the PDN connection of the stronger terminal device is switched to the PDU session in the 5G network to improve the service quality.
  • the method further includes: the terminal device sending, to the mobility management entity, information about a priority of the network slice information corresponding to when the PDN connection is switched to the 5G network.
  • the information of the priority of the network slice information can be sent to the mobility management entity, so that the mobility management entity and the network side device work together, and the higher priority network is sliced according to the priority of each network slice information.
  • the PDN connection corresponding to the information is preferentially switched to the PDU session.
  • the method further includes: when the terminal device is roaming, the network slice information when the PDN connection is switched to the 5G network is the network slice information of the visited place when the PDN connection is switched to the 5G network, and the terminal device is configured according to The PDN connects the policy information of the corresponding application, determines the network slice information of the home location when the PDN connection is switched to the 5G network, and the network slice information of the home location when the PDN connection is switched to the 5G network, and the home network slice information and the visited network slice. The mapping relationship between the information determines the network slice information of the visited place when the PDN connection is switched to the 5G network.
  • the network slice information of the visited location of the terminal device can be obtained when the terminal device is roaming, so that the subsequent network side device switches the PDN connection to the network slice of the visited place according to the network slice information of the visited place, thereby ensuring the home route of the terminal device. Business continuity during roaming.
  • the mobility management entity is a Mobility Management Entity (MME) in a 4G network or an access and mobility management function (AMF) in a 5G network.
  • MME Mobility Management Entity
  • AMF access and mobility management function
  • An entity, that is, in the embodiment of the present application, the terminal device may send, to the MME or the AMF entity, network slice information corresponding to when the PDN connection is switched to the 5G network.
  • the terminal device transmits the corresponding network slice information in the first message to the MME when the PDN connection is switched to the 5G network, where the first message is used to indicate
  • the corresponding network slice information when the MME switches the PDN connection to the 5G network is stored in the context of the terminal device.
  • the MME receives the first message carrying the network slice information corresponding to the PDN connection switching to the 5G network, only the content carried in the first message (the network slice information corresponding to when the PDN connection is switched to the 5G network) is stored in the first message.
  • the content carried in the first message is not parsed to reduce the burden on the MME.
  • the corresponding network slice information carried by the terminal device when the PDN connection is switched to the 5G network is carried in the registration request to the AMF entity, where the registration request is used for the request. Register to the 5G network.
  • the terminal device can be registered in the 5G network through the AMF entity, and the corresponding network slice information carried in the registration request is sent to the AMF entity when the PDN connection is switched to the 5G network, and the PDN connection is not required to be switched to the 5G network.
  • the network slice information is sent to the AMF entity through the MME, which reduces the burden on the MME.
  • the method further includes: the terminal device sends the DNN corresponding to the PDN connection to the MME, so that the MME sends the DNN to the network when the terminal device is in the home routing scenario.
  • a device for example, an AMF entity
  • the AMF entity determines the functional entity of the visited control plane according to the DNN and other information, and establishes a PDN connection by interworking between the visited control plane functional entity and the corresponding home control plane functional entity corresponding to the PDN connection.
  • the PDU session guarantees business continuity in the terminal device roaming scenario.
  • a second aspect provides a session switching method, where the method includes: acquiring, by a terminal device, a network slice information corresponding to a PDN connection determined by a terminal device when the PDN connection is switched to a 5G network, and transmitting a context of the terminal device to the AMF entity, where the terminal device
  • the context includes the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the information of the PDN connection.
  • the information of the PDN connection includes the address information of the control plane function entity corresponding to the PDN connection.
  • the MME obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information corresponding to the PDN connection is switched to the AMF entity for the AMF entity.
  • the entity determines the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection according to the network slice information and other information when the PDN connection is switched to the 5G network, and then creates a PDU session according to the determined network slice information.
  • the PDN is connected to the switch of the PDU session. The problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
  • the MME receives a first message that is sent by the terminal device and carries the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the first message is used to indicate that the MME switches the PDN connection to the 5G network.
  • the corresponding network slice information is stored in the context of the terminal device. In this manner, when the MME receives the first message carrying the network slice information corresponding to the PDN connection switching to the 5G network, only the content carried in the first message (the network slice information corresponding to when the PDN connection is switched to the 5G network) is stored in the first message. In the context of the terminal device, the content carried in the first message is not parsed to reduce the burden on itself.
  • the information of the PDN connection further includes a PDN connection point (APN), so that when the AMF entity receives the APN corresponding to the PDN connection, the DNN can be determined according to the APN corresponding to the PDN connection. And determining, according to the DNN and other information, the functional entity of the visited control plane, and establishing a PDU session corresponding to the PDN connection by the interworking between the functional entity of the local control plane and the functional entity of the local control plane corresponding to the PDN connection to ensure that the terminal device is in the roaming scenario.
  • APN PDN connection point
  • a third aspect provides a session switching method, where the method includes: acquiring, by an AMF entity, network slice information corresponding to a PDN connection switched to a 5G network, address information of a control plane function entity corresponding to a PDN connection, and a terminal device
  • the network slice information of the contract is obtained according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is signed by the terminal device, and the network slice information corresponding to the switchable PDN connection in the PDN connection is switched to the 5G network, and Determining a target AMF entity supporting a corresponding network slice when the PDN connection can be switched to the 5G network; when the target AMF entity is an AMF entity, the AMF entity according to the address information of the control plane function entity corresponding to the PDN connection to the home control plane function The entity sends a session switch request for requesting to switch the PDN connection to the protocol data unit PDU session.
  • the terminal device sends the network slice information corresponding to the PDN connection to the 5G network when the PDN connection is switched to the 5G network, and the AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network is determined, and the PDN connection can be sent to the home control plane function entity.
  • the switched PDN connection switches to the network slice information corresponding to the 5G network, so that the home control plane function entity creates a PDU session according to the determined network slice information, and implements handover of the PDN connection to the PDU session.
  • the problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
  • the AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, or obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. In this way, the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network can be obtained in different manners, thereby improving the flexibility of the AMF entity to obtain information.
  • the AMF entity when the AMF entity acquires the corresponding network slice information when the PDN connection is switched from the terminal device to the fifth generation 5G network, the AMF entity receives the corresponding PDN connection sent by the terminal device and switches to the 5G network.
  • the registration request of the network slice information is obtained from the registration request, and the network slice information corresponding to the PDN connection is switched to the 5G network, wherein the registration request is used to request registration to the 5G network.
  • the terminal device can be registered in the 5G network through the AMF entity, and the corresponding network slice information carried in the registration request is sent to the AMF entity when the PDN connection is switched to the 5G network, and the PDN connection is not required to be switched to the 5G network.
  • the network slice information is sent to the AMF entity through the MME, which reduces the burden on the MME.
  • the AMF entity when the AMF entity determines that the terminal is in the home route roaming, the AMF entity switches the network slice indicated by the corresponding network slice information according to the PDN connection that can be switched in the PDN connection to the 5G network, and the PDN connection switch.
  • the corresponding data network name DNN determines the visited control plane function entity when the 5G network is reached; the AMF entity sends the network slice information and the PDN corresponding to the PDN connection that can be switched in the PDN connection to the 5G network.
  • a session establishment request for connecting the address information of the corresponding control plane function entity, where the session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity.
  • the AMF entity determines the functional entity of the visited control plane according to the DNN and other information, and establishes a PDU session corresponding to the PDN connection by interworking between the visited control plane function entity and the home control plane entity to ensure that the PDU session corresponding to the PDN connection is established.
  • the business continuity of the terminal device in the roaming scenario is established.
  • the AMF entity when the AMF entity determines that the terminal is in the home route roaming, and the AMF entity selects not to visit the visited control plane function entity, the AMF entity sends a selection request to the NRF, and the NRF can switch according to the PDN connection in the PDN connection.
  • the network slice indicated by the corresponding network slice information when switching to the 5G network, and the DNN corresponding to the network slice select an SMF entity supporting the DN identified by the DNN as the visited control plane functional entity, and the visited control plane functional entity
  • the address information is fed back to the initial AMF entity, and the initial AMF entity sends a session switching request to the home control plane function entity through the visited control plane function entity according to the feedback result of the NRF.
  • the AMF entity can select the visited control plane function entity by means of the NRF, and select the function and entity of the visited ground control plane according to the NRF.
  • the control plane function entity communicates with each other, and the PDU session corresponding to the PDN connection is established by the function entity of the home control plane to ensure the service continuity of the terminal equipment in the roaming scenario.
  • a fourth aspect provides a terminal device, where the terminal device can implement the functions performed by the terminal device element in the foregoing method, where the function can be implemented by using hardware or by executing corresponding software through hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the terminal device may include:
  • a determining unit configured to determine network slice information corresponding to when the packet data network PDN connection is switched to the fifth generation 5G network
  • a sending unit configured to send, to the mobility management entity, network slice information corresponding to when the PDN connection is switched to the 5G network .
  • the provided terminal device can achieve the same advantageous effects as the first aspect.
  • a fifth aspect provides a terminal device, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the terminal device is running, the processor executes the computer execution instruction stored in the memory to enable the The terminal device performs the session switching method as described in any of the above first aspects.
  • a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the session switching of any of the above first aspects method.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the session switching method of any of the above first aspects.
  • a chip system in an eighth aspect, includes a processor for supporting a terminal device to implement the functions involved in the foregoing aspects, for example, supporting the terminal device to determine corresponding network slice information when the PDN connection is switched to the 5G network. And transmitting, by using the communication interface, the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the chip system further comprises a memory for storing necessary program instructions and data of the terminal device.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • an MME having the function of implementing the method described in the above first aspect.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the MME may include:
  • a receiving unit configured to receive, from the MME, network slice information corresponding to when the packet data network PDN connection determined by the MME is switched to the fifth generation 5G network;
  • the sending unit is further configured to send a context of the MME to an access and mobility management function AMF entity, where a context of the MME includes network slice information corresponding to when the PDN connection is switched to a fifth generation 5G network, and Information about the PDN connection, the information of the PDN connection includes address information of a control plane function entity corresponding to the PDN connection.
  • the provided MME can achieve the same advantageous effects as the first aspect.
  • an MME including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the MME is running, the processor executes the computer execution instruction stored by the memory to enable the MME to execute A session switching method according to any of the above second aspects.
  • a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the session of any of the above second aspects Switch method.
  • a computer program product comprising instructions for causing a computer to perform the session switching method of any of the above second aspects when executed on a computer is provided.
  • a chip system comprising a processor, configured to support the MME to implement the functions involved in the foregoing aspects, for example, supporting the MME to acquire the terminal device from the terminal device through the communication interface, and determine that the PDN connection is switched to the 5G. Corresponding network slice information in the network, and the context of the terminal device is sent to the AMF entity.
  • the chip system further includes a memory for storing necessary program instructions and data of the MME.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • an AMF entity having the functionality to implement the method described in the third aspect above.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • AMF entities include:
  • a receiving unit configured to receive network slice information corresponding to a packet data network PDN connection determined by the terminal device when switching to a fifth generation 5G network, address information of a control plane function entity corresponding to the PDN connection, and signing by the terminal device Network slice information;
  • An acquiring unit configured to acquire, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is subscribed by the terminal device, when the PDN connection allowed in the PDN connection is switched to the 5G network Corresponding network slice information;
  • a sending unit configured to send a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switching request is used to request to switch the PDN connection to the protocol data unit PDU Conversation.
  • the provided AMF entity can achieve the same beneficial effects as the first aspect.
  • an AMF entity comprising: a processor and a memory; the memory is configured to store a computer execution instruction, and when the AMF entity is running, the processor executes the computer execution instruction stored in the memory, so that The AMF entity performs the session switching method as described in any of the above third aspects.
  • a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the session of any of the above third aspects Switch method.
  • a computer program product comprising instructions for causing a computer to perform the session switching method of any of the above third aspects when executed on a computer is provided.
  • a chip system includes a processor, configured to support an AMF entity to implement the functions involved in the foregoing aspects, for example, supporting an AMF entity to acquire a corresponding PDN connection determined by the terminal device when switching to a 5G network.
  • the network slice information, the address information of the control plane function entity corresponding to the PDN connection, and the network slice information subscribed by the terminal device are obtained according to the network slice information corresponding to the PDN connection switched to the 5G network and the network slice information subscribed by the terminal device.
  • the PDN connection that can be switched in the PDN connection is switched to the corresponding network slice information when the 5G network is switched, and determines the target AMF entity that supports the corresponding network slice when the switchable PDN connection is switched to the 5G network; and when the target AMF entity is the AMF entity
  • the AMF entity sends a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection.
  • the chip system further includes a memory for storing necessary program instructions and data of the AMF entity.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • a session switching system comprising the terminal device according to any one of the fourth aspect to the eighth aspect, the MME according to any one of the ninth to thirteenth aspects, and the The AMF entity of any of the fourteenth aspect to the eighteenth aspect.
  • the twentieth aspect provides a session switching method, where the method includes: the control plane function entity determines network slice information corresponding to when the PDN connection is switched to the 5G network, and sends the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the control plane function entity sends the network slice information corresponding to the handover of the PDN connection to the 5G network to the mobility management entity on the network side, so that the mobility management entity cooperates with other devices in the network, according to
  • the corresponding network slice information and other information when the PDN connection is switched to the 5G network determines the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and creates a PDU session according to the determined network slice information to implement the PDN connection. Switching of PDU sessions. The problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
  • the control plane function entity determines corresponding network slice information when the PDN connection is switched to the 5G network, and includes: a correspondence between the information of the PDN connection and the network slice information by the control plane function entity, Determining the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the PDN connection information includes the APN corresponding to the PDN connection, or the address information of the control plane function entity corresponding to the PDN connection, or the APN and the control plane function entity corresponding to the PDN connection. Address information.
  • the network slice information can be determined according to the correspondence between the pre-configured PDN connection information and the network slice information.
  • the control plane function entity sends to the MME the corresponding network slice information when the PDN connection is switched to the 5G network, including: the control plane.
  • the function entity switches the PDN connection to the 5G network
  • the corresponding network slice information is carried in the first message in the context of the terminal device, which is used to indicate that the MME switches the PDN connection to the 5G network, to the MME. send.
  • the control plane function entity may further send information about the control plane function entity to the MME, where the information of the control plane function entity may be It may be carried in the first message or may not be carried in the first message.
  • the MME receives the first message carrying the network slice information corresponding to the PDN connection to the 5G network, only the content carried by the first message is stored in the context of the terminal device, and the first message is not parsed. The content carried in the MME is reduced to reduce the burden on the MME.
  • the MME after receiving the network slice information determined by the control plane function entity, the MME sends the network slice information to the AMF to implement handover of the PDN connection to the PDU session.
  • the method further includes: the control plane function entity sends a corresponding network slice when the PDN connection is switched to the 5G network to the MME.
  • Information about the priority of the information In this way, the information of the priority of the network slice information can be sent to the mobility management entity, so that the mobility management entity and the network side device work together, and the higher priority network is sliced according to the priority of each network slice information.
  • the PDN connection corresponding to the information is preferentially switched to the PDU session.
  • the method further includes: when the terminal device establishing the PDN connection is in the home route roaming, the PDN connection is switched to the 5G
  • the network slice information at the time of the network is the network slice information of the visited place when the PDN connection is switched to the 5G network, and the control plane function entity determines the network slice information of the home location when the PDN connection is switched to the 5G network according to the policy information of the application corresponding to the PDN connection;
  • the network slice information of the home location when the PDN connection is switched to the 5G network is determined according to the network slice information of the home location when the PDN connection is switched to the 5G network, and the mapping relationship between the home network slice information and the visited network slice information.
  • the network slice information of the visited location of the terminal device can be obtained when the terminal device is in the home route roaming, so that the subsequent network side device switches the PDN connection to the network slice of the visited place according to the network slice information of the visited place, and the terminal device is ensured.
  • a control plane function entity in a twenty-first aspect, can implement a function performed by a control plane function entity element in the foregoing method embodiment, where the function can be implemented by hardware or by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the control plane function entity may include: a determining unit, configured to determine network slice information corresponding to when the packet data network PDN connection is switched to the fifth generation 5G network, and a sending unit, configured to send, to the MME, the PDN connection to switch to the 5G Network slice information corresponding to the network.
  • control plane function entity For a specific implementation manner of the control plane function entity, reference may be made to the behavior function of the control plane function entity in the session switching method provided by the twentieth aspect or the possible implementation manner of the twentieth aspect, and details are not repeatedly described herein. Therefore, the provided control surface functional entity can achieve the same advantageous effects as the twentieth aspect.
  • a control plane functional entity comprising: a processor and a memory; the memory is configured to store a computer execution instruction, and when the control plane function entity is running, the processor executes the computer stored in the memory The instruction is executed to cause the control plane function entity to perform the session switching method as described in any one of the above twentieth aspects.
  • a twenty-third aspect a computer readable storage medium storing instructions stored in a computer, such that when executed on a computer, the computer can perform any one of the above-described twentieth aspects Session switching method.
  • a twenty-fourth aspect a computer program product comprising instructions for causing a computer to perform the session switching method of any of the above-described twentieth aspects, when run on a computer.
  • a chip system comprising a processor for supporting a control plane function entity to implement the functions involved in the foregoing aspects, for example, supporting a control plane function entity to determine when a PDN connection is switched to a 5G network Corresponding network slice information, and the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network is sent to the MME through the communication interface.
  • the chip system further comprises a memory for storing program instructions and data necessary for the control plane function entity.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • a session switching method includes: the MME acquiring, from the control plane function entity, network slice information corresponding to when the PDN connection is switched to the 5G network, and transmitting the context of the terminal device to the AMF entity, where the terminal device
  • the context includes the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the information of the PDN connection.
  • the information of the PDN connection includes the address information of the control plane function entity corresponding to the PDN connection.
  • the MME obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the corresponding network slice information is sent to the AMF entity when the PDN connection is switched to the 5G network. Therefore, the AMF entity determines, according to the network slice information and other information when the PDN connection is switched to the 5G network, the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and then creates a PDU session according to the determined network slice information. To implement switching of the PDN connection to the PDU session. The problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
  • the MME receives a first message that is sent by the control plane function entity and carries the network slice information corresponding to the PDN connection to the 5G network.
  • the first message is used to instruct the MME to switch the PDN connection to the 5G.
  • the network slice information corresponding to the network is stored in the context of the terminal device. In this manner, when the MME receives the first message carrying the network slice information corresponding to the PDN connection switching to the 5G network, only the content carried in the first message (the network slice information corresponding to when the PDN connection is switched to the 5G network) is stored in the first message. In the context of the terminal device, the content carried in the first message is not parsed to reduce the burden on itself.
  • the PDN connection information also includes the PDN connection corresponding APN.
  • an MME having the function of implementing the method described in the twenty-sixth aspect above. This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the MME may include:
  • a receiving unit configured to receive, from the control plane function entity, corresponding network slice information when the PDN connection is switched to the fifth generation 5G network
  • a sending unit configured to send a context of the terminal device to the AMF entity, where the context of the terminal device includes the PDN connection
  • the PDN connection information includes address information of the control plane function entity corresponding to the PDN connection.
  • the provided MME can achieve the same advantageous effects as the twenty-sixth aspect.
  • an MME including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the MME is running, the processor executes the computer execution instruction stored in the memory to enable the The MME performs the session switching method as described in any one of the twenty-sixth aspects above.
  • a twenty-ninth aspect a computer readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform any of the twenty-sixth aspects described above The session switching method described.
  • a computer program product comprising instructions for causing a computer to perform the session switching method of any one of the twenty-sixth aspects described above when the computer is running on the computer.
  • a chip system comprising a processor, configured to support the MME to implement the functions involved in the foregoing aspects, for example, supporting the MME to obtain a PDN connection from the control plane function entity to switch to the 5G through the communication interface.
  • Corresponding network slice information in the network, and the context of the terminal device is sent to the AMF entity.
  • the chip system further includes a memory for storing necessary program instructions and data of the MME.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • a method for session switching includes: AMF entity acquires network slice information corresponding to a PDN connection switch to a 5G network, and address information of a control plane function entity corresponding to a PDN connection, optionally, AMF And obtaining the network slice information that is signed by the terminal device; the AMF entity corresponding to the network slice information when the PDN connection is switched to the 5G network, and the network slice information that is signed by the terminal device, and correspondingly, when the PDN connection that can be switched in the PDN connection is switched to the 5G network, Network slice information, and determine a target AMF entity that supports a corresponding network slice when the switchable PDN connection is switched to the 5G network; when the target AMF entity is an AMF entity, the AMF entity according to the address information of the control plane function entity corresponding to the PDN connection Sending a session switch request to the control plane function entity, the session switch request is used to request to switch the PDN connection to the PDU session.
  • the AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and determines the switchable PDN connection according to the network slice information and other information when the PDN connection is switched to the 5G network.
  • the PDN connects to the network slice information corresponding to the 5G network, and sends the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection to the control plane function entity, so that the control plane function entity determines the network slice according to the network.
  • the information creates a PDU session and implements a handover of the PDN connection to the PDU session. The problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
  • the AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the corresponding network slice information is determined by the control plane function entity when the PDN connection is switched to the 5G network.
  • the AMF entity when the AMF entity determines that the terminal device establishing the PDN connection is in the home route roaming, the AMF entity switches the network slice indicated by the corresponding network slice information according to the switchable PDN connection in the PDN connection to the 5G network. Determining the visited control plane function entity; the AMF entity sends the network slice information corresponding to the PDN connection that can be switched in the PDN connection to the 5G network, and the address information of the control plane function entity corresponding to the PDN connection The session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity.
  • the AMF entity can determine the functional entity of the visited control plane, and establish a PDU session corresponding to the PDN connection by accessing the communication between the control plane function entity and the home control plane entity, thereby ensuring that the terminal device is in the Business continuity in a roaming scenario.
  • the AMF entity when the AMF entity determines that the terminal device establishing the PDN connection is in the home route roaming, and the AMF entity selects not to visit the visited control plane function entity, the AMF entity sends a selection request to the NRF according to the PDN connection.
  • the network slice indicated by the corresponding network slice information when the switchable PDN connection is switched to the 5G network selects the visited control plane function entity, and feeds back the address information of the visited control plane function entity to the initial AMF entity, and the initial AMF entity according to the NRF
  • the session control request entity sends a session switch request to the home control plane function entity.
  • the AMF entity can select the visited control plane function entity by means of the NRF, and select the function and entity of the visited ground control plane according to the NRF.
  • the control plane function entity communicates with each other, and the PDU session corresponding to the PDN connection is established by the function entity of the home control plane to ensure the service continuity of the terminal equipment in the roaming scenario.
  • an AMF entity having the function of implementing the method described in the thirty-second aspect above. This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • AMF entities include:
  • a receiving unit configured to receive network slice information corresponding to a PDN connection to a fifth-generation 5G network, and address information of a control plane function entity corresponding to the PDN connection; optionally, the terminal device may also be used to receive a network signed by the terminal device.
  • Slice information corresponding to a PDN connection to a fifth-generation 5G network, and address information of a control plane function entity corresponding to the PDN connection; optionally, the terminal device may also be used to receive a network signed by the terminal device.
  • An acquiring unit configured to acquire, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is subscribed by the terminal device, to obtain a corresponding PDN connection that is allowed to be switched in the PDN connection to be switched to the 5G network Network slice information;
  • a sending unit configured to send a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switching request is used to request to switch the PDN connection to the protocol data unit PDU Conversation.
  • the specific implementation manner of the AMF entity may refer to the behavior function of the AMF entity in the session switching method provided by the 32nd aspect or the possible implementation manner of the 32nd aspect, and details are not repeatedly described herein. Therefore, the provided AMF entity can achieve the same beneficial effects as the thirty-second aspect.
  • an AMF entity comprising: a processor and a memory; the memory is configured to store a computer execution instruction, and when the AMF entity is running, the processor executes the computer execution instruction stored in the memory to The AMF entity is caused to perform the session switching method as described in any of the above-mentioned thirty-second aspects.
  • a thirty-fifth aspect a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform any one of the thirty-second aspects described above The session switching method described.
  • a computer program product comprising instructions for causing a computer to perform the session switching method of any of the above-described thirty-second aspects when executed on a computer is provided.
  • a chip system comprising a processor, configured to support an AMF entity to implement the functions involved in the foregoing aspects, for example, supporting an AMF entity to obtain a corresponding network slice when the PDN connection is switched to the 5G network.
  • the chip system further includes a memory for storing necessary program instructions and data of the AMF entity.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • a session switching system comprising the control plane functional entity according to any one of the twenty-first aspect to the twenty-fifth aspect, the twenty-seventh aspect to the thirty-first aspect The MME of any of the aspects, and the AMF entity of any of the thirty-third aspect to the thirty-seventh aspect.
  • FIG. 1 is a schematic diagram of a network architecture of an existing 4G network and a 5G network interworking
  • FIG. 2 is a schematic diagram of a network architecture of interworking between a 4G network and a 5G network in an LBO roaming scenario
  • FIG. 3 is a schematic diagram of a network architecture of a 4G network and a 5G network interworking in a home router roaming scenario
  • FIG. 4 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 5 is a flowchart of a session switching method according to an embodiment of the present application.
  • FIG. 6 is a flowchart of still another method for session switching according to an embodiment of the present application.
  • FIG. 7 is a flowchart of still another method for session switching according to an embodiment of the present application.
  • FIG. 8 is a flowchart of still another method for session switching according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of an MME according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of an AMF entity according to an embodiment of the present application.
  • FIG. 12 is a flowchart of still another method for session switching according to an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a functional entity of a control plane according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of an MME according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of an AMF entity according to an embodiment of the present application.
  • NSSAI Network slice selection assistance information
  • the NSSAI is used to indicate one or more network slices, and the NSSAI includes multiple single NSSAIs (single NSSAI, S-NSSAI).
  • S-NSSAI consists of a service type (slice/service type, SST) and a slice differentiator (SD).
  • SST includes standardization and operator-defined types; SD is optional information supplementing SST to distinguish multiple network slices of the same SST.
  • SST includes standardization and operator-defined types
  • SD is optional information supplementing SST to distinguish multiple network slices of the same SST.
  • Table 1 The types and effects of NSSAI defined in the 23.501 standard are shown in Table 1. It should be noted that, in the embodiment of the present application, the S-NSSAI is simply referred to as network slice information.
  • Access point name (APN):
  • the terminal device may provide an APN to a Mobility Management Entity (MME) when initiating a packet service.
  • MME Mobility Management Entity
  • the MME performs domain name resolution by using a domain name server (DNS) according to the APN provided by the terminal device, thereby obtaining an internet protocol (IP) address of the packet data gateway (PGW), and the terminal device is obtained. Access to the PDN corresponding to the APN.
  • DNS domain name server
  • the solution provided by the embodiment of the present application can be applied to the network of the 4G network and the 5G network interworking shown in FIG. 1 to implement switching the PDN connection in the 4G network to the PDU session in the 5G network.
  • the network may include: a terminal device, an evolved universal terrestrial radio access network (E-UTRAN) device, and a next generation radio access network (NG Radio Access Network, NG- RAN) device, MME in 4G network, Serving Gateway (SGW) in 4G network, AMF entity in 5G network, 4G network and 5G network share user plane function (UPF) entity + packet data PDN gateway user plane function (PGW-U) entity, session management function (SMF) entity + PDN gateway control plane function (PGW) -C) entity, policy control function (PCF) entity + policy and charging rules function (PCRF) entity, home subscriber server (HSS) + unified data management ( Unified data management, UDM) entities, etc.
  • E-UTRAN evolved universal terrestrial radio access network
  • NG- RAN next generation radio access network
  • MME in 4G network
  • SGW Serving Gateway
  • AMF entity in 5G network
  • 4G network and 5G network share user plane function (UPF) entity + packet data PDN gateway user plane function (PGW
  • UPF is the user plane function of the 5G network
  • PGW-U is the gateway user plane function of the 4G network corresponding to the UPF
  • the SMF entity is the session management function of the 5G network
  • the PGW-C is the SMF entity
  • the PCF is the policy control function of the 5G network
  • the PCRF is the policy charging rule function of the 4G network corresponding to the PCF.
  • the HSS+UDM entity is referred to as a user data management entity
  • the PGW-C entity+SMF entity is referred to as a control plane functional entity
  • the MME and AMF entities are referred to as different mobility.
  • the management entity, the E-UTRAN device and the NG-RAN device are referred to as different access network devices, and are collectively described herein, and are not described here.
  • the network device after the above-mentioned connection may also use other names, which is not specifically limited in this embodiment of the present application.
  • FIG. 1 is only an exemplary architecture diagram.
  • other entities may be included, such as a general packet radio system (GPRS) service support node in a 4G network.
  • GPRS general packet radio system
  • SGSN GPRS support node
  • AUSF authentication server function
  • NSSF network slice selection function
  • the terminal device in FIG. 1 may be a user equipment (UE), and may also be a variety of handheld devices, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem. It may also include a subscriber unit, a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA) computer, a tablet computer, a wireless modem (modem). , handheld, laptop computer, cordless phone or wireless local loop (WLL) station, machine type communication (MTC) terminal device, mobile Mobile station (MS), etc., is not limited.
  • the terminal device in FIG. 1 can access the 4G network through the E-UTRAN device, and the terminal device accesses the 5G network through the NG-RAN device.
  • the E-UTRAN device communicates with the MME through the S1-MME interface, the E-UTRAN device communicates with the SGW through the S1-U interface, the MME communicates with the SGW through the S11 interface, and the MME communicates with the user data management entity through the S6a interface, and the MME communicates with the user data management entity through the N26 interface.
  • the SGW communicates with the PGW-U entity + UPF entity through the S5-U interface
  • the SGW communicates with the PGW-C entity + SMF entity through the S5-C interface
  • the PGW-U entity + UPF entity passes the N3 interface and the NG-RAN Device communication
  • the PGW-U entity + UPF entity communicates with the PGW-C entity + SMF entity through the N4 interface
  • the PGW-C entity + SMF entity communicates with the PCRF entity + PCF entity through the N7 interface
  • the HSS+UDM entity passes the N10 interface and the PGW -C entity + SMF entity communication
  • HSS+UDM entity communicates with AMF entity through N8 interface
  • PCRF entity + PCF entity communicates with AMF entity through N15 interface
  • PGW-C entity + SMF entity communicates with AMF entity through N11 interface
  • AMF entity The NMF entity communicates with the NG-RAN device through the N2 interface
  • the AMF entity communicates with the terminal device through the N
  • the terminal device may be in a local breakout (LBO) roaming scenario or a home routed roaming scenario when moving in a 4G network and a 5G network interworking architecture.
  • LBO roaming may refer to the roaming user accessing the network through the gateway of the visited network to obtain the corresponding service.
  • the provider of the service may be a Home Public Land Mobile Network (HPLMN) (referred to as HPLMN), or may be visited.
  • HPLMN Home Public Land Mobile Network
  • PLMN Public Land Mobile Network
  • VPN Public Land Mobile Network
  • the user accesses the network through the SMF entity + PGW-C entity in the VPLMN to obtain the corresponding service, and the user plane traffic of all access services is forwarded by the v-PCF entity + v-PCRF entity in the VPLMN.
  • the h-PCF entity + h-PCRF entity in the HPLMN that is, the local breakout roaming SMF entity + PGW-C entity is located at the visited place, and its function is unchanged, and will not be described here.
  • the home routed roaming refers to the control route transmission by the v-SMF entity of the visited place and the home SMF entity + PGW-C entity via the home route, and the home UPF entity + PGW-U entity and data The network is connected.
  • Figure 3 shows the network system architecture of the 4G network and the 5G interworking in the home routed roaming scenario.
  • the v-SMF entity is the visited SMF entity
  • the v-PCF entity is the visited PCF entity. Change, here is not to repeat.
  • the communication device 400 includes at least one processor 401, a communication line 402, a memory 403, and at least one communication interface 404.
  • the processor 401 may be a central processing unit (CPU), may be an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. For example: one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs).
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • DSPs digital signal processors
  • FPGAs field programmable gate arrays
  • Communication line 402 can include a path for communicating information between the components described above.
  • Communication interface 404 using any type of transceiver, for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
  • RAN radio access network
  • WLAN wireless local area networks
  • the memory 403 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
  • the memory may be stand-alone and connected to the processor via communication line 402. The memory can also be integrated with the processor.
  • the memory 403 is used to store computer execution instructions for executing the solution of the present application, and is controlled by the processor 401 for execution.
  • the processor 401 is configured to execute a computer execution instruction stored in the memory 403, thereby implementing the session switching method provided by the following embodiments of the present application.
  • the computer-executed instructions in the embodiment of the present application may also be referred to as an application code, which is not specifically limited in this embodiment of the present application.
  • the processor 401 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
  • communication device 400 can include multiple processors, such as processor 401 and processor 408 in FIG. Each of these processors can be a single core processor or a multi-CPU processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
  • the communication device 400 can also include an output device 405 and an input device 406.
  • Output device 405 is in communication with processor 401 and can display information in a variety of ways.
  • the output device 405 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait.
  • Input device 406 is in communication with processor 401 and can receive user input in a variety of ways.
  • input device 406 can be a mouse, keyboard, touch screen device, or sensing device, and the like.
  • the communication device 400 described above may be a general purpose device or a dedicated device.
  • communication device 400 can be a desktop, a portable computer, a network server, a PDA, a mobile handset, a tablet, a wireless terminal device, an embedded device, or a device having a similar structure as in FIG.
  • the embodiment of the present application does not limit the type of the communication device 400.
  • FIG. 5 is a schematic flowchart of a session switching method according to an embodiment of the present disclosure. As shown in FIG. 5, FIG.
  • Step 501 The terminal device registers with the 4G network and establishes a PDN connection.
  • the terminal device may be any terminal device in FIG. 1 or FIG. 2 or FIG. 3.
  • the terminal device can be registered to the 4G network by using the MME.
  • the terminal device After the terminal device registers with the 4G network, when the terminal device determines to apply the PDN to be accessed, the terminal device sends the APN corresponding to the PDN to the MME, and the MME cooperatively controls.
  • the face function entity (SMF entity + PGW-C entity) establishes an Evolved Packet System (EPS) bearer, and the PDN connection establishment is completed.
  • EPS Evolved Packet System
  • One PDN connection may correspond to one or more applications, one PDN connection corresponds to one APN, and one PDN connection may be established under one APN, which is not limited.
  • the terminal device may store the correspondence between the PDN connection, the application, and the APN, and the MME may connect the PDN to the address information of the corresponding control plane function entity (ie, the SMF entity + the PGW-C entity).
  • the APN corresponding to the PDN connection is stored in the context of the terminal device, where the PDN connection corresponding application, the address information of the control plane function entity corresponding to the PDN connection, and at least one of the APNs corresponding to the PDN connection may be referred to as a PDN connection.
  • Information the information of the PDN connection is used to indicate a certain PDN connection corresponding to the SMF entity + PGW-C entity or APN or application.
  • the address information of the control plane function entity may be used to identify the control plane function entity, and the address information of the control plane function entity may be the public land mobile network where the control plane function entity is located (public land mobile network , PLMN) information, or the Internet Protocol (IP) address of the control plane functional entity, or the fully qualified domain name (FQDN) of the control plane functional entity.
  • PLMN public land mobile network
  • IP Internet Protocol
  • FQDN fully qualified domain name
  • Step 502 The terminal device determines network slice information corresponding to when the PDN connection is switched to the 5G network.
  • the corresponding network slice information when the PDN connection is switched to the 5G network may include the S-NSSAI of the corresponding network slice when the PDN connection is switched to the 5G network.
  • the terminal device After the terminal device establishes the PDN connection in the 4G network, the terminal device first determines that the PDN connection may be switched to the PDN connection in the 5G network, and then the terminal device determines that the PDN connection that may subsequently switch to the 5G network switches to the 5G. Network slice information corresponding to the network.
  • the terminal device determines, according to the policy information of the application corresponding to the PDN connection, that the PDN connection in the established PDN connection may be switched to the PDN connection in the 5G network, where the policy information is used to indicate the application to the network.
  • the requirement may be, for example, a Service-Level Agreement (SLA) of a service or a network handover policy (for example, the service preferentially uses a 5G network, or uses a 4G network without coverage of the 5G network, etc.).
  • SLA Service-Level Agreement
  • the terminal device determines that the application triggering the establishment of the first PDN connection has a 5G communication requirement, the terminal device determines that the first PDN connection may be subsequently switched to the PDN connection in the 5G network.
  • the terminal device determines that the first PDN connection may be subsequently switched to the PDN connection in the 5G network.
  • the terminal device determines that it supports the 5G network communication capability, determines that all the currently established PDN connections may be subsequently switched to the 5G network, thereby determining that the PDN connection is switched to the 5G network.
  • Network slice information when the terminal device determines that it supports the 5G network communication capability, the terminal device determines that all the currently established PDN connections may be subsequently switched to the 5G network, thereby determining that the PDN connection is switched to the 5G network.
  • the terminal device may determine the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network according to the correspondence between the information of the PDN connection and the network slice information.
  • the mapping between the information of the PDN connection and the network slice information may be stored in a network slice selection policy (NSSP), where the NSSP is mainly used to select a network slice in which the PDN connection is switched to the 5G network, and the NSSP configuration may be It is obtained in the terminal device or from other physical devices by the terminal device, and is not limited.
  • NSSP network slice selection policy
  • the PDN connection information includes an application corresponding to the PDN connection
  • the terminal device determines the corresponding network when the PDN connection is switched to the 5G network according to the corresponding application when the PDN connection is switched to the 5G network, and the corresponding relationship between the application and the network slice information.
  • Slice information For example, the corresponding relationship between the application and the network slice information is as shown in Table 2.
  • the terminal device can determine, by using the second table, the corresponding network when the PDN connection is switched to the 5G network.
  • the sliced S-NSSAI is S-NSSAI1, S-NSSAI2.
  • the information about the PDN connection includes the APN corresponding to the PDN connection.
  • the terminal device determines the PDN connection to the 5G network according to the corresponding APN when the PDN connection is switched to the 5G network and the corresponding relationship between the APN and the network slice information.
  • Corresponding network slice information For example, the corresponding relationship between the APN and the network slice information is as shown in Table 3.
  • the terminal device can determine, according to Table 3, the corresponding network slice when the PDN connection is switched to the 5G network.
  • the S-NSSAI is S-NSSAI3 and S-NSSAI4.
  • the PDN connection information may further include a DNN corresponding to the PDN connection.
  • the terminal device switches to the corresponding DNN according to the PDN connection to the 5G network. And the corresponding relationship between the DNN and the network slice information, and determining network slice information corresponding to when the PDN connection is switched to the 5G network.
  • the terminal device may determine the APN corresponding to the PDN connection as the DNN corresponding to the PDN connection, or obtain the DNN corresponding to the PDN connection by using a mapping relationship between the pre-configured APN and the DNN.
  • the network slice information determined by the terminal device in step 502 is that the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network may be visited when the PDN connection is switched to the 5G network.
  • Network slice information the terminal device can determine the network slice information of the home location when the PDN connection is switched to the 5G network according to the correspondence between the PDN connection information and the network slice information, and then switch to the 5G network according to the determined PDN connection.
  • the network slice information of the home location, and the mapping relationship between the home network slice information and the visited network slice information determine the network slice information of the visited place when the PDN connection is switched to the 5G network; or, when the terminal device is roaming at the home router,
  • the network slice information determined by the terminal device in step 502 is that the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network may be the network slice information of the home location when the PDN connection is switched to the 5G network.
  • the AMF entity when the AMF entity receives the Network slice information of the home location when the PDN connection is switched to the 5G network, by the AMF entity According to the mapping relationship between the home network and the visited network information sections slice information, when determining the visited network PDN connection handover to 5G network information sections, not limiting.
  • the mapping relationship between the home network slice information and the visited network slice information is as shown in Table 4.
  • the terminal device determines, according to Table 3, that the PDN connection is switched to the 5G network
  • the network slice information of the home location is S-NSSAI3, S- After the NSSAI4
  • the terminal device can determine, according to the mapping relationship between the home network slice information and the visited network slice information, that the network slice information of the visited place is S-NSSAI1 and S-NSSAI2 when the PDN connection is switched to the 5G network. , S-NSSAI8.
  • the embodiment of the present application is only an exemplary implementation of the foregoing network device to determine the corresponding network slice information when the PDN connection is switched to the 5G network.
  • the network slice information corresponding to the PDN connection when switching to the 5G network is not limited.
  • the terminal device may identify its own Public Land Mobile Network (PLMN) and the access network device in the area where the terminal device is located (the E-UTRAN device or the NG-RAN device in FIG. 1)
  • PLMN Public Land Mobile Network
  • the transmitted PLMN identifiers are compared. When the two are the same, the terminal device determines that it is non-roaming. When the two are different, the terminal device determines that it is roaming.
  • Step 503 The terminal device sends the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the MME receives the network slice information corresponding to the PDN connection sent by the terminal device when the PDN connection is switched to the 5G network.
  • the MME may be the MME in FIG. 1 or FIG. 2 or FIG. 3.
  • the terminal device when the terminal device switches the PDN connection to the 5G network, the corresponding network slice information is directly sent to the MME in the first message, or the terminal device sends the PDN connection to the control plane function entity (SMF entity + PGW-C entity).
  • the first message may further carry indication information, where the indication information may be used to indicate that the MME only stores the network slice information corresponding to when the PDN connection is switched to the 5G network, and does not parse the PDN connection included in the first message and switch to the 5G network.
  • Corresponding network slice information for example, the first message may be a cell, the cell may be a transparent container, and may include a header and a load.
  • the header carries the indication information
  • the load carries the PDN connection and switches to Corresponding network slice information for 5G network.
  • the terminal device sends the corresponding network slice information when the PDN connection is switched to the 5G network to the MME, and may also send the corresponding DNN when the PDN connection is switched to the 5G network, and the corresponding network when each PDN connection is switched to the 5G network. At least one of the priority information of the slice information.
  • the priority information of the corresponding network slice information when the PDN connection is switched to the 5G network is used to indicate the priority of the A-NSSAI of the network slice or the priority of the PDN connection, which is not limited.
  • the terminal device determines, according to the importance of the PDN connection, the load condition of the network slice indicated by the corresponding network slice information when the PDN connection is switched to the 5G network, and the requirement information of the terminal device.
  • the demand information of the terminal device may indicate, by the terminal device, which PDN connections in the established PDN connection are switched to the 5G network, for example, if the terminal device wants the PDN connection 1 to preferentially switch to the 5G, the terminal device switches the PDN connection 1 When the 5G network reaches the 5G network, the priority of the corresponding network slice information is set higher.
  • the subsequent AMF entity receives the network slice information of the PDN connection 1 and the PDN connection 2, and selects the appropriate network slice and the target AMF entity, the PDN1 is prioritized.
  • Corresponding network slice information when switching to the 5G network that is, the S-NSSAI corresponding to the selected network slice includes the S-NSSAI of the PDN connection 1, and then the S-NSSAI of the PDN connection 2 is considered.
  • the MME may store the corresponding network slice information in the context of the terminal device when the PDN connection is switched to the 5G network.
  • Step 504 The MME receives a handover (HO) request sent by the source access network device, and sends a context of the terminal device to the AMF entity.
  • HO handover
  • the source access network device may be the E-UTRAN device in FIG. 1 or FIG. 2 or FIG. 3.
  • the context of the terminal device includes the information of the PDN connection, and the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the information of the PDN connection includes the address information of the control plane function entity corresponding to the PDN connection, and the PDN connection. At least one of the APNs.
  • the source access network device determines, according to the cell measurement information reported by the terminal device, the terminal device moves from the 4G network to the 5G network
  • the source access network device sends a handover request to the MME through the S1-MME interface, where the handover request can be carried.
  • the identifier of the terminal device when the MME receives the HO request, sends the context of the terminal device to the AMF entity according to the identifier of the terminal device.
  • the AMF entity may be a default AMF entity corresponding to the MME, or the handover request carries information about the current area of the terminal device, and the MME determines the AMF entity set according to the current location of the terminal device and the correspondence between the target area and the AMF entity set. And selecting an AMF entity from the selected AMF entity set as the AMF entity in step 504 according to the corresponding policy; or, the MME determines the AMF entity set according to the correspondence between the MME and the AMF entity set, and according to the corresponding policy, The selection of an AMF entity from the selected set of AMF entities as the AMF entity in step 504 is not limited.
  • the policy may specifically be a method for determining an AMF entity from the AMF entity set based on information such as priority, capacity, or load of each AMF entity in the AMF entity set.
  • Step 505 The AMF entity receives the context of the terminal device from the MME, acquires network slice information corresponding to when the PDN connection is switched to the 5G network, and acquires subscription data of the terminal device from the user data management entity.
  • the user data management entity may be the HSS+UDM entity in FIG. 1 or FIG. 2 or FIG. 3.
  • the subscription data of the terminal device may include the network slice information (Subscribed S-NSSAI) subscribed by the terminal device, and may also include the DNN signed by the terminal device, etc., without limitation.
  • the AMF entity obtains the subscription data of the terminal device from the user data management entity by using the Nudm message, the Nudm message carries the subscription data of the terminal device, and the Nudm is the service interface of the UDM entity, and the Nudm message is Nudm in the existing protocol.
  • Subscriber data management which functions to allow network function (NF) consumers to retrieve subscription data of terminal devices when needed, and to provide updated contract information of terminal devices to contracted NF consumption.
  • the AMF entity determines the network slice information of the visited place when the PDN connection is switched to the 5G network according to the mapping relationship between the home network slice information and the visited network slice information.
  • the network slice information of the visited place when the PDN connection is switched to the 5G network is used as the network slice information corresponding to the PDN connection in step 506 when the PDN connection is switched to the 5G network.
  • Step 506 The AMF entity obtains the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection according to the network slice information and the contracted network slice information when the PDN connection is switched to the 5G network, and determines that the support can be switched.
  • the target AMF entity of the corresponding network slice when the PDN connection is switched to the 5G network is determined.
  • the AMF entity according to the priority of the S-NSSAI corresponding to each PDN connection in the corresponding network slice information when the multiple PDN connections are switched to the 5G network, and the load of the corresponding S-NSSAI of each PDN connection Determining at least one of the NSSAIs supported by each AMF entity in the AMF entity set configured in the AMF entity, determining the candidate network slice information corresponding to the PDN connection, and taking the intersection of the candidate network slice information and the subscribed network slice information
  • the NSSAI is used as the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network.
  • the priority of the network slice information corresponding to the AMF entity when switching to the 5G network according to the PDN connection that can be switched in the PDN connection, and the self The configuration capability determines whether it supports the corresponding network slice when the PDN connection that can be switched in the PDN connection is switched to the 5G network. If it supports, it determines that it is the target AMF entity.
  • the AMF entity If not, the AMF entity according to the configuration capability of the AMF entity, The priority AMF entity set of the corresponding network slice information when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the AMF entity supporting the network slice information with the high priority level or the support network slice is selected from the target AMF entity set.
  • the AMF entity is the target AMF entity; or the AMF entity directly determines the target AMF entity set according to the configuration capability of the AMF entity and the priority of the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection.
  • Select AMF in the AMF entity set to support network slice information with high priority level The entity or the AMF entity supporting the most network slice is the target AMF entity.
  • the AMF entity may directly determine the priority of the S-NSSAI corresponding to the PDN connection according to the priority information of the corresponding network slice information when the PDN connection sent by the terminal device in the step 503 is switched to the 5G network, or according to the PDN connection sent by the terminal device.
  • the priority of the PDN connection indicated by the priority information of the corresponding network slice information when switching to the 5G network determines the priority of the S-NSSAI corresponding to the PDN connection, or the corresponding network when the terminal device does not send the PDN connection to switch to the 5G network.
  • the AMF entity configures the S- corresponding to the PDN connection according to at least one of the importance of the PDN connection and the load condition of the network slice indicated by the corresponding network slice information when the PDN connection is switched to the 5G network.
  • NSSAI no restrictions.
  • the AMF entity sends a network slice selection function (NSSF) entity to the network slice information corresponding to the network slice information and the contracted network slice information when the PDN connection is switched to the 5G network.
  • NSSF network slice selection function
  • the request the NSSF determines the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection, and determines that the support can be switched according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network and the network slice information subscribed by the terminal device.
  • the NSSF When the PDN connection is switched to the target AMF entity of the corresponding network slice when the PDN connection is switched to the 5G network, the NSSF returns a determination result to the AMF entity, and the AMF entity obtains the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection according to the determination result. And determining a target AMF entity that supports the corresponding network slice when the switchable PDN connection is switched to the 5G network.
  • the NSSF entity determines the network slice information corresponding to the switchable PDN connection in the PDN connection when the PDN connection is switched to the 5G network according to the network slice information and the contracted network slice information when the PDN connection is switched to the 5G network, and determines that the PDN that can be switched is supported.
  • the network slice information corresponding to the AMF entity that is switched to the 5G network according to the PDN connection refer to the network slice information corresponding to the AMF entity that is switched to the 5G network according to the PDN connection, and the network slice information of the subscription to determine the PDN connection that can be switched in the PDN connection.
  • Step 507 When the target AMF entity is an AMF entity, the AMF entity sends a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection.
  • the home control plane function entity may be the SMF entity + PGW-C entity in FIG. 1 or FIG. 2 or FIG. 3, and the address information of the control plane function entity is used to identify the location of the home control plane function entity in the network;
  • the session switching request is used to request to switch the PDN connection to the PDU session, and the session switching request may carry the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network.
  • the AMF entity when the AMF entity determines that the terminal device is in non-roaming or LBO roaming, the AMF entity sends the address information of the control plane function entity corresponding to the PDN connection in the context of the terminal device in step 506 to the home control plane.
  • the functional entity sends a session switch request.
  • the AMF entity determines a functional entity of the visited control plane (FIG. 3).
  • the AMF entity sends a session to the visited control plane function entity that carries the network slice information corresponding to the PDN connection switchable to the 5G network and the address information of the control plane function entity corresponding to the PDN connection.
  • a request is established, and the visited control plane function entity sends a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection.
  • the AMF entity may perform the network slice indicated by the corresponding network slice information when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the DNN corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • a control plane function entity capable of accessing the DN identified by the DNN is selected from the control plane function entities included in the network slice as the visited control plane function entity.
  • the corresponding network slice information is S-NSSAI1, and the S-NSSAI1 corresponds to one network slice 1, and the network slice 1 includes multiple control plane functional entities, and the terminal device A control plane function entity that can access the DN identified by the DNN can be selected in the network slice 1 as the visited control plane function entity.
  • the AMF entity can use the low-load control plane functional entity as the visited control plane function according to the load condition of the control plane functional entity.
  • the entity, or the functional entity of the visited control plane is selected according to other conditions of the functional entity of the control plane, and is not limited.
  • the DNN corresponding to the PDN connection when the PDN connection is switched to the 5G network may be sent by the terminal device to the MME in step 503, and then sent by the MME to the AMF entity, or when the terminal device does not send the PDN connection to the MME to switch to the 5G network.
  • the AMF entity includes the APN corresponding to the PDN connection in the context of the terminal device received by the MME, and the AMF entity may determine, according to the mapping relationship between the APN included in the information of the PDN connection and the APN and the DNN, the PDN connection is switched to the 5G network. DNN, no restrictions.
  • the AMF entity when the AMF entity determines that the terminal device is roaming in the home router shown in FIG. 3, and the AMF entity cannot select the visited control plane function entity, the AMF entity sends a selection request to the NRF, and the selection request is sent.
  • the network slice information corresponding to the network PIM information that is switched when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the network slice corresponding to the network slice information corresponding to the PDN connection that can be switched in the PDN connection.
  • the DNN selects, from the control plane function entity included in the network slice, a control plane function entity that can access the DN identified by the DNN as the visited control plane function entity, and accesses the address information of the control plane function entity
  • the AMF entity is fed back to the AMF entity, and the AMF entity sends the corresponding network slice information and the control plane function entity corresponding to the PDN connection when the PDN connection that can be switched in the PDN connection is switched to the 5G network according to the feedback result of the NRF.
  • the session establishment request of the address information, the visited local control plane function entity according to the PDN connection pair Address information of the control plane function entity sends a session switching request to the home control plane functional entity.
  • the DNN in the implementation manner may be sent by the terminal device to the MME in step 503, and sent by the MME to the AMF entity in the context of the terminal device.
  • the address information of the control plane function entity of the visited area may be an IP address or an FQDN of the control plane function entity, which is not specifically limited in this embodiment.
  • the AMF entity may determine, according to the PLMN identity of the terminal device and the PLMN of the AMF entity, that the terminal device is in a non-roaming or LBO roaming or home router roaming scenario.
  • the implementation process may refer to the prior art. I will not repeat them here.
  • the AMF entity when the target AMF entity is another AMF entity, the AMF entity sends a redirect indication to the target AMF entity; the target AMF entity receives the redirect indication from the AMF entity, and the target AMF entity sends the redirecting indication to the home control plane functional entity.
  • the redirection indication may carry the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection determined by the AMF entity, and the PDN connection corresponding to the context of the terminal device received by the AMF entity from the MME.
  • the address information of the control surface function entity when the target AMF entity is another AMF entity, the AMF entity sends a redirect indication to the target AMF entity; the target AMF entity receives the redirect indication from the AMF entity, and the target AMF entity sends the redirecting indication to the home control plane functional entity.
  • the redirection indication may carry the network slice information corresponding to the PDN connection switchable to the 5G network in the
  • the session switching request is information for requesting to switch the PDN connection to the PDU session, and the information may be named other than the session switching request, such as a session. Different expressions such as update requests may also be included in the scope of the present application.
  • the session establishment request is information for instructing the visited control plane function entity to send a session handover request to the home control plane function entity. The information may be named other than the session establishment request, such as a session. Different expressions such as update requests may also be included in the scope of the present application.
  • Step 508 The home control plane function entity receives the session switching request, and establishes a PDU session according to the network slice information corresponding to the switchable PDN connection in the PDN connection.
  • the establishing a PDU session by the home control plane function entity according to the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network may mean that the home control plane function entity switches to the PDN connection that can be switched according to the PDN connection.
  • the network slice indicated by the corresponding network slice information in the 5G network, and the PDU session is established in the corresponding network slice when the PDN connection that the cooperative terminal device or other network element can switch in the PDN connection is switched to the 5G network.
  • the process of establishing a PDU session may refer to an existing process, and details are not described herein.
  • the PDN connection is switched to the PDU session.
  • the process of switching a PDN connection to a PDU session is exemplified in the steps 501 to 508.
  • the process of switching the other PDN connections to the PDU session may refer to this process, and details are not described herein again.
  • the terminal device determines the network slice information corresponding to the PDN connection, and passes the determined network slice information when the determined PDN connection is switched to the 5G network.
  • the MME sends to the AMF entity, so that the AMF entity determines the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection, according to the network slice information corresponding to the PDN connection and the network slice information subscribed by the terminal device.
  • the corresponding network slice information is sent to the home control plane function entity when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the home control plane function entity is in the network slice corresponding to the PDN connection according to the network slice information.
  • Establish a PDU session to switch the PDN connection to the PDU session That is to say, the solution solves the problem that the network slice supporting the PDN connection slice cannot be determined in the prior art, and implements switching between the PDN connection and the PDU session.
  • the AMF entity in step 506 is not the target AMF entity, it means that the AMF entity cannot support the target AMF entity of the corresponding network slice when the switchable PDN connection is switched to the 5G network.
  • the AMF entity A redirection indication carrying the address information of the control plane functional entity may be sent to the target AMF entity, indicating that the target AMF entity sends a session handover request to the home control plane function entity according to the control plane function entity.
  • the AMF entity 1 entity determines that the target AMF entity is the AMF entity 2, and the AMF entity 1 sends a redirect indication carrying the address information of the control plane functional entity to the AMF entity 2, and the AMF entity 2 belongs to the home.
  • the ground control plane function entity sends a session switch request.
  • the scheme shown in FIG. 5 may further include: the terminal device initiates registration with the AMF entity, in order to facilitate the subsequent network device to select a network slice supporting the PDU session.
  • the requesting, the AMF entity determines the allowed network slice information of the terminal device according to the network slice information of the subscription, the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network, and the AMF entity returns a registration accept message to the terminal device.
  • the implementation process may refer to the solution shown in FIG. 5, and details are not described herein again.
  • FIG. 6 is a schematic flowchart of another method for session switching according to an embodiment of the present disclosure. As shown in FIG. 6, the method may include:
  • steps 601 to 606 are the same as the steps 501 to 506.
  • Step 607 When the AMF entity is the target AMF entity, and the AMF entity determines that the terminal device is roaming at the home router, the AMF entity switches to the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection, and the PDN connection is switched to The corresponding DNN of the 5G network determines the vSMF entity.
  • step 507 The manner in which the AMF entity determines the functional entity of the visited control plane can be referred to in step 507, and details are not described herein again.
  • Step 608 The AMF entity sends a session establishment request to the vSMF entity.
  • the session establishment request may carry the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and the address information of the control plane function entity.
  • Step 609 The vSMF entity receives a session establishment request from the AMF entity, and sends a session handover request to the SMF entity according to the session establishment request.
  • the session switching request may carry the network slice information corresponding to when the PDN connection is switched to the 5G network.
  • Step 610 The SMF entity receives the session switching request, and establishes a PDU session according to the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network.
  • the step 610 is the same as the step 508. For details, refer to the embodiment shown in FIG. 5, and details are not described herein again.
  • the method further includes: after the PDN connection is switched to the PDU session, in order to facilitate the subsequent network device to select a network slice that supports the PDU session, the method further includes:
  • Step 611 The terminal device initiates a registration request to the AMF entity.
  • the registration request is used to request to register the terminal device to the 5G network, and the registration request may carry the network slice information requested by the terminal device.
  • the AMF entity may be the AMF entity in step 505 above.
  • Step 612 The AMF entity determines the allowed network slice information of the terminal device according to the network slice information of the subscription, the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network, and the network slice information requested by the terminal device.
  • the implementation of the step 612 may refer to the network slice information corresponding to the AMF entity that is switched to the 5G network according to the PDN connection, and the network slice information of the subscription, to determine that the PDN connection that can be switched in the PDN connection is switched to the 5G network.
  • the manner of corresponding network slice information is not described here.
  • Step 613 The AMF entity returns a registration accept message to the terminal device.
  • the registration accept message may carry the allowed network slice information.
  • the terminal device determines the network slice information corresponding to the PDN connection, and passes the determined network slice information when the determined PDN connection is switched to the 5G network.
  • the MME sends to the AMF entity, so that the AMF entity determines the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection, according to the network slice information corresponding to the PDN connection and the network slice information subscribed by the terminal device.
  • the corresponding network slice information is sent to the SMF entity when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the SMF entity establishes a PDU session in the network slice corresponding to the PDN connection according to the network slice information, so as to implement the PDN connection. Switch to the PDU session. That is to say, the solution solves the problem that the network slice of the PDN connection slice cannot be determined in the prior art, and implements the handover between the PDN connection and the PDU session.
  • the terminal device initiates a registration request to the AMF entity, and the AMF entity receives the request.
  • the allowed network slice information is determined after the request, so that the subsequent PDN connection is switched to the PDU session according to the allowed network slice information.
  • FIG. 7 is a schematic flowchart of a session switching method according to an embodiment of the present disclosure. As shown in FIG. 7, the method may include:
  • Step 701 The terminal device registers with the 4G network and establishes a PDN connection.
  • step 701 For the specific implementation of the step 701, reference may be made to the manner described in step 501, and details are not described herein again.
  • Step 702 The terminal device determines network slice information corresponding to when the PDN connection is switched to the 5G network.
  • step 702 refers to the manner described in step 502, and details are not described herein again.
  • Step 703 The terminal device sends a registration request to the target access network device.
  • the target access network device is an access network device in the 5G network, for example, the NG-RAN device in FIG. 1 or FIG. 2 or FIG.
  • the registration request may be used to request registration to the 5G network, and the registration request may carry the 5G Globally Unique Temporary UE Identity (5G-GUTI) information of the terminal device in the 5G network, and the PDN connection determined by the terminal device is switched to the 5G network.
  • 5G-GUTI 5G Globally Unique Temporary UE Identity
  • NSSAI network slice information and network slice information (NSSAI) requested by the terminal device.
  • the 5G-GUTI information includes 5G-GUTI, and the 5G-GUTI information is used to indicate that the 5G-GUTI is mapped from the 4G-GUTI in the Evolved Packet Core (EPC) network, and the 4G-GUTI includes the MME.
  • EPC Evolved Packet Core
  • the information (such as the MME group identifier (MMEGI) and the MME code number (MME CODE)), the information of the MME is used to identify the MME that provides the access service for the terminal device.
  • MMEGI MME group identifier
  • MME CODE MME code number
  • the S-NSSAI of the corresponding network slice when the PDN connection determined by the terminal device is switched to 5G and the S-NSSAI of other network slices requested by the terminal are sent to the AMF entity in the requested NSSAI (requested NSSAI).
  • the terminal device notifies the AMF entity in the "requested NSSAI" which S-NSSAI corresponds to the established PDN connection; or the terminal device places the requested S-NSSAI of other network slices in the "requested NSSAI", which will be determined.
  • the S-NSSAI of the corresponding network slice is sent to the AMF entity in another separate NSSAI.
  • the method for sending the S-NSSAI of the corresponding network slice to the AMF entity by the S-NSSAI corresponding to the network slice when the terminal device switches the determined PDN connection to the 5G network is not limited.
  • the registration request sent by the terminal device may include the terminal device request.
  • Network slice information S-NSSAI1 and S-NSSAI2).
  • Step 704 The target access network device sends a registration request to the AMF entity.
  • the AMF entity in step 704 can be a default AMF entity.
  • Step 705 The AMF entity receives the registration request from the target access network device, obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information requested by the terminal device, and acquires the subscription data of the terminal device from the user data management entity.
  • the subscription data of the terminal device includes the network slice information that is signed by the terminal device.
  • the manner in which the AMF entity obtains the subscription data of the terminal device from the user data management entity in step 705 can refer to the manner shown in step 505, and details are not described herein.
  • Step 706 The AMF entity determines the allowed network slice information of the terminal device according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the network slice information requested by the terminal device, and the subscribed network slice information.
  • step 706, refer to the manner shown in step 506.
  • the AMF entity according to the priority of the S-NSSAI corresponding to each PDN connection in the corresponding network slice information when the AMF entity switches to the 5G network, the network slice information requested by the terminal device, and the signing A candidate for the PDN connection is determined by at least one of the priority of the network slice information, the load information of the S-NSSAI corresponding to each PDN connection, and the NSSAI supported by each AMF entity in the AMF entity set configured in the AMF entity.
  • Network slice information taking NSSAI in the intersection of the candidate network slice information and the subscribed network slice information as the allowed network slice information of the terminal device; or
  • the AMF entity sends, to the NSSF entity, the network slice information corresponding to the PDN connection handover to the 5G network, the network slice information requested by the terminal device, the subscribed network slice information, and the subscribed network slice information.
  • the slice selection request, the NSSF determines the allowed network slice information of the terminal device according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the network slice information requested by the terminal device, and the network slice information subscribed by the terminal device, and the network slice information subscribed by the terminal device.
  • the NSSF returns a determination result to the AMF entity, and the AMF entity acquires the allowed network slice information of the terminal device according to the determination result.
  • Step 707 The AMF entity sends an acquisition request to the MME according to the 5G-GUTI information in the registration request.
  • the obtaining request is used to request the acquisition of the context of the terminal device, and the context of the terminal device includes the address information of the control plane function entity corresponding to the PDN connection.
  • the AMF entity determines, according to the 5G GUTI information in the registration request, and the mapping relationship between the 4G-GUTI and the 5G-GUTI, the 4G-GUTI corresponding to the 5G-GUTI, and according to the information of the MME included in the 4G-GUTI to the MME.
  • Step 708 The MME receives the acquisition request sent by the AMF entity, and sends the context of the terminal device to the AMF entity.
  • the context of the terminal device includes address information of a control plane function entity corresponding to the PDN connection.
  • Step 709 The AMF entity sends a session switching request to the home control plane function entity according to the address information of the control plane function entity.
  • the home control plane function entity may be the SMF entity + PGW-C entity in FIG. 1 or FIG. 2 or FIG. 3, and the session switch request may be used to request the control plane function entity to switch the PDN connection to the PDU session, and the session switch request
  • the allowed network slice information acquired by the AMF entity in step 709 may be carried.
  • step 709 can be referred to the step 508, and details are not described herein again.
  • Step 710 The home control plane function entity receives the session switch request, and establishes a PDU session according to the allowed network slice information.
  • the establishing, by the home control plane function entity, the PDU session according to the allowed network slice information may be: the network slice indicated by the home control plane function entity according to the allowed network slice information, and the coordinated terminal device or other network element in the network corresponding to the PDN connection.
  • a PDU session is established in the slice.
  • the process of establishing a PDU session may refer to an existing process, and details are not described herein.
  • Step 711 The AMF entity returns a registration accept message to the terminal device.
  • the registration accept message may carry the allowed network slice information.
  • step 706 may be performed before step 707 to step 708, or may be performed after step 707 to step 708 and before step 709, and is not limited.
  • the terminal device when the terminal device registers with the 5G network, the terminal device sends the requested network slice information and the network slice information corresponding to the established PDN connection of the terminal device to the AMF entity, and the AMF entity according to the PDN.
  • Corresponding network slice information, the requested network slice information, and the network slice information subscribed by the terminal device determine the allowed network slice information of the terminal device, and send the determined network slice information to the SMF entity, and the SMF entity according to the network slice information Establishing a PDU session in the network slice corresponding to the PDN connection, and switching the PDN connection to the PDU session. That is to say, the solution solves the problem that the network device that supports the PDN connection slice cannot be determined when the terminal device registers to the 5G network, and implements switching between the PDN connection and the PDU session.
  • the terminal device when the terminal device registers with the 4G network and the PDN connection is established, the terminal device is in an idle state for some reason and moves to the coverage of the 5G base station. At this time, the terminal device may initiate to the 5G base station.
  • the terminal device may also send the corresponding network slice information to the AMF entity through the MME when the PDN connection determined by the terminal device is switched to the 5G network. Specifically, the implementation is as shown in FIG. 8.
  • FIG. 8 is a schematic flowchart of still another method for switching a session according to an embodiment of the present disclosure. As shown in FIG. 8, the method may include:
  • Step 801 to step 802 the steps 801 to 802 are the same as the steps 701 to 702, and details are not described herein again.
  • Step 803 The terminal device sends the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the MME receives the network slice information corresponding to the PDN connection sent by the terminal device when the PDN connection is switched to the 5G network.
  • step 803 For the specific implementation of the step 803, refer to the method in the step 503, and details are not described herein again.
  • Step 804 The terminal device sends a registration request to the target access network device.
  • the target access network device is an access network device in the 5G network, for example, the NG-RAN device in FIG. 1 or FIG. 2 or FIG.
  • the above registration request may be used to request registration to the 5G network, and the registration request may carry the 5G-GUTI information of the terminal device and the network slice information requested by the terminal device.
  • Step 805 The target access network device sends a registration request to the AMF entity.
  • the AMF entity in step 805 can be a default AMF entity.
  • Step 806 The AMF entity sends an acquisition request to the MME according to the 5G-GUTI information in the registration request.
  • Step 806 is the same as step 707, and details are not described herein again.
  • Step 807 The MME receives the acquisition request sent by the AMF entity, and sends the context of the terminal device to the AMF entity.
  • the context of the terminal device includes network slice information corresponding to when the PDN connection is switched to the 5G network, and address information of the control plane function entity corresponding to the PDN connection.
  • Step 808 The AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and obtains the network slice information requested by the terminal device from the registration request, and acquires the terminal device from the user data management entity. Signing data.
  • step 808 For the specific implementation of the step 808, reference may be made to the manner shown in step 505, and details are not described herein again.
  • Step 809 The AMF entity determines the allowed network slice information of the terminal device according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the network slice information requested by the terminal device, and the subscribed network slice information.
  • step 809 For the specific implementation of the step 809, reference may be made to the manner shown in step 706, and details are not described herein again.
  • Step 810 The AMF entity sends a session switching request to the control plane function entity according to the address information of the control plane function entity.
  • the session switching request may be used to request to switch the PDN connection to the PDU session, and the session switching request may carry the allowed network slice information acquired by the AMF entity in step 809.
  • step 810 can be referred to the step 508, and details are not described herein again.
  • Step 811 The control plane function entity receives the session switch request, and establishes a PDU session according to the allowed network slice information.
  • the establishing, by the control plane function entity, the PDU session according to the allowed network slice information may be: the control plane function entity establishes a PDU in the network slice corresponding to the PDN connection according to the network slice indicated by the allowed network slice information, and the coordinated terminal device or other network element. Conversation.
  • the process of establishing a PDU session may refer to an existing process, and details are not described herein.
  • Step 812 The AMF entity returns a registration accept message to the terminal device.
  • the registration accept message may carry the allowed network slice information.
  • the terminal device when the terminal device registers with the 5G network, the terminal device sends the requested network slice information and the network slice information corresponding to the established PDN connection of the terminal device to the AMF entity, and the AMF entity according to the PDN.
  • Corresponding network slice information, requested network slice information, and network slice information subscribed by the terminal device determine the allowed network slice information, and send the determined network slice information to the control plane function entity, and the control plane function entity according to the network slice information Establishing a PDU session in the network slice corresponding to the PDN connection, and switching the PDN connection to the PDU session. That is to say, the solution solves the problem that the network device that supports the PDN connection slice cannot be determined when the terminal device registers to the 5G network, and implements switching between the PDN connection and the PDU session.
  • the solution provided by the embodiment of the present application is mainly introduced from the perspective of interaction between the network elements.
  • the foregoing terminal device, the first mobility management entity and the second mobility management entity include corresponding hardware structures and/or software modules for performing respective functions.
  • the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
  • the embodiment of the present application may perform the function module division on the terminal device, the first mobility management entity, and the second mobility management entity according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be used.
  • the functionality is integrated in a processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 9 is a schematic diagram showing a possible configuration of the terminal device involved in the foregoing embodiment.
  • the terminal device may include: a determining unit 91, The transmitting unit 92 and the receiving unit 93.
  • the determining unit 91 is configured to determine network slice information corresponding to when the packet data network PDN connection is switched to the fifth generation 5G network
  • the sending unit 92 is configured to send, to the mobility management entity, the network slice information corresponding to when the PDN connection is switched to the 5G network.
  • the determining unit 91 is configured to determine, according to the correspondence between the information of the PDN connection and the network slice information, the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the PDN connection information includes the PDN. Connect the corresponding access point name to the corresponding application of the APN or PDN connection.
  • the determining unit 91 is further configured to: before the determining unit 91 determines that the packet data network PDN connection is switched to the corresponding network slice information when the PDN connection is switched to the fifth generation 5G network, according to the policy information of the application corresponding to the PDN connection Determining the PDN connection of the PDN connection that the terminal device has established to switch to the 5G network; or, when the terminal device itself supports the 5G network communication capability, the determining unit 91 determines that all the established PDN connections are switched to the 5G network.
  • the sending unit 92 is further configured to send, to the mobility management entity, information about the priority of the network slice information corresponding to the PDN connection when switching to the 5G network.
  • the determining unit 91 is specifically configured to determine network slice information of the home location when the PDN connection is switched to the 5G network according to the policy information of the application corresponding to the PDN connection, according to the PDN.
  • the network slice information of the home location when switching to the 5G network, and the mapping relationship between the home network slice information and the visited network slice information are determined, and the network slice information of the visited place when the PDN connection is switched to the 5G network is determined.
  • the sending unit 92 is configured to send the corresponding network slice information in the first message to the MME when the PDN connection is switched to the 5G network, where The first message is used to instruct the MME to store the corresponding network slice information in the context of the terminal device when the PDN connection is switched to the 5G network.
  • the sending unit 92 is configured to carry the corresponding network slice information in the registration request to the AMF entity when the PDN connection is switched to the 5G network.
  • the terminal device provided by the embodiment of the present application is configured to perform the foregoing session switching method, so that the same effect as the above session switching method can be achieved.
  • the terminal device may include a processing module and a communication module, and the processing module is configured to control and manage the actions of the terminal device.
  • the communication module is used to support communication of the terminal device with other network entities, such as communication with the functional modules or network entities shown in FIG.
  • the terminal device may further include a storage module for storing program code and data of the server.
  • the processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module can be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module can be a memory.
  • the processing module is a processor
  • the communication module is a communication interface
  • the storage module is a memory
  • the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
  • FIG. 10 is a schematic diagram showing a possible composition of the MME involved in the foregoing embodiment.
  • the MME may include: a receiving unit 101 and a sending unit. 102.
  • the receiving unit 101 is configured to receive, from the terminal device, network slice information corresponding to when the packet data network PDN connection determined by the terminal device is switched to the fifth generation 5G network, and the sending unit 102 is further configured to access the mobility and mobility management function AMF entity.
  • the context of the terminal device includes the network slice information corresponding to the PDN connection when the PDN connection is switched to the fifth generation 5G network, and the information of the PDN connection.
  • the information of the PDN connection includes the address information of the control plane function entity corresponding to the PDN connection.
  • the receiving unit 101 is configured to receive, by the terminal device, a first message that carries the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the first message is used to indicate that the MME
  • the corresponding network slice information when the PDN connection is switched to the 5G network is stored in the context of the terminal device.
  • the MME may include a processing module and a communication module, and the processing module is configured to control and manage the actions of the MME.
  • the communication module is used to support communication between the MME and other network entities, such as with the functional modules or network entities shown in FIG.
  • the MME may also include a storage module for storing program code and data of the server.
  • the processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module can be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module can be a memory.
  • the processing module is a processor
  • the communication module is a communication interface
  • the storage module is a memory
  • the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
  • FIG. 11 is a schematic diagram showing a possible composition of the AMF involved in the foregoing embodiment.
  • the AMF may include: a receiving unit 111 and an acquiring unit. 112.
  • the receiving unit 111 is configured to receive network slice information corresponding to the packet data network PDN connection determined by the terminal device when switching to the fifth generation 5G network, address information of the control plane function entity corresponding to the PDN connection, and network slice information subscribed by the terminal device. ;
  • the acquiring unit 112 is configured to obtain, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is signed by the terminal device, to obtain the network slice information corresponding to the PDN connection that is allowed to be switched in the PDN connection to be switched to the 5G network;
  • the sending unit 113 is configured to send a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switching request is used to request to switch the PDN connection to the protocol data unit PDU session.
  • the receiving unit 111 is configured to acquire, from the mobility management entity MME, network slice information corresponding to when the PDN connection is switched to the fifth generation 5G network, or obtain the PDN connection from the terminal device to switch to the fifth. Corresponding network slice information when generating a 5G network.
  • the receiving unit 111 is specifically configured to receive the PDN connection from the terminal device.
  • the registration request of the corresponding network slice information when the fifth-generation 5G network is switched, and the network slice information corresponding to the PDN connection switching to the fifth-generation 5G network is obtained from the registration request.
  • the determining unit 114 is configured to: when the terminal is in the home route home router roaming, according to the network slice indicated by the corresponding network slice information when the switchable PDN connection in the PDN connection is switched to the 5G network, And the corresponding data network name DNN when the PDN connection is switched to the 5G network determines the visited control plane function entity;
  • the sending unit 113 is configured to send, to the visited control plane function entity, a session establishment that carries the network slice information corresponding to the switchable PDN connection in the PDN connection and the address information of the control plane function entity corresponding to the PDN connection.
  • the request, the session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity.
  • the AMF entity may include a processing module and a communication module, and the processing module is used to control and manage the actions of the AMF entity.
  • the communication module is used to support communication between the AMF entity and other network entities, such as communication with the functional modules or network entities shown in FIG.
  • the AMF entity may also include a storage module for storing program code and data of the server.
  • the processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module can be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module can be a memory.
  • the processing module is a processor
  • the communication module is a communication interface
  • the storage module is a memory
  • the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
  • the embodiment of the present application further provides a session switching method. As shown in FIG. 12, the method may include:
  • Step 1201 The terminal device registers with the 4G network and requests to establish a PDN connection.
  • the terminal device may be any terminal device in FIG. 1 or FIG. 2 or FIG. 3.
  • the terminal device is registered in the 4G network by using the MME.
  • the terminal device determines that the application is to be accessed by the PDN.
  • the terminal device sends the PDN carrying the APN corresponding to the PDN to the MME.
  • a PDN connection establishment request is used to request to establish a PDN connection.
  • the MME After receiving the PDN connection establishment request, the MME sends a PDN connection establishment request to the control plane function entity, and the control plane function entity establishes a PDN connection according to the APN corresponding to the PDN.
  • One PDN connection may correspond to one or more applications, one PDN connection corresponds to one APN, and one PDN connection may be established under one APN, which is not limited.
  • the control plane function entity may send the PDN connection information to the MME, so that the MME stores it in the context of the terminal device.
  • the address information of the control plane function entity corresponding to the PDN connection and the APN corresponding to the PDN connection may be referred to as information of the PDN connection.
  • the information of the PDN connection is used to indicate a certain PDN connection corresponding to the control plane function entity or the APN.
  • the information about the PDN connection further includes a PDN type corresponding to the PDN connection, a PDN address corresponding to the PDN connection, an S-NSSAI set supported by the control plane function entity corresponding to the PDN connection, and other information.
  • control plane function entity may refer to the SMF entity + PGW-C entity in FIG. 1 or FIG. 2 or FIG. 3, and the control plane function entity may refer to the process of establishing a PDN connection according to the APN corresponding to the PDN.
  • the address information of the control plane function entity may be used to identify the control plane function entity, and the address information of the control plane function entity may be the information of the PLMN where the control plane function entity is located, or the IP address of the control plane function entity, or the FQDN.
  • Step 1202 The control plane function entity determines network slice information corresponding to when the PDN connection is switched to the 5G network.
  • the network slice information may refer to the S-NSSAI of the network slice.
  • the control plane function entity may determine whether the PDN connection needs to be switched to the 5G network in the following manner: In a possible manner, the terminal device determines, according to the method described in step 502, that the PDN connection is subsequently switched. To the 5G network, the PDN connection establishment request is sent to indicate whether the PDN connection is switched to the 5G network, and the control plane function entity determines, according to the indication information carried in the PDN connection establishment request, the PDN connection establishment request Whether the PDN connection needs to be switched to the 5G network.
  • control plane function entity determines whether the PDN connection needs to be switched to 5G according to the handover policy configured by itself, where the handover policy is used to indicate that the PDN connection needs to be switched to the 5G network.
  • the handover policy can be used to indicate that the PDN connection carrying the specified APN needs to be handed over to the 5G network.
  • control plane function entity determines whether the PDN connection needs to be switched to the 5G according to the APN subscription information, where the APN subscription information can be obtained from the UDM, and the APN subscription information is used to indicate that the APN needs to be switched to the 5G network.
  • the APN corresponding to the PDN connection is included in the APN subscription information, indicating that the PDN connection needs to be switched to the 5G network, and vice versa.
  • the APN subscription information includes APN1 to APN2. If the APN corresponding to the PDN connection 1 established by the user is APN1, the PDN connection 1 needs to be switched to the 5G network according to the APN subscription information; if the APN corresponding to the PDN connection 2 established by the user is APN4, Then, according to the APN subscription information, it is determined that the PDN connection 2 does not need to be switched to the 5G network.
  • the control plane function entity may determine the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network according to the correspondence between the PDN connection information and the network slice information.
  • the relationship may be pre-configured in the control plane function entity or in an NSSP pre-stored in other network elements (such as a terminal device).
  • the control plane function entity may obtain the corresponding relationship from other network elements.
  • the PDN connection information includes the APN corresponding to the PDN connection
  • the control plane function entity may determine the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network according to the correspondence between the APN and the network slice information.
  • the corresponding relationship between the APN and the network slice information is as shown in Table 5.
  • the control plane function entity can determine that the PDN connection is switched to the 5G network by checking Table 5.
  • the S-NSSAI of the corresponding network slice is S-NSSAI3 and S-NSSAI4.
  • APN Network slice information APN1 S-NSSAI1 APN2 S-NSSAI2 APN3 S-NSSAI3 ;
  • the information of the PDN connection includes the address information of the control plane function entity, and the control plane function entity may determine, according to the correspondence between the address entity of the control plane function entity and the network slice information, that the PDN connection is switched to the 5G network.
  • Network slice information For example, the correspondence between the information of the SMF entity + the PGW-C entity and the network slice information is as shown in Table 6.
  • the table 6 can be determined by looking up Table 6.
  • the S-NSSAI of the corresponding network slice is S-NSSAI1 and S-NSSAI2.
  • SMF entity + PGW-C entity information Network slice information IP address 1 S-NSSAI1, S-NSSAI2 IP address 2 S-NSSAI2 IP address 3 S-NSSAI3, S-NSSAI4 ;
  • control plane functional entity can also pass The other method is to obtain the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the control plane function entity supports only one S-NSSAI
  • the control plane function entity determines that the S-NSSAI corresponding to the PDN connection is the control plane function entity. Supported S-NSSAI.
  • the control plane function entity configures a correspondence between the PDN type and the S-NSSAI.
  • control plane function entity determines the S-NSSAI of the network slice corresponding to the PDN connection according to the PDN type corresponding to the PDN connection and the corresponding relationship.
  • the embodiment of the present application does not limit the specific implementation manner of the S-NSSAI of the network slice corresponding to the PDN connection.
  • the PDN connection information is other information, only the information of the PDN connection in Table 5 or Table 6 needs to be replaced with other information, and the control plane function entity determines the PDN connection to switch to the 5G network according to the correspondence between the other information and the S-NSSAI. Corresponding network slice information can be used, and will not be repeated here.
  • the network slice information determined by the control plane function entity in step 1202 is the network slice information when the PDN connection is switched to the 5G network, and the network slice of the visited place when the PDN connection is switched to the 5G network.
  • the control plane function entity may determine the network slice information of the home location when the PDN connection is switched to the 5G network according to the correspondence between the information of the PDN connection and the network slice information, and then switch to the 5G network according to the determined PDN connection.
  • the network slice information of the home location, and the mapping relationship between the home network slice information and the visited network slice information determine the network slice information of the visited place when the PDN connection is switched to the 5G network; or, when the terminal device is roaming at the home router,
  • the network slice information determined by the control plane function entity in step 1202 is that the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network may be the network slice information of the home location when the PDN connection is switched to the 5G network, and in the subsequent step, when the AMF entity Network slice information of the home location when the PDN connection is switched to the 5G network, by A
  • the MF entity determines the network slice information of the visited place when the PDN connection is switched to the 5G network according to the mapping relationship between the home network slice information and the visited network slice information, and is not limited.
  • Step 1203 The control plane function entity sends the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the MME receives the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the MME may be the MME in FIG. 1 or FIG. 2 or FIG. 3.
  • control plane function entity sends the corresponding network slice information in the first message to the MME when the PDN connection is switched to the 5G network.
  • the first message may be used to notify the terminal device that the PDN connection has been established.
  • the session establishment response message may carry the identifier of the terminal device.
  • the first message may be used to indicate that the MME only stores the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and does not analyze the network slice information corresponding to the PDN connection included in the first message when the PDN connection is switched to the 5G network.
  • the first message carries indication information, and the indication information may be used to indicate that the MME only stores the network slice information corresponding to when the PDN connection is switched to the 5G network, and does not parse the PDN connection switch included in the first message.
  • the first message may be a cell, and the cell may be a transparent container, which may include a header and a load, the header carries the indication information, and the load carries the PDN.
  • the first message is a message of a special message type, and the message type is used to indicate that the MME only stores the network slice information corresponding to when the PDN connection is switched to the 5G network, without parsing the first message.
  • the MME receives the message of the message type, the MME includes the content of the first message to be stored in the context of the terminal device.
  • the control plane function entity may directly send the first message to the MME in the case that the control plane function entity and the SGW are set up; in the case that the control plane function entity and the SGW are separated, the control plane function entity sends the first message to the SGW. After receiving the first message, the SGW forwards the first message to the MME.
  • the address information of the control plane function entity may be sent to the MME, where the address information of the control plane function entity may be carried in In the first message, it may not be carried in the first message.
  • the MME may switch the PDN connection to the network slice information request and the control plane function entity when the PDN connection is switched to the 5G network. The address information is saved in the context of the terminal device.
  • control plane function entity may send, to the MME, the network slice information corresponding to the time when the PDN connection is switched to the 5G network, and may also send the priority information of the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the priority information of the corresponding network slice information when the PDN connection is switched to the 5G network is used to indicate the priority of the A-NSSAI of the network slice or the priority of the PDN connection, which is not limited.
  • the control plane function entity may determine the network slice corresponding to the PDN connection switching to the 5G network according to at least one of the importance of the PDN connection and the load condition of the network slice indicated by the corresponding network slice information when the PDN connection is switched to the 5G network. Priority information for the message.
  • step 1202 and step 1203 are completed in the PDN connection establishment process, and the PDN connection establishment process may be a PDN connection establishment process initiated after the terminal device registers with the network, or the terminal device is in the attach process or the tracking area update process. The process of establishing a PDN connection initiated in the process.
  • Step 1204 The MME receives the HO request sent by the source access network device, and sends the context of the terminal device to the AMF entity.
  • the source access network device may be the E-UTRAN device in FIG. 1 or FIG. 2 or FIG. 3.
  • the context of the terminal device includes information of the PDN connection, and corresponding network slice information when the PDN connection is switched to the 5G network.
  • the source access network device determines, according to the cell measurement information reported by the terminal device, the terminal device moves from the 4G network to the 5G network, the source access network device sends an HO request to the MME through the S1-MME interface, where the HO request can be carried.
  • the identifier of the terminal device when the MME receives the HO request, sends the context of the terminal device to the AMF entity according to the identifier of the terminal device.
  • the AMF entity may be a default AMF entity corresponding to the MME, or the HO request carries information about the current area of the terminal device, and the MME determines the AMF entity set according to the current location of the terminal device and the correspondence between the target area and the AMF entity set. And selecting an AMF entity from the selected AMF entity set as the AMF entity in step 1204 according to the corresponding policy; or, the MME determines the AMF entity set according to the correspondence between the MME and the AMF entity set, and according to the corresponding policy, An AMF entity is selected from the selected AMF entity set as the AMF entity in step 1204; or the MME selects the AMF from its own configuration or a plurality of AMFs pre-configured by the operator, and is not limited.
  • the policy may specifically be a method for determining an AMF entity from the AMF entity set based on information such as priority, capacity, or load of each AMF entity in the AMF entity set.
  • Step 1205 The AMF entity receives the context of the terminal device from the MME, and obtains network slice information corresponding to when the PDN connection is switched to the 5G network.
  • the AMF further obtains other information, such as network slice information subscribed by the terminal device.
  • the network slice information of the terminal device is included in the subscription data of the terminal device, and the AMF can obtain the network slice information that is signed by the terminal device from the user data management entity (such as the UDM), for example, the AMF sends the identifier of the terminal device to the UDM.
  • the request message is to request the subscription data of the terminal device.
  • the UDM sends the subscription data of the terminal device to the AMF through the Nudm interface.
  • the steps are as follows.
  • the AMF entity needs to determine the location of the visited site when the PDN connection is switched to the 5G network according to the mapping relationship between the home network slice information and the visited network slice information.
  • the network slice information is used as the network slice information corresponding to the PDN connection in the step 1206 when the PDN connection is switched to the 5G network.
  • Step 1206 The AMF entity obtains the network slice information corresponding to the PDN connection that can be switched when the PDN connection is switched to the 5G network, and determines that the PDN connection that supports the handover can be switched to the 5G according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the target AMF entity of the corresponding network slice when the network is available.
  • the AMF also obtains the network slice information that is signed by the terminal device, and the AMF entity switches the multiple PDN connections to the S-NSSAI corresponding to each PDN connection in the network slice information corresponding to the 5G network.
  • the candidate network slice information the network slice information in the intersection of the candidate network slice information and the subscribed network slice information is taken as the network slice information corresponding to when the switchable PDN connection in the PDN connection is switched to the 5G network; in determining the PDN connection After the switchable PDN connection is switched to the network slice information corresponding to the 5G network, the AMF entity determines whether it supports the network slice corresponding to the switchable PDN connection switched to the 5G network in the PDN connection according to its configuration capability.
  • the AMF entity determines the target AMF entity set according to the capabilities of the network slice supported by other AMF sets configured by the AMF entity, and selects an AMF entity from the target AMF entity set as the target AMF entity. .
  • step 1205 the AMF further acquires network slice information that is subscribed by the terminal device, and the AMF entity sends the network slice information corresponding to the network element when the PDN connection is switched to the 5G network, and the contracted network slice is sent to the NSSF entity.
  • the slice selection request of the information the NSSF determines, according to the network slice information corresponding to the handover of the PDN connection to the 5G network, and the network slice information subscribed by the terminal device, the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and Determining the target AMF entity that supports the corresponding network slice when the PDN connection can be switched to the 5G network, and the NSSF returns a determination result to the AMF entity, and the AMF entity obtains the corresponding PDN connection switchable to the 5G network in the PDN connection according to the determination result.
  • the NSSF entity determines the network slice information corresponding to the switchable PDN connection in the PDN connection when the PDN connection is switched to the 5G network according to the network slice information and the contracted network slice information when the PDN connection is switched to the 5G network, and determines that the PDN that can be switched is supported.
  • the network slice information corresponding to the AMF entity that is switched to the 5G network according to the PDN connection refer to the network slice information corresponding to the AMF entity that is switched to the 5G network according to the PDN connection, and the network slice information of the subscription to determine the PDN connection that can be switched in the PDN connection.
  • Step 1207 When the target AMF entity is itself, the AMF entity sends a session switching request to the control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection.
  • the AMF entity determines that the terminal device is in non-roaming or the LBO roaming shown in FIG. 2, the AMF entity according to the address information of the control plane function entity corresponding to the PDN connection in the context of the terminal device in step 1205, A session switching request is sent directly to the ground control plane functional entity.
  • the AMF entity determines that the terminal device is roaming in the home router shown in FIG. 3, the AMF entity determines a visited control plane function entity (such as the vSMF entity in FIG. 3), and the AMF entity to the vSMF entity.
  • a visited control plane function entity such as the vSMF entity in FIG. 3
  • the AMF entity after receiving the context of the information including the PDN connection from the MME, the AMF entity sends the address information of the control plane function entity to the vSMF and the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the vSMF is based on The address information of the control plane function entity sends a session switch request to the SMF entity + PGW-C entity, requesting to switch the PDN connection to the 5G network.
  • the vSMF may be a default vSMF, or the S-NSSAI indicated by the network slice information corresponding to the AMF entity that can be switched to the 5G network according to the PDN connection that can be switched in the PDN connection, and the control plane functional entity included in the S-NSSAI A control plane function entity that can access the S-NSSAI is selected as the vSMF.
  • the corresponding network slice information is S-NSSAI1
  • the S-NSSAI1 corresponds to one network slice 1
  • the network slice 1 includes multiple control plane functional entities
  • the terminal device A control plane functional entity can be selected as the vSMF in the network slice 1.
  • the AMF entity can use the low-load control plane functional entity as the vSMF according to the load condition of the control plane functional entity, or according to the control plane function. In other cases of the entity, vSMF is selected and is not restricted.
  • the AMF entity when the AMF entity determines that the terminal device is roaming in the home router shown in FIG. 3, and the AMF entity cannot select the vSMF, the AMF entity sends a selection request to the NRF, where the selection request carries the PDN connection.
  • Corresponding network slice information when the switched PDN connection is switched to the 5G network, and the NRF is based on the network slice indicated by the corresponding network slice information when the PDN connection switchable in the PDN connection is switched to the 5G network, and the control plane function included in the network slice A control plane function entity is selected as the vSMF, and the address information of the vSMF is fed back to the AMF entity.
  • the AMF entity sends a PDN connection that can be switched in the PDN connection to the 5G network according to the feedback result of the NRF.
  • the network slice information, the session establishment request of the address information of the control plane function entity corresponding to the PDN connection, and the vSMF sends a session switch request to the control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection.
  • the AMF entity may determine, according to the PLMN identity of the terminal device and the PLMN of the AMF entity, that the terminal device is in a non-roaming or LBO roaming or home router roaming scenario.
  • the implementation process may refer to the prior art. I will not repeat them here.
  • the AMF entity when the target AMF entity is another AMF entity, the AMF entity sends a redirection indication to the target AMF entity; the target AMF entity receives a redirection indication from the AMF entity, and the target AMF entity sends the redirection indication to the control plane function entity according to the redirection indication.
  • the redirection indication may carry the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection determined by the AMF entity, and the PDN connection corresponding to the context of the terminal device received by the AMF entity from the MME.
  • the address information of the control surface function entity when the target AMF entity is another AMF entity, the AMF entity sends a redirection indication to the target AMF entity; the target AMF entity receives a redirection indication from the AMF entity, and the target AMF entity sends the redirection indication to the control plane function entity according to the redirection indication.
  • the redirection indication
  • the AMF entity 1 determines that the target AMF entity is the AMF entity 2, and the AMF entity 1 sends a redirection indication carrying the address information of the control plane functional entity to the AMF entity 2, and the AMF entity 2 goes to the control plane.
  • the functional entity sends a session switch request.
  • Step 1208 The control plane function entity receives the session switching request, and updates the PDU session according to the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network.
  • the control plane function entity updating the PDU session may refer to: the control plane function entity updates the user plane path of the session to the target access network device (ie, the NG-RAN device in FIG. 1 or FIG. 2 or FIG. 3).
  • the process of updating the PDU session may refer to the existing process, and details are not described herein.
  • the PDN connection is switched to the PDU session.
  • the process of switching the PDN connection to the PDU session is exemplified in the following steps.
  • the process of switching the other PDN connections to the PDU session may refer to this process, and details are not described herein again.
  • the control plane function entity determines the network slice information corresponding to the PDN connection, and the corresponding network slice information is sent by the MME to the AMF entity when the determined PDN connection is switched to the 5G network, so that the AMF entity according to the PDN Corresponding network slice information and the contracted network slice information when the connection is switched to the 5G network determines the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and switches the PDN connection that can be switched in the PDN connection to 5G.
  • the network slice information corresponding to the network is sent to the control plane function entity, and the control plane function entity establishes a PDU session in the network slice corresponding to the PDN connection according to the network slice information, so as to switch the PDN connection to the PDU session. That is to say, the solution solves the problem that the network slice supporting the PDN connection slice cannot be determined in the prior art, and implements switching between the PDN connection and the PDU session.
  • FIG. 13 is a schematic diagram showing a possible composition of the control plane function entity involved in the foregoing embodiment.
  • the control plane function entity may include: a determining unit 131 and a sending unit 132.
  • the determining unit 131 is configured to determine network slice information corresponding to when the packet data network PDN connection is switched to the fifth generation 5G network
  • the sending unit 132 is configured to send, to the MME, network slice information corresponding to when the PDN connection is switched to the 5G network.
  • the determining unit 131 is configured to determine, according to the correspondence between the information of the PDN connection and the network slice information, the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the PDN connection information includes the PDN. Connect the corresponding access point name APN.
  • the sending unit 132 is further configured to send, to the MME, information about a priority of the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  • the sending unit 92 is configured to: when the PDN connection is switched to the 5G network, the corresponding network slice information is sent to the MME in the first message, where the first message is used to indicate that the MME is to use the PDN.
  • the corresponding network slice information when the connection is switched to the 5G network is stored in the context of the terminal device.
  • control plane function entity provided by the embodiment of the present application is used to execute the foregoing session switching method, so that the same effect as the above session switching method can be achieved.
  • control plane function entity shown in FIG. 13 may include a processing module and a communication module, and the processing module is used to control and manage the actions of the control plane function entity.
  • the communication module is used to support communication between the control plane functional entity and other network entities, such as communication with the functional modules or network entities shown in FIG.
  • the control plane functional entity may also include a storage module for storing program code and data of the server.
  • the processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module can be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module can be a memory. When the processing module is a processor, the communication module is a communication interface, and the storage module is a memory, the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
  • FIG. 14 is a schematic diagram showing a possible composition of the MME involved in the foregoing embodiment.
  • the MME may include: a receiving unit 141 and a sending unit. 142.
  • the receiving unit 141 is configured to receive, from the control plane function entity, the network slice information corresponding to the PDN connection when the PDN connection is switched to the fifth generation 5G network
  • the sending unit 142 is configured to send the context of the terminal device to the AMF entity, where the context of the terminal device includes the PDN connection.
  • the PDN connection information includes address information of the control plane function entity corresponding to the PDN connection.
  • the receiving unit 141 is specifically configured to receive, by the terminal device, a first message that carries the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the first message is used to indicate that the MME The corresponding network slice information when the PDN connection is switched to the 5G network is stored in the context of the terminal device.
  • the MME may include a processing module and a communication module, and the processing module is configured to control and manage the actions of the MME.
  • the communication module is used to support communication between the MME and other network entities, such as with the functional modules or network entities shown in FIG.
  • the MME may also include a storage module for storing program code and data of the server.
  • the processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module can be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module can be a memory.
  • the processing module is a processor
  • the communication module is a communication interface
  • the storage module is a memory
  • the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
  • FIG. 15 is a schematic diagram showing a possible composition of the AMF involved in the foregoing embodiment.
  • the AMF may include: a receiving unit 151 and an acquiring unit. 152.
  • the receiving unit 151 is configured to receive, from the MME, network slice information corresponding to the PDN connection when the PDN connection is switched to the fifth generation 5G network, and address information of the control plane function entity corresponding to the PDN connection;
  • the obtaining unit 152 is configured to obtain, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the network slice information corresponding to the PDN connection that is allowed to be switched in the PDN connection to be switched to the 5G network;
  • the sending unit 153 is configured to send a session switching request to the control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switching request is used to request to switch the PDN connection to the protocol data unit PDU session.
  • the receiving unit 151 is further configured to receive the network slice information subscribed by the terminal device, and the acquiring unit 152 is configured to: according to the network slice information corresponding to the handover of the PDN connection to the 5G network, and the network slice information subscribed by the terminal device Obtain the corresponding network slice information when the PDN connection allowed in the PDN connection is switched to the 5G network.
  • the determining unit 154 is configured to: when the terminal device that establishes the PDN connection is in the home route home router roaming, according to the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection Network slice determines the functional entity of the visited control plane;
  • the sending unit 153 is configured to send, to the visited control plane function entity, a session establishment that carries the network slice information corresponding to the PDN connection switchable to the 5G network and the address information of the control plane function entity corresponding to the PDN connection
  • the request, the session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity.
  • the AMF entity may include a processing module and a communication module, and the processing module is used to control and manage the actions of the AMF entity.
  • the communication module is used to support communication between the AMF entity and other network entities, such as communication with the functional modules or network entities shown in FIG.
  • the AMF entity may also include a storage module for storing program code and data of the server.
  • the processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module can be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module can be a memory.
  • the processing module is a processor
  • the communication module is a communication interface
  • the storage module is a memory
  • the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a solid state disk (SSD)

Abstract

Provided in an embodiment of the present application are a session switching method and device and a system, to solve the problem that an existing PDN connection cannot be switched to a PDU session. The method comprises: determining, by a first device, corresponding network slice information when a PDN connection is switched to a 5G network; and sending to a mobility management entity the corresponding network slice information when the PDN connection is switched to the 5G network. The embodiment of the present application is used for a session switching process.

Description

一种会话切换方法、设备及***Session switching method, device and system
本申请要求了2017年11月20日提交的、申请号为201711157254.4、发明名称为“一种会话切换方法、设备及***”的中国申请的优先权,以及2018年5月21日提交的、申请号为201810490565.0、发明名称为“一种会话切换方法、设备及***”的中国申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese application filed on November 20, 2017 with application number 201711157254.4, the invention name is "a session switching method, device and system", and the application submitted on May 21, 2018. The priority of the Chinese Patent Application No. 201810490565.0, the entire disclosure of which is incorporated herein by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种会话切换方法、设备及***。The present application relates to the field of communications technologies, and in particular, to a session switching method, device, and system.
背景技术Background technique
随着无线通信技术的快速发展,第五代(Fifth Generation,5G)移动通信网络(简称5G网络)应运而生,且5G网络可以与现有的***(Forth Generation,4G)网络并存,二者之间实现互通。With the rapid development of wireless communication technology, the fifth generation (5G) mobile communication network (referred to as 5G network) came into being, and the 5G network can coexist with the existing Forth Generation (4G) network. Interoperability between the two.
在5G网络中定义了网络切片,是一个用于支持特定网络能力与网络特性的逻辑隔离的网络,网络切片可以端到端(end to end,E2E)的包括整个网络,也可以部分网络功能在多个网络切片中共享,是满足3GPP提出的5G移动通信技术关于网络差异化需求的关键技术。在5G网络中,终端设备可以通过网络切片建立协议数据单元(protocol data unit,PDU)会话,以接入数据网络(data network,DN)。A network slice is defined in a 5G network, which is a logically isolated network for supporting specific network capabilities and network characteristics. The network slice can be end-to-end (E2E) including the entire network, or part of the network function. Sharing among multiple network slices is a key technology to meet the 3G mobile communication technology proposed by 3GPP regarding network differentiation requirements. In a 5G network, a terminal device can establish a protocol data unit (PDU) session through a network slice to access a data network (DN).
在5G网络和4G网络互通的场景下,当4G网络的分组数据网络(packet data network,PDN)连接切换到PDU会话时,需要选择PDN连接切换到5G网络时对应的网络切片,以通过该网络切片建立与PDN连接切换对应的PDU会话。但是,现有技术未考虑PDN连接向PDU会话切换过程中网络切片的问题,无法将PDN连接切换到PDU会话。In the scenario where the 5G network and the 4G network are interworking, when the packet data network (PDN) connection of the 4G network is switched to the PDU session, the network slice corresponding to the PDN connection to the 5G network needs to be selected to pass the network. The slice establishes a PDU session corresponding to the PDN connection switch. However, the prior art does not consider the problem of network slicing during the handover of the PDN connection to the PDU session, and cannot switch the PDN connection to the PDU session.
发明内容Summary of the invention
本申请实施例提供一种会话切换方法、设备及***,以解决现有无法将PDN连接切换到PDU会话的问题。The embodiment of the present application provides a session switching method, device, and system, to solve the problem that the existing PDN connection cannot be switched to the PDU session.
为达到上述目的,本申请实施例提供如下技术方案:第一设备确定PDN连接切换到第五代5G网络时对应的网络切片信息;第一设备向移动性管理实体发送PDN连接切换到5G网络时对应的网络切片信息;移动性管理实体接收PDN连接切换到5G网络时对应的网络切片信息,向控制面功能实体发送用于请求将PDN连接切换到PDU会话的会话切换请求,以便控制面功能实体将PDN连接切换到PDU会话。一种可能的设计中,第一设备为终端设备,移动性管理实体为移动性管理实体(Mobility Management Entity,MME)或者接入和移动性管理功能(access and mobility management function,AMF)实体。当移动性管理实体为MME时,MME可以通过AMF向控制面功能实体发送用于请求将PDN连接切换到PDU会话的会话切换请求。具体的,该可能的设计可参照下面第一方面至第十九方面所述。又一种可能的设计中,第一设备为控制面功能实体,移动性管理实体为MME,MME通过AMF向控制面功能实体发送用于请求将PDN连接切换到PDU会话的会话切换请求。具体的,该又一可能的设计可参照下面第二十方面至第三十八方面所述。To achieve the above objective, the embodiment of the present application provides the following technical solution: the first device determines the network slice information corresponding to when the PDN connection is switched to the fifth generation 5G network; when the first device sends the PDN connection to the mobility management entity and switches to the 5G network, Corresponding network slice information; the mobility management entity receives the network slice information corresponding to when the PDN connection is switched to the 5G network, and sends a session switch request for requesting to switch the PDN connection to the PDU session to the control plane function entity Switch the PDN connection to the PDU session. In a possible design, the first device is a terminal device, and the mobility management entity is a Mobility Management Entity (MME) or an Access and Mobility Management Function (AMF) entity. When the mobility management entity is the MME, the MME may send a session switching request for requesting handover of the PDN connection to the PDU session to the control plane function entity through the AMF. Specifically, the possible design can be referred to the following first to nineteenth aspects. In another possible design, the first device is a control plane function entity, and the mobility management entity is an MME, and the MME sends a session switching request for requesting to switch the PDN connection to the PDU session to the control plane function entity through the AMF. Specifically, the still further possible design can be referred to the following twentieth to thirty-eighth aspects.
第一方面,提供一种会话切换方法,该方法包括:终端设备确定PDN连接切换到第五代5G网络时对应的网络切片信息;向移动性管理实体发送PDN连接切换到5G网络时对应的网络切片信息。基于本申请实施例提供的会话切换方法,终端设备向网络侧的移动性管理实体发送PDN连接切换到5G网络时对应的网络切片信息,以便移动性管理实体协同网络中的其他设备,根据PDN连接切换到5G网络时对应的网络切片信息以及其他信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,根据确定出的网络切片信息创建PDU会话,实现PDN连接到PDU会话的切换。解决了现有无法确定PDN连接向PDU会话切换过程中的网络切片,导致的无法将PDN连接切换到PDU会话的问题。A first aspect provides a session switching method, where the method includes: determining, by a terminal device, network slice information corresponding to a PDN connection handover to a fifth generation 5G network; and transmitting, to the mobility management entity, a network corresponding to when the PDN connection is switched to the 5G network Slice information. Based on the session switching method provided by the embodiment of the present application, the terminal device sends the network slice information corresponding to the handover of the PDN connection to the 5G network to the mobility management entity on the network side, so that the mobility management entity cooperates with other devices in the network according to the PDN connection. Corresponding network slice information and other information when switching to the 5G network determines the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and creates a PDU session according to the determined network slice information, so as to implement the PDN connection to the PDU session. Switching. The problem that the network slice in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
在一种可能的设计中,终端设备根据PDN连接的信息与网络切片信息的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息;其中,PDN连接的信息与网络切片信息的对应关系可以预先配置在终端设备的网络切片选择策略中,PDN连接的信息包括PDN连接对应的接入点名称APN、PDN连接对应的应用、PDN连接切换到5G网络时对应的数据网络名称DNN中的任一个。如此,可以根据预先配置的PDN连接的信息与网络切片信息的对应关系确定出网络切片信息,由于PDN连接的信息用于指示PDN连接,所以,根据该对应关系确定出的网络切片信息很大程度地接近PDN连接切换到5G网络后对应的网络切片的信息,提高了后续网络侧设备根据PDN连接切换到5G网络时对应的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息的准确性。In a possible design, the terminal device determines the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network according to the correspondence between the PDN connection information and the network slice information. The correspondence between the PDN connection information and the network slice information is determined. The PDN connection information may be pre-configured in the network slice selection policy of the terminal device, including the access point name APN corresponding to the PDN connection, the application corresponding to the PDN connection, and the corresponding data network name DNN when the PDN connection is switched to the 5G network. One. In this manner, the network slice information may be determined according to the correspondence between the pre-configured PDN connection information and the network slice information. Since the PDN connection information is used to indicate the PDN connection, the network slice information determined according to the correspondence relationship is largely The information of the corresponding network slice after the PDN connection is switched to the 5G network is improved, and the network slice information corresponding to the subsequent network side device switching to the 5G network according to the PDN connection is determined to determine that the PDN connection switchable in the PDN connection is switched to the 5G network. The accuracy of the network slice information.
在一种可能的设计中,在终端设备确定PDN连接切换到第五代5G网络时对应的网络切片信息之前,所述方法还包括:终端设备根据PDN连接对应的应用的策略信息,确定终端设备已建立的PDN连接中切换到5G网络的PDN连接;或者,当终端设备确定自身支持5G网络通信能力时,终端设备确定已建立的所有PDN连接都切换到5G网络。如此,可以根据终端设备上应用的业务需求或者根据终端设备的通信能力触发终端设备确定PDN连接切换到第五代5G网络时对应的网络切片信息,进行实现将较高业务需求的应用或者通信能力较强的终端设备的PDN连接切换到5G网络中的PDU会话,提高业务质量。In a possible design, before the terminal device determines the corresponding network slice information when the PDN connection is switched to the fifth generation 5G network, the method further includes: determining, by the terminal device, the terminal device according to the policy information of the application corresponding to the PDN connection. The PDN connection is switched to the 5G network in the established PDN connection; or, when the terminal device determines that it supports the 5G network communication capability, the terminal device determines that all established PDN connections are switched to the 5G network. In this way, according to the service requirement of the application on the terminal device or according to the communication capability of the terminal device, the terminal device determines the network slice information corresponding to the PDN connection to switch to the fifth-generation 5G network, and implements an application or communication capability that requires higher service requirements. The PDN connection of the stronger terminal device is switched to the PDU session in the 5G network to improve the service quality.
在一种可能的实现中,所述方法还包括:所述终端设备向所述移动性管理实体发送所述PDN连接切换到5G网络时对应的网络切片信息的优先级的信息。如此,可以将网络切片信息的优先级的信息发送给移动性管理实体,以便移动性管理实体和网络侧设备协同工作的情况下,根据各个网络切片信息的优先级将较高优先级的网络切片信息对应的PDN连接优先切换到PDU会话中。In a possible implementation, the method further includes: the terminal device sending, to the mobility management entity, information about a priority of the network slice information corresponding to when the PDN connection is switched to the 5G network. In this way, the information of the priority of the network slice information can be sent to the mobility management entity, so that the mobility management entity and the network side device work together, and the higher priority network is sliced according to the priority of each network slice information. The PDN connection corresponding to the information is preferentially switched to the PDU session.
在一种可能的设计中,所述方法还包括:当终端设备处于漫游时,PDN连接切换到5G网络时的网络切片信息为PDN连接切换到5G网络时拜访地的网络切片信息,终端设备根据PDN连接对应的应用的策略信息,确定PDN连接切换到5G网络时归属地的网络切片信息;根据PDN连接切换到5G网络时归属地的网络切片信息、以及归属地网络切片信息和拜访地网络切片信息间的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息。如此,可以在终端设备处于漫游时获取到终端设备拜访地的网络切片信息,以便后续网络侧设备根据该拜访地的网络切片信息将PDN连接切换到拜访地的网络切片,保证了终端设备归属路由漫游时业务的连续性。In a possible design, the method further includes: when the terminal device is roaming, the network slice information when the PDN connection is switched to the 5G network is the network slice information of the visited place when the PDN connection is switched to the 5G network, and the terminal device is configured according to The PDN connects the policy information of the corresponding application, determines the network slice information of the home location when the PDN connection is switched to the 5G network, and the network slice information of the home location when the PDN connection is switched to the 5G network, and the home network slice information and the visited network slice. The mapping relationship between the information determines the network slice information of the visited place when the PDN connection is switched to the 5G network. In this way, the network slice information of the visited location of the terminal device can be obtained when the terminal device is roaming, so that the subsequent network side device switches the PDN connection to the network slice of the visited place according to the network slice information of the visited place, thereby ensuring the home route of the terminal device. Business continuity during roaming.
在一种可能的设计中,上述移动性管理实体为4G网络中的移动性管理实体(Mobility  Management Entity,MME)或者5G网络中的接入和移动性管理功能(access and mobility management function,AMF)实体,即本申请实施例中,终端设备可以向MME或者AMF实体发送PDN连接切换到5G网络时对应的网络切片信息。In a possible design, the mobility management entity is a Mobility Management Entity (MME) in a 4G network or an access and mobility management function (AMF) in a 5G network. An entity, that is, in the embodiment of the present application, the terminal device may send, to the MME or the AMF entity, network slice information corresponding to when the PDN connection is switched to the 5G network.
在一种可能的设计中,当移动性管理实体为MME时,终端设备将PDN连接切换到5G网络时对应的网络切片信息携带在第一消息中向MME发送;其中,第一消息用于指示MME将PDN连接切换到5G网络时对应的网络切片信息存储在终端设备的上下文中。如此,在MME接收到携带有PDN连接切换到5G网络时对应的网络切片信息的第一消息时,仅将第一消息携带的内容(PDN连接切换到5G网络时对应的网络切片信息)存储在终端设备的上下文中,而不去解析该第一消息中携带的内容,以降低MME的负担。In a possible design, when the mobility management entity is the MME, the terminal device transmits the corresponding network slice information in the first message to the MME when the PDN connection is switched to the 5G network, where the first message is used to indicate The corresponding network slice information when the MME switches the PDN connection to the 5G network is stored in the context of the terminal device. In this manner, when the MME receives the first message carrying the network slice information corresponding to the PDN connection switching to the 5G network, only the content carried in the first message (the network slice information corresponding to when the PDN connection is switched to the 5G network) is stored in the first message. In the context of the terminal device, the content carried in the first message is not parsed to reduce the burden on the MME.
在一种可能的设计中,当移动性管理实体为AMF实体时,终端设备将PDN连接切换到5G网络时对应的网络切片信息携带在注册请求中向AMF实体发送,其中,注册请求用于请求注册到5G网络。如此,终端设备可以在通过AMF实体注册到5G网络中,将PDN连接切换到5G网络时对应的网络切片信息携带在注册请求中发送给AMF实体,而不需要将PDN连接切换到5G网络时对应的网络切片信息通过MME发送给AMF实体,降低了MME的负担。In a possible design, when the mobility management entity is an AMF entity, the corresponding network slice information carried by the terminal device when the PDN connection is switched to the 5G network is carried in the registration request to the AMF entity, where the registration request is used for the request. Register to the 5G network. In this way, the terminal device can be registered in the 5G network through the AMF entity, and the corresponding network slice information carried in the registration request is sent to the AMF entity when the PDN connection is switched to the 5G network, and the PDN connection is not required to be switched to the 5G network. The network slice information is sent to the AMF entity through the MME, which reduces the burden on the MME.
在一种可能的设计中,当移动性管理实体为MME时,所述方法还包括:终端设备向MME发送PDN连接对应的DNN,以便在终端设备处于归属路由场景时,MME将DNN发送给网络设备(如:AMF实体),以便AMF实体根据该DNN以及其他信息确定出拜访地控制面功能实体,通过拜访地控制面功能实体和PDN连接对应的归属地控制面功能实体的互通建立PDN连接对应的PDU会话,保证了终端设备漫游场景下的业务连续性。In a possible design, when the mobility management entity is the MME, the method further includes: the terminal device sends the DNN corresponding to the PDN connection to the MME, so that the MME sends the DNN to the network when the terminal device is in the home routing scenario. A device (for example, an AMF entity), so that the AMF entity determines the functional entity of the visited control plane according to the DNN and other information, and establishes a PDN connection by interworking between the visited control plane functional entity and the corresponding home control plane functional entity corresponding to the PDN connection. The PDU session guarantees business continuity in the terminal device roaming scenario.
第二方面,提供一种会话切换方法,所述方法包括:MME从终端设备获取终端设备确定的PDN连接切换到5G网络时对应的网络切片信息,向AMF实体发送终端设备的上下文,终端设备的上下文包括PDN连接切换到5G网络时对应的网络切片信息、以及PDN连接的信息,PDN连接的信息包括PDN连接对应的控制面功能实体的地址信息。基于本申请实施例提供的会话切换方法,MME从终端设备获取PDN连接切换到5G网络时对应的网络切片信息,并将该PDN连接切换到5G网络时对应的网络切片信息给AMF实体,以便AMF实体根据PDN连接切换到5G网络时对应的网络切片信息以及其他信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,进而根据确定出的网络切片信息创建PDU会话,实现PDN连接到PDU会话的切换。解决了现有无法确定PDN连接向PDU会话切换过程中网络切片,导致的无法PDN连接切换到PDU会话的问题。A second aspect provides a session switching method, where the method includes: acquiring, by a terminal device, a network slice information corresponding to a PDN connection determined by a terminal device when the PDN connection is switched to a 5G network, and transmitting a context of the terminal device to the AMF entity, where the terminal device The context includes the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the information of the PDN connection. The information of the PDN connection includes the address information of the control plane function entity corresponding to the PDN connection. Based on the session switching method provided by the embodiment of the present application, the MME obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information corresponding to the PDN connection is switched to the AMF entity for the AMF entity. The entity determines the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection according to the network slice information and other information when the PDN connection is switched to the 5G network, and then creates a PDU session according to the determined network slice information. The PDN is connected to the switch of the PDU session. The problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
在一种可能的设计中,MME接收终端设备发送的携带有PDN连接切换到5G网络时对应的网络切片信息的第一消息;其中,第一消息用于指示MME将PDN连接切换到5G网络时对应的网络切片信息存储在终端设备的上下文中。如此,在MME接收到携带有PDN连接切换到5G网络时对应的网络切片信息的第一消息时,仅将第一消息携带的内容(PDN连接切换到5G网络时对应的网络切片信息)存储在终端设备的上下文中,而不去解析该第一消息中携带的内容,以降低自身的负担。In a possible design, the MME receives a first message that is sent by the terminal device and carries the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. The first message is used to indicate that the MME switches the PDN connection to the 5G network. The corresponding network slice information is stored in the context of the terminal device. In this manner, when the MME receives the first message carrying the network slice information corresponding to the PDN connection switching to the 5G network, only the content carried in the first message (the network slice information corresponding to when the PDN connection is switched to the 5G network) is stored in the first message. In the context of the terminal device, the content carried in the first message is not parsed to reduce the burden on itself.
在一种可能的设计中,PDN连接的信息还包括PDN连接对应(access point name,APN),如此,当AMF实体接收到PDN连接对应的APN后,可以根据PDN连接对应的APN确定 出DNN,并根据DNN以及其他信息确定出拜访地控制面功能实体,通过拜访地控制面功能实体和PDN连接对应的归属地控制面功能实体的互通建立PDN连接对应的PDU会话,保证终端设备在漫游场景下的业务连续性。In a possible design, the information of the PDN connection further includes a PDN connection point (APN), so that when the AMF entity receives the APN corresponding to the PDN connection, the DNN can be determined according to the APN corresponding to the PDN connection. And determining, according to the DNN and other information, the functional entity of the visited control plane, and establishing a PDU session corresponding to the PDN connection by the interworking between the functional entity of the local control plane and the functional entity of the local control plane corresponding to the PDN connection to ensure that the terminal device is in the roaming scenario. Business continuity.
第三方面,提供一种会话切换方法,所述方法包括AMF实体获取终端设备确定的PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息、以及终端设备签约的网络切片信息,根据PDN连接切换到5G网络时对应的网络切片信息、以及终端设备签约的网络切片信息,获取PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体;当目标AMF实体为AMF实体时,AMF实体根据PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求,会话切换请求用于请求将PDN连接切换到协议数据单元PDU会话。基于本申请实施例提供的会话切换方法,终端设备向网络侧的移动性管理实体发送PDN连接切换到5G网络时对应的网络切片信息,AMF实体获取PDN连接切换到5G网络时对应的网络切片信息,根据PDN连接切换到5G网络时对应的网络切片信息以及其他信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并向归属地控制面功能实体发送PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,以便归属地控制面功能实体根据确定出的网络切片信息创建PDU会话,实现PDN连接到PDU会话的切换。解决了现有无法确定PDN连接向PDU会话切换过程中网络切片,导致的无法PDN连接切换到PDU会话的问题。A third aspect provides a session switching method, where the method includes: acquiring, by an AMF entity, network slice information corresponding to a PDN connection switched to a 5G network, address information of a control plane function entity corresponding to a PDN connection, and a terminal device The network slice information of the contract is obtained according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is signed by the terminal device, and the network slice information corresponding to the switchable PDN connection in the PDN connection is switched to the 5G network, and Determining a target AMF entity supporting a corresponding network slice when the PDN connection can be switched to the 5G network; when the target AMF entity is an AMF entity, the AMF entity according to the address information of the control plane function entity corresponding to the PDN connection to the home control plane function The entity sends a session switch request for requesting to switch the PDN connection to the protocol data unit PDU session. Based on the session switching method provided by the embodiment of the present application, the terminal device sends the network slice information corresponding to the PDN connection to the 5G network when the PDN connection is switched to the 5G network, and the AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. According to the network slice information and other information when the PDN connection is switched to the 5G network, the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network is determined, and the PDN connection can be sent to the home control plane function entity. The switched PDN connection switches to the network slice information corresponding to the 5G network, so that the home control plane function entity creates a PDU session according to the determined network slice information, and implements handover of the PDN connection to the PDU session. The problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
在一种可能的设计中,AMF实体从MME获取PDN连接切换到5G网络时对应的网络切片信息;或者,从终端设备获取PDN连接切换到5G网络时对应的网络切片信息。如此,可以通过不同的方式获取到PDN连接切换到5G网络时对应的网络切片信息,提高了AMF实体获取信息的灵活性。In a possible design, the AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, or obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. In this way, the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network can be obtained in different manners, thereby improving the flexibility of the AMF entity to obtain information.
在一种可能的设计中,当AMF实体从终端设备获取PDN连接切换到第五代5G网络时对应的网络切片信息时,AMF实体接收终端设备发送的携带有PDN连接切换到5G网络时对应的网络切片信息的注册请求,从注册请求中获取PDN连接切换到5G网络时对应的网络切片信息,其中,注册请求用于请求注册到5G网络。如此,终端设备可以在通过AMF实体注册到5G网络中,将PDN连接切换到5G网络时对应的网络切片信息携带在注册请求中发送给AMF实体,而不需要将PDN连接切换到5G网络时对应的网络切片信息通过MME发送给AMF实体,降低了MME的负担。In a possible design, when the AMF entity acquires the corresponding network slice information when the PDN connection is switched from the terminal device to the fifth generation 5G network, the AMF entity receives the corresponding PDN connection sent by the terminal device and switches to the 5G network. The registration request of the network slice information is obtained from the registration request, and the network slice information corresponding to the PDN connection is switched to the 5G network, wherein the registration request is used to request registration to the 5G network. In this way, the terminal device can be registered in the 5G network through the AMF entity, and the corresponding network slice information carried in the registration request is sent to the AMF entity when the PDN connection is switched to the 5G network, and the PDN connection is not required to be switched to the 5G network. The network slice information is sent to the AMF entity through the MME, which reduces the burden on the MME.
在一种可能的设计中,当AMF实体确定终端处于归属路由漫游时,AMF实体根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片、以及PDN连接切换到5G网络时对应的数据网络名称DNN确定拜访地控制面功能实体;AMF实体向拜访地控制面功能实体发送携带有PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息的会话建立请求,会话建立请求用于指示拜访地控制面功能实体向归属地控制面功能实体发送会话切换请求。如此,在终端设备处于归属路由场景时,AMF实体根据DNN以及其他信息确定出拜访地控制面功能实体,通过拜访控制面功能实体和归属地控制面实体的互通建立PDN连接对应的PDU会话,保证了终端设备在漫游场景下的业务连续性。In a possible design, when the AMF entity determines that the terminal is in the home route roaming, the AMF entity switches the network slice indicated by the corresponding network slice information according to the PDN connection that can be switched in the PDN connection to the 5G network, and the PDN connection switch. The corresponding data network name DNN determines the visited control plane function entity when the 5G network is reached; the AMF entity sends the network slice information and the PDN corresponding to the PDN connection that can be switched in the PDN connection to the 5G network. And a session establishment request for connecting the address information of the corresponding control plane function entity, where the session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity. In this way, when the terminal device is in the home routing scenario, the AMF entity determines the functional entity of the visited control plane according to the DNN and other information, and establishes a PDU session corresponding to the PDN connection by interworking between the visited control plane function entity and the home control plane entity to ensure that the PDU session corresponding to the PDN connection is established. The business continuity of the terminal device in the roaming scenario.
在一种可能的设计中,当AMF实体确定终端处于归属路由漫游,且AMF实体选择不出拜访地控制面功能实体时,AMF实体向NRF发送选择请求,NRF根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片、以及网络切片对应的DNN选择出一个支持DNN所标识的DN的SMF实体作为拜访地控制面功能实体,并将拜访地控制面功能实体的地址信息反馈给初始AMF实体,初始AMF实体根据NRF的反馈结果,通过拜访地控制面功能实体向归属地控制面功能实体发送会话切换请求。如此,在终端设备处于归属路由场景,且AMF实体选择不出拜访地控制面功能实体时,AMF实体可以借助NRF选择拜访地控制面功能实体,根据NRF选择的拜访地控制面功能实体与归属地控制面功能实体互通,由归属地控制面功能实体建立PDN连接对应的PDU会话,保证了终端设备在漫游场景下的业务连续性。In a possible design, when the AMF entity determines that the terminal is in the home route roaming, and the AMF entity selects not to visit the visited control plane function entity, the AMF entity sends a selection request to the NRF, and the NRF can switch according to the PDN connection in the PDN connection. The network slice indicated by the corresponding network slice information when switching to the 5G network, and the DNN corresponding to the network slice select an SMF entity supporting the DN identified by the DNN as the visited control plane functional entity, and the visited control plane functional entity The address information is fed back to the initial AMF entity, and the initial AMF entity sends a session switching request to the home control plane function entity through the visited control plane function entity according to the feedback result of the NRF. In this way, when the terminal device is in the home routing scenario, and the AMF entity selects not to visit the visited control plane function entity, the AMF entity can select the visited control plane function entity by means of the NRF, and select the function and entity of the visited ground control plane according to the NRF. The control plane function entity communicates with each other, and the PDU session corresponding to the PDN connection is established by the function entity of the home control plane to ensure the service continuity of the terminal equipment in the roaming scenario.
第四方面,提供了一种终端设备,该终端设备可以实现上述方法实施例中终端设备元所执行的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。如:该终端设备可以包括:A fourth aspect provides a terminal device, where the terminal device can implement the functions performed by the terminal device element in the foregoing method, where the function can be implemented by using hardware or by executing corresponding software through hardware. The hardware or software includes one or more modules corresponding to the above functions. For example, the terminal device may include:
确定单元,用于确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;发送单元,用于向移动性管理实体发送所述PDN连接切换到5G网络时对应的网络切片信息。a determining unit, configured to determine network slice information corresponding to when the packet data network PDN connection is switched to the fifth generation 5G network, and a sending unit, configured to send, to the mobility management entity, network slice information corresponding to when the PDN connection is switched to the 5G network .
其中,终端设备的具体实现方式可以参考第一方面或第一方面的可能的实现方式提供的会话切换方法中终端设备的行为功能,在此不再重复赘述。因此,该提供的终端设备可以达到与第一方面相同的有益效果。For a specific implementation manner of the terminal device, reference may be made to the behavior of the terminal device in the session switching method provided by the first aspect or the possible implementation manner of the first aspect, and details are not repeatedly described herein. Therefore, the provided terminal device can achieve the same advantageous effects as the first aspect.
第五方面,提供了一种终端设备,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该终端设备运行时,该处理器执行该存储器存储的该计算机执行指令,以使该终端设备执行如上述第一方面中任一所述的会话切换方法。A fifth aspect provides a terminal device, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the terminal device is running, the processor executes the computer execution instruction stored in the memory to enable the The terminal device performs the session switching method as described in any of the above first aspects.
第六方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第一方面中任意一项所述的会话切换方法。In a sixth aspect, a computer readable storage medium is provided having stored therein instructions that, when run on a computer, cause the computer to perform the session switching of any of the above first aspects method.
第七方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第一方面中任意一项所述的会话切换方法。In a seventh aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the session switching method of any of the above first aspects.
第八方面,提供了一种芯片***,该芯片***包括处理器,用于支持终端设备实现上述方面中所涉及的功能,例如支持终端设备确定PDN连接切换到5G网络时对应的网络切片信息,并通过通信接口向移动性管理实体发送所述PDN连接切换到5G网络时对应的网络切片信息。在一种可能的设计中,所述芯片***还包括存储器,所述存储器,用于保存终端设备必要的程序指令和数据。该芯片***,可以由芯片构成,也可以包含芯片和其他分立器件。In an eighth aspect, a chip system is provided, where the chip system includes a processor for supporting a terminal device to implement the functions involved in the foregoing aspects, for example, supporting the terminal device to determine corresponding network slice information when the PDN connection is switched to the 5G network. And transmitting, by using the communication interface, the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. In a possible design, the chip system further comprises a memory for storing necessary program instructions and data of the terminal device. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第四方面至第八方面中任一种设计方式所带来的技术效果可参见第一方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the fourth aspect to the eighth aspect, refer to the technical effects brought by different design modes in the first aspect, and details are not described herein again.
第九方面,提供了一种MME,该MME具有实现上述第一方面所述的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。如:该MME可以包括:In a ninth aspect, an MME is provided, the MME having the function of implementing the method described in the above first aspect. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above. For example, the MME may include:
接收单元,用于从MME接收所述MME确定的分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;a receiving unit, configured to receive, from the MME, network slice information corresponding to when the packet data network PDN connection determined by the MME is switched to the fifth generation 5G network;
所述发送单元,还用于向接入和移动性管理功能AMF实体发送所述MME的上下文,所 述MME的上下文包括所述PDN连接切换到第五代5G网络时对应的网络切片信息、以及PDN连接的信息,所述PDN连接的信息包括所述PDN连接对应的控制面功能实体的地址信息。The sending unit is further configured to send a context of the MME to an access and mobility management function AMF entity, where a context of the MME includes network slice information corresponding to when the PDN connection is switched to a fifth generation 5G network, and Information about the PDN connection, the information of the PDN connection includes address information of a control plane function entity corresponding to the PDN connection.
其中,MME的具体实现方式可以参考第二方面或第二方面的可能的实现方式提供的会话切换方法中MME的行为功能,在此不再重复赘述。因此,该提供的MME可以达到与第一方面相同的有益效果。For a specific implementation manner of the MME, reference may be made to the behavior of the MME in the session switching method provided by the second aspect or the possible implementation manner of the second aspect, and details are not repeatedly described herein. Therefore, the provided MME can achieve the same advantageous effects as the first aspect.
第十方面,提供了一种MME,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该MME运行时,该处理器执行该存储器存储的该计算机执行指令,以使该MME执行如上述第二方面中任一所述的会话切换方法。According to a tenth aspect, an MME is provided, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the MME is running, the processor executes the computer execution instruction stored by the memory to enable the MME to execute A session switching method according to any of the above second aspects.
第十一方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第二方面中任意一项所述的会话切换方法。In an eleventh aspect, a computer readable storage medium is provided having stored therein instructions that, when run on a computer, cause the computer to perform the session of any of the above second aspects Switch method.
第十二方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第二方面中任意一项所述的会话切换方法。According to a twelfth aspect, a computer program product comprising instructions for causing a computer to perform the session switching method of any of the above second aspects when executed on a computer is provided.
第十三方面,提供了一种芯片***,该芯片***包括处理器,用于支持MME实现上述方面中所涉及的功能,例如支持MME通过通信接口从终端设备获取终端设备确定PDN连接切换到5G网络时对应的网络切片信息,并向AMF实体发送终端设备的上下文。在一种可能的设计中,所述芯片***还包括存储器,所述存储器,用于保存MME必要的程序指令和数据。该芯片***,可以由芯片构成,也可以包含芯片和其他分立器件。A thirteenth aspect, a chip system is provided, the chip system comprising a processor, configured to support the MME to implement the functions involved in the foregoing aspects, for example, supporting the MME to acquire the terminal device from the terminal device through the communication interface, and determine that the PDN connection is switched to the 5G. Corresponding network slice information in the network, and the context of the terminal device is sent to the AMF entity. In one possible design, the chip system further includes a memory for storing necessary program instructions and data of the MME. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第九方面至第十三方面中任一种设计方式所带来的技术效果可参见第二方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by the design mode of any one of the ninth to thirteenth aspects, refer to the technical effects brought by different design modes in the second aspect, and details are not described herein again.
第十四方面,提供了一种AMF实体,该AMF实体具有实现上述第三方面所述的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。如:AMF实体包括:In a fourteenth aspect, an AMF entity is provided, the AMF entity having the functionality to implement the method described in the third aspect above. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above. Such as: AMF entities include:
接收单元,用于接收终端设备确定的分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息、所述PDN连接对应的控制面功能实体的地址信息、以及所述终端设备签约的网络切片信息;a receiving unit, configured to receive network slice information corresponding to a packet data network PDN connection determined by the terminal device when switching to a fifth generation 5G network, address information of a control plane function entity corresponding to the PDN connection, and signing by the terminal device Network slice information;
获取单元,用于根据所述所述PDN连接切换到5G网络时对应的网络切片信息、以及所述终端设备签约的网络切片信息,获取所述PDN连接中允许切换的PDN连接切换到5G网络时对应的网络切片信息;An acquiring unit, configured to acquire, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is subscribed by the terminal device, when the PDN connection allowed in the PDN connection is switched to the 5G network Corresponding network slice information;
发送单元,用于根据所述PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求,所述会话切换请求用于请求将所述PDN连接切换到协议数据单元PDU会话。a sending unit, configured to send a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switching request is used to request to switch the PDN connection to the protocol data unit PDU Conversation.
其中,AMF实体的具体实现方式可以参考第二方面或第二方面的可能的实现方式提供的会话切换方法中AMF实体的行为功能,在此不再重复赘述。因此,该提供的AMF实体可以达到与第一方面相同的有益效果。For a specific implementation manner of the AMF entity, reference may be made to the behavior of the AMF entity in the session switching method provided by the second aspect or the possible implementation manner of the second aspect, and details are not repeatedly described herein. Therefore, the provided AMF entity can achieve the same beneficial effects as the first aspect.
第十五方面,提供了一种AMF实体,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该AMF实体运行时,该处理器执行该存储器存储的该计算机执行指令,以使该AMF实体执行如上述第三方面中任一所述的会话切换方法。In a fifteenth aspect, an AMF entity is provided, comprising: a processor and a memory; the memory is configured to store a computer execution instruction, and when the AMF entity is running, the processor executes the computer execution instruction stored in the memory, so that The AMF entity performs the session switching method as described in any of the above third aspects.
第十六方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第三方面中任意一项所述的会话切换方法。In a sixteenth aspect, a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the session of any of the above third aspects Switch method.
第十七方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计 算机可以执行上述第三方面中任意一项所述的会话切换方法。In a seventeenth aspect, a computer program product comprising instructions for causing a computer to perform the session switching method of any of the above third aspects when executed on a computer is provided.
第十八方面,提供了一种芯片***,该芯片***包括处理器,用于支持AMF实体实现上述方面中所涉及的功能,例如支持AMF实体获取终端设备确定的PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息、以及终端设备签约的网络切片信息,根据PDN连接切换到5G网络时对应的网络切片信息、以及终端设备签约的网络切片信息,获取PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体;以及当目标AMF实体为AMF实体时,AMF实体根据PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求。在一种可能的设计中,所述芯片***还包括存储器,所述存储器,用于保存AMF实体必要的程序指令和数据。该芯片***,可以由芯片构成,也可以包含芯片和其他分立器件。According to an eighteenth aspect, a chip system is provided, the chip system includes a processor, configured to support an AMF entity to implement the functions involved in the foregoing aspects, for example, supporting an AMF entity to acquire a corresponding PDN connection determined by the terminal device when switching to a 5G network. The network slice information, the address information of the control plane function entity corresponding to the PDN connection, and the network slice information subscribed by the terminal device are obtained according to the network slice information corresponding to the PDN connection switched to the 5G network and the network slice information subscribed by the terminal device. The PDN connection that can be switched in the PDN connection is switched to the corresponding network slice information when the 5G network is switched, and determines the target AMF entity that supports the corresponding network slice when the switchable PDN connection is switched to the 5G network; and when the target AMF entity is the AMF entity The AMF entity sends a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the AMF entity. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第十四方面至第十八方面中任一种设计方式所带来的技术效果可参见第二方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the fourteenth to eighteenth aspects, refer to the technical effects brought by different design modes in the second aspect, and details are not described herein again.
第十九方面,提供一种会话切换***,所述***包括第四方面至第八方面任一方面所述的终端设备、第九方面至第十三方面任一方面所述的MME、以及第十四方面至第十八方面任一方面所述的AMF实体。According to a nineteenth aspect, a session switching system is provided, the system comprising the terminal device according to any one of the fourth aspect to the eighth aspect, the MME according to any one of the ninth to thirteenth aspects, and the The AMF entity of any of the fourteenth aspect to the eighteenth aspect.
第二十方面,提供一种会话切换方法,该方法包括:控制面功能实体确定PDN连接切换到5G网络时对应的网络切片信息,向MME发送PDN连接切换到5G网络时对应的网络切片信息。基于本申请实施例提供的会话切换方法,控制面功能实体向网络侧的移动性管理实体发送PDN连接切换到5G网络时对应的网络切片信息,以便移动性管理实体协同网络中的其他设备,根据PDN连接切换到5G网络时对应的网络切片信息以及其他信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,根据确定出的网络切片信息创建PDU会话,实现PDN连接到PDU会话的切换。解决了现有无法确定PDN连接向PDU会话切换过程中网络切片,导致的无法PDN连接切换到PDU会话的问题。The twentieth aspect provides a session switching method, where the method includes: the control plane function entity determines network slice information corresponding to when the PDN connection is switched to the 5G network, and sends the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. Based on the session switching method provided by the embodiment of the present application, the control plane function entity sends the network slice information corresponding to the handover of the PDN connection to the 5G network to the mobility management entity on the network side, so that the mobility management entity cooperates with other devices in the network, according to The corresponding network slice information and other information when the PDN connection is switched to the 5G network determines the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and creates a PDU session according to the determined network slice information to implement the PDN connection. Switching of PDU sessions. The problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
一种可能的设计中,结合第二十方面,控制面功能实体确定PDN连接切换到5G网络时对应的网络切片信息,包括:控制面功能实体根据PDN连接的信息与网络切片信息的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息,PDN连接的信息包括PDN连接对应的APN,或者PDN连接对应的控制面功能实体的地址信息,或者PDN连接对应的APN和控制面功能实体的地址信息。如此,可以根据预先配置的PDN连接的信息与网络切片信息的对应关系确定出网络切片信息。In a possible design, in combination with the twentieth aspect, the control plane function entity determines corresponding network slice information when the PDN connection is switched to the 5G network, and includes: a correspondence between the information of the PDN connection and the network slice information by the control plane function entity, Determining the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the PDN connection information includes the APN corresponding to the PDN connection, or the address information of the control plane function entity corresponding to the PDN connection, or the APN and the control plane function entity corresponding to the PDN connection. Address information. In this way, the network slice information can be determined according to the correspondence between the pre-configured PDN connection information and the network slice information.
又一种可能的设计中,结合第二十方面或第二十方面的任一种可能的设计,控制面功能实体向MME发送PDN连接切换到5G网络时对应的网络切片信息,包括:控制面功能实体将所述PDN连接切换到5G网络时对应的网络切片信息携带在用于指示MME将PDN连接切换到5G网络时对应的网络切片信息存储在终端设备的上下文中的第一消息中向MME发送。进一步的,在控制面功能实体向MME发送PDN连接切换到5G网络时对应的网络切片信息时,控制面功能实体还可以向MME发送控制面功能实体的信息,其中,控制面功能实体的信息可以携带在第一消息中,也可以不携带在第一消息中。如此,在MME接收到携带有PDN连接切换到5G网络时对应的网络切片信息的第一消息时,仅将第一消息携带的内容存储在 终端设备的上下文中,而不去解析该第一消息中携带的内容,以降低MME的负担;同时,使MME接收到控制面功能实体确定的网络切片信息后,向AMF发送该网络切片信息,实现PDN连接到PDU会话的切换。In another possible design, in combination with any possible design of the twentieth aspect or the twentieth aspect, the control plane function entity sends to the MME the corresponding network slice information when the PDN connection is switched to the 5G network, including: the control plane. When the function entity switches the PDN connection to the 5G network, the corresponding network slice information is carried in the first message in the context of the terminal device, which is used to indicate that the MME switches the PDN connection to the 5G network, to the MME. send. Further, when the control plane function entity sends the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the control plane function entity may further send information about the control plane function entity to the MME, where the information of the control plane function entity may be It may be carried in the first message or may not be carried in the first message. In this manner, when the MME receives the first message carrying the network slice information corresponding to the PDN connection to the 5G network, only the content carried by the first message is stored in the context of the terminal device, and the first message is not parsed. The content carried in the MME is reduced to reduce the burden on the MME. At the same time, after receiving the network slice information determined by the control plane function entity, the MME sends the network slice information to the AMF to implement handover of the PDN connection to the PDU session.
再一种可能的实现中,结合第二十方面或第二十方面的任一种可能的设计,所述方法还包括:控制面功能实体向MME发送PDN连接切换到5G网络时对应的网络切片信息的优先级的信息。如此,可以将网络切片信息的优先级的信息发送给移动性管理实体,以便移动性管理实体和网络侧设备协同工作的情况下,根据各个网络切片信息的优先级将较高优先级的网络切片信息对应的PDN连接优先切换到PDU会话中。In a further possible implementation, in combination with any possible design of the twentieth aspect or the twentieth aspect, the method further includes: the control plane function entity sends a corresponding network slice when the PDN connection is switched to the 5G network to the MME. Information about the priority of the information. In this way, the information of the priority of the network slice information can be sent to the mobility management entity, so that the mobility management entity and the network side device work together, and the higher priority network is sliced according to the priority of each network slice information. The PDN connection corresponding to the information is preferentially switched to the PDU session.
再一种可能的实现中,结合第二十方面或第二十方面的任一种可能的设计,所述方法还包括:当建立PDN连接的终端设备处于归属路由漫游时,PDN连接切换到5G网络时的网络切片信息为PDN连接切换到5G网络时拜访地的网络切片信息,控制面功能实体根据PDN连接对应的应用的策略信息,确定PDN连接切换到5G网络时归属地的网络切片信息;根据PDN连接切换到5G网络时归属地的网络切片信息、以及归属地网络切片信息和拜访地网络切片信息间的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息。如此,可以在终端设备处于归属路由漫游时获取到终端设备拜访地的网络切片信息,以便后续网络侧设备根据该拜访地的网络切片信息将PDN连接切换到拜访地的网络切片,保证了终端设备处于归属路由漫游时业务的连续性。In a further possible implementation, in combination with any possible design of the twentieth aspect or the twentieth aspect, the method further includes: when the terminal device establishing the PDN connection is in the home route roaming, the PDN connection is switched to the 5G The network slice information at the time of the network is the network slice information of the visited place when the PDN connection is switched to the 5G network, and the control plane function entity determines the network slice information of the home location when the PDN connection is switched to the 5G network according to the policy information of the application corresponding to the PDN connection; The network slice information of the home location when the PDN connection is switched to the 5G network is determined according to the network slice information of the home location when the PDN connection is switched to the 5G network, and the mapping relationship between the home network slice information and the visited network slice information. In this way, the network slice information of the visited location of the terminal device can be obtained when the terminal device is in the home route roaming, so that the subsequent network side device switches the PDN connection to the network slice of the visited place according to the network slice information of the visited place, and the terminal device is ensured. The continuity of the service when the home route is roaming.
第二十一方面,提供了一种控制面功能实体,该控制面功能实体可以实现上述方法实施例中控制面功能实体元所执行的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。如:该控制面功能实体可以包括:确定单元,用于确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;发送单元,用于向MME发送所述PDN连接切换到5G网络时对应的网络切片信息。In a twenty-first aspect, a control plane function entity is provided, and the control plane function entity can implement a function performed by a control plane function entity element in the foregoing method embodiment, where the function can be implemented by hardware or by hardware. The corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. For example, the control plane function entity may include: a determining unit, configured to determine network slice information corresponding to when the packet data network PDN connection is switched to the fifth generation 5G network, and a sending unit, configured to send, to the MME, the PDN connection to switch to the 5G Network slice information corresponding to the network.
其中,控制面功能实体的具体实现方式可以参考第二十方面或第二十方面的可能的实现方式提供的会话切换方法中控制面功能实体的行为功能,在此不再重复赘述。因此,该提供的控制面功能实体可以达到与第二十方面相同的有益效果。For a specific implementation manner of the control plane function entity, reference may be made to the behavior function of the control plane function entity in the session switching method provided by the twentieth aspect or the possible implementation manner of the twentieth aspect, and details are not repeatedly described herein. Therefore, the provided control surface functional entity can achieve the same advantageous effects as the twentieth aspect.
第二十二方面,提供了一种控制面功能实体,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该控制面功能实体运行时,该处理器执行该存储器存储的该计算机执行指令,以使该控制面功能实体执行如上述第二十方面中任一所述的会话切换方法。A twenty-second aspect, a control plane functional entity is provided, comprising: a processor and a memory; the memory is configured to store a computer execution instruction, and when the control plane function entity is running, the processor executes the computer stored in the memory The instruction is executed to cause the control plane function entity to perform the session switching method as described in any one of the above twentieth aspects.
第二十三方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第二十方面中任意一项所述的会话切换方法。A twenty-third aspect, a computer readable storage medium storing instructions stored in a computer, such that when executed on a computer, the computer can perform any one of the above-described twentieth aspects Session switching method.
第二十四方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第二十方面中任意一项所述的会话切换方法。A twenty-fourth aspect, a computer program product comprising instructions for causing a computer to perform the session switching method of any of the above-described twentieth aspects, when run on a computer.
第二十五方面,提供了一种芯片***,该芯片***包括处理器,用于支持控制面功能实体实现上述方面中所涉及的功能,例如支持控制面功能实体确定PDN连接切换到5G网络时对应的网络切片信息,并通过通信接口向MME发送所述PDN连接切换到5G网络时对应的网络切片信息。在一种可能的设计中,所述芯片***还包括存储器,所述存储器,用于保存控制面功能实体必要的程序指令和数据。该芯片***,可以由芯片构成,也可以包含芯片和其他分立器件。In a twenty-fifth aspect, a chip system is provided, the chip system comprising a processor for supporting a control plane function entity to implement the functions involved in the foregoing aspects, for example, supporting a control plane function entity to determine when a PDN connection is switched to a 5G network Corresponding network slice information, and the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network is sent to the MME through the communication interface. In a possible design, the chip system further comprises a memory for storing program instructions and data necessary for the control plane function entity. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第二十一方面至第二十五方面中任一种设计方式所带来的技术效果可参见第二十方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the twenty-first aspect to the twenty-fifth aspect, refer to the technical effects brought by different design modes in the twentieth aspect, and details are not described herein again.
第二十六方面,提供一种会话切换方法,所述方法包括:MME从控制面功能实体获取PDN连接切换到5G网络时对应的网络切片信息,向AMF实体发送终端设备的上下文,终端设备的上下文包括PDN连接切换到5G网络时对应的网络切片信息、以及PDN连接的信息,PDN连接的信息包括PDN连接对应的控制面功能实体的地址信息。基于本申请实施例提供的会话切换方法,MME从控制面功能实体获取PDN连接切换到5G网络时对应的网络切片信息,并将该PDN连接切换到5G网络时对应的网络切片信息给AMF实体,以便AMF实体根据PDN连接切换到5G网络时对应的网络切片信息以及其他信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,进而根据确定出的网络切片信息创建PDU会话,实现PDN连接到PDU会话的切换。解决了现有无法确定PDN连接向PDU会话切换过程中网络切片,导致的无法PDN连接切换到PDU会话的问题。According to a twenty-sixth aspect, a session switching method is provided, the method includes: the MME acquiring, from the control plane function entity, network slice information corresponding to when the PDN connection is switched to the 5G network, and transmitting the context of the terminal device to the AMF entity, where the terminal device The context includes the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the information of the PDN connection. The information of the PDN connection includes the address information of the control plane function entity corresponding to the PDN connection. Based on the session switching method provided by the embodiment of the present application, the MME obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the corresponding network slice information is sent to the AMF entity when the PDN connection is switched to the 5G network. Therefore, the AMF entity determines, according to the network slice information and other information when the PDN connection is switched to the 5G network, the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and then creates a PDU session according to the determined network slice information. To implement switching of the PDN connection to the PDU session. The problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
在一种可能的设计中,MME接收控制面功能实体发送的携带有PDN连接切换到5G网络时对应的网络切片信息的第一消息;其中,第一消息用于指示MME将PDN连接切换到5G网络时对应的网络切片信息存储在终端设备的上下文中。如此,在MME接收到携带有PDN连接切换到5G网络时对应的网络切片信息的第一消息时,仅将第一消息携带的内容(PDN连接切换到5G网络时对应的网络切片信息)存储在终端设备的上下文中,而不去解析该第一消息中携带的内容,以降低自身的负担。In a possible design, the MME receives a first message that is sent by the control plane function entity and carries the network slice information corresponding to the PDN connection to the 5G network. The first message is used to instruct the MME to switch the PDN connection to the 5G. The network slice information corresponding to the network is stored in the context of the terminal device. In this manner, when the MME receives the first message carrying the network slice information corresponding to the PDN connection switching to the 5G network, only the content carried in the first message (the network slice information corresponding to when the PDN connection is switched to the 5G network) is stored in the first message. In the context of the terminal device, the content carried in the first message is not parsed to reduce the burden on itself.
在一种可能的设计中,PDN连接的信息还包括PDN连接对应APN。In one possible design, the PDN connection information also includes the PDN connection corresponding APN.
第二十七方面,提供了一种MME,该MME具有实现上述第二十六方面所述的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。如:该MME可以包括:In a twenty-seventh aspect, there is provided an MME having the function of implementing the method described in the twenty-sixth aspect above. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above. For example, the MME may include:
接收单元,用于从控制面功能实体接收PDN连接切换到第五代5G网络时对应的网络切片信息;发送单元,用于向AMF实体发送终端设备的上下文,终端设备的上下文包括所述PDN连接切换到第五代5G网络时对应的网络切片信息、以及PDN连接的信息,所述PDN连接的信息包括所述PDN连接对应的控制面功能实体的地址信息。a receiving unit, configured to receive, from the control plane function entity, corresponding network slice information when the PDN connection is switched to the fifth generation 5G network, and a sending unit, configured to send a context of the terminal device to the AMF entity, where the context of the terminal device includes the PDN connection Corresponding network slice information and PDN connection information when the fifth generation 5G network is switched, the PDN connection information includes address information of the control plane function entity corresponding to the PDN connection.
其中,MME的具体实现方式可以参考第二十六方面或第二十六方面的可能的实现方式提供的会话切换方法中MME的行为功能,在此不再重复赘述。因此,该提供的MME可以达到与第二十六方面相同的有益效果。For a specific implementation manner of the MME, reference may be made to the behavior of the MME in the session switching method provided in the possible implementation manner of the twenty-sixth aspect or the twenty-sixth aspect, and details are not repeatedly described herein. Therefore, the provided MME can achieve the same advantageous effects as the twenty-sixth aspect.
第二十八方面,提供了一种MME,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该MME运行时,该处理器执行该存储器存储的该计算机执行指令,以使该MME执行如上述第二十六方面中任一所述的会话切换方法。According to a twenty-eighth aspect, an MME is provided, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the MME is running, the processor executes the computer execution instruction stored in the memory to enable the The MME performs the session switching method as described in any one of the twenty-sixth aspects above.
第二十九方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第二十六方面中任意一项所述的会话切换方法。A twenty-ninth aspect, a computer readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform any of the twenty-sixth aspects described above The session switching method described.
第三十方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第二十六方面中任意一项所述的会话切换方法。According to a thirtieth aspect, a computer program product comprising instructions for causing a computer to perform the session switching method of any one of the twenty-sixth aspects described above when the computer is running on the computer.
第三十一方面,提供了一种芯片***,该芯片***包括处理器,用于支持MME实现上 述方面中所涉及的功能,例如支持MME通过通信接口从控制面功能实体获取PDN连接切换到5G网络时对应的网络切片信息,并向AMF实体发送终端设备的上下文。在一种可能的设计中,所述芯片***还包括存储器,所述存储器,用于保存MME必要的程序指令和数据。该芯片***,可以由芯片构成,也可以包含芯片和其他分立器件。In a thirty-first aspect, a chip system is provided, the chip system comprising a processor, configured to support the MME to implement the functions involved in the foregoing aspects, for example, supporting the MME to obtain a PDN connection from the control plane function entity to switch to the 5G through the communication interface. Corresponding network slice information in the network, and the context of the terminal device is sent to the AMF entity. In one possible design, the chip system further includes a memory for storing necessary program instructions and data of the MME. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第二十七方面至第三十一方面中任一种设计方式所带来的技术效果可参见第二十六方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the twenty-seventh to the thirty-first aspects, refer to the technical effects brought by different design modes in the twenty-sixth aspect, and details are not described herein again.
第三十二方面,提供一种会话切换方法,所述方法包括AMF实体获取PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息,可选的,AMF还获取终端设备签约的网络切片信息;AMF实体根据PDN连接切换到5G网络时对应的网络切片信息,以及终端设备签约的网络切片信息,获取PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体;当目标AMF实体为AMF实体时,AMF实体根据PDN连接对应的控制面功能实体的地址信息向控制面功能实体发送会话切换请求,会话切换请求用于请求将PDN连接切换到PDU会话。基于本申请实施例提供的会话切换方法,AMF实体获取PDN连接切换到5G网络时对应的网络切片信息,根据PDN连接切换到5G网络时对应的网络切片信息以及其他信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并向控制面功能实体发送PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,以便控制面功能实体根据确定出的网络切片信息创建PDU会话,实现PDN连接到PDU会话的切换。解决了现有无法确定PDN连接向PDU会话切换过程中网络切片,导致的无法PDN连接切换到PDU会话的问题。According to a 32nd aspect, a method for session switching is provided, where the method includes: AMF entity acquires network slice information corresponding to a PDN connection switch to a 5G network, and address information of a control plane function entity corresponding to a PDN connection, optionally, AMF And obtaining the network slice information that is signed by the terminal device; the AMF entity corresponding to the network slice information when the PDN connection is switched to the 5G network, and the network slice information that is signed by the terminal device, and correspondingly, when the PDN connection that can be switched in the PDN connection is switched to the 5G network, Network slice information, and determine a target AMF entity that supports a corresponding network slice when the switchable PDN connection is switched to the 5G network; when the target AMF entity is an AMF entity, the AMF entity according to the address information of the control plane function entity corresponding to the PDN connection Sending a session switch request to the control plane function entity, the session switch request is used to request to switch the PDN connection to the PDU session. Based on the session switching method provided by the embodiment of the present application, the AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and determines the switchable PDN connection according to the network slice information and other information when the PDN connection is switched to the 5G network. The PDN connects to the network slice information corresponding to the 5G network, and sends the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection to the control plane function entity, so that the control plane function entity determines the network slice according to the network. The information creates a PDU session and implements a handover of the PDN connection to the PDU session. The problem that the network segmentation in the process of switching from the PDN connection to the PDU session cannot be determined, and the PDN connection cannot be switched to the PDU session is solved.
在一种可能的设计中,AMF实体从MME获取PDN连接切换到5G网络时对应的网络切片信息,其中,PDN连接切换到5G网络时对应的网络切片信息由控制面功能实体确定。In a possible design, the AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the corresponding network slice information is determined by the control plane function entity when the PDN connection is switched to the 5G network.
在一种可能的设计中,当AMF实体确定建立PDN连接的终端设备处于归属路由漫游时,AMF实体根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片确定拜访地控制面功能实体;AMF实体向拜访地控制面功能实体发送携带有PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息的会话建立请求,会话建立请求用于指示拜访地控制面功能实体向归属地控制面功能实体发送会话切换请求。如此,在终端设备处于归属路由场景时,AMF实体可以确定出拜访地控制面功能实体,通过拜访控制面功能实体和归属地控制面实体的互通建立PDN连接对应的PDU会话,保证了终端设备在漫游场景下的业务连续性。In a possible design, when the AMF entity determines that the terminal device establishing the PDN connection is in the home route roaming, the AMF entity switches the network slice indicated by the corresponding network slice information according to the switchable PDN connection in the PDN connection to the 5G network. Determining the visited control plane function entity; the AMF entity sends the network slice information corresponding to the PDN connection that can be switched in the PDN connection to the 5G network, and the address information of the control plane function entity corresponding to the PDN connection The session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity. In this way, when the terminal device is in the home routing scenario, the AMF entity can determine the functional entity of the visited control plane, and establish a PDU session corresponding to the PDN connection by accessing the communication between the control plane function entity and the home control plane entity, thereby ensuring that the terminal device is in the Business continuity in a roaming scenario.
在一种可能的设计中,当AMF实体确定建立PDN连接的终端设备处于归属路由漫游,且AMF实体选择不出拜访地控制面功能实体时,AMF实体向NRF发送选择请求,NRF根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片选择拜访地控制面功能实体,并将拜访地控制面功能实体的地址信息反馈给初始AMF实体,初始AMF实体根据NRF的反馈结果,通过拜访地控制面功能实体向归属地控制面功能实体发送会话切换请求。如此,在终端设备处于归属路由场景,且AMF实体选择不出拜访地控制面功能实体时,AMF实体可以借助NRF选择拜访地控制面功能实体,根据NRF选择的拜访地控制面功能实体与归属地控制面功能实体互通,由归属地 控制面功能实体建立PDN连接对应的PDU会话,保证了终端设备在漫游场景下的业务连续性。In a possible design, when the AMF entity determines that the terminal device establishing the PDN connection is in the home route roaming, and the AMF entity selects not to visit the visited control plane function entity, the AMF entity sends a selection request to the NRF according to the PDN connection. The network slice indicated by the corresponding network slice information when the switchable PDN connection is switched to the 5G network selects the visited control plane function entity, and feeds back the address information of the visited control plane function entity to the initial AMF entity, and the initial AMF entity according to the NRF As a result of the feedback, the session control request entity sends a session switch request to the home control plane function entity. In this way, when the terminal device is in the home routing scenario, and the AMF entity selects not to visit the visited control plane function entity, the AMF entity can select the visited control plane function entity by means of the NRF, and select the function and entity of the visited ground control plane according to the NRF. The control plane function entity communicates with each other, and the PDU session corresponding to the PDN connection is established by the function entity of the home control plane to ensure the service continuity of the terminal equipment in the roaming scenario.
第三十三方面,提供了一种AMF实体,该AMF实体具有实现上述第三十二方面所述的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。如:AMF实体包括:In a thirty-third aspect, there is provided an AMF entity having the function of implementing the method described in the thirty-second aspect above. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above. Such as: AMF entities include:
接收单元,用于接收PDN连接切换到第五代5G网络时对应的网络切片信息、所述PDN连接对应的控制面功能实体的地址信息;可选的,还可以用于接收终端设备签约的网络切片信息;a receiving unit, configured to receive network slice information corresponding to a PDN connection to a fifth-generation 5G network, and address information of a control plane function entity corresponding to the PDN connection; optionally, the terminal device may also be used to receive a network signed by the terminal device. Slice information
获取单元,用于根据所述PDN连接切换到5G网络时对应的网络切片信息、以及所述终端设备签约的网络切片信息,获取所述PDN连接中允许切换的PDN连接切换到5G网络时对应的网络切片信息;An acquiring unit, configured to acquire, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is subscribed by the terminal device, to obtain a corresponding PDN connection that is allowed to be switched in the PDN connection to be switched to the 5G network Network slice information;
发送单元,用于根据所述PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求,所述会话切换请求用于请求将所述PDN连接切换到协议数据单元PDU会话。a sending unit, configured to send a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switching request is used to request to switch the PDN connection to the protocol data unit PDU Conversation.
其中,AMF实体的具体实现方式可以参考第三十二方面或第三十二方面的可能的实现方式提供的会话切换方法中AMF实体的行为功能,在此不再重复赘述。因此,该提供的AMF实体可以达到与第三十二方面相同的有益效果。The specific implementation manner of the AMF entity may refer to the behavior function of the AMF entity in the session switching method provided by the 32nd aspect or the possible implementation manner of the 32nd aspect, and details are not repeatedly described herein. Therefore, the provided AMF entity can achieve the same beneficial effects as the thirty-second aspect.
第三十四方面,提供了一种AMF实体,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该AMF实体运行时,该处理器执行该存储器存储的该计算机执行指令,以使该AMF实体执行如上述第三十二方面中任一所述的会话切换方法。A thirty-fourth aspect, an AMF entity is provided, comprising: a processor and a memory; the memory is configured to store a computer execution instruction, and when the AMF entity is running, the processor executes the computer execution instruction stored in the memory to The AMF entity is caused to perform the session switching method as described in any of the above-mentioned thirty-second aspects.
第三十五方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第三十二方面中任意一项所述的会话切换方法。A thirty-fifth aspect, a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform any one of the thirty-second aspects described above The session switching method described.
第三十六方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第三十二方面中任意一项所述的会话切换方法。In a thirty-sixth aspect, a computer program product comprising instructions for causing a computer to perform the session switching method of any of the above-described thirty-second aspects when executed on a computer is provided.
第三十七方面,提供了一种芯片***,该芯片***包括处理器,用于支持AMF实体实现上述方面中所涉及的功能,例如支持AMF实体获取PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息;可选的,还可以获取终端设备签约的网络切片信息;根据PDN连接切换到5G网络时对应的网络切片信息、以及终端设备签约的网络切片信息,获取PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体;以及当目标AMF实体为AMF实体时,AMF实体根据PDN连接对应的控制面功能实体的地址信息向控制面功能实体发送会话切换请求。在一种可能的设计中,所述芯片***还包括存储器,所述存储器,用于保存AMF实体必要的程序指令和数据。该芯片***,可以由芯片构成,也可以包含芯片和其他分立器件。In a thirty-seventh aspect, a chip system is provided, the chip system comprising a processor, configured to support an AMF entity to implement the functions involved in the foregoing aspects, for example, supporting an AMF entity to obtain a corresponding network slice when the PDN connection is switched to the 5G network. Information, the address information of the control plane function entity corresponding to the PDN connection; optionally, the network slice information subscribed by the terminal device; the network slice information corresponding to the PDN connection when switching to the 5G network, and the network slice signed by the terminal device The information, obtains the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and determines the target AMF entity that supports the corresponding network slice when the switchable PDN connection is switched to the 5G network; and when the target AMF entity is In the case of the AMF entity, the AMF entity sends a session switch request to the control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the AMF entity. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第三十三方面至第三十七方面中任一种设计方式所带来的技术效果可参见第三十二方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the thirty-third to the thirty-seventh aspects, refer to the technical effects brought by different design modes in the thirty-second aspect, and details are not described herein again.
第三十八方面,提供一种会话切换***,所述***包括第二十一方面至第二十五方面任一方面所述的控制面功能实体、第二十七方面至第三十一方面任一方面所述的MME、以及第 三十三方面至第三十七方面任一方面所述的AMF实体。A thirty-eighth aspect, a session switching system is provided, the system comprising the control plane functional entity according to any one of the twenty-first aspect to the twenty-fifth aspect, the twenty-seventh aspect to the thirty-first aspect The MME of any of the aspects, and the AMF entity of any of the thirty-third aspect to the thirty-seventh aspect.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
附图说明DRAWINGS
图1为现有4G网络和5G网络互通的网络架构示意图;FIG. 1 is a schematic diagram of a network architecture of an existing 4G network and a 5G network interworking;
图2为LBO漫游场景下4G网络和5G网络互通的网络架构示意图;2 is a schematic diagram of a network architecture of interworking between a 4G network and a 5G network in an LBO roaming scenario;
图3为home router漫游场景下4G网络和5G网络互通的网络架构示意图;3 is a schematic diagram of a network architecture of a 4G network and a 5G network interworking in a home router roaming scenario;
图4为本申请实施例提供的一种通信设备的组成示意图;4 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图5为本申请实施例提供的一种会话切换方法流程图;FIG. 5 is a flowchart of a session switching method according to an embodiment of the present application;
图6为本申请实施例提供的又一种会话切换方法流程图;FIG. 6 is a flowchart of still another method for session switching according to an embodiment of the present application;
图7为本申请实施例提供的又一种会话切换方法流程图;FIG. 7 is a flowchart of still another method for session switching according to an embodiment of the present application;
图8为本申请实施例提供的再一种会话切换方法流程图;FIG. 8 is a flowchart of still another method for session switching according to an embodiment of the present application;
图9为本申请实施例提供的一种终端设备的组成示意图;FIG. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
图10为本申请实施例提供的一种MME的组成示意图;FIG. 10 is a schematic structural diagram of an MME according to an embodiment of the present disclosure;
图11为本申请实施例提供的一种AMF实体的组成示意图;FIG. 11 is a schematic structural diagram of an AMF entity according to an embodiment of the present application;
图12为本申请实施例提供的再一种会话切换方法流程图;FIG. 12 is a flowchart of still another method for session switching according to an embodiment of the present application;
图13为本申请实施例提供的一种控制面功能实体的组成示意图;FIG. 13 is a schematic structural diagram of a functional entity of a control plane according to an embodiment of the present disclosure;
图14为本申请实施例提供的一种MME的组成示意图;FIG. 14 is a schematic structural diagram of an MME according to an embodiment of the present disclosure;
图15为本申请实施例提供的一种AMF实体的组成示意图。FIG. 15 is a schematic structural diagram of an AMF entity according to an embodiment of the present application.
具体实施方式Detailed ways
为了方便理解本申请实施例的技术方案,首先给出本申请相关技术的简要介绍如下。In order to facilitate the understanding of the technical solutions of the embodiments of the present application, a brief introduction of the related art of the present application is first given as follows.
网络切片选择辅助信息(network slice selection assistance information,NSSAI)Network slice selection assistance information (NSSAI)
NSSAI用于指示一个或者多个网络切片,NSSAI中包括多个单NSSAI(single NSSAI,S-NSSAI)。S-NSSAI由服务类型(slice/service type,SST)和切片区分器(slice differentiator,SD)组成。其中,SST包括标准化和运营商自定义的类型;SD是补充SST的可选信息,以区分相同SST的多个网络切片。23.501标准中定义的NSSAI的类型和作用如表一所示。需要说明的是,在本申请实施例中,将S-NSSAI简称为网络切片信息。The NSSAI is used to indicate one or more network slices, and the NSSAI includes multiple single NSSAIs (single NSSAI, S-NSSAI). S-NSSAI consists of a service type (slice/service type, SST) and a slice differentiator (SD). Among them, SST includes standardization and operator-defined types; SD is optional information supplementing SST to distinguish multiple network slices of the same SST. The types and effects of NSSAI defined in the 23.501 standard are shown in Table 1. It should be noted that, in the embodiment of the present application, the S-NSSAI is simply referred to as network slice information.
表一Table I
Figure PCTCN2018116279-appb-000001
Figure PCTCN2018116279-appb-000001
接入点名称(access point name,APN):Access point name (APN):
终端设备在发起分组业务时可向移动管理实体(Mobility Management Entity,MME)提供APN。MME根据终端设备所提供的APN,通过域名服务器(domain name server,DNS)进行域名解析,从而获取到分组数据网关(packet data gateway,PGW)的网际协议(internet protocol,IP)地址,将终端设备接入到APN对应的PDN中。The terminal device may provide an APN to a Mobility Management Entity (MME) when initiating a packet service. The MME performs domain name resolution by using a domain name server (DNS) according to the APN provided by the terminal device, thereby obtaining an internet protocol (IP) address of the packet data gateway (PGW), and the terminal device is obtained. Access to the PDN corresponding to the APN.
下面结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application.
本申请实施例提供的方案可适用于图1所示的4G网络和5G网络互通的网络,以实现将4G网络中的PDN连接切换到5G网络中的PDU会话。The solution provided by the embodiment of the present application can be applied to the network of the 4G network and the 5G network interworking shown in FIG. 1 to implement switching the PDN connection in the 4G network to the PDU session in the 5G network.
如图1所示,该网络可以包括:终端设备、演进型通用陆地无线接入网(evolved universal terrestrial radio access network,E-UTRAN)设备、下一代无线接入网(NG Radio Access Network,NG-RAN)设备、4G网络中的MME、4G网络中的服务网关(Serving Gateway,SGW)、5G网络中的AMF实体、4G网络与5G网络共用用户面功能(user plane function,UPF)实体+分组数据网络(packet data network,PDN)网关用户面功能(PDN gateway user plane function,PGW-U)实体、会话管理功能(session management function,SMF)实体+PDN网关控制面功能(PDN gateway control plane function,PGW-C)实体、策略控制功能(policy control function,PCF)实体+策略和计费规则功能(policy and charging rules function,PCRF)实体、归属签约用户服务器(home subscriber server,HSS)+统一数据管理(unified data management,UDM)实体等。这里“+”表示合设,UPF为5G网络的用户面功能,PGW-U是与UPF对应的4G网络的网关用户面功能,SMF实体是5G网络的会话管理功能,PGW-C是与SMF实体对应的4G网络中的网关控制面功能,PCF是5G网络的策略控制功能、PCRF是与PCF对应的4G网络的策略计费规则功能。本申请实施例中,为方便表述,将HSS+UDM实体称之为用户数据管理实体,将PGW-C实体+SMF实体称之为控制面功能实体,将MME和AMF实体称为不同的移动性管理实体,将E-UTRAN设备和NG-RAN设备称为不同的接入网设备,在此进行统一说明,以下不再赘述。当然,上述合设后的网络设备也可以用其他名称,本申请实施例对此不作具体限定。As shown in FIG. 1 , the network may include: a terminal device, an evolved universal terrestrial radio access network (E-UTRAN) device, and a next generation radio access network (NG Radio Access Network, NG- RAN) device, MME in 4G network, Serving Gateway (SGW) in 4G network, AMF entity in 5G network, 4G network and 5G network share user plane function (UPF) entity + packet data PDN gateway user plane function (PGW-U) entity, session management function (SMF) entity + PDN gateway control plane function (PGW) -C) entity, policy control function (PCF) entity + policy and charging rules function (PCRF) entity, home subscriber server (HSS) + unified data management ( Unified data management, UDM) entities, etc. Here, "+" means the setting, UPF is the user plane function of the 5G network, PGW-U is the gateway user plane function of the 4G network corresponding to the UPF, the SMF entity is the session management function of the 5G network, and the PGW-C is the SMF entity The gateway control plane function in the corresponding 4G network, the PCF is the policy control function of the 5G network, and the PCRF is the policy charging rule function of the 4G network corresponding to the PCF. In the embodiment of the present application, for convenience of description, the HSS+UDM entity is referred to as a user data management entity, the PGW-C entity+SMF entity is referred to as a control plane functional entity, and the MME and AMF entities are referred to as different mobility. The management entity, the E-UTRAN device and the NG-RAN device are referred to as different access network devices, and are collectively described herein, and are not described here. Certainly, the network device after the above-mentioned connection may also use other names, which is not specifically limited in this embodiment of the present application.
需要说明的,图1仅为示例性架构图,除图1所示实体之外,还可以包括其他实体,如:4G网络中的通用分组无线***(general packet radio system,GPRS)业务支撑节点(serving GPRS support node,SGSN)等,5G网络中的鉴权服务功能(authentication server function,AUSF)实体和网络切片选择功能(network slice selection function,NSSF)实体等,本申请实施例对此不作具体限定。It should be noted that FIG. 1 is only an exemplary architecture diagram. In addition to the entity shown in FIG. 1, other entities may be included, such as a general packet radio system (GPRS) service support node in a 4G network. The GPRS support node (SGSN) and the like, the authentication server function (AUSF) entity and the network slice selection function (NSSF) entity in the 5G network, etc., are not specifically limited in this embodiment of the present application. .
其中,图1中的终端设备可以为用户设备(user equipment,UE),还可以为各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备;还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type communication,MTC)终端设备、移动台(mobile station,MS)等,不予限制。图1中的终端设备可以通过E-UTRAN设备接入4G网络,终端设备通过NG-RAN设备接入5G网络。E-UTRAN设备通过S1-MME接口与MME通信, E-UTRAN设备通过S1-U接口与SGW通信,MME通过S11接口与SGW通信,MME通过S6a接口与用户数据管理实体通信,MME通过N26接口与AMF实体通信,SGW通过S5-U接口与PGW-U实体+UPF实体通信,SGW通过S5-C接口与PGW-C实体+SMF实体通信,PGW-U实体+UPF实体通过N3接口与NG-RAN设备通信,PGW-U实体+UPF实体通过N4接口与PGW-C实体+SMF实体通信,PGW-C实体+SMF实体通过N7接口与PCRF实体+PCF实体通信,HSS+UDM实体通过N10接口与PGW-C实体+SMF实体通信,HSS+UDM实体通过N8接口与AMF实体通信,PCRF实体+PCF实体通过N15接口与AMF实体通信,PGW-C实体+SMF实体通过N11接口与AMF实体通信,AMF实体通过N2接口与NG-RAN设备通信,AMF实体通过N1接口与终端设备通信。需要说明的是,图1中的各个网元之间的接口名字只是一个示例,具体实现中接口名字可能为其他名字,本申请实施例对此不作具体限定。The terminal device in FIG. 1 may be a user equipment (UE), and may also be a variety of handheld devices, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem. It may also include a subscriber unit, a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA) computer, a tablet computer, a wireless modem (modem). , handheld, laptop computer, cordless phone or wireless local loop (WLL) station, machine type communication (MTC) terminal device, mobile Mobile station (MS), etc., is not limited. The terminal device in FIG. 1 can access the 4G network through the E-UTRAN device, and the terminal device accesses the 5G network through the NG-RAN device. The E-UTRAN device communicates with the MME through the S1-MME interface, the E-UTRAN device communicates with the SGW through the S1-U interface, the MME communicates with the SGW through the S11 interface, and the MME communicates with the user data management entity through the S6a interface, and the MME communicates with the user data management entity through the N26 interface. AMF entity communication, the SGW communicates with the PGW-U entity + UPF entity through the S5-U interface, the SGW communicates with the PGW-C entity + SMF entity through the S5-C interface, and the PGW-U entity + UPF entity passes the N3 interface and the NG-RAN Device communication, the PGW-U entity + UPF entity communicates with the PGW-C entity + SMF entity through the N4 interface, the PGW-C entity + SMF entity communicates with the PCRF entity + PCF entity through the N7 interface, and the HSS+UDM entity passes the N10 interface and the PGW -C entity + SMF entity communication, HSS+UDM entity communicates with AMF entity through N8 interface, PCRF entity + PCF entity communicates with AMF entity through N15 interface, PGW-C entity + SMF entity communicates with AMF entity through N11 interface, AMF entity The NMF entity communicates with the NG-RAN device through the N2 interface, and the AMF entity communicates with the terminal device through the N1 interface. It should be noted that the name of the interface between the network elements in FIG. 1 is only an example. In the specific implementation, the interface name may be other names, which is not specifically limited in this embodiment of the present application.
由于终端设备的的移动性,终端设备在4G网络和5G网络互通的架构中移动时,可能会处于本地分汇(Local breakout,LBO)漫游的场景或者归属地路由(home routed)漫游的场景,其中,LBO漫游可以指指漫游用户通过拜访网络的网关接入网络获取相应的业务,业务的提供者可以是归属公共陆地移动网络(Home Public Land Mobile Network,HPLMN)(简称HPLMN),也可以是拜访公共陆地移动网络(Public Land Mobile Network,PLMN)(简称VPLMN)。例如,如图2所示,用户通过VPLMN中的SMF实体+PGW-C实体接入网络获取相应的业务,所有访问业务的用户面流量都经VPLMN中的v-PCF实体+v-PCRF实体转发给HPLMN中的h-PCF实体+h-PCRF实体,即local breakout漫游下SMF实体+PGW-C实***于拜访地,其功能不变,这里不在赘述。home routed漫游是指经由归属地路由,通过拜访地的v-SMF实体与归属地SMF实体+PGW-C实体相连接,进行控制信令传输,并由归属地UPF实体+PGW-U实体与数据网络相连接,如:图3所示为home routed漫游场景下4G网络和5G互通的网络***架构,其中v-SMF实体为拜访地SMF实体,v-PCF实体为拜访地PCF实体,其功能不变,这里不在赘述。Due to the mobility of the terminal device, the terminal device may be in a local breakout (LBO) roaming scenario or a home routed roaming scenario when moving in a 4G network and a 5G network interworking architecture. The LBO roaming may refer to the roaming user accessing the network through the gateway of the visited network to obtain the corresponding service. The provider of the service may be a Home Public Land Mobile Network (HPLMN) (referred to as HPLMN), or may be visited. Public Land Mobile Network (PLMN) (VPLMN for short). For example, as shown in FIG. 2, the user accesses the network through the SMF entity + PGW-C entity in the VPLMN to obtain the corresponding service, and the user plane traffic of all access services is forwarded by the v-PCF entity + v-PCRF entity in the VPLMN. The h-PCF entity + h-PCRF entity in the HPLMN, that is, the local breakout roaming SMF entity + PGW-C entity is located at the visited place, and its function is unchanged, and will not be described here. The home routed roaming refers to the control route transmission by the v-SMF entity of the visited place and the home SMF entity + PGW-C entity via the home route, and the home UPF entity + PGW-U entity and data The network is connected. For example, Figure 3 shows the network system architecture of the 4G network and the 5G interworking in the home routed roaming scenario. The v-SMF entity is the visited SMF entity, and the v-PCF entity is the visited PCF entity. Change, here is not to repeat.
具体的,图1中的终端设备、MME、AMF实体等设备,可以以图4中的通信设备的方式来实现。该通信设备400包括至少一个处理器401,通信线路402,存储器403以及至少一个通信接口404。Specifically, the device such as the terminal device, the MME, and the AMF entity in FIG. 1 can be implemented in the manner of the communication device in FIG. 4. The communication device 400 includes at least one processor 401, a communication line 402, a memory 403, and at least one communication interface 404.
处理器401可以是一个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)。The processor 401 may be a central processing unit (CPU), may be an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. For example: one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs).
通信线路402可包括一通路,在上述组件之间传送信息。Communication line 402 can include a path for communicating information between the components described above.
通信接口404,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。 Communication interface 404, using any type of transceiver, for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
存储器403可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器 (electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路402与处理器相连接。存储器也可以和处理器集成在一起。The memory 403 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions. The dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this. The memory may be stand-alone and connected to the processor via communication line 402. The memory can also be integrated with the processor.
其中,存储器403用于存储执行本申请方案的计算机执行指令,并由处理器401来控制执行。处理器401用于执行存储器403中存储的计算机执行指令,从而实现本申请下述实施例提供的会话切换方法。The memory 403 is used to store computer execution instructions for executing the solution of the present application, and is controlled by the processor 401 for execution. The processor 401 is configured to execute a computer execution instruction stored in the memory 403, thereby implementing the session switching method provided by the following embodiments of the present application.
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executed instructions in the embodiment of the present application may also be referred to as an application code, which is not specifically limited in this embodiment of the present application.
在具体实现中,作为一种实施例,处理器401可以包括一个或多个CPU,例如图4中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 401 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
在具体实现中,作为一种实施例,通信设备400可以包括多个处理器,例如图4中的处理器401和处理器408。这些处理器中的每一个可以是一个单核处理器,也可以是一个multi-CPU处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a particular implementation, as an embodiment, communication device 400 can include multiple processors, such as processor 401 and processor 408 in FIG. Each of these processors can be a single core processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
在具体实现中,作为一种实施例,通信设备400还可以包括输出设备405和输入设备406。输出设备405和处理器401通信,可以以多种方式来显示信息。例如,输出设备405可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备406和处理器401通信,可以以多种方式接收用户的输入。例如,输入设备406可以是鼠标、键盘、触摸屏设备或传感设备等。In a particular implementation, as an embodiment, the communication device 400 can also include an output device 405 and an input device 406. Output device 405 is in communication with processor 401 and can display information in a variety of ways. For example, the output device 405 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait. Input device 406 is in communication with processor 401 and can receive user input in a variety of ways. For example, input device 406 can be a mouse, keyboard, touch screen device, or sensing device, and the like.
上述的通信设备400可以是一个通用设备或者是一个专用设备。在具体实现中,通信设备400可以是台式机、便携式电脑、网络服务器、PDA、移动手机、平板电脑、无线终端设备、嵌入式设备或有图4中类似结构的设备。本申请实施例不限定通信设备400的类型。The communication device 400 described above may be a general purpose device or a dedicated device. In a particular implementation, communication device 400 can be a desktop, a portable computer, a network server, a PDA, a mobile handset, a tablet, a wireless terminal device, an embedded device, or a device having a similar structure as in FIG. The embodiment of the present application does not limit the type of the communication device 400.
下面结合图1至图4,对本申请实施例提供的会话切换方法进行具体阐述。The session switching method provided by the embodiment of the present application is specifically described below with reference to FIG. 1 to FIG.
图5所示为本申请实施例提供的一种会话切换方法的流程示意图,如图5所示,可以包括:FIG. 5 is a schematic flowchart of a session switching method according to an embodiment of the present disclosure. As shown in FIG. 5, FIG.
步骤501:终端设备注册到4G网络,并建立PDN连接。Step 501: The terminal device registers with the 4G network and establishes a PDN connection.
其中,终端设备可以为图1或者图2或者图3中的任一终端设备。The terminal device may be any terminal device in FIG. 1 or FIG. 2 or FIG. 3.
可选的,终端设备可以通过MME注册到4G网络中,在终端设备注册到4G网络后,当终端设备确定应用待接入的PDN时,终端设备向MME发送该PDN对应的APN,MME协同控制面功能实体(SMF实体+PGW-C实体)建立演进分组***(Evolved Packet System,EPS)承载,至此PDN连接建立完成。其中,一个PDN连接可以对应一个或 者多个应用,一个PDN连接对应一个APN,一个APN下可以建立多个PDN连接,不予限制。Optionally, the terminal device can be registered to the 4G network by using the MME. After the terminal device registers with the 4G network, when the terminal device determines to apply the PDN to be accessed, the terminal device sends the APN corresponding to the PDN to the MME, and the MME cooperatively controls. The face function entity (SMF entity + PGW-C entity) establishes an Evolved Packet System (EPS) bearer, and the PDN connection establishment is completed. One PDN connection may correspond to one or more applications, one PDN connection corresponds to one APN, and one PDN connection may be established under one APN, which is not limited.
在终端设备建立PDN连接之后,终端设备可以将PDN连接、应用、APN间的对应关系存储起来,MME可以将PDN连接对应的控制面功能实体(即SMF实体+PGW-C实体)的地址信息,或者PDN连接对应的APN存储在终端设备的上下文中,其中,PDN连接对应的应用、PDN连接对应的控制面功能实体的地址信息,和PDN连接对应的APN中的至少一个可以称为PDN连接的信息,该PDN连接的信息用于指示与SMF实体+PGW-C实体或者APN或者应用对应的某个PDN连接。After the terminal device establishes the PDN connection, the terminal device may store the correspondence between the PDN connection, the application, and the APN, and the MME may connect the PDN to the address information of the corresponding control plane function entity (ie, the SMF entity + the PGW-C entity). Or the APN corresponding to the PDN connection is stored in the context of the terminal device, where the PDN connection corresponding application, the address information of the control plane function entity corresponding to the PDN connection, and at least one of the APNs corresponding to the PDN connection may be referred to as a PDN connection. Information, the information of the PDN connection is used to indicate a certain PDN connection corresponding to the SMF entity + PGW-C entity or APN or application.
其中,在本申请各实施例中,控制面功能实体的地址信息可以用于标识控制面功能实体,控制面功能实体的地址信息可以为控制面功能实体所在的公共陆地移动网络(public land mobile network,PLMN)的信息,或者控制面功能实体的因特网协议(Internet Protocol,IP)地址,或者控制面功能实体的全量域名(fully qualified domain name,FQDN)等。需要说明的是,在本申请各实施例中,控制面功能实体的地址信息是一种用于标识控制面功能实体的信息,该信息除命名为控制面功能实体的地址信息外,还可以有其他命名,例如控制面功能实体的信息等不同表述,也可以包含于本申请的思想范围内。In the embodiments of the present application, the address information of the control plane function entity may be used to identify the control plane function entity, and the address information of the control plane function entity may be the public land mobile network where the control plane function entity is located (public land mobile network , PLMN) information, or the Internet Protocol (IP) address of the control plane functional entity, or the fully qualified domain name (FQDN) of the control plane functional entity. It should be noted that, in the embodiments of the present application, the address information of the control plane function entity is information for identifying the control plane function entity, and the information may be named in addition to the address information of the control plane function entity. Other naming, such as information describing the functional entities of the control surface, may also be included within the scope of the present application.
步骤502:终端设备确定PDN连接切换到5G网络时对应的网络切片信息。Step 502: The terminal device determines network slice information corresponding to when the PDN connection is switched to the 5G network.
其中,PDN连接切换到5G网络时对应的网络切片信息可以包括该PDN连接切换到5G网络时对应的网络切片的S-NSSAI。The corresponding network slice information when the PDN connection is switched to the 5G network may include the S-NSSAI of the corresponding network slice when the PDN connection is switched to the 5G network.
当终端设备在4G网络中建立PDN连接之后,终端设备首先确定PDN连接中后续可能会切换到5G网络中的PDN连接,然后,终端设备确定这些后续可能会切换到5G网络的PDN连接切换到5G网络时对应的网络切片信息。After the terminal device establishes the PDN connection in the 4G network, the terminal device first determines that the PDN connection may be switched to the PDN connection in the 5G network, and then the terminal device determines that the PDN connection that may subsequently switch to the 5G network switches to the 5G. Network slice information corresponding to the network.
一种可能的实现方式中,终端设备根据PDN连接对应的应用的策略信息,确定已建立的PDN连接中后续可能会切换到5G网络中的PDN连接,其中,这个策略信息用于指示应用对网络的需求,例如可以是业务的服务等级协议(Service-LevelAgreement,SLA)或者是网络切换策略(如该业务优先使用5G网络,或者在5G网络没有覆盖的情况下使用4G网络等等)。例如,当终端设备确定触发建立第一PDN连接的应用具备5G通信需求时,终端设备确定该第一PDN连接为后续可能会切换到5G网络中的PDN连接。如:触发建立第一PDN连接切换到5G网络时对应的应用具备低时延、高带宽等需求,则终端设备确定该第一PDN连接为后续可能会切换到5G网络中的PDN连接。In a possible implementation manner, the terminal device determines, according to the policy information of the application corresponding to the PDN connection, that the PDN connection in the established PDN connection may be switched to the PDN connection in the 5G network, where the policy information is used to indicate the application to the network. The requirement may be, for example, a Service-Level Agreement (SLA) of a service or a network handover policy (for example, the service preferentially uses a 5G network, or uses a 4G network without coverage of the 5G network, etc.). For example, when the terminal device determines that the application triggering the establishment of the first PDN connection has a 5G communication requirement, the terminal device determines that the first PDN connection may be subsequently switched to the PDN connection in the 5G network. For example, when the corresponding application is triggered to establish a first PDN connection and the low-latency, high-bandwidth, etc., the terminal device determines that the first PDN connection may be subsequently switched to the PDN connection in the 5G network.
又一种可能的实现方式中,当终端设备确定自身支持5G网络通信能力时,终端设备确定当前建立的所有PDN连接后续都有可能切换到5G网络中,进而确定PDN连接切换到5G网络时对应的网络切片信息。In another possible implementation manner, when the terminal device determines that it supports the 5G network communication capability, the terminal device determines that all the currently established PDN connections may be subsequently switched to the 5G network, thereby determining that the PDN connection is switched to the 5G network. Network slice information.
其中,终端设备可以根据PDN连接的信息与网络切片信息的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息。PDN连接的信息与网络切片信息的对应关系可以存储在网络切片选择策略(network slice selection policy,NSSP)中,该NSSP主要用于选择出PDN连接切换到5G网络中的网络切片,该NSSP配置可以在终端设备中或者由终端设备从其他实体设备中获取,不予限制。The terminal device may determine the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network according to the correspondence between the information of the PDN connection and the network slice information. The mapping between the information of the PDN connection and the network slice information may be stored in a network slice selection policy (NSSP), where the NSSP is mainly used to select a network slice in which the PDN connection is switched to the 5G network, and the NSSP configuration may be It is obtained in the terminal device or from other physical devices by the terminal device, and is not limited.
示例性的,PDN连接的信息包括PDN连接对应的应用,终端设备根据PDN连接切换到5G网络时对应的应用、以及应用和网络切片信息的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息。例如,应用和网络切片信息的对应关系如表二所示,当PDN连接切换到5G网络时对应的应用为应用1时,终端设备通过表二可以确定该PDN连接切换到5G网络时对应的网络切片的S-NSSAI为S-NSSAI1、S-NSSAI2。For example, the PDN connection information includes an application corresponding to the PDN connection, and the terminal device determines the corresponding network when the PDN connection is switched to the 5G network according to the corresponding application when the PDN connection is switched to the 5G network, and the corresponding relationship between the application and the network slice information. Slice information. For example, the corresponding relationship between the application and the network slice information is as shown in Table 2. When the corresponding application is the application 1 when the PDN connection is switched to the 5G network, the terminal device can determine, by using the second table, the corresponding network when the PDN connection is switched to the 5G network. The sliced S-NSSAI is S-NSSAI1, S-NSSAI2.
表二Table II
应用application 网络切片信息Network slice information
应用1Application 1 S-NSSAI1、S-NSSAI2S-NSSAI1, S-NSSAI2
应用2Application 2 S-NSSAI2S-NSSAI2
应用3Application 3 S-NSSAI3、S-NSSAI4S-NSSAI3, S-NSSAI4
……...... ……......
示例性的,PDN连接的信息包括PDN连接对应的APN,此时,终端设备根据PDN连接切换到5G网络时对应的APN、以及APN与网络切片信息的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息。例如,APN和网络切片信息的对应关系如表三所示,当PDN连接切换到5G网络时对应的APN为APN3时,终端设备根据表三可以确定该PDN连接切换到5G网络时对应的网络切片的S-NSSAI为S-NSSAI3、S-NSSAI4。For example, the information about the PDN connection includes the APN corresponding to the PDN connection. In this case, the terminal device determines the PDN connection to the 5G network according to the corresponding APN when the PDN connection is switched to the 5G network and the corresponding relationship between the APN and the network slice information. Corresponding network slice information. For example, the corresponding relationship between the APN and the network slice information is as shown in Table 3. When the corresponding APN is APN3 when the PDN connection is switched to the 5G network, the terminal device can determine, according to Table 3, the corresponding network slice when the PDN connection is switched to the 5G network. The S-NSSAI is S-NSSAI3 and S-NSSAI4.
表三Table 3
APNAPN 网络切片信息Network slice information
APN1APN1 S-NSSAI1、S-NSSAI2S-NSSAI1, S-NSSAI2
APN2APN2 S-NSSAI2S-NSSAI2
APN3APN3 S-NSSAI3、S-NSSAI4S-NSSAI3, S-NSSAI4
……...... ……......
由于APN和数据网络名称(data network name,DNN)是等价的,所以,PDN连接的信息还可以包括PDN连接对应的DNN,此时,终端设备根据PDN连接切换到5G网络时对应的DNN、以及DNN与网络切片信息的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息。其中,终端设备可以将PDN连接对应的APN确定为PDN连接对应的DNN,或者通过预先配置的APN与DNN间的映射关系方式获取PDN连接对应的DNN。Since the APN and the data network name (DNN) are equivalent, the PDN connection information may further include a DNN corresponding to the PDN connection. In this case, the terminal device switches to the corresponding DNN according to the PDN connection to the 5G network. And the corresponding relationship between the DNN and the network slice information, and determining network slice information corresponding to when the PDN connection is switched to the 5G network. The terminal device may determine the APN corresponding to the PDN connection as the DNN corresponding to the PDN connection, or obtain the DNN corresponding to the PDN connection by using a mapping relationship between the pre-configured APN and the DNN.
需要说明的是,当终端设备处于home router漫游时,步骤502中终端设备确定出的网络切片信息为PDN连接切换到5G网络时对应的网络切片信息可以为PDN连接切换到5G网络时拜访地的网络切片信息,此时,终端设备可以根据PDN连接的信息与网络切片信息的对应关系确定出PDN连接切换到5G网络时归属地的网络切片信息,再根据确定出的PDN连接切换到5G网络时归属地的网络切片信息、以及归属地网络切片信息 与拜访地网络切片信息间的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息;或者,当终端设备处于home router漫游时,步骤502中终端设备确定出的网络切片信息为PDN连接切换到5G网络时对应的网络切片信息可以为PDN连接切换到5G网络时归属地的网络切片信息,在后续步骤中,当AMF实体接收到PDN连接切换到5G网络时归属地的网络切片信息,由AMF实体根据归属地网络切片信息与拜访地网络切片信息间的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息,不予限制。It should be noted that when the terminal device is roaming in the home router, the network slice information determined by the terminal device in step 502 is that the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network may be visited when the PDN connection is switched to the 5G network. Network slice information. At this time, the terminal device can determine the network slice information of the home location when the PDN connection is switched to the 5G network according to the correspondence between the PDN connection information and the network slice information, and then switch to the 5G network according to the determined PDN connection. The network slice information of the home location, and the mapping relationship between the home network slice information and the visited network slice information, determine the network slice information of the visited place when the PDN connection is switched to the 5G network; or, when the terminal device is roaming at the home router, The network slice information determined by the terminal device in step 502 is that the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network may be the network slice information of the home location when the PDN connection is switched to the 5G network. In the subsequent step, when the AMF entity receives the Network slice information of the home location when the PDN connection is switched to the 5G network, by the AMF entity According to the mapping relationship between the home network and the visited network information sections slice information, when determining the visited network PDN connection handover to 5G network information sections, not limiting.
例如,归属地网络切片信息与拜访地网络切片信息间的映射关系如表四所示,当终端设备根据表三确定PDN连接切换到5G网络时归属地的网络切片信息为S-NSSAI3、S-NSSAI4之后,终端设备可以根据表四所示的归属地网络切片信息与拜访地网络切片信息间的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息为S-NSSAI1、S-NSSAI2、S-NSSAI8。For example, the mapping relationship between the home network slice information and the visited network slice information is as shown in Table 4. When the terminal device determines, according to Table 3, that the PDN connection is switched to the 5G network, the network slice information of the home location is S-NSSAI3, S- After the NSSAI4, the terminal device can determine, according to the mapping relationship between the home network slice information and the visited network slice information, that the network slice information of the visited place is S-NSSAI1 and S-NSSAI2 when the PDN connection is switched to the 5G network. , S-NSSAI8.
表四Table 4
归属地网络切片信息Home network slice information 拜访地网络切片信息Visiting network slice information
S-NSSAI3S-NSSAI3 S-NSSAI1、S-NSSAI2S-NSSAI1, S-NSSAI2
S-NSSAI4S-NSSAI4 S-NSSAI8S-NSSAI8
S-NSSAI5S-NSSAI5 S-NSSAI7S-NSSAI7
……...... ……......
需要说明的是,本申请实施例仅是示例性的给出了上述几种终端设备器确定PDN连接切换到5G网络时对应的网络切片信息的具体实现,当然,终端设备还可以通过其他方式获取PDN连接切换到5G网络时对应的网络切片信息,不予限制。It should be noted that the embodiment of the present application is only an exemplary implementation of the foregoing network device to determine the corresponding network slice information when the PDN connection is switched to the 5G network. The network slice information corresponding to the PDN connection when switching to the 5G network is not limited.
其中,在步骤502中终端设备可以将自身的公共陆地移动网络(Public Land Mobile Network,PLMN)标识和终端设备所处区域中接入网设备(图1中的E-UTRAN设备或者NG-RAN设备)发送的PLMN标识进行比较,当二者相同时,终端设备确定自身处于非漫游,当二者不同时,终端设备确定自身处于漫游。Wherein, in step 502, the terminal device may identify its own Public Land Mobile Network (PLMN) and the access network device in the area where the terminal device is located (the E-UTRAN device or the NG-RAN device in FIG. 1) The transmitted PLMN identifiers are compared. When the two are the same, the terminal device determines that it is non-roaming. When the two are different, the terminal device determines that it is roaming.
步骤503:终端设备向MME发送PDN连接切换到5G网络时对应的网络切片信息,MME接收终端设备发送的PDN连接切换到5G网络时对应的网络切片信息。Step 503: The terminal device sends the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the MME receives the network slice information corresponding to the PDN connection sent by the terminal device when the PDN connection is switched to the 5G network.
其中,MME可以为图1或者图2或者图3中的MME。The MME may be the MME in FIG. 1 or FIG. 2 or FIG. 3.
可选的,终端设备将PDN连接切换到5G网络时对应的网络切片信息携带在第一消息中直接向MME发送;或者终端设备向控制面功能实体(SMF实体+PGW-C实体)发送PDN连接切换到5G网络时对应的网络切片信息,控制面功能实体接收到PDN连接切换到5G网络时对应的网络切片信息后,将PDN连接切换到5G网络时对应的网络切片信息携带在第一消息中向MME发送。其中,第一消息还可以携带指示信息,该指示信息可以用于指示MME仅存储PDN连接切换到5G网络时对应的网络切片信息,而不去解析第一消息中包括的PDN连接切换到5G网络时对应的网络切片信息,如:第一消息可以为信元,该信元可以为透明容器(transparent container),可以包括头部和负荷两部 分,头部携带指示信息,负荷携带PDN连接切换到5G网络时对应的网络切片信息。Optionally, when the terminal device switches the PDN connection to the 5G network, the corresponding network slice information is directly sent to the MME in the first message, or the terminal device sends the PDN connection to the control plane function entity (SMF entity + PGW-C entity). The network slice information corresponding to the network when the PDN connection is switched to the 5G network, and the corresponding network slice information is carried in the first message when the PDN connection is switched to the 5G network. Send to the MME. The first message may further carry indication information, where the indication information may be used to indicate that the MME only stores the network slice information corresponding to when the PDN connection is switched to the 5G network, and does not parse the PDN connection included in the first message and switch to the 5G network. Corresponding network slice information, for example, the first message may be a cell, the cell may be a transparent container, and may include a header and a load. The header carries the indication information, and the load carries the PDN connection and switches to Corresponding network slice information for 5G network.
此外,终端设备向MME发送PDN连接切换到5G网络时对应的网络切片信息的同时,还可以向MME发送PDN连接切换到5G网络时对应的DNN、每个PDN连接切换到5G网络时对应的网络切片信息的优先级信息中的至少一个。其中,PDN连接切换到5G网络时对应的网络切片信息的优先级信息用于指示网络切片的A-NSSAI的优先级或者PDN连接的优先级,不予限制。In addition, the terminal device sends the corresponding network slice information when the PDN connection is switched to the 5G network to the MME, and may also send the corresponding DNN when the PDN connection is switched to the 5G network, and the corresponding network when each PDN connection is switched to the 5G network. At least one of the priority information of the slice information. The priority information of the corresponding network slice information when the PDN connection is switched to the 5G network is used to indicate the priority of the A-NSSAI of the network slice or the priority of the PDN connection, which is not limited.
一种可能的实现方式中,终端设备根据PDN连接的重要性、PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片的负荷情况、终端设备的需求信息中的至少一种,确定每个PDN连接切换到5G网络时对应的网络切片信息的优先级信息。其中,终端设备的需求信息可以指示终端设备将已建立的PDN连接中的哪些PDN连接切换到5G网络,如:终端设备希望PDN连接1优先切换到5G中,则终端设备会将PDN连接1切换到5G网络时对应的网络切片信息的优先级设置地较高,后续AMF实体收到PDN连接1和PDN连接2的网络切片信息,并选择合适的网络切片和目标AMF实体时,会优先考虑PDN1切换到5G网络时对应的网络切片信息,即选择的网络切片对应的S-NSSAI中包括PDN连接1的S-NSSAI,然后才去考虑PDN连接2的S-NSSAI。In a possible implementation manner, the terminal device determines, according to the importance of the PDN connection, the load condition of the network slice indicated by the corresponding network slice information when the PDN connection is switched to the 5G network, and the requirement information of the terminal device. The priority information of the corresponding network slice information when each PDN connection is switched to the 5G network. The demand information of the terminal device may indicate, by the terminal device, which PDN connections in the established PDN connection are switched to the 5G network, for example, if the terminal device wants the PDN connection 1 to preferentially switch to the 5G, the terminal device switches the PDN connection 1 When the 5G network reaches the 5G network, the priority of the corresponding network slice information is set higher. When the subsequent AMF entity receives the network slice information of the PDN connection 1 and the PDN connection 2, and selects the appropriate network slice and the target AMF entity, the PDN1 is prioritized. Corresponding network slice information when switching to the 5G network, that is, the S-NSSAI corresponding to the selected network slice includes the S-NSSAI of the PDN connection 1, and then the S-NSSAI of the PDN connection 2 is considered.
在MME接收到PDN连接切换到5G网络时对应的网络切片信息后,MME可以将PDN连接切换到5G网络时对应的网络切片信息存储在终端设备的上下文中。After the MME receives the corresponding network slice information when the PDN connection is switched to the 5G network, the MME may store the corresponding network slice information in the context of the terminal device when the PDN connection is switched to the 5G network.
步骤504:MME接收源接入网设备发送的切换(handover,HO)请求,向AMF实体发送终端设备的上下文。Step 504: The MME receives a handover (HO) request sent by the source access network device, and sends a context of the terminal device to the AMF entity.
其中,源接入网设备可以为图1或者图2或者图3中的E-UTRAN设备。终端设备的上下文包括PDN连接的信息,以及PDN连接切换到5G网络时对应的网络切片信息,PDN连接的信息如步骤501所示,包括PDN连接对应的控制面功能实体的地址信息、PDN连接对应的APN中的至少一种。The source access network device may be the E-UTRAN device in FIG. 1 or FIG. 2 or FIG. 3. The context of the terminal device includes the information of the PDN connection, and the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. The information of the PDN connection, as shown in step 501, includes the address information of the control plane function entity corresponding to the PDN connection, and the PDN connection. At least one of the APNs.
可选的,源接入网设备根据终端设备上报的小区测量信息确定终端设备从4G网络移动到5G网络后,源接入网设备通过S1-MME接口向MME发送切换请求,该切换请求可以携带终端设备的标识,当MME接收到HO请求后根据终端设备的标识向AMF实体发送终端设备的上下文。Optionally, after the source access network device determines, according to the cell measurement information reported by the terminal device, the terminal device moves from the 4G network to the 5G network, the source access network device sends a handover request to the MME through the S1-MME interface, where the handover request can be carried. The identifier of the terminal device, when the MME receives the HO request, sends the context of the terminal device to the AMF entity according to the identifier of the terminal device.
上述AMF实体可以为MME对应的默认AMF实体,或者,切换请求携带终端设备当前所述区域的信息,MME根据终端设备当前所处区域、以及目标区域与AMF实体集合的对应关系确定AMF实体集合,再根据相应的策略,从选定的AMF实体集合中选择一个AMF实体作为步骤504中的AMF实体;或者,MME根据MME与AMF实体集合的对应关系确定出AMF实体集合,并根据相应的策略,从选定的AMF实体集合中选择一个AMF实体作为步骤504中的AMF实体,不予限制。其中,所述策略具体可以是基于AMF实体集合中的各个AMF实体的优先级、容量或者负载等信息从AMF实体集合中确定一个AMF实体的方法。The AMF entity may be a default AMF entity corresponding to the MME, or the handover request carries information about the current area of the terminal device, and the MME determines the AMF entity set according to the current location of the terminal device and the correspondence between the target area and the AMF entity set. And selecting an AMF entity from the selected AMF entity set as the AMF entity in step 504 according to the corresponding policy; or, the MME determines the AMF entity set according to the correspondence between the MME and the AMF entity set, and according to the corresponding policy, The selection of an AMF entity from the selected set of AMF entities as the AMF entity in step 504 is not limited. The policy may specifically be a method for determining an AMF entity from the AMF entity set based on information such as priority, capacity, or load of each AMF entity in the AMF entity set.
步骤505:AMF实体从MME接收终端设备的上下文,获取PDN连接切换到5G网络时对应的网络切片信息,以及从用户数据管理实体中获取终端设备的签约数据。Step 505: The AMF entity receives the context of the terminal device from the MME, acquires network slice information corresponding to when the PDN connection is switched to the 5G network, and acquires subscription data of the terminal device from the user data management entity.
其中,用户数据管理实体可以为图1或者图2或者图3中的HSS+UDM实体。终端设备的签约数据可以包括终端设备签约的网络切片信息(Subscribed S-NSSAI),还可以包括终端设备签约的DNN等,不予限制。The user data management entity may be the HSS+UDM entity in FIG. 1 or FIG. 2 or FIG. 3. The subscription data of the terminal device may include the network slice information (Subscribed S-NSSAI) subscribed by the terminal device, and may also include the DNN signed by the terminal device, etc., without limitation.
可选的,AMF实体通过Nudm消息从用户数据管理实体中获取终端设备的签约数据,Nudm消息携带终端设备的签约数据,Nudm为UDM实体的服务化接口,该Nudm消息在现有协议中为Nudm签约数据管理(subscriber data management),其功能为当有需要时允许网络功能(network function,NF)消费者取回终端设备的签约数据,以及,提供更新的终端设备的签约数据到签约的NF消费者。Optionally, the AMF entity obtains the subscription data of the terminal device from the user data management entity by using the Nudm message, the Nudm message carries the subscription data of the terminal device, and the Nudm is the service interface of the UDM entity, and the Nudm message is Nudm in the existing protocol. Subscriber data management, which functions to allow network function (NF) consumers to retrieve subscription data of terminal devices when needed, and to provide updated contract information of terminal devices to contracted NF consumption. By.
需要说明的是,当终端设备处于漫游场景,且步骤502中终端设备确定的PDN连接切换到5G网络时的网络切片信息为PDN连接切换到5G网络时归属地的网络切片信息时,步骤505中,AMF实体获取PDN连接切换到5G网络时对应的网络切片信息后,根据归属地网络切片信息和拜访地网络切片信息的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息,将PDN连接切换到5G网络时拜访地的网络切片信息作为步骤506中的PDN连接切换到5G网络时对应的网络切片信息。It should be noted that, when the terminal device is in the roaming scenario, and the network slice information when the PDN connection determined by the terminal device is switched to the 5G network in step 502 is the network slice information of the home location when the PDN connection is switched to the 5G network, in step 505. After obtaining the corresponding network slice information when the PDN connection is switched to the 5G network, the AMF entity determines the network slice information of the visited place when the PDN connection is switched to the 5G network according to the mapping relationship between the home network slice information and the visited network slice information. The network slice information of the visited place when the PDN connection is switched to the 5G network is used as the network slice information corresponding to the PDN connection in step 506 when the PDN connection is switched to the 5G network.
步骤506:AMF实体根据PDN连接切换到5G网络时对应的网络切片信息、签约的网络切片信息,获取PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体。Step 506: The AMF entity obtains the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection according to the network slice information and the contracted network slice information when the PDN connection is switched to the 5G network, and determines that the support can be switched. The target AMF entity of the corresponding network slice when the PDN connection is switched to the 5G network.
一种可能的实现方式中,AMF实体根据多个PDN连接切换到5G网络时对应的网络切片信息中每个PDN连接对应的S-NSSAI的优先级,每个PDN连接对应的S-NSSAI的负荷信息、以及AMF实体中配置的AMF实体集合中每个AMF实体所支持的NSSAI中的至少一个,确定PDN连接对应的候选网络切片信息,取候选网络切片信息和签约的网络切片信息的交集中的NSSAI作为PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息;In a possible implementation manner, the AMF entity according to the priority of the S-NSSAI corresponding to each PDN connection in the corresponding network slice information when the multiple PDN connections are switched to the 5G network, and the load of the corresponding S-NSSAI of each PDN connection Determining at least one of the NSSAIs supported by each AMF entity in the AMF entity set configured in the AMF entity, determining the candidate network slice information corresponding to the PDN connection, and taking the intersection of the candidate network slice information and the subscribed network slice information The NSSAI is used as the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network.
在确定出PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息后,AMF实体根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息的优先级、以及自身的配置能力确定自身是否支持PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片,若支持,则确定自身为目标AMF实体,若不支持,则AMF实体根据AMF实体的配置能力、PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息的优先级确定目标AMF实体集合,从目标AMF实体集合中选择支持优先级级别高的网络切片信息的AMF实体或者支持网络切片最多的AMF实体作为目标AMF实体;或者,AMF实体直接根据AMF实体的配置能力、PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息的优先级确定目标AMF实体集合,从目标AMF实体集合中选择支持优先级级别高的网络切片信息的AMF实体或者支持网络切片最多的AMF实体作为目标AMF实体。After determining the corresponding network slice information when the PDN connection that can be switched in the PDN connection is switched to the 5G network, the priority of the network slice information corresponding to the AMF entity when switching to the 5G network according to the PDN connection that can be switched in the PDN connection, and the self The configuration capability determines whether it supports the corresponding network slice when the PDN connection that can be switched in the PDN connection is switched to the 5G network. If it supports, it determines that it is the target AMF entity. If not, the AMF entity according to the configuration capability of the AMF entity, The priority AMF entity set of the corresponding network slice information when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the AMF entity supporting the network slice information with the high priority level or the support network slice is selected from the target AMF entity set. The AMF entity is the target AMF entity; or the AMF entity directly determines the target AMF entity set according to the configuration capability of the AMF entity and the priority of the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection. Select AMF in the AMF entity set to support network slice information with high priority level The entity or the AMF entity supporting the most network slice is the target AMF entity.
其中,AMF实体可以根据步骤503中终端设备发送的PDN连接切换到5G网络时对应的网络切片信息的优先级信息直接确定PDN连接对应的S-NSSAI的优先级,或者根据终端设备发送的PDN连接切换到5G网络时对应的网络切片信息的优先级信息所指示 的PDN连接的优先级确定PDN连接对应的S-NSSAI的优先级,或者当终端设备未发送PDN连接切换到5G网络时对应的网络切片信息的优先级信息时,由AMF实体根据PDN连接的重要性、PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片的负荷情况中的至少一种配置PDN连接对应的S-NSSAI,不予限制。The AMF entity may directly determine the priority of the S-NSSAI corresponding to the PDN connection according to the priority information of the corresponding network slice information when the PDN connection sent by the terminal device in the step 503 is switched to the 5G network, or according to the PDN connection sent by the terminal device. The priority of the PDN connection indicated by the priority information of the corresponding network slice information when switching to the 5G network determines the priority of the S-NSSAI corresponding to the PDN connection, or the corresponding network when the terminal device does not send the PDN connection to switch to the 5G network. When the priority information of the information is sliced, the AMF entity configures the S- corresponding to the PDN connection according to at least one of the importance of the PDN connection and the load condition of the network slice indicated by the corresponding network slice information when the PDN connection is switched to the 5G network. NSSAI, no restrictions.
又一种可能的实现方式中,AMF实体向网络切片选择功能(network slice selection function,NSSF)实体发送携带有PDN连接切换到5G网络时对应的网络切片信息、以及签约的网络切片信息的切片选择请求,NSSF根据PDN连接切换到5G网络时对应的网络切片信息、以及终端设备签约的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体,NSSF向AMF实体返回确定结果,AMF实体根据确定结果获取PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体。In another possible implementation manner, the AMF entity sends a network slice selection function (NSSF) entity to the network slice information corresponding to the network slice information and the contracted network slice information when the PDN connection is switched to the 5G network. The request, the NSSF determines the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection, and determines that the support can be switched according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network and the network slice information subscribed by the terminal device. When the PDN connection is switched to the target AMF entity of the corresponding network slice when the PDN connection is switched to the 5G network, the NSSF returns a determination result to the AMF entity, and the AMF entity obtains the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection according to the determination result. And determining a target AMF entity that supports the corresponding network slice when the switchable PDN connection is switched to the 5G network.
其中,NSSF实体据PDN连接切换到5G网络时对应的网络切片信息、签约的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体的具体方式可参考上述AMF实体根据PDN连接切换到5G网络时对应的网络切片信息、签约的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体的方式,在此不再赘述。The NSSF entity determines the network slice information corresponding to the switchable PDN connection in the PDN connection when the PDN connection is switched to the 5G network according to the network slice information and the contracted network slice information when the PDN connection is switched to the 5G network, and determines that the PDN that can be switched is supported. For the specific manner of connecting the target AMF entity of the corresponding network slice when switching to the 5G network, refer to the network slice information corresponding to the AMF entity that is switched to the 5G network according to the PDN connection, and the network slice information of the subscription to determine the PDN connection that can be switched in the PDN connection. The method of switching to the corresponding network slice information of the 5G network, and determining the manner of supporting the target AMF entity of the corresponding network slice when the PDN connection can be switched to the 5G network, and details are not described herein again.
步骤507:当目标AMF实体为AMF实体时,AMF实体根据PDN连接对应的控制面功能实体的地址信息,向归属地控制面功能实体发送会话切换请求。Step 507: When the target AMF entity is an AMF entity, the AMF entity sends a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection.
其中,归属地控制面功能实体可以为图1或者图2或者图3中的SMF实体+PGW-C实体,控制面功能实体的地址信息用于标识归属地控制面功能实体在网络中的位置;会话切换请求用于请求将PDN连接切换到PDU会话,会话切换请求可以携带PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息。The home control plane function entity may be the SMF entity + PGW-C entity in FIG. 1 or FIG. 2 or FIG. 3, and the address information of the control plane function entity is used to identify the location of the home control plane function entity in the network; The session switching request is used to request to switch the PDN connection to the PDU session, and the session switching request may carry the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network.
一种可能的实现方式中,当AMF实体确定终端设备处于非漫游或者LBO漫游时,AMF实体根据步骤506中终端设备的上下文中PDN连接对应的控制面功能实体的地址信息,向归属地控制面功能实体发送会话切换请求。In a possible implementation manner, when the AMF entity determines that the terminal device is in non-roaming or LBO roaming, the AMF entity sends the address information of the control plane function entity corresponding to the PDN connection in the context of the terminal device in step 506 to the home control plane. The functional entity sends a session switch request.
又一种可能的实现方式中,当AMF实体确定终端设备处于图3所示home router漫游,即终端设备为图3中的终端设备时,AMF实体确定一个拜访地控制面功能实体(如图3中的vSMF实体),AMF实体向拜访地控制面功能实体发送携带有PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息的会话建立请求,拜访地控制面功能实体根据PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求。In another possible implementation manner, when the AMF entity determines that the terminal device is roaming in the home router shown in FIG. 3, that is, the terminal device is the terminal device in FIG. 3, the AMF entity determines a functional entity of the visited control plane (FIG. 3). In the vSMF entity, the AMF entity sends a session to the visited control plane function entity that carries the network slice information corresponding to the PDN connection switchable to the 5G network and the address information of the control plane function entity corresponding to the PDN connection. A request is established, and the visited control plane function entity sends a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection.
其中,在该可能的实现方式中,AMF实体可以根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片、以及PDN连接切换到5G网 络时对应的DNN,从该网络切片包括的控制面功能实体中选择出一个能接入到DNN所标识的DN的控制面功能实体作为拜访地控制面功能实体。例如,PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息为S-NSSAI1,且该S-NSSAI1对应一个网络切片1,且网络切片1包括多个控制面功能实体,终端设备可以在该网络切片1中选择出一个能接入到DNN所标识的DN的控制面功能实体作为拜访地控制面功能实体。可理解的是,当能够接入DNN所标识的DN的控制面功能实体为多个时,AMF实体可以根据控制面功能实体的负荷情况,将负荷低的控制面功能实体作为拜访地控制面功能实体,或者根据控制面功能实体的其他情况选择出拜访地控制面功能实体,不予限制。In this possible implementation, the AMF entity may perform the network slice indicated by the corresponding network slice information when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the DNN corresponding to the PDN connection when the PDN connection is switched to the 5G network. A control plane function entity capable of accessing the DN identified by the DNN is selected from the control plane function entities included in the network slice as the visited control plane function entity. For example, when the PDN connection that can be switched in the PDN connection is switched to the 5G network, the corresponding network slice information is S-NSSAI1, and the S-NSSAI1 corresponds to one network slice 1, and the network slice 1 includes multiple control plane functional entities, and the terminal device A control plane function entity that can access the DN identified by the DNN can be selected in the network slice 1 as the visited control plane function entity. It can be understood that when there are multiple control plane functional entities capable of accessing the DN identified by the DNN, the AMF entity can use the low-load control plane functional entity as the visited control plane function according to the load condition of the control plane functional entity. The entity, or the functional entity of the visited control plane, is selected according to other conditions of the functional entity of the control plane, and is not limited.
其中,上述PDN连接切换到5G网络时对应的DNN可以在步骤503中由终端设备发送给MME,MME再发送给AMF实体,或者当终端设备未向MME发送PDN连接切换到5G网络时对应的DNN时,AMF实体从MME接收到的终端设备的上下文中包括PDN连接对应的APN,AMF实体可以根据PDN连接的信息包括的APN、以及APN与DNN的映射关系,确定PDN连接切换到5G网络时对应的DNN,不予限制。The DNN corresponding to the PDN connection when the PDN connection is switched to the 5G network may be sent by the terminal device to the MME in step 503, and then sent by the MME to the AMF entity, or when the terminal device does not send the PDN connection to the MME to switch to the 5G network. The AMF entity includes the APN corresponding to the PDN connection in the context of the terminal device received by the MME, and the AMF entity may determine, according to the mapping relationship between the APN included in the information of the PDN connection and the APN and the DNN, the PDN connection is switched to the 5G network. DNN, no restrictions.
再一种可能的实现方式中,当AMF实体确定终端设备处于图3所示home router漫游时,且AMF实体无法选择出拜访地控制面功能实体时,AMF实体向NRF发送选择请求,该选择请求携带PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,NRF根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片、以及网络切片对应的DNN,从该网络切片包括的控制面功能实体中选择出一个能接入到DNN所标识的DN的控制面功能实体作为拜访地控制面功能实体,并将拜访地控制面功能实体的地址信息反馈给AMF实体,AMF实体根据NRF的反馈结果,向拜访地控制面功能实体发送携带有PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息的会话建立请求,拜访地归属地控制面功能实体根据PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求。其中,该实现方式中的DNN可以在步骤503中由终端设备发送给MME,并由MME携带在终端设备的上下文中发送给AMF实体。其中,拜访地的控制面功能实体的地址信息可以为控制面功能实体的IP地址或者FQDN等,本申请实施例对此不作具体限定。In another possible implementation manner, when the AMF entity determines that the terminal device is roaming in the home router shown in FIG. 3, and the AMF entity cannot select the visited control plane function entity, the AMF entity sends a selection request to the NRF, and the selection request is sent. The network slice information corresponding to the network PIM information that is switched when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the network slice corresponding to the network slice information corresponding to the PDN connection that can be switched in the PDN connection. The DNN selects, from the control plane function entity included in the network slice, a control plane function entity that can access the DN identified by the DNN as the visited control plane function entity, and accesses the address information of the control plane function entity The AMF entity is fed back to the AMF entity, and the AMF entity sends the corresponding network slice information and the control plane function entity corresponding to the PDN connection when the PDN connection that can be switched in the PDN connection is switched to the 5G network according to the feedback result of the NRF. The session establishment request of the address information, the visited local control plane function entity according to the PDN connection pair Address information of the control plane function entity sends a session switching request to the home control plane functional entity. The DNN in the implementation manner may be sent by the terminal device to the MME in step 503, and sent by the MME to the AMF entity in the context of the terminal device. The address information of the control plane function entity of the visited area may be an IP address or an FQDN of the control plane function entity, which is not specifically limited in this embodiment.
在上述可能的实现方式中,AMF实体可以根据终端设备的PLMN标识和AMF实体的PLMN确定终端设备是处于非漫游或者LBO漫游或者home router漫游场景,具体的,该实现过程可参照现有技术,在此不再赘述。In the foregoing possible implementation manner, the AMF entity may determine, according to the PLMN identity of the terminal device and the PLMN of the AMF entity, that the terminal device is in a non-roaming or LBO roaming or home router roaming scenario. Specifically, the implementation process may refer to the prior art. I will not repeat them here.
可选的,当目标AMF实体为其他AMF实体时,AMF实体向目标AMF实体发送重定向指示;目标AMF实体从AMF实体接收重定向指示,目标AMF实体根据重定向指示向归属地控制面功能实体发送会话切换请求。其中,所述重定向指示可以携带有AMF实体确定出的PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、以及AMF实体从MME接收的终端设备的上下文中PDN连接对应的控制面功能实体的地址信息。Optionally, when the target AMF entity is another AMF entity, the AMF entity sends a redirect indication to the target AMF entity; the target AMF entity receives the redirect indication from the AMF entity, and the target AMF entity sends the redirecting indication to the home control plane functional entity. Send a session switch request. The redirection indication may carry the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection determined by the AMF entity, and the PDN connection corresponding to the context of the terminal device received by the AMF entity from the MME. The address information of the control surface function entity.
需要说明的是,在本申请各实施例中,会话切换请求是一种用于请求将PDN连接切换到PDU会话的信息,该信息除命名为会话切换请求外,还可以有其他命名,例如会话更新请求等不同表述,也可以包含于本申请的思想范围内。类似的,会话建立请求是一种用于指示拜 访地控制面功能实体向归属地控制面功能实体发送会话切换请求的信息,该信息除命名为会话建立请求外,还可以有其他命名,例如会话更新请求等不同表述,也可以包含于本申请的思想范围内。It should be noted that, in various embodiments of the present application, the session switching request is information for requesting to switch the PDN connection to the PDU session, and the information may be named other than the session switching request, such as a session. Different expressions such as update requests may also be included in the scope of the present application. Similarly, the session establishment request is information for instructing the visited control plane function entity to send a session handover request to the home control plane function entity. The information may be named other than the session establishment request, such as a session. Different expressions such as update requests may also be included in the scope of the present application.
步骤508:归属地控制面功能实体接收会话切换请求,根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息建立PDU会话。Step 508: The home control plane function entity receives the session switching request, and establishes a PDU session according to the network slice information corresponding to the switchable PDN connection in the PDN connection.
其中,归属地控制面功能实体根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息建立PDU会话可以指:归属地控制面功能实体根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息指示的网络切片,协同终端设备或其他网元在PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片中建立PDU会话。具体的,该建立PDU会话的过程可参考现有的流程,在此不予赘述。The establishing a PDU session by the home control plane function entity according to the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network may mean that the home control plane function entity switches to the PDN connection that can be switched according to the PDN connection. The network slice indicated by the corresponding network slice information in the 5G network, and the PDU session is established in the corresponding network slice when the PDN connection that the cooperative terminal device or other network element can switch in the PDN connection is switched to the 5G network. Specifically, the process of establishing a PDU session may refer to an existing process, and details are not described herein.
至此,实现将PDN连接切换到PDU会话中。需要说明的是,步骤501~步骤508仅对将一个PDN连接切换到PDU会话的过程进行了示例性说明,其他多个PDN连接切换到PDU会话的过程可参照此过程,在此不再赘述。So far, the PDN connection is switched to the PDU session. It should be noted that the process of switching a PDN connection to a PDU session is exemplified in the steps 501 to 508. The process of switching the other PDN connections to the PDU session may refer to this process, and details are not described herein again.
基于图5提供的会话切换方法,当终端设备需要将PDN连接切换到PDU会话时,终端设备确定PDN连接对应的网络切片信息,并将确定的PDN连接切换到5G网络时对应的网络切片信息通过MME向AMF实体发送,以便AMF实体根据PDN连接切换到5G网络时对应的网络切片信息以及终端设备签约的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并将PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息发送给归属地控制面功能实体,归属地控制面功能实体根据该网络切片信息,在该PDN连接对应的网络切片中建立PDU会话,实现将PDN连接切换到PDU会话。也就是说,本方案解决了现有技术中无法确定支持PDN连接切片的的网络切片的问题,实现了PDN连接与PDU会话间的切换。Based on the session switching method provided in FIG. 5, when the terminal device needs to switch the PDN connection to the PDU session, the terminal device determines the network slice information corresponding to the PDN connection, and passes the determined network slice information when the determined PDN connection is switched to the 5G network. The MME sends to the AMF entity, so that the AMF entity determines the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection, according to the network slice information corresponding to the PDN connection and the network slice information subscribed by the terminal device. And the corresponding network slice information is sent to the home control plane function entity when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the home control plane function entity is in the network slice corresponding to the PDN connection according to the network slice information. Establish a PDU session to switch the PDN connection to the PDU session. That is to say, the solution solves the problem that the network slice supporting the PDN connection slice cannot be determined in the prior art, and implements switching between the PDN connection and the PDU session.
需要说明的是,当步骤506中的AMF实体不是目标AMF实体时,意味着该AMF实体不能支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体,此时,该AMF实体可以向目标AMF实体发送携带有控制面功能实体的地址信息的重定向指示,指示目标AMF实体根据控制面功能实体向归属地控制面功能实体发送会话切换请求。如:AMF实体1实体在执行步骤506之后,确定目标AMF实体为AMF实体2,则AMF实体1向AMF实体2发送携带有控制面功能实体的地址信息的重定向指示,由AMF实体2向归属地控制面功能实体发送会话切换请求。It should be noted that when the AMF entity in step 506 is not the target AMF entity, it means that the AMF entity cannot support the target AMF entity of the corresponding network slice when the switchable PDN connection is switched to the 5G network. At this time, the AMF entity A redirection indication carrying the address information of the control plane functional entity may be sent to the target AMF entity, indicating that the target AMF entity sends a session handover request to the home control plane function entity according to the control plane function entity. For example, after performing step 506, the AMF entity 1 entity determines that the target AMF entity is the AMF entity 2, and the AMF entity 1 sends a redirect indication carrying the address information of the control plane functional entity to the AMF entity 2, and the AMF entity 2 belongs to the home. The ground control plane function entity sends a session switch request.
进一步,在将PDN连接切换到PDU会话后,为了便于后续终端设备新建PDU会话时能够选择出合适的支持该PDU会话的网络切片,图5所示方案还可以包括:终端设备向AMF实体发起注册请求,AMF实体根据签约的网络切片信息、PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息确定终端设备的允许的网络切片信息,AMF实体向终端设备返回注册接受消息。具体的,该实现过程可参照图5所示方案,在此不再赘述。Further, after the PDN connection is switched to the PDU session, the scheme shown in FIG. 5 may further include: the terminal device initiates registration with the AMF entity, in order to facilitate the subsequent network device to select a network slice supporting the PDU session. The requesting, the AMF entity determines the allowed network slice information of the terminal device according to the network slice information of the subscription, the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network, and the AMF entity returns a registration accept message to the terminal device. Specifically, the implementation process may refer to the solution shown in FIG. 5, and details are not described herein again.
下面以终端设备处于图3所示home router场景,归属地控制面功能实体为图3中的SMF实体+PGW-C实体(在此方案中以SMF实体代替),拜访地控制面功能实体为图3中的vSMF实体为例,对图5所示方案进行说明。图6所示为本申请实施例提供的又一 种会话切换方法的流程示意图,如图6所示,可以包括:In the following, the terminal device is in the home router scenario shown in FIG. 3, and the home control plane functional entity is the SMF entity + PGW-C entity in FIG. 3 (in this scheme, replaced by the SMF entity), and the visited control plane functional entity is a map. The vSMF entity in 3 is taken as an example, and the scheme shown in FIG. 5 is explained. FIG. 6 is a schematic flowchart of another method for session switching according to an embodiment of the present disclosure. As shown in FIG. 6, the method may include:
步骤601~步骤606;其中,步骤601~步骤606同步骤501~506相同,具体可参考图5所示的实施例,在此不再赘述。Steps 601 to 606; wherein the steps 601 to 606 are the same as the steps 501 to 506. For details, refer to the embodiment shown in FIG. 5, and details are not described herein again.
步骤607:当AMF实体为目标AMF实体,且AMF实体确定终端设备处于home router漫游时,AMF实体根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、以及PDN连接切换到5G网络时对应的DNN确定vSMF实体。Step 607: When the AMF entity is the target AMF entity, and the AMF entity determines that the terminal device is roaming at the home router, the AMF entity switches to the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection, and the PDN connection is switched to The corresponding DNN of the 5G network determines the vSMF entity.
其中,AMF实体确定拜访地控制面功能实体的方式可参照步骤507中所述,在此不再赘述。The manner in which the AMF entity determines the functional entity of the visited control plane can be referred to in step 507, and details are not described herein again.
步骤608:AMF实体向vSMF实体发送会话建立请求。Step 608: The AMF entity sends a session establishment request to the vSMF entity.
其中,会话建立请求可以携带PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、以及控制面功能实体的地址信息。The session establishment request may carry the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and the address information of the control plane function entity.
步骤609:vSMF实体从AMF实体接收会话建立请求,根据会话建立请求向SMF实体发送会话切换请求。Step 609: The vSMF entity receives a session establishment request from the AMF entity, and sends a session handover request to the SMF entity according to the session establishment request.
其中,会话切换请求可以携带PDN连接切换到5G网络时对应的网络切片信息The session switching request may carry the network slice information corresponding to when the PDN connection is switched to the 5G network.
步骤610:SMF实体接收会话切换请求,根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息建立PDU会话。Step 610: The SMF entity receives the session switching request, and establishes a PDU session according to the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network.
步骤610同步骤508相同,具体可参考图5所示的实施例,在此不再赘述。The step 610 is the same as the step 508. For details, refer to the embodiment shown in FIG. 5, and details are not described herein again.
至此,实现将PDN连接切换到PDU会话中。So far, the PDN connection is switched to the PDU session.
进一步可选的,在将PDN连接切换到PDU会话后,为了便于后续终端设备新建PDU会话时能够选择出合适的支持该PDU会话的网络切片,所述方法还包括:Further, the method further includes: after the PDN connection is switched to the PDU session, in order to facilitate the subsequent network device to select a network slice that supports the PDU session, the method further includes:
步骤611:终端设备向AMF实体发起注册请求。Step 611: The terminal device initiates a registration request to the AMF entity.
其中,所述注册请求用于请求将终端设备注册到5G网络,所述注册请求可以携带终端设备请求的网络切片信息。The registration request is used to request to register the terminal device to the 5G network, and the registration request may carry the network slice information requested by the terminal device.
所述AMF实体可以为上述步骤505中的AMF实体。The AMF entity may be the AMF entity in step 505 above.
步骤612:AMF实体根据签约的网络切片信息、PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、终端设备请求的网络切片信息确定终端设备的允许的网络切片信息。Step 612: The AMF entity determines the allowed network slice information of the terminal device according to the network slice information of the subscription, the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network, and the network slice information requested by the terminal device.
具体的,步骤612的实现方式可参照上述步骤506中AMF实体根据PDN连接切换到5G网络时对应的网络切片信息、签约的网络切片信息,确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息的方式,在此不再赘述。Specifically, the implementation of the step 612 may refer to the network slice information corresponding to the AMF entity that is switched to the 5G network according to the PDN connection, and the network slice information of the subscription, to determine that the PDN connection that can be switched in the PDN connection is switched to the 5G network. The manner of corresponding network slice information is not described here.
步骤613:AMF实体向终端设备返回注册接受消息。Step 613: The AMF entity returns a registration accept message to the terminal device.
其中,注册接受消息中可以携带允许的网络切片信息。The registration accept message may carry the allowed network slice information.
基于图6提供的会话切换方法,当终端设备需要将PDN连接切换到PDU会话时,终 端设备确定PDN连接对应的网络切片信息,并将确定的PDN连接切换到5G网络时对应的网络切片信息通过MME向AMF实体发送,以便AMF实体根据PDN连接切换到5G网络时对应的网络切片信息以及终端设备签约的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并将PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息发送给SMF实体,SMF实体根据该网络切片信息,在该PDN连接对应的网络切片中建立PDU会话,实现将PDN连接切换到PDU会话。也就是说,本方案解决了现有技术中无法确定支持PDN连接切片的的网络切片的问题,实现了PDN连接与PDU会话间的切换,同时,终端设备向AMF实体发起注册请求,AMF实体接收到请求后确定允许的网络切片信息,便于根据该允许的网络切片信息将后续PDN连接切换到PDU会话中。Based on the session switching method provided in FIG. 6 , when the terminal device needs to switch the PDN connection to the PDU session, the terminal device determines the network slice information corresponding to the PDN connection, and passes the determined network slice information when the determined PDN connection is switched to the 5G network. The MME sends to the AMF entity, so that the AMF entity determines the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection, according to the network slice information corresponding to the PDN connection and the network slice information subscribed by the terminal device. And the corresponding network slice information is sent to the SMF entity when the PDN connection that can be switched in the PDN connection is switched to the 5G network, and the SMF entity establishes a PDU session in the network slice corresponding to the PDN connection according to the network slice information, so as to implement the PDN connection. Switch to the PDU session. That is to say, the solution solves the problem that the network slice of the PDN connection slice cannot be determined in the prior art, and implements the handover between the PDN connection and the PDU session. At the same time, the terminal device initiates a registration request to the AMF entity, and the AMF entity receives the request. The allowed network slice information is determined after the request, so that the subsequent PDN connection is switched to the PDU session according to the allowed network slice information.
又一种可实现方案中,当终端设备注册到4G网络,且建立PDN连接后,终端设备由于某种原因处于空闲态且移动到5G基站覆盖范围内,此时,终端设备可以向5G基站发起注册请求,通过5G基站注册到5G核心网,从而发起PDN连接到PDU会话的切换流程,具体的,该流程可参照图7。图7所示为本申请实施例提供的一种会话切换方法的流程示意图,如图7所示,可以包括:In another implementation, when the terminal device registers with the 4G network and the PDN connection is established, the terminal device is in an idle state for some reason and moves to the coverage of the 5G base station. At this time, the terminal device may initiate to the 5G base station. The registration request is registered to the 5G core network through the 5G base station, thereby initiating a handover process of the PDN connection to the PDU session. Specifically, the process may refer to FIG. 7. FIG. 7 is a schematic flowchart of a session switching method according to an embodiment of the present disclosure. As shown in FIG. 7, the method may include:
步骤701:终端设备注册到4G网络,并建立PDN连接。Step 701: The terminal device registers with the 4G network and establishes a PDN connection.
其中,步骤701的具体实现可参照步骤501所述方式,在此不再赘述。For the specific implementation of the step 701, reference may be made to the manner described in step 501, and details are not described herein again.
步骤702:终端设备确定PDN连接切换到5G网络时对应的网络切片信息。Step 702: The terminal device determines network slice information corresponding to when the PDN connection is switched to the 5G network.
其中,步骤702的具体实现参照步骤502所述方式,在此不再赘述。The specific implementation of step 702 refers to the manner described in step 502, and details are not described herein again.
步骤703:终端设备向目标接入网设备发送注册请求。Step 703: The terminal device sends a registration request to the target access network device.
其中,目标接入网设备为5G网络中的接入网设备,如:可以为图1或者图2或者图3中的NG-RAN设备。The target access network device is an access network device in the 5G network, for example, the NG-RAN device in FIG. 1 or FIG. 2 or FIG.
上述注册请求可以用于请求注册到5G网络,该注册请求可以携带终端设备在5G网络中的全球唯一临时标识(5G GloballyUniqueTemporary UE Identity,5G-GUTI)信息,终端设备确定的PDN连接切换到5G网络时对应的网络切片信息和终端设备请求的网络切片信息(NSSAI)。其中,5G-GUTI信息包括5G-GUTI,5G-GUTI信息用于指示5G-GUTI是从演进分组核心(Evolved Packet Core,EPC)网络中的4G-GUTI映射过来的,4G-GUTI包括了MME的信息(如:MME组标识(MMEGI)和MME的码号(MME CODE)),该MME的信息用于标识为终端设备提供接入服务的MME。具体的,将4G-GUTI映射为5G-GUTI的方式可参考现有技术,在此不再赘述。The registration request may be used to request registration to the 5G network, and the registration request may carry the 5G Globally Unique Temporary UE Identity (5G-GUTI) information of the terminal device in the 5G network, and the PDN connection determined by the terminal device is switched to the 5G network. Corresponding network slice information and network slice information (NSSAI) requested by the terminal device. The 5G-GUTI information includes 5G-GUTI, and the 5G-GUTI information is used to indicate that the 5G-GUTI is mapped from the 4G-GUTI in the Evolved Packet Core (EPC) network, and the 4G-GUTI includes the MME. The information (such as the MME group identifier (MMEGI) and the MME code number (MME CODE)), the information of the MME is used to identify the MME that provides the access service for the terminal device. Specifically, the manner of mapping the 4G-GUTI to the 5G-GUTI can refer to the prior art, and details are not described herein again.
需要说明的是,终端设备确定的PDN连接切换到5G时对应的网络切片的S-NSSAI和终端请求的其他网络切片的S-NSSAI都放在请求的NSSAI(requested NSSAI)中发送给AMF实体,可选的,终端设备通知AMF实体“requested NSSAI”中哪些S-NSSAI对应已建立的PDN连接;或者,终端设备将请求的其他网络切片的S-NSSAI放在“requested NSSAI”中,将确定的PDN连接切换到5G网络时对应的网络切片的S-NSSAI放在另外一个单独的NSSAI中发送给AMF实体。本申请实施例对于终端设备如何将确定的PDN连接切换到5G网络时对应的网络切片的S-NSSAI通过注册请求发送给AMF实体的方法不做限定。It should be noted that the S-NSSAI of the corresponding network slice when the PDN connection determined by the terminal device is switched to 5G and the S-NSSAI of other network slices requested by the terminal are sent to the AMF entity in the requested NSSAI (requested NSSAI). Optionally, the terminal device notifies the AMF entity in the "requested NSSAI" which S-NSSAI corresponds to the established PDN connection; or the terminal device places the requested S-NSSAI of other network slices in the "requested NSSAI", which will be determined. When the PDN connection is switched to the 5G network, the S-NSSAI of the corresponding network slice is sent to the AMF entity in another separate NSSAI. The method for sending the S-NSSAI of the corresponding network slice to the AMF entity by the S-NSSAI corresponding to the network slice when the terminal device switches the determined PDN connection to the 5G network is not limited.
如:若终端设备确定的PDN连接切换到5G网络时对应的网络切片信息为S-NSSAI1,终端设备请求的其他网络切片信息为S-NSSAI2,则终端设备发送的注册请求中可以包括终端设备请求的网络切片信息(S-NSSAI1和S-NSSAI2)。For example, if the corresponding network slice information is S-NSSAI1 when the PDN connection determined by the terminal device is switched to the 5G network, and the other network slice information requested by the terminal device is S-NSSAI2, the registration request sent by the terminal device may include the terminal device request. Network slice information (S-NSSAI1 and S-NSSAI2).
步骤704:目标接入网设备向AMF实体发送注册请求。Step 704: The target access network device sends a registration request to the AMF entity.
其中,步骤704中的AMF实体可以为默认AMF实体。The AMF entity in step 704 can be a default AMF entity.
步骤705:AMF实体从目标接入网设备接收注册请求,获取PDN连接切换到5G网络时对应的网络切片信息、终端设备请求的网络切片信息,并从用户数据管理实体中获取终端设备的签约数据。Step 705: The AMF entity receives the registration request from the target access network device, obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information requested by the terminal device, and acquires the subscription data of the terminal device from the user data management entity. .
其中,终端设备的签约数据包括终端设备签约的网络切片信息,步骤705中AMF实体从用户数据管理实体中获取终端设备的签约数据的方式可参照步骤505所示方式,在此不再赘述。The subscription data of the terminal device includes the network slice information that is signed by the terminal device. The manner in which the AMF entity obtains the subscription data of the terminal device from the user data management entity in step 705 can refer to the manner shown in step 505, and details are not described herein.
步骤706:AMF实体根据PDN连接切换到5G网络时对应的网络切片信息、终端设备请求的网络切片信息以及签约的网络切片信息,确定终端设备的允许的网络切片信息。Step 706: The AMF entity determines the allowed network slice information of the terminal device according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the network slice information requested by the terminal device, and the subscribed network slice information.
其中,步骤706的具体实现方式可参照步骤506所示方式。For the specific implementation of step 706, refer to the manner shown in step 506.
如:一种可能的实现方式中,AMF实体根据多个PDN连接切换到5G网络时对应的网络切片信息中每个PDN连接对应的S-NSSAI的优先级,终端设备请求的网络切片信息以及签约的网络切片信息的优先级、每个PDN连接对应的S-NSSAI的负荷信息、以及AMF实体中配置的AMF实体集合中每个AMF实体所支持的NSSAI中的至少一个,确定PDN连接对应的候选网络切片信息,取候选网络切片信息和签约的网络切片信息的交集中的NSSAI作为终端设备的允许的网络切片信息;或者,For example, in a possible implementation manner, the AMF entity according to the priority of the S-NSSAI corresponding to each PDN connection in the corresponding network slice information when the AMF entity switches to the 5G network, the network slice information requested by the terminal device, and the signing A candidate for the PDN connection is determined by at least one of the priority of the network slice information, the load information of the S-NSSAI corresponding to each PDN connection, and the NSSAI supported by each AMF entity in the AMF entity set configured in the AMF entity. Network slice information, taking NSSAI in the intersection of the candidate network slice information and the subscribed network slice information as the allowed network slice information of the terminal device; or
又一种可能的实现方式中,AMF实体向NSSF实体发送携带有PDN连接切换到5G网络时对应的网络切片信息、终端设备请求的网络切片信息以及签约的网络切片信息以及签约的网络切片信息的切片选择请求,NSSF根据PDN连接切换到5G网络时对应的网络切片信息、终端设备请求的网络切片信息以及签约的网络切片信息以及终端设备签约的网络切片信息确定终端设备的允许的网络切片信息,NSSF向AMF实体返回确定结果,AMF实体根据确定结果获取终端设备的允许的网络切片信息。In another possible implementation manner, the AMF entity sends, to the NSSF entity, the network slice information corresponding to the PDN connection handover to the 5G network, the network slice information requested by the terminal device, the subscribed network slice information, and the subscribed network slice information. The slice selection request, the NSSF determines the allowed network slice information of the terminal device according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the network slice information requested by the terminal device, and the network slice information subscribed by the terminal device, and the network slice information subscribed by the terminal device. The NSSF returns a determination result to the AMF entity, and the AMF entity acquires the allowed network slice information of the terminal device according to the determination result.
步骤707:AMF实体根据注册请求中的5G-GUTI信息向MME发送获取请求。Step 707: The AMF entity sends an acquisition request to the MME according to the 5G-GUTI information in the registration request.
其中,上述获取请求用于请求获取终端设备的上下文,终端设备的上下文包括PDN连接对应的控制面功能实体的地址信息。The obtaining request is used to request the acquisition of the context of the terminal device, and the context of the terminal device includes the address information of the control plane function entity corresponding to the PDN connection.
可选的,AMF实体根据注册请求中的5G GUTI信息,以及4G-GUTI和5G-GUTI间的映射关系,确定5G-GUTI对应的4G-GUTI,并根据4G-GUTI包括的MME的信息向MME发送获取请求。Optionally, the AMF entity determines, according to the 5G GUTI information in the registration request, and the mapping relationship between the 4G-GUTI and the 5G-GUTI, the 4G-GUTI corresponding to the 5G-GUTI, and according to the information of the MME included in the 4G-GUTI to the MME. Send a get request.
步骤708:MME接收AMF实体发送的获取请求,向AMF实体发送终端设备的上下文。Step 708: The MME receives the acquisition request sent by the AMF entity, and sends the context of the terminal device to the AMF entity.
其中,终端设备的上下文包括PDN连接对应的控制面功能实体的地址信息。The context of the terminal device includes address information of a control plane function entity corresponding to the PDN connection.
步骤709:AMF实体根据控制面功能实体的地址信息,向归属地控制面功能实体发送 会话切换请求。Step 709: The AMF entity sends a session switching request to the home control plane function entity according to the address information of the control plane function entity.
其中,归属地控制面功能实体可以为图1或图2或图3中的SMF实体+PGW-C实体,会话切换请求可以用于请求控制面功能实体将PDN连接切换到PDU会话,会话切换请求可以携带步骤709中AMF实体获取到的允许的网络切片信息。The home control plane function entity may be the SMF entity + PGW-C entity in FIG. 1 or FIG. 2 or FIG. 3, and the session switch request may be used to request the control plane function entity to switch the PDN connection to the PDU session, and the session switch request The allowed network slice information acquired by the AMF entity in step 709 may be carried.
具体的,步骤709的实现方式可参照步骤508所示,在此不再赘述。Specifically, the implementation of the step 709 can be referred to the step 508, and details are not described herein again.
步骤710:归属地控制面功能实体接收会话切换请求,根据允许的网络切片信息建立PDU会话。Step 710: The home control plane function entity receives the session switch request, and establishes a PDU session according to the allowed network slice information.
其中,归属地控制面功能实体根据允许的网络切片信息建立PDU会话可以指:归属地控制面功能实体根据允许的网络切片信息指示的网络切片,协同终端设备或其他网元在PDN连接对应的网络切片中建立PDU会话。该建立PDU会话的过程可参考现有的流程,在此不予赘述。The establishing, by the home control plane function entity, the PDU session according to the allowed network slice information may be: the network slice indicated by the home control plane function entity according to the allowed network slice information, and the coordinated terminal device or other network element in the network corresponding to the PDN connection. A PDU session is established in the slice. The process of establishing a PDU session may refer to an existing process, and details are not described herein.
步骤711:AMF实体向终端设备返回注册接受消息。Step 711: The AMF entity returns a registration accept message to the terminal device.
其中,注册接受消息中可以携带允许的网络切片信息。The registration accept message may carry the allowed network slice information.
需要说明的是,在图7所示方案中,步骤706可以在步骤707~步骤708之前执行,也可以在步骤707~步骤708之后、步骤709之前执行,不予限制。It should be noted that, in the solution shown in FIG. 7, step 706 may be performed before step 707 to step 708, or may be performed after step 707 to step 708 and before step 709, and is not limited.
基于图7所示的会话切换方法,当终端设备注册到5G网络时,终端设备将请求的网络切片信息、以及终端设备已建立的PDN连接对应的网络切片信息发送给AMF实体,AMF实体根据PDN连接对应的网络切片信息、请求的网络切片信息以及终端设备签约的网络切片信息确定终端设备的允许的网络切片信息,并将确定出的网络切片信息发送给SMF实体,SMF实体根据该网络切片信息,在该PDN连接对应的网络切片中建立PDU会话,实现将PDN连接切换到PDU会话。也就是说,本方案解决了终端设备注册到5G网络时,无法确定支持PDN连接切片的的网络切片的问题,实现了PDN连接与PDU会话间的切换。Based on the session switching method shown in FIG. 7 , when the terminal device registers with the 5G network, the terminal device sends the requested network slice information and the network slice information corresponding to the established PDN connection of the terminal device to the AMF entity, and the AMF entity according to the PDN. Corresponding network slice information, the requested network slice information, and the network slice information subscribed by the terminal device determine the allowed network slice information of the terminal device, and send the determined network slice information to the SMF entity, and the SMF entity according to the network slice information Establishing a PDU session in the network slice corresponding to the PDN connection, and switching the PDN connection to the PDU session. That is to say, the solution solves the problem that the network device that supports the PDN connection slice cannot be determined when the terminal device registers to the 5G network, and implements switching between the PDN connection and the PDU session.
再一种可实现方案中,当终端设备注册到4G网络,且建立PDN连接后,终端设备由于某种原因处于空闲态且移动到5G基站覆盖范围内,此时,终端设备可以向5G基站发起注册请求实现PDN连接到PDU会话的切换时,终端设备还可以将自身确定出的PDN连接切换到5G网络时对应的网络切片信息通过MME发送给AMF实体。具体的,该实现方式如图8所示。In another implementation, when the terminal device registers with the 4G network and the PDN connection is established, the terminal device is in an idle state for some reason and moves to the coverage of the 5G base station. At this time, the terminal device may initiate to the 5G base station. When the registration request is implemented to implement the handover of the PDN to the PDU session, the terminal device may also send the corresponding network slice information to the AMF entity through the MME when the PDN connection determined by the terminal device is switched to the 5G network. Specifically, the implementation is as shown in FIG. 8.
图8所示为本申请实施例提供的再一种会话切换方法的流程示意图,如图8所示,可以包括:FIG. 8 is a schematic flowchart of still another method for switching a session according to an embodiment of the present disclosure. As shown in FIG. 8, the method may include:
步骤801-步骤802,步骤801~步骤802与步骤701~步骤702相同,在此不再赘述。Step 801 to step 802, the steps 801 to 802 are the same as the steps 701 to 702, and details are not described herein again.
步骤803:终端设备向MME发送PDN连接切换到5G网络时对应的网络切片信息,MME接收终端设备发送的PDN连接切换到5G网络时对应的网络切片信息。Step 803: The terminal device sends the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the MME receives the network slice information corresponding to the PDN connection sent by the terminal device when the PDN connection is switched to the 5G network.
其中,步骤803的具体实现可参照步骤503所述方式,在此不再赘述。For the specific implementation of the step 803, refer to the method in the step 503, and details are not described herein again.
步骤804:终端设备向目标接入网设备发送注册请求。Step 804: The terminal device sends a registration request to the target access network device.
其中,目标接入网设备为5G网络中的接入网设备,如:可以为图1或者图2或者图3 中的NG-RAN设备。The target access network device is an access network device in the 5G network, for example, the NG-RAN device in FIG. 1 or FIG. 2 or FIG.
上述注册请求可以用于请求注册到5G网络,该注册请求可以携带终端设备的5G-GUTI信息,和终端设备请求的网络切片信息。The above registration request may be used to request registration to the 5G network, and the registration request may carry the 5G-GUTI information of the terminal device and the network slice information requested by the terminal device.
步骤805:目标接入网设备向AMF实体发送注册请求。Step 805: The target access network device sends a registration request to the AMF entity.
其中,步骤805中的AMF实体可以为默认AMF实体。The AMF entity in step 805 can be a default AMF entity.
步骤806:AMF实体根据注册请求中的5G-GUTI信息向MME发送获取请求。Step 806: The AMF entity sends an acquisition request to the MME according to the 5G-GUTI information in the registration request.
其中,步骤806与步骤707相同,在此不再赘述。Step 806 is the same as step 707, and details are not described herein again.
步骤807:MME接收AMF实体发送的获取请求,向AMF实体发送终端设备的上下文。Step 807: The MME receives the acquisition request sent by the AMF entity, and sends the context of the terminal device to the AMF entity.
其中,终端设备的上下文包括PDN连接切换到5G网络时对应的网络切片信息、以及PDN连接对应的控制面功能实体的地址信息。The context of the terminal device includes network slice information corresponding to when the PDN connection is switched to the 5G network, and address information of the control plane function entity corresponding to the PDN connection.
步骤808:AMF实体从MME接收终端设备的上下文中获取PDN连接切换到5G网络时对应的网络切片信息,从注册请求中获取终端设备请求的网络切片信息,并从用户数据管理实体中获取终端设备的签约数据。Step 808: The AMF entity obtains the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and obtains the network slice information requested by the terminal device from the registration request, and acquires the terminal device from the user data management entity. Signing data.
其中,步骤808的具体实现可参照步骤505所示方式,在此不再赘述。For the specific implementation of the step 808, reference may be made to the manner shown in step 505, and details are not described herein again.
步骤809:AMF实体根据PDN连接切换到5G网络时对应的网络切片信息、终端设备请求的网络切片信息以及签约的网络切片信息,确定终端设备的允许的网络切片信息。Step 809: The AMF entity determines the allowed network slice information of the terminal device according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the network slice information requested by the terminal device, and the subscribed network slice information.
其中,步骤809的具体实现方式可参照步骤706所示方式,在此不再赘述。For the specific implementation of the step 809, reference may be made to the manner shown in step 706, and details are not described herein again.
步骤810:AMF实体根据控制面功能实体的地址信息,向控制面功能实体发送会话切换请求。Step 810: The AMF entity sends a session switching request to the control plane function entity according to the address information of the control plane function entity.
其中,会话切换请求可以用于请求将PDN连接切换到PDU会话,会话切换请求可以携带步骤809中AMF实体获取到的允许的网络切片信息。The session switching request may be used to request to switch the PDN connection to the PDU session, and the session switching request may carry the allowed network slice information acquired by the AMF entity in step 809.
具体的,步骤810的实现方式可参照步骤508所示,在此不再赘述。Specifically, the implementation of the step 810 can be referred to the step 508, and details are not described herein again.
步骤811:控制面功能实体接收会话切换请求,根据允许的网络切片信息建立PDU会话。Step 811: The control plane function entity receives the session switch request, and establishes a PDU session according to the allowed network slice information.
其中,控制面功能实体根据允许的网络切片信息建立PDU会话可以指:控制面功能实体根据允许的网络切片信息指示的网络切片,协同终端设备或其他网元在PDN连接对应的网络切片中建立PDU会话。该建立PDU会话的过程可参考现有的流程,在此不予赘述。The establishing, by the control plane function entity, the PDU session according to the allowed network slice information may be: the control plane function entity establishes a PDU in the network slice corresponding to the PDN connection according to the network slice indicated by the allowed network slice information, and the coordinated terminal device or other network element. Conversation. The process of establishing a PDU session may refer to an existing process, and details are not described herein.
步骤812:AMF实体向终端设备返回注册接受消息。Step 812: The AMF entity returns a registration accept message to the terminal device.
其中,注册接受消息中可以携带允许的网络切片信息。The registration accept message may carry the allowed network slice information.
基于图8所示的会话切换方法,当终端设备注册到5G网络时,终端设备将请求的网络切片信息、以及终端设备已建立的PDN连接对应的网络切片信息发送给AMF实体,AMF实体根据PDN连接对应的网络切片信息、请求的网络切片信息以及终端设备签约的网络切片信息确定允许网络切片信息,并将确定出的网络切片信息发送给控制面功能 实体,控制面功能实体根据该网络切片信息,在该PDN连接对应的网络切片中建立PDU会话,实现将PDN连接切换到PDU会话。也就是说,本方案解决了终端设备注册到5G网络时,无法确定支持PDN连接切片的的网络切片的问题,实现了PDN连接与PDU会话间的切换。Based on the session switching method shown in FIG. 8 , when the terminal device registers with the 5G network, the terminal device sends the requested network slice information and the network slice information corresponding to the established PDN connection of the terminal device to the AMF entity, and the AMF entity according to the PDN. Corresponding network slice information, requested network slice information, and network slice information subscribed by the terminal device determine the allowed network slice information, and send the determined network slice information to the control plane function entity, and the control plane function entity according to the network slice information Establishing a PDU session in the network slice corresponding to the PDN connection, and switching the PDN connection to the PDU session. That is to say, the solution solves the problem that the network device that supports the PDN connection slice cannot be determined when the terminal device registers to the 5G network, and implements switching between the PDN connection and the PDU session.
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,上述终端设备、第一移动管理实体和第二移动管理实体为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The solution provided by the embodiment of the present application is mainly introduced from the perspective of interaction between the network elements. It can be understood that, in order to implement the above functions, the foregoing terminal device, the first mobility management entity and the second mobility management entity include corresponding hardware structures and/or software modules for performing respective functions. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
本申请实施例可以根据上述方法示例对终端设备、第一移动管理实体和第二移动管理实体进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may perform the function module division on the terminal device, the first mobility management entity, and the second mobility management entity according to the foregoing method example. For example, each function module may be divided according to each function, or two or more functions may be used. The functionality is integrated in a processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
在采用对应各个功能划分各个功能模块的情况下,图9示出了上述实施例中涉及的终端设备的一种可能的组成示意图,如图9所示,该终端设备可以包括:确定单元91、发送单元92、接收单元93。FIG. 9 is a schematic diagram showing a possible configuration of the terminal device involved in the foregoing embodiment. As shown in FIG. 9, the terminal device may include: a determining unit 91, The transmitting unit 92 and the receiving unit 93.
确定单元91,用于确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;发送单元92,用于向移动性管理实体发送PDN连接切换到5G网络时对应的网络切片信息。The determining unit 91 is configured to determine network slice information corresponding to when the packet data network PDN connection is switched to the fifth generation 5G network, and the sending unit 92 is configured to send, to the mobility management entity, the network slice information corresponding to when the PDN connection is switched to the 5G network. .
在一种可能的设计中,确定单元91,具体用于根据PDN连接的信息与网络切片信息的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息;其中,PDN连接的信息包括PDN连接对应的接入点名称APN或者PDN连接对应的应用。In a possible design, the determining unit 91 is configured to determine, according to the correspondence between the information of the PDN connection and the network slice information, the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the PDN connection information includes the PDN. Connect the corresponding access point name to the corresponding application of the APN or PDN connection.
在又一种可能的设计中,确定单元91,还用于在确定单元91确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息之前,根据PDN连接对应的应用的策略信息,确定终端设备已建立的PDN连接中切换到5G网络的PDN连接;或者,当终端设备自身支持5G网络通信能力时,确定单元91确定已建立的所有PDN连接都切换到5G网络。In a further possible design, the determining unit 91 is further configured to: before the determining unit 91 determines that the packet data network PDN connection is switched to the corresponding network slice information when the PDN connection is switched to the fifth generation 5G network, according to the policy information of the application corresponding to the PDN connection Determining the PDN connection of the PDN connection that the terminal device has established to switch to the 5G network; or, when the terminal device itself supports the 5G network communication capability, the determining unit 91 determines that all the established PDN connections are switched to the 5G network.
在又一种可能的设计中,发送单元92,还用于向移动性管理实体发送PDN连接切换到5G网络时对应的网络切片信息的优先级的信息。In a further possible design, the sending unit 92 is further configured to send, to the mobility management entity, information about the priority of the network slice information corresponding to the PDN connection when switching to the 5G network.
在又一种可能的设计中,当终端设备处于漫游时;确定单元91,具体用于根据PDN连接对应的应用的策略信息,确定PDN连接切换到5G网络时归属地的网络切片信息,根据PDN连接切换到5G网络时归属地的网络切片信息、以及归属地网络切片信息和拜访地网络切片信息间的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息。In another possible design, when the terminal device is roaming, the determining unit 91 is specifically configured to determine network slice information of the home location when the PDN connection is switched to the 5G network according to the policy information of the application corresponding to the PDN connection, according to the PDN. The network slice information of the home location when switching to the 5G network, and the mapping relationship between the home network slice information and the visited network slice information are determined, and the network slice information of the visited place when the PDN connection is switched to the 5G network is determined.
在又一种可能的设计中,当移动性管理实体为MME时,发送单元92,具体用于将PDN连接切换到5G网络时对应的网络切片信息携带在第一消息中向MME发送;其中,第一消息用于指示MME将PDN连接切换到5G网络时对应的网络切片信息存储在终端设备的上下文中。In another possible design, when the mobility management entity is the MME, the sending unit 92 is configured to send the corresponding network slice information in the first message to the MME when the PDN connection is switched to the 5G network, where The first message is used to instruct the MME to store the corresponding network slice information in the context of the terminal device when the PDN connection is switched to the 5G network.
在又一种可能的设计中,当移动性管理实体为AMF实体时,发送单元92,具体用于将PDN连接切换到5G网络时对应的网络切片信息携带在注册请求中向AMF实体发送。In a further possible design, when the mobility management entity is an AMF entity, the sending unit 92 is configured to carry the corresponding network slice information in the registration request to the AMF entity when the PDN connection is switched to the 5G network.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的终端设备,用于执行上述会话切换方法,因此可以达到与上述会话切换方法相同的效果。It should be noted that all the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again. The terminal device provided by the embodiment of the present application is configured to perform the foregoing session switching method, so that the same effect as the above session switching method can be achieved.
在采用集成的单元的情况下,终端设备可以包括处理模块和通信模块,处理模块用于对终端设备的动作进行控制管理。通信模块用于支持终端设备与其他网络实体的通信,例如与图1示出的功能模块或网络实体之间的通信。终端设备还可以包括存储模块,用于存储服务器的程序代码和数据。In the case of employing an integrated unit, the terminal device may include a processing module and a communication module, and the processing module is configured to control and manage the actions of the terminal device. The communication module is used to support communication of the terminal device with other network entities, such as communication with the functional modules or network entities shown in FIG. The terminal device may further include a storage module for storing program code and data of the server.
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块可以是收发器、收发电路或通信接口等。存储模块可以是存储器。The processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module can be a transceiver, a transceiver circuit, or a communication interface. The storage module can be a memory.
当处理模块为处理器,通信模块为通信接口,存储模块为存储器时,本申请实施例所涉及的服务器可以为图4所示的通信设备。When the processing module is a processor, the communication module is a communication interface, and the storage module is a memory, the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
在采用对应各个功能划分各个功能模块的情况下,图10示出了上述实施例中涉及的MME的一种可能的组成示意图,如图10所示,该MME可以包括:接收单元101、发送单元102。FIG. 10 is a schematic diagram showing a possible composition of the MME involved in the foregoing embodiment. As shown in FIG. 10, the MME may include: a receiving unit 101 and a sending unit. 102.
接收单元101,用于从终端设备接收终端设备确定的分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;发送单元102,还用于向接入和移动性管理功能AMF实体发送终端设备的上下文,终端设备的上下文包括PDN连接切换到第五代5G网络时对应的网络切片信息、以及PDN连接的信息,PDN连接的信息包括PDN连接对应的控制面功能实体的地址信息。The receiving unit 101 is configured to receive, from the terminal device, network slice information corresponding to when the packet data network PDN connection determined by the terminal device is switched to the fifth generation 5G network, and the sending unit 102 is further configured to access the mobility and mobility management function AMF entity. The context of the terminal device includes the network slice information corresponding to the PDN connection when the PDN connection is switched to the fifth generation 5G network, and the information of the PDN connection. The information of the PDN connection includes the address information of the control plane function entity corresponding to the PDN connection.
在又一种可能的设计中,接收单元101,具体用于接收终端设备发送的携带有PDN连接切换到5G网络时对应的网络切片信息的第一消息;其中,第一消息用于指示MME将PDN连接切换到5G网络时对应的网络切片信息存储在终端设备的上下文中。In a further possible design, the receiving unit 101 is configured to receive, by the terminal device, a first message that carries the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the first message is used to indicate that the MME The corresponding network slice information when the PDN connection is switched to the 5G network is stored in the context of the terminal device.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的MME用于执行上述会话切换方法,因此可以达到与上述会话切换方法相同的效果。It should be noted that all the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again. The MME provided in this embodiment of the present application is used to perform the foregoing session switching method, and thus the same effect as the above-described session switching method can be achieved.
在采用集成的单元的情况下,MME可以包括处理模块和通信模块,处理模块用于对MME的动作进行控制管理。通信模块用于支持MME与其他网络实体的通信,例如与图1示出的功能模块或网络实体之间的通信。MME还可以包括存储模块,用于存储服务器的程序代码和数据。In the case of adopting an integrated unit, the MME may include a processing module and a communication module, and the processing module is configured to control and manage the actions of the MME. The communication module is used to support communication between the MME and other network entities, such as with the functional modules or network entities shown in FIG. The MME may also include a storage module for storing program code and data of the server.
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块可以是收发器、收发电路或通信接口等。存储模块可以是存储器。The processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module can be a transceiver, a transceiver circuit, or a communication interface. The storage module can be a memory.
当处理模块为处理器,通信模块为通信接口,存储模块为存储器时,本申请实施例所涉及的服务器可以为图4所示的通信设备。When the processing module is a processor, the communication module is a communication interface, and the storage module is a memory, the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
在采用对应各个功能划分各个功能模块的情况下,图11示出了上述实施例中涉及的AMF 的一种可能的组成示意图,如图11所示,该AMF可以包括:接收单元111、获取单元112、发送单元113、确定单元114。FIG. 11 is a schematic diagram showing a possible composition of the AMF involved in the foregoing embodiment. As shown in FIG. 11 , the AMF may include: a receiving unit 111 and an acquiring unit. 112. The transmitting unit 113 and the determining unit 114.
接收单元111,用于接收终端设备确定的分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息、以及终端设备签约的网络切片信息;The receiving unit 111 is configured to receive network slice information corresponding to the packet data network PDN connection determined by the terminal device when switching to the fifth generation 5G network, address information of the control plane function entity corresponding to the PDN connection, and network slice information subscribed by the terminal device. ;
获取单元112,用于根据PDN连接切换到5G网络时对应的网络切片信息、以及终端设备签约的网络切片信息,获取PDN连接中允许切换的PDN连接切换到5G网络时对应的网络切片信息;The acquiring unit 112 is configured to obtain, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is signed by the terminal device, to obtain the network slice information corresponding to the PDN connection that is allowed to be switched in the PDN connection to be switched to the 5G network;
发送单元113,用于根据PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求,会话切换请求用于请求将PDN连接切换到协议数据单元PDU会话。The sending unit 113 is configured to send a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switching request is used to request to switch the PDN connection to the protocol data unit PDU session.
在又一种可能的设计中,接收单元111,具体用于从移动管理实体MME获取PDN连接切换到第五代5G网络时对应的网络切片信息;或者,从终端设备获取PDN连接切换到第五代5G网络时对应的网络切片信息。In another possible design, the receiving unit 111 is configured to acquire, from the mobility management entity MME, network slice information corresponding to when the PDN connection is switched to the fifth generation 5G network, or obtain the PDN connection from the terminal device to switch to the fifth. Corresponding network slice information when generating a 5G network.
在又一种可能的设计中,当AMF实体从终端设备获取PDN连接切换到第五代5G网络时对应的网络切片信息时,所述接收单元111,具体用于从终端设备接收携带有PDN连接切换到第五代5G网络时对应的网络切片信息的注册请求,从注册请求中获取PDN连接切换到第五代5G网络时对应的网络切片信息。In another possible design, when the AMF entity acquires the corresponding network slice information when the PDN connection is switched to the fifth generation 5G network, the receiving unit 111 is specifically configured to receive the PDN connection from the terminal device. The registration request of the corresponding network slice information when the fifth-generation 5G network is switched, and the network slice information corresponding to the PDN connection switching to the fifth-generation 5G network is obtained from the registration request.
在又一种可能的设计中,确定单元114,用于当终端处于归属路由home router漫游时,根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片、以及PDN连接切换到5G网络时对应的数据网络名称DNN确定拜访地控制面功能实体;In a further possible design, the determining unit 114 is configured to: when the terminal is in the home route home router roaming, according to the network slice indicated by the corresponding network slice information when the switchable PDN connection in the PDN connection is switched to the 5G network, And the corresponding data network name DNN when the PDN connection is switched to the 5G network determines the visited control plane function entity;
发送单元113,具体用于向拜访地控制面功能实体发送携带有PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息的会话建立请求,会话建立请求用于指示拜访地控制面功能实体向归属地控制面功能实体发送会话切换请求。The sending unit 113 is configured to send, to the visited control plane function entity, a session establishment that carries the network slice information corresponding to the switchable PDN connection in the PDN connection and the address information of the control plane function entity corresponding to the PDN connection The request, the session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的AMF实体,用于执行上述会话切换方法,因此可以达到与上述会话切换方法相同的效果。It should be noted that all the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again. The AMF entity provided in this embodiment of the present application is used to perform the foregoing session switching method, so that the same effect as the above session switching method can be achieved.
在采用集成的单元的情况下,AMF实体可以包括处理模块和通信模块,处理模块用于对AMF实体的动作进行控制管理。通信模块用于支持AMF实体与其他网络实体的通信,例如与图1示出的功能模块或网络实体之间的通信。AMF实体还可以包括存储模块,用于存储服务器的程序代码和数据。In the case of an integrated unit, the AMF entity may include a processing module and a communication module, and the processing module is used to control and manage the actions of the AMF entity. The communication module is used to support communication between the AMF entity and other network entities, such as communication with the functional modules or network entities shown in FIG. The AMF entity may also include a storage module for storing program code and data of the server.
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块可以是收发器、收发电路或通信接口等。存储模块可以是存储器。The processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module can be a transceiver, a transceiver circuit, or a communication interface. The storage module can be a memory.
当处理模块为处理器,通信模块为通信接口,存储模块为存储器时,本申请实施例所涉及的服务器可以为图4所示的通信设备。When the processing module is a processor, the communication module is a communication interface, and the storage module is a memory, the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
本申请实施例还提供一种会话切换方法,如图12所示,该方法可以包括:The embodiment of the present application further provides a session switching method. As shown in FIG. 12, the method may include:
步骤1201:终端设备注册到4G网络,并请求建立PDN连接。Step 1201: The terminal device registers with the 4G network and requests to establish a PDN connection.
其中,终端设备可以为图1或者图2或者图3中的任一终端设备。The terminal device may be any terminal device in FIG. 1 or FIG. 2 or FIG. 3.
可选的,终端设备通过MME注册到4G网络中,在终端设备注册到4G网络后,终端设备确定某个应用待接入PDN,此时,终端设备向MME发送携带有PDN对应的APN的PDN连接建立请求,该PDN连接建立请求用于请求建立PDN连接,MME接收到PDN连接建立请求后,向控制面功能实体发送PDN连接建立请求,控制面功能实体根据PDN对应的APN建立PDN连接。其中,一个PDN连接可以对应一个或者多个应用,一个PDN连接对应一个APN,一个APN下可以建立多个PDN连接,不予限制。Optionally, the terminal device is registered in the 4G network by using the MME. After the terminal device registers with the 4G network, the terminal device determines that the application is to be accessed by the PDN. At this time, the terminal device sends the PDN carrying the APN corresponding to the PDN to the MME. a PDN connection establishment request is used to request to establish a PDN connection. After receiving the PDN connection establishment request, the MME sends a PDN connection establishment request to the control plane function entity, and the control plane function entity establishes a PDN connection according to the APN corresponding to the PDN. One PDN connection may correspond to one or more applications, one PDN connection corresponds to one APN, and one PDN connection may be established under one APN, which is not limited.
在终端设备建立PDN连接后,控制面功能实体可以将PDN连接的信息发送给MME,以便于MME将其存储在终端设备的上下文中。其中,PDN连接对应的控制面功能实体的地址信息和PDN连接对应的APN中的至少一个可以称为PDN连接的信息。该PDN连接的信息用于指示与控制面功能实体或者APN对应的某个PDN连接。可选的,PDN连接的信息还包括PDN连接对应的PDN类型、PDN连接对应的PDN地址、PDN连接对应的控制面功能实体所支持的S-NSSAI集合以及其他信息。After the terminal device establishes the PDN connection, the control plane function entity may send the PDN connection information to the MME, so that the MME stores it in the context of the terminal device. The address information of the control plane function entity corresponding to the PDN connection and the APN corresponding to the PDN connection may be referred to as information of the PDN connection. The information of the PDN connection is used to indicate a certain PDN connection corresponding to the control plane function entity or the APN. Optionally, the information about the PDN connection further includes a PDN type corresponding to the PDN connection, a PDN address corresponding to the PDN connection, an S-NSSAI set supported by the control plane function entity corresponding to the PDN connection, and other information.
其中,在本申请各实施例中,控制面功能实体可以指图1或图2或图3中的SMF实体+PGW-C实体,控制面功能实体根据PDN对应的APN建立PDN连接的过程可参照现有技术,不再赘述。控制面功能实体的地址信息可以用于标识控制面功能实体,控制面功能实体的地址信息可以为控制面功能实体所在的PLMN的信息、或者控制面功能实体的IP地址,或者FQDN。In the embodiments of the present application, the control plane function entity may refer to the SMF entity + PGW-C entity in FIG. 1 or FIG. 2 or FIG. 3, and the control plane function entity may refer to the process of establishing a PDN connection according to the APN corresponding to the PDN. The prior art will not be described again. The address information of the control plane function entity may be used to identify the control plane function entity, and the address information of the control plane function entity may be the information of the PLMN where the control plane function entity is located, or the IP address of the control plane function entity, or the FQDN.
步骤1202:控制面功能实体确定PDN连接切换到5G网络时对应的网络切片信息。Step 1202: The control plane function entity determines network slice information corresponding to when the PDN connection is switched to the 5G network.
其中,网络切片信息可以指网络切片的S-NSSAI。The network slice information may refer to the S-NSSAI of the network slice.
在建立PDN连接的过程中,控制面功能实体可以通过下述方式确定PDN连接后续是否需要切换到5G网络:一种可能的方式中,终端设备采用步骤502所述的方式确定PDN连接后续会切换到5G网络,在发送的PDN连接建立请求中携带用于指示PDN连接是否切换到5G网络的指示信息,控制面功能实体接收到PDN连接建立请求时,根据PDN连接建立请求中携带的指示信息确定PDN连接是否需要切换到5G网络。又一种可能的方式中,控制面功能实体根据自身配置的切换策略确定PDN连接是否需要切换到5G,其中,该切换策略用于指示需要切换到5G网络的PDN连接。例如,该切换策略可以用于指示携带指定APN的PDN连接需要切换到5G网络。再一种可能的方式中,控制面功能实体根据APN签约信息确定PDN连接是否需要切换到5G,其中,APN签约信息可以从UDM获取,APN签约信息用于指示需要切换到5G网络的APN,当PDN连接对应的APN包括在APN签约信息中,则表示该PDN连接需要切换到5G网络,反之,则不切换。例如,APN签约信息包括APN1~APN2,若用户建立的PDN连接1对应的APN为APN1,则根据APN签约信息确定PDN连接1需要切换到5G网络;若用户建立的PDN连接2对应的APN为APN4,则根据APN签约信息确定PDN连接2不需要切换到5G网络。In the process of establishing a PDN connection, the control plane function entity may determine whether the PDN connection needs to be switched to the 5G network in the following manner: In a possible manner, the terminal device determines, according to the method described in step 502, that the PDN connection is subsequently switched. To the 5G network, the PDN connection establishment request is sent to indicate whether the PDN connection is switched to the 5G network, and the control plane function entity determines, according to the indication information carried in the PDN connection establishment request, the PDN connection establishment request Whether the PDN connection needs to be switched to the 5G network. In another possible manner, the control plane function entity determines whether the PDN connection needs to be switched to 5G according to the handover policy configured by itself, where the handover policy is used to indicate that the PDN connection needs to be switched to the 5G network. For example, the handover policy can be used to indicate that the PDN connection carrying the specified APN needs to be handed over to the 5G network. In a further possible manner, the control plane function entity determines whether the PDN connection needs to be switched to the 5G according to the APN subscription information, where the APN subscription information can be obtained from the UDM, and the APN subscription information is used to indicate that the APN needs to be switched to the 5G network. The APN corresponding to the PDN connection is included in the APN subscription information, indicating that the PDN connection needs to be switched to the 5G network, and vice versa. For example, the APN subscription information includes APN1 to APN2. If the APN corresponding to the PDN connection 1 established by the user is APN1, the PDN connection 1 needs to be switched to the 5G network according to the APN subscription information; if the APN corresponding to the PDN connection 2 established by the user is APN4, Then, according to the APN subscription information, it is determined that the PDN connection 2 does not need to be switched to the 5G network.
在控制面功能实体确定PDN连接后续会切换到5G网络,控制面功能实体可以根据 PDN连接的信息与网络切片信息间的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息,该对应关系可以预先配置在控制面功能实体或者预先存储在其他网元(如:终端设备)的NSSP中,控制面功能实体可以从其他网元获取该对应关系。如:PDN连接的信息包括PDN连接对应的APN,控制面功能实体可以根据APN和网络切片信息间的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息。例如,APN和网络切片信息的对应关系如表五所示,当PDN连接切换到5G网络时对应的APN为APN3时,控制面面功能实体通过查表五可以确定该PDN连接切换到5G网络时对应的网络切片的S-NSSAI为S-NSSAI3、S-NSSAI4。After the control plane function entity determines that the PDN connection is subsequently switched to the 5G network, the control plane function entity may determine the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network according to the correspondence between the PDN connection information and the network slice information. The relationship may be pre-configured in the control plane function entity or in an NSSP pre-stored in other network elements (such as a terminal device). The control plane function entity may obtain the corresponding relationship from other network elements. For example, the PDN connection information includes the APN corresponding to the PDN connection, and the control plane function entity may determine the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network according to the correspondence between the APN and the network slice information. For example, the corresponding relationship between the APN and the network slice information is as shown in Table 5. When the corresponding APN is APN3 when the PDN connection is switched to the 5G network, the control plane function entity can determine that the PDN connection is switched to the 5G network by checking Table 5. The S-NSSAI of the corresponding network slice is S-NSSAI3 and S-NSSAI4.
表五Table 5
APNAPN 网络切片信息Network slice information
APN1APN1 S-NSSAI1S-NSSAI1
APN2APN2 S-NSSAI2S-NSSAI2
APN3APN3 S-NSSAI3S-NSSAI3
……...... ……......
又一种示例中,PDN连接的信息包括控制面功能实体的地址信息,控制面功能实体可以根据控制面功能实体的地址实体和网络切片信息的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息。例如,SMF实体+PGW-C实体的信息和网络切片信息的对应关系如表六所示,当PDN连接对应的SMF实体+PGW-C实体的信息为IP地址1时,通过查表六可以确定该PDN连接切换到5G网络时对应的网络切片的S-NSSAI为S-NSSAI1、S-NSSAI2。In another example, the information of the PDN connection includes the address information of the control plane function entity, and the control plane function entity may determine, according to the correspondence between the address entity of the control plane function entity and the network slice information, that the PDN connection is switched to the 5G network. Network slice information. For example, the correspondence between the information of the SMF entity + the PGW-C entity and the network slice information is as shown in Table 6. When the information of the SMF entity + PGW-C entity corresponding to the PDN connection is the IP address 1, the table 6 can be determined by looking up Table 6. When the PDN connection is switched to the 5G network, the S-NSSAI of the corresponding network slice is S-NSSAI1 and S-NSSAI2.
表六Table 6
SMF实体+PGW-C实体的信息SMF entity + PGW-C entity information 网络切片信息Network slice information
IP地址1IP address 1 S-NSSAI1、S-NSSAI2S-NSSAI1, S-NSSAI2
IP地址2IP address 2 S-NSSAI2S-NSSAI2
IP地址3IP address 3 S-NSSAI3、S-NSSAI4S-NSSAI3, S-NSSAI4
……...... ……......
需要说明的是,本申请实施例仅是示例性的给出了几种控制面功能实体器确定PDN连接切换到5G网络时对应的网络切片信息的具体实现,当然,控制面功能实体还可以通过其他方式获取PDN连接切换到5G网络时对应的网络切片信息,如:若控制面功能实 体仅支持一个S-NSSAI,则控制面功能实体确定PDN连接对应的S-NSSAI即为控制面功能实体所支持的S-NSSAI。或者,控制面功能实体配置PDN类型与S-NSSAI的对应关系,进而,控制面功能实体根据PDN连接对应的PDN类型以及该对应关系,即确定该PDN连接对应的网络切片的S-NSSAI。本申请实施例不限定控制面功能实体确定该PDN连接对应的网络切片的S-NSSAI的具体实现方式。当PDN连接的信息为其他信息时,只需要将表五或表六中PDN连接的信息替换为其他信息,控制面功能实体根据其他信息与S-NSSAI的对应关系确定PDN连接切换到5G网络时对应的网络切片信息即可,在此不再一一赘述。It should be noted that the embodiment of the present application is only an exemplary implementation of several control plane function entities to determine the corresponding network slice information when the PDN connection is switched to the 5G network. Of course, the control plane functional entity can also pass The other method is to obtain the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. For example, if the control plane function entity supports only one S-NSSAI, the control plane function entity determines that the S-NSSAI corresponding to the PDN connection is the control plane function entity. Supported S-NSSAI. Alternatively, the control plane function entity configures a correspondence between the PDN type and the S-NSSAI. Further, the control plane function entity determines the S-NSSAI of the network slice corresponding to the PDN connection according to the PDN type corresponding to the PDN connection and the corresponding relationship. The embodiment of the present application does not limit the specific implementation manner of the S-NSSAI of the network slice corresponding to the PDN connection. When the PDN connection information is other information, only the information of the PDN connection in Table 5 or Table 6 needs to be replaced with other information, and the control plane function entity determines the PDN connection to switch to the 5G network according to the correspondence between the other information and the S-NSSAI. Corresponding network slice information can be used, and will not be repeated here.
此外,当终端设备处于home router漫游时,步骤1202中控制面功能实体确定出的网络切片信息为PDN连接切换到5G网络时对应的网络切片信息为PDN连接切换到5G网络时拜访地的网络切片信息,此时,控制面功能实体可以根据PDN连接的信息与网络切片信息的对应关系确定出PDN连接切换到5G网络时归属地的网络切片信息,再根据确定出的PDN连接切换到5G网络时归属地的网络切片信息、以及归属地网络切片信息与拜访地网络切片信息间的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息;或者,当终端设备处于home router漫游时,步骤1202中控制面功能实体确定出的网络切片信息为PDN连接切换到5G网络时对应的网络切片信息可以为PDN连接切换到5G网络时归属地的网络切片信息,在后续步骤中,当AMF实体接收到PDN连接切换到5G网络时归属地的网络切片信息,由AMF实体根据归属地网络切片信息与拜访地网络切片信息间的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息,不予限制。In addition, when the terminal device is roaming in the home router, the network slice information determined by the control plane function entity in step 1202 is the network slice information when the PDN connection is switched to the 5G network, and the network slice of the visited place when the PDN connection is switched to the 5G network. Information, at this time, the control plane function entity may determine the network slice information of the home location when the PDN connection is switched to the 5G network according to the correspondence between the information of the PDN connection and the network slice information, and then switch to the 5G network according to the determined PDN connection. The network slice information of the home location, and the mapping relationship between the home network slice information and the visited network slice information, determine the network slice information of the visited place when the PDN connection is switched to the 5G network; or, when the terminal device is roaming at the home router, The network slice information determined by the control plane function entity in step 1202 is that the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network may be the network slice information of the home location when the PDN connection is switched to the 5G network, and in the subsequent step, when the AMF entity Network slice information of the home location when the PDN connection is switched to the 5G network, by A The MF entity determines the network slice information of the visited place when the PDN connection is switched to the 5G network according to the mapping relationship between the home network slice information and the visited network slice information, and is not limited.
步骤1203:控制面功能实体向MME发送PDN连接切换到5G网络时对应的网络切片信息,MME接收PDN连接切换到5G网络时对应的网络切片信息。Step 1203: The control plane function entity sends the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the MME receives the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
其中,MME可以为图1或者图2或者图3中的MME。The MME may be the MME in FIG. 1 or FIG. 2 or FIG. 3.
可选的,控制面功能实体将PDN连接切换到5G网络时对应的网络切片信息携带在第一消息中向MME发送。第一消息可以是用于通知终端设备PDN连接已建立的会话建立响应消息,该会话建立响应消息中可以携带终端设备的标识。Optionally, the control plane function entity sends the corresponding network slice information in the first message to the MME when the PDN connection is switched to the 5G network. The first message may be used to notify the terminal device that the PDN connection has been established. The session establishment response message may carry the identifier of the terminal device.
其中,第一消息可以用于指示MME仅存储PDN连接切换到5G网络时对应的网络切片信息,而不去解析第一消息中包括的PDN连接切换到5G网络时对应的网络切片信息。一种可能的设计中,第一消息携带指示信息,该指示信息可以用于指示MME仅存储PDN连接切换到5G网络时对应的网络切片信息,而不去解析第一消息中包括的PDN连接切换到5G网络时对应的网络切片信息,如:第一消息可以为信元,该信元可以为透明容器(transparent container),可以包括头部和负荷两部分,头部携带指示信息,负荷携带PDN连接切换到5G网络时对应的网络切片信息。又一种可能的设计中,该第一消息为某种特殊消息类型的消息,该消息类型用于指示MME仅存储PDN连接切换到5G网络时对应的网络切片信息,而不去解析第一消息中包括的PDN连接切换到5G网络时对应的网络切片信息,当MME接收到该消息类型的消息后,将第一消息携带的内容存储到终端设备的上下文中。The first message may be used to indicate that the MME only stores the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and does not analyze the network slice information corresponding to the PDN connection included in the first message when the PDN connection is switched to the 5G network. In a possible design, the first message carries indication information, and the indication information may be used to indicate that the MME only stores the network slice information corresponding to when the PDN connection is switched to the 5G network, and does not parse the PDN connection switch included in the first message. Corresponding network slice information to the 5G network, for example, the first message may be a cell, and the cell may be a transparent container, which may include a header and a load, the header carries the indication information, and the load carries the PDN. Corresponding network slice information when the connection is switched to the 5G network. In another possible design, the first message is a message of a special message type, and the message type is used to indicate that the MME only stores the network slice information corresponding to when the PDN connection is switched to the 5G network, without parsing the first message. When the MME receives the message of the message type, the MME includes the content of the first message to be stored in the context of the terminal device.
其中,在控制面功能实体和SGW合设的情况下,控制面功能实体可以直接向MME发 送第一消息;在控制面功能实体与SGW分设的情况下,控制面功能实体向SGW发送第一消息,SGW接收到第一消息后,将第一消息转发给MME。The control plane function entity may directly send the first message to the MME in the case that the control plane function entity and the SGW are set up; in the case that the control plane function entity and the SGW are separated, the control plane function entity sends the first message to the SGW. After receiving the first message, the SGW forwards the first message to the MME.
可选的,控制面功能实体向MME发送PDN连接切换到5G网络时对应的网络切片信息时,还可以向MME发送控制面功能实体的地址信息,其中,控制面功能实体的地址信息可以携带在第一消息中,还可以不携带在第一消息中。进一步的,MME接收到PDN连接切换到5G网络时对应的网络切片信息请求和控制面功能实体的地址信息后,可以将PDN连接切换到5G网络时对应的网络切片信息请求和控制面功能实体的地址信息保存在终端设备的上下文中。Optionally, when the control plane function entity sends the network slice information corresponding to the PDN connection to the MME when the PDN connection is switched to the MME, the address information of the control plane function entity may be sent to the MME, where the address information of the control plane function entity may be carried in In the first message, it may not be carried in the first message. Further, after receiving the address information of the network slice information request and the control plane function entity corresponding to the PDN connection switch to the 5G network, the MME may switch the PDN connection to the network slice information request and the control plane function entity when the PDN connection is switched to the 5G network. The address information is saved in the context of the terminal device.
此外,控制面功能实体向MME发送PDN连接切换到5G网络时对应的网络切片信息的同时,还可以向MME发送PDN连接切换到5G网络时对应的网络切片信息的优先级信息。其中,PDN连接切换到5G网络时对应的网络切片信息的优先级信息用于指示网络切片的A-NSSAI的优先级或者PDN连接的优先级,不予限制。控制面功能实体可以根据PDN连接的重要性、PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片的负荷情况中的至少一种,确定PDN连接切换到5G网络时对应的网络切片信息的优先级信息。In addition, the control plane function entity may send, to the MME, the network slice information corresponding to the time when the PDN connection is switched to the 5G network, and may also send the priority information of the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. The priority information of the corresponding network slice information when the PDN connection is switched to the 5G network is used to indicate the priority of the A-NSSAI of the network slice or the priority of the PDN connection, which is not limited. The control plane function entity may determine the network slice corresponding to the PDN connection switching to the 5G network according to at least one of the importance of the PDN connection and the load condition of the network slice indicated by the corresponding network slice information when the PDN connection is switched to the 5G network. Priority information for the message.
需要说明的是,步骤1202和步骤1203是在PDN连接建立过程中完成的,PDN连接建立过程可以是终端设备注册到网络后发起的PDN连接建立流程,或者是终端设备在附着过程或者跟踪区更新过程中发起的PDN连接建立流程。It should be noted that step 1202 and step 1203 are completed in the PDN connection establishment process, and the PDN connection establishment process may be a PDN connection establishment process initiated after the terminal device registers with the network, or the terminal device is in the attach process or the tracking area update process. The process of establishing a PDN connection initiated in the process.
步骤1204:MME接收源接入网设备发送的HO请求,向AMF实体发送终端设备的上下文。Step 1204: The MME receives the HO request sent by the source access network device, and sends the context of the terminal device to the AMF entity.
其中,源接入网设备可以为图1或者图2或者图3中的E-UTRAN设备。终端设备的上下文包括PDN连接的信息,以及PDN连接切换到5G网络时对应的网络切片信息。可选的,源接入网设备根据终端设备上报的小区测量信息确定终端设备从4G网络移动到5G网络后,源接入网设备通过S1-MME接口向MME发送HO请求,该HO请求可以携带终端设备的标识,当MME接收到HO请求后根据终端设备的标识向AMF实体发送终端设备的上下文。The source access network device may be the E-UTRAN device in FIG. 1 or FIG. 2 or FIG. 3. The context of the terminal device includes information of the PDN connection, and corresponding network slice information when the PDN connection is switched to the 5G network. Optionally, after the source access network device determines, according to the cell measurement information reported by the terminal device, the terminal device moves from the 4G network to the 5G network, the source access network device sends an HO request to the MME through the S1-MME interface, where the HO request can be carried. The identifier of the terminal device, when the MME receives the HO request, sends the context of the terminal device to the AMF entity according to the identifier of the terminal device.
上述AMF实体可以是MME对应的默认AMF实体,或者,HO请求携带终端设备当前所述区域的信息,MME根据终端设备当前所处区域、以及目标区域与AMF实体集合的对应关系确定AMF实体集合,再根据相应的策略,从选定的AMF实体集合中选择一个AMF实体作为步骤1204中的AMF实体;或者,MME根据MME与AMF实体集合的对应关系确定出AMF实体集合,并根据相应的策略,从选定的AMF实体集合中选择一个AMF实体作为步骤1204中的AMF实体;或者MME从自身配置或者运营商预先配置的多个AMF中选择AMF,不予限制。其中,所述策略具体可以是基于AMF实体集合中的各个AMF实体的优先级、容量或者负载等信息从AMF实体集合中确定一个AMF实体的方法。The AMF entity may be a default AMF entity corresponding to the MME, or the HO request carries information about the current area of the terminal device, and the MME determines the AMF entity set according to the current location of the terminal device and the correspondence between the target area and the AMF entity set. And selecting an AMF entity from the selected AMF entity set as the AMF entity in step 1204 according to the corresponding policy; or, the MME determines the AMF entity set according to the correspondence between the MME and the AMF entity set, and according to the corresponding policy, An AMF entity is selected from the selected AMF entity set as the AMF entity in step 1204; or the MME selects the AMF from its own configuration or a plurality of AMFs pre-configured by the operator, and is not limited. The policy may specifically be a method for determining an AMF entity from the AMF entity set based on information such as priority, capacity, or load of each AMF entity in the AMF entity set.
步骤1205:AMF实体从MME接收终端设备的上下文,获取PDN连接切换到5G网络时对应的网络切片信息。Step 1205: The AMF entity receives the context of the terminal device from the MME, and obtains network slice information corresponding to when the PDN connection is switched to the 5G network.
可选的,在步骤1205中,AMF还获取其他信息,如:终端设备签约的网络切片信息。其中,终端设备签约的网络切片信息包括在终端设备的签约数据中,AMF可以从用户数据管理实体(如UDM)获取终端设备签约的网络切片信息,如:AMF向UDM发送携带有终端设备的标识的请求消息,以请求终端设备的签约数据,UDM接收到该请求消息后,通过Nudm接口向AMF发送终端设备的签约数据。Optionally, in step 1205, the AMF further obtains other information, such as network slice information subscribed by the terminal device. The network slice information of the terminal device is included in the subscription data of the terminal device, and the AMF can obtain the network slice information that is signed by the terminal device from the user data management entity (such as the UDM), for example, the AMF sends the identifier of the terminal device to the UDM. The request message is to request the subscription data of the terminal device. After receiving the request message, the UDM sends the subscription data of the terminal device to the AMF through the Nudm interface.
需要说明的是,当终端设备处于漫游场景,且步骤1202中控制面功能实体确定的PDN连接切换到5G网络时的网络切片信息为PDN连接切换到5G网络时归属地的网络切片信息时,步骤1205中,AMF实体获取到PDN连接切换到5G网络时对应的网络切片信息后,还需要根据归属地网络切片信息和拜访地网络切片信息的映射关系,确定PDN连接切换到5G网络时拜访地的网络切片信息,将PDN连接切换到5G网络时拜访地的网络切片信息作为步骤1206中的PDN连接切换到5G网络时对应的网络切片信息。It should be noted that when the terminal device is in the roaming scenario, and the network slice information when the PDN connection determined by the control plane function entity is switched to the 5G network in step 1202 is the network slice information of the home location when the PDN connection is switched to the 5G network, the steps are as follows. In 1205, after obtaining the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the AMF entity needs to determine the location of the visited site when the PDN connection is switched to the 5G network according to the mapping relationship between the home network slice information and the visited network slice information. The network slice information is used as the network slice information corresponding to the PDN connection in the step 1206 when the PDN connection is switched to the 5G network.
步骤1206:AMF实体根据PDN连接切换到5G网络时对应的网络切片信息,获取PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体。Step 1206: The AMF entity obtains the network slice information corresponding to the PDN connection that can be switched when the PDN connection is switched to the 5G network, and determines that the PDN connection that supports the handover can be switched to the 5G according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network. The target AMF entity of the corresponding network slice when the network is available.
一种可能的实现方式中,步骤1205中AMF还获取有终端设备签约的网络切片信息,AMF实体将多个PDN连接切换到5G网络时对应的网络切片信息中每个PDN连接对应的S-NSSAI作为候选网络切片信息,取候选网络切片信息和签约的网络切片信息的交集中的网络切片信息作为PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息;在确定出PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息后,AMF实体根据自身的配置能力确定自身是否支持PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片,若支持,则确定自身为目标AMF实体,若不支持,则AMF实体根据AMF实体配置的其他AMF集合所支持的网络切片的能力确定目标AMF实体集合,并从目标AMF实体集合中选择一个AMF实体作为目标AMF实体。In a possible implementation, in step 1205, the AMF also obtains the network slice information that is signed by the terminal device, and the AMF entity switches the multiple PDN connections to the S-NSSAI corresponding to each PDN connection in the network slice information corresponding to the 5G network. As the candidate network slice information, the network slice information in the intersection of the candidate network slice information and the subscribed network slice information is taken as the network slice information corresponding to when the switchable PDN connection in the PDN connection is switched to the 5G network; in determining the PDN connection After the switchable PDN connection is switched to the network slice information corresponding to the 5G network, the AMF entity determines whether it supports the network slice corresponding to the switchable PDN connection switched to the 5G network in the PDN connection according to its configuration capability. Determining itself as the target AMF entity. If not, the AMF entity determines the target AMF entity set according to the capabilities of the network slice supported by other AMF sets configured by the AMF entity, and selects an AMF entity from the target AMF entity set as the target AMF entity. .
又一种可能的实现方式中,步骤1205中AMF还获取有终端设备签约的网络切片信息,AMF实体向NSSF实体发送携带有PDN连接切换到5G网络时对应的网络切片信息、以及签约的网络切片信息的切片选择请求,NSSF根据PDN连接切换到5G网络时对应的网络切片信息、以及终端设备签约的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体,NSSF向AMF实体返回确定结果,AMF实体根据确定结果获取PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体。In another possible implementation manner, in step 1205, the AMF further acquires network slice information that is subscribed by the terminal device, and the AMF entity sends the network slice information corresponding to the network element when the PDN connection is switched to the 5G network, and the contracted network slice is sent to the NSSF entity. The slice selection request of the information, the NSSF determines, according to the network slice information corresponding to the handover of the PDN connection to the 5G network, and the network slice information subscribed by the terminal device, the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and Determining the target AMF entity that supports the corresponding network slice when the PDN connection can be switched to the 5G network, and the NSSF returns a determination result to the AMF entity, and the AMF entity obtains the corresponding PDN connection switchable to the 5G network in the PDN connection according to the determination result. The network slices information and determines a target AMF entity that supports the corresponding network slice when the switchable PDN connection is switched to the 5G network.
其中,NSSF实体据PDN连接切换到5G网络时对应的网络切片信息、签约的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标AMF实体的具体方式可参考上述AMF实体根据PDN连接切换到5G网络时对应的网络切片信息、签约的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并确定支持能够切换的PDN连接切换到5G网络时对应的网络切片的目标 AMF实体的方式,在此不再赘述。The NSSF entity determines the network slice information corresponding to the switchable PDN connection in the PDN connection when the PDN connection is switched to the 5G network according to the network slice information and the contracted network slice information when the PDN connection is switched to the 5G network, and determines that the PDN that can be switched is supported. For the specific manner of connecting the target AMF entity of the corresponding network slice when switching to the 5G network, refer to the network slice information corresponding to the AMF entity that is switched to the 5G network according to the PDN connection, and the network slice information of the subscription to determine the PDN connection that can be switched in the PDN connection. The method of switching to the corresponding network slice information of the 5G network, and determining the manner of supporting the target AMF entity of the corresponding network slice when the PDN connection can be switched to the 5G network, and details are not described herein again.
步骤1207:当目标AMF实体为自身时,AMF实体根据PDN连接对应的控制面功能实体的地址信息,向控制面功能实体发送会话切换请求。Step 1207: When the target AMF entity is itself, the AMF entity sends a session switching request to the control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection.
一种可能的实现方式中,当AMF实体确定终端设备处于非漫游或者图2所示的LBO漫游时,AMF实体根据步骤1205中终端设备的上下文中PDN连接对应的控制面功能实体的地址信息,直接向地控制面功能实体发送会话切换请求。In a possible implementation manner, when the AMF entity determines that the terminal device is in non-roaming or the LBO roaming shown in FIG. 2, the AMF entity according to the address information of the control plane function entity corresponding to the PDN connection in the context of the terminal device in step 1205, A session switching request is sent directly to the ground control plane functional entity.
又一种可能的实现方式中,当AMF实体确定终端设备处于图3所示home router漫游时,AMF实体确定一个拜访地控制面功能实体(如图3中的vSMF实体),AMF实体向vSMF实体发送携带有PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、控制面功能实体的地址信息的会话建立请求,vSMF实体根据控制面功能实体的地址信息向控制面功能实体发送会话切换请求。即在图3所示场景下,AMF实体从MME接收到包括PDN连接的信息的上下文后,向vSMF发送控制面功能实体的地址信息和PDN连接切换到5G网络时对应的网络切片信息,vSMF根据控制面功能实体的地址信息向SMF实体+PGW-C实体发送会话切换请求,请求将PDN连接切换到5G网络。In another possible implementation manner, when the AMF entity determines that the terminal device is roaming in the home router shown in FIG. 3, the AMF entity determines a visited control plane function entity (such as the vSMF entity in FIG. 3), and the AMF entity to the vSMF entity. Sending a session establishment request carrying the network slice information and the address information of the control plane function entity when the PDN connection switchable in the PDN connection is switched to the 5G network, and the vSMF entity sends the address information of the control plane function entity to the control plane function entity according to the address information of the control plane function entity Session switch request. That is, in the scenario shown in FIG. 3, after receiving the context of the information including the PDN connection from the MME, the AMF entity sends the address information of the control plane function entity to the vSMF and the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the vSMF is based on The address information of the control plane function entity sends a session switch request to the SMF entity + PGW-C entity, requesting to switch the PDN connection to the 5G network.
其中,上述vSMF可以为默认vSMF,或者AMF实体可以根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的S-NSSAI,从该S-NSSAI包括的控制面功能实体中选择出一个能接入到该S-NSSAI的控制面功能实体作为vSMF。例如,PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息为S-NSSAI1,且该S-NSSAI1对应一个网络切片1,且网络切片1包括多个控制面功能实体,终端设备可以在该网络切片1中选择出一个能接控制面功能实体作为vSMF。可理解的是,当能够接入S-NSSAI的控制面功能实体为多个时,AMF实体可以根据控制面功能实体的负荷情况,将负荷低的控制面功能实体作为vSMF,或者根据控制面功能实体的其他情况选择出vSMF,不予限制。The vSMF may be a default vSMF, or the S-NSSAI indicated by the network slice information corresponding to the AMF entity that can be switched to the 5G network according to the PDN connection that can be switched in the PDN connection, and the control plane functional entity included in the S-NSSAI A control plane function entity that can access the S-NSSAI is selected as the vSMF. For example, when the PDN connection that can be switched in the PDN connection is switched to the 5G network, the corresponding network slice information is S-NSSAI1, and the S-NSSAI1 corresponds to one network slice 1, and the network slice 1 includes multiple control plane functional entities, and the terminal device A control plane functional entity can be selected as the vSMF in the network slice 1. It can be understood that when there are multiple control plane functional entities capable of accessing the S-NSSAI, the AMF entity can use the low-load control plane functional entity as the vSMF according to the load condition of the control plane functional entity, or according to the control plane function. In other cases of the entity, vSMF is selected and is not restricted.
再一种可能的实现方式中,当AMF实体确定终端设备处于图3所示home router漫游时,且AMF实体无法选择出vSMF时,AMF实体向NRF发送选择请求,该选择请求携带PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,NRF根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片,从该网络切片包括的控制面功能实体中选择出一个控制面功能实体作为vSMF,并将vSMF的地址信息反馈给AMF实体,AMF实体根据NRF的反馈结果,向vSMF发送携带有PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息的会话建立请求,vSMF根据PDN连接对应的控制面功能实体的地址信息向控制面功能实体发送会话切换请求。In another possible implementation manner, when the AMF entity determines that the terminal device is roaming in the home router shown in FIG. 3, and the AMF entity cannot select the vSMF, the AMF entity sends a selection request to the NRF, where the selection request carries the PDN connection. Corresponding network slice information when the switched PDN connection is switched to the 5G network, and the NRF is based on the network slice indicated by the corresponding network slice information when the PDN connection switchable in the PDN connection is switched to the 5G network, and the control plane function included in the network slice A control plane function entity is selected as the vSMF, and the address information of the vSMF is fed back to the AMF entity. The AMF entity sends a PDN connection that can be switched in the PDN connection to the 5G network according to the feedback result of the NRF. The network slice information, the session establishment request of the address information of the control plane function entity corresponding to the PDN connection, and the vSMF sends a session switch request to the control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection.
在上述可能的实现方式中,AMF实体可以根据终端设备的PLMN标识和AMF实体的PLMN确定终端设备是处于非漫游或者LBO漫游或者home router漫游场景,具体的,该实现过程可参照现有技术,在此不再赘述。In the foregoing possible implementation manner, the AMF entity may determine, according to the PLMN identity of the terminal device and the PLMN of the AMF entity, that the terminal device is in a non-roaming or LBO roaming or home router roaming scenario. Specifically, the implementation process may refer to the prior art. I will not repeat them here.
需要说明的是,当目标AMF实体为其他AMF实体时,AMF实体向目标AMF实体发送重定向指示;目标AMF实体从AMF实体接收重定向指示,目标AMF实体根据重定向 指示向控制面功能实体发送会话切换请求。其中,所述重定向指示可以携带有AMF实体确定出的PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、以及AMF实体从MME接收的终端设备的上下文中PDN连接对应的控制面功能实体的地址信息。如:AMF实体1在执行步骤1206之后,确定目标AMF实体为AMF实体2,则AMF实体1向AMF实体2发送携带有控制面功能实体的地址信息的重定向指示,由AMF实体2向控制面功能实体发送会话切换请求。It should be noted that, when the target AMF entity is another AMF entity, the AMF entity sends a redirection indication to the target AMF entity; the target AMF entity receives a redirection indication from the AMF entity, and the target AMF entity sends the redirection indication to the control plane function entity according to the redirection indication. Session switch request. The redirection indication may carry the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection determined by the AMF entity, and the PDN connection corresponding to the context of the terminal device received by the AMF entity from the MME. The address information of the control surface function entity. For example, after performing step 1206, the AMF entity 1 determines that the target AMF entity is the AMF entity 2, and the AMF entity 1 sends a redirection indication carrying the address information of the control plane functional entity to the AMF entity 2, and the AMF entity 2 goes to the control plane. The functional entity sends a session switch request.
步骤1208:控制面功能实体接收会话切换请求,根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息更新PDU会话。Step 1208: The control plane function entity receives the session switching request, and updates the PDU session according to the network slice information corresponding to the handover of the PDN connection in the PDN connection to the 5G network.
其中,控制面功能实体更新PDU会话可以指:控制面功能实体将会话的用户面路径更新为经过目标接入网设备(即图1或图2或图3中的NG-RAN设备)。具体的,该更新PDU会话的过程可参考现有的流程,在此不予赘述。The control plane function entity updating the PDU session may refer to: the control plane function entity updates the user plane path of the session to the target access network device (ie, the NG-RAN device in FIG. 1 or FIG. 2 or FIG. 3). Specifically, the process of updating the PDU session may refer to the existing process, and details are not described herein.
至此,将PDN连接切换到PDU会话中。需要说明的是,步骤1201~步骤1208仅对将一个PDN连接切换到PDU会话的过程进行了示例性说明,其他多个PDN连接切换到PDU会话的过程可参照此过程,在此不再赘述。At this point, the PDN connection is switched to the PDU session. It should be noted that the process of switching the PDN connection to the PDU session is exemplified in the following steps. The process of switching the other PDN connections to the PDU session may refer to this process, and details are not described herein again.
基于图12提供的会话切换方法,控制面功能实体确定PDN连接对应的网络切片信息,并将确定的PDN连接切换到5G网络时对应的网络切片信息通过MME向AMF实体发送,以便AMF实体根据PDN连接切换到5G网络时对应的网络切片信息以及签约的网络切片信息确定PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息,并将PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息发送给控制面功能实体,控制面功能实体根据该网络切片信息,在该PDN连接对应的网络切片中建立PDU会话,实现将PDN连接切换到PDU会话。也就是说,本方案解决了现有技术中无法确定支持PDN连接切片的的网络切片的问题,实现了PDN连接与PDU会话间的切换。Based on the session switching method provided in FIG. 12, the control plane function entity determines the network slice information corresponding to the PDN connection, and the corresponding network slice information is sent by the MME to the AMF entity when the determined PDN connection is switched to the 5G network, so that the AMF entity according to the PDN Corresponding network slice information and the contracted network slice information when the connection is switched to the 5G network determines the network slice information corresponding to the switchable PDN connection in the PDN connection to the 5G network, and switches the PDN connection that can be switched in the PDN connection to 5G. The network slice information corresponding to the network is sent to the control plane function entity, and the control plane function entity establishes a PDU session in the network slice corresponding to the PDN connection according to the network slice information, so as to switch the PDN connection to the PDU session. That is to say, the solution solves the problem that the network slice supporting the PDN connection slice cannot be determined in the prior art, and implements switching between the PDN connection and the PDU session.
图13示出了上述实施例中涉及的控制面功能实体的一种可能的组成示意图,如图13所示,该控制面功能实体可以包括:确定单元131、发送单元132。FIG. 13 is a schematic diagram showing a possible composition of the control plane function entity involved in the foregoing embodiment. As shown in FIG. 13 , the control plane function entity may include: a determining unit 131 and a sending unit 132.
确定单元131,用于确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;发送单元132,用于向MME发送PDN连接切换到5G网络时对应的网络切片信息。The determining unit 131 is configured to determine network slice information corresponding to when the packet data network PDN connection is switched to the fifth generation 5G network, and the sending unit 132 is configured to send, to the MME, network slice information corresponding to when the PDN connection is switched to the 5G network.
在一种可能的设计中,确定单元131,具体用于根据PDN连接的信息与网络切片信息的对应关系,确定PDN连接切换到5G网络时对应的网络切片信息;其中,PDN连接的信息包括PDN连接对应的接入点名称APN。In a possible design, the determining unit 131 is configured to determine, according to the correspondence between the information of the PDN connection and the network slice information, the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the PDN connection information includes the PDN. Connect the corresponding access point name APN.
在又一种可能的设计中,发送单元132,还用于向MME发送PDN连接切换到5G网络时对应的网络切片信息的优先级的信息。In yet another possible design, the sending unit 132 is further configured to send, to the MME, information about a priority of the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
在又一种可能的设计中,发送单元92,具体用于将PDN连接切换到5G网络时对应的网络切片信息携带在第一消息中向MME发送;其中,第一消息用于指示MME将PDN连接切换到5G网络时对应的网络切片信息存储在终端设备的上下文中。In another possible design, the sending unit 92 is configured to: when the PDN connection is switched to the 5G network, the corresponding network slice information is sent to the MME in the first message, where the first message is used to indicate that the MME is to use the PDN. The corresponding network slice information when the connection is switched to the 5G network is stored in the context of the terminal device.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的控制面功能实体,用于执行上述会话切换方法,因此可以达到与上述会话切换方法相同的效果。It should be noted that all the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again. The control plane function entity provided by the embodiment of the present application is used to execute the foregoing session switching method, so that the same effect as the above session switching method can be achieved.
在采用集成的单元的情况下,图13所示控制面功能实体可以包括处理模块和通信模块,处理模块用于对控制面功能实体的动作进行控制管理。通信模块用于支持控制面功能实体与其他网络实体的通信,例如与图1示出的功能模块或网络实体之间的通信。控制面功能实体还可以包括存储模块,用于存储服务器的程序代码和数据。In the case of an integrated unit, the control plane function entity shown in FIG. 13 may include a processing module and a communication module, and the processing module is used to control and manage the actions of the control plane function entity. The communication module is used to support communication between the control plane functional entity and other network entities, such as communication with the functional modules or network entities shown in FIG. The control plane functional entity may also include a storage module for storing program code and data of the server.
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块可以是收发器、收发电路或通信接口等。存储模块可以是存储器。当处理模块为处理器,通信模块为通信接口,存储模块为存储器时,本申请实施例所涉及的服务器可以为图4所示的通信设备。The processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module can be a transceiver, a transceiver circuit, or a communication interface. The storage module can be a memory. When the processing module is a processor, the communication module is a communication interface, and the storage module is a memory, the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
在采用对应各个功能划分各个功能模块的情况下,图14示出了上述实施例中涉及的MME的一种可能的组成示意图,如图14所示,该MME可以包括:接收单元141、发送单元142。FIG. 14 is a schematic diagram showing a possible composition of the MME involved in the foregoing embodiment. As shown in FIG. 14, the MME may include: a receiving unit 141 and a sending unit. 142.
接收单元141,用于从控制面功能实体接收PDN连接切换到第五代5G网络时对应的网络切片信息;发送单元142,用于向AMF实体发送终端设备的上下文,终端设备的上下文包括PDN连接切换到第五代5G网络时对应的网络切片信息、以及PDN连接的信息,PDN连接的信息包括PDN连接对应的控制面功能实体的地址信息。The receiving unit 141 is configured to receive, from the control plane function entity, the network slice information corresponding to the PDN connection when the PDN connection is switched to the fifth generation 5G network, and the sending unit 142 is configured to send the context of the terminal device to the AMF entity, where the context of the terminal device includes the PDN connection. Corresponding network slice information and PDN connection information when switching to the fifth generation 5G network, the PDN connection information includes address information of the control plane function entity corresponding to the PDN connection.
在又一种可能的设计中,接收单元141,具体用于接收终端设备发送的携带有PDN连接切换到5G网络时对应的网络切片信息的第一消息;其中,第一消息用于指示MME将PDN连接切换到5G网络时对应的网络切片信息存储在终端设备的上下文中。In a further possible design, the receiving unit 141 is specifically configured to receive, by the terminal device, a first message that carries the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, where the first message is used to indicate that the MME The corresponding network slice information when the PDN connection is switched to the 5G network is stored in the context of the terminal device.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的MME用于执行上述会话切换方法,因此可以达到与上述会话切换方法相同的效果。It should be noted that all the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again. The MME provided in this embodiment of the present application is used to perform the foregoing session switching method, and thus the same effect as the above-described session switching method can be achieved.
在采用集成的单元的情况下,MME可以包括处理模块和通信模块,处理模块用于对MME的动作进行控制管理。通信模块用于支持MME与其他网络实体的通信,例如与图1示出的功能模块或网络实体之间的通信。MME还可以包括存储模块,用于存储服务器的程序代码和数据。其中,处理模块可以是处理器或控制器。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块可以是收发器、收发电路或通信接口等。存储模块可以是存储器。当处理模块为处理器,通信模块为通信接口,存储模块为存储器时,本申请实施例所涉及的服务器可以为图4所示的通信设备。In the case of adopting an integrated unit, the MME may include a processing module and a communication module, and the processing module is configured to control and manage the actions of the MME. The communication module is used to support communication between the MME and other network entities, such as with the functional modules or network entities shown in FIG. The MME may also include a storage module for storing program code and data of the server. The processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module can be a transceiver, a transceiver circuit, or a communication interface. The storage module can be a memory. When the processing module is a processor, the communication module is a communication interface, and the storage module is a memory, the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
在采用对应各个功能划分各个功能模块的情况下,图15示出了上述实施例中涉及的AMF的一种可能的组成示意图,如图15所示,该AMF可以包括:接收单元151、获取单元152、发送单元153、确定单元154。FIG. 15 is a schematic diagram showing a possible composition of the AMF involved in the foregoing embodiment. As shown in FIG. 15 , the AMF may include: a receiving unit 151 and an acquiring unit. 152. The sending unit 153 and the determining unit 154.
接收单元151,用于从MME接收PDN连接切换到第五代5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息;The receiving unit 151 is configured to receive, from the MME, network slice information corresponding to the PDN connection when the PDN connection is switched to the fifth generation 5G network, and address information of the control plane function entity corresponding to the PDN connection;
获取单元152,用于根据PDN连接切换到5G网络时对应的网络切片信息,获取PDN连接中允许切换的PDN连接切换到5G网络时对应的网络切片信息;The obtaining unit 152 is configured to obtain, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, the network slice information corresponding to the PDN connection that is allowed to be switched in the PDN connection to be switched to the 5G network;
发送单元153,用于根据PDN连接对应的控制面功能实体的地址信息向控制面功能实体发送会话切换请求,会话切换请求用于请求将PDN连接切换到协议数据单元PDU会话。The sending unit 153 is configured to send a session switching request to the control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switching request is used to request to switch the PDN connection to the protocol data unit PDU session.
一种可能的设计中,接收单元151,还用于接收终端设备签约的网络切片信息;获取单 元152,用于根据PDN连接切换到5G网络时对应的网络切片信息以及终端设备签约的网络切片信息,获取PDN连接中允许切换的PDN连接切换到5G网络时对应的网络切片信息In a possible design, the receiving unit 151 is further configured to receive the network slice information subscribed by the terminal device, and the acquiring unit 152 is configured to: according to the network slice information corresponding to the handover of the PDN connection to the 5G network, and the network slice information subscribed by the terminal device Obtain the corresponding network slice information when the PDN connection allowed in the PDN connection is switched to the 5G network.
又一种可能的设计中,确定单元154,用于当建立PDN连接的终端设备处于归属路由home router漫游时,根据PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片确定拜访地控制面功能实体;In another possible design, the determining unit 154 is configured to: when the terminal device that establishes the PDN connection is in the home route home router roaming, according to the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection Network slice determines the functional entity of the visited control plane;
发送单元153,具体用于向拜访地控制面功能实体发送携带有PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、PDN连接对应的控制面功能实体的地址信息的会话建立请求,会话建立请求用于指示拜访地控制面功能实体向归属地控制面功能实体发送会话切换请求。The sending unit 153 is configured to send, to the visited control plane function entity, a session establishment that carries the network slice information corresponding to the PDN connection switchable to the 5G network and the address information of the control plane function entity corresponding to the PDN connection The request, the session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的AMF实体,用于执行上述会话切换方法,因此可以达到与上述会话切换方法相同的效果。It should be noted that all the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again. The AMF entity provided in this embodiment of the present application is used to perform the foregoing session switching method, so that the same effect as the above session switching method can be achieved.
在采用集成的单元的情况下,AMF实体可以包括处理模块和通信模块,处理模块用于对AMF实体的动作进行控制管理。通信模块用于支持AMF实体与其他网络实体的通信,例如与图1示出的功能模块或网络实体之间的通信。AMF实体还可以包括存储模块,用于存储服务器的程序代码和数据。其中,处理模块可以是处理器或控制器。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块可以是收发器、收发电路或通信接口等。存储模块可以是存储器。当处理模块为处理器,通信模块为通信接口,存储模块为存储器时,本申请实施例所涉及的服务器可以为图4所示的通信设备。In the case of an integrated unit, the AMF entity may include a processing module and a communication module, and the processing module is used to control and manage the actions of the AMF entity. The communication module is used to support communication between the AMF entity and other network entities, such as communication with the functional modules or network entities shown in FIG. The AMF entity may also include a storage module for storing program code and data of the server. The processing module can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module can be a transceiver, a transceiver circuit, or a communication interface. The storage module can be a memory. When the processing module is a processor, the communication module is a communication interface, and the storage module is a memory, the server involved in the embodiment of the present application may be the communication device shown in FIG. 4 .
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application has been described herein in connection with the various embodiments, those skilled in the art can Other variations of the disclosed embodiments are achieved. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill several of the functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that the measures are not combined to produce a good effect.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精 神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。While the present invention has been described in connection with the specific embodiments and embodiments thereof, various modifications and combinations may be made without departing from the spirit and scope of the application. Accordingly, the description and drawings are to be regarded as It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (32)

  1. 一种会话切换方法,其特征在于,所述方法包括:A session switching method, characterized in that the method comprises:
    第一设备确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;Determining, by the first device, network slice information corresponding to the packet data network PDN connection when switching to the fifth generation 5G network;
    所述第一设备向移动性管理实体发送所述PDN连接切换到5G网络时对应的网络切片信息。The first device sends, to the mobility management entity, network slice information corresponding to when the PDN connection is switched to the 5G network.
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备确定PDN连接切换到5G网络时对应的网络切片信息,包括:The method according to claim 1, wherein the first device determines the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and includes:
    所述第一设备根据PDN连接的信息与网络切片信息的对应关系,确定所述PDN连接切换到5G网络时对应的网络切片信息;Determining, by the first device, the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, according to the correspondence between the PDN connection information and the network slice information;
    其中,所述PDN连接的信息包括所述PDN连接对应的接入点名称APN。The information about the PDN connection includes an access point name APN corresponding to the PDN connection.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一设备为终端设备,在第一设备确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息之前,所述方法还包括:The method according to claim 1 or 2, wherein the first device is a terminal device, and before the first device determines that the packet data network PDN connection is switched to the network slice information corresponding to the fifth generation 5G network, The method also includes:
    所述第一设备根据所述PDN连接对应的应用的策略信息,确定所述第一设备已建立的PDN连接中切换到5G网络的PDN连接;或者,Determining, by the first device, the PDN connection switched to the 5G network in the PDN connection established by the first device according to the policy information of the application corresponding to the PDN connection; or
    当第一设备自身支持5G网络通信能力时,所述第一设备确定已建立的所有PDN连接都切换到5G网络。When the first device itself supports the 5G network communication capability, the first device determines that all established PDN connections are switched to the 5G network.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    所述第一设备向所述移动性管理实体发送所述PDN连接切换到5G网络时对应的网络切片信息的优先级的信息。And the first device sends, to the mobility management entity, information about a priority of the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,当建立所述PDN连接的终端设备处于漫游时;所述PDN连接切换到5G网络时的网络切片信息为所述PDN连接切换到5G网络时拜访地的网络切片信息,所述第一设备确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息,包括:The method according to any one of claims 1-4, wherein when the terminal device establishing the PDN connection is roaming; the network slice information when the PDN connection is switched to the 5G network is the PDN connection handover The network slice information of the visited site when the 5G network is visited, the first device determines the network slice information corresponding to the packet data network PDN connection when switching to the fifth generation 5G network, including:
    所述第一设备根据所述PDN连接对应的应用的策略信息,确定所述PDN连接切换到5G网络时归属地的网络切片信息;Determining, by the first device, the network slice information of the home location when the PDN connection is switched to the 5G network, according to the policy information of the application corresponding to the PDN connection;
    所述第一设备根据所述PDN连接切换到5G网络时归属地的网络切片信息、以及归属地网络切片信息和拜访地网络切片信息间的映射关系,确定所述PDN连接切换到5G网络时拜访地的网络切片信息。Determining, by the first device, the network slice information of the home location when the PDN connection is switched to the 5G network, and the mapping relationship between the home network slice information and the visited network slice information, and determining that the PDN connection is switched to the 5G network. Network slice information.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,A method according to any one of claims 1 to 5, wherein
    所述移动性管理实体为移动管理实体MME或者接入和移动性管理功能AMF实体。The mobility management entity is a mobility management entity MME or an access and mobility management function AMF entity.
  7. 根据权利要求6所述的方法,其特征在于,当所述移动性管理实体为所述MME时,所述第一设备向移动性管理实体发送所述PDN连接切换到5G网络时对应的网络切片信息,包括:The method according to claim 6, wherein when the mobility management entity is the MME, the first device sends a network slice corresponding to the mobility management entity when the PDN connection is switched to a 5G network. Information, including:
    所述第一设备将所述PDN连接切换到5G网络时对应的网络切片信息携带在第一消息中向所述MME发送;When the first device switches the PDN connection to the 5G network, the corresponding network slice information is carried in the first message and sent to the MME;
    其中,所述第一消息用于指示所述MME将所述PDN连接切换到5G网络时对应的网络切片信息存储在所述终端设备的上下文中。The first message is used to indicate that the network slice information corresponding to the MME when the PDN connection is switched to the 5G network is stored in the context of the terminal device.
  8. 根据权利要求6所述的方法,其特征在于,当所述移动性管理实体为所述AMF实体 时,所述第一设备为终端设备,所述第一设备向移动性管理实体发送所述PDN连接切换到5G网络时对应的网络切片信息,包括:The method according to claim 6, wherein when the mobility management entity is the AMF entity, the first device is a terminal device, and the first device sends the PDN to a mobility management entity. Corresponding network slice information when the connection is switched to the 5G network, including:
    所述第一设备将所述PDN连接切换到5G网络时对应的网络切片信息携带在注册请求中向所述AMF实体发送。When the first device switches the PDN connection to the 5G network, the corresponding network slice information is carried in the registration request and sent to the AMF entity.
  9. 一种会话切换方法,其特征在于,所述方法包括:A session switching method, characterized in that the method comprises:
    移动管理实体MME从第一设备接收分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;The mobility management entity MME receives the network slice information corresponding to the packet data network PDN connection when switching to the fifth generation 5G network from the first device;
    所述MME向接入和移动性管理功能AMF实体发送所述终端设备的上下文,所述终端设备的上下文包括所述PDN连接切换到第五代5G网络时对应的网络切片信息、以及PDN连接的信息,所述PDN连接的信息包括所述PDN连接对应的控制面功能实体的地址信息。Transmitting, by the MME, the context of the terminal device to an access and mobility management function AMF entity, where the context of the terminal device includes network slice information corresponding to the PDN connection when the PDN connection is switched to the fifth generation 5G network, and the PDN connection Information, the information of the PDN connection includes address information of a control plane function entity corresponding to the PDN connection.
  10. 根据权利要求9所述的方法,其特征在于,所述移动管理实体MME从第一设备接收分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息,包括:The method according to claim 9, wherein the mobility management entity MME receives, from the first device, the network slice information corresponding to the packet data network PDN connection when switching to the fifth generation 5G network, including:
    所述MME接收所述终端设备发送的携带有所述PDN连接切换到5G网络时对应的网络切片信息的第一消息;Receiving, by the MME, a first message that is sent by the terminal device and carries network slice information corresponding to when the PDN connection is switched to a 5G network;
    其中,所述第一消息用于指示所述MME将所述PDN连接切换到5G网络时对应的网络切片信息存储在所述终端设备的上下文中。The first message is used to indicate that the network slice information corresponding to the MME when the PDN connection is switched to the 5G network is stored in the context of the terminal device.
  11. 根据权利要求9或10所述的方法,其特征在于,Method according to claim 9 or 10, characterized in that
    所述PDN连接的信息还包括所述PDN连接对应的接入点名称APN。The information about the PDN connection further includes an access point name APN corresponding to the PDN connection.
  12. 一种会话切换方法,其特征在于,所述方法包括:A session switching method, characterized in that the method comprises:
    接入和移动性管理功能AMF实体获取分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息、所述PDN连接对应的控制面功能实体的地址信息、以及所述终端设备签约的网络切片信息;The access and mobility management function AMF entity acquires the network slice information corresponding to the packet data network when the PDN connection is switched to the fifth generation 5G network, the address information of the control plane function entity corresponding to the PDN connection, and the subscription of the terminal device Network slice information;
    所述AMF实体根据所述所述PDN连接切换到5G网络时对应的网络切片信息、以及所述终端设备签约的网络切片信息,获取所述PDN连接中允许切换的PDN连接切换到5G网络时对应的网络切片信息;The AMF entity obtains, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is subscribed by the terminal device, and obtains a corresponding when the PDN connection allowed to be switched in the PDN connection is switched to the 5G network. Network slice information;
    所述AMF实体根据所述PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求,所述会话切换请求用于请求将所述PDN连接切换到协议数据单元PDU会话。The AMF entity sends a session switch request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switch request is used to request to switch the PDN connection to the protocol data unit PDU session. .
  13. 根据权利要求12所述的方法,其特征在于,所述接入和移动性管理功能AMF实体获取分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息,包括:The method according to claim 12, wherein the access and mobility management function AMF entity obtains network slice information corresponding to a packet data network PDN connection when switching to a fifth generation 5G network, including:
    所述AMF实体从移动管理实体MME获取所述PDN连接切换到第五代5G网络时对应的网络切片信息;或者,Obtaining, by the AMF entity, the network slice information corresponding to the PDN connection when the PDN connection is switched to the fifth generation 5G network; or
    所述AMF实体从终端设备获取所述PDN连接切换到第五代5G网络时对应的网络切片信息。The AMF entity acquires network slice information corresponding to the PDN connection when the PDN connection is switched to the fifth generation 5G network.
  14. 根据权利要求13所述的方法,其特征在于,当所述AMF实体从终端设备获取所述PDN连接切换到第五代5G网络时对应的网络切片信息时,所述接入和移动性管理功能AMF实体获取分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息,包括:The method according to claim 13, wherein when the AMF entity acquires corresponding network slice information when the PDN connection is switched to the fifth generation 5G network from the terminal device, the access and mobility management function The AMF entity obtains the network slice information corresponding to the packet data network PDN connection when switching to the fifth generation 5G network, including:
    所述AMF实体接收所述终端设备发送的携带有所述PDN连接切换到5G网络时对应的网络切片信息的注册请求,从所述注册请求中获取所述PDN连接切换到5G网络时对应的网络切片信息。The AMF entity receives a registration request that is sent by the terminal device and carries the network slice information corresponding to the PDN connection to the 5G network, and obtains a network corresponding to the PDN connection when the PDN connection is switched to the 5G network. Slice information.
  15. 根据权利要求12-14任一项所述的方法,其特征在于,所述AMF实体根据所述PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求,包括:The method according to any one of claims 12 to 14, wherein the AMF entity sends a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, including:
    当所述AMF实体确定建立所述PDN连接的终端设备处于归属路由home router漫游时,所述AMF实体根据所述PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网络切片、以及所述PDN连接切换到5G网络时对应的数据网络名称DNN确定拜访地控制面功能实体;When the AMF entity determines that the terminal device that establishes the PDN connection is in the home route home router roaming, the AMF entity indicates, according to the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection. The network slice and the corresponding data network name DNN when the PDN connection is switched to the 5G network determine the visited control plane function entity;
    所述AMF实体向所述拜访地控制面功能实体发送携带有所述PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、所述PDN连接对应的控制面功能实体的地址信息的会话建立请求,所述会话建立请求用于指示所述拜访地控制面功能实体向所述归属地控制面功能实体发送会话切换请求。Transmitting, by the AMF entity, the network slice information corresponding to the PDN connection switchable to the 5G network in the PDN connection, and the address information of the control plane function entity corresponding to the PDN connection to the visited control plane function entity a session establishment request, the session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity.
  16. 一种第一设备,其特征在于,所述第一设备包括:A first device, wherein the first device comprises:
    确定单元,用于确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;a determining unit, configured to determine corresponding network slice information when the packet data network PDN connection is switched to the fifth generation 5G network;
    发送单元,用于向移动性管理实体发送所述PDN连接切换到5G网络时对应的网络切片信息。And a sending unit, configured to send, to the mobility management entity, network slice information corresponding to when the PDN connection is switched to the 5G network.
  17. 根据权利要求16所述的第一设备,其特征在于,The first device of claim 16 wherein:
    所述确定单元,具体用于根据PDN连接的信息与网络切片信息的对应关系,确定所述PDN连接切换到5G网络时对应的网络切片信息;The determining unit is specifically configured to determine network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, according to the correspondence between the PDN connection information and the network slice information.
    其中,所述PDN连接的信息包括所述PDN连接对应的接入点名称APN。The information about the PDN connection includes an access point name APN corresponding to the PDN connection.
  18. 根据权利要求16或17所述的第一设备,其特征在于,所述第一设备为终端设备,The first device according to claim 16 or 17, wherein the first device is a terminal device.
    所述确定单元,还用于在所述确定单元确定分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息之前,根据所述PDN连接对应的应用的策略信息,确定所述终端设备已建立的PDN连接中切换到5G网络的PDN连接;或者,当终端设备自身支持5G网络通信能力时,所述确定单元确定已建立的所有PDN连接都切换到5G网络。The determining unit is further configured to determine, according to the policy information of the application corresponding to the PDN connection, before the determining unit determines that the packet data network PDN connection is switched to the network slice information corresponding to the fifth generation 5G network, The device switches to the PDN connection of the 5G network in the established PDN connection; or, when the terminal device itself supports the 5G network communication capability, the determining unit determines that all established PDN connections are switched to the 5G network.
  19. 根据权利要求16-18任一项所述的第一设备,其特征在于,A first device according to any one of claims 16-18, wherein
    所述发送单元,还用于向所述移动性管理实体发送所述PDN连接切换到5G网络时对应的网络切片信息的优先级的信息。The sending unit is further configured to send, to the mobility management entity, information about a priority of the network slice information corresponding to when the PDN connection is switched to the 5G network.
  20. 根据权利要求16-19任一项所述的第一设备,其特征在于,当建立所述PDN连接的终端设备处于漫游时;所述PDN连接切换到5G网络时的网络切片信息为所述PDN连接切换到5G网络时拜访地的网络切片信息,所述确定单元,具体用于:The first device according to any one of claims 16 to 19, wherein when the terminal device establishing the PDN connection is roaming; the network slice information when the PDN connection is switched to the 5G network is the PDN The network slice information of the visited place when the connection is switched to the 5G network, and the determining unit is specifically configured to:
    根据所述PDN连接对应的应用的策略信息,确定所述PDN连接切换到5G网络时归属地的网络切片信息;Determining, according to the policy information of the application corresponding to the PDN connection, network slice information of the home location when the PDN connection is switched to the 5G network;
    根据所述PDN连接切换到5G网络时归属地的网络切片信息、以及归属地网络切片信息和拜访地网络切片信息间的映射关系,确定所述PDN连接切换到5G网络时拜访地的网络切片信息。Determining the network slice information of the visited place when the PDN connection is switched to the 5G network, according to the network slice information of the home location when the PDN connection is switched to the 5G network, and the mapping relationship between the home network slice information and the visited network slice information. .
  21. 根据权利要求16-20任一项所述的第一设备,其特征在于,A first device according to any one of claims 16 to 20, characterized in that
    所述移动性管理实体为移动管理实体MME或者接入和移动性管理功能AMF实体。The mobility management entity is a mobility management entity MME or an access and mobility management function AMF entity.
  22. 根据权利要求21所述的第一设备,其特征在于,当所述移动性管理实体为所述MME时,所述发送单元,具体用于将所述PDN连接切换到5G网络时对应的网络切片信息携带在第一消息中向所述MME发送;The first device according to claim 21, wherein, when the mobility management entity is the MME, the sending unit is specifically configured to switch the corresponding network slice when the PDN connection is switched to a 5G network. The information is carried in the first message and sent to the MME;
    其中,所述第一消息用于指示所述MME将所述PDN连接切换到5G网络时对应的网络切片信息存储在所述终端设备的上下文中。The first message is used to indicate that the network slice information corresponding to the MME when the PDN connection is switched to the 5G network is stored in the context of the terminal device.
  23. 根据权利要求21所述的第一设备,其特征在于,当所述移动性管理实体为所述AMF实体时,所述第一设备为终端设备,所述发送单元,具体用于将所述PDN连接切换到5G网络时对应的网络切片信息携带在注册请求中向所述AMF实体发送。The first device according to claim 21, wherein when the mobility management entity is the AMF entity, the first device is a terminal device, and the sending unit is specifically configured to use the PDN. The corresponding network slice information carried in the connection to the 5G network is carried in the registration request to the AMF entity.
  24. 一种移动管理实体MME,其特征在于,所述MME包括:A mobility management entity MME, where the MME includes:
    接收单元,用于从第一设备接收分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息;a receiving unit, configured to receive, from the first device, corresponding network slice information when the packet data network PDN connection is switched to the fifth generation 5G network;
    所述发送单元,还用于向接入和移动性管理功能AMF实体发送所述终端设备的上下文,所述终端设备的上下文包括所述PDN连接切换到第五代5G网络时对应的网络切片信息、以及PDN连接的信息,所述PDN连接的信息包括所述PDN连接对应的控制面功能实体的地址信息。The sending unit is further configured to send the context of the terminal device to an access and mobility management function AMF entity, where the context of the terminal device includes network slice information corresponding to when the PDN connection is switched to the fifth generation 5G network. And information of the PDN connection, where the information of the PDN connection includes address information of a control plane function entity corresponding to the PDN connection.
  25. 根据权利要求24所述的MME,其特征在于,The MME according to claim 24, characterized in that
    所述接收单元,具体用于从所述第一设备接收携带有所述PDN连接切换到5G网络时对应的网络切片信息的第一消息;The receiving unit is configured to receive, by the first device, a first message that carries network slice information corresponding to when the PDN connection is switched to a 5G network;
    其中,所述第一消息用于指示所述MME将所述PDN连接切换到5G网络时对应的网络切片信息存储在所述终端设备的上下文中。The first message is used to indicate that the network slice information corresponding to the MME when the PDN connection is switched to the 5G network is stored in the context of the terminal device.
  26. 根据权利要求24或25所述的MME,其特征在于,The MME according to claim 24 or 25, characterized in that
    所述PDN连接的信息还包括所述PDN连接对应的接入点名称APN。The information about the PDN connection further includes an access point name APN corresponding to the PDN connection.
  27. 一种接入和移动性管理功能AMF实体,其特征在于,所述AMF实体包括:An access and mobility management function AMF entity, characterized in that the AMF entity comprises:
    接收单元,用于接收分组数据网络PDN连接切换到第五代5G网络时对应的网络切片信息、所述PDN连接对应的控制面功能实体的地址信息、以及所述终端设备签约的网络切片信息;a receiving unit, configured to receive network slice information corresponding to a packet data network PDN connection switched to a fifth generation 5G network, address information of a control plane function entity corresponding to the PDN connection, and network slice information subscribed by the terminal device;
    获取单元,用于根据所述所述PDN连接切换到5G网络时对应的网络切片信息、以及所述终端设备签约的网络切片信息,获取所述PDN连接中允许切换的PDN连接切换到5G网络时对应的网络切片信息;An acquiring unit, configured to acquire, according to the network slice information corresponding to the PDN connection when the PDN connection is switched to the 5G network, and the network slice information that is subscribed by the terminal device, when the PDN connection allowed in the PDN connection is switched to the 5G network Corresponding network slice information;
    发送单元,用于根据所述PDN连接对应的控制面功能实体的地址信息向归属地控制面功能实体发送会话切换请求,所述会话切换请求用于请求将所述PDN连接切换到协议数据单元PDU会话。a sending unit, configured to send a session switching request to the home control plane function entity according to the address information of the control plane function entity corresponding to the PDN connection, where the session switching request is used to request to switch the PDN connection to the protocol data unit PDU Conversation.
  28. 根据权利要求27所述的AMF实体,其特征在于,The AMF entity according to claim 27, characterized in that
    所述接收单元,具体用于从移动管理实体MME接收所述PDN连接切换到第五代5G网络时对应的网络切片信息;或者,从终端设备接收所述PDN连接切换到第五代5G网络时对应的网络切片信息。The receiving unit is specifically configured to receive, from the mobility management entity MME, network slice information corresponding to when the PDN connection is switched to the fifth-generation 5G network, or when receiving, by the terminal device, the PDN connection is switched to the fifth-generation 5G network. Corresponding network slice information.
  29. 根据权利要求28所述的AMF实体,其特征在于,当所述AMF实体从终端设备接收所述PDN连接切换到第五代5G网络时对应的网络切片信息时,所述接收单元,具体用于:The AMF entity according to claim 28, wherein when the AMF entity receives the corresponding network slice information when the PDN connection is switched to the fifth generation 5G network, the receiving unit is specifically configured to: :
    接收所述终端设备发送的携带有所述PDN连接切换到5G网络时对应的网络切片信息的注册请求。And receiving a registration request that is sent by the terminal device and carries network slice information corresponding to when the PDN connection is switched to a 5G network.
  30. 根据权利要求27-29任一项所述的AMF实体,其特征在于,所述AMF实体还包括:The AMF entity according to any one of claims 27 to 29, wherein the AMF entity further comprises:
    确定单元,用于当建立所述PDN连接的终端设备处于归属路由home router漫游时,根据所述PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息所指示的网 络切片、以及所述PDN连接切换到5G网络时对应的数据网络名称DNN确定拜访地控制面功能实体;a determining unit, configured to: according to the network slice indicated by the network slice information corresponding to the PDN connection switchable to the 5G network, when the PDN connection terminal device is in the home route home router roaming, and When the PDN connection is switched to the 5G network, the corresponding data network name DNN determines the visited control plane function entity;
    所述发送单元,具体用于向所述拜访地控制面功能实体发送携带有所述PDN连接中能够切换的PDN连接切换到5G网络时对应的网络切片信息、所述PDN连接对应的控制面功能实体的地址信息的会话建立请求,所述会话建立请求用于指示所述拜访地控制面功能实体向所述归属地控制面功能实体发送会话切换请求。The sending unit is configured to send, to the visited control plane function entity, network slice information corresponding to a PDN connection switchable to the 5G network in the PDN connection, and a control plane function corresponding to the PDN connection a session establishment request of the address information of the entity, the session establishment request is used to instruct the visited control plane function entity to send a session handover request to the home control plane function entity.
  31. 一种计算机存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行所述权利要求1-15中任意一项所述的方法。A computer storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-15.
  32. 一种装置,其特征在于,包括:包括存储器以及与该存储器耦合的处理器;An apparatus, comprising: a memory and a processor coupled to the memory;
    所述存储器中保存有程序指令,当所述处理器执行所述程序指令时,使得所述装置执行上述权利要求1-15所述的方法。Program instructions are stored in the memory, and when the processor executes the program instructions, cause the apparatus to perform the method of claims 1-15 above.
PCT/CN2018/116279 2017-11-20 2018-11-19 Session switching method, device and system WO2019096318A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201711157254.4 2017-11-20
CN201711157254 2017-11-20
CN201810490565.0 2018-05-21
CN201810490565.0A CN109819488B (en) 2017-11-20 2018-05-21 Session switching method, device and system

Publications (1)

Publication Number Publication Date
WO2019096318A1 true WO2019096318A1 (en) 2019-05-23

Family

ID=66540048

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/116279 WO2019096318A1 (en) 2017-11-20 2018-11-19 Session switching method, device and system

Country Status (1)

Country Link
WO (1) WO2019096318A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017063708A1 (en) * 2015-10-15 2017-04-20 Telefonaktiebolaget Lm Ericsson (Publ) Apparatus and method for attaching user equipment to a mobile communications network
CN106851589A (en) * 2016-12-30 2017-06-13 北京小米移动软件有限公司 Wireless network access method, apparatus and system
CN106982458A (en) * 2017-03-09 2017-07-25 华为技术有限公司 A kind of system of selection of network section and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017063708A1 (en) * 2015-10-15 2017-04-20 Telefonaktiebolaget Lm Ericsson (Publ) Apparatus and method for attaching user equipment to a mobile communications network
CN106851589A (en) * 2016-12-30 2017-06-13 北京小米移动软件有限公司 Wireless network access method, apparatus and system
CN106982458A (en) * 2017-03-09 2017-07-25 华为技术有限公司 A kind of system of selection of network section and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NTT DOCOMO ET AL.: "TS 23.501: Network Slicing Interworking with EDecor", 3GPP SA WG2 MEETING #122BIS S2-176639, 25 August 2017 (2017-08-25), XP051335948 *
QUALCOMM INCORPORATED: "OI#4b - TS 23.501: Interworking between Slicing in 5GC and EPC", 3GPP SA WG2 MEETING #S2-123 S2-177080, 27 October 2017 (2017-10-27), XP051347036 *

Similar Documents

Publication Publication Date Title
US11533375B2 (en) Session establishment method and apparatus
CN109819488B (en) Session switching method, device and system
CN109673031B (en) Session establishment method, device and system
US11159933B2 (en) Mobility management method, apparatus, and system
US11026080B2 (en) Policy control function determining method, apparatus, and system
WO2020207178A1 (en) Roaming data processing method, apparatus and system
EP4142218A1 (en) Slice access method, device and system
CN110035423A (en) Conversation managing method, equipment and system
US20220210702A1 (en) Communication Method and Apparatus
WO2016000172A1 (en) Network device and method for allocating access point names
WO2021175210A1 (en) Method, apparatus and system for determining policy control network element
WO2019137521A1 (en) Session management method and device and system
WO2019096318A1 (en) Session switching method, device and system
RU2776778C2 (en) Method and equipment for establishing session

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18879158

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18879158

Country of ref document: EP

Kind code of ref document: A1