Session management method, terminal device and network device

Through cooperation between terminal equipment and network equipment, old slice information is released and new slice information is established, which solves the problem of business continuity when terminal equipment moves in the 5G network, realizes smooth session switching between different slice areas, and ensures improve the stability of data transmission.

CN116325832BActive Publication Date: 2024-10-25GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080105708.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-10
Publication Date
2024-10-25
Estimated Expiration
2040-11-10

Smart Images

  • Figure CN116325832B_ABST
    Figure CN116325832B_ABST
Patent Text Reader

Abstract

The present application relates to a session management method, a terminal device, and a network device. The method may include: when the terminal device leaves a first cell that supports first slice information and enters a second cell that does not support the first slice information, the terminal device receives second slice information supported by the second cell; the terminal device releases a session using the first slice information; the terminal device uses the second slice information to establish a session. In an embodiment of the present application, when the terminal device leaves a first cell that supports the first slice information and enters a second cell that does not support the first slice information, the terminal device receives the second slice information supported by the second cell, can release the session using the first slice information, and establish a session using the second slice information, which is conducive to maintaining the service continuity of the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and more specifically, to a session management method, a terminal device, and a network device. Background Art

[0002] Network slicing can be deployed in the fifth-generation communication (5th-Generation, 5G) network. Network slices can be identified using single-network slice selection assistance information (S-NSSAI). The collection of S-NSSAI is called network slice selection assistance information (NSSAI). When the user equipment (UE) needs to use the network slice, it needs to first request the network to use the slice. After the network agrees, it establishes a packet data unit (PDU) session in the slice to transmit data. When the network is deployed, base stations in different areas may support different network slices. When the UE moves to an area that supports different network slices, how to ensure business continuity is a problem that needs to be considered. Summary of the invention

[0003] The embodiments of the present application provide a session management method, a terminal device, and a network device, which can maintain the service continuity of the terminal device.

[0004] The present application provides a session management method, including:

[0005] When the terminal device leaves a first cell supporting the first slice information and enters a second cell that does not support the first slice information, the terminal device receives the second slice information supported by the second cell;

[0006] The terminal device releases the session using the first slice information;

[0007] The terminal device uses the second slice information to establish a session.

[0008] An embodiment of the present application provides a method in which, when a terminal device leaves a first cell supporting first slice information and enters a second cell that does not support the first slice information, a network device sends second slice information supported by the second cell to the terminal device.

[0009] The present application provides a terminal device, including:

[0010] A receiving unit, configured to receive second slice information supported by the second cell when the terminal device leaves the first cell supporting the first slice information and enters the second cell not supporting the first slice information;

[0011] A releasing unit, configured to release a session using the first slice information;

[0012] An establishing unit is used to establish a session using the second slice information.

[0013] The present application provides a network device, including:

[0014] A sending unit is used to send second slice information supported by the second cell to the terminal device when the terminal device leaves the first cell supporting the first slice information and enters the second cell that does not support the first slice information.

[0015] The embodiment of the present application provides a terminal device, including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, so that the terminal device executes the above-mentioned session management method.

[0016] The embodiment of the present application provides a network device, including a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, so that the network device executes the above-mentioned session management method.

[0017] An embodiment of the present application provides a chip for implementing the above-mentioned session management method.

[0018] Specifically, the chip includes: a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip executes the above-mentioned session management method.

[0019] An embodiment of the present application provides a computer-readable storage medium for storing a computer program, which, when executed by a device, enables the device to execute the above-mentioned session management method.

[0020] An embodiment of the present application provides a computer program product, including computer program instructions, which enable a computer to execute the above-mentioned session management method.

[0021] An embodiment of the present application provides a computer program, which, when executed on a computer, enables the computer to execute the above-mentioned session management method.

[0022] In an embodiment of the present application, when a terminal device leaves a first cell that supports first slice information and enters a second cell that does not support the first slice information, the terminal device receives second slice information supported by the second cell, can release the session using the first slice information, and establish a session using the second slice information, which is conducive to maintaining business continuity of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a schematic diagram of an application scenario according to an embodiment of the present application.

[0024] Figure 2 is a schematic diagram of an exemplary 5G network system architecture.

[0025] Figure 3 is a schematic diagram of an exemplary network slice.

[0026] Figure 4 It is a schematic flowchart of a session management method according to an embodiment of the present application.

[0027] Figure 5 It is a schematic flowchart of a session management method according to another embodiment of the present application.

[0028] Figure 6 It is a schematic flowchart of a session management method according to another embodiment of the present application.

[0029] Figure 7 It is a schematic flowchart of a session management method according to another embodiment of the present application.

[0030] Figure 8 It is a schematic block diagram of a terminal device according to an embodiment of the present application.

[0031] Fig. 9 It is a schematic block diagram of a terminal device according to another embodiment of the present application.

[0032] Fig.10 is a schematic block diagram of a network device according to an embodiment of the present application.

[0033] Fig.11 is a schematic block diagram of a network device according to another embodiment of the present application.

[0034] Fig.12 It is a schematic block diagram of a communication device according to an embodiment of the present application.

[0035] Fig.13 is a schematic block diagram of a chip according to an embodiment of the present application.

[0036] Fig.14 It is a schematic block diagram of a communication system according to an embodiment of the present application. DETAILED DESCRIPTION

[0037] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0038] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced Long Term Evolution (LTE-A) system, New Radio (NR) system, NR system evolution system, LTE on unlicensed spectrum (LTE-U) system, NR on unlicensed spectrum (NR-U) system, Non-Terrestrial Networks (NTN) system, Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN), Wireless Fidelity (Wireless Fidelity) system. Fidelity, WiFi), fifth-generation communication (5th-Generation, 5G) system or other communication systems, etc.

[0039] Generally speaking, traditional communication systems support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communications, but will also support, for example, device to device (Device to Device, D2D) communication, machine to machine (Machine to Machine, M2M) communication, machine type communication (Machine Type Communication, MTC), vehicle to vehicle (V2V) communication, or vehicle to everything (V2X) communication, etc. The embodiments of the present application can also be applied to these communication systems.

