(19)
(11) EP 3 557 913 A1

(12) EUROPEAN PATENT APPLICATION
published in accordance with Art. 153(4) EPC

(43) Date of publication:
23.10.2019 Bulletin 2019/43

(21) Application number: 17909627.6

(22) Date of filing: 09.05.2017
(51) International Patent Classification (IPC): 
H04W 48/16(2009.01)
H04W 48/18(2009.01)
(86) International application number:
PCT/CN2017/083648
(87) International publication number:
WO 2018/205150 (15.11.2018 Gazette 2018/46)
(84) Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR
Designated Extension States:
BA ME
Designated Validation States:
MA MD

(71) Applicant: Huawei Technologies Co., Ltd.
Longgang District Shenzhen, Guangdong 518129 (CN)

(72) Inventors:
  • WANG, Yuan
    Shenzhen Guangdong 518129 (CN)
  • CHEN, Zhongping
    Shenzhen Guangdong 518129 (CN)

(74) Representative: Epping - Hermann - Fischer 
Patentanwaltsgesellschaft mbH Schloßschmidstraße 5
80639 München
80639 München (DE)

   


(54) NETWORK SLICE SELECTION POLICY UPDATING METHOD AND APPARATUS


(57) A network slice selection policy updating method and an apparatus are disclosed. The method specifically includes: sending, by a terminal device, configured network selection assistance information on the terminal device to an AMF, where the network selection assistance information includes a first slice identifier; and receiving, by the terminal device, allowed network selection assistance information and indication information that are returned by the AMF, where the allowed network selection assistance information includes a second slice identifier, and the indication information indicates that the second slice identifier corresponds to the first slice identifier. This can prevent the terminal device from initiating an unnecessary session establishment procedure, and save a network resource.




Description

TECHNICAL FIELD



[0001] The present invention relates to the field of communications technologies, and in particular, to a network slice selection policy updating method and an apparatus.

BACKGROUND



[0002] In a future communications system of the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP), a network may be divided into a plurality of logical network slice instances of a core network on a same set of physical devices of the core network by using a slicing technology. Each network slice instance of the core network may be customized based on a specific commercial scenario or a specific user requirement, to ensure isolation between network slice instances while satisfying diversified services. An operator can satisfy a specific requirement of each service by freely and flexibly combining network performance indicators such as a rate, a capacity, coverage, a delay, reliability, security, and availability.

[0003] Generally, the network slice instance of the core network is briefly referred to as a network slice. Introduction of the network slice puts forwards a new requirement on a selection policy on a terminal side. The network includes the plurality of customized network slice instances of the core network, each slice instance may serve a particular user group, and some complex terminals further have a capability and a requirement of simultaneously accessing a plurality of network slice instances. Therefore, the terminal needs to know a correspondence between an application (Application, App) of the terminal and a slice type.

[0004] For example, when an application of a terminal requests a service, the terminal needs to know a type of a network slice that the application needs to access, and provide corresponding assistance information to assist network slice selection and user plane session establishment. In addition, when a plurality of protocol data unit (Protocol Data Unit, PDU) sessions (session) currently have been established on a terminal side, and a new application on the terminal side requests a service, the terminal needs to determine whether a currently established PDU session can satisfy a service request of the new application. If all currently existing PDU sessions cannot satisfy the service request of the new application, the terminal further initiates a new user plane session request for the new application. For example, a PDU session of an enhanced mobile broadband (Enhanced Mobile Broadband, eMBB) type currently has been established on the terminal side. Anew application on the terminal side needs to send service data. If the application also requires the PDU session of the eMBB type, the terminal side may directly send the service data of the application by using the currently established PDU session of the eMBB type. However, if the application requires a PDU session of an Internet of Things (Internet of Things, IoT) type, the terminal needs to initiate a new PDU session establishment request, to establish the PDU session of the IoT type.

[0005] In an existing solution of a 3GPP standard, a terminal device is, for example, user equipment (User Equipment, UE), and a preconfigured network slice selection policy (Network Slice Selection Policy, NSSP) is stored on a UE side. The NSSP may be configured by an operator for the UE, for example, stored in a subscriber identity module card (Subscriber Identify Module, SIM), or may be preconfigured when the terminal device is delivered from a factory, or may be configured on the UE when an application is installed.

[0006] The NSSP includes a mapping relationship between an application and a service/slice type (Service/Slice Type, SST). When an application is started, the UE maps the application to an SST by using the NSSP. If a currently existing PDU session can support the SST, the UE sends a data stream of the application by using the PDU session. If no PDU session currently can support the SST, the UE initiates a new PDU session establishment request that carries the SST.

[0007] The foregoing solution has a problem: The configured SST on the UE side changes and is updated by a network side in an actual process. In an access procedure discussed in an existing 3GPP standard, UE provides a configured (Configured) SST in an attach (Attach) message. After accepting access by the UE, the network side returns an accepted SST (Accepted SST) to the UE in an attach accept (Attach Accept) message. The configured SST is not completely consistent with the accepted SST in many scenarios. As a result, the UE initiates a PDU session establishment request, causing network resource waste.

SUMMARY



[0008] Embodiments of the present invention provide a network slice selection policy updating method and an apparatus, to save a network resource.

[0009] According to a first aspect, an embodiment of the present invention provides a network slice selection policy updating method, including: sending, by a terminal device, configured network selection assistance information on the terminal device to an access and mobility management function (Core Access and Mobility Management Function, AMF), where the network selection assistance information includes a first slice identifier; and
receiving, by the terminal device, allowed network selection assistance information and indication information that are returned by the AMF, where the allowed network selection assistance information includes a second slice identifier, and the indication information indicates that the second slice identifier corresponds to the first slice identifier.

[0010] In this embodiment, two pieces of information may be preconfigured on the terminal device, and are respectively: the network selection assistance information and a network slice selection policy. The network selection assistance information may be specifically a set of SSTs. The network slice selection policy may be specifically a correspondence between an application and an SST. One application may correspond to one or more network slices, and one slice identifier may also correspond to one or more network slices. The network selection assistance information sent by the terminal device may be all slice identifiers included in SSTs on the terminal device. In other words, the network selection assistance information may be a set of the slice identifiers. The allowed network selection assistance information indicates slices that can be used. Generally, the network slices that can be used are a subset of the set of the slice identifiers in the configured network selection assistance information, and namely, are some slice identifiers selected from the set of the slice identifiers. However, network slices respectively corresponding to a slice identifier on a network side and a slice identifier on a terminal device side may be inconsistent. This is described above, and details are not described herein again. Therefore, the second slice identifier included in the allowed network selection assistance information may be not the slice identifier included in the configured network selection assistance information. However, a service provided by a network slice corresponding to the second slice identifier may be the same as a service provided by a network slice corresponding to the first slice identifier. In addition, the service provided by the network slice corresponding to the second slice identifier may include the service provided by the network slice corresponding to the first slice identifier, and a service provided by a network slice corresponding to another slice identifier. For example, an identifier 1 corresponds to an mIoT slice, and the slice provides an mIoT service; an identifier 2 corresponds to an eMBB slice, and the slice provides an eMBB service. An identifier 3 corresponds to a slice X, and the slice X may provide the mIoT service and the eMBB service. The indication information may explicitly indicate that the second slice identifier corresponds to the first slice identifier, or may implicitly indicate that the second slice identifier corresponds to the first slice identifier. For example, in the implicit manner, the first slice identifier and the second slice identifier are placed in an entry, or there may be other agreed-on manners. Details are not described herein.

[0011] The allowed network selection assistance information may be determined by the AMF, or may be sent by another device on the network side to the AMF, or may be determined based on a network deployment or a local policy. A specific manner of determining is not uniquely limited in this embodiment of the present invention.

[0012] As can be learned from the foregoing technical solution, the allowed network selection assistance information includes the second slice identifier, and the indication information indicates that the second slice identifier corresponds to the first slice identifier. Therefore, it can be ensured that when the first slice identifier is inconsistent with the second slice identifier, the terminal device can learn which slice identifier corresponding to an application. Therefore, this can avoid initiating an unnecessary session establishment procedure, and save a network resource.

[0013] In an optional implementation, after the receiving, by the terminal device, allowed network selection assistance information and indication information that are returned by the AMF, the method further includes:

determining, based on a slice selection policy, that a target application corresponds to the first slice identifier, where the slice selection policy includes a correspondence between the target application and the slice identifier;

determining, based on the indication information, that the first slice identifier corresponds to the second slice identifier; and

transmitting data of the target application by using a session corresponding to the second slice identifier.



[0014] In this embodiment, the slice selection policy may be the configured NSSP described above. The configured SST includes a correspondence between an application and a network slice identifier. The target application is an application of the terminal device. It may be determined based on the configured SST that the target application corresponds to the first slice identifier. Because the indication information indicates that the first slice identifier corresponds to the second slice identifier, if the session corresponding to the second slice identifier has been established, the terminal device can learn that the previously established session corresponding to the second slice identifier supports the first slice identifier. Therefore, the data of the target application can be directly transmitted by using the session corresponding to the second slice identifier, and establishment of a session corresponding to the first slice identifier does not need to be initiated to the AMF. Therefore, this can avoid initiating an unnecessary session establishment procedure, and save a network resource, and the data of the target application can be transmitted more quickly.

[0015] In an optional implementation, because the session corresponding to the second slice identifier may have been established or may have not been established, this embodiment of the present invention further provides different processing solutions in the two cases. Details are as follows: the transmitting data of the target application by using a session corresponding to the second slice identifier includes:

sending, by the terminal device, a session establishment request including the second slice identifier to a network, establishing the session corresponding to the second slice identifier, and transmitting the data of the target application by using the session corresponding to the second slice identifier; or

if the terminal device has established the session corresponding to the second slice identifier, transmitting the data of the target application by using the session corresponding to the second slice identifier.



[0016] In an optional implementation, an example of a specific session type is further provided. The session corresponding to the second slice identifier includes: a protocol data unit PDU session corresponding to the second slice identifier. It may be understood that based on different service requirements of the terminal device and the network side, a session that needs to be established for the application may further be another type of session. Therefore, the PDU session is a possible example, and shall not be understood as unique limitation on this embodiment of the present invention.

[0017] In an optional implementation, based on the foregoing description, this embodiment further provides a specific parameter of a slice identifier in the following: the first slice identifier and the second slice identifier are both identifiers of a service/slice type SST. It may be understood that slice identifiers need to have a feature of distinguishing between different slices. Therefore, the slice identifier may be unique identification information in a network. Therefore, the identifier of the SST shall not be understood as unique limitation on an implementation of the slice identifier in this embodiment of the present invention.

[0018] In an optional implementation, a specific manner of sending the network selection assistance information and an implementation of returning the allowed network selection assistance information and the indication information by the AMF are further provided. Details are as follows: the sending, by a terminal device, configured network selection assistance information on the terminal device to an AMF includes: sending, by the terminal device, a registration request to the AMF, where the registration request carries the configured network selection assistance information on the terminal device; and
the receiving, by the terminal device, allowed network selection assistance information and indication information that are returned by the AMF includes: receiving a registration request response message sent by the AMF, where the registration request response message carries the allowed network selection assistance information and the indication information.

[0019] In this embodiment, information is transferred by using the registration request and the registration request response message. In this way, there may be no need to add new signaling overheads. This is relatively desirably compatible with a registration procedure. Therefore, implementation difficulty is relatively low.

[0020] In an optional implementation, the terminal device may further perform the following steps. The method further includes:
storing, by the terminal device, the allowed network selection assistance information and the indication information, and when the terminal device moves out of a public land mobile network (Public Land Mobile Network, PLMN) in which the terminal device is currently located, deleting the network selection assistance information and the indication information.

[0021] Because there are different allowed network selection assistance information and different indication information for different PLMNs, the terminal device does not need to replace the configured network selection assistance information with the allowed network selection assistance information.

[0022] According to a second aspect, an embodiment of the present invention provides a network slice selection policy updating method. This embodiment is relative to the embodiment provided in the first aspect. This embodiment is implemented at a peer end of the execution entity in the embodiment of the first aspect. The method includes:

receiving, by an access and mobility management function AMF, configured network selection assistance information that is on a terminal device and that is sent by the terminal device, where the network selection assistance information includes a first slice identifier;

determining, by the AMF, allowed network selection assistance information, where the allowed network selection assistance information includes a second slice identifier; and

if there is a correspondence between the second slice identifier and the first slice identifier, sending the allowed network selection assistance information and indication information to the terminal device, where the indication information indicates that the second slice identifier corresponds to the first slice identifier.



[0023] For content such as the configured network selection assistance information on the terminal device, the slice identifier, the allowed network selection assistance information, and determining the allowed network selection assistance information by the AMF, refer to the descriptions in the foregoing embodiment, and details are not described herein again. In addition, an identifier correspondence table of the correspondence between the second slice identifier and the first slice identifier may be stored on the side of the AMF. The identifier correspondence table may be preconfigured.

[0024] In an optional implementation, a specific implementation in which the AMF obtains the configured network selection assistance information on the terminal device, and an implementation in which the AMF returns the allowed network selection assistance information and the indication information to the terminal device are further provided. The receiving configured network selection assistance information that is on a terminal device and that is sent by the terminal device includes:

receiving a registration request sent by the terminal device, where the registration request carries the configured network selection assistance information on the terminal device; and

the sending the allowed network selection assistance information and indication information to the terminal device includes: sending a registration request response message to the terminal device, where the registration request response message carries the allowed network selection assistance information and the indication information.



[0025] In this embodiment, information that needs to be exchanged in this embodiment of the present invention is carried by a message used in a registration process of the terminal device. In this way, there may be no need to add new signaling overheads. This is relatively desirably compatible with a registration procedure. Therefore, implementation difficulty is relatively low.

[0026] According to a third aspect, an embodiment of the present invention provides a network slice selection control method, including:

sending, by a terminal device, a session establishment request to an access and mobility management function AMF, to request to establish a session of a first slice identifier corresponding to a first target application; and

receiving, by the terminal device, a session establishment complete message returned by the AMF, where the session establishment complete message carries an identifier of the newly established session, and a slice identifier supported by the session.



[0027] In this embodiment, the terminal device initiates the session establishment request to the AMF, and notifies the AMF of the slice identifier of the session that the terminal device requires to establish. The AMF establishes the session in response to the request of the terminal device, and notifies, by using the session establishment complete message, the terminal device of the slice identifier supported by the newly established session. It may be understood that if the slice identifier supported by the session includes only the first slice identifier, the information may not need to be included. Therefore, the slice identifier supported by the session herein may include another identifier in addition to the first slice identifier. Therefore, the terminal device can learn that the session supports the another slice identifier in addition to the first slice identifier. In this way, when determining, based on the slice selection policy, that an application corresponds to the another slice identifier, the terminal device can transmit data by learning the newly established session, and does not need to initiate a new session establishment procedure. Therefore, this can save a network resource, and data of a target application can be transmitted more quickly.

[0028] In an optional implementation, after the receiving, by the terminal device, a session establishment complete message returned by the AMF, the method further includes:

determining, by the terminal device, a second slice identifier corresponding to a second target application; and

if the slice identifier supported by the session includes the second slice identifier, transmitting data of the second target application by using the session.



[0029] Based on the foregoing descriptions, this embodiment provides an application example in which when the second target application corresponds to the second slice identifier, and the second slice identifier is a slice identifier supported by the established session, a new session establishment procedure does not need to be initiated.

[0030] According to a fourth aspect, an embodiment of the present invention provides a network slice selection control method. This embodiment is relative to the embodiment provided in the third aspect. This embodiment is implemented at a peer end of the execution entity in the embodiment of the third aspect. The method includes:

receiving, by an access and mobility management function AMF, a session establishment request sent by a terminal device, where the session establishment request requests to establish a session of a first slice identifier corresponding to a first target application;

establishing, by the AMF, a session for the terminal device, and obtaining information about a network slice supported by the session; and

returning, by the AMF, a session establishment complete message to the terminal device, where the session establishment complete message carries an identifier of the session and the information about the network slice supported by the session.



[0031] For content such as the session establishment request, the slice identifier, the information about the network slice supported by the session, and the session establishment complete message, refer to the descriptions in the foregoing embodiments, and details are not described herein again. In addition, a table of a correspondence between a session and a network slice identifier supported by the session may be stored on a side of the AMF. The correspondence table may be preconfigured. Alternatively, the correspondence table may not exist on the side of the AMF, and is stored in another network device.

[0032] In an optional implementation, a specific implementation of the obtaining, by the AMF, information about a network slice supported by the session is further provided. In an optional implementation, the obtaining information about the network slice supported by the session includes:
obtaining a session attribute of the session from a session management function (Session Management Function, SMF), where the session attribute includes the information about the network slice supported by the session.

[0033] Because the SMF has a function of managing the session attribute, the AMF may obtain, from the SMF, the session attribute of the newly established session, and obtain, from the session attribute, the information about the network slice supported by the session.

[0034] According to a fifth aspect, an embodiment of the present invention provides a network slice selection control method, including:

determining, by a terminal device, a second slice identifier corresponding to a second target application, and sending a session establishment request to an access and mobility management function AMF, where the session establishment request carries the second slice identifier;

receiving, by the terminal device, a session establishment rejection message returned by the AMF, where the session establishment rejection message indicates an identifier of a first session, the first session is a session established between the terminal device and a network side, and the first session supports the second slice identifier; and

transmitting, by the terminal, data of the second target application by using the first session.



[0035] In this embodiment, the terminal device initiates the session establishment request to the AMF, and notifies the AMF of the slice identifier corresponding to a session that the terminal device currently requests to establish. If a side of the AMF learns that the session that has been established for the terminal device supports the slice identifier, the request of the terminal device for establishing the session may be rejected, and the terminal device is notified of the session that supports the slice identifier. In a specific manner of notifying the terminal device of the session, the session establishment rejection message may indicate the identifier of the session. On a side of the terminal, the session establishment rejection message is received, and the identifier of the first session is obtained through parsing. In this way, it may be learned that a rejection reason is that the session corresponding to the identifier of the first session supports the second slice identifier, and the data of the second target application may be transmitted by using the first session. Therefore, an unnecessary session is not newly established, and a technical effect of saving a network resource can still be achieved.

[0036] According to a sixth aspect, an embodiment of the present invention provides a network slice selection control method. This embodiment is relative to the embodiment provided in the fifth aspect. This embodiment is implemented at a peer end of the execution entity in the embodiment of the fifth aspect. The method includes:

receiving, by an access and mobility management function AMF, a session establishment request sent by a terminal device, where the session request carries a second slice identifier; and

if a first session supports the second slice identifier, returning a session establishment rejection message to the terminal device, where the session establishment rejection message indicates an identifier of the first session, and the first session is a session established between the terminal device and a network side.



[0037] In this embodiment, for content such as the session establishment request, the slice identifier, and the session establishment rejection message, refer to the foregoing descriptions, and details are not described one by one herein again. Because the terminal device needs to initiate the session establishment request to the AMF to establish a session, the AMF also sends the session establishment complete message to the terminal device. Therefore, an identifier of a session that has been established for the terminal device may be stored on a side of the AMF. In other words, the identifier of the first session is stored. In this way, when the terminal device initiates a new session establishment request, the identifier of the first session may be obtained, and the slice identifier supported by the first session is obtained locally or from another device.

[0038] In an optional implementation, this embodiment further provides a specific implementation solution in which the AMF obtains the slice identifier supported by the first session in the following: before the returning a session establishment rejection message to the terminal device, the method further includes:

obtaining, by the AMF, a session attribute of the first session from a session management function SMF, where the session attribute includes an identifier of a slice supported by the first session; and

that a first session supports the second slice identifier includes:
the identifier of the slice supported by the first session includes the second slice identifier.