[0040] Optionally, the communication system in the embodiment of the present application can be applied to a carrier aggregation (CA) scenario, a dual connectivity (DC) scenario, or a standalone (SA) networking scenario.

[0041] Optionally, the communication system in the embodiment of the present application can be applied to an unlicensed spectrum, wherein the unlicensed spectrum can also be considered as a shared spectrum; or, the communication system in the embodiment of the present application can also be applied to an authorized spectrum, wherein the authorized spectrum can also be considered as an unshared spectrum.

[0042] The embodiments of the present application describe various embodiments in conjunction with network devices and terminal devices, wherein the terminal device may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc.

[0043] The terminal device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a next-generation communication system such as an NR network, or a terminal device in a future evolved Public Land Mobile Network (PLMN) network, etc.

[0044] In the embodiments of the present application, the terminal device can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (for example, on airplanes, balloons and satellites, etc.).

[0045] In the embodiment of the present application, the terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self driving, a wireless terminal device in remote medical, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.

[0046] As an example but not limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

[0047] In an embodiment of the present application, the network device may be a device for communicating with a mobile device. The network device may be an access point (AP) in WLAN, a base station (Base Transceiver Station, BTS) in GSM or CDMA, a base station (NodeB, NB) in WCDMA, an evolved base station (EvolutionalNode B, eNB or eNodeB) in LTE, or a relay station or access point, or a vehicle-mounted device, a wearable device, and a network device (gNB) in an NR network, or a network device in a future evolved PLMN network, or a network device in an NTN network, etc.

[0048] As an example but not limitation, in an embodiment of the present application, the network device may have a mobile characteristic, for example, the network device may be a mobile device. Optionally, the network device may be a satellite or a balloon station. For example, the satellite may be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geostationary earth orbit (GEO) satellite, a high elliptical orbit (HEO) satellite, etc. Optionally, the network device may also be a base station set up in a location such as land or water.

[0049] In an embodiment of the present application, the network device can provide services for a cell, and the terminal device communicates with the network device through the transmission resources used by the cell (for example, frequency domain resources, or spectrum resources). The cell can be a cell corresponding to the network device (for example, a base station), and the cell can belong to a macro base station or a base station corresponding to a small cell. The small cells here may include: metro cells, micro cells, pico cells, femto cells, etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-speed data transmission services.

[0050] Figure 1 A communication system 100 is exemplarily shown. The communication system includes a network device 110 and two terminal devices 120. Optionally, the communication system 100 may include multiple network devices 110, and each network device 110 may include other number of terminal devices 120 within its coverage area, which is not limited in the present embodiment.

[0051] Optionally, the communication system 100 may also include other network entities such as a mobility management entity (Mobility Management Entity, MME), an access and mobility management function (Access and Mobility Management Function, AMF), etc., which is not limited in the embodiments of the present application.

[0052] Among them, the network equipment may include access network equipment and core network equipment. That is, the wireless communication system also includes multiple core networks for communicating with the access network equipment. The access network equipment may be an evolutionary base station (evolutional node B, referred to as eNB or e-NodeB) macro base station, micro base station (also called "small base station"), micro-micro base station, access point (AP), transmission point (TP) or new generation base station (new generation Node B, gNodeB) in a long-term evolution (LTE) system, a next-generation (mobile communication system) (next radio, NR) system or an authorized auxiliary access long-term evolution (LAA-LTE) system.

[0053] It should be understood that the device with communication function in the network / system in the embodiment of the present application can be referred to as a communication device. Figure 1 Taking the communication system shown as an example, the communication equipment may include network equipment and terminal equipment with communication functions. The network equipment and terminal equipment may be specific equipment in the embodiments of the present application and will not be repeated here. The communication equipment may also include other equipment in the communication system, such as network controllers, mobile management entities and other network entities, which are not limited to the embodiments of the present application.

[0054] It should be understood that the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0055] It should be understood that the "indication" mentioned in the embodiments of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, B can be obtained through C; it can also mean that there is an association relationship between A and B.

[0056] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship between indication and being indicated, configuration and being configured, and the like.

[0057] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.

[0058] Figure 2 The 5G network system architecture is shown in an exemplary manner. Among them, the UE connects to the access network (AN) at the access layer through the Uu wireless interface, exchanges access layer messages and wireless data transmission, and the UE connects to the access and mobility management function (AMF) at the non-access layer (NAS) through the N1 interface to exchange NAS messages. The AMF is responsible for the access and mobility management network element in the core network, and the session management function (SMF) is responsible for the session management network element in the core network. In addition to the mobility management of the UE, the AMF is also responsible for forwarding the session management related messages between the UE and the SMF. The Policy Control Function (PCF) is a policy management function in the core network, which is responsible for formulating policies related to the mobility management, session management, and billing of the UE. The User Plane Function (UPF) is a user plane function in the core network, which transmits data with the external data network through the N6 interface and with the AN (or RAN) through the N3 interface.

[0059] After the UE accesses the 5G network through the Uu port, it transmits service data through the network. When the service is initiated, the network layer of the UE obtains the QoS requirements of the service from the upper layer (such as the operating system or application), and the UE converts the QoS requirements of the service into QoS parameters of the Uu interface, and transmits data through the corresponding QoS flow between the UE and UPF under the control of the SMF.

[0060] In a network slicing application scenario, the UE places the requested S-NSSAI in the requested NSSAI according to the service, and the requested NSSAI is included in the registration request and sent to the AMF. The AMF determines the allowed NSSAI according to the scope of the UE's contract and the network slice deployment, and places it in the registration accept message to the UE, or it can be sent to the base station RAN (Radio Access Network) in the message of the N2 interface.

[0061] After receiving the allowed NSSAI, the UE needs to establish a PDU session in the slices in the allowed NSSAI. Data can be sent and received only after the PDU session is established.