[0039] It should be noted that a table of a correspondence between a session and a slice identifier supported by the session may be stored on the side of the AMF. Alternatively, a session and information about a slice identifier supported by the session are stored in another form in addition to the correspondence table. Alternatively, the slice identifier supported by the session may be stored in another device in addition to the AMF. This embodiment is implemented by using a session management function of the SMF, and has relatively desirable compatibility. However, this shall not be understood as unique limitation on this embodiment of the present invention.

[0040] According to a seventh aspect, an embodiment of the present invention further provides a terminal device, including:

a sending unit, configured to send configured network selection assistance information on the terminal device to an access and mobility management function AMF, where the network selection assistance information includes a first slice identifier; and

a receiving unit, configured to receive allowed network selection assistance information and indication information that are returned by the AMF, where the allowed network selection assistance information includes a second slice identifier, and the indication information indicates that the second slice identifier corresponds to the first slice identifier.



[0041] In an optional implementation, the terminal device further includes:

an identifier determining unit, configured to: after the receiving unit receives the allowed network selection assistance information and the indication information that are returned by the AMF, determine, based on a slice selection policy, that a target application corresponds to the first slice identifier, where the slice selection policy includes a correspondence between the target application and the slice identifier; and determine, based on the indication information, that the first slice identifier corresponds to the second slice identifier; and

the sending unit is configured to transmit data of the target application by using a session corresponding to the second slice identifier.



[0042] In an optional implementation, that the sending unit is configured to transmit data of the target application by using a session corresponding to the second slice identifier includes: being configured to: send a session establishment request including the second slice identifier to a network, establish the session corresponding to the second slice identifier, and transmit the data of the target application by using the session corresponding to the second slice identifier; or
if the terminal device has established the session corresponding to the second slice identifier, transmit the data of the target application by using the session corresponding to the second slice identifier.

[0043] In an optional implementation, the session corresponding to the second slice identifier includes: a protocol data unit PDU session corresponding to the second slice identifier.

[0044] In an optional implementation, that the sending unit is configured to send configured network selection assistance information on the terminal device to an AMF includes: sending a registration request to the AMF, where the registration request carries the configured network selection assistance information on the terminal device; and
that the receiving unit is configured to receive allowed network selection assistance information and indication information that are returned by the AMF includes: receiving a registration request response message sent by the AMF, where the registration request response message carries the allowed network selection assistance information and the indication information.

[0045] According to an eighth aspect, an embodiment of the present invention further provides an access and mobility management function, including:

a receiving unit, configured to receive configured network selection assistance information that is on a terminal device and that is sent by the terminal device, where the network selection assistance information includes a first slice identifier;

an information determining unit, configured to determine allowed network selection assistance information, where the allowed network selection assistance information includes a second slice identifier; and

a sending unit, configured to: if there is a correspondence between the second slice identifier and the first slice identifier, send the allowed network selection assistance information and indication information to the terminal device, where the indication information indicates that the second slice identifier corresponds to the first slice identifier.



[0046] In an optional implementation, the receiving unit is configured to receive a registration request sent by the terminal device, where the registration request carries the configured network selection assistance information on the terminal device; and
that the sending unit is configured to send the allowed network selection assistance information and the indication information to the terminal device includes: sending a registration request response message to the terminal device, where the registration request response message carries the allowed network selection assistance information and the indication information.

[0047] According to a ninth aspect, an embodiment of the present invention further provides a terminal device, including:

a sending unit, configured to send a session establishment request to an access and mobility management function AMF, to request to establish a session of a first slice identifier corresponding to a first target application; and

a receiving unit, configured to receive a session establishment complete message returned by the AMF, where the session establishment complete message carries an identifier of the newly established session, and a slice identifier supported by the session.



[0048] In an optional implementation, the terminal device further includes:

an identifier determining unit, configured to: after the receiving unit receives the session establishment complete message returned by the AMF, determine, by the terminal device, a second slice identifier corresponding to a second target application; and

a transmission unit, configured to: if the slice identifier supported by the session includes the second slice identifier, transmit data of the second target application by using the session.



[0049] According to a tenth aspect, an embodiment of the present invention further provides an access and mobility management function, including:

a receiving unit, configured to receive a session establishment request sent by a terminal device, where the session establishment request requests to establish a session of a first slice identifier corresponding to a first target application;

a session establishment unit, configured to establish a session for the terminal device;

an information obtaining unit, configured to obtain information about a network slice supported by the session; and

a sending unit, configured to return a session establishment complete message to the terminal device, where the session establishment complete message carries an identifier of the session and the information about the network slice supported by the session.



[0050] In an optional implementation, the information obtaining unit is configured to obtain a session attribute of the session from a session management function SMF, where the session attribute includes the information about the network slice supported by the session.

[0051] According to an eleventh aspect, an embodiment of the present invention further provides a terminal device, including:

an identifier determining unit, configured to determine a second slice identifier corresponding to a second target application;

a sending unit, configured to send a session establishment request to an access and mobility management function AMF, where the session establishment request carries the second slice identifier;

a receiving unit, configured to receive a session establishment rejection message returned by the AMF, where the session establishment rejection message indicates an identifier of a first session, the first session is a session established between the terminal device and a network side, and the first session supports the second slice identifier; and

a transmission unit, configured to transmit data of the second target application by using the first session.



[0052] According to a twelfth aspect, an embodiment of the present invention further provides an access and mobility management function, including:

a receiving unit, configured to receive a session establishment request sent by a terminal device, where the session request carries a second slice identifier; and

a sending unit, configured to: if a first session supports the second slice identifier, return a session establishment rejection message to the terminal device, where the session establishment rejection message indicates an identifier of the first session, and the first session is a session established between the terminal device and a network side.



[0053] In an optional implementation, the access and mobility management function further includes:

an attribute obtaining unit, configured to: before the sending unit returns the session establishment rejection message to the terminal device, obtain, by the AMF, a session attribute of the first session from a session management function SMF, where the session attribute includes an identifier of a slice supported by the first session; and

that a first session supports the second slice identifier includes: the identifier of the slice supported by the first session includes the second slice identifier.



[0054] According to a thirteenth aspect, an embodiment of the present invention further provides a terminal device, including: a processor, a memory, and a transceiver, where
the memory stores program code, and when executing the program code, the processor performs any one of the methods performed by the terminal device in the embodiments of the present invention.

[0055] According to a fourteenth aspect, an embodiment of the present invention further provides an access and mobility management function, including: a processor, a memory, and a transceiver, where
the memory stores program code, and when executing the program code, the processor performs any one of the methods performed by the access and mobility management function in the embodiments of the present invention.

[0056] According to a fifteenth aspect, an embodiment of the present invention further provides a storage medium. The storage medium includes program code. When the program code is executed, the procedure of any one of the methods provided in the embodiments of the present invention is performed.

[0057] According to a sixteenth aspect, an embodiment of the present invention further provides a terminal device, including: a processing unit and a communications unit, where
the processing unit is configured to: send, by using the communications unit, configured network selection assistance information on the terminal device to an access and mobility management function AMF, where the network selection assistance information includes a first slice identifier; and receive, by using the communications unit, allowed network selection assistance information and indication information that are returned by the AMF, where the allowed network selection assistance information includes a second slice identifier, and the indication information indicates that the second slice identifier corresponds to the first slice identifier.

[0058] In an optional implementation, the processing unit is further configured to: after receiving, by using the communications unit, the allowed network selection assistance information and the indication information that are returned by the AMF, determine, based on a slice selection policy, that a target application corresponds to the first slice identifier, where the slice selection policy includes a correspondence between the target application and the slice identifier; determine, based on the indication information, that the first slice identifier corresponds to the second slice identifier; and transmit, by using the communications unit, data of the target application by using a session corresponding to the second slice identifier.

[0059] In an optional implementation, that the processing unit is configured to transmit, by using the communications unit, data of the target application by using a session corresponding to the second slice identifier includes: being configured to: send, by using the communications unit, a session establishment request including the second slice identifier to a network, establish the session corresponding to the second slice identifier, and transmit the data of the target application by using the session corresponding to the second slice identifier; or
if the terminal device has established the session corresponding to the second slice identifier, transmit the data of the target application by using the session corresponding to the second slice identifier.

[0060] In an optional implementation, the session corresponding to the second slice identifier includes: a protocol data unit PDU session corresponding to the second slice identifier.

[0061] In an optional implementation, that the processing unit is configured to: send, by using the communications unit, configured network selection assistance information on the terminal device to an AMF includes: sending a registration request to the AMF, where the registration request carries the configured network selection assistance information on the terminal device.

[0062] That the processing unit is configured to receive, by using the communications unit, allowed network selection assistance information and indication information that are returned by the AMF includes: receiving, by using the communications unit, a registration request response message sent by the AMF, where the registration request response message carries the allowed network selection assistance information and the indication information.

[0063] According to a seventeenth aspect, an embodiment of the present invention further provides an access and mobility management function, including: a processing unit and a communications unit, where
the processing unit is configured to receive, by using the communications unit, configured network selection assistance information that is on a terminal device and that is sent by the terminal device, where the network selection assistance information includes a first slice identifier;
the processing unit is further configured to determine allowed network selection assistance information, where the allowed network selection assistance information includes a second slice identifier; and
the processing unit is further configured to: if there is a correspondence between the second slice identifier and the first slice identifier, send the allowed network selection assistance information and indication information to the terminal device by using the communications unit, where the indication information indicates that the second slice identifier corresponds to the first slice identifier.

[0064] In an optional implementation, the processing unit is configured to receive, by using the communications unit, a registration request sent by the terminal device, where the registration request carries the configured network selection assistance information on the terminal device; and the sending the allowed network selection assistance information and indication information to the terminal device includes: sending a registration request response message to the terminal device, where the registration request response message carries the allowed network selection assistance information and the indication information.