[0062] During network deployment, the coverage of each slice may be different. When AMF decides the allowed NSSAI, it needs to ensure that all slices in the allowed NSSAI can be covered by the registration area (RA) assigned to the UE by AMF. For example, RA can be a tracking area list (TA list), which consists of one or more TAs. AMF obtains the S-NSSAI and the corresponding tracking area (TA) supported by the base station from the base station through NG setup request or RAN configuration update signaling.

[0063] As shown in the following table, this is an example of the base station notifying the AMF of the slice information currently supported by it.

[0064]

[0065] For example, in one application scenario, base stations in different areas may support different network slices. Figure 3 As shown, the RA of a certain area and UE may not completely overlap. Cell 1 supports slice 1, and cell 2 supports slice 2. When the UE moves from cell 1 to cell 2, since cell 2 does not support slice 1, slice 1 can be mapped to slice 2, and slice 2 can be used to serve the UE to ensure service continuity.

[0066] Exemplarily, service continuity (Service and Session Continuity, SSC) may include multiple modes. For example, SSC mode 1, 2, and 3. Among them, SSC mode 1 may mean that the anchor UPF used by the PDU session remains unchanged, and the PDU address, such as the Internet Protocol (IP) address, remains unchanged; SSC mode 2 may mean that the old PDU session is released first, and then a new PDU session is established, the Anchor UPF will change, and the PDU address will change; SSC mode 3 may mean that a new PDU session is established first, and then the old PDU session is released, the Anchor UPF will change, and the PDU address will change. SSC mode 2 and 3 can achieve service continuity through the PDU layer, such as the Transmission Control Protocol (TCP) layer protocol, so that users cannot perceive the interruption of the service. In the embodiments of the present application, different service continuity can be guaranteed for the above scenarios.

[0067] Figure 4 is a schematic flow chart of a session management method 200 according to an embodiment of the present application. The method may optionally be applied to, for example Figure 1 , Figure 2 , Figure 3 The system shown in the figure is not limited thereto. The method includes at least part of the following contents.

[0068] S210. When a terminal device leaves a first cell supporting first slice information and enters a second cell that does not support the first slice information, the terminal device receives second slice information supported by the second cell.

[0069] S220. The terminal device releases the session using the first slice information.

[0070] S230. The terminal device uses the second slice information to establish a session.

[0071] Exemplarily, when the terminal device is in the first cell, a registration process is performed to obtain allowed slice information, such as the first slice information, and a PDU session can be established using the first slice information supported by the first cell. If the terminal device leaves the first cell and enters the second cell, a switching process between the first access network device corresponding to the first cell and the second access network device corresponding to the second cell can be triggered. Among them, if the second cell does not support the first slice information, the PDU session established by the terminal device using the first slice information cannot be successfully switched to the second access network device. During the switching process or after the switching is completed, the first access network device or the second access network device can notify the first core network device, such as AMF, that the session has not been successfully switched. The notification can also carry a mapping relationship between the first slice information and the second slice information; and / or, the second slice information and a mapping indication. If the AMF knows the mapping relationship between the first slice information and the second slice information, for example, the mapping relationship is pre-configured on the AMF, the above information may not be carried in the notification.

[0072] If the second cell supports the second slice information, the terminal device may receive the second switching information. Then, the terminal device may locally release the PDU session of the first slice information and establish a PDU session using the second slice information.

[0073] Optionally, the first slice information and the second slice information have a mapping relationship.

[0074] Optionally, the method further comprises:

[0075] When the terminal device moves to the second cell, the terminal device obtains the slice information supported by the access network device from the system message broadcast by the access network device corresponding to the second cell.

[0076] Exemplarily, if the first access network device corresponding to the first cell is the original base station, and the second access network device corresponding to the second cell is the target base station, when the terminal device moves to the second cell, the slice information supported by the target base station can be obtained from the system message of the target broadcast corresponding to the second cell.

[0077] Optionally, the method further comprises:

[0078] The Radio Resource Control (RRC) layer of the terminal device transmits the slice information supported by the access network device to the Non-Access-Stratum (NAS) layer of the terminal device to determine whether the first slice information is available at the NAS layer.

[0079] Optionally, the terminal device releases a session using the first slice information, further comprising:

[0080] The terminal device receives a PDU session release command sent by the network, or, when determining that the first slice information is unavailable, the terminal device locally releases the PDU session using the first slice information.

[0081] Optionally, after the switching process is completed, if the triggering condition of the registration process is met, the terminal device executes a new registration process.

[0082] Optionally, the trigger condition includes at least one of the following:

[0083] The terminal device leaves the registration area;

[0084] The first core network device, such as AMF, changes;

[0085] The terminal device discovers that the second cell does not support the allowed NSSAI saved for the registered PLMN.

[0086] For example, after the handover is completed, the terminal device leaves the previously obtained registration area, which can trigger the registration process. For another example, if the AMF of the cell entered by the terminal device changes, the registration process can be triggered. In addition, if the terminal device obtains the slice information supported by the target base station from the system message of the target broadcast corresponding to the second cell, and then finds that the second cell does not support the allowed NSSAI saved for the registered PLMN. There are many conditions for triggering the registration process, which are not specifically limited in the embodiments of the present application.

[0087] Optionally, in the registration process, the terminal device sends a registration request, which is used to instruct the first core network device, such as AMF, to release the PDU session using the first slice information.

[0088] Optionally, the registration request does not include the requested first slice information.

[0089] Exemplarily, the terminal device sends a registration request to the AMF through the access network device. The registration request may not include the first slice information. After receiving the registration request, the AMF determines that the first slice information is no longer requested by the terminal device, and can trigger the SMF to release the PDU session using the first slice information. The registration request may also include the first slice information. The AMF uses other methods to obtain that the current cell or current TA of the terminal device does not support the first slice information, which can trigger the SMF to release the PDU session using the first slice information.

[0090] Optionally, AMF can inform SMF that the PDU session using the first slice information needs to be released. For example, AMF sends a session release message to SMF, and the session release message includes the identifier of the PDU session to be released. After receiving the session release message, SMF can release the session corresponding to the identifier of the PDU session, that is, the PDU session using the first slice information.

[0091] Optionally, the session release message may further include at least one of the following:

[0092] A mapping relationship between the first slice information and the second slice information;

[0093] Second slice information and mapping indication.

[0094] Optionally, in one manner, the second slice information received by the terminal device is carried by a first NAS message, and the first NAS message is sent by the first core network device to the terminal device by the second slice information and a second NAS message from the second core network device.

[0095] Optionally, the first core network device is an access and mobility management network element AMF, and the second core network device is a session management network element SMF.

[0096] Optionally, the second NAS message includes the second slice information.

[0097] Optionally, the second NAS message is a PDU session release command.

[0098] Exemplarily, after the SMF decides to release the PDU session, a second NAS message may be sent to the AMF, in which the identifier of the PDU session may be included. If the SMF knows the mapping relationship between the first slice information and the second slice information, or the second slice information and the mapping indication, the second NAS message may also include the second slice information. Then the AMF may send the first NAS message to the terminal device through the first access network device or the second access network device, and send the second slice information to the terminal device.

[0099] Optionally, in another manner, the second slice information received by the terminal device is carried by a registration acceptance message, and the registration acceptance message includes at least one of the following:

[0100] The first slice information is mapped to the second slice information;

[0101] The allowed slice information is the second slice information.

[0102] Optionally, in this manner, the access network device may notify the AMF of the mapping relationship between the first slice information and the second slice information before the terminal device executes a new registration process. For example, before the terminal device executes the initial registration process, the access network device notifies the AMF of the mapping relationship between the first slice information and the second slice information. For another example, during or after the switching process, the access network device notifies the AMF of the mapping relationship between the first slice information and the second slice information.

[0103] Optionally, the first slice information and / or the second slice information is single network slice selection auxiliary information S-NSSAI.

[0104] For example, the first slice information is S-NSSAI 1, the second switching information is S-NSSAI 2, the first cell and its corresponding first access network device support S-NSSAI 1, and the second cell and its corresponding second access network device do not support S-NSSAI 1 but support S-NSSAI 2. When the terminal device leaves the first cell and enters the second cell, the terminal device receives S-NSSAI 2. The terminal device releases the PDU session using S-NSSAI 1 and establishes a PDU session using S-NSSAI 2.

[0105] Figure 5 is a schematic flow chart of a session management method 300 according to an embodiment of the present application. The method may optionally be applied to, for example Figure 1 , Figure 2 , Figure 3 The system shown in the figure is not limited thereto. The method includes at least part of the following contents.

[0106] S310. When the terminal device leaves a first cell supporting the first slice information and enters a second cell that does not support the first slice information, the network device sends the second slice information supported by the second cell to the terminal device.

[0107] Optionally, the network device in this embodiment may be a first core network device such as AMF. For details, please refer to the relevant description of the first core network device in the above embodiment.

[0108] Optionally, the method further comprises:

[0109] The network device receives a notification from the access network device, which includes that the PDU session established using the first slice information in the switching process cannot be successfully switched. For example, the first core network device AMF receives a notification from the original base station or the target base station to learn that the PDU session established using the first slice information in the switching process cannot be successfully switched from the original base station to the target base station.

[0110] Optionally, the notification includes at least one of the following:

[0111] A mapping relationship between the first slice information and the second slice information;

[0112] Second slice information and mapping indication.

[0113] Optionally, the method further comprises:

[0114] The network device receives the mapping relationship between the first slice information and the second slice information from the access network device. For example, the first core network device AMF receives the mapping relationship between the first slice information and the second slice information from the original base station or the target base station.

[0115] Optionally, the method further comprises:

[0116] The network device sends a session release message to the core network device, and the session release message includes an identifier of the PDU session to be released. The session release message is used to instruct the core network device to release the PDU session using the first slice information.

[0117] Optionally, the core network device, for example, the second core network device, is an SMF.

[0118] Exemplarily, a first core network device, such as AMF, sends a session release message to a second core network device, such as SMF.

[0119] Optionally, the session release message includes at least one of the following:

[0120] A mapping relationship between the first slice information and the second slice information;

[0121] Second slice information and mapping indication.

[0122] Optionally, the method further includes: the network device receives a second NAS message from the core network device. For example, the first core network device AMF receives a second NAS message from the SMF of the second core network device.

[0123] Optionally, the second NAS message includes the second slice information.

[0124] Optionally, the second NAS message is a PDU session release command.

[0125] Optionally, the method further comprises:

[0126] The network device encapsulates the second slice information and the second NAS message to obtain a first NAS message.

[0127] Optionally, the method further includes: the network device sending the first NAS message to the terminal device. For example, the first core network device sends the first NAS message to the terminal device through the access network device.

[0128] Optionally, the method further comprises:

[0129] The network device sends a registration acceptance message to the terminal device, where the registration acceptance message includes at least one of the following:

[0130] The first slice information is mapped to the second slice information;

[0131] The allowed slice information is the second slice information.

[0132] For example, the first core network device sends the above-mentioned registration acceptance message to the terminal device through the access network device.

[0133] Optionally, the first slice information and / or the second slice information is S-NSSAI.

[0134] For a specific example of the network device execution method 300 of this embodiment, please refer to the relevant description of the network device such as AMF in the above method 200. For the sake of brevity, it will not be repeated here.

[0135] Example 1:

[0136] like Figure 6 As shown, a session management method that can maintain business continuity may include the following steps:

[0137] S10. The UE performs a registration process and obtains an allowed NSSAI. The UE establishes a PDU session establishment for S-NSSAI 1 according to the S-NSSAI 1 corresponding to the service.

[0138] S11. When the UE is leaving a cell that supports S-NSSAI 1 and the next cell does not support S-NSSAI 1, the RAN, such as the source base station and the target base station, first performs a handover procedure, and the PDU session using S-NSSAI 1 cannot be handed over.

[0139] During the switching process or after the switching is completed, the original base station or the target base station may notify the AMF that the session has not been switched successfully. Optionally, the RAN may send an N2 MM message (mobility management message sent through the N2 interface) to the AMF, which may carry the PDU session ID. Optionally, the N2 MM message may also carry the mapping relationship between S-NSSAI 1 and S-NSSAI 2 (S-NSSAI 1 mapped to S-NSSAI 2), or may carry S-NSSAI 2 and a mapping indication. In addition, if the AMF knows that S-NSSAI 1 is mapped to S-NSSAI 2, the mapping relationship between S-NSSAI 1 and S-NSSAI 2 (S-NSSAI 1 mapped to S-NSSAI 2) may not be carried in the N2 MM message, or may carry S-NSSAI 2 and a mapping indication.

[0140] After the UE moves to a new cell, if the UE's RRC layer obtains the slices supported by the base station in the system information broadcast by the base station and then transmits it to the NAS layer of the UE, the NAS layer can know that the base station does not support S-NSSAI 1. The UE can release the PDU session using S-NSSAI 1 locally.

[0141] After the handover is completed, if the UE leaves the previously obtained registration area (RA), the UE can initiate a registration process. Optionally, if the NAS layer learns that the base station does not support S-NSSAI 1, the registration request may not carry S-NSSAI 1. Since the registration request does not carry S-NSSAI 1, after receiving the registration request, the AMF determines that S-NSSAI 1 is no longer requested by the UE, and can trigger the SMF to release the PDU session using the S-NSSAI 1.

[0142] S12, AMF informs SMF that the PDU session of S-NSSAI 1 needs to be released, carrying the PDU session identifier (Identifier, ID). Optionally, AMF can send an SM content release (context release) message to SMF, which can carry the PDU session ID, and can also carry the mapping relationship between S-NSSAI 1 and S-NSSAI 2, or can carry S-NSSAI 2 and a mapping indication. However, if the isolation of network slices is considered, the above information may not be sent to SMF.

[0143] S13. SMF initiates PDU session release, for example, by sending PDU session ID to AMF through N1N2 message transfer (N1N2 msg transfer). Optionally, SMF sends a NAS message to AMF, and the NAS message may be a PDU session release command (sessionrelease command). For example, the NAS message may be a PDU session release command, which may include a session ID, a reactivation request (reactivation required), etc., and may optionally include S-NSSAI 2. If SMF does not know the mapping relationship between S-NSSAI 1 and S-NSSAI 2, S-NSSAI 2 may not be carried in this step.

[0144] S14 and S15, AMF sends an N2 MM message to RAN. For example, AMF encapsulates the PDU session release command, session identifier, and slice information of a new PDU session in a NAS message and sends it to the UE through the base station. The encapsulated NAS message may carry a session identifier. Optionally, the NAS message may also carry S-NSSAI 2. Optionally, the NAS message may also carry a PDU session release command. The PDU session release command may include a session identifier (session ID), a reactivation request (reactivation required), etc., and may optionally include S-NSSAI 2.

[0145] S16. The UE releases the old PDU session and uses S-NSSAI 2 to establish a new PDU session.

[0146] Optionally, the above base station may be an original base station or a target base station.

[0147] Optionally, the AMF in the above process may change. For example, if the above process includes two AMFs, the AMF in S12 and S13 is the source AMF, the source AMF can transfer the information received in S13 to the target AMF, and the target AMF continues to execute S14.

[0148] In this embodiment, AMF can send the slice information supported by the target base station to the UE through RAN to ensure service continuity, especially the service continuity of SSC mode 2.

[0149] Example 2:

[0150] like Figure 7 As shown, a session management method that can maintain business continuity may include the following steps:

[0151] S20, RAN, for example, the base station notifies AMF of the mapping relationship between S-NSSAI 1 and S-NSSAI 2 (S-NSSAI 1mapped to S-NSSAI 2). For example, the base station sends an N2 MM message to the AMF, which includes the mapping relationship between S-NSSAI 1 and S-NSSAI 2. The specific execution sequence of this step is not limited in this example. For example, before S23, the base station can notify AMF of the mapping relationship between S-NSSAI 1 and S-NSSAI 2.

[0152] S21. The UE first performs a registration process to obtain an allowed NSSAI. The UE establishes a PDU session establishment for S-NSSAI 1 according to the S-NSSAI 1 corresponding to the service.

[0153] S22. When the UE is leaving a cell that supports S-NSSAI 1 and the next cell does not support S-NSSAI 1, the source base station and the target base station first perform a handover process, and the PDU session using S-NSSAI 1 cannot be handed over.

[0154] S23. After the handover is completed, the UE performs the registration process, and the UE sends a registration request to the AMF, which optionally carries the requested slice information Requested NSSAI = {S-NSSAI1}. If the RRC layer of the UE obtains the slices supported by the base station in the system information broadcast by the base station, and then transmits it to the NAS layer of the UE, the NAS layer learns that the base station does not support S-NSSAI 1. The UE may not carry S-NSSAI 1. If the UE does not carry S-NSSAI, the UE can locally release the PDU session using S-NSSAI 1.

[0155] After receiving the registration request, the AMF determines that there is a PDU session using S-NSSAI 1, and S-NSSAI 1 is mapped to S-NSSAI 2.

[0156] S24. AMF notifies SMF in S-NSSAI 1 to release the PDU session. For example, AMF sends a session release message to SMF, and the session release message includes the session ID to be released.

[0157] S25. AMF maps S-NSSAI 1 to S-NSSAI 2, and puts the allowed slice information allowed NSSAI = {S-NSSAI 2} in the Registration accept message and sends it to the UE.

[0158] S26. After receiving the mapping of S-NSSAI 1 to S-NSSAI 2, the UE establishes a PDU session using S-NSSAI 2. Optionally, if the UE does not release the PDU session in S23, the old PDU session can be released in this step, and the establishment of a PDU session using S-NSSAI 2 can be initiated.

[0159] Optionally, the above base station may be an original base station or a target base station.

[0160] Optionally, the AMF in the above process may change. If there are two AMFs, the AMF in S23 and S25 is the new AMF, and the AMF in S24 is the old AMF.

[0161] In this embodiment, RAN can send the mapping relationship between S-NSSAI 1 and S-NSSAI 2 to AMF. AMF can send the slice information supported by the target base station to UE through RAN to ensure service continuity, especially service continuity of SSC mode 2.