[0065] According to an eighteenth aspect, an embodiment of the present invention further provides a terminal device, including: a processing unit and a communications unit, where
the processing unit is configured to send, by using the communications unit, a session establishment request to an access and mobility management function AMF, to request to establish a session of a first slice identifier corresponding to a first target application; and
the processing unit is further configured to receive, by using the communications unit, a session establishment complete message returned by the AMF, where the session establishment complete message carries an identifier of the newly established session, and a slice identifier supported by the session.

[0066] In an optional implementation, the processing unit is further configured to: after receiving, by using the communications unit, the session establishment complete message returned by the AMF, determine, by the terminal device, a second slice identifier corresponding to a second target application; and
the processing unit is further configured to: if the slice identifier supported by the session includes the second slice identifier, transmit, by using the communications unit, data of the second target application by using the session.

[0067] According to a nineteenth aspect, an embodiment of the present invention further provides an access and mobility management function, including: a processing unit and a communications unit, where
the processing unit is configured to receive, by using the communications unit, a session establishment request sent by a terminal device, where the session establishment request requests to establish a session of a first slice identifier corresponding to a first target application;
the processing unit is further configured to: establish a session for the terminal device, and obtain information about a network slice supported by the session; and
the processing unit is further configured to return a session establishment complete message to the terminal device by using the communications unit, where the session establishment complete message carries an identifier of the session, and the information about the network slice supported by the session.

[0068] In an optional implementation, that the processing unit is configured to obtain information about a network slice supported by the session includes: being configured to obtain a session attribute of the session from a session management function SMF by using the communications unit, where the session attribute includes the information about the network slice supported by the session.

[0069] According to a twentieth aspect, an embodiment of the present invention further provides a terminal device, including: a processing unit and a communications unit, where
the processing unit is configured to determine a second slice identifier corresponding to a second target application; and
the processing unit is configured to: send, by using the communications unit, a session establishment request to an access and mobility management function AMF, where the session establishment request carries the second slice identifier; receive a session establishment rejection message returned by the AMF, where the session establishment rejection message indicates an identifier of a first session, the first session is a session established between the terminal device and a network side, and the first session supports the second slice identifier; and transmit data of the second target application by using the first session.

[0070] According to a twenty-first aspect, an embodiment of the present invention further provides an access and mobility management function, including: a processing unit and a communications unit, where
the processing unit is configured to: receive, by using the communications unit, a session establishment request sent by a terminal device, where the session request carries a second slice identifier; and if a first session supports the second slice identifier, return a session establishment rejection message to the terminal device, where the session establishment rejection message indicates an identifier of the first session, and the first session is a session established between the terminal device and a network side.

[0071] In an optional implementation, the processing unit is further configured to: before returning the session establishment rejection message to the terminal device by using the communications unit, obtain a session attribute of the first session from a session management function SMF by using the communications unit, where the session attribute includes an identifier of a slice supported by the first session; and
that a first session supports the second slice identifier includes: the identifier of the slice supported by the first session includes the second slice identifier.

[0072] According to another aspect, an embodiment of the present invention provides a communications system. The system includes the mobility management function in the foregoing aspects. In another possible design, the system may further include another device, for example, an SMF or a terminal device that interacts with the core network interface device in the solutions provided in the embodiments of the present invention.

[0073] According to another aspect, an embodiment of the present invention provides a computer program. The computer program includes an instruction sequence. When the instruction sequence is executed, any one of the methods provided in the embodiments of the present invention is performed.

BRIEF DESCRIPTION OF DRAWINGS



[0074] To describe the technical solutions in the embodiments of the present invention or in the background more clearly, the following briefly describes the accompanying drawings required for describing the embodiments of the present invention or the background.

FIG. 1 is a schematic structural diagram of a system according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of an NSSP according to an embodiment of the present invention;

FIG. 3 is a schematic diagram of an NSSP according to an embodiment of the present invention;

FIG. 4 is a schematic flowchart of a method according to an embodiment of the present invention;

FIG. 5 is a schematic flowchart of a method according to an embodiment of the present invention;

FIG. 6 is a schematic flowchart of a method according to an embodiment of the present invention;

FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;

FIG. 8 is a schematic structural diagram of an access and mobility management function according to an embodiment of the present invention;

FIG. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;

FIG. 10 is a schematic structural diagram of an access and mobility management function according to an embodiment of the present invention;

FIG. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;

FIG. 12 is a schematic structural diagram of an access and mobility management function according to an embodiment of the present invention;

FIG. 13 is a schematic structural diagram of a device according to an embodiment of the present invention; and

FIG. 14 is a schematic structural diagram of a device according to an embodiment of the present invention.


DESCRIPTION OF EMBODIMENTS



[0075] The following describes the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention.

[0076] Functions of a 5G core network are classified into a user plane function (User plane function, UPF) and a control plane function (Control plane function, CP). A user plane network element is mainly responsible for forwarding a data packet, controlling quality of service (Quality of Service, QoS), collecting statistics on charging information, and the like. A control plane network element is mainly responsible for user registration verification, mobility management, and delivering to the UPF a data packet forwarding policy, a QoS control policy, and the like. Control plane network elements may be further classified into an AMF and a session management function SMF. The AMF is responsible for executing a registration procedure when a user performs access and performing location management in a movement process of a user. The SMF is responsible for establishing a corresponding session connection on a network side when a user initiates a service, providing a specific service to the user, and in particular, delivering to the UPF a data packet forwarding policy, a QoS policy, and the like based on an N4 interface between the SMF and the UPF.

[0077] As shown in FIG. 1, FIG. 1 shows a system example of a 5G communications system. FIG. 1 includes: user equipment (User Equipment, UE), a radio access network (Radio Access Network, RNA) or an access network (Access Network, AN), a user port function (User Port Function, UPF), a data network (Data Network, DN), an AMF, an SMF, a policy function (Policy Function, PCF), an application function (Application Function, AF), an authentication server function (Authentication Server Function, AUSF), and unified data management (Unified Data Management, UDM) that perform communication by using interfaces from N1 to N15. In FIG. 1, the UE may be considered as another representation form of a terminal device.

[0078] To more vividly describe the technical problem described in background, referring to FIG. 2 and FIG. 3, a terminal device currently has three apps that are respectively an app 1, an app 2, and an app 3. As shown in FIG. 2, in a configured NSSP, the three apps respectively correspond to three SSTs and three PDU sessions. It is assumed that the app 1 has been run, and a terminal device establishes a PDU session #1 for the app 1. When the app 2 is started, the terminal device learns, based on the NSSP, that the app 2 is associated with an SST 1. The current PDU session #1 can support the SST 1. Therefore, the terminal device sends data of the app 2 by using the PDU session #1. When the app 3 is started, the terminal device learns, based on the NSSP, that the app 3 is associated with an SST 2. However, currently, no PDU session can support the SST 2. Therefore, the terminal device initiates a new PDU session establishment request, and adds the SST 2 to a request message. After establishment of the new PDU session is completed, the terminal device sends data of the app 3 by using the new PDU session.

[0079] There is seemingly no technical problem in the foregoing session establishment process. However, in an actual application process, a configured SST on a side of the terminal device may change and may be updated by a network side. In an access procedure discussed in an existing standard, the terminal device provides a configured (Configured) SST in an attach (Attach) message. After accepting access by the terminal device, the network side returns an accepted SST (Accepted SST), or it may also be named as an allowed SST, to the terminal device by using an attach accept (Attach Accept) message. The two pieces of information are not completely consistent in many scenarios.

[0080] For example, in a roaming scenario, as shown in FIG. 2, a preconfigured SST list (list) on the side of the terminal device is (1, 2, 3); and 1, 2, and 3 may all be referred to as standard values, and therefore, can be understood by a roaming network. As shown in FIG. 3, in a new NSSP, three apps correspond to two SSTs and two PDU sessions. Details are as follows: After a roaming network accepts access of a terminal device, an accepted SST list returned to the terminal device is (3, 4). Herein, 4 is a non-standard value. An SST 4 is a slice identifier of a non-standard slice self-defined in the roaming network, but the slice of slice identifier 4 can support both an SST 1 and an SST 2. After the terminal device stores the accepted SST list (3,4), an app does not know how to associate with the accepted SST list (3, 4). To be specific, based on the configured NSSP of the terminal device, the terminal device can understand that the app 1 is associated with the SST 1, but does not know that the app 1 may be associated with the SST 4. It is assumed that the network side establishes, for the terminal device, a PDU session that supports the SST 4. When the terminal device currently needs to initiate transmission of service data of the app 1 or the app 2, the terminal device does not know that the PDU session that supports the SST 4 actually can support data transmission of the SST 1 and the SST 2. Therefore, the terminal device incorrectly considers that no PDU session can currently support the SST 1 or the SST 2. As a result, the terminal device initiates an unnecessary PDU session establishment request, causing network resource waste. Currently, there is such a gap (Gap) in a standard solution, and there is no corresponding solution. The embodiments of the present invention provide solutions for resolving the problem.

[0081] In the embodiments of the present invention, to resolve the foregoing problem, an association between an app and an accepted SST is established, to ensure that UE can correctly provide an SST to assist network slice selection and session (session) establishment. In a registration process, if a configured SST and an accepted SST of the UE are inconsistent, a core network may send a new NSSP to the UE by using a non-access stratum (Non Access Stratum, NAS) message, so as to ensure that the UE can correctly associate an app with an accepted SST. Alternatively, the core network may notify the UE of the association in another manner. The following embodiments provide three notification manners.

[0082] In the following embodiments, a registration process or a session establishment process of a PDF session is separately used as an example for description. The following embodiments mainly include the following entity devices:

UE: In the embodiments of the present invention, UE may be a terminal device that supports a 5G network. However, user equipment that can be applied in the present invention is not limited to a 5G network, and may be further applied to all types of terminal devices, including: a mobile phone, an Internet of Things device, a smart household device, an industrial control device, a vehicle device, and the like. The technical solutions provided in the embodiments of the present invention can be used as long as there is a network slice selection requirement, and a terminal device has the foregoing technical problem.