[0162] Figure 8 4 is a schematic block diagram of a terminal device 400 according to an embodiment of the present application. The terminal device 400 may include:

[0163] The receiving unit 410 is configured to receive second slice information supported by the second cell when the terminal device leaves the first cell supporting the first slice information and enters the second cell not supporting the first slice information;

[0164] A releasing unit 420, configured to release a session using the first slice information;

[0165] An establishing unit 430 is used to establish a session using the second slice information.

[0166] Optionally, the first slice information and the second slice information have a mapping relationship.

[0167] Alternatively, if Fig. 9 As shown, the terminal device also includes:

[0168] The acquisition unit 440 is used to obtain the slice information supported by the access network device from the system message broadcast by the access network device corresponding to the second cell when the terminal device moves to the second cell.

[0169] Optionally, the terminal device further includes:

[0170] The determination unit 450 is used to transmit the slice information supported by the access network device to the non-access layer NAS layer through the radio resource control RRC layer, so as to determine whether the first slice information is available (available) at the NAS layer.

[0171] Optionally, the release unit is also used to locally release the PDU session using the first slice information when it is determined that the first slice information is unavailable.

[0172] Optionally, the second slice information received by the terminal device is carried by a first NAS message, and the first NAS message is sent by the first core network device to the terminal device by the second slice information and a second NAS message from the second core network device.

[0173] Optionally, the second NAS message includes the second slice information.

[0174] Optionally, the second NAS message is a PDU session release command.

[0175] Optionally, the first core network device is an access and mobility management network element AMF, and the second core network device is a session management network element SMF.

[0176] Optionally, the second slice information received by the terminal device is carried by a registration acceptance message, and the registration acceptance message includes at least one of the following:

[0177] The first slice information is mapped to the second slice information;

[0178] The allowed slice information is the second slice information.

[0179] Optionally, the first slice information and / or the second slice information is single network slice selection auxiliary information S-NSSAI.

[0180] The terminal device 400 of the embodiment of the present application can implement the corresponding functions of the terminal device in the aforementioned method embodiment. The processes, functions, implementation methods and beneficial effects corresponding to the various modules (sub-modules, units or components, etc.) in the terminal device 400 can be found in the corresponding descriptions in the above method embodiments, which will not be repeated here. It should be noted that the functions described by the various modules (sub-modules, units or components, etc.) in the terminal device 400 of the embodiment of the application can be implemented by different modules (sub-modules, units or components, etc.), or by the same module (sub-module, unit or component, etc.).

[0181] Fig.10is a schematic block diagram of a network device 500 according to an embodiment of the present application. The network device 500 may include:

[0182] The sending unit 510 is used to send second slice information supported by the second cell to the terminal device when the terminal device leaves the first cell supporting the first slice information and enters the second cell that does not support the first slice information.

[0183] Alternatively, if Fig.11 As shown, the network device also includes:

[0184] The first receiving unit 520 is used to receive a notification from an access network device, wherein the notification includes that a PDU session established using the first slice information in a switching process cannot be successfully switched.

[0185] Optionally, the notification includes at least one of the following:

[0186] A mapping relationship between the first slice information and the second slice information;

[0187] Second slice information and mapping indication.

[0188] Optionally, the network device further includes:

[0189] The second receiving unit 530 is used to receive a mapping relationship between the first slice information and the second slice information from an access network device.

[0190] Optionally, the network device further includes:

[0191] The sending unit is also used to send a session release message to the core network device, wherein the session release message includes an identifier of the PDU session to be released, and the session release message is used to instruct the second core network device to release the PDU session using the first slice information.

[0192] Optionally, the session release message includes at least one of the following:

[0193] A mapping relationship between the first slice information and the second slice information;

[0194] Second slice information and mapping indication.

[0195] Optionally, the network device further includes:

[0196] The third receiving unit 540 is configured to receive a second NAS message from the core network device.

[0197] Optionally, the second NAS message includes the second slice information.

[0198] Optionally, the second NAS message is a PDU session release command.

[0199] Optionally, the network device further includes:

[0200] The encapsulation unit 550 is used to encapsulate the second slice information and the second NAS message to obtain a first NAS message.

[0201] Optionally, the sending unit is further used to send the first NAS message to the terminal device.

[0202] Optionally, the sending unit is further configured to send a registration acceptance message to the terminal device, where the registration acceptance message includes at least one of the following:

[0203] The first slice information is mapped to the second slice information;

[0204] The allowed slice information is the second slice information.

[0205] Optionally, the network device is an AMF.

[0206] Optionally, the core network device is SMF.

[0207] Optionally, the first slice information and / or the second slice information is S-NSSAI.

[0208] The network device 500 of the embodiment of the present application can implement the corresponding functions of the network device in the aforementioned method embodiment. The processes, functions, implementation methods and beneficial effects corresponding to the various modules (sub-modules, units or components, etc.) in the network device 500 can be found in the corresponding descriptions in the above method embodiments, which will not be repeated here. It should be noted that the functions described by the various modules (sub-modules, units or components, etc.) in the network device 500 of the embodiment of the application can be implemented by different modules (sub-modules, units or components, etc.), or by the same module (sub-module, unit or component, etc.).

[0209] Fig.12 6 is a schematic structural diagram of a communication device 600 according to an embodiment of the present application. The communication device 600 includes a processor 610, and the processor 610 can call and run a computer program from a memory to enable the communication device 600 to implement the method in the embodiment of the present application.

[0210] Optionally, the communication device 600 may further include a memory 620. The processor 610 may call and run a computer program from the memory 620, so that the communication device 600 implements the method in the embodiment of the present application.

[0211] The memory 620 may be a separate device independent of the processor 610 , or may be integrated into the processor 610 .

[0212] Optionally, the communication device 600 may further include a transceiver 630, and the processor 610 may control the transceiver 630 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.

[0213] The transceiver 630 may include a transmitter and a receiver. The transceiver 630 may further include an antenna, and the number of the antennas may be one or more.