Radio access network (Radio Access Network, RAN) node (Node): is usually a wireless base station such as an eNodeB. The UE establishes a radio channel with the RAN Node, and accesses a core network to obtain a service by using the RAN Node. Therefore, in the embodiments of the present invention, communication may be performed between a terminal device and an AMF through forwarding performed by the RAN Node.

AMF: is responsible for UE mobility management, session management message routing, access verification and authentication, UE context storage, and the like.

SMF: is responsible for session management, selection of a user plane functional entity, allocation of an Internet Protocol (Internet Protocol, IP) address to UE, termination of a session management NAS message, QoS execution control, and the like.

PCF: provides a network to a control plane functional entity such as an AMF or an SMF.



[0083] An example of a specific implementation solution is as follows:
1.
It is assumed that an application scenario is as follows:
A UE side stores a configured network slice selection policy (Network Slice Selection Policy, NSSP). The NSSP may be configured by an operator for the UE and may be stored in a subscriber identity module (Subscriber Identity Module, SIM), or may be preconfigured when the terminal device is delivered from a factory, or may be configured on the UE when an app is installed. The configured NSSP currently stored by the UE is shown in the following Table 1.
Table 1
App 1 Configured SST 1
App 2 Configured SST 2
App 3 Configured SST 3


[0084] When initiating a registration request to a network side, the UE provides a configured SST (1, 2, 3) to the network side, or the network side obtains a configured SST (1, 2, 3) from subscription data. The network side determines an accepted SST for the UE based on a network policy (for example, a local policy, a roaming protocol, or a congestion status). The configured SST may be consistent or inconsistent with the accepted SST. For example, the accepted SST may be (1, 2, 3), or (1, 2), or the accepted SST may be (3, 4) when it is assumed that a network slice of the SST 4 supports both the SST 1 and the SST 2, or the accepted SST may be (5) when it is assumed that a slice of the SST 5 is a default slice. In the first two cases, because the technical problem resolved in the embodiments of the present invention does not exist, an NSSP does not need to be updated because an app can be correctly associated with an accepted SST based on an original NSSP. However, in the last two cases, the technical solution in the embodiments of the present invention needs to be used to resolve the above technical problem for an NSSP. Otherwise, the UE cannot correctly associate an app with an accepted SST. As a result, unnecessary session establishment is initiated.

[0085] As shown in FIG. 4, a specific procedure includes:

401. UE sends a registration request such as an attach request (Attach Request) message to an AMF. The attach request message may include configured network slice selection assistance information (Network Slice Selection Assistance Information, NSSAI) on a terminal device. The configured NSSAI may be a configured SST, for example, SST (1, 2, 3).

402. A network side device and the UE perform a normal attach (Attach) procedure. Details are not described herein.

403. The AMF returns a response message such as an attach accept (Attach Accept) message to the UE. The attach accept message may include accepted NSSAI and an updated NSSP. The accepted NSSAI may include an accepted SST. The updated NSSP may include a correspondence between a configured SST and an accepted SST. For example, the accepted SST is (3, 4), and the SST 4 can support the SST 1 and the SST 2. The updated NSSP includes indication information indicating that the SST 1 corresponds to the SST 4 and the SST 2 corresponds to the SST 4. The correspondence may be indicated by using a table.

404. The UE stores the updated NSSP based on an accessed public land mobile network (Public Land Mobile Network, PLMN).



[0086] In this embodiment, the updated NSSP is bound with the currently accessed PLMN, and the UE uses the updated NSSP only within a range of the current PLMN. The updated NSSP does not replace an originally configured NSSP.

[0087] 405. An app 1 on the UE side is started, service data needs to be transmitted.

[0088] 406. The UE first corresponds the app 1 to the SST 1 based on the configured NSSP that is preconfigured, and corresponds the SST 1 to the SST 4 based on the updated NSSP.

[0089] 407. If no PDU session currently corresponds to the SST 4, the UE initiates a PDU session establishment request including the accepted SST 4.

[0090] 408. The AMF selects an SMF based on the accepted SST 4, and forwards the PDU session establishment request to the SMF.

[0091] 409. Complete PDU session establishment.

[0092] In this case, if an app 2 of the UE is started, and service data needs to be transmitted, the UE first corresponds the app 2 to the SST 2 based on the configured NSSP that is preconfigured, and corresponds the SST 2 to the SST 4 based on the updated NSSP. The UE detects that a PDU session supporting the SST 4 currently exists, the service data of the app 2 is transmitted by using the PDU session, and a PDU session establishment request no longer needs to be initiated.

2.
An application scenario in this embodiment is the same as that in the foregoing embodiment, and details are not described herein again. A difference is that an NSSP does not need to be updated in this embodiment, and UE still associates an app with an SST based on a preconfigured NSSP. As shown in FIG. 5, details are as follows:

501. Start an app 1 of UE.

502. The UE corresponds the app 1 to an SST 1 based on a configured NSSP.

503. The UE initiates a PDU session establishment request, where the PDU session establishment request includes the configured SST 1.

504. An AMF selects an SMF based on the configured SST 1, and forwards the PDU session establishment request to the SMF.

505. The SMF performs a PDU session establishment procedure. Optionally, the SMF requests to obtain, from a PCF, a session attribute of a newly established PDU session, for example, SSTs supported by the newly established PDU session. For example, the PDU supports the SST 1, an SST 2, an SST 4, and an SST 5.

506. After establishment of the PDU session is completed, the SMF returns a response message to the AMF to indicate that establishment of the PDU session is completed, where the message includes a PDU establishment complete message and the attribute of the PDU session.

507. The AMF determines, based on NSSAI (that is, configured SST information) in subscription data of the UE, SSTs that are supported by the PDU and that should be notified to the UE. For example, the SST information in the subscription data of the UE is SSTs (1, 2, 3). In this case, the AMF determines to notify the UE that the newly established PDU session supports the SST 1 and the SST 2.

508. The AMF forwards a PDU session establishment complete message and the attribute of the PDU session to the UE, where the attribute of the PDU session indicates that the newly established PDU session supports the SST 1 and the SST 2.


In this case, if an app 2 of the UE is started, and service data needs to be transmitted, the UE first corresponds the app 2 to the SST 2 based on the configured NSSP preconfigured, and determines, based on the attribute of the PDU session, that the previously established PDU session supports the SST 2. The service data of the app 2 is transmitted by using the PDU session, and a PDU session establishment request no longer needs to be initiated.

3.
An application scenario in this embodiment is the same as that in the foregoing embodiment, and details are not described herein again. A difference is that an NSSP is not updated in this embodiment, and UE still associates an app with an SST based on a preconfigured NSSP. As shown in FIG. 6, details are as follows:
601. Start an app 2 of UE.



[0093] It is assumed that an app 1 of the UE corresponds to an SST 1 and a PDU session is established.

[0094] 602. The UE corresponds the app 2 to an SST 2 based on a configured NSSP.

[0095] 603. The UE initiates a PDU session establishment request, where the PDU session establishment request includes the configured SST 2.

[0096] 604. An AMF selects an SMF based on the configured SST 2, and forwards the PDU session establishment request to the SMF.

[0097] 605. The SMF detects whether a PDU session currently established for the UE can serve as a PDU session that the PDU session establishment request requests to establish. The SMF can store an identifier (identifier, ID) of the previous PDU session and an attribute of the PDU session, that is, SSTs that are supported.

[0098] 606. If a PDU session that can support the SST 2 currently exists, the SMF sends a response message to the AMF, where the response message includes a PDU session establishment rejection message including an ID of the PDU session, and the ID of the PDU session indicates the PDU session that can support the request. Optionally, the response message may further include a cause value indicating the UE that rejection is performed because the PDU session that can support the requested service exists. Alternatively, there is no cause value, and when the returned PDU session establishment rejection message carries the identifier of the PDU session, it indicates by default that the PDU session that corresponds to the identifier of the PDU session and that supports the requested service exists.

[0099] 607. The AMF forwards the PDU session establishment rejection message to the UE. After receiving the message, the UE determines, based on the ID of the PDU session, the currently existing PDU session, and sends service data of the app 2 by using the PDU session corresponding to the ID of the PDU session.

[0100] In this embodiment, an unnecessary PDU session does not need to be newly established either.

[0101] FIG. 7 is a possible schematic structural diagram of a terminal device according to the foregoing embodiment. The terminal device includes:

a sending unit 701, configured to send configured network selection assistance information on the terminal device to an access and mobility management function AMF, where the network selection assistance information includes a first slice identifier; and

a receiving unit 702, configured to receive allowed network selection assistance information and indication information that are returned by the AMF, where the allowed network selection assistance information includes a second slice identifier, and the indication information indicates that the second slice identifier corresponds to the first slice identifier.



[0102] In an optional implementation, the terminal device further includes:

an identifier determining unit 703, configured to: after the receiving unit 702 receives the allowed network selection assistance information and the indication information that are returned by the AMF, determine, based on a slice selection policy, that a target application corresponds to the first slice identifier, where the slice selection policy includes a correspondence between the target application and the slice identifier; and determine, based on the indication information, that the first slice identifier corresponds to the second slice identifier; and

the sending unit 701 is configured to transmit data of the target application by using a session corresponding to the second slice identifier.



[0103] In an optional implementation, that the sending unit 701 is configured to transmit data of the target application by using a session corresponding to the second slice identifier includes: being configured to: send a session establishment request including the second slice identifier to a network, establish the session corresponding to the second slice identifier, and transmit the data of the target application by using the session corresponding to the second slice identifier; or
if the terminal device has established the session corresponding to the second slice identifier, transmit the data of the target application by using the session corresponding to the second slice identifier.

[0104] In an optional implementation, the session corresponding to the second slice identifier includes: a protocol data unit PDU session corresponding to the second slice identifier.

[0105] In an optional implementation, that the sending unit 701 is configured to send configured network selection assistance information on the terminal device to an AMF includes: sending a registration request to the AMF, where the registration request carries the configured network selection assistance information on the terminal device; and
that the receiving unit 702 is configured to receive allowed network selection assistance information and indication information that are returned by the AMF includes: receiving a registration request response message sent by the AMF, where the registration request response message carries the allowed network selection assistance information and the indication information.