[0214] Optionally, the communication device 600 may be a network device of an embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the network device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.

[0215] Optionally, the communication device 600 may be a terminal device of an embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the terminal device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.

[0216] Fig.13 7 is a schematic structural diagram of a chip 700 according to an embodiment of the present application. The chip 700 includes a processor 710, and the processor 710 can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0217] Optionally, the chip 700 may further include a memory 720. The processor 710 may call and run a computer program from the memory 720 to implement the method executed by the terminal device or the network device in the embodiment of the present application.

[0218] The memory 720 may be a separate device independent of the processor 710 , or may be integrated into the processor 710 .

[0219] Optionally, the chip 700 may further include an input interface 730. The processor 710 may control the input interface 730 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.

[0220] Optionally, the chip 700 may further include an output interface 740. The processor 710 may control the output interface 740 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.

[0221] Optionally, the chip can be applied to the network device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the network device in each method of the embodiments of the present application. For the sake of brevity, they will not be repeated here.

[0222] Optionally, the chip can be applied to the terminal device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.

[0223] The chips used in the network device and the terminal device may be the same chip or different chips.

[0224] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0225] The processor mentioned above may be a general-purpose processor, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC) or other programmable logic devices, transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor mentioned above may be a microprocessor or any conventional processor, etc.

[0226] The memory mentioned above may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM) or a flash memory. The volatile memory may be a random access memory (RAM).

[0227] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double dara rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.

[0228] Fig.14 8 is a schematic block diagram of a communication system 800 according to an embodiment of the present application. The communication system 800 includes a terminal device 810 and a network device 820.

[0229] The terminal device 810 is used to receive second slice information supported by the second cell when the terminal device leaves a first cell supporting the first slice information and enters a second cell not supporting the first slice information; release a session using the first slice information; and establish a session using the second slice information.

[0230] The network device 820 is used to send the second slice information supported by the second cell to the terminal device when the terminal device leaves the first cell supporting the first slice information and enters the second cell that does not support the first slice information.

[0231] The terminal device 810 can be used to implement the corresponding functions implemented by the terminal device in the above method, and the network device 820 can be used to implement the corresponding functions implemented by the network device, such as the first core network device AMF, in the above method. For the sake of brevity, it will not be repeated here.

[0232] Optionally, the communication system may further include a second core network device, and specific reference may be made to the corresponding functions implemented by the SMF in the above method. Optionally, the communication system may further include an access network device such as a first access network device and / or a second access network device. Specifically, reference may be made to the corresponding functions implemented by the first access network device and / or the second access network device in the above method. For the sake of brevity, no further description is given here.

[0233] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can 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 process or function in accordance with the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subsctiber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrations. The available 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 (eg, a solid state disk (SSD)).

[0234] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0235] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0236] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A session management method, comprising: In a case where a terminal device leaves a first cell supporting first slice information and enters a second cell that does not support the first slice information, the terminal device receives second slice information supported by the second cell, wherein the terminal device establishes a PDU session for the first slice information supported by the first cell, and the second slice information received by the terminal device is carried by a first NAS message, and the first NAS message is sent to the terminal device by the first core network device after encapsulating the second slice information and the second NAS message, and the second NAS message is sent to the first core network device after the second core network device receives a session release message from the first core network device and determines to release the PDU session corresponding to the first slice information, and the session release message includes a mapping relationship between the first slice information and the second slice information; The terminal device releases the PDU session using the first slice information; The terminal device uses the second slice information to re-establish the PDU session.

2. The method according to claim 1, wherein: The method further comprises: When the terminal device moves to the second cell, the terminal device obtains the slice information supported by the access network device from the system message broadcast by the access network device corresponding to the second cell.

3. The method according to claim 2, wherein: The method further comprises: The radio resource control (RRC) layer of the terminal device transmits the slice information supported by the access network device to the non-access layer (NAS) layer of the terminal device, so as to determine whether the first slice information is available (available) at the NAS layer.

4. The method according to claim 3, wherein: The terminal device releases a session using the first slice information, further comprising: When it is determined that the first slice information is unavailable, the terminal device locally releases the PDU session using the first slice information.

5. The method according to any one of claims 1 to 4, wherein: The second NAS message includes the second slice information.

6. The method according to claim 5, wherein: The second NAS message is a PDU session release command.

7. The method according to claim 5, wherein: The first core network device is an access and mobility management network element AMF, and the second core network device is a session management network element SMF.

8. The method according to any one of claims 1 to 4, wherein: The second slice information received by the terminal device is carried by a registration acceptance message, and the registration acceptance message includes at least one of the following: The first slice information is mapped to the second slice information; The allowed slice information is the second slice information.

9. The method according to any one of claims 1 to 4, wherein: The first slice information and / or the second slice information is single network slice selection auxiliary information S-NSSAI.

10. A session management method, comprising: When a terminal device leaves a first cell supporting first slice information and enters a second cell that does not support the first slice information, a first core network device sends second slice information supported by the second cell to the terminal device, wherein the terminal device establishes a PDU session with the first slice information supported by the first cell, and the second slice information received by the terminal device is carried through a first NAS message, and the first NAS message is sent to the terminal device after the first core network device encapsulates the second slice information and the second NAS message, and the second NAS message is sent to the first core network device after the second core network device receives a session release message from the first core network device and determines to release the PDU session corresponding to the first slice information, and the session release message includes a mapping relationship between the first slice information and the second slice information, and after the PDU session corresponding to the first slice information is released by the terminal, the second slice information is used to re-establish the PDU session.

11. The method according to claim 10, wherein: The method further comprises: The first core network device receives a notification from an access network device, wherein the notification includes a message that a PDU session established using the first slice information in a switching process cannot be successfully switched.

12. The method according to claim 11, wherein: The notification includes at least one of the following: Second slice information and mapping indication.

13. The method according to any one of claims 10 to 12, wherein: The method further comprises: The first core network device receives a mapping relationship between first slice information and second slice information from an access network device.