[0106] FIG. 8 is a possible schematic structural diagram of a mobility management function according to the foregoing embodiment. The access and mobility management function includes:

a receiving unit 801, configured to receive configured network selection assistance information that is on a terminal device and that is sent by the terminal device, where the network selection assistance information includes a first slice identifier;

an information determining unit 802, configured to determine allowed network selection assistance information, where the allowed network selection assistance information includes a second slice identifier; and

a sending unit 803, configured to: if there is a correspondence between the second slice identifier and the first slice identifier, send the allowed network selection assistance information and indication information to the terminal device, where the indication information indicates that the second slice identifier corresponds to the first slice identifier.



[0107] In an optional implementation, the receiving unit 801 is configured to receive a registration request sent by the terminal device, where the registration request carries the configured network selection assistance information on the terminal device; and
that the sending unit 803 is configured to send the allowed network selection assistance information and indication information to the terminal device includes: sending a registration request response message to the terminal device, where the registration request response message carries the allowed network selection assistance information and the indication information.

[0108] FIG. 9 is a possible schematic structural diagram of a terminal device according to the foregoing embodiment. The terminal device includes:

a sending unit 901, configured to send a session establishment request to an access and mobility management function AMF, to request to establish a session of a first slice identifier corresponding to a first target application; and

a receiving unit 902, configured to receive a session establishment complete message returned by the AMF, where the session establishment complete message carries an identifier of the newly established session, and a slice identifier supported by the session.



[0109] In an optional implementation, the terminal device further includes:

an identifier determining unit 903, configured to: after the receiving unit 902 receives the session establishment complete message returned by the AMF, determine, by the terminal device, a second slice identifier corresponding to a second target application; and

a transmission unit 904, configured to: if the slice identifier supported by the session includes the second slice identifier, transmit data of the second target application by using the session.



[0110] FIG. 10 is a possible schematic structural diagram of an access and mobility management function according to the foregoing embodiment. The access and mobility management function includes:

a receiving unit 1001, configured to receive a session establishment request sent by a terminal device, where the session establishment request requests to establish a session of a first slice identifier corresponding to a first target application;

a session establishment unit 1002, configured to establish a session for the terminal device;

an information obtaining unit 1003, configured to obtain information about a network slice supported by the session; and

a sending unit 1004, configured to return a session establishment complete message to the terminal device, where the session establishment complete message carries an identifier of the session and the information about the network slice supported by the session.



[0111] In an optional implementation, the information obtaining unit 1003 is configured to obtain a session attribute of the session from a session management function SMF, where the session attribute includes the information about the network slice supported by the session.

[0112] FIG. 11 is a possible schematic structural diagram of a terminal device according to the foregoing embodiment. The terminal device includes:

an identifier determining unit 1101, configured to determine a second slice identifier corresponding to a second target application;

a sending unit 1102, configured to send a session establishment request to an access and mobility management function AMF, where the session establishment request carries the second slice identifier;

a receiving unit 1103, configured to receive a session establishment rejection message returned by the AMF, where the session establishment rejection message indicates an identifier of a first session, the first session is a session established between the terminal device and a network side, and the first session supports the second slice identifier; and

a transmission unit 1104, configured to transmit data of the second target application by using the first session.



[0113] FIG. 12 is a possible schematic structural diagram of a mobility management function according to the foregoing embodiment. The mobility management function includes:

a receiving unit 1201, configured to receive a session establishment request sent by a terminal device, where the session request carries a second slice identifier; and

a sending unit 1202, configured to: if a first session supports the second slice identifier, return a session establishment rejection message to the terminal device, where the session establishment rejection message indicates an identifier of the first session, and the first session is a session established between the terminal device and a network side.



[0114] In an optional implementation, the access and mobility management function further includes:

an attribute obtaining unit 1203, configured to: before the sending unit returns the session establishment rejection message to the terminal device, obtain, by the AMF, a session attribute of the first session from a session management function SMF, where the session attribute includes an identifier of a slice supported by the first session; and

that a first session supports the second slice identifier includes: the identifier of the slice supported by the first session includes the second slice identifier.



[0115] It should be noted that in the embodiments of the present invention, unit division is an example and is only logical function division. There may be other division manners in an actual implementation. Functional units in the embodiments of the present invention may be integrated in one processing unit or exist as separate physical units, or two or more units are integrated in one unit. The integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit. The following provides two possible solutions shown in FIG. 14 and FIG. 15.

[0116] As shown in FIG. 14, an embodiment of the present invention further provides a device shown in FIG. 13. The device includes: a processing unit 1301 and a communications unit 1302, and may further include a storage unit or other functional units. This is not uniquely limited in this embodiment of the present invention.
  1. 1. The device shown in FIG. 13 may be used as the terminal device described in the foregoing embodiments.


[0117] In this case, in this embodiment, a function of the communications unit 1302 may be implemented as the functions of the receiving unit 702 and the sending unit 701 shown in FIG. 7. The processor 1301 can implement the function of the identifier determining unit 703. Correspondingly, the communications unit 1302 and the processor 1301 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments. Details are as follows:

[0118] The processing unit 1301 is configured to: send, by using the communications unit 1302, configured network selection assistance information on the terminal device to an access and mobility management function AMF, where the network selection assistance information includes a first slice identifier; and receive, by using the communications unit 1302, allowed network selection assistance information and indication information that are returned by the AMF, where the allowed network selection assistance information includes a second slice identifier, and the indication information indicates that the second slice identifier corresponds to the first slice identifier.

[0119] In an optional implementation, the processing unit 1301 is further configured to: after receiving, by using the communications unit 1302, the allowed network selection assistance information and the indication information that are returned by the AMF, determine, based on a slice selection policy, that a target application corresponds to the first slice identifier, where the slice selection policy includes a correspondence between the target application and the slice identifier; determine, based on the indication information, that the first slice identifier corresponds to the second slice identifier; and transmit, by using the communications unit 1302, data of the target application by using a session corresponding to the second slice identifier.

[0120] In an optional implementation, that the processing unit 1301 is configured to transmit, by using the communications unit 1302, data of the target application by using a session corresponding to the second slice identifier includes: being configured to: send, by using the communications unit 1302, a session establishment request including the second slice identifier to a network, establish the session corresponding to the second slice identifier, and transmit the data of the target application by using the session corresponding to the second slice identifier; or
if the terminal device has established the session corresponding to the second slice identifier, transmit the data of the target application by using the session corresponding to the second slice identifier.

[0121] In an optional implementation, the session corresponding to the second slice identifier includes: a protocol data unit PDU session corresponding to the second slice identifier.

[0122] In an optional implementation, that the processing unit 1301 is configured to: send, by using the communications unit 1302, configured network selection assistance information on the terminal device to an AMF includes: sending a registration request to the AMF, where the registration request carries the configured network selection assistance information on the terminal device.

[0123] That the processing unit 1301 is configured to receive, by using the communications unit 1302, allowed network selection assistance information and indication information that are returned by the AMF includes: receiving, by using the communications unit 1302, a registration request response message sent by the AMF, where the registration request response message carries the allowed network selection assistance information and the indication information.

2. The device shown in FIG. 13 may be used as the AMF described in the foregoing embodiments.
In this case, in this embodiment, a function of the communications unit 1302 may be implemented as the functions of the receiving unit 801 and the sending unit 803 shown in FIG. 8. The processor 1301 can implement the function of the information determining unit 802. Correspondingly, the communications unit 1302 and the processor 1301 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments. Details are as follows:
The processing unit 1301 is configured to receive, by using the communications unit 1302, configured network selection assistance information that is on a terminal device and that is sent by the terminal device, where the network selection assistance information includes a first slice identifier.
The processing unit 1301 is further configured to determine allowed network selection assistance information, where the allowed network selection assistance information includes a second slice identifier.
The processing unit 1301 is further configured to: if there is a correspondence between the second slice identifier and the first slice identifier, send the allowed network selection assistance information and indication information to the terminal device by using the communications unit 1302, where the indication information indicates that the second slice identifier corresponds to the first slice identifier.
In an optional implementation, the processing unit 1301 is configured to receive, by using the communications unit 1302, a registration request sent by the terminal device, where the registration request carries the configured network selection assistance information on the terminal device; and the sending the allowed network selection assistance information and indication information to the terminal device includes: sending a registration request response message to the terminal device, where the registration request response message carries the allowed network selection assistance information and the indication information.

3. The device shown in FIG. 13 may be used as the terminal device described in the foregoing embodiments.
In this case, in this embodiment, a function of the communications unit 1302 may be implemented as the functions of the receiving unit 902, the sending unit 903, and the transmission unit 904 shown in FIG. 9. The processor 1301 can implement the function of the identifier determining unit 903. Correspondingly, the communications unit 1302 and the processor 1301 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments. Details are as follows:
The processing unit 1301 is configured to send, by using the communications unit 1302, a session establishment request to an access and mobility management function AMF, to request to establish a session of a first slice identifier corresponding to a first target application.
The processing unit 1301 is further configured to receive, by using the communications unit 1302, a session establishment complete message returned by the AMF, where the session establishment complete message carries an identifier of the newly established session, and a slice identifier supported by the session.
In an optional implementation, the processing unit 1301 is further configured to: after receiving, by using the communications unit 1302, the session establishment complete message returned by the AMF, determine, by the terminal device, a second slice identifier corresponding to a second target application.
The processing unit 1301 is further configured to: if the slice identifier supported by the session includes the second slice identifier, transmit, by using the communications unit 1302, data of the second target application by using the session.