14. The method according to any one of claims 10 to 12, wherein: The method further comprises: The first core network device sends a session release message to the second core network device, wherein the session release message includes an identifier of a PDU session to be released, and the session release message is used to instruct the second core network device to release the PDU session using the first slice information.

15. The method according to claim 14, wherein: The session release message includes at least one of the following: A mapping relationship between the first slice information and the second slice information; Second slice information and mapping indication.

16. The method according to claim 14, wherein: The second NAS message includes the second slice information.

17. The method according to claim 14, wherein: The method further comprises: The first core network device sends a registration acceptance message to the terminal device, where the registration acceptance message includes at least one of the following: The first slice information is mapped to the second slice information; The allowed slice information is the second slice information.

18. The method according to any one of claims 10 to 12, wherein: The first core network device is AMF.

19. The method according to any one of claims 10 to 12, wherein: The second core network device is SMF.

20. The method according to any one of claims 10 to 12, wherein: The first slice information and / or the second slice information is S-NSSAI.

21. A terminal device, comprising: A receiving unit, configured to receive second slice information supported by the second cell when a terminal device leaves a first cell supporting the first slice information and enters a second cell that does not support the first slice information, wherein the terminal device establishes a PDU session for the first slice information supported by the first cell, and the second slice information received by the terminal device is carried by a first NAS message, and the first NAS message is sent to the terminal device by the first core network device after encapsulating the second slice information and the second NAS message, and the second NAS message is sent to the first core network device after the second core network device receives a session release message from the first core network device and determines to release the PDU session corresponding to the first slice information, and the session release message includes a mapping relationship between the first slice information and the second slice information; A releasing unit, configured to release a PDU session using the first slice information; An establishing unit is used to re-establish a PDU session using the second slice information.

22. The terminal device according to claim 21, wherein: The terminal device further includes: An acquisition unit is used to obtain slice information supported by the access network device from a system message broadcast by an access network device corresponding to the second cell when the terminal device moves to the second cell.

23. The terminal device according to claim 22, wherein: The terminal device further includes: A determination unit is used to transmit the slice information supported by the access network device to the non-access layer NAS layer through the radio resource control RRC layer, so as to determine whether the first slice information is available (available) at the NAS layer.

24. The terminal device according to claim 23, wherein: The releasing unit is also used to locally release the PDU session using the first slice information when it is determined that the first slice information is unavailable.

25. The terminal device according to any one of claims 21 to 24, wherein: The second NAS message includes the second slice information.

26. The terminal device according to claim 25, wherein: The second NAS message is a PDU session release command.

27. The terminal device according to claim 25, wherein: The first core network device is an access and mobility management network element AMF, and the second core network device is a session management network element SMF.

28. The terminal device according to claim 25, wherein: The second slice information received by the terminal device is carried by a registration acceptance message, and the registration acceptance message includes at least one of the following: The first slice information is mapped to the second slice information; The allowed slice information is the second slice information.

29. The terminal device according to any one of claims 21 to 24, wherein: The first slice information and / or the second slice information is single network slice selection auxiliary information S-NSSAI.

30. A network device comprising: A sending unit, configured to send, to the terminal device, second slice information supported by the second cell when the terminal device leaves the first cell supporting the first slice information and enters the second cell that does not support the first slice information, wherein the first slice information supported by the first cell is used to support the terminal device to establish a PDU session, and the second slice information is carried by a first NAS message; A third receiving unit is used to receive a second NAS message sent from a core network device, wherein the second NAS message is sent by the core network device after receiving a session release message from the network device and determining to release the PDU session corresponding to the first slice information; An encapsulation unit is used to encapsulate the second slice information and the second NAS message to obtain the first NAS message, the session release message includes a mapping relationship between the first slice information and the second slice information, and after the PDU session corresponding to the first slice information is released by the terminal, the second slice information is used to re-establish the PDU session.

31. The network device according to claim 30, wherein: The network device also includes: The first receiving unit is used to receive a notification from an access network device, wherein the notification includes a message that a PDU session established using the first slice information in a switching process cannot be successfully switched.

32. The network device according to claim 31, wherein: The notification includes at least one of the following: Second slice information and mapping indication.

33. The network device according to any one of claims 30 to 32, wherein: The network device also includes: The second receiving unit is used to receive a mapping relationship between the first slice information and the second slice information from an access network device.

34. The network device according to any one of claims 30 to 32, wherein: The network device also includes: The sending unit is also used to send a session release message to the core network device, wherein the session release message includes an identifier of the PDU session to be released, and the session release message is used to instruct the core network device to release the PDU session using the first slice information.

35. The network device according to claim 34, wherein: The session release message includes at least one of the following: A mapping relationship between the first slice information and the second slice information; Second slice information and mapping indication.

36. The network device according to claim 35, wherein: The second NAS message includes the second slice information.

37. The network device according to any one of claims 30 to 32, wherein: The sending unit is further configured to send a registration acceptance message to the terminal device, wherein the registration acceptance message includes at least one of the following: The first slice information is mapped to the second slice information; The allowed slice information is the second slice information.

38. The network device according to any one of claims 30 to 32, wherein: The network device is AMF.

39. The network device according to claim 34, wherein: The core network device is SMF.

40. The network device according to any one of claims 30 to 32, wherein: The first slice information and / or the second slice information is S-NSSAI.

41. A terminal device, comprising: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory, so that the terminal device executes the method as claimed in any one of claims 1 to 9.

42. A network device comprising: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory, so that the network device executes the method according to any one of claims 10 to 20.

43. A chip, comprising: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 9.

44. A chip, comprising: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 10 to 20.

45. A computer-readable storage medium for storing a computer program, which, when executed by a device, causes the device to perform the method according to any one of claims 1 to 9.

46. ​​A computer-readable storage medium for storing a computer program, which, when executed by a device, causes the device to perform the method according to any one of claims 10 to 20.

47. A computer program product comprising computer program instructions, the computer program instructions causing a computer to execute the method as claimed in any one of claims 1 to 9.

48. A computer program product comprising computer program instructions for causing a computer to perform the method of any one of claims 10 to 20.