4. The device shown in FIG. 13 may be used as the AMF described in the foregoing embodiments.
In this case, in this embodiment, a function of the communications unit 1302 may be implemented as functions of the receiving unit 1001 and the sending unit 1004 shown in FIG. 10. The processor 1301 can implement the functions of the session establishment unit 1002 and the information obtaining unit 1003. Correspondingly, the communications unit 1302 and the processor 1301 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments. Details are as follows:
The processing unit 1301 is configured to receive, by using the communications unit 1302, a session establishment request sent by a terminal device, where the session establishment request requests to establish a session of a first slice identifier corresponding to a first target application.
The processing unit 1301 is further configured to: establish a session for the terminal device, and obtain information about a network slice supported by the session.
The processing unit 1301 is further configured to return a session establishment complete message to the terminal device by using the communications unit 1302, where the session establishment complete message carries an identifier of the session, and the information about the network slice supported by the session.
In an optional implementation, that the processing unit 1301 is configured to obtain information about a network slice supported by the session includes: being configured to obtain a session attribute of the session from a session management function SMF by using the communications unit 1302, where the session attribute includes the information about the network slice supported by the session.

5. The device shown in FIG. 13 may be used as the terminal device described in the foregoing embodiments.
In this case, in this embodiment, a function of the communications unit 1302 may be implemented as functions of the receiving unit 1103, the sending unit 1102, and the transmission unit 1104 shown in FIG. 11. The processor 1301 can implement the function of the identifier determining unit 1101. Correspondingly, the communications unit 1302 and the processor 1301 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments. Details are as follows:
The processing unit 1301 is configured to determine a second slice identifier corresponding to a second target application.
The processing unit 1301 is configured to: send, by using the communications unit 1302, a session establishment request to an access and mobility management function AMF, where the session establishment request carries the second slice identifier; receive a session establishment rejection message returned by the AMF, where the session establishment rejection message indicates an identifier of a first session, the first session is a session established between the terminal device and a network side, and the first session supports the second slice identifier; and transmit data of the second target application by using the first session.

6. The device shown in FIG. 13 may be used as the AMF described in the foregoing embodiments.



[0124] In this case, in this embodiment, a function of the communications unit 1302 may be implemented as functions of the receiving unit 1201 and the sending unit 1202 shown in FIG. 12. The processor 1301 can implement the function of the attribute obtaining unit 703. Correspondingly, the communications unit 1302 and the processor 1301 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments. Details are as follows:

[0125] The processing unit 1301 is configured to: receive, by using the communications unit 1302, a session establishment request sent by a terminal device, where the session request carries a second slice identifier; and if a first session supports the second slice identifier, return a session establishment rejection message to the terminal device, where the session establishment rejection message indicates an identifier of the first session, and the first session is a session established between the terminal device and a network side.

[0126] In an optional implementation, the processing unit 1301 is further configured to: before returning the session establishment rejection message to the terminal device by using the communications unit 1302, obtain a session attribute of the first session from a session management function SMF by using the communications unit 1302, where the session attribute includes an identifier of a slice supported by the first session; and
that a first session supports the second slice identifier includes: the identifier of the slice supported by the first session includes the second slice identifier.

[0127] Referring to FIG. 14, FIG. 14 shows a device according to an embodiment of the present invention. The device includes a processor 1401, a memory 1402, and a transceiver 1403. The processor 1401, the memory 1402, and the transceiver 1403 are connected to each other by using a bus.

[0128] The memory 1402 includes, but is not limited to, a random access memory (Random Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), an erasable programmable read only memory (Erasable Programmable Read Only Memory, EPROM), or a portable read-only memory (Compact Disc Read-Only Memory, CD-ROM). The memory 1402 is configured to store related instructions and data. The transceiver 1403 is configured to receive and send data.

[0129] The processor 1401 may be one or more central processing units (Central Processing Unit, CPU). When the processor 1401 is one CPU, the CPU maybe a single-core CPU or a multicore CPU.

[0130] The processor 1401 of the device is configured to read program code stored in the memory 1402, to perform the method provided in the embodiments of the present invention. The transceiver 1403 is controlled by the processor 1401 to implement sending and receiving functions.

[0131] More specifically, if the device is used as a terminal device, the processor 1401 is configured to read the program code stored in the memory 1402, to perform any one of the methods performed by the terminal device in the embodiments of the present invention. More details are as follows:

[0132] A function of the transceiver 1403 may be implemented as functions of the receiving unit 702 and the sending unit 701 shown in FIG. 7. The processor 1401 can implement the function of the identifier determining unit 703. Correspondingly, the transceiver 1403 and the processor 1401 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments.

[0133] Alternatively, a function of the transceiver 1403 may be implemented as functions of the receiving unit 902, the sending unit 903, and the transmission unit 904 shown in FIG. 9. The processor 1401 can implement the function of the identifier determining unit 903. Correspondingly, the transceiver 1403 and the processor 1401 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments.

[0134] Alternatively, a function of the transceiver 1403 may be implemented as functions of the receiving unit 1103, the sending unit 1102, and the transmission unit 1104 shown in FIG. 11. The processor 1401 can implement the function of the identifier determining unit 1101. Correspondingly, the transceiver 1403 and the processor 1401 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments. Details are as follows:

[0135] If the device is used as a mobility management function, the processor 1401 is configured to read the program code stored in the memory 1402, to perform any one of the methods performed by the access and mobility management function in the embodiments of the present invention. More details are as follows:

[0136] A function of the transceiver 1403 may be implemented as functions of the receiving unit 801 and the sending unit 803 shown in FIG. 8. The processor 1401 can implement the function of the information determining unit 802. Correspondingly, the transceiver 1403 and the processor 1401 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments.

[0137] Alternatively, a function of the transceiver 1403 may be implemented as functions of the receiving unit 1001 and the sending unit 1004 shown in FIG. 10. The processor 1401 can implement the functions of the session establishment unit 1002 and the information obtaining unit 1003. Correspondingly, the transceiver 1403 and the processor 1401 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments.

[0138] Alternatively, a function of the transceiver 1403 may be implemented as that of the receiving unit 1201 and the sending unit 1202 shown in FIG. 12. The processor 1401 can implement the function of the attribute obtaining unit 703. Correspondingly, the transceiver 1403 and the processor 1401 also respectively implement a corresponding communication function and other data processing functions in the foregoing method embodiments. Details are as follows:

[0139] An embodiment of the present invention provides a computer program. The computer program includes an instruction sequence. When the instruction sequence is executed, any one of the methods provided in the embodiments of the present invention is performed.

[0140] An embodiment of the present invention further provides a storage medium. The storage medium includes program code. When the program code is executed, the procedure of any one of the methods provided in the embodiments of the present invention is performed.

[0141] According to another aspect, an embodiment of the present invention provides a communications system. The system includes the AMF in the foregoing aspects. In another possible design, the system may further include another device, for example, an SMF or a terminal device that interacts with the core network interface device in the solutions provided in the embodiments of the present invention.

[0142] Method or algorithm steps described in combination with the content disclosed in the present invention may be implemented by hardware, or may be implemented by a processor by executing a software instruction. The software instruction may include a corresponding software module. The software module may be stored in a random access memory (Random Access Memory, RAM), a flash memory, a read-only memory (Read-Only Memory, ROM), an erasable programmable read only memory (Erasable Programmable ROM, EPROM), an electrically erasable programmable read only memory (Electrically EPROM, EEPROM), a register, a hard disk, a mobile hard disk, a compact disc read-only memory (CD-ROM), or any other form of storage medium well-known in the art. For example, a storage medium is coupled to a processor, so that the processor can read information from the storage medium or write information into the storage medium. Certainly, the storage medium may be a component of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in a core network interface device. Certainly, the processor and the storage medium may exist in the core network interface device as discrete components.

[0143] All or some of the foregoing embodiments may be implemented through software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, the embodiments may be implemented completely or partially in a 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 the computer, the procedure or functions according to the embodiments of the present invention are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, and microwave, or the like) manner. The computer-readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a soft disk, a hard disk, or a magnetic tape), an optical medium (for example, a digital versatile disc (DVD)), a semiconductor medium (for example, a Solid State Disk, SSD), or the like.

[0144] The objectives, technical solutions, and benefits of the present invention are further described in detail in the foregoing specific embodiments. It should be understood that the foregoing descriptions are merely specific embodiments of the present invention, but are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.


Claims

1. A network slice selection policy updating method, comprising:

sending, by a terminal device, configured network selection assistance information on the terminal device to an access and mobility management function AMF, wherein the network selection assistance information comprises a first slice identifier; and

receiving, by the terminal device, allowed network selection assistance information and indication information that are returned by the AMF, wherein the allowed network selection assistance information comprises a second slice identifier, and the indication information indicates that the second slice identifier corresponds to the first slice identifier.


 
2. The method according to claim 1, wherein after the receiving, by the terminal device, allowed network selection assistance information and indication information that are returned by the AMF, the method further comprises:

determining, based on a slice selection policy, that a target application corresponds to the first slice identifier, wherein the slice selection policy comprises a correspondence between the target application and the slice identifier;

determining, based on the indication information, that the first slice identifier corresponds to the second slice identifier; and

transmitting data of the target application by using a session corresponding to the second slice identifier.


 
3. The method according to claim 2, wherein the transmitting data of the target application by using a session corresponding to the second slice identifier comprises:

sending, by the terminal device, a session establishment request comprising the second slice identifier to a network, establishing the session corresponding to the second slice identifier, and transmitting the data of the target application by using the session corresponding to the second slice identifier; or

if the terminal device has established the session corresponding to the second slice identifier, transmitting the data of the target application by using the session corresponding to the second slice identifier.


 
4. The method according to any one of claims 1 to 3, wherein the session corresponding to the second slice identifier comprises: a protocol data unit PDU session corresponding to the second slice identifier.
 
5. The method according to any one of claims 1 to 3, wherein
the sending, by a terminal device, configured network selection assistance information on the terminal device to an AMF comprises: sending, by the terminal device, a registration request to the AMF, wherein the registration request carries the configured network selection assistance information on the terminal device; and
the receiving, by the terminal device, allowed network selection assistance information and indication information that are returned by the AMF comprises: receiving a registration request response message sent by the AMF, wherein the registration request response message carries the allowed network selection assistance information and the indication information.
 
6. A network slice selection policy updating method, comprising:

receiving, by an access and mobility management function AMF, configured network selection assistance information that is on a terminal device and that is sent by the terminal device, wherein the network selection assistance information comprises a first slice identifier;

determining, by the AMF, allowed network selection assistance information, wherein the allowed network selection assistance information comprises a second slice identifier; and

if there is a correspondence between the second slice identifier and the first slice identifier, sending the allowed network selection assistance information and indication information to the terminal device, wherein the indication information indicates that the second slice identifier corresponds to the first slice identifier.


 
7. The method according to claim 6, wherein the configured receiving network selection assistance information that is on a terminal device and that is sent by the terminal device comprises:

receiving a registration request sent by the terminal device, wherein the registration request carries the configured network selection assistance information on the terminal device; and

the sending the allowed network selection assistance information and indication information to the terminal device comprises: sending a registration request response message to the terminal device, wherein the registration request response message carries the allowed network selection assistance information and the indication information.


 
8. A network slice selection control method, comprising:

sending, by a terminal device, a session establishment request to an access and mobility management function AMF, to request to establish a session of a first slice identifier corresponding to a first target application; and

receiving, by the terminal device, a session establishment complete message returned by the AMF, wherein the session establishment complete message carries an identifier of the newly established session and a slice identifier supported by the session.


 
9. The method according to claim 6, wherein after the receiving, by the terminal device, a session establishment complete message returned by the AMF, the method further comprises:

determining, by the terminal device, a second slice identifier corresponding to a second target application; and

if the slice identifier supported by the session comprises the second slice identifier, transmitting data of the second target application by using the session.


 
10. A network slice selection control method, comprising:

receiving, by an access and mobility management function AMF, a session establishment request sent by a terminal device, wherein the session establishment request requests to establish a session of a first slice identifier corresponding to a first target application;

establishing, by the AMF, a session for the terminal device, and obtaining information about a network slice supported by the session; and

returning, by the AMF, a session establishment complete message to the terminal device, wherein the session establishment complete message carries an identifier of the session and the information about the network slice supported by the session.


 
11. The method according to claim 10, wherein the obtaining information about a network slice supported by the session comprises:
obtaining a session attribute of the session from a session management function SMF, wherein the session attribute comprises the information about the network slice supported by the session.
 
12. A network slice selection control method, comprising:

determining, by a terminal device, a second slice identifier corresponding to a second target application, and sending a session establishment request to an access and mobility management function AMF, wherein the session establishment request carries the second slice identifier;

receiving, by the terminal device, a session establishment rejection message returned by the AMF, wherein the session establishment rejection message indicates an identifier of a first session, the first session is a session established between the terminal device and a network side, and the first session supports the second slice identifier; and

transmitting, by the terminal, data of the second target application by using the first session.


 
13. A network slice selection control method, comprising:

receiving, by an access and mobility management function AMF, a session establishment request sent by a terminal device, wherein the session request carries a second slice identifier; and

if a first session supports the second slice identifier, returning a session establishment rejection message to the terminal device, wherein the session establishment rejection message indicates an identifier of the first session, and the first session is a session established between the terminal device and a network side.


 
14. The method according to claim 13, wherein before the returning a session establishment rejection message to the terminal device, the method further comprises:

obtaining, by the AMF, a session attribute of the first session from a session management function SMF, wherein the session attribute comprises an identifier of a slice supported by the first session; and

that a first session supports the second slice identifier comprises:
the identifier of the slice supported by the first session comprises the second slice identifier.


 
15. A terminal device, comprising: a processing unit and a communications unit, wherein
the processing unit is configured to: send, by using the communications unit, configured network selection assistance information on the terminal device to an access and mobility management function AMF, wherein the network selection assistance information comprises a first slice identifier; and receive, by using the communications unit, allowed network selection assistance information and indication information that are returned by the AMF, wherein the allowed network selection assistance information comprises a second slice identifier, and the indication information indicates that the second slice identifier corresponds to the first slice identifier.
 
16. The terminal device according to claim 15, wherein
the processing unit is further configured to: after receiving, by using the communications unit, the allowed network selection assistance information and the indication information that are returned by the AMF, determine, based on a slice selection policy, that a target application corresponds to the first slice identifier, wherein the slice selection policy comprises a correspondence between the target application and the slice identifier; determine, based on the indication information, that the first slice identifier corresponds to the second slice identifier; and transmit, by using the communications unit, data of the target application by using a session corresponding to the second slice identifier.
 
17. The terminal device according to claim 16, wherein
that the processing unit is configured to transmit, by using the communications unit, data of the target application by using a session corresponding to the second slice identifier comprises: being configured to: send, by using the communications unit, a session establishment request comprising the second slice identifier to a network, establish the session corresponding to the second slice identifier, and transmit the data of the target application by using the session corresponding to the second slice identifier; or
if the terminal device has established the session corresponding to the second slice identifier, transmit the data of the target application by using the session corresponding to the second slice identifier.
 
18. The terminal device according to any one of claims 15 to 17, wherein the session corresponding to the second slice identifier comprises: a protocol data unit PDU session corresponding to the second slice identifier.
 
19. The terminal device according to any one of claims 15 to 17, wherein
that the processing unit is configured to: send, by using the communications unit, configured network selection assistance information on the terminal device to an AMF comprises: sending a registration request to the AMF, wherein the registration request carries the configured network selection assistance information on the terminal device; and
that the processing unit is configured to receive, by using the communications unit, allowed network selection assistance information and indication information that are returned by the AMF comprises: receiving, by using the communications unit, a registration request response message sent by the AMF, wherein the registration request response message carries the allowed network selection assistance information and the indication information.
 
20. An access and mobility management function, comprising: a processing unit and a communications unit, wherein
the processing unit is configured to receive, by using the communications unit, configured network selection assistance information that is on a terminal device and that is sent by the terminal device, wherein the network selection assistance information comprises a first slice identifier;
the processing unit is further configured to determine allowed network selection assistance information, wherein the allowed network selection assistance information comprises a second slice identifier; and
the processing unit is further configured to: if there is a correspondence between the second slice identifier and the first slice identifier, send the allowed network selection assistance information and indication information to the terminal device by using the communications unit, wherein the indication information indicates that the second slice identifier corresponds to the first slice identifier.
 
21. The access and mobility management function according to claim 20, wherein
the processing unit is configured to receive, by using the communications unit, a registration request sent by the terminal device, wherein the registration request carries the configured network selection assistance information on the terminal device; and the sending the allowed network selection assistance information and indication information to the terminal device comprises: sending a registration request response message to the terminal device, wherein the registration request response message carries the allowed network selection assistance information and the indication information.
 
22. A terminal device, comprising: a processing unit and a communications unit, wherein
the processing unit is configured to send, by using the communications unit, a session establishment request to an access and mobility management function AMF, to request to establish a session of a first slice identifier corresponding to a first target application; and
the processing unit is further configured to receive, by using the communications unit, a session establishment complete message returned by the AMF, wherein the session establishment complete message carries an identifier of the newly established session and a slice identifier supported by the session.
 
23. The terminal device according to claim 22, wherein
the processing unit is further configured to: after receiving, by using the communications unit, the session establishment complete message returned by the AMF, determine, by the terminal device, a second slice identifier corresponding to a second target application; and
the processing unit is further configured to: if the slice identifier supported by the session comprises the second slice identifier, transmit, by using the communications unit, data of the second target application by using the session.
 
24. An access and mobility management function, comprising: a processing unit and a communications unit, wherein
the processing unit is configured to receive, by using the communications unit, a session establishment request sent by a terminal device, wherein the session establishment request requests to establish a session of a first slice identifier corresponding to a first target application;
the processing unit is further configured to: establish a session for the terminal device, and obtain information about a network slice supported by the session; and
the processing unit is further configured to return a session establishment complete message to the terminal device by using the communications unit, wherein the session establishment complete message carries an identifier of the session and the information about the network slice supported by the session.
 
25. The access and mobility management function according to claim 24, wherein
that the processing unit is configured to obtain information about a network slice supported by the session comprises: being configured to obtain a session attribute of the session from a session management function SMF by using the communications unit, wherein the session attribute comprises the information about the network slice supported by the session.
 
26. A terminal device, comprising: a processing unit and a communications unit, wherein
the processing unit is configured to determine a second slice identifier corresponding to a second target application; and
the processing unit is configured to: send, by using the communications unit, a session establishment request to an access and mobility management function AMF, wherein the session establishment request carries the second slice identifier; receive a session establishment rejection message returned by the AMF, wherein the session establishment rejection message indicates an identifier of a first session, the first session is a session established between the terminal device and a network side, and the first session supports the second slice identifier; and transmit data of the second target application by using the first session.
 
27. An access and mobility management function, comprising: a processing unit and a communications unit, wherein
the processing unit is configured to: receive, by using the communications unit, a session establishment request sent by a terminal device, wherein the session request carries a second slice identifier; and if a first session supports the second slice identifier, return a session establishment rejection message to the terminal device, wherein the session establishment rejection message indicates an identifier of the first session, and the first session is a session established between the terminal device and a network side.
 
28. The access and mobility management function according to claim 27, wherein
the processing unit is further configured to: before returning the session establishment rejection message to the terminal device by using the communications unit, obtain a session attribute of the first session from a session management function SMF by using the communications unit, wherein the session attribute comprises an identifier of a slice supported by the first session; and
that a first session supports the second slice identifier comprises: the identifier of the slice supported by the first session comprises the second slice identifier.
 
29. A terminal device, comprising: a processor, a memory, and a transceiver, wherein
the memory stores program code, and when executing the program code, the processor performs the methods according to any one of claims 1 to 5, 8 and 9, and 12.
 
30. An access and mobility management function, comprising: a processor, a memory, and a transceiver, wherein
the memory stores program code, and when executing the program code, the processor performs the methods according to any one of claims 4 to 7, 10 and 11, and 13 and 14.
 




Drawing




























Search report