WO2021159523A1 - Communication method, apparatus and system - Google Patents

Communication method, apparatus and system Download PDF

Info

Publication number
WO2021159523A1
WO2021159523A1 PCT/CN2020/075417 CN2020075417W WO2021159523A1 WO 2021159523 A1 WO2021159523 A1 WO 2021159523A1 CN 2020075417 W CN2020075417 W CN 2020075417W WO 2021159523 A1 WO2021159523 A1 WO 2021159523A1
Authority
WO
WIPO (PCT)
Prior art keywords
nssai
network element
slice
allowed
amf
Prior art date
Application number
PCT/CN2020/075417
Other languages
French (fr)
Chinese (zh)
Inventor
朱方园
孙海洋
李岩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2020/075417 priority Critical patent/WO2021159523A1/en
Publication of WO2021159523A1 publication Critical patent/WO2021159523A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer

Definitions

  • This application relates to the field of communication technology, and in particular to communication methods, devices and systems.
  • the mobility management network element In the registration process of the terminal device, if the mobility management network element decides to establish a policy association with the policy control network element, the mobility management network element will select the assistance information (network slice selection assistance information, NSSAI) according to the network slice requested by the terminal device. ) Determine the allowed NSSAI, where the requested NSSAI includes identification information of one or more network slices that the terminal device requests to access, and the allowed NSSAI includes identification information of one or more network slices that the terminal device is allowed to access. Then, the mobility management network element controls the network element according to the allowed NSSAI selection policy.
  • NSSAI network slice selection assistance information
  • the mobility management network element After the mobility management network element selects the policy control network element, it initiates a policy association establishment process to request the policy control network element to obtain the policy. At the same time, the policy control network element returns a policy control request trigger to the mobility management network element. Request Triggers). When the mobility management network element subsequently determines that the triggering condition of the policy control request trigger is satisfied, the mobility management network element needs to request the policy control network element to update the policy.
  • the trigger condition of the policy control request trigger includes: the allowed NSSAI of the terminal device is changed. That is, a change in the allowed NSSAI of the terminal device will trigger the mobility management network element to request the policy control network element to update the policy.
  • the network After the registration process, the network enters the slice authentication process of the network slice, that is, performs the slice authentication process on the network slices that need to perform slice authentication in the requested NSSAI. If the slice authentication of a certain network slice is successful, a new allowed NSSAI is obtained according to the identification information of the network slice.
  • the new allowed NSSAI includes the allowed NSSAI determined in the registration process and the network that contains the successful slice authentication. The identification information of the slice.
  • the new allowed NSSAI obtained after the slice authentication process may be different from the allowed NSSAI determined in the registration process, that is, the allowed NSSAI of the terminal device changes, which triggers the mobility management network element to change to the policy control network element Request an update policy.
  • the policy control network element selected in the registration process may not support the new allowed NSSAI, which leads to the need to reselect a policy control network element that supports the new allowed NSSAI, that is, trigger the reselection of the policy control network element, and thus Cause a waste of resources.
  • the present application provides a communication method, device, and system to reduce the reselection of policy control network elements, thereby saving resources.
  • an embodiment of the present application provides a communication method, including: after the first slice performs slice authentication, the first mobility management network element determines the allowed network slice selection auxiliary information NSSAI, and the allowed NSSAI includes the allowed terminal
  • the identification information of the slice accessed by the device, the first slice is the slice for which slice authentication needs to be performed among the slices that the terminal device requests to access; the first mobility management network element selects the policy control network element according to the allowed NSSAI; where, The slice corresponding to the NSSAI allowed by the first mobility management network element service.
  • the policy control network element before performing the slice authentication process, is not selected.
  • the mobility management network element selects the policy control network element according to the final NSSAI of the terminal device, thereby avoiding the slice authentication process.
  • the policy control network element selected before the right process does not support the slice after the slice authentication process, which leads to the problem of reselecting the policy control network element. Furthermore, the problem of reselection strategy can also be avoided, so that resources can be saved.
  • the first mobility management network element obtains the first policy associated with the allowed NSSAI from the policy control network element.
  • the first mobility management network element before the first slice performs slice authentication, receives the requested NSSAI from the terminal device in the registration process, and the requested NSSAI includes the terminal device requests to access the NSSAI.
  • the identification information of the slice; the first mobility management network element determines that the first slice in the slice requested for access needs to perform slice authentication, and then determines that the policy control network element is not selected in the registration process.
  • the first mobility management network element selects the policy control network element according to the allowed NSSAI, including: the first mobility management network element obtains the context of the terminal device from the second mobility management network element, The context of the terminal device does not include the information of the policy control network element.
  • the second mobility management network element is the network element that receives the requested NSSAI from the terminal device during the registration process, and the requested NSSAI includes the slice that the terminal device requests to access. Identification information; the first mobility management network element selects a policy control network element according to the context of the terminal device and the allowed NSSAI.
  • the allowed NSSAI when the first slice performs slice authentication successfully, includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
  • an embodiment of the present application provides a communication method, including: a first mobility management network element determines a first NSSAI, the first NSSAI includes the first allowed NSSAI and the pending NSSAI, or the first NSSAI includes the terminal equipment For the signed NSSAI, the pending NSSAI includes the identification information of the slice that needs to perform slice authentication among the slices that the terminal device requests to access; the first mobility management network element selects the policy control network element according to the first NSSAI.
  • the first mobility management network element controls the network element according to the allowed NSSAI and the pending NSSAI selection strategy, or according to the NSSAI selection strategy contracted by the terminal device, so that even if the subsequent allowed NSSAI changes,
  • the new allowed NSSAI is also determined from the allowed NSSAI and the pending NSSAI, or if it is determined from the NSSAI contracted by the terminal device, the policy control network element still supports the new allowed NSSAI, so that it does not
  • the policy control network element needs to be reselected, that is, the reselection of the policy control network element will not be triggered. Therefore, resource expenditure can be saved.
  • the first mobility management network element obtains the first policy associated with the first allowed NSSAI from the policy control network element.
  • the first mobility management network element determines the second allowed NSSAI, and the second allowed NSSAI includes the slice authentication performed in the pending NSSAI Identification information of the successful slice; the first mobility management network element obtains the second policy associated with the second allowed NSSAI from the policy control network element.
  • the first mobility management network element if the first mobility management network element cannot serve the second allowed NSSAI, the first mobility management network element sends the second policy to the terminal device.
  • the first mobility management network element determines the second allowed NSSAI, and the second allowed NSSAI includes the slice authentication performed in the pending NSSAI The identification information of the successful slice; if the first mobility management network element cannot serve the second allowed NSSAI, the first mobility management network element sets the first indication information in the context of the terminal device, and the first indication information is used to indicate the second 2.
  • the mobility management network element obtains the policy from the policy control network element.
  • an embodiment of the present application provides a communication method, including: a second mobility management network element obtains a context of a terminal device from a first mobility management network element, and the context of the terminal device includes identification information of the policy control network element and The first indication information; the second mobility management network element determines the allowed NSSAI; the second mobility management network element obtains the policy associated with the allowed NSSAI from the policy control network element according to the first indication information.
  • the first indication information is used to instruct the second mobility management network element to obtain the policy from the policy control network element.
  • an embodiment of the present application provides a communication method, including: after the first slice performs slice authentication, the first mobility management network element determines the allowed NSSAI, and the allowed NSSAI includes the slice that allows the terminal device to access
  • the first slice is the slice for which slice authentication needs to be performed among the slices that the terminal device requests to access;
  • the first mobility management network element obtains the first policy associated with the allowed NSSAI from the policy control network element;
  • the mobility management network element stores the first strategy and indication information in the context of the terminal device, and the indication information is used to instruct the second mobility management network element to send the first strategy to the terminal device.
  • the old mobility management network element obtains the new policy from the policy control network element and stores it in the context of the terminal device, and then the new mobility management network The element obtains the new strategy from the context of the terminal device and sends it to the terminal device, thereby solving the problem of how to trigger the new mobility management network element to send the updated strategy to the terminal device in a scenario where the mobility management network element changes.
  • the allowed NSSAI when the first slice performs slice authentication successfully, includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
  • an embodiment of the present application provides a communication method, including: after the first slice performs slice authentication, the first mobility management network element determines the allowed NSSAI, and the allowed NSSAI includes the slice that allows the terminal device to access
  • the first slice is the slice for which slice authentication needs to be performed among the slices that the terminal device requests to access; if the first mobility management network element cannot serve the allowed NSSAI, the first mobility management network element is in the terminal device’s
  • the identification information of the policy control network element and the first indication information are set in the context, and the first indication information is used to instruct the second mobility management network element to obtain the policy from the policy control network element.
  • the first mobility management network element sends the allowed NSSAI and second indication information to the terminal device, the second indication information is used to instruct the terminal device to register with the second mobility management network element according to the allowed NSSAI.
  • the old mobility management network element selects the strategy control network element and sets the identification information and an indication information of the strategy control network element in the context of the terminal device, and then The new mobility management network element obtains the identification information of the policy control network element from the context of the terminal device, and triggers the new mobility management network element to obtain a new policy from the policy control network element according to the first indication information, thereby solving In the scenario where the mobility management network element changes, how to trigger the new mobility management network element to send an updated strategy to the terminal device.
  • the allowed NSSAI when the first slice performs slice authentication successfully, includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
  • an embodiment of the present application provides a communication device, which may be a mobility management network element, or a chip used for a mobility management network element.
  • the device has the function of realizing any of the first aspect to the fifth aspect, or any embodiment of the first aspect or the fifth aspect. This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • an embodiment of the present application provides a communication device including a processor and a memory; the memory is used to store computer-executable instructions, and when the device is running, the processor executes the computer-executable instructions stored in the memory to enable The device executes the method of any one of the above-mentioned first aspect to the fifth aspect, or any embodiment of the first aspect or the fifth aspect.
  • an embodiment of the present application provides a communication device, including a unit or means for performing any of the above-mentioned first aspect to the fifth aspect, or each step of any embodiment of the first aspect or the fifth aspect (means).
  • an embodiment of the present application provides a communication device, including a processor and an interface circuit, the processor is configured to communicate with other devices through the interface circuit, and execute any of the first to fifth aspects, or The method of any embodiment of the first or fifth aspect.
  • the processor includes one or more.
  • an embodiment of the present application provides a communication device, including a processor, configured to be connected to a memory, and configured to call a program stored in the memory to execute any of the above-mentioned first to fifth aspects, Or the method of any embodiment of the first or fifth aspect.
  • the memory can be located inside the device or outside the device.
  • the processor includes one or more.
  • an embodiment of the present application also provides a computer-readable storage medium having instructions stored in the computer-readable storage medium, which when run on a computer, cause a processor to execute the above-mentioned first to fifth aspects.
  • the embodiments of the present application also provide a computer program product.
  • the computer product includes a computer program. The method described in any embodiment of the five aspects is executed.
  • an embodiment of the present application also provides a chip system, including a processor, configured to execute any aspect of the first aspect to the fifth aspect, or any of the first aspect or the fifth aspect of the embodiment. The method described.
  • an embodiment of the present application also provides a communication system, including: a mobility management network element and a policy control network element.
  • the mobility management network element is configured to determine the allowed network slice selection auxiliary information NSSAI after the first slice performs slice authentication, and the allowed NSSAI includes identification information of the slice that is allowed to be accessed by the terminal device.
  • the first slice is the slice for which slice authentication needs to be performed among the slices that the terminal device requests to access; select the policy control network element according to the allowed NSSAI; and, obtain the data from the policy control network element.
  • the policy control network element is used to send the first policy to the mobility management network element.
  • an embodiment of the present application also provides a communication system, including: a first mobility management network element and a policy control network element.
  • the first mobility management network element is used to determine a first NSSAI, where the first NSSAI includes a first allowed NSSAI and a pending NSSAI, or the first NSSAI includes a contracted NSSAI of a terminal device, and the pending NSSAI
  • the NSSAI includes the identification information of the slice that needs to perform slice authentication among the slices that the terminal device requests to access; selects the policy control network element according to the first NSSAI; and, obtains it from the policy control network element The first policy associated with the first allowed NSSAI.
  • the policy control network element is configured to send the first policy to the first mobility management network element.
  • Figure 1A is a schematic diagram of a 5G network architecture based on a service-oriented architecture
  • Figure 1B is a schematic diagram of a 5G network architecture based on a point-to-point interface
  • Figure 2 is a schematic diagram of the NSSAA process in the prior art
  • FIG. 3A is a schematic flowchart of a communication method provided by this application.
  • FIG. 3B is a schematic flowchart of another communication method provided by this application.
  • FIG. 3C is a schematic flowchart of another communication method provided by this application.
  • FIG. 3D is a schematic flowchart of another communication method provided by this application.
  • FIG. 4 is a schematic flow diagram of another communication method provided by this application.
  • FIG. 5 is a schematic flowchart of another communication method provided by this application.
  • FIG. 6 is a schematic flowchart of another communication method provided by this application.
  • FIG. 7 is a schematic flowchart of another communication method provided by this application.
  • FIG. 8 is a schematic flowchart of another communication method provided by this application.
  • FIG. 9 is a schematic flowchart of another communication method provided by this application.
  • FIG. 10 is a schematic diagram of a communication device provided by this application.
  • FIG. 11 is a schematic diagram of a mobility management network element provided by this application.
  • FIG. 1A it is a schematic diagram of a fifth generation (5G) network architecture based on a service-oriented architecture.
  • the 5G network architecture shown in FIG. 1A may include three parts, namely a terminal equipment part, a data network (DN), and an operator network part.
  • DN data network
  • Operator network part The functions of some of the network elements are briefly introduced below.
  • the operator network may include one or more of the following network elements: Authentication Server Function (AUSF) network elements, network exposure function (NEF) network elements, policy control function (policy control) function, PCF) network element, unified data management (UDM) network element, unified database (Unified Data Repository, UDR), network storage function (Network Repository Function, NRF) network element, application function (AF) ) Network element, access and mobility management function (AMF) network element, session management function (SMF) network element, radio access network (RAN) and user plane function (user plane function, UPF) network element, network slice selection function (Network Slice Selection Function, NSSF) network element (not shown in the figure), etc.
  • AUSF Authentication Server Function
  • NEF network exposure function
  • policy control policy control
  • PCF policy control function
  • UDM unified data management
  • UDR Unified Data Repository
  • NRF Network Repository Function
  • AMF access and mobility management function
  • SMS session management function
  • RAN radio access network
  • UPF User Plan
  • Terminal device is a device with wireless transceiver function. It can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air ( For example, airplanes, balloons, satellites, etc.).
  • the terminal device may be a mobile phone (mobile phone), a tablet computer (pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, an industrial control (industrial control) Wireless terminals in ), wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, and wireless terminals in transportation safety , Wireless terminals in smart cities, wireless terminals in smart homes, user equipment (UE), etc.
  • a mobile phone mobile phone
  • a tablet computer pad
  • a computer with wireless transceiver function a virtual reality (VR) terminal, an augmented reality (AR) terminal, an industrial control (industrial control) Wireless terminals in ), wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, and wireless terminals in transportation safety , Wireless terminals in smart cities, wireless terminals in smart homes, user equipment (UE), etc.
  • VR virtual reality
  • AR augmented reality
  • industrial control industrial control
  • the above-mentioned terminal device may establish a connection with the operator's network through an interface (such as N1, etc.) provided by the operator's network, and use services such as data and/or voice provided by the operator's network.
  • the terminal device can also access the DN through the operator's network, and use the operator's service deployed on the DN and/or the service provided by a third party.
  • the above-mentioned third party may be a service party other than the operator's network and terminal equipment, and may provide other services such as data and/or voice for the terminal equipment.
  • the specific form of expression of the above-mentioned third party can be determined according to actual application scenarios, and is not limited here.
  • RAN is a sub-network of an operator's network, and an implementation system between service nodes and terminal equipment in the operator's network.
  • the terminal device To access the operator's network, the terminal device first passes through the RAN, and then can be connected to the service node of the operator's network through the RAN.
  • RAN equipment is a type of equipment that provides wireless communication functions for terminal equipment.
  • RAN equipment is also called access network equipment.
  • RAN equipment includes but is not limited to: next-generation base stations (gnodeB, gNB) in 5G, evolved node B (evolved node B, eNB), radio network controller (RNC), node B (node B, NB), base station controller (BSC), base transceiver station (BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (BBU) , Transmission point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc.
  • next-generation base stations gnodeB, gNB
  • 5G evolved node B (evolved node B, eNB), radio network controller (RNC), node B (node B, NB), base station controller (BSC), base transceiver station (BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (BBU) , Transmission point (transmitting and receiving
  • the AMF network element mainly performs functions such as mobility management and access authentication/authorization. In addition, it is also responsible for transferring user policies between UE and PCF.
  • the SMF network element mainly performs functions such as session management, execution of control policies issued by PCF, selection of UPF, and UE Internet Protocol (IP) address allocation.
  • functions such as session management, execution of control policies issued by PCF, selection of UPF, and UE Internet Protocol (IP) address allocation.
  • IP Internet Protocol
  • the UPF network element as the interface UPF with the data network, completes functions such as user plane data forwarding, session/stream-based billing statistics, and bandwidth limitation.
  • the UDM network element is mainly responsible for functions such as management of contract data and user access authorization.
  • UDR is mainly responsible for the access function of contract data, strategy data, application data and other types of data.
  • NEF network elements are mainly used to support the opening of capabilities and events.
  • the AF network element mainly conveys the requirements of the application side to the network side, for example, quality of service (QoS) requirements or user status event subscriptions.
  • QoS quality of service
  • the AF can be a third-party functional entity, or an application service deployed by an operator, such as an IP Multimedia Subsystem (IMS) voice call service.
  • IMS IP Multimedia Subsystem
  • the PCF network element is mainly responsible for policy control functions such as billing, QoS bandwidth guarantee and mobility management, and UE policy decision-making for the session and service flow levels.
  • the PCF connected to the AMF and the SMF corresponds to AM PCF (PCF for Access and Mobility Control) and SM PCF (PCF for Session Management) respectively, and may not be the same PCF entity in actual deployment scenarios.
  • the NRF network element can be used to provide the network element discovery function, and provide the network element information corresponding to the network element type based on the request of other network elements.
  • NRF also provides network element management services, such as network element registration, update, de-registration, and network element status subscription and push.
  • AUSF network element Mainly responsible for authenticating users to determine whether users or devices are allowed to access the network.
  • NSSF network elements are mainly used to select network slices and count users in the network slices.
  • a DN is a network located outside the operator's network.
  • the operator's network can access multiple DNs.
  • a variety of services can be deployed on the DN to provide terminal equipment with services such as data and/or voice.
  • DN is the private network of a smart factory.
  • the sensors installed in the workshop of the smart factory can be terminal devices.
  • a control server for the sensors is deployed in the DN, and the control server can provide services for the sensors.
  • the sensor can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions.
  • the DN is the internal office network of a company.
  • the mobile phones or computers of the employees of the company can be terminal devices, and the mobile phones or computers of the employees can access the information and data resources on the internal office network of the company.
  • Nausf, Nnef, Npcf, Nudm, Naf, Namf, Nsmf, N1, N2, N3, N4, and N6 are interface serial numbers.
  • the meaning of these interface serial numbers can be referred to the meaning defined in the 3rd generation partnership project (3rd generation partnership project, 3GPP) standard protocol, which is not limited here.
  • FIG. 1B it is a schematic diagram of a 5G network architecture based on a point-to-point interface.
  • FIG. 1A For the introduction of the functions of the network elements therein, reference may be made to the introduction of the functions of the corresponding network elements in FIG. 1A, which will not be repeated.
  • the main difference between Fig. 1B and Fig. 1A is that the interfaces between the various network elements in Fig. 1B are point-to-point interfaces, rather than service-oriented interfaces.
  • N7 The interface between PCF and SMF, which can be used to issue protocol data unit (protocol data unit, PDU) session granularity and service data flow granularity control strategy.
  • protocol data unit protocol data unit
  • PDU protocol data unit
  • N15 The interface between PCF and AMF, which can be used to issue UE policies and access control related policies.
  • N5 The interface between AF and PCF, which can be used for application service request issuance and network event reporting.
  • N4 The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the issuance of user-oriented forwarding rules, QoS control rules, traffic statistics rules, etc., and user-plane Information reported.
  • N11 The interface between SMF and AMF, which can be used to transfer PDU session tunnel information between RAN and UPF, transfer control messages sent to UE, and transfer radio resource control information sent to RAN.
  • N2 The interface between AMF and RAN, which can be used to transfer radio bearer control information from the core network side to the RAN.
  • N1 The interface between the AMF and the UE, which can be used to transfer QoS control rules to the UE.
  • N8 The interface between AMF and UDM, which can be used for AMF to obtain access and mobility management related subscription data and authentication data from UDM, and AMF to register UE current mobility management related information with UDM, etc.
  • N10 The interface between SMF and UDM, which can be used for SMF to obtain session management related subscription data from UDM, and SMF to register UE current session related information with UDM, etc.
  • N35 The interface between UDM and UDR, which can be used for UDM to obtain user subscription data information from UDR.
  • N36 The interface between the PCF and the UDR, which can be used for the PCF to obtain policy-related contract data and application data-related information from the UDR.
  • N12 The interface between AMF and AUSF, which can be used for AMF to initiate an authentication process to AUSF, where SUCI can be carried as a contract identifier;
  • N13 The interface between UDM and AUSF, which can be used for AUSF to obtain user authentication vector from UDM to execute the authentication process.
  • the aforementioned network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform).
  • a platform for example, a cloud platform.
  • the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in the embodiment of the present application.
  • the mobility management network elements, session management network elements, policy control network elements, application function network elements, access network equipment, network opening function network elements, user plane network elements, and network slice selection network elements in this application can be respectively shown in the figure.
  • the AMF, SMF, PCF, AF, RAN, NEF, UPF, NSSF in 1A or Figure 1B can also be future communications such as the 6th generation (6G) network with the above AMF, SMF, PCF, AF, RAN , NEF, UPF, and NSSF function network elements, this application is not limited to this.
  • this application uses mobility management network elements, session management network elements, policy control network elements, application function network elements, access network equipment, network open function network elements, user plane network elements, and network slice selection network elements respectively.
  • AMF Access Management Function
  • SMF Packet Control Function
  • PCF Packet Control Function
  • AF Application Function Function
  • RAN Radio Access Management Function
  • NEF Network Element Function
  • UPF User Plane Function
  • NSSF Network Slice Selection Function
  • 5G network slicing technology provides isolated network environments for different application scenarios by virtual independent logical networks on the same network infrastructure, so that different application scenarios can customize network functions and features according to their own needs, and can effectively guarantee the performance of different services. QoS requirements.
  • the goal of 5G network slicing is to organically combine terminal equipment, access network resources, core network resources, and network operation and maintenance and management systems, so as to provide independent operation and maintenance for different business scenarios or types of services.
  • the internet The internet.
  • 3GPP emphasizes that there is no mutual influence between network slices, for example, a large number of sudden meter reading services should not affect normal mobile broadband services.
  • 3GPP emphasizes that there is no mutual influence between network slices, for example, a large number of sudden meter reading services should not affect normal mobile broadband services.
  • relatively independent management and operation and maintenance between businesses are required, and tailor-made business functions and analysis capabilities are provided.
  • Instances of different types of services are deployed on different network slices, and different instances of the same service type can also be deployed on different network slices.
  • the selection process of the network slice will be triggered.
  • the selection process of the network slice depends on the user's subscription data, local configuration information, roaming agreement, operator's strategy, and so on. In the selection process of the network slice, the above parameters need to be considered comprehensively to select the best slice type for the UE.
  • the UE may provide a requested (Requested) NSSAI to the core network for the core network to select a network slice instance for the UE.
  • a UE when a UE needs to use network services, it first needs to register with the network.
  • the registration process is divided into the following scenarios:
  • the registration process may trigger the establishment of one or more PDU sessions. For example, in the scenario of mobility registration update, the UE has uplink data to send. At this time, the PDU session will be created during the registration process.
  • the network may also determine whether it needs to perform the network based on the NSSAI requested by the UE and the subscription data of the UE.
  • a slice-specific authentication and authorization (Network Slice Specific Authentication and Authorization, NSSAA) process which may also be referred to as a secondary authentication process or a network slice secondary authentication process.
  • step 201 the UE initiates a registration process and sends a Registration Request (Registration Request) message to the AMF.
  • the Registration Request message carries the requested NSSAI (Requested NSSAI).
  • the AMF executes the main authentication procedure of the permanent identity of the UE. After the procedure is successful, the AMF obtains the UE's subscription data from the UDM.
  • the subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
  • the contracted S-NSSAI refers to the slice type (HPLMN S-NSSAI) of the home domain network where the UE is located.
  • the S-NSSAI and indication information of the subscription in the subscription data of the UE are shown in Table 1.
  • Signed S-NSSAI Instruction information whether the S-NSSAI needs to execute NSSAA S-NSSAI-1 Yes S-NSSAI-2 no S-NSSAI-3 no
  • step 203 the AMF determines whether the NSSAA process needs to be executed.
  • the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA can have two meanings:
  • the first type a certain S-NSSAI in the requested NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
  • the AMF determines whether the S-NSSAI that needs to perform the NSSAA process is included in the Requested NSSAI according to the UE's subscription data. If it is included, the AMF determines that the UE needs to perform the NSSAA process after this registration process. That is, it can be understood that the requested NSSAI includes the slice type (HPLMN S-NSSAI) of the home domain network.
  • the slice type HPLMN S-NSSAI
  • Example 1 For example, the Requested NSSAI carried by the UE is S-NSSAI-1 and S-NSSAI-2, where S-NSSAI-1 needs to execute the NSSAA process, and S-NSSAI-2 does not need to execute the NSSAA process.
  • the second type a certain S-NSSAI in the requested NSSAI can be mapped to a contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
  • AMF determines that a certain S-NSSAI included in the Requested NSSAI can be mapped to HPLMN S-NSSAI, and the HPLMN S-NSSAI needs to perform the NSSAA process, then the AMF determines that the UE is after this registration process The NSSAA process needs to be performed.
  • Example 2 For example, the Requested NSSAI carried by the UE is S-NSSAI-A and S-NSSAI-B, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, and S-NSSAI-1 needs to execute the NSSAA process, and S-NSSAI-2 does not need to execute the NSSAA process. Then the AMF determines that the UE needs to perform the NSSAA procedure on the S-NSSAI-1 after this registration procedure.
  • Step 204 The Registration Accept message sent by the AMF to the UE carries the allowed NSSAI (Allowed NSSAI), the pending NSSAI (Pending NSSAI), and the pending reason value.
  • Allowed NSSAI only includes S-NSSAI that does not require NSSAA
  • Pending NSSAI includes S-NSSAI that requires NSSAA
  • the pending reason value is waiting for NSSAA.
  • the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
  • Pending NSSAI can also be called pending NSSAI.
  • the embodiment of the present application takes Pending NSSAI referred to as pending NSSAI as an example for description.
  • Step 205 After the registration acceptance message is sent, the AMF executes the NSSAA procedure for the pending S-NSSAI.
  • AMF can have two meanings for executing NSSAA on the S-NSSAI in the pending NSSAI:
  • the first type a certain S-NSSAI in the pending NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the AMF performs NSSAA on the S-NSSAI.
  • Pending NSSAI S-NSSAI-1
  • S-NSSAI-1 HPLMN S-NSSAI
  • AMF performs the NSSAA process on S-NSSAI-1.
  • the second type a certain S-NSSAI in the pending NSSAI is mapped to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the AMF performs NSSAA for the contracted S-NSSAI.
  • step 205 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 205 is executed. Otherwise, step 205 is not executed.
  • step 205 can be executed multiple times.
  • Step 206 After the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process, and if necessary, sends a new Allowed NSSAI (new Allowed NSSAI) to the UE in the configuration update process.
  • the S-NSSAI will be added to the Allowed NSSAI in step 204 to generate a new Allowed NSSAI. If the execution of the NSSAA procedure fails, the AMF does not need to update the Allowed NSSAI of the UE.
  • This step 206 is an optional step. When the above step 205 is performed and the Allowed NSSAI of the UE needs to be updated, step 206 is performed.
  • the NSSAA procedure can be performed on the S-NSSAI, and the Allowed NSSAI of the UE can be updated.
  • the AMF and SMF initiate the PCF discovery and selection process respectively.
  • the PCF After the PCF is selected, it initiates access and mobility (Access and Mobility, AM) policy association establishment and session management (Session Management) , SM) policy association establishment process, obtain corresponding policies (including Policy and Charging Control (PCC) rules) and policy event reporting triggers (also known as policy control request triggers (Policy Control Request Triggers)) , And deploy execution strategies.
  • the SMF After receiving the SM policy, the SMF performs QoS mapping and sends the corresponding QoS information to the UPF, RAN and UE, thereby performing end-to-end QoS control.
  • the PCF or AMF can initiate the AM policy association update process, and the PCF or SMF can initiate the SM policy association update Process to update the corresponding strategy.
  • the PCF detects that the UE's subscription information is deleted, the UE is registered from the network, or other corresponding trigger conditions are met the PCF or AMF can initiate the AM policy association release process, and the PCF or SMF can initiate the SM policy association release process.
  • the AMF in the registration process of the UE, if the AMF decides to establish a policy association with the PCF, for example, when the AMF has not obtained the AM policy of the UE or the AMF does not have a legal AM policy, the AMF will select the PCF. If the AMF obtains the PCF ID (PCF ID) from the old AMF, it can directly locate the PCF. If the PCF ID cannot be located or the PCF ID is not obtained, the AMF will select a new PCF. In this process, the parameters used by the AMF to select the PCF include the subscription permanent identifier (SUPI), allowed NSSAI (Allowed NSSAI), and so on.
  • SUPI subscription permanent identifier
  • allowed NSSAI Allowed NSSAI
  • the AMF After the AMF selects the PCF, it initiates the AM policy association establishment process to request the PCF to obtain the AM policy. At the same time, the PCF returns the Policy Control Request Triggers to the AMF. When the AMF subsequently determines that the Policy Control Request Triggers is satisfied , Need to request the PCF to refresh the AM policy.
  • the trigger events included in Policy Control Request Triggers include but are not limited to the following: the tracking area of the UE changes, the UE enters/leaves the presence reporting area (PRA), and the UE's allowed NSSAI (Allowed NSSAI) When the change occurs, the public land mobile network (PLMN) of the UE changes.
  • the AMF selects the PCF according to the temporary Allowed NSSAI of the UE during the registration process . It is very likely that when the NSSAA process is successfully completed (the UE’s Allowed NSSAI is refreshed and new Allowed NSSAI is obtained), the PCF previously selected in the NSSAA process does not support the new Allowed NSSAI, it will cause the PCF to be reselected. Or it can be understood that AMF selected a PCF during the registration process. After the NSSAA process ends, AMF needs to reselect a PCF according to new Allowed NSSAI, that is, PCF reselection occurs.
  • the schemes adopted in the embodiments corresponding to Figs. 3A, 4, and 5 are summarized as follows: AMF does not select PCF before the NSSAA process, and after the NSSAA process ends, AMF according to the UE’s final Allowed NSSAI (ie new Allowed NSSAI) ) Select a suitable PCF and obtain policy information, so that the problems of PCF reselection and frequent refresh of the policy can be avoided. That is, the embodiments corresponding to FIG. 3A, FIG. 4, and FIG. 5 can solve the above-mentioned problem 1 and problem 2. Further, the embodiment corresponding to FIG. 3A is an overview of the solution, including a scene where the AMF does not change and a scene where the AMF changes.
  • the embodiments corresponding to FIG. 4 and FIG. 5 are specific examples.
  • the embodiment corresponding to FIG. 4 is applicable to a scenario where AMF does not change, that is, AMF supports both Allowed NSSAI and new Allowed NSSAI.
  • the embodiment corresponding to FIG. 5 is applicable to a scenario where AMF changes, that is, old AMF supports Allowed NSSAI but does not support new Allowed NSSAI, and new AMF supports new Allowed NSSAI.
  • the solutions adopted in the embodiments corresponding to Figures 3B, 6 and 7 are summarized as follows: Use Allowed NSSAI and Pending NSSAI to select PCF, or use contracted NSSAI to select PCF, so if NSSAA succeeds, the Allowed NSSAI is updated to new Allowed NSSAI, the PCF also supports new Allowed NSSAI, so that PCF reselection can be avoided. That is, the embodiments corresponding to FIG. 3B, FIG. 6 and FIG. 7 can solve the above-mentioned problem 1. Further, the embodiment corresponding to FIG. 3B is an overview of the solution, including a scene where the AMF does not change and a scene where the AMF changes. The embodiments corresponding to FIG. 6 and FIG.
  • the embodiment corresponding to FIG. 6 is applicable to a scenario where AMF does not change, that is, AMF supports both Allowed NSSAI and new Allowed NSSAI.
  • the embodiment corresponding to FIG. 7 is applicable to a scenario where AMF changes, that is, old AMF supports Allowed NSSAI but does not support new Allowed NSSAI, and new AMF supports new Allowed NSSAI.
  • the PCF is still selected according to the method of the prior art, that is, the Allowed NSSAI is used to select the PCF before the NSSAA process
  • the target scenario is: the PCF It also supports the new Allowed NSSAI obtained after the NSSAA process, that is, the PCF does not change and the AMF changes, that is, old AMF supports Allowed NSSAI, but does not support new Allowed NSSAI, and new AMF supports new Allowed NSSAI.
  • the old AMF obtains the AM policy from the PCF according to the Allowed NSSAI during the registration process and sends it to the UE
  • the old AMF obtains the updated AM policy from the PCF according to the new Allowed NSSAI after the NSSAA process and stores it in the context of the UE. Therefore, when the new AMF obtains the UE context from the old AMF, it can obtain the updated AM policy by the way, and the new AMF sends the updated AM policy to the UE.
  • the embodiment corresponding to FIG. 3C is an overview of the solution, and the embodiment corresponding to FIG. 8 is a specific example. Therefore, the embodiment corresponding to FIG. 3C and FIG. 8 can solve the above-mentioned problem 3.
  • PCF is still selected according to the method of the prior art, that is, Allowed NSSAI is used to select PCF before the NSSAA process
  • target scenario is: the PCF It also supports the new Allowed NSSAI obtained after the NSSAA process, that is, the PCF does not change and the AMF changes, that is, old AMF supports Allowed NSSAI, but does not support new Allowed NSSAI, and new AMF supports new Allowed NSSAI.
  • the old AMF obtains the AM policy from the PCF according to the Allowed NSSAI during the registration process and sends it to the UE, and the old AMF generates an indication message according to the new Allowed NSSAI after the NSSAA process and stores the indication information in the context of the UE.
  • the indication information is used to trigger the new AMF to obtain the updated AM policy from the PCF, so when the new AMF obtains the UE context from the old AMF, it can obtain the updated AM policy from the PCF according to the indication information in the UE context, and the new The AMF sends the updated AM policy to the UE.
  • the embodiment corresponding to Fig. 3D is an overview of the solution
  • the embodiment corresponding to Fig. 9 is a specific example. Therefore, the embodiment corresponding to FIG. 3D and FIG. 8 can solve the above-mentioned problem 3.
  • Allowed NSSAI in the embodiments of this application refers to the set of slices that the AMF determines to allow UE access before the NSSAA process
  • the new Allowed NSSAI refers to the slices that the AMF determines to allow UE access after the NSSAA process. Collection, unified description here.
  • the network slice may also be referred to as a slice, and the two have the same meaning.
  • Performing NSSAA on the S-NSSAI means performing NSSAA on the network slice corresponding to the S-NSSAI.
  • NSSAI is a unified description, and will not be repeated in the follow-up.
  • the present application provides a communication method.
  • the method includes the following steps:
  • Step 301a After the slice authentication is performed on the first slice, the first AMF determines the allowed NSSAI.
  • the allowed NSSAI includes the identification information of the slice that the UE is allowed to access.
  • the first slice is the slice that the UE requests to access. Slice for slice authentication.
  • the first slice here refers to the slice that needs to perform slice authentication in the requested NSSAI sent by the UE.
  • the first slice may be one or more slices.
  • the allowed NSSAI includes the identification information of the slice in the requested NSSAI after the slice authentication is successfully performed. For example, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice. When the first slice fails to perform slice authentication, the allowed NSSAI does not include the identification information of the first slice.
  • the allowed NSSAI here may refer to the aforementioned new Allowed NSSAI. Therefore, if the first slice performs slice authentication successfully, the first AMF may add the identification information of the first slice to the previously determined allowed NSSAI to obtain the new allowed NSSAI.
  • the allowed NSSAI also contains the identification information of the slices in the requested NSSAI that do not need to perform slice authentication.
  • the first AMF here refers to the changed AMF, that is, the new AMF.
  • no PCF is selected for the UE in the registration procedure of the UE.
  • Step 302a the first AMF selects a PCF based on the allowed NSSAI.
  • step 302a the following steps may be further included:
  • Step 303a the first AMF obtains the first policy associated with the allowed NSSAI from the PCF.
  • the first AMF sends a request message to the PCF, which contains the allowed NSSAI, and then the PCF determines the first policy according to the allowed NSSAI and sends it to the first AMF.
  • the first AMF receives the requested NSSAI from the UE during the registration process, and the first AMF determines the slice to be accessed. If the first slice in, needs to perform slice authentication, it is determined not to select PCF in the registration process.
  • the process for the first AMF to select the PCF is: the first AMF obtains the UE context from the second AMF, and the UE context does not include PCF information, then the first AMF according to the UE context and the allowed NSSAI , Select PCF. That is, when the first AMF determines that the context of the UE does not contain PCF information, it selects a PCF according to the allowed NSSAI.
  • the PCF is not selected before the slice authentication process is performed.
  • the AMF selects the PCF based on the final NSSAI of the UE, so as to avoid the occurrence of the slice authentication process before the selected PCF does not support slice authentication.
  • the slicing after the right process leads to the problem of PCF reselection. Furthermore, the problem of reselection strategy can also be avoided.
  • the first mobility management network element determines the allowed network slice selection auxiliary information NSSAI.
  • the allowed NSSAI includes the identification information of the slice that the terminal device is allowed to access, and the first slice is the terminal device Among the slices for which access is requested, the slice for performing slice authentication is required; the first mobility management network element selects a policy control network element according to the allowed NSSAI; wherein, the first mobility management network element serves the slice corresponding to the allowed NSSAI.
  • the first mobility management network element obtains the first policy associated with the allowed NSSAI from the policy control network element.
  • the first mobility management network element before the first slice performs slice authentication, receives the requested NSSAI from the terminal device in the registration process, and the requested NSSAI includes the terminal device requests to access the NSSAI.
  • the identification information of the slice; the first mobility management network element determines that the first slice in the slice requested for access needs to perform slice authentication, and then determines that the policy control network element is not selected in the registration process.
  • the first mobility management network element selects the policy control network element according to the allowed NSSAI, including: the first mobility management network element obtains the context of the terminal device from the second mobility management network element, The context of the terminal device does not include the information of the policy control network element.
  • the second mobility management network element is the network element that receives the requested NSSAI from the terminal device during the registration process, and the requested NSSAI includes the slice that the terminal device requests to access. Identification information; the first mobility management network element selects a policy control network element according to the context of the terminal device and the allowed NSSAI.
  • the allowed NSSAI when the first slice performs slice authentication successfully, includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
  • the present application provides yet another communication method.
  • the method includes the following steps:
  • Step 301b the first AMF determines the first NSSAI, the first NSSAI includes the first allowed NSSAI and the pending NSSAI, or the first NSSAI includes the NSSAI subscribed by the UE, and the pending NSSAI includes the required execution in the slice that the UE requests to access The identification information of the slice for slice authentication.
  • this step is executed before slice authentication is performed on the slice corresponding to the pending NSSAI.
  • the first AMF here refers to the AMF before the change, that is, the old AMF.
  • the first allowed NSSAI here refers to the allowed NSSAI determined in the registration process.
  • Step 302b the first AMF selects a PCF according to the first NSSAI.
  • the above solution can be executed in the registration procedure of the UE.
  • the first AMF selects the PCF based on the allowed NSSAI and pending NSSAI, or selects the PCF based on the UE’s contracted NSSAI, so that even if the subsequent allowed NSSAI changes, the new allowed NSSAI will be changed from the allowed NSSAI and NSSAI.
  • the PCF Determined from the pending NSSAI, or determined from the NSSAI subscribed by the UE, the PCF still supports the newly allowed NSSAI, so there is no need to reselect the PCF, that is, it will not trigger the reselection of the PCF . Therefore, resource expenditure can be saved.
  • step 302b the following steps may be further included:
  • Step 303b the first AMF obtains the first policy associated with the first allowed NSSAI from the PCF.
  • the first AMF sends a request message to the PCF, which contains the first allowed NSSAI, and then the PCF determines the first policy according to the first allowed NSSAI and sends it to the first AMF.
  • step 302b the following steps may be further included:
  • Step 304b After performing slice authentication on the slice corresponding to the pending NSSAI, the first AMF determines the second allowed NSSAI.
  • the second allowed NSSAI includes the identification information of the slice in the pending NSSAI that successfully performs slice authentication.
  • the second permitted NSSAI also includes the above-mentioned first permitted NSSAI.
  • Step 305b the first AMF obtains the second policy associated with the second allowed NSSAI from the PCF.
  • the first AMF sends a request message to the PCF, which contains the second allowed NSSAI, and then the PCF determines the second policy according to the second allowed NSSAI and sends it to the first AMF.
  • the first AMF may send the second policy to the UE. That is, the first AMF (that is, the old AMF) obtains the new strategy (that is, the second strategy) from the PCF and sends it to the UE.
  • the first AMF determines the second allowed NSSAI, and the second allowed NSSAI includes the pending NSSAI that performs slice authentication successfully.
  • the identification information of the slice If the first AMF cannot serve the second allowed NSSAI, the first AMF sets the first indication information in the context of the UE, and the first indication information is used to instruct the second AMF (that is, the new AMF) to obtain a policy from the PCF.
  • the second AMF obtains the context of the UE from the first AMF, it obtains a new policy (may be referred to as the third policy) from the PCF according to the first indication information therein, and then the second AMF sends the third policy to the UE . That is, in this method, the second AMF (that is, the new AMF) obtains the new strategy (that is, the third strategy) from the PCF and sends it to the UE.
  • the second AMF that is, the new AMF
  • the new strategy that is, the third strategy
  • the first mobility management network element determines the first NSSAI, the first NSSAI includes the first allowed NSSAI and the pending NSSAI, or the first NSSAI includes the NSSAI subscribed by the terminal device, and the pending NSSAI includes the slice that the terminal device requests to access The identification information of the slice that needs to perform slice authentication; the first mobility management network element selects the policy control network element according to the first NSSAI.
  • the first mobility management network element obtains the first policy associated with the first allowed NSSAI from the policy control network element.
  • the first mobility management network element determines the second allowed NSSAI, and the second allowed NSSAI includes the slice authentication performed in the pending NSSAI Identification information of the successful slice; the first mobility management network element obtains the second policy associated with the second allowed NSSAI from the policy control network element.
  • the first mobility management network element if the first mobility management network element cannot serve the second allowed NSSAI, the first mobility management network element sends the second policy to the terminal device.
  • the first mobility management network element determines the second allowed NSSAI, and the second allowed NSSAI includes the slice authentication performed in the pending NSSAI The identification information of the successful slice; if the first mobility management network element cannot serve the second allowed NSSAI, the first mobility management network element sets the first indication information in the context of the terminal device, and the first indication information is used to indicate the second 2.
  • the mobility management network element obtains the policy from the policy control network element.
  • the second mobility management network element obtains the context of the terminal device from the first mobility management network element, the context of the terminal device includes the identification information of the policy control network element and the first indication information; the second mobility management network element determines the allowed NSSAI ; The second mobility management network element obtains the policy associated with the allowed NSSAI from the policy control network element according to the first indication information.
  • the first indication information is used to instruct the second mobility management network element to obtain the policy from the policy control network element.
  • the present application provides yet another communication method.
  • the method includes the following steps:
  • Step 301c After the slice authentication is performed on the first slice, the first AMF determines the allowed NSSAI.
  • the allowed NSSAI includes the identification information of the slice that the UE is allowed to access.
  • the first slice is the slice that the UE requests to access. Slice for slice authentication.
  • the first slice here refers to the slice that needs to perform slice authentication in the requested NSSAI sent by the UE.
  • the first slice may be one or more slices.
  • the allowed NSSAI contains the identification information of the slices in the requested NSSAI that do not need to perform slice authentication.
  • the first AMF here refers to the AMF before the change, that is, the old AMF.
  • Step 302c the first AMF obtains the first policy associated with the allowed NSSAI from the PCF.
  • the PCF here is selected in the registration process of the UE, that is, selected before the slice authentication is performed on the first slice.
  • Step 303c The first AMF stores the first policy and indication information in the context of the UE, and the indication information is used to instruct the second AMF to send the first policy to the UE.
  • the second AMF After obtaining the context of the UE from the first AMF, the second AMF sends the first policy to the UE according to the indication information therein.
  • the second AMF refers to the changed AMF, which is also called the new AMF.
  • the old AMF obtains the new policy from the PCF and stores it in the context of the UE, and then the new AMF obtains the new policy from the context of the UE and sends it to the UE. It solves the problem of how to trigger a new AMF to send an updated policy to the UE in a scenario where the AMF changes.
  • the allowed NSSAI includes the identification information of the first slice, or is understood as The identification information is added to the permitted NSSAI, and a new permitted NSSAI is obtained.
  • the allowed NSSAI does not include the identification information of the first slice.
  • the first mobility management network element determines the allowed NSSAI.
  • the allowed NSSAI includes the identification information of the slice that the terminal device is allowed to access.
  • the first slice is the slice that the terminal device requests to access.
  • the first mobility management network element acquires the first policy associated with the allowed NSSAI from the policy control network element; the first mobility management network element stores the first policy and the first policy in the context of the terminal device. Instruction information, the instruction information is used to instruct the second mobility management network element to send the first policy to the terminal device.
  • the allowed NSSAI when the first slice performs slice authentication successfully, includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
  • the present application provides yet another communication method.
  • the method includes the following steps:
  • Step 301d After the first slice performs slice authentication, the first AMF determines the allowed NSSAI.
  • the allowed NSSAI includes the identification information of the slice to which the UE is allowed to access, and the first slice is the slice for which slice authentication needs to be performed among the slices that the UE requests to access.
  • the first AMF here refers to the AMF before the change, that is, the old AMF.
  • Step 302d If the first AMF cannot serve the allowed NSSAI, the first AMF sets the identification information of the PCF and the first indication information in the context of the UE, and the first indication information is used to instruct the second AMF to obtain a policy from the PCF.
  • Step 303d The first AMF sends the allowed NSSAI and second indication information to the UE, where the second indication information is used to instruct the UE to register with the second AMF according to the allowed NSSAI.
  • the second AMF obtains the UE context from the first AMF, which contains the identification information of the PCF and the first indication information.
  • the second AMF obtains the new policy from the PCF according to the first indication information and sends it to UE.
  • the old AMF selects the PCF and sets the identification information of the PCF and an indication information in the context of the UE, and then the new AMF obtains the identification information of the PCF from the context of the UE. And according to the first indication information, the new AMF is triggered to obtain a new policy from the PCF, thereby solving the problem of how to trigger the new AMF to send the updated policy to the UE in a scenario where the AMF changes.
  • the allowed NSSAI includes the identification information of the first slice, or is understood as The identification information is added to the permitted NSSAI, and a new permitted NSSAI is obtained.
  • the allowed NSSAI does not include the identification information of the first slice.
  • the first mobility management network element determines the allowed NSSAI.
  • the allowed NSSAI includes the identification information of the slice that the terminal device is allowed to access.
  • the first slice is the slice that the terminal device requests to access. If the first mobility management network element cannot serve the allowed NSSAI, the first mobility management network element sets the identification information and first indication information of the policy control network element in the context of the terminal device, The first indication information is used to instruct the second mobility management network element to obtain a policy from the policy control network element. ;
  • the first mobility management network element sends the allowed NSSAI and second indication information to the terminal device, the second indication information is used to instruct the terminal device to register with the second mobility management network element according to the allowed NSSAI.
  • the allowed NSSAI when the first slice performs slice authentication successfully, includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
  • FIG. 4 it is a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF does not change before and after the NSSAA process.
  • the method includes the following steps:
  • Step 401 The UE initiates a registration process, and sends a Registration Request (Registration Request) message to the AMF.
  • the Registration Request message carries the requested NSSAI (Requested NSSAI).
  • the AMF executes the main authentication procedure of the permanent identity of the UE. After the procedure is successful, the AMF obtains the UE's subscription data from the UDM.
  • the subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
  • the S-NSSAI and indication information of the subscription in the subscription data of the UE are shown in Table 2.
  • Signed S-NSSAI Instruction information whether the S-NSSAI needs to execute NSSAA S-NSSAI-1 Yes S-NSSAI-2 Yes S-NSSAI-3 no
  • the AMF can call the UDM service operation Nudm_SDM_Get to obtain the UE's subscription data, and the UDM sends the UE's subscription data to the AMF through Nudm_SDM_Get response.
  • step 403 the AMF determines whether the NSSAA process needs to be executed, and if the NSSAA process needs to be executed, it determines not to select the PCF first.
  • the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA can have two meanings:
  • the first type a certain S-NSSAI in the requested NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
  • the AMF determines whether the S-NSSAI that needs to perform the NSSAA process is included in the Requested NSSAI according to the UE's subscription data. If it is included, the AMF determines that the UE needs to perform the NSSAA process after this registration process. That is, it can be understood that the requested NSSAI includes the slice type (HPLMN S-NSSAI) of the home domain network.
  • the slice type HPLMN S-NSSAI
  • the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3, where S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, S-NSSAI-3 There is no need to perform the NSSAA process, the AMF determines that the UE needs to perform the NSSAA process after this registration process.
  • the second type a certain S-NSSAI in the requested NSSAI can be mapped to a contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
  • AMF determines that a certain S-NSSAI included in the Requested NSSAI can be mapped to HPLMN S-NSSAI, and the HPLMN S-NSSAI needs to perform the NSSAA process, then the AMF determines that the UE is after this registration process The NSSAA process needs to be performed.
  • Example 2 For example, the Requested NSSAI carried by the UE is S-NSSAI-A, S-NSSAI-B, and S-NSSAI-C, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-B.
  • NSSAI-2 mapping, S-NSSAI-C and S-NSSAI-3 mapping, and S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, and S-NSSAI-3 does not need to perform the NSSAA process.
  • the AMF determines that the UE needs to perform the NSSAA procedure on S-NSSAI-1 and S-NSSAI-2 after this registration procedure.
  • Step 404 The Registration Accept message sent by the AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI).
  • allowed NSSAI Allowed NSSAI
  • pending NSSAI Pending NSSAI
  • rejected NSSAI Rejected NSSAI
  • the AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
  • the AMF may also send a rejection reason value to the UE: the current area is not available.
  • Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
  • Allowed NSSAI S-NSSAI-3
  • Pending NSSAI S-NSSAI-1+S-NSSAI-2
  • the reason value to be determined waiting for NSSAA.
  • Rejected NSSAI is empty.
  • Allowed NSSAI S-NSSAI-C
  • Pending NSSAI S-NSSAI-A+S-NSSAI-C
  • the AMF stores the Allowed NSSAI in this step in the context of the UE on the AMF.
  • Step 405 After the registration acceptance message is sent, the AMF executes the NSSAA procedure for the pending S-NSSAI.
  • AMF can have two meanings for executing NSSAA on the S-NSSAI in the pending NSSAI:
  • the first type a certain S-NSSAI in the pending NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the AMF performs NSSAA on the S-NSSAI.
  • the second type a certain S-NSSAI in the pending NSSAI is mapped to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the AMF performs NSSAA for the contracted S-NSSAI.
  • NSSAA result of S-NSSAI-1 is NSSAA success
  • NSSAA result of S-NSSAI-A is NSSAA success
  • access to S-NSSAI-A is allowed
  • NSSAA result of S-NSSAI-1 is NSSAA Failure
  • NSSAA result of S-NSSAI-A is NSSAA failure
  • access to S-NSSAI-A is denied.
  • NSSAA result of S-NSSAI-2 is NSSAA success
  • NSSAA result of S-NSSAI-B is NSSAA success
  • access to S-NSSAI-B is allowed
  • NSSAA result of S-NSSAI-2 is NSSAA Failure
  • NSSAA failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
  • This step 405 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 405 is executed. Otherwise, step 405 is not executed.
  • step 405 can be executed multiple times.
  • Step 406 After the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 404 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
  • the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
  • the AMF is stored in the context of the UE in accordance with Allowed in step 404 NSSAI, add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3. And generate a rejected NSSAI.
  • the rejected NSSAI includes S-NSSAI-2. Optionally, it also generates a rejection reason value: NSSAA failed.
  • the AMF is stored according to the Allowed in the context of the UE in step 404.
  • NSSAI adding S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C.
  • the rejected NSSAI includes S-NSSAI-B.
  • it also generates a rejection reason value: NSSAA failed.
  • Step 407 If the current AMF can continue to serve the UE, the AMF requests the NRF to find a suitable PCF according to the new Allowed NSSAI determined in step 406.
  • the AMF calls the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI of the UE and the new Allowed NSSAI determined in step 406.
  • the current AMF can continue to serve the UE means that the AMF can support the new Allowed NSSAI determined in step 406. So AMF does not need to be changed.
  • Step 408 The NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the AMF.
  • NEF determines the appropriate PCF based on SUPI and new Allowed NSSAI.
  • NRF can return Nnrf_NFDiscovery_Response to AMF, carrying PCF ID.
  • Step 409 Based on the PCF ID returned by the NRF, the AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF.
  • AM Policy Association AM Policy Association
  • AMF calls the service operation of PCF: Npcf_AMPolicyControl_Create, which carries SUPI, new Allowed NSSAI.
  • Step 410 The PCF sends an AM policy (AM policy for new Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the new Allowed NSSAI to the AMF.
  • AM policy AM policy for new Allowed NSSAI
  • Policy Control Request Triggers Policy Control Request Triggers
  • PCF returns Npcf_AMPolicyControl_Create Response to AMF, which carries AM policy for new Allowed NSSAI and Policy Control Request Triggers.
  • the AM policy is generated by the PCF according to the new Allowed NSSAI, and the AM policy of this step can also be called the AM policy for new Allowed NSSAI.
  • AM policy includes but is not limited to: air interface access technology/spectrum selection priority index (Index to RAT/Frequency Selection Priority, RFSP index), user aggregate maximum bit rate (Aggregate Maximum Bit Rate, UE-AMBR), and service area restriction ( Service Area Restrictions).
  • Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers.
  • the AMF can initiate the AM policy association update process, thereby Update the corresponding strategy.
  • step 410 it further includes step 410a and step 410b:
  • Step 410a Based on the PCF ID returned by the NRF, the AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
  • UE Policy Association UE Policy Association
  • AMF calls PCF's servicing operation: Npcf_UEPolicyControl Create Request, which carries SUPI.
  • Step 410b the PCF sends a UE policy (UE policy) to the AMF.
  • UE policy UE policy
  • PCF returns Npcf_UEPolicyControl Create Response to AMF, which carries UE policy.
  • the UE policy includes but is not limited to: UE access selection policy, such as Access Network Discovery&Selection Policy (ANDSP), and PDU Session Selection related policies, such as UE routing policy (UE Route Selection Policy, URSP)).
  • UE access selection policy such as Access Network Discovery&Selection Policy (ANDSP)
  • PDU Session Selection related policies such as UE routing policy (UE Route Selection Policy, URSP)).
  • UE routing policy UE Route Selection Policy, URSP
  • Step 411 The AMF sends a configuration update request (configuration update request) message to the UE, which carries the new Allowed NSSAI, and is based on the AM policy and the UE policy generated by the new Allowed NSSAI.
  • the configuration update request message may also carry the rejected NSSAI.
  • the AMF determines that it needs to perform the NSAA process on some S-NSSAI in the Requested NSSAI, the AMF does not select the PCF first, but waits for the end of the NSSAA process, the AMF according to the UE’s final Allowed NSSAI (new Allowed NSSAI) selects the appropriate PCF and obtains the AM policy.
  • This method can avoid the problems of PCF reselection and frequent refresh of policies.
  • FIG. 5 it is a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF changes before and after the NSSAA process.
  • the method includes the following steps:
  • Step 501 The UE initiates a registration process, and sends a Registration Request (Registration Request) message to the old AMF (old AMF), and the Registration Request message carries the requested NSSAI (Requested NSSAI).
  • the old AMF here refers to the AMF selected by the access network to serve the UE during the registration process, or can be understood as the AMF that serves the UE for the first time in the registration process.
  • the old AMF involved in the present invention may also be called initial AMF (initial AMF) or current AMF (serving AMF).
  • the old AMF executes the primary authentication procedure of the permanent identity of the UE. After the procedure is successful, the old AMF obtains the UE's subscription data from the UDM.
  • the subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
  • the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 2 above.
  • the old AMF can call the servicing operation Nudm_SDM_Get of UDM to obtain the subscription data of the UE, and the UDM sends the subscription data of the UE to the old AMF through Nudm_SDM_Get response.
  • step 503 the old AMF determines whether the NSSAA process needs to be executed, and if the NSSAA process needs to be executed, it determines not to select PCF first.
  • the method by which the old AMF determines that the S-NSSAI in the requested NSSAI needs to execute the NSSAA can have two meanings:
  • the first type a certain S-NSSAI in the requested NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then old AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
  • the old AMF determines whether the S-NSSAI that needs to perform the NSSAA process is included in the Requested NSSAI based on the UE's subscription data. If it does, the old AMF determines that the UE needs to perform the NSSAA process after this registration process. That is, it can be understood that the requested NSSAI includes the slice type (HPLMN S-NSSAI) of the home domain network.
  • the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3, where S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, S-NSSAI-3 There is no need to perform the NSSAA process, the old AMF determines that the UE needs to perform the NSSAA process after this registration process.
  • the second type a certain S-NSSAI in the requested NSSAI can be mapped to a contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then old AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
  • the old AMF judges that a certain S-NSSAI included in the Requested NSSAI can be mapped to the HPLMN S-NSSAI based on the UE’s subscription data, and the HPLMN S-NSSAI needs to perform the NSSAA process, then the old AMF determines that the UE is registered this time After the process, the NSSAA process needs to be executed.
  • Example 2 For example, the Requested NSSAI carried by the UE is S-NSSAI-A, S-NSSAI-B, and S-NSSAI-C, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-B.
  • NSSAI-2 mapping, S-NSSAI-C and S-NSSAI-3 mapping, and S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, and S-NSSAI-3 does not need to perform the NSSAA process.
  • the old AMF determines that the UE needs to perform the NSSAA process on S-NSSAI-1 and S-NSSAI-2 after this registration process.
  • NSSAA result of S-NSSAI-1 is NSSAA success
  • NSSAA result of S-NSSAI-A is NSSAA success
  • access to S-NSSAI-A is allowed
  • NSSAA result of S-NSSAI-1 is NSSAA Failure
  • NSSAA result of S-NSSAI-A is NSSAA failure
  • access to S-NSSAI-A is denied.
  • NSSAA result of S-NSSAI-2 is NSSAA success
  • NSSAA result of S-NSSAI-B is NSSAA success
  • access to S-NSSAI-B is allowed
  • NSSAA result of S-NSSAI-2 is NSSAA Failure
  • NSSAA failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
  • Step 504 The Registration Accept message sent by the old AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI).
  • allowed NSSAI Allowed NSSAI
  • pending NSSAI Pending NSSAI
  • rejected NSSAI Rejected NSSAI
  • Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
  • Allowed NSSAI S-NSSAI-3
  • Pending NSSAI S-NSSAI-1+S-NSSAI-2
  • the reason value to be determined waiting for NSSAA.
  • Rejected NSSAI is empty.
  • Allowed NSSAI S-NSSAI-C
  • Pending NSSAI S-NSSAI-A+S-NSSAI-C
  • the old AMF stores the Allowed NSSAI in this step in the context of the UE on the old AMF.
  • Step 505 After the registration acceptance message is sent, the old AMF executes the NSSAA process for the pending S-NSSAI.
  • the old AMF performing NSSAA for the S-NSSAI in the pending NSSAI can have two meanings:
  • the first type a certain S-NSSAI in the pending NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the old AMF performs NSSAA on the S-NSSAI.
  • the second type a certain S-NSSAI in the pending NSSAI is mapped to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then old AMF performs NSSAA for the contracted S-NSSAI.
  • step 505 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 505 is executed. Otherwise, step 505 is not executed.
  • step 505 can be executed multiple times.
  • Step 506 After the execution of the NSSAA process is completed, the old AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 504 and sent In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
  • the old AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
  • the AMF is based on the Allowed NSSAI stored in the context of the UE in step 504 , Add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3. And generate a rejected NSSAI.
  • the rejected NSSAI includes S-NSSAI-2. Optionally, it also generates a rejection reason value: NSSAA failed.
  • the old AMF is based on the Allowed stored in the context of the UE in step 504.
  • NSSAI adding S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C.
  • the rejected NSSAI includes S-NSSAI-B.
  • it also generates a rejection reason value: NSSAA failed.
  • Step 507 If the current AMF (ie, old AMF) cannot continue to serve the UE, the old AMF needs to trigger the AMF reallocation.
  • the old AMF sends a configuration update request message to the UE, which carries new Allowed NSSAI and indication information.
  • the indication information is used to instruct the UE to use new Allowed NSSAI as the requested NSSAI to initiate the registration process immediately after receiving the new Allowed NSSAI.
  • the current AMF cannot continue to serve the UE means that the current AMF does not support the new Allowed NSSAI determined in step 506, so the AMF needs to be changed.
  • Step 508 The UE initiates a registration process according to the new Allowed NSSAI and the indication information.
  • the UE registers with a new AMF (new AMF), that is, the new AMF serves the UE, where the new AMF supports the slice indicated by the new Allowed NSSAI.
  • new AMF new AMF
  • the UE sends a Requested NSSAI during the registration process, and the Requested NSSAI includes the new Allowed NSSAI in step 507 above.
  • Step 509 The new AMF obtains the context of the UE from the old AMF request.
  • Step 510 The new AMF determines the new Allowed NSSAI for the UE and stores it in the context of the UE.
  • the new Allowed NSSAI of the UE determined by the new AMF and the new Allowed NSSAI sent by the old AMF to the UE in step 507 may be the same or different. This is because the new AMF needs to further determine the final Allowed NSSAI for the UE based on the congestion of the current network slice.
  • step 511 the AMF requests the NRF to find a suitable PCF according to the new Allowed NSSAI determined in step 510.
  • the AMF calls the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI of the UE and the new Allowed NSSAI determined in step 510.
  • step 512 the NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the AMF.
  • NEF determines the appropriate PCF based on SUPI and new Allowed NSSAI.
  • NRF can return Nnrf_NFDiscovery_Response to AMF, carrying PCF ID.
  • Step 513 The new AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF based on the PCF ID returned by the NRF.
  • AM Policy Association AM Policy Association
  • AMF calls the PCF service operation: Npcf_AMPolicyControl_Create, which carries SUPI, new Allowed NSSAI).
  • Step 514 The PCF sends an AM policy (AM policy for new Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the new Allowed NSSAI to the new AMF.
  • AM policy AM policy for new Allowed NSSAI
  • Policy Control Request Triggers Policy Control Request Triggers
  • PCF returns Npcf_AMPolicyControl_Create Response to new AMF, which carries AM policy for new Allowed NSSAI and Policy Control Request Triggers.
  • the AM policy is generated by the PCF according to the new Allowed NSSAI, and the AM policy of this step can also be called the AM policy for new Allowed NSSAI.
  • AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
  • Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers.
  • the corresponding trigger conditions are met (such as the UE’s Allowed NSSAI changes)
  • new AMF can initiate the AM policy association update process. Thereby updating the corresponding strategy.
  • step 514 it also includes step 514a and step 514b:
  • step 514a the new AMF sends a UE Policy Association Establishment (UE Policy Association Establishment) request to the PCF based on the PCF ID returned by the NRF.
  • UE Policy Association Establishment UE Policy Association Establishment
  • new AMF calls the PCF service operation: Npcf_UEPolicyControl Create Request, which carries SUPI.
  • step 514b the PCF sends a UE policy (UE policy) to the new AMF.
  • UE policy UE policy
  • PCF returns Npcf_UEPolicyControl Create Response to new AMF, which carries UE policy.
  • the UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
  • UE access selection strategy such as access network discovery and selection strategy
  • PDU session selection-related strategies such as UE routing selection strategy
  • Step 515 The AMF sends a registration acceptance message to the UE, which carries the new Allowed NSSAI, based on the AM policy and the UE policy generated by the new Allowed NSSAI.
  • old AMF determines that it needs to perform the NSAA process on some S-NSSAI in the requested NSSAI, then old AMF does not select PCF.
  • old AMF does not support new Allowed NSSAI, AMF relocation is required and reselected to new AMF. Since the new AMF does not obtain the PCF ID from the old AMF, the new AMF selects the appropriate PCF according to the final allowed NSSAI of the UE and obtains policy information.
  • This embodiment can avoid the problems of PCF reselection and frequent policy refresh. Therefore, resource expenditure can be saved.
  • FIG. 6 a schematic flow diagram of another communication method provided by this application. This embodiment is aimed at a scenario where AMF does not change before and after the NSSAA process.
  • the method includes the following steps:
  • step 601 the UE initiates a registration process and sends a registration request (Registration Request) message to the AMF.
  • the registration request message carries the requested NSSAI (Requested NSSAI).
  • the AMF executes the main authentication procedure of the permanent identity of the UE. After the procedure is successful, the AMF obtains the UE's subscription data from the UDM.
  • the subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
  • the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 2 above.
  • the AMF can call the UDM service operation Nudm_SDM_Get to obtain the UE's subscription data, and the UDM sends the UE's subscription data to the AMF through Nudm_SDM_Get response.
  • step 603 the AMF requests the NRF to find a suitable PCF according to the first NSSAI and SUPI.
  • the first NSSAI here includes Allowed NSSAI and Pending S-NSSAI.
  • Allowed NSSAI includes S-NSSAI that does not require NSSAA among requested NSSAIs, and Pending NSSAI includes S-NSSAI that requires NSSAA among requested NSSAIs.
  • step 602 the method in which the AMF determines in step 602 that the S-NSSAI in the requested NSSAI needs to execute NSSAA is the same as step 403, and will not be repeated.
  • the first NSSAI here may include an S-NSSAI (subscribed NSSAI) subscribed by the UE.
  • S-NSSAI subscribed NSSAI
  • the AMF can call the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI and the first NSSAI of the UE.
  • step 604 the NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the AMF.
  • NEF determines a suitable PCF based on SUPI and the first NSSAI.
  • NRF can return Nnrf_NFDiscovery_Response to AMF, carrying PCF ID.
  • the slice information used by the PCF selected in this step is the first NSSAI. If the first NSSAI includes Allowed NSSAI and Pending S-NSSAI, then the PCF selected by NRF must support the slices corresponding to Allowed NSSAI and Pending S-NSSAI . If the first NSSAI includes subscribed NSSAI, then the PCF selected by NRF must support the slice corresponding to subscribed NSSAI.
  • Step 605 Based on the PCF ID returned by the NRF, the AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF.
  • AM Policy Association AM Policy Association
  • AMF calls the PCF service operation: Npcf_AMPolicyControl_Create, which carries SUPI, Allowed NSSAI).
  • Step 606 The PCF sends an AM policy (AM policy for Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the Allowed NSSAI to the AMF.
  • AM policy AM policy for Allowed NSSAI
  • Policy Control Request Triggers Policy Control Request Triggers
  • PCF returns Npcf_AMPolicyControl_Create Response to AMF, which carries AM policy for Allowed NSSAI and Policy Control Request Triggers.
  • the AM policy is generated by the PCF according to Allowed NSSAI, and the AM policy of this step can also be called AM policy for Allowed NSSAI.
  • AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
  • Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers.
  • the AMF can initiate the AM policy association update process, thereby Update the corresponding strategy.
  • Step 607 The Registration Accept message sent by the AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI).
  • allowed NSSAI Allowed NSSAI
  • pending NSSAI Pending NSSAI
  • rejected NSSAI Rejected NSSAI
  • the registration acceptance message also carries the AM policy generated based on the Allowed NSSAI that the AMF received from the PCF in step 606.
  • the AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
  • the AMF may also send a rejection reason value to the UE: the current area is not available.
  • Allowed NSSAI includes S-NSSAI that does not require NSSAA
  • Pending NSSAI includes S-NSSAI that requires NSSAA
  • Rejected NSSAI includes S-NSSAI that is not available in the current area for the UE in the requested NSSAI.
  • the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3.
  • S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process
  • Rejected NSSAI is empty.
  • the AMF stores the Allowed NSSAI in this step in the context of the UE on the AMF.
  • step 607 it further includes step 607a, step 607b, and step 607c:
  • Step 607a Based on the PCF ID returned by the NRF, the AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
  • UE Policy Association UE Policy Association
  • AMF calls PCF's servicing operation: Npcf_UEPolicyControl Create Request, which carries SUPI.
  • step 607b the PCF sends a UE policy (UE policy) to the AMF.
  • UE policy UE policy
  • PCF returns Npcf_UEPolicyControl Create Response to AMF, which carries UE policy.
  • the UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
  • UE access selection strategy such as access network discovery and selection strategy
  • PDU session selection-related strategies such as UE routing selection strategy
  • Step 607c The AMF sends a configuration update request (configuration update request) message to the UE, which carries the UE policy.
  • step 608 the AMF executes the NSSAA process for the pending S-NSSAI.
  • step 608 the AMF executes NSSAA in the S-NSSAI of the pending NSSAI, and the method is the same as step 405.
  • Pending NSSAI S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then AMF will compare S-NSSAI -1 and S-NSSAI-2 execute the NSSAA process.
  • Pending NSSAI S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then AMF executes the NSSAA process on S-NSSAI-1 and S-NSSAI-2.
  • NSSAA result of S-NSSAI-1 is NSSAA success
  • NSSAA result of S-NSSAI-A is NSSAA success
  • access to S-NSSAI-A is allowed
  • NSSAA result of S-NSSAI-1 is NSSAA Failure
  • NSSAA result of S-NSSAI-A is NSSAA failure
  • access to S-NSSAI-A is denied.
  • NSSAA result of S-NSSAI-2 is NSSAA success
  • NSSAA result of S-NSSAI-B is NSSAA success
  • access to S-NSSAI-B is allowed
  • NSSAA result of S-NSSAI-2 is NSSAA Failure
  • NSSAA failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
  • step 608 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 608 is executed. Otherwise, step 608 is not executed.
  • step 608 can be executed multiple times.
  • Step 609 After the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 607 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
  • the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
  • the AMF is stored in the context of the UE in accordance with Allowed in step 607 NSSAI, add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3. And generate a rejected NSSAI.
  • the rejected NSSAI includes S-NSSAI-2. Optionally, it also generates a rejection reason value: NSSAA failed.
  • the AMF is based on the Allowed NSSAI stored in the context of the UE in step 607.
  • Add S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C.
  • the rejected NSSAI includes S-NSSAI-B.
  • it also generates a rejection reason value: NSSAA failed.
  • Step 610 If the current AMF can continue to serve the UE, the AMF decides to send an AM Policy Association Modification (AM Policy Association Modification) request to the PCF according to the Allowed NSSAI change (or change of allowed NSSAI) of the UE included in the Policy Control Request Triggers.
  • the AM policy association modification request includes SUPI and new Allowed NSSAI, and the new Allowed NSSAI is the new Allowed NSSAI determined in step 609.
  • the AMF determines that the allowed NSSAI has changed, and determines that the Policy Control Request Triggers is triggered, so it re-requests the PCF for a new AM policy.
  • AMF calls the PCF service operation: Npcf_AMPolicyControl_Update, which carries SUPI, new Allowed NSSAI).
  • Step 611 The PCF sends an AM policy (AM policy for new Allowed NSSAI) generated based on the new Allowed NSSAI to the AMF.
  • AM policy AM policy for new Allowed NSSAI
  • PCF returns Npcf_AMPolicyControl_Update Response to AMF, which carries AM policy for new Allowed NSSAI.
  • Step 612 The AMF sends a configuration update request (configuration update request) message to the UE, which carries a new Allowed NSSAI and an AM policy generated based on the new Allowed NSSAI.
  • the configuration update request message may also carry the rejected NSSAI.
  • AMF uses a set consisting of Allowed NSSAI and Pending NSSAI or AMF uses subscribed NSSAI to select PCF.
  • the NSSAA succeeds, it can avoid that the PCF selected before the NSSAA process does not support the new Allowed NSSAI of the UE after the NSSAA process, thereby avoiding reselecting the PCF. Therefore, resource expenditure can be saved.
  • FIG. 7 a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF changes before and after the NSSAA process.
  • the method includes the following steps:
  • Step 701 The UE initiates a registration process, and sends a Registration Request (Registration Request) message to the old AMF (old AMF), and the Registration Request message carries the requested NSSAI (Requested NSSAI).
  • Registration Request Registration Request
  • NSSAI Requested NSSAI
  • the old AMF here refers to the AMF selected by the access network to serve the UE during the registration process, or can be understood as the AMF that serves the UE for the first time in the registration process.
  • the old AMF involved in the present invention may also be called initial AMF (initial AMF) or current AMF (serving AMF).
  • the old AMF executes the primary authentication procedure of the permanent identity of the UE. After the procedure is successful, the old AMF obtains the UE's subscription data from the UDM.
  • the subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
  • the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 2 above.
  • the old AMF can call the servicing operation Nudm_SDM_Get of UDM to obtain the subscription data of the UE, and the UDM sends the subscription data of the UE to the AMF through Nudm_SDM_Get response.
  • Step 703 The old AMF requests the NRF to find a suitable PCF according to the first NSSAI and SUPI.
  • the first NSSAI here includes Allowed NSSAI and Pending S-NSSAI.
  • Allowed NSSAI includes S-NSSAI that does not require NSSAA among requested NSSAIs, and Pending NSSAI includes S-NSSAI that requires NSSAA among requested NSSAIs.
  • step 703 the old AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
  • the method is the same as that in step 503, and will not be repeated.
  • the first NSSAI here may include an S-NSSAI (subscribed NSSAI) subscribed by the UE.
  • S-NSSAI subscribed NSSAI
  • the old AMF can call the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI and the first NSSAI of the UE.
  • Step 704 The NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the old AMF.
  • NEF determines a suitable PCF based on SUPI and the first NSSAI.
  • NRF can return Nnrf_NFDiscovery_Response to old AMF, carrying PCF ID.
  • the slice information used by the PCF selected in this step is the first NSSAI. If the first NSSAI includes Allowed NSSAI and Pending S-NSSAI, then the PCF selected by NRF must support the slices corresponding to Allowed NSSAI and Pending S-NSSAI ability. If the first NSSAI includes subscribed NSSAI, then the PCF selected by NRF must support the slice corresponding to subscribed NSSAI.
  • Step 705 Based on the PCF ID returned by the NRF, the old AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF.
  • AM Policy Association AM Policy Association
  • the AM policy association establishment request carries SUPI and Allowed NSSAI.
  • the old AMF calls the PCF service operation: Npcf_AMPolicyControl_Create, which carries SUPI, Allowed NSSAI).
  • Step 706 The PCF sends an AM policy (AM policy for Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the Allowed NSSAI to the old AMF.
  • AM policy AM policy for Allowed NSSAI
  • Policy Control Request Triggers Policy Control Request Triggers
  • PCF returns Npcf_AMPolicyControl_Create Response to old AMF, which carries AM policy for Allowed NSSAI and Policy Control Request Triggers.
  • the AM policy is generated by the PCF according to Allowed NSSAI, and the AM policy of this step can also be called AM policy for Allowed NSSAI.
  • AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
  • Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers.
  • the corresponding trigger conditions are met (for example, the UE's Allowed NSSAI changes)
  • the old AMF can initiate the AM policy association update process. Thereby updating the corresponding strategy.
  • Step 707 The Registration Accept message sent by the old AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI), and Carry the AM policy generated based on the allowed NSSAI.
  • allowed NSSAI Allowed NSSAI
  • pending NSSAI Pending NSSAI
  • rejected NSSAI Rejected NSSAI
  • the old AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
  • old AMF may also send a rejection reason value to the UE: the current area is not available.
  • Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
  • the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3.
  • S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process
  • Rejected NSSAI is empty.
  • the old AMF stores the Allowed NSSAI in this step in the context of the UE on the old AMF.
  • step 707 it also includes step 707a, step 707b, and step 707c:
  • Step 707a Based on the PCF ID returned by the NRF, the old AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
  • UE Policy Association UE Policy Association
  • Npcf_UEPolicyControl Create Request which carries SUPI.
  • step 707b the PCF sends a UE policy (UE policy) to the old AMF.
  • UE policy UE policy
  • PCF returns Npcf_UEPolicyControl Create Response to old AMF, which carries UE policy.
  • the UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
  • UE access selection strategy such as access network discovery and selection strategy
  • PDU session selection-related strategies such as UE routing selection strategy
  • Step 707c The AMF sends a configuration update request (configuration update request) message to the UE, which carries the UE policy.
  • Step 708 the old AMF executes the NSSAA process for the pending S-NSSAI.
  • Pending NSSAI S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then old AMF is against S- NSSAI-1 and S-NSSAI-2 execute the NSSAA process.
  • Pending NSSAI S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then AMF executes the NSSAA process on S-NSSAI-1 and S-NSSAI-2.
  • NSSAA result of S-NSSAI-1 is NSSAA success
  • NSSAA result of S-NSSAI-A is NSSAA success
  • access to S-NSSAI-A is allowed
  • NSSAA result of S-NSSAI-1 is NSSAA Failure
  • NSSAA result of S-NSSAI-A is NSSAA failure
  • access to S-NSSAI-A is denied.
  • NSSAA result of S-NSSAI-2 is NSSAA success
  • NSSAA result of S-NSSAI-B is NSSAA success
  • access to S-NSSAI-B is allowed
  • NSSAA result of S-NSSAI-2 is NSSAA Failure
  • NSSAA failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
  • step 708 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 708 is executed. Otherwise, step 708 is not executed.
  • step 708 can be executed multiple times.
  • step 709 after the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 707 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
  • the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
  • the AMF will store the Allowed NSSAI in the context of the UE in step 707.
  • Add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3.
  • the rejected NSSAI includes S-NSSAI-2.
  • it also generates a rejection reason value: NSSAA failed.
  • AMF will store the Allowed NSSAI in the context of the UE in step 707.
  • Add S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C.
  • the rejected NSSAI includes S-NSSAI-B.
  • it also generates a rejection reason value: NSSAA failed.
  • Step 710 If the current AMF (ie, old AMF) cannot continue to serve the UE, the old AMF needs to trigger the AMF reallocation. At the same time, the old AMF sets indication information in the context of the UE to indicate that the allowed NSSAI change satisfies the Policy Control Request Triggers.
  • the current AMF cannot continue to serve the UE means that the current AMF does not support the new Allowed NSSAI determined in step 709, so the AMF needs to be changed.
  • the old AMF also adds the policy control request triggers (Policy Control Request Triggers) obtained from the PCF to the context of the UE.
  • Policy Control Request Triggers Policy Control Request Triggers
  • Step 711 The old AMF sends a configuration update request message to the UE, which carries new Allowed NSSAI and indication information.
  • the indication information is used to instruct the UE to use the new Allowed NSSAI as the requested NSSAI to initiate a registration process immediately after receiving the new Allowed NSSAI.
  • Step 712 The UE initiates a registration process according to the new Allowed NSSAI and the indication information.
  • the UE registers with a new AMF (new AMF), that is, the new AMF serves the UE, where the new AMF supports the slice indicated by the new Allowed NSSAI.
  • new AMF new AMF
  • the UE sends a Requested NSSAI during the registration process, and the Requested NSSAI includes the new Allowed NSSAI in step 709.
  • Step 713 The new AMF obtains the context of the UE from the old AMF request.
  • the context of the UE on the old AMF contains the PCF ID and indication information.
  • the indication information is used to indicate that the allowed NSSAI change satisfies the Policy Control Request Triggers. Or it can be understood that the indication information is used to instruct the new AMF to obtain a new policy from the PCF. Therefore, the new AMF obtains the PCF ID and indication information from the old AMF, and triggers the acquisition of an updated policy from the PCF according to the indication information.
  • Step 714 The new AMF determines the new Allowed NSSAI for the UE and stores it in the context of the UE.
  • the new Allowed NSSAI of the UE determined by the new AMF may be the same or different from the new Allowed NSSAI determined by the old AMF in step 709. This is because the new AMF needs to further determine the final Allowed NSSAI for the UE based on the congestion of the current network slice.
  • Step 715 The new AMF decides to send an AM Policy Association Modification (AM Policy Association Modification) request to the PCF according to the indication information in the context of the UE.
  • the AM policy association modification request includes SUPI and new Allowed NSSAI, and the new Allowed NSSAI is the new Allowed NSSAI determined in step 714.
  • the new AMF determines that the allowed NSSAI has changed, and the Policy Control Request Triggers is determined to be triggered, so it re-requests the PCF for a new AM policy.
  • new AMF calls the PCF service operation: Npcf_AMPolicyControl_Update, which carries SUPI, new Allowed NSSAI).
  • Step 716 The PCF sends an AM policy (AM policy for new Allowed NSSAI) generated based on the new Allowed NSSAI to the AMF.
  • AM policy AM policy for new Allowed NSSAI
  • PCF returns Npcf_AMPolicyControl_Update Response to new AMF, which carries AM policy for new Allowed NSSAI.
  • Step 717 The new AMF sends a registration acceptance message to the UE, which carries the new Allowed NSSAI and the AM policy generated based on the new Allowed NSSAI.
  • old AMF uses a set consisting of Allowed NSSAI and Pending NSSAI, or AMF uses subscribed NSSAI to select PCF.
  • NSSAA succeeds, it can avoid that the PCF selected before the NSSAA process does not support the new Allowed NSSAI of the UE after the NSSAA process, thereby avoiding reselecting the PCF.
  • the new AMF can trigger the acquisition of a new AM policy from the PCF according to the indication information stored in the context of the UE by the old AMF, and the new AMF can re-determine the new Allowed NSSAI according to the new Allowed NSSAI determined by the old AMF, and add the new AM The new Allowed NSSAI determined by the policy and new AMF is sent to the UE.
  • FIG. 8 it is a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF changes before and after the NSSAA process.
  • the method includes the following steps:
  • step 801 the UE initiates a registration process and sends a registration request (Registration Request) message to the old AMF (old AMF), and the registration request message carries the requested NSSAI (Requested NSSAI).
  • the old AMF here refers to the AMF selected by the access network to serve the UE during the registration process, or can be understood as the AMF that serves the UE for the first time in the registration process.
  • the old AMF involved in the present invention may also be called initial AMF (initial AMF) or current AMF (serving AMF).
  • the old AMF executes the primary authentication procedure of the permanent identity of the UE. After the procedure is successful, the old AMF obtains the UE's subscription data from the UDM.
  • the subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
  • the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 2 above.
  • the old AMF can call the servicing operation Nudm_SDM_Get of UDM to obtain the subscription data of the UE, and the UDM sends the subscription data of the UE to the AMF through Nudm_SDM_Get response.
  • step 803 the old AMF requests the NRF to find a suitable PCF according to Allowed NSSAI and SUPI.
  • Allowed NSSAI includes S-NSSAI that does not require NSSAA among the requested NSSAI.
  • the old AMF can call the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI and Allowed NSSAI of the UE.
  • step 804 the NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the old AMF.
  • NEF determines a suitable PCF based on SUPI and Allowed NSSAI.
  • NRF can return Nnrf_NFDiscovery_Response to old AMF, carrying PCF ID.
  • step 805 the old AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF based on the PCF ID returned by the NRF.
  • AM Policy Association AM Policy Association
  • the AM policy association establishment request carries SUPI and Allowed NSSAI.
  • old AMF calls the servicing operation of PCF: Npcf_AMPolicyControl_Create, which carries SUPI, Allowed NSSAI).
  • Step 806 The PCF sends an AM policy (AM policy for Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the Allowed NSSAI to the old AMF.
  • AM policy AM policy for Allowed NSSAI
  • Policy Control Request Triggers Policy Control Request Triggers
  • PCF returns Npcf_AMPolicyControl_Create Response to old AMF, which carries AM policy for Allowed NSSAI and Policy Control Request Triggers.
  • the AM policy is generated by the PCF according to Allowed NSSAI, and the AM policy of this step can also be called AM policy for Allowed NSSAI.
  • AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
  • Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers.
  • the corresponding trigger conditions are met (such as the UE’s Allowed NSSAI changes)
  • the old AMF can initiate the AM policy association update process. Thereby updating the corresponding strategy.
  • Step 807 The Registration Accept message sent by the old AMF to the UE carries one or more of Allowed NSSAI (Allowed NSSAI), Pending NSSAI (Pending NSSAI), and Rejected NSSAI (Rejected NSSAI), and Carry the AM policy generated based on the allowed NSSAI.
  • Allowed NSSAI Allowed NSSAI
  • Pending NSSAI Pending NSSAI
  • Rejected NSSAI Rejected NSSAI
  • step 807 the old AMF determines that the S-NSSAI in the requested NSSAI needs to execute the NSSAA.
  • the method is the same as that in step 503, and will not be repeated.
  • the old AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
  • old AMF may also send a rejection reason value to the UE: the current area is not available.
  • Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
  • the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3.
  • S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process
  • Rejected NSSAI is empty.
  • the old AMF stores the Allowed NSSAI in this step in the context of the UE on the old AMF.
  • step 807 it also includes step 807a, step 807b, and step 807c:
  • Step 807a Based on the PCF ID returned by the NRF, the old AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
  • UE Policy Association UE Policy Association
  • Npcf_UEPolicyControl Create Request which carries SUPI.
  • Step 807b the PCF sends a UE policy (UE policy) to the old AMF.
  • UE policy UE policy
  • PCF returns Npcf_UEPolicyControl Create Response to old AMF, which carries UE policy.
  • the UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
  • UE access selection strategy such as access network discovery and selection strategy
  • PDU session selection-related strategies such as UE routing selection strategy
  • Step 807c The old AMF sends a configuration update request (configuration update request) message to the UE, which carries the UE policy.
  • Step 808 the old AMF executes the NSSAA process for the pending S-NSSAI.
  • Pending NSSAI S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then old AMF is against S- NSSAI-1 and S-NSSAI-2 execute the NSSAA process.
  • Pending NSSAI S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then AMF executes the NSSAA process on S-NSSAI-1 and S-NSSAI-2.
  • NSSAA result of S-NSSAI-1 is NSSAA success
  • NSSAA result of S-NSSAI-A is NSSAA success
  • access to S-NSSAI-A is allowed
  • NSSAA result of S-NSSAI-1 is NSSAA Failure
  • NSSAA result of S-NSSAI-A is NSSAA failure
  • access to S-NSSAI-A is denied.
  • NSSAA result of S-NSSAI-2 is NSSAA success
  • NSSAA result of S-NSSAI-B is NSSAA success
  • access to S-NSSAI-B is allowed
  • NSSAA result of S-NSSAI-2 is NSSAA Failure
  • NSSAA failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
  • step 808 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 808 is executed. Otherwise, step 808 is not executed.
  • step 808 can be executed multiple times.
  • step 809 after the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 807 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
  • the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
  • the AMF will store the Allowed NSSAI in the context of the UE in step 807.
  • Add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3.
  • the rejected NSSAI includes S-NSSAI-2.
  • it also generates a rejection reason value: NSSAA failed.
  • Step 810 If the current AMF (ie, old AMF) cannot continue to serve the UE, the old AMF needs to trigger the AMF reallocation. At the same time, the old AMF judges that the allowed NSSAI change satisfies the Policy Control Request Triggers based on the Policy Control Request Triggers, and the old AMF decides to first obtain the new allowed NSSAI corresponding new AM policy from the PCF.
  • the current AMF ie, old AMF
  • the old AMF needs to trigger the AMF reallocation.
  • the old AMF judges that the allowed NSSAI change satisfies the Policy Control Request Triggers based on the Policy Control Request Triggers, and the old AMF decides to first obtain the new allowed NSSAI corresponding new AM policy from the PCF.
  • the current AMF cannot continue to serve the UE means that the current AMF does not support the new Allowed NSSAI determined in step 709, so the AMF needs to be changed.
  • Step 811 The old AMF sends an AM Policy Association Modification (AM Policy Association Modification) request to the PCF.
  • the AM policy association modification request includes SUPI and new Allowed NSSAI, and the new Allowed NSSAI is the new Allowed NSSAI determined in step 809.
  • Npcf_AMPolicyControl_Update which carries SUPI, new Allowed NSSAI.
  • step 812 the PCF sends an AM policy (AM policy for new Allowed NSSAI) generated based on the new Allowed NSSAI to the old AMF.
  • AM policy AM policy for new Allowed NSSAI
  • PCF returns Npcf_AMPolicyControl_Update Response to new AMF, which carries AM policy for new Allowed NSSAI.
  • Step 813 The old AMF stores the AM policy generated based on the new Allowed NSSAI in the context of the UE.
  • the old AMF also adds the policy control request triggers (Policy Control Request Triggers) obtained from the PCF to the context of the UE.
  • Policy Control Request Triggers Policy Control Request Triggers
  • Step 814 The old AMF sends a configuration update request message to the UE, which carries new Allowed NSSAI and indication information.
  • the indication information is used to instruct the UE to use the new Allowed NSSAI as the requested NSSAI to initiate a registration process immediately after receiving the new Allowed NSSAI.
  • the configuration update request message also carries AM policy information generated based on new Allowed NSSAI. In this way, the subsequent new AMF does not need to send the AM policy information generated based on the new Allowed NSSAI to the UE.
  • old AMF can set an indication information in the context of the UE on old AMF.
  • the information is used to indicate: new AMF sends AM policy information in the context of the UE (that is, AM policy information generated based on new Allowed NSSAI) to the UE.
  • new AMF sends AM policy information in the context of the UE (that is, AM policy information generated based on new Allowed NSSAI) to the UE.
  • the subsequent new AMF obtains the UE context from the old AMF, it can determine to send the AM policy information generated based on the new Allowed NSSAI to the UE according to the above indication information in the UE context.
  • Step 815 The UE initiates a registration process according to the new Allowed NSSAI and the instruction information.
  • the UE registers with a new AMF (new AMF), that is, the new AMF serves the UE, where the new AMF supports the slice indicated by the new Allowed NSSAI.
  • new AMF new AMF
  • the UE sends a Requested NSSAI during the registration process, and the Requested NSSAI includes the new Allowed NSSAI in step 809 above.
  • Step 816 the new AMF obtains the context of the UE from the old AMF request.
  • the new AMF obtains the PCF ID and the AM policy generated based on the new Allowed NSSAI from the old AMF.
  • the context of the UE also includes indication information, which is used to indicate that new AMF sends AM policy information in the context of the UE (that is, AM policy information generated based on new Allowed NSSAI) to the UE.
  • indication information is used to indicate that new AMF sends AM policy information in the context of the UE (that is, AM policy information generated based on new Allowed NSSAI) to the UE.
  • the new AMF determines the new Allowed NSSAI for the UE and stores it in the context of the UE.
  • the new Allowed NSSAI of the UE determined by the new AMF and the new Allowed NSSAI determined by the old AMF in step 809 may be the same or different. This is because the new AMF needs to further determine the final Allowed NSSAI for the UE based on the congestion of the current network slice.
  • Step 818 The new AMF sends a registration acceptance message to the UE, which carries new Allowed NSSAI.
  • the new AMF carries AM policy information in the registration acceptance message according to the indication information, and the AM policy information is obtained by the new AMF from the context of the UE.
  • old AMF uses the method of the prior art and Allowed NSSAI to select PCF.
  • the old AMF determines the new Allowed NSSAI, and obtains the updated AM policy from the PCF according to the new Allowed NSSAI and stores it in the context of the UE on the old AMF.
  • new AMF obtains the UE context from old AMF, it can obtain the updated AM policy from the UE context, which eliminates the need to obtain the updated AM policy from the PCF again.
  • FIG. 9 it is a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF changes before and after the NSSAA process.
  • the method includes the following steps:
  • Step 901 The UE initiates a registration process, and sends a Registration Request (Registration Request) message to the old AMF (old AMF), and the Registration Request message carries the requested NSSAI (Requested NSSAI).
  • Registration Request Registration Request
  • NSSAI Requested NSSAI
  • the old AMF here refers to the AMF selected by the access network to serve the UE during the registration process, or can be understood as the AMF that serves the UE for the first time in the registration process.
  • the old AMF involved in the present invention may also be called initial AMF (initial AMF) or current AMF (serving AMF).
  • the old AMF executes the primary authentication procedure of the permanent identity of the UE. After the procedure is successful, the old AMF obtains the UE's subscription data from the UDM.
  • the subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
  • the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 1 above.
  • the old AMF can call the servicing operation Nudm_SDM_Get of UDM to obtain the subscription data of the UE, and the UDM sends the subscription data of the UE to the AMF through Nudm_SDM_Get response.
  • step 903 the old AMF requests the NRF to find a suitable PCF according to the Allowed NSSAI and SUPI.
  • Allowed NSSAI includes S-NSSAI that does not require NSSAA in the requested NSSAI.
  • the old AMF can call the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI and Allowed NSSAI of the UE.
  • step 904 the NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the old AMF.
  • NEF determines a suitable PCF based on SUPI and Allowed NSSAI.
  • NRF can return Nnrf_NFDiscovery_Response to old AMF, carrying PCF ID.
  • Step 905 Based on the PCF ID returned by the NRF, the old AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF.
  • AM Policy Association AM Policy Association
  • the AM policy association establishment request carries SUPI and Allowed NSSAI.
  • old AMF calls the servicing operation of PCF: Npcf_AMPolicyControl_Create, which carries SUPI, Allowed NSSAI).
  • step 906 the PCF sends an AM policy (AM policy for Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the Allowed NSSAI to the old AMF.
  • AM policy AM policy for Allowed NSSAI
  • Policy Control Request Triggers Policy Control Request Triggers
  • PCF returns Npcf_AMPolicyControl_Create Response to old AMF, which carries AM policy for Allowed NSSAI and Policy Control Request Triggers.
  • the AM policy is generated by the PCF according to Allowed NSSAI, and the AM policy of this step can also be called AM policy for Allowed NSSAI.
  • AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
  • Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers.
  • the corresponding trigger conditions are met (for example, the UE's Allowed NSSAI changes)
  • the old AMF can initiate the AM policy association update process. Thereby updating the corresponding strategy.
  • Step 907 The Registration Accept message sent by the old AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI), and Carry the AM policy generated based on the allowed NSSAI.
  • allowed NSSAI Allowed NSSAI
  • pending NSSAI Pending NSSAI
  • rejected NSSAI Rejected NSSAI
  • step 907 the old AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
  • the method is the same as that in step 503, and will not be repeated.
  • the old AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
  • old AMF may also send a rejection reason value to the UE: the current area is not available.
  • Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
  • the old AMF stores the Allowed NSSAI in this step in the context of the UE on the old AMF.
  • step 907 it also includes step 907a, step 907b, and step 907c:
  • Step 907a Based on the PCF ID returned by the NRF, the old AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
  • UE Policy Association UE Policy Association
  • Npcf_UEPolicyControl Create Request which carries SUPI.
  • step 907b the PCF sends a UE policy (UE policy) to the old AMF.
  • UE policy UE policy
  • PCF returns Npcf_UEPolicyControl Create Response to old AMF, which carries UE policy.
  • the UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
  • UE access selection strategy such as access network discovery and selection strategy
  • PDU session selection-related strategies such as UE routing selection strategy
  • Step 907c The old AMF sends a configuration update request (configuration update request) message to the UE, which carries the UE policy.
  • step 908 the old AMF executes the NSSAA process for the pending S-NSSAI.
  • Pending NSSAI S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then old AMF is against S- NSSAI-1 and S-NSSAI-2 execute the NSSAA process.
  • Pending NSSAI S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then AMF executes the NSSAA process on S-NSSAI-1 and S-NSSAI-2.
  • NSSAA result of S-NSSAI-1 is NSSAA success
  • NSSAA result of S-NSSAI-A is NSSAA success
  • access to S-NSSAI-A is allowed
  • NSSAA result of S-NSSAI-1 is NSSAA Failure
  • NSSAA result of S-NSSAI-A is NSSAA failure
  • access to S-NSSAI-A is denied.
  • NSSAA result of S-NSSAI-2 is NSSAA success
  • NSSAA result of S-NSSAI-B is NSSAA success
  • access to S-NSSAI-B is allowed
  • NSSAA result of S-NSSAI-2 is NSSAA Failure
  • NSSAA failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
  • step 908 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 908 is executed. Otherwise, step 908 is not executed.
  • step 908 can be executed multiple times.
  • step 909 after the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 907 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
  • the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
  • NSSAI-1 NSSAA success
  • S-NSSAI-2 NSSAA failure
  • AMF will store the Allowed NSSAI in the context of the UE in step 907.
  • Add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3.
  • the rejected NSSAI includes S-NSSAI-2.
  • the AMF is based on the Allowed NSSAI stored in the context of the UE in step 907 , Add S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C. And generate a rejected NSSAI.
  • the rejected NSSAI includes S-NSSAI-B. Optionally, it also generates a rejection reason value: NSSAA failed.
  • Step 910 If the current AMF (ie, old AMF) cannot continue to serve the UE, the old AMF needs to trigger the AMF reallocation. At the same time, the old AMF sets indication information in the context of the UE to indicate that the allowed NSSAI change satisfies the Policy Control Request Triggers.
  • the current AMF cannot continue to serve the UE means that the current AMF does not support the new Allowed NSSAI determined in step 709, so the AMF needs to be changed.
  • the old AMF also adds the policy control request triggers (Policy Control Request Triggers) obtained from the PCF to the context of the UE.
  • Policy Control Request Triggers Policy Control Request Triggers
  • Step 911 The old AMF sends a configuration update request message to the UE, which carries new Allowed NSSAI and indication information.
  • the indication information is used to instruct the UE to use the new Allowed NSSAI as the requested NSSAI to initiate a registration process immediately after receiving the new Allowed NSSAI.
  • Step 912 the UE initiates a registration process according to the new Allowed NSSAI and the instruction information.
  • the UE registers with a new AMF (new AMF), that is, the new AMF serves the UE, where the new AMF supports the slice indicated by the new Allowed NSSAI.
  • new AMF new AMF
  • the UE sends a Requested NSSAI during the registration process, and the Requested NSSAI includes the new Allowed NSSAI in step 709.
  • Step 913 the new AMF obtains the context of the UE from the old AMF request.
  • the context of the UE on the old AMF contains the PCF ID and indication information.
  • the indication information is used to indicate that the allowed NSSAI change satisfies the Policy Control Request Triggers. Or it can be understood that the indication information is used to instruct the new AMF to obtain a new policy from the PCF. Therefore, the new AMF obtains the PCF ID and indication information from the old AMF, and triggers the acquisition of an updated policy from the PCF according to the indication information.
  • Step 914 The new AMF determines the new Allowed NSSAI for the UE and stores it in the context of the UE.
  • the new Allowed NSSAI of the UE determined by the new AMF may be the same or different from the new Allowed NSSAI determined by the old AMF in step 709. This is because the new AMF needs to further determine the final Allowed NSSAI for the UE based on the congestion of the current network slice.
  • Step 915 The new AMF decides to send an AM Policy Association Modification (AM Policy Association Modification) request to the PCF according to the indication information in the context of the UE.
  • the AM policy association modification request includes SUPI and new Allowed NSSAI, and the new Allowed NSSAI is the new Allowed NSSAI determined in step 714.
  • the new AMF determines that the allowed NSSAI has changed, and the Policy Control Request Triggers is determined to be triggered, so it re-requests the PCF for a new AM policy.
  • new AMF calls the PCF service operation: Npcf_AMPolicyControl_Update, which carries SUPI, new Allowed NSSAI).
  • step 916 the PCF sends an AM policy (AM policy for new Allowed NSSAI) generated based on the new Allowed NSSAI to the AMF.
  • AM policy AM policy for new Allowed NSSAI
  • PCF returns Npcf_AMPolicyControl_Update Response to new AMF, which carries AM policy for new Allowed NSSAI.
  • Step 917 The new AMF sends a registration acceptance message to the UE, which carries the new Allowed NSSAI and the AM policy generated based on the new Allowed NSSAI.
  • old AMF uses the method of the prior art and Allowed NSSAI to select PCF.
  • the new AMF may trigger the acquisition of a new AM policy from the PCF according to the indication information stored in the context of the UE by the old AMF, and the new AMF may determine the new Allowed NSSAI according to the requested NSSAI, and send the new AM policy to the UE.
  • each network element described above includes hardware structures and/or software modules corresponding to each function.
  • the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the present invention.
  • the device 1000 includes The acquiring unit 1010, the determining unit 1020, and the selecting unit 1030. Optionally, it further includes a receiving unit 1040, a sending unit 1050, and a setting unit 1060.
  • the determining unit 1020 is configured to determine the allowed network slice selection auxiliary information NSSAI after the first slice performs slice authentication, where the allowed NSSAI includes the identification information of the slice that the terminal device is allowed to access, and the first slice Among the slices for which access is requested for the terminal device, slices that need to perform slice authentication; a selection unit 1030, configured to select a policy control network element according to the allowed NSSAI; wherein, the communication device serves the allowed NSSAI The corresponding slice.
  • the obtaining unit 1010 is configured to obtain the first policy associated with the allowed NSSAI from the policy control network element.
  • the receiving unit 1040 is configured to receive the requested NSSAI from the terminal device in the registration process before the first slice performs slice authentication, and the requested NSSAI includes all The identification information of the slice that the terminal device requests to access; the determining unit 1020 is further configured to determine that the first slice in the slice that is requested to access needs to perform slice authentication, and then it is determined in the registration process The policy control network element is not selected.
  • the selection unit 1030 is specifically configured to obtain the context of the terminal device from the second mobility management network element, and the context of the terminal device does not include the information of the policy control network element
  • the second mobility management network element is a network element that receives the requested NSSAI from the terminal device during the registration process, and the requested NSSAI includes the identification information of the slice that the terminal device requests to access;
  • the context of the terminal device and the allowed NSSAI select the policy control network element.
  • the allowed NSSAI when the first slice performs slice authentication successfully, includes the identification information of the first slice; or, when the first slice performs slice authentication If the permission fails, the allowed NSSAI does not include the identification information of the first slice.
  • the determining unit 1020 is configured to determine a first NSSAI, where the first NSSAI includes a first allowed NSSAI and a pending NSSAI, or the first NSSAI includes a contracted NSSAI of a terminal device, and the pending NSSAI includes the terminal Identification information of the slice that needs to perform slice authentication among the slices that the device requests to access; the selection unit 1030 is configured to select a policy control network element according to the first NSSAI.
  • the obtaining unit 1010 is configured to obtain the first policy associated with the first allowed NSSAI from the policy control network element.
  • the determining unit 1020 is further configured to determine a second allowed NSSAI after the slice corresponding to the pending NSSAI performs slice authentication, and the second allowed NSSAI includes the Identification information of the slice that successfully performs slice authentication in the pending NSSAI; the obtaining unit 1010 is configured to obtain the second policy associated with the second allowed NSSAI from the policy control network element.
  • the sending unit 1050 is configured to send the second policy to the terminal device if the communication device cannot serve the second allowed NSSAI.
  • the determining unit 1020 is further configured to determine a second allowed NSSAI after the slice corresponding to the pending NSSAI performs slice authentication, and the second allowed NSSAI includes the Identification information of the slice that successfully performs slice authentication in the pending NSSAI;
  • the setting unit 1060 is configured to set first indication information in the context of the terminal device if the communication device cannot serve the second allowed NSSAI, The first indication information is used to instruct the second mobility management network element to obtain a policy from the policy control network element.
  • the obtaining unit 1010 is configured to obtain a context of a terminal device from a first mobility management network element, where the context of the terminal device includes identification information of the policy control network element and first indication information; and, according to the first indication information, Obtain the policy associated with the allowed NSSAI from the policy control network element.
  • the determining unit 1020 is configured to determine the allowed NSSAI.
  • the first indication information is used to instruct the communication device to obtain a policy from the policy control network element.
  • the determining unit 1020 is configured to determine the allowed NSSAI after the first slice performs slice authentication, the allowed NSSAI includes identification information of the slice that the terminal device is allowed to access, and the first slice is the slice that the terminal device requests to access The slice that needs to perform slice authentication; the obtaining unit 1010 is used to obtain the first policy associated with the allowed NSSAI from the policy control network element; the sending unit 1050 is used to store the first policy and instruction information in the context of the terminal device, The indication information is used to instruct the second mobility management network element to send the first policy to the terminal device.
  • the allowed NSSAI when the first slice performs slice authentication successfully, includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
  • the determining unit 1020 is configured to determine the allowed NSSAI after the first slice performs slice authentication, the allowed NSSAI includes identification information of the slice that the terminal device is allowed to access, and the first slice is the slice that the terminal device requests to access The slice that needs to perform slice authentication; the setting unit 1060 is used to set the identification information and first indication information of the policy control network element in the context of the terminal device if the communication device cannot serve the allowed NSSAI, and the first indication information is used to indicate The second mobility management network element obtains the policy from the policy control network element.
  • the sending unit 1050 is configured to send the allowed NSSAI and second indication information to the terminal device, where the second indication information is used to instruct the terminal device to register with the second mobility management network element according to the allowed NSSAI.
  • the allowed NSSAI when the first slice performs slice authentication successfully, includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
  • each of the above-mentioned units may also be referred to as a module or a circuit, etc., and each of the above-mentioned units may be provided independently, or may be fully or partially integrated.
  • the foregoing receiving unit 1040 and sending unit 1050 may also be implemented by a transceiving unit, or in other words, the receiving unit 1040 and the sending unit 1050 may also be collectively referred to as a transceiving unit.
  • the above-mentioned acquisition unit 1010, determination unit 1020, selection unit 1030, and setting unit 1060 may also be implemented by processing units, or the acquisition unit 1010, determination unit 1020, selection unit 1030, and setting unit 1060 may also be collectively referred to as processing units.
  • the foregoing receiving unit 1040, sending unit 1050, or transceiving unit may also be referred to as a communication interface, and the foregoing processing unit may also be referred to as a processor.
  • the above-mentioned communication device 1000 may further include a storage unit for storing data or instructions (also referred to as codes or programs), and each of the above-mentioned units may interact or couple with the storage unit to implement the corresponding method or Function.
  • the processing unit may read data or instructions in the storage unit, so that the communication device implements the method in the foregoing embodiment.
  • each unit in the device can be all implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; part of the units can also be implemented in the form of software called by the processing elements, and some of the units can be implemented in the form of hardware.
  • each unit can be a separate processing element, or it can be integrated in a certain chip of the device for implementation.
  • it can also be stored in the memory in the form of a program, which is called and executed by a certain processing element of the device. Function.
  • each step of the above method or each of the above units may be implemented by an integrated logic circuit of hardware in a processor element or implemented in a form of being called by software through a processing element.
  • the unit in any of the above devices may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (ASICs), or, one or Multiple microprocessors (digital singnal processors, DSPs), or, one or more field programmable gate arrays (Field Programmable Gate Arrays, FPGAs), or a combination of at least two of these integrated circuits.
  • ASICs application specific integrated circuits
  • DSPs digital singnal processors
  • FPGAs Field Programmable Gate Arrays
  • the unit in the device can be implemented in the form of a processing element scheduler
  • the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call programs.
  • CPU central processing unit
  • these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • the above receiving unit is an interface circuit of the device for receiving signals from other devices.
  • the receiving unit is an interface circuit used by the chip to receive signals from other chips or devices.
  • the above unit for sending is an interface circuit of the device for sending signals to other devices.
  • the sending unit is an interface circuit used by the chip to send signals to other chips or devices.
  • the mobility management network element includes: a processor 1110, an interface 1130, and optionally, a memory 1120.
  • the interface 1130 is used to implement communication with other devices.
  • the method executed by the mobility management network element in the above embodiment can be implemented by the processor 1110 calling a program stored in a memory (which may be the memory 1120 in the mobility management network element or an external memory). That is, the apparatus for a mobility management network element may include a processor 1110 that calls a program in a memory to execute the method executed by the mobility management network element in the above method embodiment.
  • the processor here may be an integrated circuit with signal processing capability, such as a CPU.
  • the apparatus for the mobility management network element may be implemented by one or more integrated circuits configured to implement the above method. For example: one or more ASICs, or, one or more microprocessors DSP, or, one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms. Or, the above implementations can be combined.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • At least one refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • at least one (piece, species) of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or Multiple.
  • Multiple refers to two or more than two, and other quantifiers are similar.
  • the size of the sequence numbers of the above-mentioned processes does not mean the order of execution.
  • the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the various illustrative logic units and circuits described in the embodiments of this application can be implemented by general-purpose processors, digital signal processors, application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, Discrete gates or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions.
  • the general-purpose processor may be a microprocessor.
  • the general-purpose processor may also be any traditional processor, controller, microcontroller, or state machine.
  • the processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration. accomplish.
  • the steps of the method or algorithm described in the embodiments of the present application can be directly embedded in hardware, a software unit executed by a processor, or a combination of the two.
  • the software unit can be stored in random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read-Only Memory, ROM), EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM or this Any other storage media in the field.
  • the storage medium may be connected to the processor, so that the processor can read information from the storage medium, and can store and write information to the storage medium.
  • the storage medium may also be integrated into the processor.
  • the processor and the storage medium can be arranged in the ASIC.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the aforementioned functions described in this application can be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, these functions can be stored on a computer-readable medium, or transmitted on the computer-readable medium in the form of one or more instructions or codes.
  • Computer-readable media include computer storage media and communication media that facilitate the transfer of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special computer.
  • Such computer-readable media may include, but are not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other device that can be used to carry or store instructions or data structures and Other program code media that can be read by general-purpose or special computers, or general-purpose or special processors.
  • any connection can be appropriately defined as a computer-readable medium, for example, if the software is from a website, server, or other remote source through a coaxial cable, fiber optic computer, twisted pair, or digital subscriber line (DSL) Or transmitted by wireless means such as infrared, wireless and microwave are also included in the definition of computer-readable media.
  • DSL digital subscriber line
  • the said disks and discs include compressed disks, laser disks, optical discs, digital versatile discs (English: Digital Versatile Disc, abbreviated as: DVD), floppy disks and Blu-ray discs.
  • Disks usually copy data with magnetism.
  • Discs usually use lasers to copy data optically.
  • the combination of the above can also be contained in a computer readable medium.
  • the functions described in this application can be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on the computer-readable medium.
  • the computer-readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

Abstract

The present application provides a communication method, apparatus and system. The method comprises: after a first slice carries out slice authentication, a first mobility management network element determines an allowable NSSAI, the first slice being a slice requiring slice authentication in slices that a terminal device requests to access; and the first mobility management network element selects a policy control network element according to the allowable NSSAI. On the basis of the solution, before the slice authentication process is carried out, no policy control network element is selected, and after the slice authentication process is carried out, the mobility management network element selects the policy control network element according to NSSAI of the final terminal device, so as to avoid the problem of reselecting a policy control network element since the policy control network element selected before the slice authentication process does not support the slice after the slice authentication process. Furthermore, the problem of policy reselection can also be avoided, thereby saving resources.

Description

通信方法、装置及系统Communication method, device and system 技术领域Technical field
本申请涉及通信技术领域,尤其涉及通信方法、装置及系统。This application relates to the field of communication technology, and in particular to communication methods, devices and systems.
背景技术Background technique
在终端设备的注册流程中,如果移动性管理网元决定与策略控制网元建立策略关联,则移动性管理网元会根据终端设备的请求的网络切片选择辅助信息(network slice selection assistance information,NSSAI)确定允许的NSSAI,其中,请求的NSSAI包含终端设备请求接入的一个或多个网络切片的标识信息,允许的NSSAI包含允许终端设备接入的一个或多个网络切片的标识信息。然后,移动性管理网元根据允许的NSSAI选择策略控制网元。In the registration process of the terminal device, if the mobility management network element decides to establish a policy association with the policy control network element, the mobility management network element will select the assistance information (network slice selection assistance information, NSSAI) according to the network slice requested by the terminal device. ) Determine the allowed NSSAI, where the requested NSSAI includes identification information of one or more network slices that the terminal device requests to access, and the allowed NSSAI includes identification information of one or more network slices that the terminal device is allowed to access. Then, the mobility management network element controls the network element according to the allowed NSSAI selection policy.
移动性管理网元选择策略控制网元之后,发起策略关联建立流程,以向策略控制网元请求获取策略,同时,策略控制网元还向移动性管理网元返回策略控制请求触发器(Policy Control Request Triggers)。当移动性管理网元后续判断策略控制请求触发器的触发条件满足时,则移动性管理网元需要向策略控制网元请求更新策略。其中,策略控制请求触发器的触发条件包括:终端设备的允许的NSSAI发生改变。也即,终端设备的允许的NSSAI发生改变,将会触发移动性管理网元向策略控制网元请求更新策略。After the mobility management network element selects the policy control network element, it initiates a policy association establishment process to request the policy control network element to obtain the policy. At the same time, the policy control network element returns a policy control request trigger to the mobility management network element. Request Triggers). When the mobility management network element subsequently determines that the triggering condition of the policy control request trigger is satisfied, the mobility management network element needs to request the policy control network element to update the policy. Wherein, the trigger condition of the policy control request trigger includes: the allowed NSSAI of the terminal device is changed. That is, a change in the allowed NSSAI of the terminal device will trigger the mobility management network element to request the policy control network element to update the policy.
在注册流程之后,网络会进入网络切片的切片鉴权流程,即对请求的NSSAI中需要执行切片鉴权的网络切片执行切片鉴权流程。若某个网络切片的切片鉴权成功,则根据该网络切片的标识信息得到新的允许的NSSAI,该新的允许的NSSAI包含注册流程中确定的允许的NSSAI,以及包含切片鉴权成功的网络切片的标识信息。After the registration process, the network enters the slice authentication process of the network slice, that is, performs the slice authentication process on the network slices that need to perform slice authentication in the requested NSSAI. If the slice authentication of a certain network slice is successful, a new allowed NSSAI is obtained according to the identification information of the network slice. The new allowed NSSAI includes the allowed NSSAI determined in the registration process and the network that contains the successful slice authentication. The identification information of the slice.
因此,在切片鉴权流程之后得到的新的允许的NSSAI可能与注册流程中确定的允许的NSSAI不同,也即终端设备的允许的NSSAI发生改变,从而触发移动性管理网元向策略控制网元请求更新策略。Therefore, the new allowed NSSAI obtained after the slice authentication process may be different from the allowed NSSAI determined in the registration process, that is, the allowed NSSAI of the terminal device changes, which triggers the mobility management network element to change to the policy control network element Request an update policy.
然而,在注册流程中选择的策略控制网元有可能不支持新的允许的NSSAI,导致需要重新选择一个支持新的允许的NSSAI的策略控制网元,即触发策略控制网元的重选,从而造成资源浪费。However, the policy control network element selected in the registration process may not support the new allowed NSSAI, which leads to the need to reselect a policy control network element that supports the new allowed NSSAI, that is, trigger the reselection of the policy control network element, and thus Cause a waste of resources.
发明内容Summary of the invention
本申请提供通信方法、装置及系统,用以减少策略控制网元的重选,从而节约资源。The present application provides a communication method, device, and system to reduce the reselection of policy control network elements, thereby saving resources.
第一方面,本申请实施例提供一种通信方法,包括:在第一切片执行切片鉴权之后,第一移动性管理网元确定允许的网络切片选择辅助信息NSSAI,允许的NSSAI包括允许终端设备接入的切片的标识信息,第一切片为终端设备请求接入的切片中需要执行切片鉴权的切片;第一移动性管理网元根据允许的NSSAI,选择策略控制网元;其中,第一移动性管理网元服务允许的NSSAI对应的切片。In a first aspect, an embodiment of the present application provides a communication method, including: after the first slice performs slice authentication, the first mobility management network element determines the allowed network slice selection auxiliary information NSSAI, and the allowed NSSAI includes the allowed terminal The identification information of the slice accessed by the device, the first slice is the slice for which slice authentication needs to be performed among the slices that the terminal device requests to access; the first mobility management network element selects the policy control network element according to the allowed NSSAI; where, The slice corresponding to the NSSAI allowed by the first mobility management network element service.
基于上述方案,在执行切片鉴权流程之前,不选择策略控制网元,在执行切片鉴权流程之后,移动性管理网元根据最终的终端设备的NSSAI选择策略控制网元,从而可以避免切片鉴权流程之前选择的策略控制网元不支持切片鉴权流程之后的切片,导致发生策略控 制网元重选的问题。进一步的,还可以避免发生重选策略的问题,从而可以节约资源。Based on the above solution, before performing the slice authentication process, the policy control network element is not selected. After the slice authentication process is performed, the mobility management network element selects the policy control network element according to the final NSSAI of the terminal device, thereby avoiding the slice authentication process. The policy control network element selected before the right process does not support the slice after the slice authentication process, which leads to the problem of reselecting the policy control network element. Furthermore, the problem of reselection strategy can also be avoided, so that resources can be saved.
在一种可能的实现方法中,第一移动性管理网元从策略控制网元获取与允许的NSSAI关联的第一策略。In a possible implementation method, the first mobility management network element obtains the first policy associated with the allowed NSSAI from the policy control network element.
在一种可能的实现方法中,在第一切片执行切片鉴权之前,第一移动性管理网元在注册流程中接收来自终端设备的请求的NSSAI,请求的NSSAI包括终端设备请求接入的切片的标识信息;第一移动性管理网元确定请求接入的切片中的第一切片需要执行切片鉴权,则确定在注册流程中不选择策略控制网元。In a possible implementation method, before the first slice performs slice authentication, the first mobility management network element receives the requested NSSAI from the terminal device in the registration process, and the requested NSSAI includes the terminal device requests to access the NSSAI. The identification information of the slice; the first mobility management network element determines that the first slice in the slice requested for access needs to perform slice authentication, and then determines that the policy control network element is not selected in the registration process.
在一种可能的实现方法中,第一移动性管理网元根据允许的NSSAI,选择策略控制网元,包括:第一移动性管理网元从第二移动性管理网元获取终端设备的上下文,终端设备的上下文中不包括策略控制网元的信息,第二移动性管理网元为在注册流程中,从终端设备接收请求的NSSAI的网元,请求的NSSAI包括终端设备请求接入的切片的标识信息;第一移动性管理网元根据终端设备的上下文和允许的NSSAI,选择策略控制网元。In a possible implementation method, the first mobility management network element selects the policy control network element according to the allowed NSSAI, including: the first mobility management network element obtains the context of the terminal device from the second mobility management network element, The context of the terminal device does not include the information of the policy control network element. The second mobility management network element is the network element that receives the requested NSSAI from the terminal device during the registration process, and the requested NSSAI includes the slice that the terminal device requests to access. Identification information; the first mobility management network element selects a policy control network element according to the context of the terminal device and the allowed NSSAI.
在一种可能的实现方法中,当第一切片执行切片鉴权成功,允许的NSSAI包括第一切片的标识信息;或者,当第一切片执行切片鉴权失败,允许的NSSAI不包括第一切片的标识信息。In a possible implementation method, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
第二方面,本申请实施例提供一种通信方法,包括:第一移动性管理网元确定第一NSSAI,第一NSSAI包括第一允许的NSSAI和待定的NSSAI,或者第一NSSAI包括终端设备的签约的NSSAI,待定的NSSAI包括终端设备请求接入的切片中的需要执行切片鉴权的切片的标识信息;第一移动性管理网元根据第一NSSAI,选择策略控制网元。In a second aspect, an embodiment of the present application provides a communication method, including: a first mobility management network element determines a first NSSAI, the first NSSAI includes the first allowed NSSAI and the pending NSSAI, or the first NSSAI includes the terminal equipment For the signed NSSAI, the pending NSSAI includes the identification information of the slice that needs to perform slice authentication among the slices that the terminal device requests to access; the first mobility management network element selects the policy control network element according to the first NSSAI.
基于上述方案,第一移动性管理网元是根据允许的NSSAI和待定的NSSAI选择策略控制网元,或者是根据终端设备的签约的NSSAI选择策略控制网元,从而即使后续允许的NSSAI发生改变,新的允许的NSSAI也是从允许的NSSAI和待定的NSSAI中确定出来的,或者,从终端设备的签约的NSSAI中确定出来的,则该策略控制网元也仍然支持新的允许的NSSAI,从而不需要再重新选择策略控制网元,也即不会触发策略控制网元的重选。因而可以节约资源开销。Based on the above solution, the first mobility management network element controls the network element according to the allowed NSSAI and the pending NSSAI selection strategy, or according to the NSSAI selection strategy contracted by the terminal device, so that even if the subsequent allowed NSSAI changes, The new allowed NSSAI is also determined from the allowed NSSAI and the pending NSSAI, or if it is determined from the NSSAI contracted by the terminal device, the policy control network element still supports the new allowed NSSAI, so that it does not The policy control network element needs to be reselected, that is, the reselection of the policy control network element will not be triggered. Therefore, resource expenditure can be saved.
在一种可能的实现方法中,第一移动性管理网元从策略控制网元获取与第一允许的NSSAI关联的第一策略。In a possible implementation method, the first mobility management network element obtains the first policy associated with the first allowed NSSAI from the policy control network element.
在一种可能的实现方法中,在待定的NSSAI对应的切片执行切片鉴权之后,第一移动性管理网元确定第二允许的NSSAI,第二允许的NSSAI包括待定的NSSAI中执行切片鉴权成功的切片的标识信息;第一移动性管理网元从策略控制网元获取与第二允许的NSSAI关联的第二策略。In a possible implementation method, after slice authentication is performed on the slice corresponding to the pending NSSAI, the first mobility management network element determines the second allowed NSSAI, and the second allowed NSSAI includes the slice authentication performed in the pending NSSAI Identification information of the successful slice; the first mobility management network element obtains the second policy associated with the second allowed NSSAI from the policy control network element.
在一种可能的实现方法中,若第一移动性管理网元无法服务第二允许的NSSAI,第一移动性管理网元向终端设备发送第二策略。In a possible implementation method, if the first mobility management network element cannot serve the second allowed NSSAI, the first mobility management network element sends the second policy to the terminal device.
在一种可能的实现方法中,在待定的NSSAI对应的切片执行切片鉴权之后,第一移动性管理网元确定第二允许的NSSAI,第二允许的NSSAI包括待定的NSSAI中执行切片鉴权成功的切片的标识信息;若第一移动性管理网元无法服务第二允许的NSSAI,第一移动性管理网元在终端设备的上下文中设置第一指示信息,第一指示信息用于指示第二移动性管理网元向策略控制网元获取策略。In a possible implementation method, after slice authentication is performed on the slice corresponding to the pending NSSAI, the first mobility management network element determines the second allowed NSSAI, and the second allowed NSSAI includes the slice authentication performed in the pending NSSAI The identification information of the successful slice; if the first mobility management network element cannot serve the second allowed NSSAI, the first mobility management network element sets the first indication information in the context of the terminal device, and the first indication information is used to indicate the second 2. The mobility management network element obtains the policy from the policy control network element.
第三方面,本申请实施例提供一种通信方法,包括:第二移动性管理网元从第一移动性管理网元获取终端设备的上下文,终端设备的上下文包括策略控制网元的标识信息和第 一指示信息;第二移动性管理网元确定允许的NSSAI;第二移动性管理网元根据第一指示信息,从策略控制网元获取与允许的NSSAI关联的策略。In a third aspect, an embodiment of the present application provides a communication method, including: a second mobility management network element obtains a context of a terminal device from a first mobility management network element, and the context of the terminal device includes identification information of the policy control network element and The first indication information; the second mobility management network element determines the allowed NSSAI; the second mobility management network element obtains the policy associated with the allowed NSSAI from the policy control network element according to the first indication information.
在一种可能的实现方法中,第一指示信息用于指示第二移动性管理网元向策略控制网元获取策略。In a possible implementation method, the first indication information is used to instruct the second mobility management network element to obtain the policy from the policy control network element.
第四方面,本申请实施例提供一种通信方法,包括:在第一切片执行切片鉴权之后,第一移动性管理网元确定允许的NSSAI,允许的NSSAI包括允许终端设备接入的切片的标识信息,第一切片为终端设备请求接入的切片中需要执行切片鉴权的切片;第一移动性管理网元从策略控制网元获取与允许的NSSAI关联的第一策略;第一移动性管理网元在终端设备的上下文中存储第一策略和指示信息,指示信息用于指示第二移动性管理网元将第一策略发送至终端设备。In a fourth aspect, an embodiment of the present application provides a communication method, including: after the first slice performs slice authentication, the first mobility management network element determines the allowed NSSAI, and the allowed NSSAI includes the slice that allows the terminal device to access The first slice is the slice for which slice authentication needs to be performed among the slices that the terminal device requests to access; the first mobility management network element obtains the first policy associated with the allowed NSSAI from the policy control network element; first The mobility management network element stores the first strategy and indication information in the context of the terminal device, and the indication information is used to instruct the second mobility management network element to send the first strategy to the terminal device.
基于上述方案,在移动性管理网元发生改变的场景中,由旧的移动性管理网元从策略控制网元获取新的策略并存储在终端设备的上下文中,然后由新的移动性管理网元从终端设备的上下文中获取新的策略并发送至终端设备,从而解决了在移动性管理网元发生改变的场景中,如何触发新的移动性管理网元向终端设备发送更新的策略的问题。Based on the above solution, in a scenario where the mobility management network element changes, the old mobility management network element obtains the new policy from the policy control network element and stores it in the context of the terminal device, and then the new mobility management network The element obtains the new strategy from the context of the terminal device and sends it to the terminal device, thereby solving the problem of how to trigger the new mobility management network element to send the updated strategy to the terminal device in a scenario where the mobility management network element changes. .
在一种可能的实现方法中,当第一切片执行切片鉴权成功,允许的NSSAI包括第一切片的标识信息;或者,当第一切片执行切片鉴权失败,允许的NSSAI不包括第一切片的标识信息。In a possible implementation method, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
第五方面,本申请实施例提供一种通信方法,包括:在第一切片执行切片鉴权之后,第一移动性管理网元确定允许的NSSAI,允许的NSSAI包括允许终端设备接入的切片的标识信息,第一切片为终端设备请求接入的切片中需要执行切片鉴权的切片;若第一移动性管理网元无法服务允许的NSSAI,第一移动性管理网元在终端设备的上下文中设置策略控制网元的标识信息和第一指示信息,第一指示信息用于指示第二移动性管理网元向策略控制网元获取策略。;第一移动性管理网元向终端设备发送允许的NSSAI和第二指示信息,第二指示信息用于指示终端设备根据允许的NSSAI注册到第二移动性管理网元。In a fifth aspect, an embodiment of the present application provides a communication method, including: after the first slice performs slice authentication, the first mobility management network element determines the allowed NSSAI, and the allowed NSSAI includes the slice that allows the terminal device to access The first slice is the slice for which slice authentication needs to be performed among the slices that the terminal device requests to access; if the first mobility management network element cannot serve the allowed NSSAI, the first mobility management network element is in the terminal device’s The identification information of the policy control network element and the first indication information are set in the context, and the first indication information is used to instruct the second mobility management network element to obtain the policy from the policy control network element. ; The first mobility management network element sends the allowed NSSAI and second indication information to the terminal device, the second indication information is used to instruct the terminal device to register with the second mobility management network element according to the allowed NSSAI.
基于上述方案,在移动性管理网元发生改变的场景中,由旧的移动性管理网元选择策略控制网元并在终端设备的上下文中设置策略控制网元的标识信息和一个指示信息,然后由新的移动性管理网元从终端设备的上下文中获取策略控制网元的标识信息,并根据第一指示信息触发新的移动性管理网元从该策略控制网元获取新的策略,从而解决了在移动性管理网元发生改变的场景中,如何触发新的移动性管理网元向终端设备发送更新的策略的问题。Based on the above solution, in a scenario where the mobility management network element changes, the old mobility management network element selects the strategy control network element and sets the identification information and an indication information of the strategy control network element in the context of the terminal device, and then The new mobility management network element obtains the identification information of the policy control network element from the context of the terminal device, and triggers the new mobility management network element to obtain a new policy from the policy control network element according to the first indication information, thereby solving In the scenario where the mobility management network element changes, how to trigger the new mobility management network element to send an updated strategy to the terminal device.
在一种可能的实现方法中,当第一切片执行切片鉴权成功,允许的NSSAI包括第一切片的标识信息;或者,当第一切片执行切片鉴权失败,允许的NSSAI不包括第一切片的标识信息。In a possible implementation method, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
第六方面,本申请实施例提供一种通信装置,该装置可以是移动性管理网元,还可以是用于移动性管理网元的芯片。该装置具有实现上述第一方面至第五方面中的任意方面、或第一方面或第五方面的任意实施例的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a sixth aspect, an embodiment of the present application provides a communication device, which may be a mobility management network element, or a chip used for a mobility management network element. The device has the function of realizing any of the first aspect to the fifth aspect, or any embodiment of the first aspect or the fifth aspect. This function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
第七方面,本申请实施例提供一种通信装置,包括处理器和存储器;该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第一方面至第五方面中的任意方面、或第一方面或第五方面的任意 实施例的方法。In a seventh aspect, an embodiment of the present application provides a communication device including a processor and a memory; the memory is used to store computer-executable instructions, and when the device is running, the processor executes the computer-executable instructions stored in the memory to enable The device executes the method of any one of the above-mentioned first aspect to the fifth aspect, or any embodiment of the first aspect or the fifth aspect.
第八方面,本申请实施例提供一种通信装置,包括用于执行上述第一方面至第五方面中的任意方面、或第一方面或第五方面的任意实施例的各个步骤的单元或手段(means)。In an eighth aspect, an embodiment of the present application provides a communication device, including a unit or means for performing any of the above-mentioned first aspect to the fifth aspect, or each step of any embodiment of the first aspect or the fifth aspect (means).
第九方面,本申请实施例提供一种通信装置,包括处理器和接口电路,所述处理器用于通过接口电路与其它装置通信,并执行上述第一方面至第五方面中的任意方面、或第一方面或第五方面的任意实施例的方法。该处理器包括一个或多个。In a ninth aspect, an embodiment of the present application provides a communication device, including a processor and an interface circuit, the processor is configured to communicate with other devices through the interface circuit, and execute any of the first to fifth aspects, or The method of any embodiment of the first or fifth aspect. The processor includes one or more.
第十方面,本申请实施例提供一种通信装置,包括处理器,用于与存储器相连,用于调用所述存储器中存储的程序,以执行上述第一方面至第五方面中的任意方面、或第一方面或第五方面的任意实施例的方法。该存储器可以位于该装置之内,也可以位于该装置之外。且该处理器包括一个或多个。In a tenth aspect, an embodiment of the present application provides a communication device, including a processor, configured to be connected to a memory, and configured to call a program stored in the memory to execute any of the above-mentioned first to fifth aspects, Or the method of any embodiment of the first or fifth aspect. The memory can be located inside the device or outside the device. And the processor includes one or more.
第十一方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得处理器执行上述第一方面至第五方面中的任意方面、或第一方面或第五方面的任意实施例所述的方法。In an eleventh aspect, an embodiment of the present application also provides a computer-readable storage medium having instructions stored in the computer-readable storage medium, which when run on a computer, cause a processor to execute the above-mentioned first to fifth aspects. The method described in any of the aspects, or any embodiment of the first or fifth aspect.
第十二方面,本申请实施例还提供一种计算机程序产品,该计算机产品包括计算机程序,当计算机程序运行时,使得上述第一方面至第五方面中的任意方面、或第一方面或第五方面的任意实施例所述的方法被执行。In the twelfth aspect, the embodiments of the present application also provide a computer program product. The computer product includes a computer program. The method described in any embodiment of the five aspects is executed.
第十三方面,本申请实施例还提供一种芯片系统,包括:处理器,用于执行上述第一方面至第五方面中的任意方面、或第一方面或第五方面的任意实施例所述的方法。In a thirteenth aspect, an embodiment of the present application also provides a chip system, including a processor, configured to execute any aspect of the first aspect to the fifth aspect, or any of the first aspect or the fifth aspect of the embodiment. The method described.
第十四方面,本申请实施例还提供一种通信系统,包括:移动性管理网元和策略控制网元。所述移动性管理网元,用于在第一切片执行切片鉴权之后,确定允许的网络切片选择辅助信息NSSAI,所述允许的NSSAI包括允许终端设备接入的切片的标识信息,所述第一切片为所述终端设备请求接入的切片中需要执行切片鉴权的切片;根据所述允许的NSSAI,选择所述策略控制网元;以及,从所述策略控制网元获取与所述允许的NSSAI关联的第一策略;其中,所述移动性管理网元服务所述允许的NSSAI对应的切片。所述策略控制网元,用于向所述移动性管理网元发送所述第一策略。In a fourteenth aspect, an embodiment of the present application also provides a communication system, including: a mobility management network element and a policy control network element. The mobility management network element is configured to determine the allowed network slice selection auxiliary information NSSAI after the first slice performs slice authentication, and the allowed NSSAI includes identification information of the slice that is allowed to be accessed by the terminal device. The first slice is the slice for which slice authentication needs to be performed among the slices that the terminal device requests to access; select the policy control network element according to the allowed NSSAI; and, obtain the data from the policy control network element. The first policy associated with the allowed NSSAI; wherein the mobility management network element serves the slice corresponding to the allowed NSSAI. The policy control network element is used to send the first policy to the mobility management network element.
第十五方面,本申请实施例还提供一种通信系统,包括:第一移动性管理网元和策略控制网元。所述第一移动性管理网元,用于确定第一NSSAI,所述第一NSSAI包括第一允许的NSSAI和待定的NSSAI,或者所述第一NSSAI包括终端设备的签约的NSSAI,所述待定的NSSAI包括所述终端设备请求接入的切片中的需要执行切片鉴权的切片的标识信息;根据所述第一NSSAI,选择所述策略控制网元;以及,从所述策略控制网元获取与所述第一允许的NSSAI关联的第一策略。所述策略控制网元,用于向所述第一移动性管理网元发送所述第一策略。In a fifteenth aspect, an embodiment of the present application also provides a communication system, including: a first mobility management network element and a policy control network element. The first mobility management network element is used to determine a first NSSAI, where the first NSSAI includes a first allowed NSSAI and a pending NSSAI, or the first NSSAI includes a contracted NSSAI of a terminal device, and the pending NSSAI The NSSAI includes the identification information of the slice that needs to perform slice authentication among the slices that the terminal device requests to access; selects the policy control network element according to the first NSSAI; and, obtains it from the policy control network element The first policy associated with the first allowed NSSAI. The policy control network element is configured to send the first policy to the first mobility management network element.
附图说明Description of the drawings
图1A为基于服务化架构的5G网络架构示意图;Figure 1A is a schematic diagram of a 5G network architecture based on a service-oriented architecture;
图1B为基于点对点接口的5G网络架构示意图;Figure 1B is a schematic diagram of a 5G network architecture based on a point-to-point interface;
图2为现有技术中的NSSAA流程示意图;Figure 2 is a schematic diagram of the NSSAA process in the prior art;
图3A为本申请提供的一种通信方法流程示意图;FIG. 3A is a schematic flowchart of a communication method provided by this application;
图3B为本申请提供的又一种通信方法流程示意图;FIG. 3B is a schematic flowchart of another communication method provided by this application;
图3C为本申请提供的又一种通信方法流程示意图;FIG. 3C is a schematic flowchart of another communication method provided by this application;
图3D为本申请提供的又一种通信方法流程示意图;FIG. 3D is a schematic flowchart of another communication method provided by this application;
图4为本申请提供的又一种通信方法流程示意图;FIG. 4 is a schematic flow diagram of another communication method provided by this application;
图5为本申请提供的又一种通信方法流程示意图;FIG. 5 is a schematic flowchart of another communication method provided by this application;
图6为本申请提供的又一种通信方法流程示意图;FIG. 6 is a schematic flowchart of another communication method provided by this application;
图7为本申请提供的又一种通信方法流程示意图;FIG. 7 is a schematic flowchart of another communication method provided by this application;
图8为本申请提供的又一种通信方法流程示意图;FIG. 8 is a schematic flowchart of another communication method provided by this application;
图9为本申请提供的又一种通信方法流程示意图;FIG. 9 is a schematic flowchart of another communication method provided by this application;
图10为本申请提供的一种通信装置示意图;FIG. 10 is a schematic diagram of a communication device provided by this application;
图11为本申请提供的一种移动性管理网元示意图。FIG. 11 is a schematic diagram of a mobility management network element provided by this application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。方法实施例中的具体操作方法也可以应用于装置实施例或系统实施例中。In order to make the purpose, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The specific operation method in the method embodiment can also be applied to the device embodiment or the system embodiment.
如图1A所示,为基于服务化架构的第五代(5th generation,5G)网络架构示意图。图1A所示的5G网络架构中可包括三部分,分别是终端设备部分、数据网络(data network,DN)和运营商网络部分。下面对其中的部分网元的功能进行简单介绍说明。As shown in Figure 1A, it is a schematic diagram of a fifth generation (5G) network architecture based on a service-oriented architecture. The 5G network architecture shown in FIG. 1A may include three parts, namely a terminal equipment part, a data network (DN), and an operator network part. The functions of some of the network elements are briefly introduced below.
其中,运营商网络可包括以下网元中的一个或多个:鉴权服务器功能(Authentication Server Function,AUSF)网元、网络开放功能(network exposure function,NEF)网元、策略控制功能(policy control function,PCF)网元、统一数据管理(unified data management,UDM)网元、统一数据库(Unified Data Repository,UDR)、网络存储功能(Network Repository Function,NRF)网元、应用功能(application function,AF)网元、接入与移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、无线接入网(radioaccess network,RAN)以及用户面功能(user plane function,UPF)网元、网络切片选择功能(Network Slice Selection Function,NSSF)网元(图中未示出)等。上述运营商网络中,除无线接入网部分之外的部分可以称为核心网络部分。Among them, the operator network may include one or more of the following network elements: Authentication Server Function (AUSF) network elements, network exposure function (NEF) network elements, policy control function (policy control) function, PCF) network element, unified data management (UDM) network element, unified database (Unified Data Repository, UDR), network storage function (Network Repository Function, NRF) network element, application function (AF) ) Network element, access and mobility management function (AMF) network element, session management function (SMF) network element, radio access network (RAN) and user plane function (user plane function, UPF) network element, network slice selection function (Network Slice Selection Function, NSSF) network element (not shown in the figure), etc. In the above-mentioned operator's network, the part other than the radio access network part may be referred to as the core network part.
终端设备(terminal device),是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。所述终端设备可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、用户设备(user equipment,UE)等。Terminal device (terminal device) is a device with wireless transceiver function. It can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air ( For example, airplanes, balloons, satellites, etc.). The terminal device may be a mobile phone (mobile phone), a tablet computer (pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, an industrial control (industrial control) Wireless terminals in ), wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, and wireless terminals in transportation safety , Wireless terminals in smart cities, wireless terminals in smart homes, user equipment (UE), etc.
上述终端设备可通过运营商网络提供的接口(例如N1等)与运营商网络建立连接,使用运营商网络提供的数据和/或语音等服务。终端设备还可通过运营商网络访问DN,使用DN上部署的运营商业务,和/或第三方提供的业务。其中,上述第三方可为运营商网络和终端设备之外的服务方,可为终端设备提供他数据和/或语音等服务。其中,上述第三方的具体表现形式,具体可根据实际应用场景确定,在此不做限制。The above-mentioned terminal device may establish a connection with the operator's network through an interface (such as N1, etc.) provided by the operator's network, and use services such as data and/or voice provided by the operator's network. The terminal device can also access the DN through the operator's network, and use the operator's service deployed on the DN and/or the service provided by a third party. Among them, the above-mentioned third party may be a service party other than the operator's network and terminal equipment, and may provide other services such as data and/or voice for the terminal equipment. Among them, the specific form of expression of the above-mentioned third party can be determined according to actual application scenarios, and is not limited here.
RAN是运营商网络的子网络,是运营商网络中业务节点与终端设备之间的实施系统。 终端设备要接入运营商网络,首先是经过RAN,进而可通过RAN与运营商网络的业务节点连接。RAN设备,是一种为终端设备提供无线通信功能的设备,RAN设备也称为接入网设备。RAN设备包括但不限于:5G中的下一代基站(g nodeB,gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved nodeB,或home node B,HNB)、基带单元(baseBand unit,BBU)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等。RAN is a sub-network of an operator's network, and an implementation system between service nodes and terminal equipment in the operator's network. To access the operator's network, the terminal device first passes through the RAN, and then can be connected to the service node of the operator's network through the RAN. RAN equipment is a type of equipment that provides wireless communication functions for terminal equipment. RAN equipment is also called access network equipment. RAN equipment includes but is not limited to: next-generation base stations (gnodeB, gNB) in 5G, evolved node B (evolved node B, eNB), radio network controller (RNC), node B (node B, NB), base station controller (BSC), base transceiver station (BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (BBU) , Transmission point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc.
AMF网元,主要进行移动性管理、接入鉴权/授权等功能。此外,还负责在UE与PCF间传递用户策略。The AMF network element mainly performs functions such as mobility management and access authentication/authorization. In addition, it is also responsible for transferring user policies between UE and PCF.
SMF网元,主要进行会话管理、PCF下发控制策略的执行、UPF的选择、UE互联网协议(internet protocol,IP)地址分配等功能。The SMF network element mainly performs functions such as session management, execution of control policies issued by PCF, selection of UPF, and UE Internet Protocol (IP) address allocation.
UPF网元,作为和数据网络的接口UPF,完成用户面数据转发、基于会话/流级的计费统计,带宽限制等功能。The UPF network element, as the interface UPF with the data network, completes functions such as user plane data forwarding, session/stream-based billing statistics, and bandwidth limitation.
UDM网元,主要负责管理签约数据、用户接入授权等功能。The UDM network element is mainly responsible for functions such as management of contract data and user access authorization.
UDR,主要负责签约数据、策略数据、应用数据等类型数据的存取功能。UDR is mainly responsible for the access function of contract data, strategy data, application data and other types of data.
NEF网元,主要用于支持能力和事件的开放。NEF network elements are mainly used to support the opening of capabilities and events.
AF网元,主要传递应用侧对网络侧的需求,例如,服务质量(Quality of Service,QoS)需求或用户状态事件订阅等。AF可以是第三方功能实体,也可以是运营商部署的应用服务,如IP多媒体子系统(IP Multimedia Subsystem,IMS)语音呼叫业务。The AF network element mainly conveys the requirements of the application side to the network side, for example, quality of service (QoS) requirements or user status event subscriptions. The AF can be a third-party functional entity, or an application service deployed by an operator, such as an IP Multimedia Subsystem (IMS) voice call service.
PCF网元,主要负责针对会话、业务流级别进行计费、QoS带宽保障及移动性管理、UE策略决策等策略控制功能。该架构中,AMF与SMF所连接的PCF分别对应AM PCF(PCF for Access and Mobility Control)和SM PCF(PCF for Session Management),在实际部署场景中可能不是同一个PCF实体。The PCF network element is mainly responsible for policy control functions such as billing, QoS bandwidth guarantee and mobility management, and UE policy decision-making for the session and service flow levels. In this architecture, the PCF connected to the AMF and the SMF corresponds to AM PCF (PCF for Access and Mobility Control) and SM PCF (PCF for Session Management) respectively, and may not be the same PCF entity in actual deployment scenarios.
NRF网元,可用于提供网元发现功能,基于其他网元的请求,提供网元类型对应的网元信息。NRF还提供网元管理服务,如网元注册、更新、去注册以及网元状态订阅和推送等。The NRF network element can be used to provide the network element discovery function, and provide the network element information corresponding to the network element type based on the request of other network elements. NRF also provides network element management services, such as network element registration, update, de-registration, and network element status subscription and push.
AUSF网元:主要负责对用户进行鉴权,以确定是否允许用户或设备接入网络。AUSF network element: Mainly responsible for authenticating users to determine whether users or devices are allowed to access the network.
NSSF网元,主要用于选择网络切片,对网络切片内的用户进行计数等。NSSF network elements are mainly used to select network slices and count users in the network slices.
DN,是位于运营商网络之外的网络,运营商网络可以接入多个DN,DN上可部署多种业务,可为终端设备提供数据和/或语音等服务。例如,DN是某智能工厂的私有网络,智能工厂安装在车间的传感器可为终端设备,DN中部署了传感器的控制服务器,控制服务器可为传感器提供服务。传感器可与控制服务器通信,获取控制服务器的指令,根据指令将采集的传感器数据传送给控制服务器等。又例如,DN是某公司的内部办公网络,该公司员工的手机或者电脑可为终端设备,员工的手机或者电脑可以访问公司内部办公网络上的信息、数据资源等。A DN is a network located outside the operator's network. The operator's network can access multiple DNs. A variety of services can be deployed on the DN to provide terminal equipment with services such as data and/or voice. For example, DN is the private network of a smart factory. The sensors installed in the workshop of the smart factory can be terminal devices. A control server for the sensors is deployed in the DN, and the control server can provide services for the sensors. The sensor can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions. For another example, the DN is the internal office network of a company. The mobile phones or computers of the employees of the company can be terminal devices, and the mobile phones or computers of the employees can access the information and data resources on the internal office network of the company.
图1A中Nausf、Nnef、Npcf、Nudm、Naf、Namf、Nsmf、N1、N2、N3、N4,以及N6为接口序列号。这些接口序列号的含义可参见第三代合作伙伴计划(3rd generation partnership project,3GPP)标准协议中定义的含义,在此不做限制。In Figure 1A, Nausf, Nnef, Npcf, Nudm, Naf, Namf, Nsmf, N1, N2, N3, N4, and N6 are interface serial numbers. The meaning of these interface serial numbers can be referred to the meaning defined in the 3rd generation partnership project (3rd generation partnership project, 3GPP) standard protocol, which is not limited here.
如图1B所示,为基于点对点接口的5G网络架构示意图,其中的网元的功能的介绍可以参考图1A中对应的网元的功能的介绍,不再赘述。图1B与图1A的主要区别在于:图1B中的各个网元之间的接口是点对点的接口,而不是服务化的接口。As shown in FIG. 1B, it is a schematic diagram of a 5G network architecture based on a point-to-point interface. For the introduction of the functions of the network elements therein, reference may be made to the introduction of the functions of the corresponding network elements in FIG. 1A, which will not be repeated. The main difference between Fig. 1B and Fig. 1A is that the interfaces between the various network elements in Fig. 1B are point-to-point interfaces, rather than service-oriented interfaces.
在图1B所示的架构中,各个网元之间的接口名称及功能如下:In the architecture shown in Figure 1B, the interface names and functions between each network element are as follows:
1)、N7:PCF与SMF之间的接口,可以用于下发协议数据单元(protocol data unit,PDU)会话粒度以及业务数据流粒度控制策略。1) N7: The interface between PCF and SMF, which can be used to issue protocol data unit (protocol data unit, PDU) session granularity and service data flow granularity control strategy.
2)、N15:PCF与AMF之间的接口,可以用于下发UE策略及接入控制相关策略。2) N15: The interface between PCF and AMF, which can be used to issue UE policies and access control related policies.
3)、N5:AF与PCF之间的接口,可以用于应用业务请求下发以及网络事件上报。3) N5: The interface between AF and PCF, which can be used for application service request issuance and network event reporting.
4)、N4:SMF与UPF之间的接口,可以用于控制面与用户面之间传递信息,包括控制面向用户面的转发规则、QoS控制规则、流量统计规则等的下发以及用户面的信息上报。4), N4: The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the issuance of user-oriented forwarding rules, QoS control rules, traffic statistics rules, etc., and user-plane Information reported.
5)、N11:SMF与AMF之间的接口,可以用于传递RAN和UPF之间的PDU会话隧道信息、传递发送给UE的控制消息、传递发送给RAN的无线资源控制信息等。5) N11: The interface between SMF and AMF, which can be used to transfer PDU session tunnel information between RAN and UPF, transfer control messages sent to UE, and transfer radio resource control information sent to RAN.
6)、N2:AMF与RAN之间的接口,可以用于传递核心网侧至RAN的无线承载控制信息等。6) N2: The interface between AMF and RAN, which can be used to transfer radio bearer control information from the core network side to the RAN.
7)、N1:AMF与UE之间的接口,可以用于向UE传递QoS控制规则等。7) N1: The interface between the AMF and the UE, which can be used to transfer QoS control rules to the UE.
8)、N8:AMF与UDM间的接口,可以用于AMF向UDM获取接入与移动性管理相关签约数据与鉴权数据,以及AMF向UDM注册UE当前移动性管理相关信息等。8) N8: The interface between AMF and UDM, which can be used for AMF to obtain access and mobility management related subscription data and authentication data from UDM, and AMF to register UE current mobility management related information with UDM, etc.
9)、N10:SMF与UDM间的接口,可以用于SMF向UDM获取会话管理相关签约数据,以及SMF向UDM注册UE当前会话相关信息等。9) N10: The interface between SMF and UDM, which can be used for SMF to obtain session management related subscription data from UDM, and SMF to register UE current session related information with UDM, etc.
10)、N35:UDM与UDR间的接口,可以用于UDM从UDR中获取用户签约数据信息。10) N35: The interface between UDM and UDR, which can be used for UDM to obtain user subscription data information from UDR.
11)、N36:PCF与UDR间的接口,可以用于PCF从UDR中获取策略相关签约数据以及应用数据相关信息。11) N36: The interface between the PCF and the UDR, which can be used for the PCF to obtain policy-related contract data and application data-related information from the UDR.
12)、N12:AMF和AUSF间的接口,可以用于AMF向AUSF发起鉴权流程,其中可携带SUCI作为签约标识;12) N12: The interface between AMF and AUSF, which can be used for AMF to initiate an authentication process to AUSF, where SUCI can be carried as a contract identifier;
13)、N13:UDM与AUSF间的接口,可以用于AUSF向UDM获取用户鉴权向量,以执行鉴权流程。13). N13: The interface between UDM and AUSF, which can be used for AUSF to obtain user authentication vector from UDM to execute the authentication process.
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。It is understandable that the aforementioned network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform). Optionally, the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in the embodiment of the present application.
本申请中的移动性管理网元、会话管理网元、策略控制网元、应用功能网元、接入网设备、网络开放功能网元、用户面网元、网络切片选择网元分别可以是图1A或图1B中的AMF、SMF、PCF、AF、RAN、NEF、UPF、NSSF,也可以是未来通信如第六代(6th generation,6G)网络中具有上述AMF、SMF、PCF、AF、RAN、NEF、UPF、NSSF的功能的网元,本申请对此不限定。为方便说明,本申请以移动性管理网元、会话管理网元、策略控制网元、应用功能网元、接入网设备、网络开放功能网元、用户面网元、网络切片选择网元分别为上述AMF、SMF、PCF、AF、RAN、NEF、UPF、NSSF为例进行说明。进一步地,本申请中以终端设备为UE为例进行说明。The mobility management network elements, session management network elements, policy control network elements, application function network elements, access network equipment, network opening function network elements, user plane network elements, and network slice selection network elements in this application can be respectively shown in the figure. The AMF, SMF, PCF, AF, RAN, NEF, UPF, NSSF in 1A or Figure 1B can also be future communications such as the 6th generation (6G) network with the above AMF, SMF, PCF, AF, RAN , NEF, UPF, and NSSF function network elements, this application is not limited to this. For the convenience of explanation, this application uses mobility management network elements, session management network elements, policy control network elements, application function network elements, access network equipment, network open function network elements, user plane network elements, and network slice selection network elements respectively. Take the above AMF, SMF, PCF, AF, RAN, NEF, UPF, and NSSF as examples. Further, in this application, the terminal device is a UE as an example for description.
5G时代,将有数以千亿计的物联网设备接入网络,不同类型应用场景对网络的需求是差异化的,有的甚至是相互冲突的。通过单一网络同时为不同类型应用场景提供服务,会导致网络架构异常复杂、网络管理效率和资源利用效率低下。5G网络切片技术通过在同一网络基础设施上虚拟独立逻辑网络的方式为不同的应用场景提供相互隔离的网络环境,使得不同应用场景可以按照各自的需求定制网络功能和特性,能够切实保障不同业务的QoS需求。5G网络切片要实现的目标是将终端设备、接入网资源、核心网资源以及网络运维和管理系统等进行有机组合,为不同商业场景或者业务类型提供能够独立运维的、相互隔离的完整网络。In the 5G era, hundreds of billions of IoT devices will be connected to the network. Different types of application scenarios have different network requirements, and some even conflict with each other. Simultaneously providing services for different types of application scenarios through a single network will result in extremely complex network architecture and low network management efficiency and resource utilization efficiency. 5G network slicing technology provides isolated network environments for different application scenarios by virtual independent logical networks on the same network infrastructure, so that different application scenarios can customize network functions and features according to their own needs, and can effectively guarantee the performance of different services. QoS requirements. The goal of 5G network slicing is to organically combine terminal equipment, access network resources, core network resources, and network operation and maintenance and management systems, so as to provide independent operation and maintenance for different business scenarios or types of services. The internet.
多种多样的场景对3GPP生态系统提出了不同的需要:计费、策略、安全、移动性等。3GPP强调了网络切片之间不相互影响,例如突发的大量的抄表业务不应该影响正常的移动宽带业务。为了满足多样性需求和切片间的隔离,需要业务间相对独立的管理和运维,并提供量身定做的业务功能和分析能力。不同类型业务的实例部署在不同的网络切片上,相同业务类型的不同实例也可部署在不同的网络切片上。A variety of scenarios put forward different needs for the 3GPP ecosystem: billing, policy, security, mobility, etc. 3GPP emphasizes that there is no mutual influence between network slices, for example, a large number of sudden meter reading services should not affect normal mobile broadband services. In order to meet the diverse needs and isolation between slices, relatively independent management and operation and maintenance between businesses are required, and tailor-made business functions and analysis capabilities are provided. Instances of different types of services are deployed on different network slices, and different instances of the same service type can also be deployed on different network slices.
当核心网部署了网络切片,如果用户初始附着到网络时,就会触发网络切片的选择过程。网络切片的选择过程取决于用户的签约数据、本地配置信息、漫游协议、运营商的策略等等。在网络切片的选择过程中,需要综合考虑以上参数,才能为UE选择最佳的切片类型。When a network slice is deployed in the core network, if a user initially attaches to the network, the selection process of the network slice will be triggered. The selection process of the network slice depends on the user's subscription data, local configuration information, roaming agreement, operator's strategy, and so on. In the selection process of the network slice, the above parameters need to be considered comprehensively to select the best slice type for the UE.
当UE需要接入到某个网络切片时,UE可以提供请求的(Requested)NSSAI给核心网,用于核心网为UE选择网络切片实例。When the UE needs to access a certain network slice, the UE may provide a requested (Requested) NSSAI to the core network for the core network to select a network slice instance for the UE.
在5G网络中,当UE需要使用网络服务,首先需要向网络进行注册。注册流程分为如下几种场景:In a 5G network, when a UE needs to use network services, it first needs to register with the network. The registration process is divided into the following scenarios:
1)初次注册到5G网络。1) Register to the 5G network for the first time.
2)当UE移出了原来注册的区域时,进行移动性注册更新。2) When the UE moves out of the originally registered area, the mobility registration update is performed.
3)周期性注册更新。3) Periodic registration updates.
注册过程中可能会触发一个或者多个PDU会话的建立,例如在移动性注册更新的场景下,UE有上行数据需要发送,此时在注册流程中会创建该PDU会话。The registration process may trigger the establishment of one or more PDU sessions. For example, in the scenario of mobility registration update, the UE has uplink data to send. At this time, the PDU session will be created during the registration process.
当UE注册到网络中时,除了执行UE的永久标识的主鉴权流程(也称为一次鉴权流程)之外,网络可能还会根据UE请求的NSSAI以及UE的签约数据判断是否需要执行网络切片特定的鉴权和授权(Network Slice Specific Authentication and Authorization,NSSAA)流程,该流程也可以称为二次鉴权流程或网络切片的二次鉴权流程。When the UE is registered in the network, in addition to performing the primary authentication process of the permanent identity of the UE (also known as the one-time authentication process), the network may also determine whether it needs to perform the network based on the NSSAI requested by the UE and the subscription data of the UE. A slice-specific authentication and authorization (Network Slice Specific Authentication and Authorization, NSSAA) process, which may also be referred to as a secondary authentication process or a network slice secondary authentication process.
如图2所示,为NSSAA流程示意图。该流程包括以下步骤:As shown in Figure 2, it is a schematic diagram of the NSSAA process. The process includes the following steps:
步骤201,UE发起注册流程,向AMF发送注册请求(Registration Request)消息,注册请求消息中携带请求的NSSAI(Requested NSSAI)。In step 201, the UE initiates a registration process and sends a Registration Request (Registration Request) message to the AMF. The Registration Request message carries the requested NSSAI (Requested NSSAI).
步骤202,AMF执行UE的永久标识的主鉴权流程,当该流程成功之后,AMF向UDM获取UE的签约数据。其中,签约数据包括UE签约的S-NSSAI和每个S-NSSAI对应的指示信息,该指示信息用于指示该S-NSSAI是否需要执行NSSAA。其中,签约的S-NSSAI指的是UE所在的归属域网络的切片类型(HPLMN S-NSSAI)。In step 202, the AMF executes the main authentication procedure of the permanent identity of the UE. After the procedure is successful, the AMF obtains the UE's subscription data from the UDM. The subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA. Among them, the contracted S-NSSAI refers to the slice type (HPLMN S-NSSAI) of the home domain network where the UE is located.
例如UE的签约数据中的签约的S-NSSAI和指示信息如表1所示。For example, the S-NSSAI and indication information of the subscription in the subscription data of the UE are shown in Table 1.
表1Table 1
签约的S-NSSAISigned S-NSSAI 指示信息:该S-NSSAI是否需要执行NSSAAInstruction information: whether the S-NSSAI needs to execute NSSAA
S-NSSAI-1S-NSSAI-1 Yes
S-NSSAI-2S-NSSAI-2 no
S-NSSAI-3S-NSSAI-3 no
步骤203,AMF判断是否需要执行NSSAA流程。In step 203, the AMF determines whether the NSSAA process needs to be executed.
需要注意的是,本发明中,AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA可以有两种含义:It should be noted that in the present invention, the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA can have two meanings:
第一种:请求的NSSAI中的某个S-NSSAI属于签约的S-NSSAI,且该签约的S-NSSAI需要执行NSSAA,那么AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA。The first type: a certain S-NSSAI in the requested NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
具体地,AMF根据UE的签约数据,判断需要执行NSSAA流程的S-NSSAI是否包含在Requested NSSAI中,如果包含,则AMF确定UE在本次注册流程之后需要执行NSSAA流程。即,可以理解为,Requested NSSAI中包含的都是归属域网络的切片类型(HPLMN S-NSSAI)。Specifically, the AMF determines whether the S-NSSAI that needs to perform the NSSAA process is included in the Requested NSSAI according to the UE's subscription data. If it is included, the AMF determines that the UE needs to perform the NSSAA process after this registration process. That is, it can be understood that the requested NSSAI includes the slice type (HPLMN S-NSSAI) of the home domain network.
举例1:例如UE携带的Requested NSSAI为S-NSSAI-1和S-NSSAI-2,其中S-NSSAI-1需要执行NSSAA流程,S-NSSAI-2不需要执行NSSAA流程。Example 1: For example, the Requested NSSAI carried by the UE is S-NSSAI-1 and S-NSSAI-2, where S-NSSAI-1 needs to execute the NSSAA process, and S-NSSAI-2 does not need to execute the NSSAA process.
第二种:请求的NSSAI中的某个S-NSSAI可以映射为签约的S-NSSAI,且该签约的S-NSSAI需要执行NSSAA,那么AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA。The second type: a certain S-NSSAI in the requested NSSAI can be mapped to a contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
具体地,AMF根据UE的签约数据,判断Requested NSSAI中包含的某个S-NSSAI可以映射到HPLMN S-NSSAI,且该HPLMN S-NSSAI需要执行NSSAA流程,则AMF确定UE在本次注册流程之后需要执行NSSAA流程。Specifically, according to the UE’s subscription data, AMF determines that a certain S-NSSAI included in the Requested NSSAI can be mapped to HPLMN S-NSSAI, and the HPLMN S-NSSAI needs to perform the NSSAA process, then the AMF determines that the UE is after this registration process The NSSAA process needs to be performed.
举例2:例如UE携带的Requested NSSAI为S-NSSAI-A和S-NSSAI-B,其中S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,且S-NSSAI-1需要执行NSSAA流程,S-NSSAI-2不需要执行NSSAA流程。则AMF确定UE在本次注册流程之后需要对S-NSSAI-1执行NSSAA流程。Example 2: For example, the Requested NSSAI carried by the UE is S-NSSAI-A and S-NSSAI-B, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, and S-NSSAI-1 needs to execute the NSSAA process, and S-NSSAI-2 does not need to execute the NSSAA process. Then the AMF determines that the UE needs to perform the NSSAA procedure on the S-NSSAI-1 after this registration procedure.
步骤204,AMF向UE发送的注册接受(Registration Accept)消息,携带允许的NSSAI(Allowed NSSAI)、待定的NSSAI(Pending NSSAI)以及待定原因值。Step 204: The Registration Accept message sent by the AMF to the UE carries the allowed NSSAI (Allowed NSSAI), the pending NSSAI (Pending NSSAI), and the pending reason value.
其中,Allowed NSSAI只包含不需要进行NSSAA的S-NSSAI,Pending NSSAI包含需要进行NSSAA的S-NSSAI,待定原因值为等待NSSAA。该原因值用来指示UE:那些需要进行NSSAA的S-NSSAI是待定(pending)状态。Among them, Allowed NSSAI only includes S-NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI that requires NSSAA, and the pending reason value is waiting for NSSAA. The cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
针对前面的例子中的举例1,Allowed NSSAI=S-NSSAI-2,Pending NSSAI=S-NSSAI-1,待定原因值:等待NSSAA。针对前面的例子中的举例2,Allowed NSSAI=S-NSSAI-B, Pending NSSAI=S-NSSAI-A,原因值:等待NSSAA。For example 1 in the previous example, Allowed NSSAI=S-NSSAI-2, Pending NSSAI=S-NSSAI-1, the reason value to be determined: waiting for NSSAA. For example 2 in the previous example, Allowed NSSAI=S-NSSAI-B, Pending NSSAI=S-NSSAI-A, reason value: waiting for NSSAA.
需要说明的是,Pending NSSAI也可以称为挂起的NSSAI。本申请实施例以Pending NSSAI称为待定的NSSAI为例进行说明。It should be noted that Pending NSSAI can also be called pending NSSAI. The embodiment of the present application takes Pending NSSAI referred to as pending NSSAI as an example for description.
步骤205,在注册接受消息发送之后,AMF对待定的S-NSSAI执行NSSAA流程。Step 205: After the registration acceptance message is sent, the AMF executes the NSSAA procedure for the pending S-NSSAI.
需要注意的是,本发明中,AMF对待定的NSSAI中的S-NSSAI执行NSSAA可以有两种含义:It should be noted that, in the present invention, AMF can have two meanings for executing NSSAA on the S-NSSAI in the pending NSSAI:
第一种:待定的NSSAI中的某个S-NSSAI属于签约的S-NSSAI,且该签约的S-NSSAI需要执行NSSAA,那么AMF对该S-NSSAI执行NSSAA。The first type: a certain S-NSSAI in the pending NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the AMF performs NSSAA on the S-NSSAI.
例如,接着上述示例中的举例1,Pending NSSAI=S-NSSAI-1,由于S-NSSAI-1是HPLMN S-NSSAI,则AMF对S-NSSAI-1执行NSSAA流程。For example, following the example 1 in the above example, Pending NSSAI=S-NSSAI-1, since S-NSSAI-1 is HPLMN S-NSSAI, AMF performs the NSSAA process on S-NSSAI-1.
第二种:待定的NSSAI中的某个S-NSSAI与签约的S-NSSAI映射,且该签约的S-NSSAI需要执行NSSAA,那么AMF对该签约的S-NSSAI执行NSSAA。The second type: a certain S-NSSAI in the pending NSSAI is mapped to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the AMF performs NSSAA for the contracted S-NSSAI.
接着上述示例中的举例2,Pending NSSAI=S-NSSAI-A,由于S-NSSAI-A与S-NSSAI-1映射,则AMF对S-NSSAI-1执行NSSAA流程。Following example 2 in the above example, Pending NSSAI=S-NSSAI-A, since S-NSSAI-A is mapped to S-NSSAI-1, AMF performs the NSSAA process on S-NSSAI-1.
该步骤205为可选步骤,当有需要执行NSSAA流程的S-NSSAI存在时,则执行步骤205。否则不执行步骤205。This step 205 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 205 is executed. Otherwise, step 205 is not executed.
需要注意的是,如果需要执行NSSAA流程的S-NSSAI存在多个,步骤205可以多次执行。It should be noted that if there are multiple S-NSSAIs that need to execute the NSSAA process, step 205 can be executed multiple times.
步骤206,当NSSAA流程执行完成之后,AMF根据该流程的结果判断是否需要更新UE的Allowed NSSAI,如果需要,则在配置更新流程中向UE发送新的Allowed NSSAI(new Allowed NSSAI)。Step 206: After the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process, and if necessary, sends a new Allowed NSSAI (new Allowed NSSAI) to the UE in the configuration update process.
如果NSSAA流程执行成功,该S-NSSAI会添加到步骤204的Allowed NSSAI中,生成new Allowed NSSAI。如果NSSAA流程执行失败,则AMF无需更新UE的Allowed NSSAI。If the NSSAA process is executed successfully, the S-NSSAI will be added to the Allowed NSSAI in step 204 to generate a new Allowed NSSAI. If the execution of the NSSAA procedure fails, the AMF does not need to update the Allowed NSSAI of the UE.
针对前面的例子中的举例1,如果S-NSSAI-1的NSSAA执行成功,AMF向UE发送new Allowed NSSAI,其中new Allowed NSSAI包括S-NSSAI-1和S-NSSAI-2,如果鉴权失败,AMF不会向UE更新Allowed NSSAI。针对前面的例子中的举例2,如果S-NSSAI-1的NSSAA执行成功,AMF向UE发送new Allowed NSSAI,其中new Allowed NSSAI包括S-NSSAI-A和S-NSSAI-B,如果鉴权失败,AMF不会向UE更新Allowed NSSAI。For example 1 in the previous example, if the NSSAA of S-NSSAI-1 is successfully executed, AMF sends new Allowed NSSAI to the UE, where new Allowed NSSAI includes S-NSSAI-1 and S-NSSAI-2. If the authentication fails, AMF will not update the Allowed NSSAI to the UE. For example 2 in the previous example, if the NSSAA of S-NSSAI-1 is executed successfully, AMF sends new Allowed NSSAI to the UE, where new Allowed NSSAI includes S-NSSAI-A and S-NSSAI-B, if authentication fails, AMF will not update the Allowed NSSAI to the UE.
该步骤206为可选步骤,当执行上述步骤205且需要更新UE的Allowed NSSAI时,执行步骤206。This step 206 is an optional step. When the above step 205 is performed and the Allowed NSSAI of the UE needs to be updated, step 206 is performed.
通过上述实施例,可以实现在UE的注册流程之后,如有需要,可对S-NSSAI执行NSSAA流程,并更新UE的Allowed NSSAI。Through the above-mentioned embodiments, after the UE registration procedure, if necessary, the NSSAA procedure can be performed on the S-NSSAI, and the Allowed NSSAI of the UE can be updated.
当UE发起注册流程接入5G网络时,AMF和SMF分别发起PCF发现和选择流程,选定PCF后,再发起接入与移动性(Access and Mobility,AM)策略关联建立和会话管理(Session Management,SM)策略关联建立流程,获取相应的策略(含策略计费控制(Policy and Charging Control,PCC)规则)及策略事件上报触发器(也称为策略控制请求触发器(Policy Control Request Triggers)),并部署执行策略。SMF在收到SM策略后进行QoS映射并将相应的QoS信息下发给UPF、RAN和UE,从而进行端到端的QoS控制。在UE使用业务的过程中,当满足相应的触发器条件时(如UE签约信息更改或UE接入位置改 变),PCF或AMF可发起AM策略关联更新流程,PCF或SMF可发起SM策略关联更新流程,从而更新相应策略。当PCF检测到UE签约信息删除、UE从网络去注册或满足其他相应的触发器条件时,PCF或AMF可发起AM策略关联释放流程,PCF或SMF可发起SM策略关联释放流程。When the UE initiates the registration process to access the 5G network, the AMF and SMF initiate the PCF discovery and selection process respectively. After the PCF is selected, it initiates access and mobility (Access and Mobility, AM) policy association establishment and session management (Session Management) , SM) policy association establishment process, obtain corresponding policies (including Policy and Charging Control (PCC) rules) and policy event reporting triggers (also known as policy control request triggers (Policy Control Request Triggers)) , And deploy execution strategies. After receiving the SM policy, the SMF performs QoS mapping and sends the corresponding QoS information to the UPF, RAN and UE, thereby performing end-to-end QoS control. When the UE uses the service, when the corresponding trigger conditions are met (such as the UE subscription information changes or the UE access location changes), the PCF or AMF can initiate the AM policy association update process, and the PCF or SMF can initiate the SM policy association update Process to update the corresponding strategy. When the PCF detects that the UE's subscription information is deleted, the UE is registered from the network, or other corresponding trigger conditions are met, the PCF or AMF can initiate the AM policy association release process, and the PCF or SMF can initiate the SM policy association release process.
现有技术中,在UE的注册流程中,如果AMF决定与PCF建立策略关联,例如当AMF还没有获取到UE的AM策略或者AMF没有合法的AM策略,AMF会选择PCF。如果AMF从旧的AMF中获取了PCF的标识(PCF ID),则可以直接定位到PCF。如果定位不到或者没有获取到PCF ID,则AMF会选择一个新的PCF。该过程中,AMF选择PCF所使用的参数有签约永久标识(Subscription Permanent Identifier,SUPI)、允许的NSSAI(Allowed NSSAI)等等。In the prior art, in the registration process of the UE, if the AMF decides to establish a policy association with the PCF, for example, when the AMF has not obtained the AM policy of the UE or the AMF does not have a legal AM policy, the AMF will select the PCF. If the AMF obtains the PCF ID (PCF ID) from the old AMF, it can directly locate the PCF. If the PCF ID cannot be located or the PCF ID is not obtained, the AMF will select a new PCF. In this process, the parameters used by the AMF to select the PCF include the subscription permanent identifier (SUPI), allowed NSSAI (Allowed NSSAI), and so on.
AMF选择好PCF之后,发起AM策略关联建立流程,以向PCF请求获取AM策略,同时,PCF向AMF返回策略控制请求触发器(Policy Control Request Triggers),当AMF后续判断Policy Control Request Triggers满足的时候,需要向PCF请求刷新AM策略。其中,Policy Control Request Triggers包含的触发事件包括但不限于以下几种:UE的跟踪区域发生改变、UE进入/离开所在报告位置区(presence reporting area,PRA)、UE的允许的NSSAI(Allowed NSSAI)发生改变、UE的公共陆地移动网络(public land mobile network,PLMN)发生改变。After the AMF selects the PCF, it initiates the AM policy association establishment process to request the PCF to obtain the AM policy. At the same time, the PCF returns the Policy Control Request Triggers to the AMF. When the AMF subsequently determines that the Policy Control Request Triggers is satisfied , Need to request the PCF to refresh the AM policy. Among them, the trigger events included in Policy Control Request Triggers include but are not limited to the following: the tracking area of the UE changes, the UE enters/leaves the presence reporting area (PRA), and the UE's allowed NSSAI (Allowed NSSAI) When the change occurs, the public land mobile network (PLMN) of the UE changes.
这里需要注意的是,根据Policy Control Request Triggers,当UE的Allowed NSSAI发生改变,AMF判断需要向PCF获取新的AM策略,则AMF发起AM策略关联更新流程,从而更新相应策略。It should be noted here that according to Policy Control Request Triggers, when the Allowed NSSAI of the UE changes, and the AMF determines that it needs to obtain a new AM policy from the PCF, the AMF initiates the AM policy association update process to update the corresponding policy.
结合AMF选择PCF的过程,则上述图2所示的流程存在如下问题:Combined with the process of AMF selecting PCF, the process shown in Figure 2 above has the following problems:
问题1,注册流程中,如果AMF判断出需要对Requested NSSAI中的某些S-NSSAI执行NSSAA流程,按照现有技术,AMF需要根据NSSAA流程之前的UE的Allowed NSSAI选择PCF并获取AM策略。但是在注册流程中,由于某些S-NSSAI需要执行NSSAA流程,此时UE的Allowed NSSAI是暂时性的,不是最终的Allowed NSSAI,如果AMF在注册流程中根据UE的暂时性的Allowed NSSAI选择PCF,很可能当NSSAA流程成功结束(UE的Allowed NSSAI刷新,得到new Allowed NSSAI),NSSAA流程之前选的PCF不支持new Allowed NSSAI的话,会导致PCF重选。或者理解为,在注册流程中AMF选择了一个PCF,在NSSAA流程结束后,AMF需要根据new Allowed NSSAI重新选择一个PCF,也即发生PCF重选。Question 1. During the registration process, if the AMF determines that it needs to perform the NSSAA process on some S-NSSAI in the Requested NSSAI, according to the prior art, the AMF needs to select the PCF and obtain the AM policy based on the Allowed NSSAI of the UE before the NSSAA process. However, in the registration process, because some S-NSSAIs need to perform the NSSAA process, the Allowed NSSAI of the UE at this time is temporary, not the final Allowed NSSAI. If the AMF selects the PCF according to the temporary Allowed NSSAI of the UE during the registration process , It is very likely that when the NSSAA process is successfully completed (the UE’s Allowed NSSAI is refreshed and new Allowed NSSAI is obtained), the PCF previously selected in the NSSAA process does not support the new Allowed NSSAI, it will cause the PCF to be reselected. Or it can be understood that AMF selected a PCF during the registration process. After the NSSAA process ends, AMF needs to reselect a PCF according to new Allowed NSSAI, that is, PCF reselection occurs.
问题2,NSSAA流程结束后,若Allowed NSSAI刷新,则AMF需要基于new Allowed NSSAI向PCF更新AM策略,导致策略频繁刷新。Question 2: After the NSSAA process ends, if the Allowed NSSAI is refreshed, the AMF needs to update the AM policy to the PCF based on the new Allowed NSSAI, which results in frequent refresh of the policy.
问题3,NSSAA流程结束后,如果当前的服务AMF不支持new Allowed NSSAI,则需要进行AMF relocation(AMF重选),然而new AMF并不知道是因为UE的Allowed NSSAI发生更新导致的AMF relocation,那么,new AMF如何知道需要为UE获取new policy for new Allowed NSSAI?Question 3: After the NSSAA process ends, if the current service AMF does not support new Allowed NSSAI, AMF relocation (AMF reselection) is required, but new AMF does not know that it is due to the AMF relocation caused by the UE's Allowed NSSAI update, then , How does new AMF know that it needs to obtain new policy for new Allowed NSSAI for UE?
为解决上述问题,本申请结合图3A至图3C,以及图4至图9所示的实施例进行说明。In order to solve the above-mentioned problems, the present application is described with reference to the embodiments shown in FIGS. 3A to 3C and FIGS. 4 to 9.
以下实施例中,图3A、图4和图5对应的实施例采用的方案概述如下:NSSAA流程 之前AMF不选择PCF,等NSSAA流程结束后,AMF根据UE的最终的Allowed NSSAI(即new Allowed NSSAI)选择合适的PCF并获取策略信息,从而可以避免PCF重选和策略频繁刷新的问题。也即,图3A、图4和图5对应的实施例可以解决上述问题1和问题2。进一步的,图3A对应的实施例为方案的概述,包括AMF不发生改变的场景和AMF发生改变的场景。图4和图5对应的实施例为具体示例。图4对应的实施例适用AMF不发生改变的场景,也即,AMF既支持Allowed NSSAI,也支持new Allowed NSSAI。图5对应的实施例适用AMF发生改变的场景,也即,old AMF支持Allowed NSSAI,但不支持new Allowed NSSAI,new AMF支持new Allowed NSSAI。In the following embodiments, the schemes adopted in the embodiments corresponding to Figs. 3A, 4, and 5 are summarized as follows: AMF does not select PCF before the NSSAA process, and after the NSSAA process ends, AMF according to the UE’s final Allowed NSSAI (ie new Allowed NSSAI) ) Select a suitable PCF and obtain policy information, so that the problems of PCF reselection and frequent refresh of the policy can be avoided. That is, the embodiments corresponding to FIG. 3A, FIG. 4, and FIG. 5 can solve the above-mentioned problem 1 and problem 2. Further, the embodiment corresponding to FIG. 3A is an overview of the solution, including a scene where the AMF does not change and a scene where the AMF changes. The embodiments corresponding to FIG. 4 and FIG. 5 are specific examples. The embodiment corresponding to FIG. 4 is applicable to a scenario where AMF does not change, that is, AMF supports both Allowed NSSAI and new Allowed NSSAI. The embodiment corresponding to FIG. 5 is applicable to a scenario where AMF changes, that is, old AMF supports Allowed NSSAI but does not support new Allowed NSSAI, and new AMF supports new Allowed NSSAI.
以下实施例中,图3B、图6和图7对应的实施例采用的方案概述如下:使用Allowed NSSAI和Pending NSSAI选择PCF,或者使用签约的NSSAI选择PCF,如此,若NSSAA成功导致Allowed NSSAI更新为new Allowed NSSAI,则该PCF也支持new Allowed NSSAI,从而可以避免PCF重选。也即,图3B、图6和图7对应的实施例可以解决上述问题1。进一步的,图3B对应的实施例为方案的概述,包括AMF不发生改变的场景和AMF发生改变的场景。图6和图7对应的实施例为具体示例。图6对应的实施例适用AMF不发生改变的场景,也即,AMF既支持Allowed NSSAI,也支持new Allowed NSSAI。图7对应的实施例适用AMF发生改变的场景,也即,old AMF支持Allowed NSSAI,但不支持new Allowed NSSAI,new AMF支持new Allowed NSSAI。In the following embodiments, the solutions adopted in the embodiments corresponding to Figures 3B, 6 and 7 are summarized as follows: Use Allowed NSSAI and Pending NSSAI to select PCF, or use contracted NSSAI to select PCF, so if NSSAA succeeds, the Allowed NSSAI is updated to new Allowed NSSAI, the PCF also supports new Allowed NSSAI, so that PCF reselection can be avoided. That is, the embodiments corresponding to FIG. 3B, FIG. 6 and FIG. 7 can solve the above-mentioned problem 1. Further, the embodiment corresponding to FIG. 3B is an overview of the solution, including a scene where the AMF does not change and a scene where the AMF changes. The embodiments corresponding to FIG. 6 and FIG. 7 are specific examples. The embodiment corresponding to FIG. 6 is applicable to a scenario where AMF does not change, that is, AMF supports both Allowed NSSAI and new Allowed NSSAI. The embodiment corresponding to FIG. 7 is applicable to a scenario where AMF changes, that is, old AMF supports Allowed NSSAI but does not support new Allowed NSSAI, and new AMF supports new Allowed NSSAI.
以下实施例中,图3C和图8对应的实施例采用的方案概述如下:仍然按照现有技术的方法选择PCF,也即在NSSAA流程之前使用Allowed NSSAI选择PCF,并且针对的场景是:该PCF也支持NSSAA流程之后得到的new Allowed NSSAI,也即PCF不改变,并且,AMF发生改变,也即,old AMF支持Allowed NSSAI,但不支持new Allowed NSSAI,new AMF支持new Allowed NSSAI。并且,由old AMF在注册流程中根据Allowed NSSAI从PCF获取到AM策略并发送至UE,以及由old AMF在NSSAA流程后根据new Allowed NSSAI从PCF获取到更新的AM策略并存储在UE的上下文中,从而new AMF在从old AMF获取UE的上下文时,可以顺便获取到更新的AM策略,并由new AMF将更新的AM策略发送至UE。其中,图3C对应的实施例为方案的概述,图8对应的实施例为具体示例。因此,图3C和图8对应的实施例可以解决上述问题3。In the following embodiments, the solutions adopted in the embodiments corresponding to FIG. 3C and FIG. 8 are summarized as follows: the PCF is still selected according to the method of the prior art, that is, the Allowed NSSAI is used to select the PCF before the NSSAA process, and the target scenario is: the PCF It also supports the new Allowed NSSAI obtained after the NSSAA process, that is, the PCF does not change and the AMF changes, that is, old AMF supports Allowed NSSAI, but does not support new Allowed NSSAI, and new AMF supports new Allowed NSSAI. In addition, the old AMF obtains the AM policy from the PCF according to the Allowed NSSAI during the registration process and sends it to the UE, and the old AMF obtains the updated AM policy from the PCF according to the new Allowed NSSAI after the NSSAA process and stores it in the context of the UE. Therefore, when the new AMF obtains the UE context from the old AMF, it can obtain the updated AM policy by the way, and the new AMF sends the updated AM policy to the UE. Among them, the embodiment corresponding to FIG. 3C is an overview of the solution, and the embodiment corresponding to FIG. 8 is a specific example. Therefore, the embodiment corresponding to FIG. 3C and FIG. 8 can solve the above-mentioned problem 3.
以下实施例中,图3D和图9对应的实施例采用的方案概述如下:仍然按照现有技术的方法选择PCF,也即在NSSAA流程之前使用Allowed NSSAI选择PCF,并且针对的场景是:该PCF也支持NSSAA流程之后得到的new Allowed NSSAI,也即PCF不改变,并且,AMF发生改变,也即,old AMF支持Allowed NSSAI,但不支持new Allowed NSSAI,new AMF支持new Allowed NSSAI。并且,由old AMF在注册流程中根据Allowed NSSAI从PCF获取到AM策略并发送至UE,以及由old AMF在NSSAA流程后根据new Allowed NSSAI生成一个指示信息并将该指示信息存储在UE的上下文中,该指示信息用于触发new AMF从PCF获取更新的AM策略,从而new AMF在从old AMF获取UE的上下文时,可以根据UE的上下文中的指示信息从PCF获取更新的AM策略,并由new AMF将更新的AM策略发送至UE。其中,图3D对应的实施例为方案的概述,图9对应的实施例为具体 示例。因此,图3D和图8对应的实施例可以解决上述问题3。In the following embodiments, the solutions adopted in the embodiments corresponding to FIG. 3D and FIG. 9 are summarized as follows: PCF is still selected according to the method of the prior art, that is, Allowed NSSAI is used to select PCF before the NSSAA process, and the target scenario is: the PCF It also supports the new Allowed NSSAI obtained after the NSSAA process, that is, the PCF does not change and the AMF changes, that is, old AMF supports Allowed NSSAI, but does not support new Allowed NSSAI, and new AMF supports new Allowed NSSAI. In addition, the old AMF obtains the AM policy from the PCF according to the Allowed NSSAI during the registration process and sends it to the UE, and the old AMF generates an indication message according to the new Allowed NSSAI after the NSSAA process and stores the indication information in the context of the UE. , The indication information is used to trigger the new AMF to obtain the updated AM policy from the PCF, so when the new AMF obtains the UE context from the old AMF, it can obtain the updated AM policy from the PCF according to the indication information in the UE context, and the new The AMF sends the updated AM policy to the UE. Among them, the embodiment corresponding to Fig. 3D is an overview of the solution, and the embodiment corresponding to Fig. 9 is a specific example. Therefore, the embodiment corresponding to FIG. 3D and FIG. 8 can solve the above-mentioned problem 3.
需要注意的是,本申请实施例中的Allowed NSSAI指的是NSSAA流程之前,AMF确定的允许UE接入的切片集合,new Allowed NSSAI指的是NSSAA流程之后,AMF确定的允许UE接入的切片集合,在此统一说明。It should be noted that the Allowed NSSAI in the embodiments of this application refers to the set of slices that the AMF determines to allow UE access before the NSSAA process, and the new Allowed NSSAI refers to the slices that the AMF determines to allow UE access after the NSSAA process. Collection, unified description here.
需要说明的是,本申请实施例中,网络切片也可以称为切片,二者具有相同含义。对S-NSSAI执行NSSAA的含义为对该S-NSSAI对应的网络切片执行NSSAA。这里统一说明,后续不再赘述。It should be noted that, in the embodiment of the present application, the network slice may also be referred to as a slice, and the two have the same meaning. Performing NSSAA on the S-NSSAI means performing NSSAA on the network slice corresponding to the S-NSSAI. Here is a unified description, and will not be repeated in the follow-up.
基于图1A或图1B所示的网络架构,如图3A所示,本申请提供一种通信方法。该方法包括以下步骤:Based on the network architecture shown in FIG. 1A or FIG. 1B, as shown in FIG. 3A, the present application provides a communication method. The method includes the following steps:
步骤301a,在第一切片执行切片鉴权之后,第一AMF确定允许的NSSAI,允许的NSSAI包括允许UE接入的切片的标识信息,第一切片为UE请求接入的切片中需要执行切片鉴权的切片。Step 301a: After the slice authentication is performed on the first slice, the first AMF determines the allowed NSSAI. The allowed NSSAI includes the identification information of the slice that the UE is allowed to access. The first slice is the slice that the UE requests to access. Slice for slice authentication.
这里的第一切片指的是UE发送的请求的NSSAI中的需要执行切片鉴权的切片。第一切片可以是一个或多个切片。The first slice here refers to the slice that needs to perform slice authentication in the requested NSSAI sent by the UE. The first slice may be one or more slices.
其中,允许的NSSAI包含请求的NSSAI中执行切片鉴权成功后的切片的标识信息。例如,当第一切片执行切片鉴权成功,则允许的NSSAI包括第一切片的标识信息。当第一切片执行切片鉴权失败,则允许的NSSAI不包括第一切片的标识信息。Wherein, the allowed NSSAI includes the identification information of the slice in the requested NSSAI after the slice authentication is successfully performed. For example, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice. When the first slice fails to perform slice authentication, the allowed NSSAI does not include the identification information of the first slice.
例如,这里的允许的NSSAI可以是指上述new Allowed NSSAI。因此,如果第一切片执行切片鉴权成功,则第一AMF可以将第一切片的标识信息加入到之前确定的allowed NSSAI得到new allowed NSSAI。For example, the allowed NSSAI here may refer to the aforementioned new Allowed NSSAI. Therefore, if the first slice performs slice authentication successfully, the first AMF may add the identification information of the first slice to the previously determined allowed NSSAI to obtain the new allowed NSSAI.
可选的,允许的NSSAI还包含请求的NSSAI中的不需要执行切片鉴权的切片的标识信息。Optionally, the allowed NSSAI also contains the identification information of the slices in the requested NSSAI that do not need to perform slice authentication.
需要说明的是,在AMF发生改变的场景中,这里的第一AMF指的是改变后的AMF,即新的AMF。第一AMF服务允许的NSSAI对应的切片。It should be noted that in the scenario where the AMF changes, the first AMF here refers to the changed AMF, that is, the new AMF. The slice corresponding to the NSSAI allowed by the first AMF service.
在第一切片执行切片鉴权之前,在UE的注册流程中没有为UE选择一个PCF。Before the slice authentication is performed on the first slice, no PCF is selected for the UE in the registration procedure of the UE.
步骤302a,第一AMF根据允许的NSSAI,选择PCF。Step 302a, the first AMF selects a PCF based on the allowed NSSAI.
可以看出,第一AMF选择PCF的操作是在第一切片执行切片鉴权之后执行的。It can be seen that the operation of the first AMF to select the PCF is performed after the first slice performs slice authentication.
可选的,步骤302a之后,还可以包括以下步骤:Optionally, after step 302a, the following steps may be further included:
步骤303a,第一AMF从PCF获取与允许的NSSAI关联的第一策略。Step 303a, the first AMF obtains the first policy associated with the allowed NSSAI from the PCF.
也即,第一AMF向PCF发送请求消息,其中包含允许的NSSAI,然后PCF根据允许的NSSAI确定第一策略,并发送给第一AMF。That is, the first AMF sends a request message to the PCF, which contains the allowed NSSAI, and then the PCF determines the first policy according to the allowed NSSAI and sends it to the first AMF.
作为一种实现方法,在AMF不发生改变的场景中,在第一切片执行切片鉴权之前,第一AMF在注册流程中接收来自UE的请求的NSSAI,第一AMF确定请求接入的切片中的第一切片需要执行切片鉴权,则确定在注册流程中不选择PCF。As an implementation method, in a scenario where the AMF does not change, before the first slice performs slice authentication, the first AMF receives the requested NSSAI from the UE during the registration process, and the first AMF determines the slice to be accessed. If the first slice in, needs to perform slice authentication, it is determined not to select PCF in the registration process.
作为一种实现方法,在AMF发生改变的场景中,改变前的AMF(可以成为第二AMF)没有为UE选择PCF,因此不会在UE的上下文中设置PCF的信息(如PCF的标识信息)。因此,上述步骤302a中,第一AMF选择PCF的过程为:第一AMF从第二AMF获取UE 的上下文,UE的上下文中不包括PCF的信息,则第一AMF根据UE的上下文和允许的NSSAI,选择PCF。也即,当第一AMF确定UE的上下文中不包含PCF的信息,则根据允许的NSSAI选择一个PCF。As an implementation method, in the scenario where the AMF changes, the AMF before the change (which can become the second AMF) does not select the PCF for the UE, so the PCF information (such as the identification information of the PCF) will not be set in the context of the UE. . Therefore, in the above step 302a, the process for the first AMF to select the PCF is: the first AMF obtains the UE context from the second AMF, and the UE context does not include PCF information, then the first AMF according to the UE context and the allowed NSSAI , Select PCF. That is, when the first AMF determines that the context of the UE does not contain PCF information, it selects a PCF according to the allowed NSSAI.
基于上述方案,在执行切片鉴权流程之前,不选择PCF,在执行切片鉴权流程之后,AMF根据最终的UE的NSSAI选择PCF,从而可以避免发生切片鉴权流程之前选择的PCF不支持切片鉴权流程之后的切片,导致PCF重选的问题。进一步的,还可以避免发生重选策略的问题。Based on the above solution, the PCF is not selected before the slice authentication process is performed. After the slice authentication process is performed, the AMF selects the PCF based on the final NSSAI of the UE, so as to avoid the occurrence of the slice authentication process before the selected PCF does not support slice authentication. The slicing after the right process leads to the problem of PCF reselection. Furthermore, the problem of reselection strategy can also be avoided.
综上,基于上述图3A对应的实施例,公开了以下技术方案:In summary, based on the embodiment corresponding to FIG. 3A, the following technical solutions are disclosed:
在第一切片执行切片鉴权之后,第一移动性管理网元确定允许的网络切片选择辅助信息NSSAI,允许的NSSAI包括允许终端设备接入的切片的标识信息,第一切片为终端设备请求接入的切片中需要执行切片鉴权的切片;第一移动性管理网元根据允许的NSSAI,选择策略控制网元;其中,第一移动性管理网元服务允许的NSSAI对应的切片。After the first slice performs slice authentication, the first mobility management network element determines the allowed network slice selection auxiliary information NSSAI. The allowed NSSAI includes the identification information of the slice that the terminal device is allowed to access, and the first slice is the terminal device Among the slices for which access is requested, the slice for performing slice authentication is required; the first mobility management network element selects a policy control network element according to the allowed NSSAI; wherein, the first mobility management network element serves the slice corresponding to the allowed NSSAI.
在一种可能的实现方法中,第一移动性管理网元从策略控制网元获取与允许的NSSAI关联的第一策略。In a possible implementation method, the first mobility management network element obtains the first policy associated with the allowed NSSAI from the policy control network element.
在一种可能的实现方法中,在第一切片执行切片鉴权之前,第一移动性管理网元在注册流程中接收来自终端设备的请求的NSSAI,请求的NSSAI包括终端设备请求接入的切片的标识信息;第一移动性管理网元确定请求接入的切片中的第一切片需要执行切片鉴权,则确定在注册流程中不选择策略控制网元。In a possible implementation method, before the first slice performs slice authentication, the first mobility management network element receives the requested NSSAI from the terminal device in the registration process, and the requested NSSAI includes the terminal device requests to access the NSSAI. The identification information of the slice; the first mobility management network element determines that the first slice in the slice requested for access needs to perform slice authentication, and then determines that the policy control network element is not selected in the registration process.
在一种可能的实现方法中,第一移动性管理网元根据允许的NSSAI,选择策略控制网元,包括:第一移动性管理网元从第二移动性管理网元获取终端设备的上下文,终端设备的上下文中不包括策略控制网元的信息,第二移动性管理网元为在注册流程中,从终端设备接收请求的NSSAI的网元,请求的NSSAI包括终端设备请求接入的切片的标识信息;第一移动性管理网元根据终端设备的上下文和允许的NSSAI,选择策略控制网元。In a possible implementation method, the first mobility management network element selects the policy control network element according to the allowed NSSAI, including: the first mobility management network element obtains the context of the terminal device from the second mobility management network element, The context of the terminal device does not include the information of the policy control network element. The second mobility management network element is the network element that receives the requested NSSAI from the terminal device during the registration process, and the requested NSSAI includes the slice that the terminal device requests to access. Identification information; the first mobility management network element selects a policy control network element according to the context of the terminal device and the allowed NSSAI.
在一种可能的实现方法中,当第一切片执行切片鉴权成功,允许的NSSAI包括第一切片的标识信息;或者,当第一切片执行切片鉴权失败,允许的NSSAI不包括第一切片的标识信息。In a possible implementation method, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
基于图1A或图1B所示的网络架构,如图3B所示,本申请提供又一种通信方法。该方法包括以下步骤:Based on the network architecture shown in FIG. 1A or FIG. 1B, as shown in FIG. 3B, the present application provides yet another communication method. The method includes the following steps:
步骤301b,第一AMF确定第一NSSAI,第一NSSAI包括第一允许的NSSAI和待定的NSSAI,或者第一NSSAI包括UE的签约的NSSAI,待定的NSSAI包括UE请求接入的切片中的需要执行切片鉴权的切片的标识信息。Step 301b, the first AMF determines the first NSSAI, the first NSSAI includes the first allowed NSSAI and the pending NSSAI, or the first NSSAI includes the NSSAI subscribed by the UE, and the pending NSSAI includes the required execution in the slice that the UE requests to access The identification information of the slice for slice authentication.
其中,该步骤是在待定的NSSAI对应的切片执行切片鉴权之前执行的。Wherein, this step is executed before slice authentication is performed on the slice corresponding to the pending NSSAI.
需要说明的是,在AMF发生改变的场景中,这里的第一AMF指的是改变前的AMF,即旧的AMF。It should be noted that in the scenario where the AMF changes, the first AMF here refers to the AMF before the change, that is, the old AMF.
这里的第一允许的NSSAI指的是注册流程中确定的允许的NSSAI。The first allowed NSSAI here refers to the allowed NSSAI determined in the registration process.
步骤302b,第一AMF根据第一NSSAI,选择PCF。Step 302b, the first AMF selects a PCF according to the first NSSAI.
例如,上述方案可以在UE的注册流程中执行的。For example, the above solution can be executed in the registration procedure of the UE.
基于上述方案,第一AMF是根据允许的NSSAI和待定的NSSAI选择PCF,或者是 根据UE的签约的NSSAI选择PCF,从而即使后续允许的NSSAI发生改变,新的允许的NSSAI也是从允许的NSSAI和待定的NSSAI中确定出来的,或者,从UE的签约的NSSAI中确定出来的,则该PCF也仍然支持新的允许的NSSAI,从而不需要再重新选择PCF,也即不会触发PCF的重选。因而可以节约资源开销。Based on the above solution, the first AMF selects the PCF based on the allowed NSSAI and pending NSSAI, or selects the PCF based on the UE’s contracted NSSAI, so that even if the subsequent allowed NSSAI changes, the new allowed NSSAI will be changed from the allowed NSSAI and NSSAI. Determined from the pending NSSAI, or determined from the NSSAI subscribed by the UE, the PCF still supports the newly allowed NSSAI, so there is no need to reselect the PCF, that is, it will not trigger the reselection of the PCF . Therefore, resource expenditure can be saved.
可选的,步骤302b之后,还可以包括以下步骤:Optionally, after step 302b, the following steps may be further included:
步骤303b,第一AMF从PCF获取与第一允许的NSSAI关联的第一策略。Step 303b, the first AMF obtains the first policy associated with the first allowed NSSAI from the PCF.
也即,第一AMF向PCF发送请求消息,其中包含第一允许的NSSAI,然后PCF根据第一允许的NSSAI确定第一策略,并发送给第一AMF。That is, the first AMF sends a request message to the PCF, which contains the first allowed NSSAI, and then the PCF determines the first policy according to the first allowed NSSAI and sends it to the first AMF.
可选的,步骤302b之后,还可以包括以下步骤:Optionally, after step 302b, the following steps may be further included:
步骤304b,在待定的NSSAI对应的切片执行切片鉴权之后,第一AMF确定第二允许的NSSAI。Step 304b: After performing slice authentication on the slice corresponding to the pending NSSAI, the first AMF determines the second allowed NSSAI.
其中,第二允许的NSSAI包括待定的NSSAI中执行切片鉴权成功的切片的标识信息。第二允许的NSSAI还包含上述第一允许的NSSAI。Wherein, the second allowed NSSAI includes the identification information of the slice in the pending NSSAI that successfully performs slice authentication. The second permitted NSSAI also includes the above-mentioned first permitted NSSAI.
步骤305b,第一AMF从PCF获取与第二允许的NSSAI关联的第二策略。Step 305b, the first AMF obtains the second policy associated with the second allowed NSSAI from the PCF.
也即,第一AMF向PCF发送请求消息,其中包含第二允许的NSSAI,然后PCF根据第二允许的NSSAI确定第二策略,并发送给第一AMF。That is, the first AMF sends a request message to the PCF, which contains the second allowed NSSAI, and then the PCF determines the second policy according to the second allowed NSSAI and sends it to the first AMF.
作为一种实现方法,在AMF发生切换的场景中,第一AMF(即旧的AMF)在获取到第二策略之后,若第一AMF无法服务第二允许的NSSAI,则将发生AMF切换,则第一AMF可以将该第二策略发送给UE。也即由第一AMF(即旧的AMF)向PCF获取新的策略(即第二策略)并发送给UE。As an implementation method, in a scenario where AMF handover occurs, after the first AMF (that is, the old AMF) obtains the second policy, if the first AMF cannot serve the second allowed NSSAI, the AMF handover will occur, then The first AMF may send the second policy to the UE. That is, the first AMF (that is, the old AMF) obtains the new strategy (that is, the second strategy) from the PCF and sends it to the UE.
作为另一种实现方法,在AMF发生切换的场景中,步骤302b之后,第一AMF(即旧的AMF)确定第二允许的NSSAI,第二允许的NSSAI包括待定的NSSAI中执行切片鉴权成功的切片的标识信息。若第一AMF无法服务第二允许的NSSAI,则第一AMF在UE的上下文中设置第一指示信息,第一指示信息用于指示第二AMF(即新的AMF)向PCF获取策略。从而后续第二AMF在从第一AMF获取到UE的上下文后,根据其中的第一指示信息从PCF获取新的策略(可以称为第三策略),然后第二AMF向UE发送该第三策略。也即,该方法中,是由第二AMF(即新的AMF)向PCF获取新的策略(即第三策略)并发送给UE。As another implementation method, in the scenario where AMF handover occurs, after step 302b, the first AMF (that is, the old AMF) determines the second allowed NSSAI, and the second allowed NSSAI includes the pending NSSAI that performs slice authentication successfully. The identification information of the slice. If the first AMF cannot serve the second allowed NSSAI, the first AMF sets the first indication information in the context of the UE, and the first indication information is used to instruct the second AMF (that is, the new AMF) to obtain a policy from the PCF. Therefore, after the second AMF obtains the context of the UE from the first AMF, it obtains a new policy (may be referred to as the third policy) from the PCF according to the first indication information therein, and then the second AMF sends the third policy to the UE . That is, in this method, the second AMF (that is, the new AMF) obtains the new strategy (that is, the third strategy) from the PCF and sends it to the UE.
综上,基于上述图3B对应的实施例,公开了以下技术方案:In summary, based on the embodiment corresponding to FIG. 3B, the following technical solutions are disclosed:
第一移动性管理网元确定第一NSSAI,第一NSSAI包括第一允许的NSSAI和待定的NSSAI,或者第一NSSAI包括终端设备的签约的NSSAI,待定的NSSAI包括终端设备请求接入的切片中的需要执行切片鉴权的切片的标识信息;第一移动性管理网元根据第一NSSAI,选择策略控制网元。The first mobility management network element determines the first NSSAI, the first NSSAI includes the first allowed NSSAI and the pending NSSAI, or the first NSSAI includes the NSSAI subscribed by the terminal device, and the pending NSSAI includes the slice that the terminal device requests to access The identification information of the slice that needs to perform slice authentication; the first mobility management network element selects the policy control network element according to the first NSSAI.
在一种可能的实现方法中,第一移动性管理网元从策略控制网元获取与第一允许的NSSAI关联的第一策略。In a possible implementation method, the first mobility management network element obtains the first policy associated with the first allowed NSSAI from the policy control network element.
在一种可能的实现方法中,在待定的NSSAI对应的切片执行切片鉴权之后,第一移动性管理网元确定第二允许的NSSAI,第二允许的NSSAI包括待定的NSSAI中执行切片鉴权成功的切片的标识信息;第一移动性管理网元从策略控制网元获取与第二允许的NSSAI关联的第二策略。In a possible implementation method, after slice authentication is performed on the slice corresponding to the pending NSSAI, the first mobility management network element determines the second allowed NSSAI, and the second allowed NSSAI includes the slice authentication performed in the pending NSSAI Identification information of the successful slice; the first mobility management network element obtains the second policy associated with the second allowed NSSAI from the policy control network element.
在一种可能的实现方法中,若第一移动性管理网元无法服务第二允许的NSSAI,第一移动性管理网元向终端设备发送第二策略。In a possible implementation method, if the first mobility management network element cannot serve the second allowed NSSAI, the first mobility management network element sends the second policy to the terminal device.
在一种可能的实现方法中,在待定的NSSAI对应的切片执行切片鉴权之后,第一移动性管理网元确定第二允许的NSSAI,第二允许的NSSAI包括待定的NSSAI中执行切片鉴权成功的切片的标识信息;若第一移动性管理网元无法服务第二允许的NSSAI,第一移动性管理网元在终端设备的上下文中设置第一指示信息,第一指示信息用于指示第二移动性管理网元向策略控制网元获取策略。In a possible implementation method, after slice authentication is performed on the slice corresponding to the pending NSSAI, the first mobility management network element determines the second allowed NSSAI, and the second allowed NSSAI includes the slice authentication performed in the pending NSSAI The identification information of the successful slice; if the first mobility management network element cannot serve the second allowed NSSAI, the first mobility management network element sets the first indication information in the context of the terminal device, and the first indication information is used to indicate the second 2. The mobility management network element obtains the policy from the policy control network element.
综上,基于上述图3B对应的实施例,还公开了以下技术方案:In summary, based on the embodiment corresponding to FIG. 3B, the following technical solutions are also disclosed:
第二移动性管理网元从第一移动性管理网元获取终端设备的上下文,终端设备的上下文包括策略控制网元的标识信息和第一指示信息;第二移动性管理网元确定允许的NSSAI;第二移动性管理网元根据第一指示信息,从策略控制网元获取与允许的NSSAI关联的策略。The second mobility management network element obtains the context of the terminal device from the first mobility management network element, the context of the terminal device includes the identification information of the policy control network element and the first indication information; the second mobility management network element determines the allowed NSSAI ; The second mobility management network element obtains the policy associated with the allowed NSSAI from the policy control network element according to the first indication information.
在一种可能的实现方法中,第一指示信息用于指示第二移动性管理网元向策略控制网元获取策略。In a possible implementation method, the first indication information is used to instruct the second mobility management network element to obtain the policy from the policy control network element.
基于图1A或图1B所示的网络架构,如图3C所示,本申请提供又一种通信方法。该方法包括以下步骤:Based on the network architecture shown in FIG. 1A or FIG. 1B, as shown in FIG. 3C, the present application provides yet another communication method. The method includes the following steps:
步骤301c,在第一切片执行切片鉴权之后,第一AMF确定允许的NSSAI,允许的NSSAI包括允许UE接入的切片的标识信息,第一切片为UE请求接入的切片中需要执行切片鉴权的切片。Step 301c: After the slice authentication is performed on the first slice, the first AMF determines the allowed NSSAI. The allowed NSSAI includes the identification information of the slice that the UE is allowed to access. The first slice is the slice that the UE requests to access. Slice for slice authentication.
这里的第一切片指的是UE发送的请求的NSSAI中的需要执行切片鉴权的切片。第一切片可以是一个或多个切片。The first slice here refers to the slice that needs to perform slice authentication in the requested NSSAI sent by the UE. The first slice may be one or more slices.
允许的NSSAI包含请求的NSSAI中的不需要执行切片鉴权的切片的标识信息。The allowed NSSAI contains the identification information of the slices in the requested NSSAI that do not need to perform slice authentication.
需要说明的是,在AMF发生改变的场景中,这里的第一AMF指的是改变前的AMF,即旧的AMF。It should be noted that in the scenario where the AMF changes, the first AMF here refers to the AMF before the change, that is, the old AMF.
步骤302c,第一AMF从PCF获取与允许的NSSAI关联的第一策略。Step 302c, the first AMF obtains the first policy associated with the allowed NSSAI from the PCF.
这里的PCF是在UE的注册流程中选择的,也即在第一切片执行切片鉴权之前选择的。The PCF here is selected in the registration process of the UE, that is, selected before the slice authentication is performed on the first slice.
步骤303c,第一AMF在UE的上下文中存储第一策略和指示信息,指示信息用于指示第二AMF将第一策略发送至UE。Step 303c: The first AMF stores the first policy and indication information in the context of the UE, and the indication information is used to instruct the second AMF to send the first policy to the UE.
第二AMF在从第一AMF获取到UE的上下文后,根据其中的指示信息,将第一策略发送至UE。After obtaining the context of the UE from the first AMF, the second AMF sends the first policy to the UE according to the indication information therein.
该第二AMF指的是改变后的AMF,也称为新的AMF。The second AMF refers to the changed AMF, which is also called the new AMF.
基于上述方案,在AMF发生改变的场景中,由旧的AMF从PCF获取新的策略并存储在UE的上下文中,然后由新的AMF从UE的上下文中获取新的策略并发送至UE,从而解决了在AMF发生改变的场景中,如何触发新的AMF向UE发送更新的策略的问题。Based on the above solution, in the scenario where the AMF changes, the old AMF obtains the new policy from the PCF and stores it in the context of the UE, and then the new AMF obtains the new policy from the context of the UE and sends it to the UE. It solves the problem of how to trigger a new AMF to send an updated policy to the UE in a scenario where the AMF changes.
作为一种实现方法,在第一切片执行切片鉴权之后,当第一切片执行切片鉴权成功,则允许的NSSAI包括第一切片的标识信息,或者理解为将第一切片的标识信息加入到允许的NSSAI,得到新的允许的NSSAI。当第一切片执行切片鉴权失败,则允许的NSSAI不包括第一切片的标识信息。As an implementation method, after the first slice performs slice authentication, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice, or is understood as The identification information is added to the permitted NSSAI, and a new permitted NSSAI is obtained. When the first slice fails to perform slice authentication, the allowed NSSAI does not include the identification information of the first slice.
综上,基于上述图3C对应的实施例,公开了以下技术方案:In summary, based on the embodiment corresponding to FIG. 3C, the following technical solutions are disclosed:
在第一切片执行切片鉴权之后,第一移动性管理网元确定允许的NSSAI,允许的NSSAI包括允许终端设备接入的切片的标识信息,第一切片为终端设备请求接入的切片中需要执行切片鉴权的切片;第一移动性管理网元从策略控制网元获取与允许的NSSAI关联的第一策略;第一移动性管理网元在终端设备的上下文中存储第一策略和指示信息,指示信息用于指示第二移动性管理网元将第一策略发送至终端设备。After the first slice performs slice authentication, the first mobility management network element determines the allowed NSSAI. The allowed NSSAI includes the identification information of the slice that the terminal device is allowed to access. The first slice is the slice that the terminal device requests to access. The first mobility management network element acquires the first policy associated with the allowed NSSAI from the policy control network element; the first mobility management network element stores the first policy and the first policy in the context of the terminal device. Instruction information, the instruction information is used to instruct the second mobility management network element to send the first policy to the terminal device.
在一种可能的实现方法中,当第一切片执行切片鉴权成功,允许的NSSAI包括第一切片的标识信息;或者,当第一切片执行切片鉴权失败,允许的NSSAI不包括第一切片的标识信息。In a possible implementation method, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
基于图1A或图1B所示的网络架构,如图3D所示,本申请提供又一种通信方法。该方法包括以下步骤:Based on the network architecture shown in FIG. 1A or FIG. 1B, as shown in FIG. 3D, the present application provides yet another communication method. The method includes the following steps:
步骤301d,在第一切片执行切片鉴权之后,第一AMF确定允许的NSSAI。Step 301d: After the first slice performs slice authentication, the first AMF determines the allowed NSSAI.
允许的NSSAI包括允许UE接入的切片的标识信息,第一切片为UE请求接入的切片中需要执行切片鉴权的切片。The allowed NSSAI includes the identification information of the slice to which the UE is allowed to access, and the first slice is the slice for which slice authentication needs to be performed among the slices that the UE requests to access.
这里的第一AMF指的是改变前的AMF,即旧的AMF。The first AMF here refers to the AMF before the change, that is, the old AMF.
步骤302d,若第一AMF无法服务允许的NSSAI,第一AMF在UE的上下文中设置PCF的标识信息和第一指示信息,第一指示信息用于指示第二AMF向PCF获取策略。Step 302d: If the first AMF cannot serve the allowed NSSAI, the first AMF sets the identification information of the PCF and the first indication information in the context of the UE, and the first indication information is used to instruct the second AMF to obtain a policy from the PCF.
步骤303d,第一AMF向UE发送允许的NSSAI和第二指示信息,第二指示信息用于指示UE根据允许的NSSAI注册到第二AMF。Step 303d: The first AMF sends the allowed NSSAI and second indication information to the UE, where the second indication information is used to instruct the UE to register with the second AMF according to the allowed NSSAI.
然后UE注册至第二AMF,第二AMF从第一AMF获取UE的上下文,其中包含PCF的标识信息和第一指示信息,第二AMF根据第一指示信息从PCF获取新的策略,并发送给UE。Then the UE registers with the second AMF. The second AMF obtains the UE context from the first AMF, which contains the identification information of the PCF and the first indication information. The second AMF obtains the new policy from the PCF according to the first indication information and sends it to UE.
基于上述方案,在AMF发生改变的场景中,由旧的AMF选择PCF并在UE的上下文中设置PCF的标识信息和一个指示信息,然后由新的AMF从UE的上下文中获取PCF的标识信息,并根据第一指示信息触发新的AMF从该PCF获取新的策略,从而解决了在AMF发生改变的场景中,如何触发新的AMF向UE发送更新的策略的问题。Based on the above solution, in the scenario where the AMF changes, the old AMF selects the PCF and sets the identification information of the PCF and an indication information in the context of the UE, and then the new AMF obtains the identification information of the PCF from the context of the UE. And according to the first indication information, the new AMF is triggered to obtain a new policy from the PCF, thereby solving the problem of how to trigger the new AMF to send the updated policy to the UE in a scenario where the AMF changes.
作为一种实现方法,在第一切片执行切片鉴权之后,当第一切片执行切片鉴权成功,则允许的NSSAI包括第一切片的标识信息,或者理解为将第一切片的标识信息加入到允许的NSSAI,得到新的允许的NSSAI。当第一切片执行切片鉴权失败,则允许的NSSAI不包括第一切片的标识信息。As an implementation method, after the first slice performs slice authentication, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice, or is understood as The identification information is added to the permitted NSSAI, and a new permitted NSSAI is obtained. When the first slice fails to perform slice authentication, the allowed NSSAI does not include the identification information of the first slice.
综上,基于上述图3D对应的实施例,公开了以下技术方案:In summary, based on the embodiment corresponding to FIG. 3D, the following technical solutions are disclosed:
在第一切片执行切片鉴权之后,第一移动性管理网元确定允许的NSSAI,允许的NSSAI包括允许终端设备接入的切片的标识信息,第一切片为终端设备请求接入的切片中需要执行切片鉴权的切片;若第一移动性管理网元无法服务允许的NSSAI,第一移动性管理网元在终端设备的上下文中设置策略控制网元的标识信息和第一指示信息,第一指示信息用于指示第二移动性管理网元向策略控制网元获取策略。;第一移动性管理网元向终端设备发送允许的NSSAI和第二指示信息,第二指示信息用于指示终端设备根据允许的NSSAI注册到第二移动性管理网元。After the first slice performs slice authentication, the first mobility management network element determines the allowed NSSAI. The allowed NSSAI includes the identification information of the slice that the terminal device is allowed to access. The first slice is the slice that the terminal device requests to access. If the first mobility management network element cannot serve the allowed NSSAI, the first mobility management network element sets the identification information and first indication information of the policy control network element in the context of the terminal device, The first indication information is used to instruct the second mobility management network element to obtain a policy from the policy control network element. ; The first mobility management network element sends the allowed NSSAI and second indication information to the terminal device, the second indication information is used to instruct the terminal device to register with the second mobility management network element according to the allowed NSSAI.
在一种可能的实现方法中,当第一切片执行切片鉴权成功,允许的NSSAI包括第一切片的标识信息;或者,当第一切片执行切片鉴权失败,允许的NSSAI不包括第一切片的标识信息。In a possible implementation method, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
如图4所示,为本申请提供的又一种通信方法流程示意图。该实施例针对的是NSSAA流程前后,AMF不会改变的场景。As shown in FIG. 4, it is a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF does not change before and after the NSSAA process.
该方法包括以下步骤:The method includes the following steps:
步骤401,UE发起注册流程,向AMF发送注册请求(Registration Request)消息,注册请求消息中携带请求的NSSAI(Requested NSSAI)。Step 401: The UE initiates a registration process, and sends a Registration Request (Registration Request) message to the AMF. The Registration Request message carries the requested NSSAI (Requested NSSAI).
步骤402,AMF执行UE的永久标识的主鉴权流程,当该流程成功之后,AMF向UDM获取UE的签约数据。其中,签约数据包括UE签约的S-NSSAI和每个S-NSSAI对应的指示信息,该指示信息用于指示该S-NSSAI是否需要执行NSSAA。In step 402, the AMF executes the main authentication procedure of the permanent identity of the UE. After the procedure is successful, the AMF obtains the UE's subscription data from the UDM. The subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
例如,UE的签约数据中的签约的S-NSSAI和指示信息如表2所示。For example, the S-NSSAI and indication information of the subscription in the subscription data of the UE are shown in Table 2.
表2Table 2
签约的S-NSSAISigned S-NSSAI 指示信息:该S-NSSAI是否需要执行NSSAAInstruction information: whether the S-NSSAI needs to execute NSSAA
S-NSSAI-1S-NSSAI-1 Yes
S-NSSAI-2S-NSSAI-2 Yes
S-NSSAI-3S-NSSAI-3 no
例如,AMF可以调用UDM的服务化操作Nudm_SDM_Get获取UE的签约数据,UDM通过Nudm_SDM_Get response向AMF发送UE的签约数据。For example, the AMF can call the UDM service operation Nudm_SDM_Get to obtain the UE's subscription data, and the UDM sends the UE's subscription data to the AMF through Nudm_SDM_Get response.
步骤403,AMF判断是否需要执行NSSAA流程,若需要执行NSSAA流程,则确定先不选择PCF。In step 403, the AMF determines whether the NSSAA process needs to be executed, and if the NSSAA process needs to be executed, it determines not to select the PCF first.
需要注意的是,本发明中,AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA可以有两种含义:It should be noted that in the present invention, the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA can have two meanings:
第一种:请求的NSSAI中的某个S-NSSAI属于签约的S-NSSAI,且该签约的S-NSSAI需要执行NSSAA,那么AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA。The first type: a certain S-NSSAI in the requested NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
具体地,AMF根据UE的签约数据,判断需要执行NSSAA流程的S-NSSAI是否包含在Requested NSSAI中,如果包含,则AMF确定UE在本次注册流程之后需要执行NSSAA流程。即,可以理解为,Requested NSSAI中包含的都是归属域网络的切片类型(HPLMN S-NSSAI)。Specifically, the AMF determines whether the S-NSSAI that needs to perform the NSSAA process is included in the Requested NSSAI according to the UE's subscription data. If it is included, the AMF determines that the UE needs to perform the NSSAA process after this registration process. That is, it can be understood that the requested NSSAI includes the slice type (HPLMN S-NSSAI) of the home domain network.
举例1:例如UE携带的Requested NSSAI包括S-NSSAI-1、S-NSSAI-2和S-NSSAI-3,其中S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流 程,则AMF确定UE在本次注册流程之后需要执行NSSAA流程。Example 1: For example, the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3, where S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, S-NSSAI-3 There is no need to perform the NSSAA process, the AMF determines that the UE needs to perform the NSSAA process after this registration process.
第二种:请求的NSSAI中的某个S-NSSAI可以映射为签约的S-NSSAI,且该签约的S-NSSAI需要执行NSSAA,那么AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA。The second type: a certain S-NSSAI in the requested NSSAI can be mapped to a contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then the AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
具体地,AMF根据UE的签约数据,判断Requested NSSAI中包含的某个S-NSSAI可以映射到HPLMN S-NSSAI,且该HPLMN S-NSSAI需要执行NSSAA流程,则AMF确定UE在本次注册流程之后需要执行NSSAA流程。Specifically, according to the UE’s subscription data, AMF determines that a certain S-NSSAI included in the Requested NSSAI can be mapped to HPLMN S-NSSAI, and the HPLMN S-NSSAI needs to perform the NSSAA process, then the AMF determines that the UE is after this registration process The NSSAA process needs to be performed.
举例2:例如UE携带的Requested NSSAI为S-NSSAI-A、S-NSSAI-B和S-NSSAI-C,其中S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,S-NSSAI-C与S-NSSAI-3映射,且S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程。则AMF确定UE在本次注册流程之后需要对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。Example 2: For example, the Requested NSSAI carried by the UE is S-NSSAI-A, S-NSSAI-B, and S-NSSAI-C, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-B. NSSAI-2 mapping, S-NSSAI-C and S-NSSAI-3 mapping, and S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, and S-NSSAI-3 does not need to perform the NSSAA process. Then the AMF determines that the UE needs to perform the NSSAA procedure on S-NSSAI-1 and S-NSSAI-2 after this registration procedure.
步骤404,AMF向UE发送的注册接受(Registration Accept)消息,携带允许的NSSAI(Allowed NSSAI)、待定的NSSAI(Pending NSSAI)以及拒绝的NSSAI(Rejected NSSAI)中的一种或多种。Step 404: The Registration Accept message sent by the AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI).
可选的,AMF还可以向UE发送待定原因值:等待NSSAA,该原因值用来指示UE:那些需要进行NSSAA的S-NSSAI是待定(pending)状态。Optionally, the AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
可选的,对于Rejected NSSAI,AMF还可以向UE发送拒绝原因值:当前区域不可用。Optionally, for Rejected NSSAI, the AMF may also send a rejection reason value to the UE: the current area is not available.
其中,Allowed NSSAI包含请求的NSSAI中的不需要进行NSSAA的S-NSSAI,Pending NSSAI包含请求的NSSAI中的需要进行NSSAA的S-NSSAI,Rejected NSSAI包含请求的NSSAI中的UE在当前区域不可用的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
针对前面的例子中的举例1,例如Allowed NSSAI=S-NSSAI-3,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,待定原因值:等待NSSAA。Rejected NSSAI为空。针对前面的例子中的举例2,Allowed NSSAI=S-NSSAI-C,Pending NSSAI=S-NSSAI-A+S-NSSAI-C,原因值:等待NSSAA。For example 1 in the previous example, for example, Allowed NSSAI=S-NSSAI-3, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, the reason value to be determined: waiting for NSSAA. Rejected NSSAI is empty. For example 2 in the previous example, Allowed NSSAI=S-NSSAI-C, Pending NSSAI=S-NSSAI-A+S-NSSAI-C, reason value: waiting for NSSAA.
同时,AMF将该步骤中的Allowed NSSAI存储在AMF上的UE的上下文中。At the same time, the AMF stores the Allowed NSSAI in this step in the context of the UE on the AMF.
步骤405,在注册接受消息发送之后,AMF对待定的S-NSSAI执行NSSAA流程。Step 405: After the registration acceptance message is sent, the AMF executes the NSSAA procedure for the pending S-NSSAI.
需要注意的是,本发明中,AMF对待定的NSSAI中的S-NSSAI执行NSSAA可以有两种含义:It should be noted that, in the present invention, AMF can have two meanings for executing NSSAA on the S-NSSAI in the pending NSSAI:
第一种:待定的NSSAI中的某个S-NSSAI属于签约的S-NSSAI,且该签约的S-NSSAI需要执行NSSAA,那么AMF对该S-NSSAI执行NSSAA。The first type: a certain S-NSSAI in the pending NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the AMF performs NSSAA on the S-NSSAI.
例如,接着上述示例中的举例1,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,由于S-NSSAI-1和S-NSSAI-2均是HPLMN S-NSSAI,则AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。For example, following the example 1 in the above example, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then AMF will compare S-NSSAI -1 and S-NSSAI-2 execute the NSSAA process.
第二种:待定的NSSAI中的某个S-NSSAI与签约的S-NSSAI映射,且该签约的S-NSSAI需要执行NSSAA,那么AMF对该签约的S-NSSAI执行NSSAA。The second type: a certain S-NSSAI in the pending NSSAI is mapped to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the AMF performs NSSAA for the contracted S-NSSAI.
接着上述示例中的举例2,Pending NSSAI=S-NSSAI-A和S-NSSAI-B,由于S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,则AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。若S-NSSAI-1的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-A;若S-NSSAI-1的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA失败,则拒绝接入 S-NSSAI-A。若S-NSSAI-2的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-B;若S-NSSAI-2的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-B。Following example 2 in the above example, Pending NSSAI=S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then AMF executes the NSSAA process on S-NSSAI-1 and S-NSSAI-2. If the NSSAA result of S-NSSAI-1 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-A is NSSAA success, then access to S-NSSAI-A is allowed; if the NSSAA result of S-NSSAI-1 is NSSAA Failure can also be understood as the NSSAA result of S-NSSAI-A is NSSAA failure, and then access to S-NSSAI-A is denied. If the NSSAA result of S-NSSAI-2 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-B is NSSAA success, then access to S-NSSAI-B is allowed; if the NSSAA result of S-NSSAI-2 is NSSAA Failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
该步骤405为可选步骤,当有需要执行NSSAA流程的S-NSSAI存在时,则执行步骤405。否则不执行步骤405。This step 405 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 405 is executed. Otherwise, step 405 is not executed.
需要注意的是,如果需要执行NSSAA流程的S-NSSAI存在多个,步骤405可以多次执行。It should be noted that if there are multiple S-NSSAIs that need to execute the NSSAA process, step 405 can be executed multiple times.
步骤406,当NSSAA流程执行完成之后,AMF根据该流程的结果判断是否需要更新UE的Allowed NSSAI,如果存在NSSAA成功的切片,则将NSSAA成功的切片对应的S-NSSAI添加到步骤404中发送至UE的Allowed NSSAI中,得到新的Allowed NSSAI(new Allowed NSSAI)。Step 406: After the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 404 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
可选的,该步骤中,AMF还确定Rejected NSSAI,Rejected NSSAI中包含Pending NSSAI中的NSSAA失败的切片对应的S-NSSAI。Optionally, in this step, the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
以上述例子中的举例1继续说明,如果S-NSSAI-1的NSSAA结果为NSSAA成功,S-NSSAI-2的NSSAA结果为NSSAA失败,则AMF根据第404步骤中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-1添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-1+S-NSSAI-3。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-2,可选的,还生成拒绝原因值:NSSAA失败。以上述例子中的举例2继续说明,如果S-NSSAI-A的NSSAA结果为NSSAA成功,S-NSSAI-B的NSSAA结果为NSSAA失败,则AMF根据第404步骤中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-A添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-A+S-NSSAI-C。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-B,可选的,还生成拒绝原因值:NSSAA失败。Continuing the description with Example 1 in the above example, if the NSSAA result of S-NSSAI-1 is NSSAA success, and the NSSAA result of S-NSSAI-2 is NSSAA failure, the AMF is stored in the context of the UE in accordance with Allowed in step 404 NSSAI, add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-2. Optionally, it also generates a rejection reason value: NSSAA failed. Continuing the description with Example 2 in the above example, if the NSSAA result of S-NSSAI-A is NSSAA success, and the NSSAA result of S-NSSAI-B is NSSAA failure, the AMF is stored according to the Allowed in the context of the UE in step 404. NSSAI, adding S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-B. Optionally, it also generates a rejection reason value: NSSAA failed.
步骤407,如果当前AMF可以继续服务UE,则AMF根据步骤406中确定的new Allowed NSSAI向NRF请求发现合适的PCF。Step 407: If the current AMF can continue to serve the UE, the AMF requests the NRF to find a suitable PCF according to the new Allowed NSSAI determined in step 406.
比如,AMF调用NRF的服务化操作Nnrf_NFDiscovery_Request,携带UE的SUPI、步骤406中确定的new Allowed NSSAI。For example, the AMF calls the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI of the UE and the new Allowed NSSAI determined in step 406.
当前AMF可以继续服务UE指的是,AMF可以支持步骤406中确定的new Allowed NSSAI。所以AMF不需要改变。The current AMF can continue to serve the UE means that the AMF can support the new Allowed NSSAI determined in step 406. So AMF does not need to be changed.
步骤408,NRF确定合适的PCF,并向AMF发送该PCF的标识(PCF ID)。Step 408: The NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the AMF.
也即,NEF根据SUPI和new Allowed NSSAI,确定合适的PCF。That is, NEF determines the appropriate PCF based on SUPI and new Allowed NSSAI.
作为一种实现方法,NRF可以向AMF返回Nnrf_NFDiscovery_Response,携带PCF ID。As an implementation method, NRF can return Nnrf_NFDiscovery_Response to AMF, carrying PCF ID.
步骤409,AMF基于NRF返回的PCF ID,向该PCF发送AM策略关联建立(AM Policy Association Establishment)请求。Step 409: Based on the PCF ID returned by the NRF, the AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF.
比如,AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Create,其中携带SUPI,new Allowed NSSAI。For example, AMF calls the service operation of PCF: Npcf_AMPolicyControl_Create, which carries SUPI, new Allowed NSSAI.
步骤410,PCF向AMF发送基于new Allowed NSSAI生成的AM策略(AM policy for new Allowed NSSAI)和策略控制请求触发器(Policy Control Request Triggers)。Step 410: The PCF sends an AM policy (AM policy for new Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the new Allowed NSSAI to the AMF.
比如,PCF向AMF返回Npcf_AMPolicyControl_Create Response,其中携带AM policy  for new Allowed NSSAI以及Policy Control Request Triggers。For example, PCF returns Npcf_AMPolicyControl_Create Response to AMF, which carries AM policy for new Allowed NSSAI and Policy Control Request Triggers.
其中,AM policy是PCF根据new Allowed NSSAI生成的,也可以将该步骤的AM policy称为AM policy for new Allowed NSSAI。AM policy包括但是不限于:空口接入技术/频谱选择优先级索引(Index to RAT/Frequency Selection Priority,RFSP index)、用户聚合最大比特速率(Aggregate Maximum Bit Rate,UE-AMBR)以及服务区域限制(Service Area Restrictions)。Among them, the AM policy is generated by the PCF according to the new Allowed NSSAI, and the AM policy of this step can also be called the AM policy for new Allowed NSSAI. AM policy includes but is not limited to: air interface access technology/spectrum selection priority index (Index to RAT/Frequency Selection Priority, RFSP index), user aggregate maximum bit rate (Aggregate Maximum Bit Rate, UE-AMBR), and service area restriction ( Service Area Restrictions).
Policy Control Request Triggers指的是策略控制请求触发器,或称为策略事件上报触发器,当满足相应的触发器条件时(如UE的Allowed NSSAI改变),则AMF可发起AM策略关联更新流程,从而更新相应策略。Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers. When the corresponding trigger conditions are met (such as the UE's Allowed NSSAI changes), the AMF can initiate the AM policy association update process, thereby Update the corresponding strategy.
步骤410之后,还包括步骤410a和步骤410b:After step 410, it further includes step 410a and step 410b:
步骤410a,AMF基于NRF返回的PCF ID,向该PCF发送UE策略关联建立(UE Policy Association Establishment)请求。Step 410a: Based on the PCF ID returned by the NRF, the AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
比如,AMF调用PCF的服务化操作:Npcf_UEPolicyControl Create Request,其中携带SUPI。For example, AMF calls PCF's servicing operation: Npcf_UEPolicyControl Create Request, which carries SUPI.
步骤410b,PCF向AMF发送UE策略(UE policy)。Step 410b, the PCF sends a UE policy (UE policy) to the AMF.
比如,PCF向AMF返回Npcf_UEPolicyControl Create Response,其中携带UE policy。For example, PCF returns Npcf_UEPolicyControl Create Response to AMF, which carries UE policy.
UE policy包括但是不限于:UE接入选择策略(UE access selection policy,如接入网络发现和选择策略(Access Network Discovery&Selection Policy,ANDSP)),PDU会话选择相关的策略(PDU Session selection related policy,如UE路由选择策略(UE Route Selection Policy,URSP))。The UE policy includes but is not limited to: UE access selection policy, such as Access Network Discovery&Selection Policy (ANDSP), and PDU Session Selection related policies, such as UE routing policy (UE Route Selection Policy, URSP)).
步骤411,AMF向UE发送配置更新请求(configuration update request)消息,其中携带new Allowed NSSAI,基于new Allowed NSSAI生成的AM策略以及UE策略。Step 411: The AMF sends a configuration update request (configuration update request) message to the UE, which carries the new Allowed NSSAI, and is based on the AM policy and the UE policy generated by the new Allowed NSSAI.
可选的,若上述步骤406还确定拒绝的NSSAI(Rejected NSSAI),则配置更新请求消息中还可以携带该拒绝的NSSAI。Optionally, if the rejected NSSAI (Rejected NSSAI) is also determined in step 406, the configuration update request message may also carry the rejected NSSAI.
该实施例,在初始注册流程中,如果AMF判断出需要对Requested NSSAI中的某些S-NSSAI执行NSAA流程,则AMF先不选择PCF,而是等NSSAA流程结束后,AMF根据UE的最终的Allowed NSSAI(即new Allowed NSSAI)选择合适的PCF并获取AM策略。该方法可以避免PCF重选以及策略频繁刷新的问题。In this embodiment, in the initial registration process, if the AMF determines that it needs to perform the NSAA process on some S-NSSAI in the Requested NSSAI, the AMF does not select the PCF first, but waits for the end of the NSSAA process, the AMF according to the UE’s final Allowed NSSAI (new Allowed NSSAI) selects the appropriate PCF and obtains the AM policy. This method can avoid the problems of PCF reselection and frequent refresh of policies.
如图5所示,为本申请提供的又一种通信方法流程示意图。该实施例针对的是NSSAA流程前后,AMF发生改变的场景。As shown in FIG. 5, it is a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF changes before and after the NSSAA process.
该方法包括以下步骤:The method includes the following steps:
步骤501,UE发起注册流程,向旧的AMF(old AMF)发送注册请求(Registration Request)消息,注册请求消息中携带请求的NSSAI(Requested NSSAI)。Step 501: The UE initiates a registration process, and sends a Registration Request (Registration Request) message to the old AMF (old AMF), and the Registration Request message carries the requested NSSAI (Requested NSSAI).
这里的旧的AMF指的是在注册流程中,接入网为服务UE选择的AMF,或者可以理解为在注册流程中,初次为UE服务的AMF。本发明中涉及的旧的AMF也可以称为初始AMF(initial AMF)或者当前AMF(serving AMF)。The old AMF here refers to the AMF selected by the access network to serve the UE during the registration process, or can be understood as the AMF that serves the UE for the first time in the registration process. The old AMF involved in the present invention may also be called initial AMF (initial AMF) or current AMF (serving AMF).
步骤502,old AMF执行UE的永久标识的主鉴权流程,当该流程成功之后,old AMF向UDM获取UE的签约数据。其中,签约数据包括UE签约的S-NSSAI和每个S-NSSAI对应的指示信息,该指示信息用于指示该S-NSSAI是否需要执行NSSAA。In step 502, the old AMF executes the primary authentication procedure of the permanent identity of the UE. After the procedure is successful, the old AMF obtains the UE's subscription data from the UDM. The subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
例如,UE的签约数据中的签约的S-NSSAI和指示信息如上述表2所示。For example, the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 2 above.
例如,old AMF可以调用UDM的服务化操作Nudm_SDM_Get获取UE的签约数据,UDM通过Nudm_SDM_Get response向old AMF发送UE的签约数据。For example, the old AMF can call the servicing operation Nudm_SDM_Get of UDM to obtain the subscription data of the UE, and the UDM sends the subscription data of the UE to the old AMF through Nudm_SDM_Get response.
步骤503,old AMF判断是否需要执行NSSAA流程,若需要执行NSSAA流程,则确定先不选择PCF。In step 503, the old AMF determines whether the NSSAA process needs to be executed, and if the NSSAA process needs to be executed, it determines not to select PCF first.
需要注意的是,本发明中,old AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA的方法可以有两种含义:It should be noted that in the present invention, the method by which the old AMF determines that the S-NSSAI in the requested NSSAI needs to execute the NSSAA can have two meanings:
第一种:请求的NSSAI中的某个S-NSSAI属于签约的S-NSSAI,且该签约的S-NSSAI需要执行NSSAA,那么old AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA。The first type: a certain S-NSSAI in the requested NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then old AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
具体地,old AMF根据UE的签约数据,判断需要执行NSSAA流程的S-NSSAI是否包含在Requested NSSAI中,如果包含,则old AMF确定UE在本次注册流程之后需要执行NSSAA流程。即,可以理解为,Requested NSSAI中包含的都是归属域网络的切片类型(HPLMN S-NSSAI)。Specifically, the old AMF determines whether the S-NSSAI that needs to perform the NSSAA process is included in the Requested NSSAI based on the UE's subscription data. If it does, the old AMF determines that the UE needs to perform the NSSAA process after this registration process. That is, it can be understood that the requested NSSAI includes the slice type (HPLMN S-NSSAI) of the home domain network.
举例1:例如UE携带的Requested NSSAI包括S-NSSAI-1、S-NSSAI-2和S-NSSAI-3,其中S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程,则old AMF确定UE在本次注册流程之后需要执行NSSAA流程。Example 1: For example, the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3, where S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, S-NSSAI-3 There is no need to perform the NSSAA process, the old AMF determines that the UE needs to perform the NSSAA process after this registration process.
第二种:请求的NSSAI中的某个S-NSSAI可以映射为签约的S-NSSAI,且该签约的S-NSSAI需要执行NSSAA,那么old AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA。The second type: a certain S-NSSAI in the requested NSSAI can be mapped to a contracted S-NSSAI, and the contracted S-NSSAI needs to execute NSSAA, then old AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA.
具体地,old AMF根据UE的签约数据,判断Requested NSSAI中包含的某个S-NSSAI可以映射到HPLMN S-NSSAI,且该HPLMN S-NSSAI需要执行NSSAA流程,则old AMF确定UE在本次注册流程之后需要执行NSSAA流程。Specifically, the old AMF judges that a certain S-NSSAI included in the Requested NSSAI can be mapped to the HPLMN S-NSSAI based on the UE’s subscription data, and the HPLMN S-NSSAI needs to perform the NSSAA process, then the old AMF determines that the UE is registered this time After the process, the NSSAA process needs to be executed.
举例2:例如UE携带的Requested NSSAI为S-NSSAI-A、S-NSSAI-B和S-NSSAI-C,其中S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,S-NSSAI-C与S-NSSAI-3映射,且S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程。则old AMF确定UE在本次注册流程之后需要对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。若S-NSSAI-1的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-A;若S-NSSAI-1的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-A。若S-NSSAI-2的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-B;若S-NSSAI-2的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-B。Example 2: For example, the Requested NSSAI carried by the UE is S-NSSAI-A, S-NSSAI-B, and S-NSSAI-C, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-B. NSSAI-2 mapping, S-NSSAI-C and S-NSSAI-3 mapping, and S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, and S-NSSAI-3 does not need to perform the NSSAA process. Then the old AMF determines that the UE needs to perform the NSSAA process on S-NSSAI-1 and S-NSSAI-2 after this registration process. If the NSSAA result of S-NSSAI-1 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-A is NSSAA success, then access to S-NSSAI-A is allowed; if the NSSAA result of S-NSSAI-1 is NSSAA Failure can also be understood as the NSSAA result of S-NSSAI-A is NSSAA failure, and then access to S-NSSAI-A is denied. If the NSSAA result of S-NSSAI-2 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-B is NSSAA success, then access to S-NSSAI-B is allowed; if the NSSAA result of S-NSSAI-2 is NSSAA Failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
步骤504,old AMF向UE发送的注册接受(Registration Accept)消息,携带允许的NSSAI(Allowed NSSAI)、待定的NSSAI(Pending NSSAI)以及拒绝的NSSAI(Rejected NSSAI)中的一种或多种。Step 504: The Registration Accept message sent by the old AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI).
其中,Allowed NSSAI包含请求的NSSAI中的不需要进行NSSAA的S-NSSAI,Pending NSSAI包含请求的NSSAI中的需要进行NSSAA的S-NSSAI,Rejected NSSAI包含请求的NSSAI中的UE在当前区域不可用的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
针对前面的例子中的举例1,例如Allowed NSSAI=S-NSSAI-3,Pending NSSAI= S-NSSAI-1+S-NSSAI-2,待定原因值:等待NSSAA。Rejected NSSAI为空。针对前面的例子中的举例2,Allowed NSSAI=S-NSSAI-C,Pending NSSAI=S-NSSAI-A+S-NSSAI-C,原因值:等待NSSAA。For example 1 in the previous example, for example, Allowed NSSAI=S-NSSAI-3, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, the reason value to be determined: waiting for NSSAA. Rejected NSSAI is empty. For example 2 in the previous example, Allowed NSSAI=S-NSSAI-C, Pending NSSAI=S-NSSAI-A+S-NSSAI-C, reason value: waiting for NSSAA.
同时,old AMF将该步骤中的Allowed NSSAI存储在old AMF上的UE的上下文中。At the same time, the old AMF stores the Allowed NSSAI in this step in the context of the UE on the old AMF.
步骤505,在注册接受消息发送之后,old AMF对待定的S-NSSAI执行NSSAA流程。Step 505: After the registration acceptance message is sent, the old AMF executes the NSSAA process for the pending S-NSSAI.
需要注意的是,本发明中,old AMF对待定的NSSAI中的S-NSSAI执行NSSAA可以有两种含义:It should be noted that in the present invention, the old AMF performing NSSAA for the S-NSSAI in the pending NSSAI can have two meanings:
第一种:待定的NSSAI中的某个S-NSSAI属于签约的S-NSSAI,且该签约的S-NSSAI需要执行NSSAA,那么old AMF对该S-NSSAI执行NSSAA。The first type: a certain S-NSSAI in the pending NSSAI belongs to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then the old AMF performs NSSAA on the S-NSSAI.
例如,接着上述示例中的举例1,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,由于S-NSSAI-1和S-NSSAI-2均是HPLMN S-NSSAI,则old AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。For example, following the example 1 in the above example, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then old AMF is against S- NSSAI-1 and S-NSSAI-2 execute the NSSAA process.
第二种:待定的NSSAI中的某个S-NSSAI与签约的S-NSSAI映射,且该签约的S-NSSAI需要执行NSSAA,那么old AMF对该签约的S-NSSAI执行NSSAA。The second type: a certain S-NSSAI in the pending NSSAI is mapped to the contracted S-NSSAI, and the contracted S-NSSAI needs to perform NSSAA, then old AMF performs NSSAA for the contracted S-NSSAI.
接着上述示例中的举例2,Pending NSSAI=S-NSSAI-A和S-NSSAI-B,由于S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,则old AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。Following example 2 in the above example, Pending NSSAI=S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then the old AMF performs the NSSAA process on S-NSSAI-1 and S-NSSAI-2.
该步骤505为可选步骤,当有需要执行NSSAA流程的S-NSSAI存在时,则执行步骤505。否则不执行步骤505。This step 505 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 505 is executed. Otherwise, step 505 is not executed.
需要注意的是,如果需要执行NSSAA流程的S-NSSAI存在多个,步骤505可以多次执行。It should be noted that if there are multiple S-NSSAIs that need to execute the NSSAA process, step 505 can be executed multiple times.
步骤506,当NSSAA流程执行完成之后,old AMF根据该流程的结果判断是否需要更新UE的Allowed NSSAI,如果存在NSSAA成功的切片,则将NSSAA成功的切片对应的S-NSSAI添加到步骤504中发送至UE的Allowed NSSAI中,得到新的Allowed NSSAI(new Allowed NSSAI)。Step 506: After the execution of the NSSAA process is completed, the old AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 504 and sent In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
可选的,该步骤中,old AMF还确定Rejected NSSAI,Rejected NSSAI中包含Pending NSSAI中的NSSAA失败的切片对应的S-NSSAI。Optionally, in this step, the old AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
以上述例子中的举例1继续说明,如果S-NSSAI-1的NSSAA结果为NSSAA成功,S-NSSAI-2的NSSAA结果为NSSAA失败,则AMF根据步骤504中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-1添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-1+S-NSSAI-3。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-2,可选的,还生成拒绝原因值:NSSAA失败。以上述例子中的举例2继续说明,如果S-NSSAI-A的NSSAA结果为NSSAA成功,S-NSSAI-B的NSSAA结果为NSSAA失败,则old AMF根据步骤504中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-A添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-A+S-NSSAI-C。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-B,可选的,还生成拒绝原因值:NSSAA失败。Continuing the description with Example 1 in the above example, if the NSSAA result of S-NSSAI-1 is NSSAA success, and the NSSAA result of S-NSSAI-2 is NSSAA failure, the AMF is based on the Allowed NSSAI stored in the context of the UE in step 504 , Add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-2. Optionally, it also generates a rejection reason value: NSSAA failed. Continuing the description with Example 2 in the above example, if the NSSAA result of S-NSSAI-A is NSSAA success, and the NSSAA result of S-NSSAI-B is NSSAA failure, the old AMF is based on the Allowed stored in the context of the UE in step 504. NSSAI, adding S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-B. Optionally, it also generates a rejection reason value: NSSAA failed.
步骤507,如果当前AMF(即old AMF)不能继续服务UE,则old AMF需要触发AMF reallocation。old AMF向UE发送配置更新请求消息,其中携带new Allowed NSSAI和指示信息,该指示信息用于指示UE收到new Allowed NSSAI之后,立即使用new Allowed NSSAI 作为requested NSSAI发起注册流程。Step 507: If the current AMF (ie, old AMF) cannot continue to serve the UE, the old AMF needs to trigger the AMF reallocation. The old AMF sends a configuration update request message to the UE, which carries new Allowed NSSAI and indication information. The indication information is used to instruct the UE to use new Allowed NSSAI as the requested NSSAI to initiate the registration process immediately after receiving the new Allowed NSSAI.
当前AMF不能继续服务UE指的是,当前AMF不支持步骤506中确定的new Allowed NSSAI,所以AMF需要改变。The current AMF cannot continue to serve the UE means that the current AMF does not support the new Allowed NSSAI determined in step 506, so the AMF needs to be changed.
步骤508,UE根据new Allowed NSSAI以及指示信息,发起注册流程。在该注册流程中,UE注册到新的AMF(new AMF),即new AMF服务UE,其中new AMF支持new Allowed NSSAI所指示的切片。Step 508: The UE initiates a registration process according to the new Allowed NSSAI and the indication information. In this registration process, the UE registers with a new AMF (new AMF), that is, the new AMF serves the UE, where the new AMF supports the slice indicated by the new Allowed NSSAI.
UE在注册流程中发送Requested NSSAI,该Requested NSSAI包含上述步骤507中的new Allowed NSSAI。The UE sends a Requested NSSAI during the registration process, and the Requested NSSAI includes the new Allowed NSSAI in step 507 above.
步骤509,new AMF从old AMF请求获取到UE的上下文。Step 509: The new AMF obtains the context of the UE from the old AMF request.
由于old AMF还未选择PCF,UE的上下文中没有包含PCF ID以及相关的策略信息,因此new AMF无法从old AMF中获取PCF ID以及相关的策略信息,从而将会触发new AMF初次选择PCF。Since old AMF has not selected PCF, the context of UE does not contain PCF ID and related policy information, so new AMF cannot obtain PCF ID and related policy information from old AMF, which will trigger new AMF to select PCF for the first time.
步骤510,new AMF为UE确定new Allowed NSSAI,并存储在UE的上下文中。Step 510: The new AMF determines the new Allowed NSSAI for the UE and stores it in the context of the UE.
需要说明的是,new AMF确定的UE的new Allowed NSSAI与步骤507中old AMF向UE发送的new Allowed NSSAI可能相同或者不同。这是因为,new AMF还需要进一步根据当前网络中切片的拥塞情况,为UE确定最终的Allowed NSSAI。It should be noted that the new Allowed NSSAI of the UE determined by the new AMF and the new Allowed NSSAI sent by the old AMF to the UE in step 507 may be the same or different. This is because the new AMF needs to further determine the final Allowed NSSAI for the UE based on the congestion of the current network slice.
步骤511,AMF根据步骤510中确定的new Allowed NSSAI向NRF请求发现合适的PCF。In step 511, the AMF requests the NRF to find a suitable PCF according to the new Allowed NSSAI determined in step 510.
比如,AMF调用NRF的服务化操作Nnrf_NFDiscovery_Request,携带UE的SUPI、步骤510中确定的new Allowed NSSAI。For example, the AMF calls the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI of the UE and the new Allowed NSSAI determined in step 510.
步骤512,NRF确定合适的PCF,并向AMF发送该PCF的标识(PCF ID)。In step 512, the NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the AMF.
也即,NEF根据SUPI和new Allowed NSSAI,确定合适的PCF。That is, NEF determines the appropriate PCF based on SUPI and new Allowed NSSAI.
作为一种实现方法,NRF可以向AMF返回Nnrf_NFDiscovery_Response,携带PCF ID。As an implementation method, NRF can return Nnrf_NFDiscovery_Response to AMF, carrying PCF ID.
步骤513,new AMF基于NRF返回的PCF ID,向PCF发送AM策略关联建立(AM Policy Association Establishment)请求。Step 513: The new AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF based on the PCF ID returned by the NRF.
比如,AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Create,其中携带SUPI,new Allowed NSSAI)。For example, AMF calls the PCF service operation: Npcf_AMPolicyControl_Create, which carries SUPI, new Allowed NSSAI).
步骤514,PCF向new AMF发送基于new Allowed NSSAI生成的AM策略(AM policy for new Allowed NSSAI)和策略控制请求触发器(Policy Control Request Triggers)。Step 514: The PCF sends an AM policy (AM policy for new Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the new Allowed NSSAI to the new AMF.
比如,PCF向new AMF返回Npcf_AMPolicyControl_Create Response,其中携带AM policy for new Allowed NSSAI以及Policy Control Request Triggers。For example, PCF returns Npcf_AMPolicyControl_Create Response to new AMF, which carries AM policy for new Allowed NSSAI and Policy Control Request Triggers.
其中,AM policy是PCF根据new Allowed NSSAI生成的,也可以将该步骤的AM policy称为AM policy for new Allowed NSSAI。AM policy包括但是不限于:空口接入技术/频谱选择优先级索引、用户聚合最大比特速率以及服务区域限制。Among them, the AM policy is generated by the PCF according to the new Allowed NSSAI, and the AM policy of this step can also be called the AM policy for new Allowed NSSAI. AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
Policy Control Request Triggers指的是策略控制请求触发器,或称为策略事件上报触发器,当满足相应的触发器条件时(如UE的Allowed NSSAI改变),则new AMF可发起AM策略关联更新流程,从而更新相应策略。Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers. When the corresponding trigger conditions are met (such as the UE’s Allowed NSSAI changes), new AMF can initiate the AM policy association update process. Thereby updating the corresponding strategy.
步骤514之后,还包括步骤514a和步骤514b:After step 514, it also includes step 514a and step 514b:
步骤514a,new AMF基于NRF返回的PCF ID,向该PCF发送UE策略关联建立(UE Policy Association Establishment)请求。In step 514a, the new AMF sends a UE Policy Association Establishment (UE Policy Association Establishment) request to the PCF based on the PCF ID returned by the NRF.
比如,new AMF调用PCF的服务化操作:Npcf_UEPolicyControl Create Request,其中携带SUPI。For example, new AMF calls the PCF service operation: Npcf_UEPolicyControl Create Request, which carries SUPI.
步骤514b,PCF向new AMF发送UE策略(UE policy)。In step 514b, the PCF sends a UE policy (UE policy) to the new AMF.
比如,PCF向new AMF返回Npcf_UEPolicyControl Create Response,其中携带UE policy。For example, PCF returns Npcf_UEPolicyControl Create Response to new AMF, which carries UE policy.
UE policy包括但是不限于:UE接入选择策略(如接入网络发现和选择策略),PDU会话选择相关的策略(如UE路由选择策略)。The UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
步骤515,AMF向UE发送注册接受消息,其中携带new Allowed NSSAI,基于new Allowed NSSAI生成的AM策略以及UE策略。Step 515: The AMF sends a registration acceptance message to the UE, which carries the new Allowed NSSAI, based on the AM policy and the UE policy generated by the new Allowed NSSAI.
基于该实施例,在初始注册流程中,如果old AMF判断出需要对requested NSSAI中的某些S-NSSAI执行NSAA流程,则old AMF不选择PCF,等NSSAA流程结束后,如果old AMF不支持new Allowed NSSAI,则需要进行AMF relocation,重选到new AMF。由于new AMF没有从old AMF获取到PCF ID,则new AMF根据UE最终的allowed NSSAI选择合适的PCF并获取策略信息。该实施例可以避免PCF重选以及策略频繁刷新的问题。因而可以节约资源开销。Based on this embodiment, in the initial registration process, if old AMF determines that it needs to perform the NSAA process on some S-NSSAI in the requested NSSAI, then old AMF does not select PCF. After the NSSAA process ends, if old AMF does not support new Allowed NSSAI, AMF relocation is required and reselected to new AMF. Since the new AMF does not obtain the PCF ID from the old AMF, the new AMF selects the appropriate PCF according to the final allowed NSSAI of the UE and obtains policy information. This embodiment can avoid the problems of PCF reselection and frequent policy refresh. Therefore, resource expenditure can be saved.
如图6所示,为本申请提供的又一种通信方法流程示意图。该实施例针对的是NSSAA流程前后,AMF不会改变的场景。As shown in FIG. 6, a schematic flow diagram of another communication method provided by this application. This embodiment is aimed at a scenario where AMF does not change before and after the NSSAA process.
该方法包括以下步骤:The method includes the following steps:
步骤601,UE发起注册流程,向AMF发送注册请求(Registration Request)消息,注册请求消息中携带请求的NSSAI(Requested NSSAI)。In step 601, the UE initiates a registration process and sends a registration request (Registration Request) message to the AMF. The registration request message carries the requested NSSAI (Requested NSSAI).
步骤602,AMF执行UE的永久标识的主鉴权流程,当该流程成功之后,AMF向UDM获取UE的签约数据。其中,签约数据包括UE签约的S-NSSAI和每个S-NSSAI对应的指示信息,该指示信息用于指示该S-NSSAI是否需要执行NSSAA。In step 602, the AMF executes the main authentication procedure of the permanent identity of the UE. After the procedure is successful, the AMF obtains the UE's subscription data from the UDM. The subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
例如,UE的签约数据中的签约的S-NSSAI和指示信息如上述表2所示。For example, the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 2 above.
例如,AMF可以调用UDM的服务化操作Nudm_SDM_Get获取UE的签约数据,UDM通过Nudm_SDM_Get response向AMF发送UE的签约数据。For example, the AMF can call the UDM service operation Nudm_SDM_Get to obtain the UE's subscription data, and the UDM sends the UE's subscription data to the AMF through Nudm_SDM_Get response.
步骤603,AMF根据第一NSSAI和SUPI向NRF请求发现合适的PCF。In step 603, the AMF requests the NRF to find a suitable PCF according to the first NSSAI and SUPI.
作为一种实现方式,这里的第一NSSAI包括Allowed NSSAI以及Pending S-NSSAI。As an implementation manner, the first NSSAI here includes Allowed NSSAI and Pending S-NSSAI.
其中,Allowed NSSAI包含请求的NSSAI中的不需要进行NSSAA的S-NSSAI,Pending NSSAI包含请求的NSSAI中的需要进行NSSAA的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI that does not require NSSAA among requested NSSAIs, and Pending NSSAI includes S-NSSAI that requires NSSAA among requested NSSAIs.
需要注意的是,本发明中,步骤602中AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA的方法同步骤403,不再赘述。It should be noted that, in the present invention, the method in which the AMF determines in step 602 that the S-NSSAI in the requested NSSAI needs to execute NSSAA is the same as step 403, and will not be repeated.
作为另一种实现方式,这里的第一NSSAI可以包括UE签约的S-NSSAI(subscribed NSSAI)。As another implementation manner, the first NSSAI here may include an S-NSSAI (subscribed NSSAI) subscribed by the UE.
比如,AMF可以调用NRF的服务化操作Nnrf_NFDiscovery_Request,携带UE的SUPI和第一NSSAI。For example, the AMF can call the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI and the first NSSAI of the UE.
步骤604,NRF确定合适的PCF,并向AMF发送该PCF的标识(PCF ID)。In step 604, the NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the AMF.
也即,NEF根据SUPI和第一NSSAI,确定合适的PCF。That is, NEF determines a suitable PCF based on SUPI and the first NSSAI.
作为一种实现方法,NRF可以向AMF返回Nnrf_NFDiscovery_Response,携带PCF ID。As an implementation method, NRF can return Nnrf_NFDiscovery_Response to AMF, carrying PCF ID.
可以看出,该步骤中选择PCF使用到的切片信息是第一NSSAI,如果第一NSSAI包括Allowed NSSAI以及Pending S-NSSAI,那么NRF选择出来的PCF必然支持Allowed NSSAI以及Pending S-NSSAI对应的切片。如果第一NSSAI包括subscribed NSSAI,那么NRF选择出来的PCF必然支持subscribed NSSAI对应的切片。It can be seen that the slice information used by the PCF selected in this step is the first NSSAI. If the first NSSAI includes Allowed NSSAI and Pending S-NSSAI, then the PCF selected by NRF must support the slices corresponding to Allowed NSSAI and Pending S-NSSAI . If the first NSSAI includes subscribed NSSAI, then the PCF selected by NRF must support the slice corresponding to subscribed NSSAI.
步骤605,AMF基于NRF返回的PCF ID,向该PCF发送AM策略关联建立(AM Policy Association Establishment)请求。Step 605: Based on the PCF ID returned by the NRF, the AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF.
比如,AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Create,其中携带SUPI,Allowed NSSAI)。For example, AMF calls the PCF service operation: Npcf_AMPolicyControl_Create, which carries SUPI, Allowed NSSAI).
步骤606,PCF向AMF发送基于Allowed NSSAI生成的AM策略(AM policy for Allowed NSSAI)和策略控制请求触发器(Policy Control Request Triggers)。Step 606: The PCF sends an AM policy (AM policy for Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the Allowed NSSAI to the AMF.
比如,PCF向AMF返回Npcf_AMPolicyControl_Create Response,其中携带AM policy for Allowed NSSAI以及Policy Control Request Triggers。For example, PCF returns Npcf_AMPolicyControl_Create Response to AMF, which carries AM policy for Allowed NSSAI and Policy Control Request Triggers.
其中,AM policy是PCF根据Allowed NSSAI生成的,也可以将该步骤的AM policy称为AM policy for Allowed NSSAI。AM policy包括但是不限于:空口接入技术/频谱选择优先级索引、用户聚合最大比特速率以及服务区域限制。Among them, the AM policy is generated by the PCF according to Allowed NSSAI, and the AM policy of this step can also be called AM policy for Allowed NSSAI. AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
Policy Control Request Triggers指的是策略控制请求触发器,或称为策略事件上报触发器,当满足相应的触发器条件时(如UE的Allowed NSSAI改变),则AMF可发起AM策略关联更新流程,从而更新相应策略。Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers. When the corresponding trigger conditions are met (such as the UE's Allowed NSSAI changes), the AMF can initiate the AM policy association update process, thereby Update the corresponding strategy.
步骤607,AMF向UE发送的注册接受(Registration Accept)消息,携带允许的NSSAI(Allowed NSSAI)、待定的NSSAI(Pending NSSAI)以及拒绝的NSSAI(Rejected NSSAI)中的一种或多种。Step 607: The Registration Accept message sent by the AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI).
注册接受消息中还携带上述步骤606中AMF从PCF接收到的基于Allowed NSSAI生成的AM策略。The registration acceptance message also carries the AM policy generated based on the Allowed NSSAI that the AMF received from the PCF in step 606.
可选的,AMF还可以向UE发送待定原因值:等待NSSAA,该原因值用来指示UE:那些需要进行NSSAA的S-NSSAI是待定(pending)状态。Optionally, the AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
可选的,对于Rejected NSSAI,AMF还可以向UE发送拒绝原因值:当前区域不可用。Optionally, for Rejected NSSAI, the AMF may also send a rejection reason value to the UE: the current area is not available.
其中,Allowed NSSAI包含不需要进行NSSAA的S-NSSAI,Pending NSSAI包含需要进行NSSAA的S-NSSAI,Rejected NSSAI包含请求的NSSAI中的UE在当前区域不可用的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI that requires NSSAA, and Rejected NSSAI includes S-NSSAI that is not available in the current area for the UE in the requested NSSAI.
举例1:例如,UE携带的Requested NSSAI包括S-NSSAI-1、S-NSSAI-2和S-NSSAI-3,其中S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程,则Allowed NSSAI=S-NSSAI-3,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,待定原因值:等待NSSAA。Rejected NSSAI为空。Example 1: For example, the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3. Among them, S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, and S-NSSAI- 3 There is no need to perform the NSSAA process, then Allowed NSSAI=S-NSSAI-3, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, and pending reason value: waiting for NSSAA. Rejected NSSAI is empty.
举例2:例如UE携带的Requested NSSAI为S-NSSAI-A、S-NSSAI-B和S-NSSAI-C,其中S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,S-NSSAI-C与S-NSSAI-3映射,且S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程,则Allowed NSSAI=S-NSSAI-C,Pending NSSAI=S-NSSAI-A+S-NSSAI-B,待定原因值:等待NSSAA。Rejected NSSAI为空。Example 2: For example, the Requested NSSAI carried by the UE is S-NSSAI-A, S-NSSAI-B, and S-NSSAI-C, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S- NSSAI-2 mapping, S-NSSAI-C and S-NSSAI-3 mapping, and S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, S-NSSAI-3 does not need to perform the NSSAA process, then Allowed NSSAI= S-NSSAI-C, Pending NSSAI=S-NSSAI-A+S-NSSAI-B, pending reason value: waiting for NSSAA. Rejected NSSAI is empty.
同时,AMF将该步骤中的Allowed NSSAI存储在AMF上的UE的上下文中。At the same time, the AMF stores the Allowed NSSAI in this step in the context of the UE on the AMF.
步骤607之后,还包括步骤607a、步骤607b和步骤607c:After step 607, it further includes step 607a, step 607b, and step 607c:
步骤607a,AMF基于NRF返回的PCF ID,向该PCF发送UE策略关联建立(UE Policy Association Establishment)请求。Step 607a: Based on the PCF ID returned by the NRF, the AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
比如,AMF调用PCF的服务化操作:Npcf_UEPolicyControl Create Request,其中携带SUPI。For example, AMF calls PCF's servicing operation: Npcf_UEPolicyControl Create Request, which carries SUPI.
步骤607b,PCF向AMF发送UE策略(UE policy)。In step 607b, the PCF sends a UE policy (UE policy) to the AMF.
比如,PCF向AMF返回Npcf_UEPolicyControl Create Response,其中携带UE policy。For example, PCF returns Npcf_UEPolicyControl Create Response to AMF, which carries UE policy.
UE policy包括但是不限于:UE接入选择策略(如接入网络发现和选择策略),PDU会话选择相关的策略(如UE路由选择策略)。The UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
步骤607c,AMF向UE发送配置更新请求(configuration update request)消息,其中携带UE策略。Step 607c: The AMF sends a configuration update request (configuration update request) message to the UE, which carries the UE policy.
步骤608,AMF对待定的S-NSSAI执行NSSAA流程。In step 608, the AMF executes the NSSAA process for the pending S-NSSAI.
需要注意的是,本发明中,步骤608中AMF对待定的NSSAI中的S-NSSAI执行NSSAA的方法同步骤405。It should be noted that, in the present invention, in step 608, the AMF executes NSSAA in the S-NSSAI of the pending NSSAI, and the method is the same as step 405.
例如,接着上述示例中的举例1,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,由于S-NSSAI-1和S-NSSAI-2均是HPLMN S-NSSAI,则AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。接着上述示例中的举例2,Pending NSSAI=S-NSSAI-A和S-NSSAI-B,由于S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,则AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。若S-NSSAI-1的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-A;若S-NSSAI-1的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-A。若S-NSSAI-2的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-B;若S-NSSAI-2的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-B。For example, following the example 1 in the above example, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then AMF will compare S-NSSAI -1 and S-NSSAI-2 execute the NSSAA process. Following example 2 in the above example, Pending NSSAI=S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then AMF executes the NSSAA process on S-NSSAI-1 and S-NSSAI-2. If the NSSAA result of S-NSSAI-1 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-A is NSSAA success, then access to S-NSSAI-A is allowed; if the NSSAA result of S-NSSAI-1 is NSSAA Failure can also be understood as the NSSAA result of S-NSSAI-A is NSSAA failure, and then access to S-NSSAI-A is denied. If the NSSAA result of S-NSSAI-2 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-B is NSSAA success, then access to S-NSSAI-B is allowed; if the NSSAA result of S-NSSAI-2 is NSSAA Failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
该步骤608为可选步骤,当有需要执行NSSAA流程的S-NSSAI存在时,则执行步骤608。否则不执行步骤608。This step 608 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 608 is executed. Otherwise, step 608 is not executed.
需要注意的是,如果需要执行NSSAA流程的S-NSSAI存在多个,步骤608可以多次执行。It should be noted that if there are multiple S-NSSAIs that need to execute the NSSAA process, step 608 can be executed multiple times.
步骤609,当NSSAA流程执行完成之后,AMF根据该流程的结果判断是否需要更新UE的Allowed NSSAI,如果存在NSSAA成功的切片,则将NSSAA成功的切片对应的S-NSSAI添加到步骤607中发送至UE的Allowed NSSAI中,得到新的Allowed NSSAI(new Allowed NSSAI)。Step 609: After the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 607 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
可选的,该步骤中,AMF还确定Rejected NSSAI,Rejected NSSAI中包含Pending NSSAI中的NSSAA失败的切片对应的S-NSSAI。Optionally, in this step, the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
以上述例子中的举例1继续说明,如果S-NSSAI-1的NSSAA结果为NSSAA成功,S-NSSAI-2的NSSAA结果为NSSAA失败,则AMF根据第607步骤中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-1添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-1+S-NSSAI-3。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-2,可选的,还生成拒绝原因值:NSSAA失败。以上述例子中的举例2继续说明,如果S-NSSAI-A的NSSAA结果为NSSAA成功,S-NSSAI-B的NSSAA结果为NSSAA失败, 则AMF根据步骤607中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-A添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-A+S-NSSAI-C。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-B,可选的,还生成拒绝原因值:NSSAA失败。Continuing the description with Example 1 in the above example, if the NSSAA result of S-NSSAI-1 is NSSAA success, and the NSSAA result of S-NSSAI-2 is NSSAA failure, the AMF is stored in the context of the UE in accordance with Allowed in step 607 NSSAI, add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-2. Optionally, it also generates a rejection reason value: NSSAA failed. Continuing the description with Example 2 in the above example, if the NSSAA result of S-NSSAI-A is NSSAA success, and the NSSAA result of S-NSSAI-B is NSSAA failure, the AMF is based on the Allowed NSSAI stored in the context of the UE in step 607. , Add S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-B. Optionally, it also generates a rejection reason value: NSSAA failed.
步骤610,如果当前AMF可以继续服务UE,则AMF根据Policy Control Request Triggers中包含的UE的Allowed NSSAI改变(或change of allowed NSSAI)决定向PCF发送AM策略关联修改(AM Policy Association Modification)请求。该AM策略关联修改请求中包含SUPI和new Allowed NSSAI,该new Allowed NSSAI为步骤609确定的new Allowed NSSAI。Step 610: If the current AMF can continue to serve the UE, the AMF decides to send an AM Policy Association Modification (AM Policy Association Modification) request to the PCF according to the Allowed NSSAI change (or change of allowed NSSAI) of the UE included in the Policy Control Request Triggers. The AM policy association modification request includes SUPI and new Allowed NSSAI, and the new Allowed NSSAI is the new Allowed NSSAI determined in step 609.
也即,AMF确定allowed NSSAI发生改变,确定触发了Policy Control Request Triggers,因而向PCF重新请求新的AM策略。That is, the AMF determines that the allowed NSSAI has changed, and determines that the Policy Control Request Triggers is triggered, so it re-requests the PCF for a new AM policy.
比如,AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Update,其中携带SUPI,new Allowed NSSAI)。For example, AMF calls the PCF service operation: Npcf_AMPolicyControl_Update, which carries SUPI, new Allowed NSSAI).
步骤611,PCF向AMF发送基于new Allowed NSSAI生成的AM策略(AM policy for new Allowed NSSAI)。Step 611: The PCF sends an AM policy (AM policy for new Allowed NSSAI) generated based on the new Allowed NSSAI to the AMF.
比如,PCF向AMF返回Npcf_AMPolicyControl_Update Response,其中携带AM policy for new Allowed NSSAI。For example, PCF returns Npcf_AMPolicyControl_Update Response to AMF, which carries AM policy for new Allowed NSSAI.
步骤612,AMF向UE发送配置更新请求(configuration update request)消息,其中携带new Allowed NSSAI和基于new Allowed NSSAI生成的AM策略。Step 612: The AMF sends a configuration update request (configuration update request) message to the UE, which carries a new Allowed NSSAI and an AM policy generated based on the new Allowed NSSAI.
可选的,若上述步骤609还确定拒绝的NSSAI(Rejected NSSAI),则配置更新请求消息中还可以携带该拒绝的NSSAI。Optionally, if the rejected NSSAI (Rejected NSSAI) is also determined in step 609, the configuration update request message may also carry the rejected NSSAI.
基于该实施例,在注册流程中,AMF用Allowed NSSAI以及Pending NSSAI组成的集合或者AMF用subscribed NSSAI来选择PCF。当NSSAA成功后,可以避免NSSAA流程之前选择的PCF不支持NSSAA流程之后的UE的new Allowed NSSAI,从而避免重选PCF。因而可以节约资源开销。Based on this embodiment, in the registration process, AMF uses a set consisting of Allowed NSSAI and Pending NSSAI or AMF uses subscribed NSSAI to select PCF. When the NSSAA succeeds, it can avoid that the PCF selected before the NSSAA process does not support the new Allowed NSSAI of the UE after the NSSAA process, thereby avoiding reselecting the PCF. Therefore, resource expenditure can be saved.
如图7所示,为本申请提供的又一种通信方法流程示意图。该实施例针对的是NSSAA流程前后,AMF发生改变的场景。As shown in FIG. 7, a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF changes before and after the NSSAA process.
该方法包括以下步骤:The method includes the following steps:
步骤701,UE发起注册流程,向旧的AMF(old AMF)发送注册请求(Registration Request)消息,注册请求消息中携带请求的NSSAI(Requested NSSAI)。Step 701: The UE initiates a registration process, and sends a Registration Request (Registration Request) message to the old AMF (old AMF), and the Registration Request message carries the requested NSSAI (Requested NSSAI).
这里的旧的AMF指的是在注册流程中,接入网为服务UE选择的AMF,或者可以理解为在注册流程中,初次为UE服务的AMF。本发明中涉及的旧的AMF也可以称为初始AMF(initial AMF)或者当前AMF(serving AMF)。The old AMF here refers to the AMF selected by the access network to serve the UE during the registration process, or can be understood as the AMF that serves the UE for the first time in the registration process. The old AMF involved in the present invention may also be called initial AMF (initial AMF) or current AMF (serving AMF).
步骤702,old AMF执行UE的永久标识的主鉴权流程,当该流程成功之后,old AMF向UDM获取UE的签约数据。其中,签约数据包括UE签约的S-NSSAI和每个S-NSSAI对应的指示信息,该指示信息用于指示该S-NSSAI是否需要执行NSSAA。In step 702, the old AMF executes the primary authentication procedure of the permanent identity of the UE. After the procedure is successful, the old AMF obtains the UE's subscription data from the UDM. The subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
例如,UE的签约数据中的签约的S-NSSAI和指示信息如上述表2所示。For example, the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 2 above.
例如,old AMF可以调用UDM的服务化操作Nudm_SDM_Get获取UE的签约数据,UDM通过Nudm_SDM_Get response向AMF发送UE的签约数据。For example, the old AMF can call the servicing operation Nudm_SDM_Get of UDM to obtain the subscription data of the UE, and the UDM sends the subscription data of the UE to the AMF through Nudm_SDM_Get response.
步骤703,old AMF根据第一NSSAI和SUPI向NRF请求发现合适的PCF。Step 703: The old AMF requests the NRF to find a suitable PCF according to the first NSSAI and SUPI.
作为一种实现方式,这里的第一NSSAI包括Allowed NSSAI以及Pending S-NSSAI。As an implementation manner, the first NSSAI here includes Allowed NSSAI and Pending S-NSSAI.
其中,Allowed NSSAI包含请求的NSSAI中的不需要进行NSSAA的S-NSSAI,Pending NSSAI包含请求的NSSAI中的需要进行NSSAA的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI that does not require NSSAA among requested NSSAIs, and Pending NSSAI includes S-NSSAI that requires NSSAA among requested NSSAIs.
需要注意的是,本发明中,步骤703中old AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA的方法同步骤503,不再赘述。It should be noted that in the present invention, in step 703, the old AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA. The method is the same as that in step 503, and will not be repeated.
作为另一种实现方式,这里的第一NSSAI可以包括UE签约的S-NSSAI(subscribed NSSAI)。As another implementation manner, the first NSSAI here may include an S-NSSAI (subscribed NSSAI) subscribed by the UE.
比如,old AMF可以调用NRF的服务化操作Nnrf_NFDiscovery_Request,携带UE的SUPI和第一NSSAI。For example, the old AMF can call the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI and the first NSSAI of the UE.
步骤704,NRF确定合适的PCF,并向old AMF发送该PCF的标识(PCF ID)。Step 704: The NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the old AMF.
也即,NEF根据SUPI和第一NSSAI,确定合适的PCF。That is, NEF determines a suitable PCF based on SUPI and the first NSSAI.
作为一种实现方法,NRF可以向old AMF返回Nnrf_NFDiscovery_Response,携带PCF ID。As an implementation method, NRF can return Nnrf_NFDiscovery_Response to old AMF, carrying PCF ID.
可以看出,该步骤中选择PCF使用到的切片信息是第一NSSAI,如果第一NSSAI包括Allowed NSSAI以及Pending S-NSSAI,那么NRF选择出来的PCF必然支持Allowed NSSAI以及Pending S-NSSAI对应的切片能力。如果第一NSSAI包括subscribed NSSAI,那么NRF选择出来的PCF必然支持subscribed NSSAI对应的切片。It can be seen that the slice information used by the PCF selected in this step is the first NSSAI. If the first NSSAI includes Allowed NSSAI and Pending S-NSSAI, then the PCF selected by NRF must support the slices corresponding to Allowed NSSAI and Pending S-NSSAI ability. If the first NSSAI includes subscribed NSSAI, then the PCF selected by NRF must support the slice corresponding to subscribed NSSAI.
步骤705,old AMF基于NRF返回的PCF ID,向该PCF发送AM策略关联建立(AM Policy Association Establishment)请求。AM策略关联建立请求携带SUPI和Allowed NSSAI。Step 705: Based on the PCF ID returned by the NRF, the old AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF. The AM policy association establishment request carries SUPI and Allowed NSSAI.
比如,old AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Create,其中携带SUPI,Allowed NSSAI)。For example, the old AMF calls the PCF service operation: Npcf_AMPolicyControl_Create, which carries SUPI, Allowed NSSAI).
步骤706,PCF向old AMF发送基于Allowed NSSAI生成的AM策略(AM policy for Allowed NSSAI)和策略控制请求触发器(Policy Control Request Triggers)。Step 706: The PCF sends an AM policy (AM policy for Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the Allowed NSSAI to the old AMF.
比如,PCF向old AMF返回Npcf_AMPolicyControl_Create Response,其中携带AM policy for Allowed NSSAI以及Policy Control Request Triggers。For example, PCF returns Npcf_AMPolicyControl_Create Response to old AMF, which carries AM policy for Allowed NSSAI and Policy Control Request Triggers.
其中,AM policy是PCF根据Allowed NSSAI生成的,也可以将该步骤的AM policy称为AM policy for Allowed NSSAI。AM policy包括但是不限于:空口接入技术/频谱选择优先级索引、用户聚合最大比特速率以及服务区域限制。Among them, the AM policy is generated by the PCF according to Allowed NSSAI, and the AM policy of this step can also be called AM policy for Allowed NSSAI. AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
Policy Control Request Triggers指的是策略控制请求触发器,或称为策略事件上报触发器,当满足相应的触发器条件时(如UE的Allowed NSSAI改变),则old AMF可发起AM策略关联更新流程,从而更新相应策略。Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers. When the corresponding trigger conditions are met (for example, the UE's Allowed NSSAI changes), the old AMF can initiate the AM policy association update process. Thereby updating the corresponding strategy.
步骤707,old AMF向UE发送的注册接受(Registration Accept)消息,携带允许的NSSAI(Allowed NSSAI)、待定的NSSAI(Pending NSSAI)以及拒绝的NSSAI(Rejected NSSAI)中的一种或多种,以及携带基于允许的NSSAI生成的AM策略。Step 707: The Registration Accept message sent by the old AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI), and Carry the AM policy generated based on the allowed NSSAI.
可选的,old AMF还可以向UE发送待定原因值:等待NSSAA,该原因值用来指示UE:那些需要进行NSSAA的S-NSSAI是待定(pending)状态。Optionally, the old AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
可选的,对于Rejected NSSAI,old AMF还可以向UE发送拒绝原因值:当前区域不可用。Optionally, for Rejected NSSAI, old AMF may also send a rejection reason value to the UE: the current area is not available.
其中,Allowed NSSAI包含请求的NSSAI中的不需要进行NSSAA的S-NSSAI,Pending  NSSAI包含请求的NSSAI中的需要进行NSSAA的S-NSSAI,Rejected NSSAI包含请求的NSSAI中的UE在当前区域不可用的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
举例1:例如,UE携带的Requested NSSAI包括S-NSSAI-1、S-NSSAI-2和S-NSSAI-3,其中S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程,则Allowed NSSAI=S-NSSAI-3,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,待定原因值:等待NSSAA。Rejected NSSAI为空。Example 1: For example, the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3. Among them, S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, and S-NSSAI- 3 There is no need to perform the NSSAA process, then Allowed NSSAI=S-NSSAI-3, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, and pending reason value: waiting for NSSAA. Rejected NSSAI is empty.
举例2:例如UE携带的Requested NSSAI为S-NSSAI-A、S-NSSAI-B和S-NSSAI-C,其中S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,S-NSSAI-C与S-NSSAI-3映射,且S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程,则Allowed NSSAI=S-NSSAI-C,Pending NSSAI=S-NSSAI-A+S-NSSAI-B,待定原因值:等待NSSAA。Rejected NSSAI为空。Example 2: For example, the Requested NSSAI carried by the UE is S-NSSAI-A, S-NSSAI-B, and S-NSSAI-C, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S- NSSAI-2 mapping, S-NSSAI-C and S-NSSAI-3 mapping, and S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, S-NSSAI-3 does not need to perform the NSSAA process, then Allowed NSSAI= S-NSSAI-C, Pending NSSAI=S-NSSAI-A+S-NSSAI-B, pending reason value: waiting for NSSAA. Rejected NSSAI is empty.
同时,old AMF将该步骤中的Allowed NSSAI存储在old AMF上的UE的上下文中。At the same time, the old AMF stores the Allowed NSSAI in this step in the context of the UE on the old AMF.
步骤707之后,还包括步骤707a、步骤707b和步骤707c:After step 707, it also includes step 707a, step 707b, and step 707c:
步骤707a,old AMF基于NRF返回的PCF ID,向该PCF发送UE策略关联建立(UE Policy Association Establishment)请求。Step 707a: Based on the PCF ID returned by the NRF, the old AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
比如,old AMF调用PCF的服务化操作:Npcf_UEPolicyControl Create Request,其中携带SUPI。For example, old AMF calls PCF's servicing operation: Npcf_UEPolicyControl Create Request, which carries SUPI.
步骤707b,PCF向old AMF发送UE策略(UE policy)。In step 707b, the PCF sends a UE policy (UE policy) to the old AMF.
比如,PCF向old AMF返回Npcf_UEPolicyControl Create Response,其中携带UE policy。For example, PCF returns Npcf_UEPolicyControl Create Response to old AMF, which carries UE policy.
UE policy包括但是不限于:UE接入选择策略(如接入网络发现和选择策略),PDU会话选择相关的策略(如UE路由选择策略)。The UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
步骤707c,AMF向UE发送配置更新请求(configuration update request)消息,其中携带UE策略。Step 707c: The AMF sends a configuration update request (configuration update request) message to the UE, which carries the UE policy.
步骤708,old AMF对待定的S-NSSAI执行NSSAA流程。Step 708, the old AMF executes the NSSAA process for the pending S-NSSAI.
例如,接着上述示例中的举例1,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,由于S-NSSAI-1和S-NSSAI-2均是HPLMN S-NSSAI,则old AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。接着上述示例中的举例2,Pending NSSAI=S-NSSAI-A和S-NSSAI-B,由于S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,则AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。若S-NSSAI-1的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-A;若S-NSSAI-1的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-A。若S-NSSAI-2的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-B;若S-NSSAI-2的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-B。For example, following the example 1 in the above example, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then old AMF is against S- NSSAI-1 and S-NSSAI-2 execute the NSSAA process. Following example 2 in the above example, Pending NSSAI=S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then AMF executes the NSSAA process on S-NSSAI-1 and S-NSSAI-2. If the NSSAA result of S-NSSAI-1 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-A is NSSAA success, then access to S-NSSAI-A is allowed; if the NSSAA result of S-NSSAI-1 is NSSAA Failure can also be understood as the NSSAA result of S-NSSAI-A is NSSAA failure, and then access to S-NSSAI-A is denied. If the NSSAA result of S-NSSAI-2 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-B is NSSAA success, then access to S-NSSAI-B is allowed; if the NSSAA result of S-NSSAI-2 is NSSAA Failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
该步骤708为可选步骤,当有需要执行NSSAA流程的S-NSSAI存在时,则执行步骤708。否则不执行步骤708。This step 708 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 708 is executed. Otherwise, step 708 is not executed.
需要注意的是,如果需要执行NSSAA流程的S-NSSAI存在多个,步骤708可以多次执行。It should be noted that if there are multiple S-NSSAIs that need to execute the NSSAA process, step 708 can be executed multiple times.
步骤709,当NSSAA流程执行完成之后,AMF根据该流程的结果判断是否需要更新UE的Allowed NSSAI,如果存在NSSAA成功的切片,则将NSSAA成功的切片对应的S-NSSAI添加到步骤707中发送至UE的Allowed NSSAI中,得到新的Allowed NSSAI(new Allowed NSSAI)。In step 709, after the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 707 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
可选的,该步骤中,AMF还确定Rejected NSSAI,Rejected NSSAI中包含Pending NSSAI中的NSSAA失败的切片对应的S-NSSAI。Optionally, in this step, the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
以上述例子中的举例1继续说明,如果S-NSSAI-1的NSSAA结果为NSSAA成功,S-NSSAI-2的NSSAA结果为NSSAA失败,则AMF根据步骤707中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-1添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-1+S-NSSAI-3。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-2,可选的,还生成拒绝原因值:NSSAA失败。以上述例子中的举例2继续说明,如果S-NSSAI-A的NSSAA结果为NSSAA成功,S-NSSAI-B的NSSAA结果为NSSAA失败,则AMF根据步骤707中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-A添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-A+S-NSSAI-C。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-B,可选的,还生成拒绝原因值:NSSAA失败。Continuing the description with Example 1 in the above example, if the NSSAA result of S-NSSAI-1 is NSSAA success, and the NSSAA result of S-NSSAI-2 is NSSAA failure, the AMF will store the Allowed NSSAI in the context of the UE in step 707. , Add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-2. Optionally, it also generates a rejection reason value: NSSAA failed. Continuing the description with Example 2 in the above example, if the NSSAA result of S-NSSAI-A is NSSAA success, and the NSSAA result of S-NSSAI-B is NSSAA failure, then AMF will store the Allowed NSSAI in the context of the UE in step 707. , Add S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-B. Optionally, it also generates a rejection reason value: NSSAA failed.
步骤710,如果当前AMF(即old AMF)不能继续服务UE,则old AMF需要触发AMF reallocation。同时,old AMF在UE的上下文中设置指示信息,用于指示allowed NSSAI change满足Policy Control Request Triggers。Step 710: If the current AMF (ie, old AMF) cannot continue to serve the UE, the old AMF needs to trigger the AMF reallocation. At the same time, the old AMF sets indication information in the context of the UE to indicate that the allowed NSSAI change satisfies the Policy Control Request Triggers.
当前AMF不能继续服务UE指的是,当前AMF不支持步骤709中确定的new Allowed NSSAI,所以AMF需要改变。The current AMF cannot continue to serve the UE means that the current AMF does not support the new Allowed NSSAI determined in step 709, so the AMF needs to be changed.
可选的,old AMF还将从PCF获取的策略控制请求触发器(Policy Control Request Triggers)添加到UE的上下文。Optionally, the old AMF also adds the policy control request triggers (Policy Control Request Triggers) obtained from the PCF to the context of the UE.
步骤711,old AMF向UE发送配置更新请求消息,其中携带new Allowed NSSAI和指示信息),该指示信息用于指示UE收到new Allowed NSSAI之后,立即使用new Allowed NSSAI作为requested NSSAI发起注册流程。Step 711: The old AMF sends a configuration update request message to the UE, which carries new Allowed NSSAI and indication information. The indication information is used to instruct the UE to use the new Allowed NSSAI as the requested NSSAI to initiate a registration process immediately after receiving the new Allowed NSSAI.
步骤712,UE根据new Allowed NSSAI以及指示信息,发起注册流程。在该注册流程中,UE注册到新的AMF(new AMF),即new AMF服务UE,其中new AMF支持new Allowed NSSAI所指示的切片。Step 712: The UE initiates a registration process according to the new Allowed NSSAI and the indication information. In this registration process, the UE registers with a new AMF (new AMF), that is, the new AMF serves the UE, where the new AMF supports the slice indicated by the new Allowed NSSAI.
UE在注册流程中发送Requested NSSAI,该Requested NSSAI包含上述步骤709中的new Allowed NSSAI。The UE sends a Requested NSSAI during the registration process, and the Requested NSSAI includes the new Allowed NSSAI in step 709.
步骤713,new AMF从old AMF请求获取到UE的上下文。Step 713: The new AMF obtains the context of the UE from the old AMF request.
由于old AMF选择了PCF,old AMF上的UE的上下文中包含PCF ID以及指示信息,该指示信息用于指示allowed NSSAI change满足Policy Control Request Triggers。或者理解为,该指示信息用于指示new AMF从PCF获取新的策略。因此new AMF从old AMF中获取PCF ID以及指示信息,并根据指示信息触发从PCF获取更新的策略。Since the old AMF selects the PCF, the context of the UE on the old AMF contains the PCF ID and indication information. The indication information is used to indicate that the allowed NSSAI change satisfies the Policy Control Request Triggers. Or it can be understood that the indication information is used to instruct the new AMF to obtain a new policy from the PCF. Therefore, the new AMF obtains the PCF ID and indication information from the old AMF, and triggers the acquisition of an updated policy from the PCF according to the indication information.
步骤714,new AMF为UE确定new Allowed NSSAI,并存储在UE的上下文中。Step 714: The new AMF determines the new Allowed NSSAI for the UE and stores it in the context of the UE.
需要说明的是,new AMF确定的UE的new Allowed NSSAI与步骤709中old AMF确定的new Allowed NSSAI可能相同或者不同。这是因为,new AMF还需要进一步根据当前网络中切片的拥塞情况,为UE确定最终的Allowed NSSAI。It should be noted that the new Allowed NSSAI of the UE determined by the new AMF may be the same or different from the new Allowed NSSAI determined by the old AMF in step 709. This is because the new AMF needs to further determine the final Allowed NSSAI for the UE based on the congestion of the current network slice.
步骤715,new AMF根据UE的上下文中的指示信息,决定向PCF发送AM策略关联修改(AM Policy Association Modification)请求。该AM策略关联修改请求中包含SUPI和new Allowed NSSAI,该new Allowed NSSAI为步骤714确定的new Allowed NSSAI。Step 715: The new AMF decides to send an AM Policy Association Modification (AM Policy Association Modification) request to the PCF according to the indication information in the context of the UE. The AM policy association modification request includes SUPI and new Allowed NSSAI, and the new Allowed NSSAI is the new Allowed NSSAI determined in step 714.
也即,new AMF确定allowed NSSAI发生改变,确定触发了Policy Control Request Triggers,因而向PCF重新请求新的AM策略。That is, the new AMF determines that the allowed NSSAI has changed, and the Policy Control Request Triggers is determined to be triggered, so it re-requests the PCF for a new AM policy.
比如,new AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Update,其中携带SUPI,new Allowed NSSAI)。For example, new AMF calls the PCF service operation: Npcf_AMPolicyControl_Update, which carries SUPI, new Allowed NSSAI).
步骤716,PCF向AMF发送基于new Allowed NSSAI生成的AM策略(AM policy for new Allowed NSSAI)。Step 716: The PCF sends an AM policy (AM policy for new Allowed NSSAI) generated based on the new Allowed NSSAI to the AMF.
比如,PCF向new AMF返回Npcf_AMPolicyControl_Update Response,其中携带AM policy for new Allowed NSSAI。For example, PCF returns Npcf_AMPolicyControl_Update Response to new AMF, which carries AM policy for new Allowed NSSAI.
步骤717,new AMF向UE发送注册接受消息,其中携带new Allowed NSSAI和基于new Allowed NSSAI生成的AM策略。Step 717: The new AMF sends a registration acceptance message to the UE, which carries the new Allowed NSSAI and the AM policy generated based on the new Allowed NSSAI.
基于该实施例,在注册流程中,old AMF用Allowed NSSAI以及Pending NSSAI组成的集合或者AMF用subscribed NSSAI来选择PCF。当NSSAA成功后,可以避免NSSAA流程之前选择的PCF不支持NSSAA流程之后的UE的new Allowed NSSAI,从而避免重选PCF。并且,new AMF可以根据old AMF存储于UE的上下文中的指示信息,触发从PCF获取新的AM策略,以及new AMF可以根据old AMF确定的new Allowed NSSAI重新确定new Allowed NSSAI,并将新的AM策略和new AMF确定的new Allowed NSSAI发送至UE。Based on this embodiment, in the registration process, old AMF uses a set consisting of Allowed NSSAI and Pending NSSAI, or AMF uses subscribed NSSAI to select PCF. When the NSSAA succeeds, it can avoid that the PCF selected before the NSSAA process does not support the new Allowed NSSAI of the UE after the NSSAA process, thereby avoiding reselecting the PCF. In addition, the new AMF can trigger the acquisition of a new AM policy from the PCF according to the indication information stored in the context of the UE by the old AMF, and the new AMF can re-determine the new Allowed NSSAI according to the new Allowed NSSAI determined by the old AMF, and add the new AM The new Allowed NSSAI determined by the policy and new AMF is sent to the UE.
如图8所示,为本申请提供的又一种通信方法流程示意图。该实施例针对的是NSSAA流程前后,AMF发生改变的场景。As shown in FIG. 8, it is a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF changes before and after the NSSAA process.
该方法包括以下步骤:The method includes the following steps:
步骤801,UE发起注册流程,向旧的AMF(old AMF)发送注册请求(Registration Request)消息,注册请求消息中携带请求的NSSAI(Requested NSSAI)。In step 801, the UE initiates a registration process and sends a registration request (Registration Request) message to the old AMF (old AMF), and the registration request message carries the requested NSSAI (Requested NSSAI).
这里的旧的AMF指的是在注册流程中,接入网为服务UE选择的AMF,或者可以理解为在注册流程中,初次为UE服务的AMF。本发明中涉及的旧的AMF也可以称为初始AMF(initial AMF)或者当前AMF(serving AMF)。The old AMF here refers to the AMF selected by the access network to serve the UE during the registration process, or can be understood as the AMF that serves the UE for the first time in the registration process. The old AMF involved in the present invention may also be called initial AMF (initial AMF) or current AMF (serving AMF).
步骤802,old AMF执行UE的永久标识的主鉴权流程,当该流程成功之后,old AMF向UDM获取UE的签约数据。其中,签约数据包括UE签约的S-NSSAI和每个S-NSSAI对应的指示信息,该指示信息用于指示该S-NSSAI是否需要执行NSSAA。In step 802, the old AMF executes the primary authentication procedure of the permanent identity of the UE. After the procedure is successful, the old AMF obtains the UE's subscription data from the UDM. The subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
例如,UE的签约数据中的签约的S-NSSAI和指示信息如上述表2所示。For example, the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 2 above.
例如,old AMF可以调用UDM的服务化操作Nudm_SDM_Get获取UE的签约数据,UDM通过Nudm_SDM_Get response向AMF发送UE的签约数据。For example, the old AMF can call the servicing operation Nudm_SDM_Get of UDM to obtain the subscription data of the UE, and the UDM sends the subscription data of the UE to the AMF through Nudm_SDM_Get response.
步骤803,old AMF根据Allowed NSSAI和SUPI向NRF请求发现合适的PCF。In step 803, the old AMF requests the NRF to find a suitable PCF according to Allowed NSSAI and SUPI.
其中,Allowed NSSAI包含请求的NSSAI中的不需要进行NSSAA的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI that does not require NSSAA among the requested NSSAI.
比如,old AMF可以调用NRF的服务化操作Nnrf_NFDiscovery_Request,携带UE的SUPI和Allowed NSSAI。For example, the old AMF can call the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI and Allowed NSSAI of the UE.
步骤804,NRF确定合适的PCF,并向old AMF发送该PCF的标识(PCF ID)。In step 804, the NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the old AMF.
也即,NEF根据SUPI和Allowed NSSAI,确定合适的PCF。That is, NEF determines a suitable PCF based on SUPI and Allowed NSSAI.
作为一种实现方法,NRF可以向old AMF返回Nnrf_NFDiscovery_Response,携带PCF ID。As an implementation method, NRF can return Nnrf_NFDiscovery_Response to old AMF, carrying PCF ID.
步骤805,old AMF基于NRF返回的PCF ID,向该PCF发送AM策略关联建立(AM Policy Association Establishment)请求。AM策略关联建立请求携带SUPI和Allowed NSSAI。In step 805, the old AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF based on the PCF ID returned by the NRF. The AM policy association establishment request carries SUPI and Allowed NSSAI.
比如,old AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Create,其中携带SUPI,Allowed NSSAI)。For example, old AMF calls the servicing operation of PCF: Npcf_AMPolicyControl_Create, which carries SUPI, Allowed NSSAI).
步骤806,PCF向old AMF发送基于Allowed NSSAI生成的AM策略(AM policy for Allowed NSSAI)和策略控制请求触发器(Policy Control Request Triggers)。Step 806: The PCF sends an AM policy (AM policy for Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the Allowed NSSAI to the old AMF.
比如,PCF向old AMF返回Npcf_AMPolicyControl_Create Response,其中携带AM policy for Allowed NSSAI以及Policy Control Request Triggers。For example, PCF returns Npcf_AMPolicyControl_Create Response to old AMF, which carries AM policy for Allowed NSSAI and Policy Control Request Triggers.
其中,AM policy是PCF根据Allowed NSSAI生成的,也可以将该步骤的AM policy称为AM policy for Allowed NSSAI。AM policy包括但是不限于:空口接入技术/频谱选择优先级索引、用户聚合最大比特速率以及服务区域限制。Among them, the AM policy is generated by the PCF according to Allowed NSSAI, and the AM policy of this step can also be called AM policy for Allowed NSSAI. AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
Policy Control Request Triggers指的是策略控制请求触发器,或称为策略事件上报触发器,当满足相应的触发器条件时(如UE的Allowed NSSAI改变),则old AMF可发起AM策略关联更新流程,从而更新相应策略。Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers. When the corresponding trigger conditions are met (such as the UE’s Allowed NSSAI changes), the old AMF can initiate the AM policy association update process. Thereby updating the corresponding strategy.
步骤807,old AMF向UE发送的注册接受(Registration Accept)消息,携带允许的NSSAI(Allowed NSSAI)、待定的NSSAI(Pending NSSAI)以及拒绝的NSSAI(Rejected NSSAI)中的一种或多种,以及携带基于允许的NSSAI生成的AM策略。Step 807: The Registration Accept message sent by the old AMF to the UE carries one or more of Allowed NSSAI (Allowed NSSAI), Pending NSSAI (Pending NSSAI), and Rejected NSSAI (Rejected NSSAI), and Carry the AM policy generated based on the allowed NSSAI.
需要注意的是,本发明中,步骤807中old AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA的方法同步骤503,不再赘述。It should be noted that, in the present invention, in step 807, the old AMF determines that the S-NSSAI in the requested NSSAI needs to execute the NSSAA. The method is the same as that in step 503, and will not be repeated.
可选的,old AMF还可以向UE发送待定原因值:等待NSSAA,该原因值用来指示UE:那些需要进行NSSAA的S-NSSAI是待定(pending)状态。Optionally, the old AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
可选的,对于Rejected NSSAI,old AMF还可以向UE发送拒绝原因值:当前区域不可用。Optionally, for Rejected NSSAI, old AMF may also send a rejection reason value to the UE: the current area is not available.
其中,Allowed NSSAI包含请求的NSSAI中的不需要进行NSSAA的S-NSSAI,Pending NSSAI包含请求的NSSAI中的需要进行NSSAA的S-NSSAI,Rejected NSSAI包含请求的NSSAI中的UE在当前区域不可用的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
举例1:例如,UE携带的Requested NSSAI包括S-NSSAI-1、S-NSSAI-2和S-NSSAI-3,其中S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程,则Allowed NSSAI=S-NSSAI-3,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,待定原因值:等待NSSAA。Rejected NSSAI为空。Example 1: For example, the Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3. Among them, S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, and S-NSSAI- 3 There is no need to perform the NSSAA process, then Allowed NSSAI=S-NSSAI-3, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, and pending reason value: waiting for NSSAA. Rejected NSSAI is empty.
举例2:例如UE携带的Requested NSSAI为S-NSSAI-A、S-NSSAI-B和S-NSSAI-C,其中S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,S-NSSAI-C与S-NSSAI-3映射,且S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程,则Allowed NSSAI=S-NSSAI-C,Pending NSSAI=S-NSSAI-A+S-NSSAI-B,待定原因值:等待NSSAA。Rejected NSSAI为空。Example 2: For example, the Requested NSSAI carried by the UE is S-NSSAI-A, S-NSSAI-B, and S-NSSAI-C, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S- NSSAI-2 mapping, S-NSSAI-C and S-NSSAI-3 mapping, and S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, S-NSSAI-3 does not need to perform the NSSAA process, then Allowed NSSAI= S-NSSAI-C, Pending NSSAI=S-NSSAI-A+S-NSSAI-B, pending reason value: waiting for NSSAA. Rejected NSSAI is empty.
同时,old AMF将该步骤中的Allowed NSSAI存储在old AMF上的UE的上下文中。At the same time, the old AMF stores the Allowed NSSAI in this step in the context of the UE on the old AMF.
步骤807之后,还包括步骤807a、步骤807b和步骤807c:After step 807, it also includes step 807a, step 807b, and step 807c:
步骤807a,old AMF基于NRF返回的PCF ID,向该PCF发送UE策略关联建立(UE Policy Association Establishment)请求。Step 807a: Based on the PCF ID returned by the NRF, the old AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
比如,old AMF调用PCF的服务化操作:Npcf_UEPolicyControl Create Request,其中携带SUPI。For example, old AMF calls PCF's servicing operation: Npcf_UEPolicyControl Create Request, which carries SUPI.
步骤807b,PCF向old AMF发送UE策略(UE policy)。Step 807b, the PCF sends a UE policy (UE policy) to the old AMF.
比如,PCF向old AMF返回Npcf_UEPolicyControl Create Response,其中携带UE policy。For example, PCF returns Npcf_UEPolicyControl Create Response to old AMF, which carries UE policy.
UE policy包括但是不限于:UE接入选择策略(如接入网络发现和选择策略),PDU会话选择相关的策略(如UE路由选择策略)。The UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
步骤807c,old AMF向UE发送配置更新请求(configuration update request)消息,其中携带UE策略。Step 807c: The old AMF sends a configuration update request (configuration update request) message to the UE, which carries the UE policy.
步骤808,old AMF对待定的S-NSSAI执行NSSAA流程。Step 808, the old AMF executes the NSSAA process for the pending S-NSSAI.
例如,接着上述示例中的举例1,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,由于S-NSSAI-1和S-NSSAI-2均是HPLMN S-NSSAI,则old AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。接着上述示例中的举例2,Pending NSSAI=S-NSSAI-A和S-NSSAI-B,由于S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,则AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。若S-NSSAI-1的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-A;若S-NSSAI-1的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-A。若S-NSSAI-2的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-B;若S-NSSAI-2的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-B。For example, following the example 1 in the above example, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then old AMF is against S- NSSAI-1 and S-NSSAI-2 execute the NSSAA process. Following example 2 in the above example, Pending NSSAI=S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then AMF executes the NSSAA process on S-NSSAI-1 and S-NSSAI-2. If the NSSAA result of S-NSSAI-1 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-A is NSSAA success, then access to S-NSSAI-A is allowed; if the NSSAA result of S-NSSAI-1 is NSSAA Failure can also be understood as the NSSAA result of S-NSSAI-A is NSSAA failure, and then access to S-NSSAI-A is denied. If the NSSAA result of S-NSSAI-2 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-B is NSSAA success, then access to S-NSSAI-B is allowed; if the NSSAA result of S-NSSAI-2 is NSSAA Failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
该步骤808为可选步骤,当有需要执行NSSAA流程的S-NSSAI存在时,则执行步骤808。否则不执行步骤808。This step 808 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 808 is executed. Otherwise, step 808 is not executed.
需要注意的是,如果需要执行NSSAA流程的S-NSSAI存在多个,步骤808可以多次执行。It should be noted that if there are multiple S-NSSAIs that need to execute the NSSAA process, step 808 can be executed multiple times.
步骤809,当NSSAA流程执行完成之后,AMF根据该流程的结果判断是否需要更新UE的Allowed NSSAI,如果存在NSSAA成功的切片,则将NSSAA成功的切片对应的S-NSSAI添加到步骤807中发送至UE的Allowed NSSAI中,得到新的Allowed NSSAI(new Allowed NSSAI)。In step 809, after the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 807 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
可选的,该步骤中,AMF还确定Rejected NSSAI,Rejected NSSAI中包含Pending NSSAI中的NSSAA失败的切片对应的S-NSSAI。Optionally, in this step, the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
以上述例子中的举例1继续说明,如果S-NSSAI-1的NSSAA结果为NSSAA成功,S-NSSAI-2的NSSAA结果为NSSAA失败,则AMF根据步骤807中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-1添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-1+S-NSSAI-3。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-2,可选的,还生成拒绝原因值:NSSAA失败。以上述例子中的举例2继续说明,如果S-NSSAI-A的NSSAA结果为NSSAA成功,S-NSSAI-B的NSSAA结果为NSSAA失败,则AMF根据步骤807中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-A添加到 UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-A+S-NSSAI-C。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-B,可选的,还生成拒绝原因值:NSSAA失败。Continuing the description with Example 1 in the above example, if the NSSAA result of S-NSSAI-1 is NSSAA success, and the NSSAA result of S-NSSAI-2 is NSSAA failure, the AMF will store the Allowed NSSAI in the context of the UE in step 807. , Add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-2. Optionally, it also generates a rejection reason value: NSSAA failed. Continuing the description with Example 2 in the above example, if the NSSAA result of S-NSSAI-A is NSSAA success, and the NSSAA result of S-NSSAI-B is NSSAA failure, then AMF will follow the Allowed NSSAI stored in the context of the UE in step 807. , Add S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-B. Optionally, it also generates a rejection reason value: NSSAA failed.
步骤810,如果当前AMF(即old AMF)不能继续服务UE,则old AMF需要触发AMF reallocation。同时,old AMF根据Policy Control Request Triggers判断出allowed NSSAI change满足Policy Control Request Triggers,则old AMF决定先向PCF获取new allowed NSSAI对应的新的AM策略。Step 810: If the current AMF (ie, old AMF) cannot continue to serve the UE, the old AMF needs to trigger the AMF reallocation. At the same time, the old AMF judges that the allowed NSSAI change satisfies the Policy Control Request Triggers based on the Policy Control Request Triggers, and the old AMF decides to first obtain the new allowed NSSAI corresponding new AM policy from the PCF.
当前AMF不能继续服务UE指的是,当前AMF不支持步骤709中确定的new Allowed NSSAI,所以AMF需要改变。The current AMF cannot continue to serve the UE means that the current AMF does not support the new Allowed NSSAI determined in step 709, so the AMF needs to be changed.
步骤811,old AMF向PCF发送AM策略关联修改(AM Policy Association Modification)请求。该AM策略关联修改请求中包含SUPI和new Allowed NSSAI,该new Allowed NSSAI为步骤809确定的new Allowed NSSAI。Step 811: The old AMF sends an AM Policy Association Modification (AM Policy Association Modification) request to the PCF. The AM policy association modification request includes SUPI and new Allowed NSSAI, and the new Allowed NSSAI is the new Allowed NSSAI determined in step 809.
比如,old AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Update,其中携带SUPI,new Allowed NSSAI)。For example, old AMF calls PCF's servicing operation: Npcf_AMPolicyControl_Update, which carries SUPI, new Allowed NSSAI).
步骤812,PCF向old AMF发送基于new Allowed NSSAI生成的AM策略(AM policy for new Allowed NSSAI)。In step 812, the PCF sends an AM policy (AM policy for new Allowed NSSAI) generated based on the new Allowed NSSAI to the old AMF.
比如,PCF向new AMF返回Npcf_AMPolicyControl_Update Response,其中携带AM policy for new Allowed NSSAI。For example, PCF returns Npcf_AMPolicyControl_Update Response to new AMF, which carries AM policy for new Allowed NSSAI.
步骤813,old AMF将基于new Allowed NSSAI生成的AM策略存储于UE的上下文中。Step 813: The old AMF stores the AM policy generated based on the new Allowed NSSAI in the context of the UE.
可选的,old AMF还将从PCF获取的策略控制请求触发器(Policy Control Request Triggers)添加到UE的上下文。Optionally, the old AMF also adds the policy control request triggers (Policy Control Request Triggers) obtained from the PCF to the context of the UE.
步骤814,old AMF向UE发送配置更新请求消息,其中携带new Allowed NSSAI和指示信息),该指示信息用于指示UE收到new Allowed NSSAI之后,立即使用new Allowed NSSAI作为requested NSSAI发起注册流程。Step 814: The old AMF sends a configuration update request message to the UE, which carries new Allowed NSSAI and indication information. The indication information is used to instruct the UE to use the new Allowed NSSAI as the requested NSSAI to initiate a registration process immediately after receiving the new Allowed NSSAI.
作为一种实现方法,配置更新请求消息中还携带基于new Allowed NSSAI生成的AM策略信息。如此,后续new AMF就不需要再向UE发送基于new Allowed NSSAI生成的AM策略信息。As an implementation method, the configuration update request message also carries AM policy information generated based on new Allowed NSSAI. In this way, the subsequent new AMF does not need to send the AM policy information generated based on the new Allowed NSSAI to the UE.
作为另一种实现方法,如果old AMF没有将基于new Allowed NSSAI生成的AM策略信息通过配置更新请求消息发送至UE,则old AMF可以在old AMF上的UE的上下文中设置一个指示信息,该指示信息用于指示:new AMF将UE的上下文中的AM策略信息(即基于new Allowed NSSAI生成的AM策略信息)发送至UE。如此,后续new AMF从old AMF获取到UE的上下文后,可以根据UE的上下文中的上述指示信息,确定向UE发送基于new Allowed NSSAI生成的AM策略信息。As another implementation method, if old AMF does not send AM policy information generated based on new Allowed NSSAI to the UE through a configuration update request message, old AMF can set an indication information in the context of the UE on old AMF. The information is used to indicate: new AMF sends AM policy information in the context of the UE (that is, AM policy information generated based on new Allowed NSSAI) to the UE. In this way, after the subsequent new AMF obtains the UE context from the old AMF, it can determine to send the AM policy information generated based on the new Allowed NSSAI to the UE according to the above indication information in the UE context.
步骤815,UE根据new Allowed NSSAI以及指示信息,发起注册流程。在该注册流程中,UE注册到新的AMF(new AMF),即new AMF服务UE,其中new AMF支持new Allowed NSSAI所指示的切片。Step 815: The UE initiates a registration process according to the new Allowed NSSAI and the instruction information. In this registration process, the UE registers with a new AMF (new AMF), that is, the new AMF serves the UE, where the new AMF supports the slice indicated by the new Allowed NSSAI.
UE在注册流程中发送Requested NSSAI,该Requested NSSAI包含上述步骤809中的new Allowed NSSAI。The UE sends a Requested NSSAI during the registration process, and the Requested NSSAI includes the new Allowed NSSAI in step 809 above.
步骤816,new AMF从old AMF请求获取到UE的上下文。Step 816, the new AMF obtains the context of the UE from the old AMF request.
由于old AMF选择了PCF,old AMF上的UE的上下文中包含PCF ID以及基于new Allowed NSSAI生成的AM策略。因此new AMF从old AMF中获取PCF ID以及基于new Allowed NSSAI生成的AM策略。Since the old AMF selected the PCF, the context of the UE on the old AMF includes the PCF ID and the AM policy generated based on the new Allowed NSSAI. Therefore, the new AMF obtains the PCF ID and the AM policy generated based on the new Allowed NSSAI from the old AMF.
可选的,UE的上下文中还包含指示信息,该指示信息用于指示:new AMF将UE的上下文中的AM策略信息(即基于new Allowed NSSAI生成的AM策略信息)发送至UE。Optionally, the context of the UE also includes indication information, which is used to indicate that new AMF sends AM policy information in the context of the UE (that is, AM policy information generated based on new Allowed NSSAI) to the UE.
步骤817,new AMF为UE确定new Allowed NSSAI,并存储在UE的上下文中。In step 817, the new AMF determines the new Allowed NSSAI for the UE and stores it in the context of the UE.
需要说明的是,new AMF确定的UE的new Allowed NSSAI与步骤809中old AMF确定的new Allowed NSSAI可能相同或者不同。这是因为,new AMF还需要进一步根据当前网络中切片的拥塞情况,为UE确定最终的Allowed NSSAI。It should be noted that the new Allowed NSSAI of the UE determined by the new AMF and the new Allowed NSSAI determined by the old AMF in step 809 may be the same or different. This is because the new AMF needs to further determine the final Allowed NSSAI for the UE based on the congestion of the current network slice.
步骤818,new AMF向UE发送注册接受消息,其中携带new Allowed NSSAI。Step 818: The new AMF sends a registration acceptance message to the UE, which carries new Allowed NSSAI.
可选的,如果UE的上下文中还包含指示信息,则new AMF根据指示信息在注册接受消息中携带AM策略信息,该AM策略信息是new AMF从UE的上下文中获取的。Optionally, if the context of the UE also contains indication information, the new AMF carries AM policy information in the registration acceptance message according to the indication information, and the AM policy information is obtained by the new AMF from the context of the UE.
基于该实施例,在注册流程中,old AMF使用现有技术的方法,用Allowed NSSAI来选择PCF。当NSSAA成功后,old AMF确定new Allowed NSSAI,并根据new Allowed NSSAI从PCF获取更新的AM策略并存储old AMF上的UE的上下文中。待后续切换至new AMF之后,new AMF在从old AMF获取到UE的上下文后,即可从UE的上下文中获取到更新的AM策略,从而无需再从PCF重新获取更新的AM策略,因而可以避免策略频繁刷新的问题。因而可以节约资源开销。Based on this embodiment, in the registration process, old AMF uses the method of the prior art and Allowed NSSAI to select PCF. When the NSSAA succeeds, the old AMF determines the new Allowed NSSAI, and obtains the updated AM policy from the PCF according to the new Allowed NSSAI and stores it in the context of the UE on the old AMF. After the subsequent switch to new AMF, after new AMF obtains the UE context from old AMF, it can obtain the updated AM policy from the UE context, which eliminates the need to obtain the updated AM policy from the PCF again. The problem of frequent refresh of the strategy. Therefore, resource expenditure can be saved.
如图9所示,为本申请提供的又一种通信方法流程示意图。该实施例针对的是NSSAA流程前后,AMF发生改变的场景。As shown in FIG. 9, it is a schematic flowchart of another communication method provided by this application. This embodiment is aimed at a scenario where AMF changes before and after the NSSAA process.
该方法包括以下步骤:The method includes the following steps:
步骤901,UE发起注册流程,向旧的AMF(old AMF)发送注册请求(Registration Request)消息,注册请求消息中携带请求的NSSAI(Requested NSSAI)。Step 901: The UE initiates a registration process, and sends a Registration Request (Registration Request) message to the old AMF (old AMF), and the Registration Request message carries the requested NSSAI (Requested NSSAI).
这里的旧的AMF指的是在注册流程中,接入网为服务UE选择的AMF,或者可以理解为在注册流程中,初次为UE服务的AMF。本发明中涉及的旧的AMF也可以称为初始AMF(initial AMF)或者当前AMF(serving AMF)。The old AMF here refers to the AMF selected by the access network to serve the UE during the registration process, or can be understood as the AMF that serves the UE for the first time in the registration process. The old AMF involved in the present invention may also be called initial AMF (initial AMF) or current AMF (serving AMF).
步骤902,old AMF执行UE的永久标识的主鉴权流程,当该流程成功之后,old AMF向UDM获取UE的签约数据。其中,签约数据包括UE签约的S-NSSAI和每个S-NSSAI对应的指示信息,该指示信息用于指示该S-NSSAI是否需要执行NSSAA。In step 902, the old AMF executes the primary authentication procedure of the permanent identity of the UE. After the procedure is successful, the old AMF obtains the UE's subscription data from the UDM. The subscription data includes the S-NSSAI subscribed by the UE and indication information corresponding to each S-NSSAI, and the indication information is used to indicate whether the S-NSSAI needs to perform NSSAA.
例如,UE的签约数据中的签约的S-NSSAI和指示信息如上述表1所示。For example, the S-NSSAI and indication information of the subscription in the subscription data of the UE are as shown in Table 1 above.
例如,old AMF可以调用UDM的服务化操作Nudm_SDM_Get获取UE的签约数据,UDM通过Nudm_SDM_Get response向AMF发送UE的签约数据。For example, the old AMF can call the servicing operation Nudm_SDM_Get of UDM to obtain the subscription data of the UE, and the UDM sends the subscription data of the UE to the AMF through Nudm_SDM_Get response.
步骤903,old AMF根据Allowed NSSAI和SUPI向NRF请求发现合适的PCF。In step 903, the old AMF requests the NRF to find a suitable PCF according to the Allowed NSSAI and SUPI.
其中,其中,Allowed NSSAI包含请求的NSSAI中的不需要进行NSSAA的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI that does not require NSSAA in the requested NSSAI.
比如,old AMF可以调用NRF的服务化操作Nnrf_NFDiscovery_Request,携带UE的SUPI和Allowed NSSAI。For example, the old AMF can call the NRF service operation Nnrf_NFDiscovery_Request, which carries the SUPI and Allowed NSSAI of the UE.
步骤904,NRF确定合适的PCF,并向old AMF发送该PCF的标识(PCF ID)。In step 904, the NRF determines a suitable PCF, and sends the PCF ID (PCF ID) to the old AMF.
也即,NEF根据SUPI和Allowed NSSAI,确定合适的PCF。That is, NEF determines a suitable PCF based on SUPI and Allowed NSSAI.
作为一种实现方法,NRF可以向old AMF返回Nnrf_NFDiscovery_Response,携带PCF  ID。As an implementation method, NRF can return Nnrf_NFDiscovery_Response to old AMF, carrying PCF ID.
步骤905,old AMF基于NRF返回的PCF ID,向该PCF发送AM策略关联建立(AM Policy Association Establishment)请求。AM策略关联建立请求携带SUPI和Allowed NSSAI。Step 905: Based on the PCF ID returned by the NRF, the old AMF sends an AM Policy Association Establishment (AM Policy Association) request to the PCF. The AM policy association establishment request carries SUPI and Allowed NSSAI.
比如,old AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Create,其中携带SUPI,Allowed NSSAI)。For example, old AMF calls the servicing operation of PCF: Npcf_AMPolicyControl_Create, which carries SUPI, Allowed NSSAI).
步骤906,PCF向old AMF发送基于Allowed NSSAI生成的AM策略(AM policy for Allowed NSSAI)和策略控制请求触发器(Policy Control Request Triggers)。In step 906, the PCF sends an AM policy (AM policy for Allowed NSSAI) and a policy control request trigger (Policy Control Request Triggers) generated based on the Allowed NSSAI to the old AMF.
比如,PCF向old AMF返回Npcf_AMPolicyControl_Create Response,其中携带AM policy for Allowed NSSAI以及Policy Control Request Triggers。For example, PCF returns Npcf_AMPolicyControl_Create Response to old AMF, which carries AM policy for Allowed NSSAI and Policy Control Request Triggers.
其中,AM policy是PCF根据Allowed NSSAI生成的,也可以将该步骤的AM policy称为AM policy for Allowed NSSAI。AM policy包括但是不限于:空口接入技术/频谱选择优先级索引、用户聚合最大比特速率以及服务区域限制。Among them, the AM policy is generated by the PCF according to Allowed NSSAI, and the AM policy of this step can also be called AM policy for Allowed NSSAI. AM policy includes but is not limited to: air interface access technology/spectrum selection priority index, user aggregation maximum bit rate, and service area limitation.
Policy Control Request Triggers指的是策略控制请求触发器,或称为策略事件上报触发器,当满足相应的触发器条件时(如UE的Allowed NSSAI改变),则old AMF可发起AM策略关联更新流程,从而更新相应策略。Policy Control Request Triggers refers to policy control request triggers, or policy event reporting triggers. When the corresponding trigger conditions are met (for example, the UE's Allowed NSSAI changes), the old AMF can initiate the AM policy association update process. Thereby updating the corresponding strategy.
步骤907,old AMF向UE发送的注册接受(Registration Accept)消息,携带允许的NSSAI(Allowed NSSAI)、待定的NSSAI(Pending NSSAI)以及拒绝的NSSAI(Rejected NSSAI)中的一种或多种,以及携带基于允许的NSSAI生成的AM策略。Step 907: The Registration Accept message sent by the old AMF to the UE carries one or more of allowed NSSAI (Allowed NSSAI), pending NSSAI (Pending NSSAI), and rejected NSSAI (Rejected NSSAI), and Carry the AM policy generated based on the allowed NSSAI.
需要注意的是,本发明中,步骤907中old AMF确定请求的NSSAI中的S-NSSAI需要执行NSSAA的方法同步骤503,不再赘述。It should be noted that, in the present invention, in step 907, the old AMF determines that the S-NSSAI in the requested NSSAI needs to execute NSSAA. The method is the same as that in step 503, and will not be repeated.
可选的,old AMF还可以向UE发送待定原因值:等待NSSAA,该原因值用来指示UE:那些需要进行NSSAA的S-NSSAI是待定(pending)状态。Optionally, the old AMF may also send a pending cause value to the UE: waiting for NSSAA, and the cause value is used to indicate to the UE that those S-NSSAIs that require NSSAA are in a pending state.
可选的,对于Rejected NSSAI,old AMF还可以向UE发送拒绝原因值:当前区域不可用。Optionally, for Rejected NSSAI, old AMF may also send a rejection reason value to the UE: the current area is not available.
其中,Allowed NSSAI包含请求的NSSAI中的不需要进行NSSAA的S-NSSAI,Pending NSSAI包含请求的NSSAI中的需要进行NSSAA的S-NSSAI,Rejected NSSAI包含请求的NSSAI中的UE在当前区域不可用的S-NSSAI。Among them, Allowed NSSAI includes S-NSSAI in the requested NSSAI that does not require NSSAA, Pending NSSAI includes S-NSSAI in the requested NSSAI that requires NSSAA, and Rejected NSSAI includes the UE in the requested NSSAI that is not available in the current area. S-NSSAI.
举例1:UE携带的Requested NSSAI包括S-NSSAI-1、S-NSSAI-2和S-NSSAI-3,其中S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程,则例如Allowed NSSAI=S-NSSAI-3,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,待定原因值:等待NSSAA。Rejected NSSAI为空。Example 1: The Requested NSSAI carried by the UE includes S-NSSAI-1, S-NSSAI-2, and S-NSSAI-3. Among them, S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, and S-NSSAI-3 does not The NSSAA process needs to be executed, for example, Allowed NSSAI=S-NSSAI-3, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, and the pending reason value: waiting for NSSAA. Rejected NSSAI is empty.
举例2:例如UE携带的Requested NSSAI为S-NSSAI-A、S-NSSAI-B和S-NSSAI-C,其中S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,S-NSSAI-C与S-NSSAI-3映射,且S-NSSAI-1和S-NSSAI-2需要执行NSSAA流程,S-NSSAI-3不需要执行NSSAA流程,则Allowed NSSAI=S-NSSAI-C,Pending NSSAI=S-NSSAI-A+S-NSSAI-B,待定原因值:等待NSSAA。Rejected NSSAI为空。Example 2: For example, the Requested NSSAI carried by the UE is S-NSSAI-A, S-NSSAI-B, and S-NSSAI-C, where S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S- NSSAI-2 mapping, S-NSSAI-C and S-NSSAI-3 mapping, and S-NSSAI-1 and S-NSSAI-2 need to perform the NSSAA process, S-NSSAI-3 does not need to perform the NSSAA process, then Allowed NSSAI= S-NSSAI-C, Pending NSSAI=S-NSSAI-A+S-NSSAI-B, pending reason value: waiting for NSSAA. Rejected NSSAI is empty.
同时,old AMF将该步骤中的Allowed NSSAI存储在old AMF上的UE的上下文中。At the same time, the old AMF stores the Allowed NSSAI in this step in the context of the UE on the old AMF.
步骤907之后,还包括步骤907a、步骤907b和步骤907c:After step 907, it also includes step 907a, step 907b, and step 907c:
步骤907a,old AMF基于NRF返回的PCF ID,向该PCF发送UE策略关联建立(UE Policy Association Establishment)请求。Step 907a: Based on the PCF ID returned by the NRF, the old AMF sends a UE Policy Association Establishment (UE Policy Association) request to the PCF.
比如,old AMF调用PCF的服务化操作:Npcf_UEPolicyControl Create Request,其中携带SUPI。For example, old AMF calls PCF's servicing operation: Npcf_UEPolicyControl Create Request, which carries SUPI.
步骤907b,PCF向old AMF发送UE策略(UE policy)。In step 907b, the PCF sends a UE policy (UE policy) to the old AMF.
比如,PCF向old AMF返回Npcf_UEPolicyControl Create Response,其中携带UE policy。For example, PCF returns Npcf_UEPolicyControl Create Response to old AMF, which carries UE policy.
UE policy包括但是不限于:UE接入选择策略(如接入网络发现和选择策略),PDU会话选择相关的策略(如UE路由选择策略)。The UE policy includes but is not limited to: UE access selection strategy (such as access network discovery and selection strategy), and PDU session selection-related strategies (such as UE routing selection strategy).
步骤907c,old AMF向UE发送配置更新请求(configuration update request)消息,其中携带UE策略。Step 907c: The old AMF sends a configuration update request (configuration update request) message to the UE, which carries the UE policy.
步骤908,old AMF对待定的S-NSSAI执行NSSAA流程。In step 908, the old AMF executes the NSSAA process for the pending S-NSSAI.
例如,接着上述示例中的举例1,Pending NSSAI=S-NSSAI-1+S-NSSAI-2,由于S-NSSAI-1和S-NSSAI-2均是HPLMN S-NSSAI,则old AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。接着上述示例中的举例2,Pending NSSAI=S-NSSAI-A和S-NSSAI-B,由于S-NSSAI-A与S-NSSAI-1映射,S-NSSAI-B与S-NSSAI-2映射,则AMF对S-NSSAI-1和S-NSSAI-2执行NSSAA流程。若S-NSSAI-1的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-A;若S-NSSAI-1的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-A的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-A。若S-NSSAI-2的NSSAA结果为NSSAA成功,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA成功,则允许接入S-NSSAI-B;若S-NSSAI-2的NSSAA结果为NSSAA失败,也可以理解为S-NSSAI-B的NSSAA结果为NSSAA失败,则拒绝接入S-NSSAI-B。For example, following the example 1 in the above example, Pending NSSAI=S-NSSAI-1+S-NSSAI-2, since both S-NSSAI-1 and S-NSSAI-2 are HPLMN S-NSSAI, then old AMF is against S- NSSAI-1 and S-NSSAI-2 execute the NSSAA process. Following example 2 in the above example, Pending NSSAI=S-NSSAI-A and S-NSSAI-B, since S-NSSAI-A is mapped to S-NSSAI-1, and S-NSSAI-B is mapped to S-NSSAI-2, Then AMF executes the NSSAA process on S-NSSAI-1 and S-NSSAI-2. If the NSSAA result of S-NSSAI-1 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-A is NSSAA success, then access to S-NSSAI-A is allowed; if the NSSAA result of S-NSSAI-1 is NSSAA Failure can also be understood as the NSSAA result of S-NSSAI-A is NSSAA failure, and then access to S-NSSAI-A is denied. If the NSSAA result of S-NSSAI-2 is NSSAA success, it can also be understood that the NSSAA result of S-NSSAI-B is NSSAA success, then access to S-NSSAI-B is allowed; if the NSSAA result of S-NSSAI-2 is NSSAA Failure can also be understood as the result of NSSAA of S-NSSAI-B as NSSAA failure, and access to S-NSSAI-B is denied.
该步骤908为可选步骤,当有需要执行NSSAA流程的S-NSSAI存在时,则执行步骤908。否则不执行步骤908。This step 908 is an optional step. When there is an S-NSSAI that needs to execute the NSSAA process, step 908 is executed. Otherwise, step 908 is not executed.
需要注意的是,如果需要执行NSSAA流程的S-NSSAI存在多个,步骤908可以多次执行。It should be noted that if there are multiple S-NSSAIs that need to execute the NSSAA process, step 908 can be executed multiple times.
步骤909,当NSSAA流程执行完成之后,AMF根据该流程的结果判断是否需要更新UE的Allowed NSSAI,如果存在NSSAA成功的切片,则将NSSAA成功的切片对应的S-NSSAI添加到步骤907中发送至UE的Allowed NSSAI中,得到新的Allowed NSSAI(new Allowed NSSAI)。In step 909, after the execution of the NSSAA process is completed, the AMF determines whether the Allowed NSSAI of the UE needs to be updated according to the result of the process. If there is a successful NSSAA slice, the S-NSSAI corresponding to the successful NSSAA slice is added to step 907 and sent to In the Allowed NSSAI of the UE, a new Allowed NSSAI (new Allowed NSSAI) is obtained.
可选的,该步骤中,AMF还确定Rejected NSSAI,Rejected NSSAI中包含Pending NSSAI中的NSSAA失败的切片对应的S-NSSAI。Optionally, in this step, the AMF also determines Rejected NSSAI, and the Rejected NSSAI includes the S-NSSAI corresponding to the NSSAA failed slice in the Pending NSSAI.
以上述例子中的举例1继续说明,如果S-NSSAI-1的NSSAA结果为NSSAA成功,S-NSSAI-2的NSSAA结果为NSSAA失败,则AMF根据步骤907中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-1添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-1+S-NSSAI-3。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-2,可选的,还生成拒绝原因值:NSSAA失败。以上述例子中的举例2继续说明,如果S-NSSAI-A的NSSAA结果为NSSAA成功,S-NSSAI-B的NSSAA结果为NSSAA失败,则AMF根据步骤907中存储在UE的上下文中的Allowed NSSAI,将S-NSSAI-A添加到UE的Allowed NSSAI中,即Allowed NSSAI更新为:S-NSSAI-A+S-NSSAI-C。以及生成拒绝的NSSAI,拒绝的NSSAI包括S-NSSAI-B,可选的,还生成拒绝原因值:NSSAA失 败。Continuing the description with Example 1 in the above example, if the NSSAA result of S-NSSAI-1 is NSSAA success, and the NSSAA result of S-NSSAI-2 is NSSAA failure, then AMF will store the Allowed NSSAI in the context of the UE in step 907. , Add S-NSSAI-1 to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-1+S-NSSAI-3. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-2. Optionally, it also generates a rejection reason value: NSSAA failed. Continuing the description with Example 2 in the above example, if the NSSAA result of S-NSSAI-A is NSSAA success, and the NSSAA result of S-NSSAI-B is NSSAA failure, the AMF is based on the Allowed NSSAI stored in the context of the UE in step 907 , Add S-NSSAI-A to the Allowed NSSAI of the UE, that is, the Allowed NSSAI is updated to: S-NSSAI-A+S-NSSAI-C. And generate a rejected NSSAI. The rejected NSSAI includes S-NSSAI-B. Optionally, it also generates a rejection reason value: NSSAA failed.
步骤910,如果当前AMF(即old AMF)不能继续服务UE,则old AMF需要触发AMF reallocation。同时,old AMF在UE的上下文中设置指示信息,用于指示allowed NSSAI change满足Policy Control Request Triggers。Step 910: If the current AMF (ie, old AMF) cannot continue to serve the UE, the old AMF needs to trigger the AMF reallocation. At the same time, the old AMF sets indication information in the context of the UE to indicate that the allowed NSSAI change satisfies the Policy Control Request Triggers.
当前AMF不能继续服务UE指的是,当前AMF不支持步骤709中确定的new Allowed NSSAI,所以AMF需要改变。The current AMF cannot continue to serve the UE means that the current AMF does not support the new Allowed NSSAI determined in step 709, so the AMF needs to be changed.
可选的,old AMF还将从PCF获取的策略控制请求触发器(Policy Control Request Triggers)添加到UE的上下文。Optionally, the old AMF also adds the policy control request triggers (Policy Control Request Triggers) obtained from the PCF to the context of the UE.
步骤911,old AMF向UE发送配置更新请求消息,其中携带new Allowed NSSAI和指示信息),该指示信息用于指示UE收到new Allowed NSSAI之后,立即使用new Allowed NSSAI作为requested NSSAI发起注册流程。Step 911: The old AMF sends a configuration update request message to the UE, which carries new Allowed NSSAI and indication information. The indication information is used to instruct the UE to use the new Allowed NSSAI as the requested NSSAI to initiate a registration process immediately after receiving the new Allowed NSSAI.
步骤912,UE根据new Allowed NSSAI以及指示信息,发起注册流程。在该注册流程中,UE注册到新的AMF(new AMF),即new AMF服务UE,其中new AMF支持new Allowed NSSAI所指示的切片。Step 912, the UE initiates a registration process according to the new Allowed NSSAI and the instruction information. In this registration process, the UE registers with a new AMF (new AMF), that is, the new AMF serves the UE, where the new AMF supports the slice indicated by the new Allowed NSSAI.
UE在注册流程中发送Requested NSSAI,该Requested NSSAI包含上述步骤709中的new Allowed NSSAI。The UE sends a Requested NSSAI during the registration process, and the Requested NSSAI includes the new Allowed NSSAI in step 709.
步骤913,new AMF从old AMF请求获取到UE的上下文。Step 913, the new AMF obtains the context of the UE from the old AMF request.
由于old AMF选择了PCF,old AMF上的UE的上下文中包含PCF ID以及指示信息,该指示信息用于指示allowed NSSAI change满足Policy Control Request Triggers。或者理解为,该指示信息用于指示new AMF从PCF获取新的策略。因此new AMF从old AMF中获取PCF ID以及指示信息,并根据指示信息触发从PCF获取更新的策略。Since the old AMF selects the PCF, the context of the UE on the old AMF contains the PCF ID and indication information. The indication information is used to indicate that the allowed NSSAI change satisfies the Policy Control Request Triggers. Or it can be understood that the indication information is used to instruct the new AMF to obtain a new policy from the PCF. Therefore, the new AMF obtains the PCF ID and indication information from the old AMF, and triggers the acquisition of an updated policy from the PCF according to the indication information.
步骤914,new AMF为UE确定new Allowed NSSAI,并存储在UE的上下文中。Step 914: The new AMF determines the new Allowed NSSAI for the UE and stores it in the context of the UE.
需要说明的是,new AMF确定的UE的new Allowed NSSAI与步骤709中old AMF确定的new Allowed NSSAI可能相同或者不同。这是因为,new AMF还需要进一步根据当前网络中切片的拥塞情况,为UE确定最终的Allowed NSSAI。It should be noted that the new Allowed NSSAI of the UE determined by the new AMF may be the same or different from the new Allowed NSSAI determined by the old AMF in step 709. This is because the new AMF needs to further determine the final Allowed NSSAI for the UE based on the congestion of the current network slice.
步骤915,new AMF根据UE的上下文中的指示信息,决定向PCF发送AM策略关联修改(AM Policy Association Modification)请求。该AM策略关联修改请求中包含SUPI和new Allowed NSSAI,该new Allowed NSSAI为步骤714确定的new Allowed NSSAI。Step 915: The new AMF decides to send an AM Policy Association Modification (AM Policy Association Modification) request to the PCF according to the indication information in the context of the UE. The AM policy association modification request includes SUPI and new Allowed NSSAI, and the new Allowed NSSAI is the new Allowed NSSAI determined in step 714.
也即,new AMF确定allowed NSSAI发生改变,确定触发了Policy Control Request Triggers,因而向PCF重新请求新的AM策略。That is, the new AMF determines that the allowed NSSAI has changed, and the Policy Control Request Triggers is determined to be triggered, so it re-requests the PCF for a new AM policy.
比如,new AMF调用PCF的服务化操作:Npcf_AMPolicyControl_Update,其中携带SUPI,new Allowed NSSAI)。For example, new AMF calls the PCF service operation: Npcf_AMPolicyControl_Update, which carries SUPI, new Allowed NSSAI).
步骤916,PCF向AMF发送基于new Allowed NSSAI生成的AM策略(AM policy for new Allowed NSSAI)。In step 916, the PCF sends an AM policy (AM policy for new Allowed NSSAI) generated based on the new Allowed NSSAI to the AMF.
比如,PCF向new AMF返回Npcf_AMPolicyControl_Update Response,其中携带AM policy for new Allowed NSSAI。For example, PCF returns Npcf_AMPolicyControl_Update Response to new AMF, which carries AM policy for new Allowed NSSAI.
步骤917,new AMF向UE发送注册接受消息,其中携带new Allowed NSSAI和基于new Allowed NSSAI生成的AM策略。Step 917: The new AMF sends a registration acceptance message to the UE, which carries the new Allowed NSSAI and the AM policy generated based on the new Allowed NSSAI.
基于该实施例,在注册流程中,old AMF使用现有技术的方法,用Allowed NSSAI来选择PCF。new AMF可以根据old AMF存储于UE的上下文中的指示信息,触发从PCF 获取新的AM策略,以及new AMF可以根据requested NSSAI确定new Allowed NSSAI,并将新的AM策略发送至UE。Based on this embodiment, in the registration process, old AMF uses the method of the prior art and Allowed NSSAI to select PCF. The new AMF may trigger the acquisition of a new AM policy from the PCF according to the indication information stored in the context of the UE by the old AMF, and the new AMF may determine the new Allowed NSSAI according to the requested NSSAI, and send the new AM policy to the UE.
上述主要从各个网元之间交互的角度对本申请提供的方案进行了介绍。可以理解的是,上述实现各网元为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing mainly introduces the solution provided in this application from the perspective of interaction between various network elements. It can be understood that, in order to realize the above-mentioned functions, each network element described above includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the present invention.
可以理解的是,上述各个方法实施例中,对应由终端设备实现的步骤或者操作,也可以由配置于终端设备的部件(例如芯片或者电路)实现,对应由接入设备实现的步骤或者操作,也可以由配置于接入设备的部件(例如芯片或者电路)实现,对应由策略控制网元实现的步骤或者操作,也可以由配置于策略控制网元的部件(例如芯片或者电路)实现。It can be understood that, in each of the foregoing method embodiments, corresponding to the steps or operations implemented by the terminal device, they can also be implemented by components (such as chips or circuits) configured in the terminal device, corresponding to the steps or operations implemented by the access device. It can also be implemented by a component (such as a chip or circuit) configured on the access device, corresponding to the steps or operations implemented by the policy control network element, or can be implemented by a component (such as a chip or circuit) configured on the policy control network element.
参考图10,为本申请实施例提供的一种通信装置的示意图。该装置用于实现上述方法实施例中对应移动性管理网元、或第一移动性管理网元、或第二移动性管理网元所执行的各个步骤,如图10所示,该装置1000包括获取单元1010、确定单元1020和选择单元1030。可选的,还包括接收单元1040、发送单元1050和设置单元1060。Refer to FIG. 10, which is a schematic diagram of a communication device provided by an embodiment of this application. The device is used to implement the steps performed by the corresponding mobility management network element, or the first mobility management network element, or the second mobility management network element in the foregoing method embodiment. As shown in FIG. 10, the device 1000 includes The acquiring unit 1010, the determining unit 1020, and the selecting unit 1030. Optionally, it further includes a receiving unit 1040, a sending unit 1050, and a setting unit 1060.
在第一个实施例中:In the first embodiment:
确定单元1020,用于在第一切片执行切片鉴权之后,确定允许的网络切片选择辅助信息NSSAI,所述允许的NSSAI包括允许终端设备接入的切片的标识信息,所述第一切片为所述终端设备请求接入的切片中需要执行切片鉴权的切片;选择单元1030,用于根据所述允许的NSSAI,选择策略控制网元;其中,所述通信装置服务所述允许的NSSAI对应的切片。The determining unit 1020 is configured to determine the allowed network slice selection auxiliary information NSSAI after the first slice performs slice authentication, where the allowed NSSAI includes the identification information of the slice that the terminal device is allowed to access, and the first slice Among the slices for which access is requested for the terminal device, slices that need to perform slice authentication; a selection unit 1030, configured to select a policy control network element according to the allowed NSSAI; wherein, the communication device serves the allowed NSSAI The corresponding slice.
在一种可能的实现方法中,获取单元1010,用于从所述策略控制网元获取与所述允许的NSSAI关联的第一策略。In a possible implementation method, the obtaining unit 1010 is configured to obtain the first policy associated with the allowed NSSAI from the policy control network element.
在一种可能的实现方法中,接收单元1040,用于在所述第一切片执行切片鉴权之前,在注册流程中接收来自所述终端设备的请求的NSSAI,所述请求的NSSAI包括所述终端设备请求接入的切片的标识信息;所述确定单元1020,还用于确定所述请求接入的切片中的所述第一切片需要执行切片鉴权,则确定在所述注册流程中不选择策略控制网元。In a possible implementation method, the receiving unit 1040 is configured to receive the requested NSSAI from the terminal device in the registration process before the first slice performs slice authentication, and the requested NSSAI includes all The identification information of the slice that the terminal device requests to access; the determining unit 1020 is further configured to determine that the first slice in the slice that is requested to access needs to perform slice authentication, and then it is determined in the registration process The policy control network element is not selected.
在一种可能的实现方法中,所述选择单元1030,具体用于从第二移动性管理网元获取所述终端设备的上下文,所述终端设备的上下文中不包括策略控制网元的信息,所述第二移动性管理网元为在注册流程中,从所述终端设备接收请求的NSSAI的网元,所述请求的NSSAI包括所述终端设备请求接入的切片的标识信息;根据所述终端设备的上下文和所述允许的NSSAI,选择所述策略控制网元。In a possible implementation method, the selection unit 1030 is specifically configured to obtain the context of the terminal device from the second mobility management network element, and the context of the terminal device does not include the information of the policy control network element, The second mobility management network element is a network element that receives the requested NSSAI from the terminal device during the registration process, and the requested NSSAI includes the identification information of the slice that the terminal device requests to access; The context of the terminal device and the allowed NSSAI select the policy control network element.
在一种可能的实现方法中,当所述第一切片执行切片鉴权成功,所述允许的NSSAI包括所述第一切片的标识信息;或者,当所述第一切片执行切片鉴权失败,所述允许的NSSAI不包括所述第一切片的标识信息。In a possible implementation method, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or, when the first slice performs slice authentication If the permission fails, the allowed NSSAI does not include the identification information of the first slice.
在第二个实施例中:In the second embodiment:
确定单元1020,用于确定第一NSSAI,所述第一NSSAI包括第一允许的NSSAI和待定的NSSAI,或者所述第一NSSAI包括终端设备的签约的NSSAI,所述待定的NSSAI包括所述终端设备请求接入的切片中的需要执行切片鉴权的切片的标识信息;选择单元1030,用于根据所述第一NSSAI,选择策略控制网元。The determining unit 1020 is configured to determine a first NSSAI, where the first NSSAI includes a first allowed NSSAI and a pending NSSAI, or the first NSSAI includes a contracted NSSAI of a terminal device, and the pending NSSAI includes the terminal Identification information of the slice that needs to perform slice authentication among the slices that the device requests to access; the selection unit 1030 is configured to select a policy control network element according to the first NSSAI.
在一种可能的实现方法中,获取单元1010,用于从所述策略控制网元获取与所述第一允许的NSSAI关联的第一策略。In a possible implementation method, the obtaining unit 1010 is configured to obtain the first policy associated with the first allowed NSSAI from the policy control network element.
在一种可能的实现方法中,所述确定单元1020,还用于在所述待定的NSSAI对应的切片执行切片鉴权之后,确定第二允许的NSSAI,所述第二允许的NSSAI包括所述待定的NSSAI中执行切片鉴权成功的切片的标识信息;获取单元1010,用于从所述策略控制网元获取与所述第二允许的NSSAI关联的第二策略。In a possible implementation method, the determining unit 1020 is further configured to determine a second allowed NSSAI after the slice corresponding to the pending NSSAI performs slice authentication, and the second allowed NSSAI includes the Identification information of the slice that successfully performs slice authentication in the pending NSSAI; the obtaining unit 1010 is configured to obtain the second policy associated with the second allowed NSSAI from the policy control network element.
在一种可能的实现方法中,发送单元1050,用于若所述通信装置无法服务所述第二允许的NSSAI,向所述终端设备发送所述第二策略。In a possible implementation method, the sending unit 1050 is configured to send the second policy to the terminal device if the communication device cannot serve the second allowed NSSAI.
在一种可能的实现方法中,所述确定单元1020,还用于在所述待定的NSSAI对应的切片执行切片鉴权之后,确定第二允许的NSSAI,所述第二允许的NSSAI包括所述待定的NSSAI中执行切片鉴权成功的切片的标识信息;设置单元1060,用于若所述通信装置无法服务所述第二允许的NSSAI,在所述终端设备的上下文中设置第一指示信息,所述第一指示信息用于指示第二移动性管理网元向所述策略控制网元获取策略。In a possible implementation method, the determining unit 1020 is further configured to determine a second allowed NSSAI after the slice corresponding to the pending NSSAI performs slice authentication, and the second allowed NSSAI includes the Identification information of the slice that successfully performs slice authentication in the pending NSSAI; the setting unit 1060 is configured to set first indication information in the context of the terminal device if the communication device cannot serve the second allowed NSSAI, The first indication information is used to instruct the second mobility management network element to obtain a policy from the policy control network element.
在第三个实施例中:In the third embodiment:
获取单元1010,用于从第一移动性管理网元获取终端设备的上下文,所述终端设备的上下文包括策略控制网元的标识信息和第一指示信息;以及,根据所述第一指示信息,从所述策略控制网元获取与允许的NSSAI关联的策略。确定单元1020,用于确定所述允许的NSSAI。The obtaining unit 1010 is configured to obtain a context of a terminal device from a first mobility management network element, where the context of the terminal device includes identification information of the policy control network element and first indication information; and, according to the first indication information, Obtain the policy associated with the allowed NSSAI from the policy control network element. The determining unit 1020 is configured to determine the allowed NSSAI.
在一种可能的实现方法中,所述第一指示信息用于指示所述通信装置向所述策略控制网元获取策略。In a possible implementation method, the first indication information is used to instruct the communication device to obtain a policy from the policy control network element.
在第四个实施例中:In the fourth embodiment:
确定单元1020,用于在第一切片执行切片鉴权之后,确定允许的NSSAI,允许的NSSAI包括允许终端设备接入的切片的标识信息,第一切片为终端设备请求接入的切片中需要执行切片鉴权的切片;获取单元1010,用于从策略控制网元获取与允许的NSSAI关联的第一策略;发送单元1050,用于在终端设备的上下文中存储第一策略和指示信息,指示信息用于指示第二移动性管理网元将第一策略发送至终端设备。The determining unit 1020 is configured to determine the allowed NSSAI after the first slice performs slice authentication, the allowed NSSAI includes identification information of the slice that the terminal device is allowed to access, and the first slice is the slice that the terminal device requests to access The slice that needs to perform slice authentication; the obtaining unit 1010 is used to obtain the first policy associated with the allowed NSSAI from the policy control network element; the sending unit 1050 is used to store the first policy and instruction information in the context of the terminal device, The indication information is used to instruct the second mobility management network element to send the first policy to the terminal device.
在一种可能的实现方法中,当第一切片执行切片鉴权成功,允许的NSSAI包括第一切片的标识信息;或者,当第一切片执行切片鉴权失败,允许的NSSAI不包括第一切片的标识信息。In a possible implementation method, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
在第五个实施例中:In the fifth embodiment:
确定单元1020,用于在第一切片执行切片鉴权之后,确定允许的NSSAI,允许的NSSAI包括允许终端设备接入的切片的标识信息,第一切片为终端设备请求接入的切片中需要执行切片鉴权的切片;设置单元1060,用于若通信装置无法服务允许的NSSAI,在终端设备 的上下文中设置策略控制网元的标识信息和第一指示信息,第一指示信息用于指示第二移动性管理网元向策略控制网元获取策略。发送单元1050,用于向终端设备发送允许的NSSAI和第二指示信息,第二指示信息用于指示终端设备根据允许的NSSAI注册到第二移动性管理网元。The determining unit 1020 is configured to determine the allowed NSSAI after the first slice performs slice authentication, the allowed NSSAI includes identification information of the slice that the terminal device is allowed to access, and the first slice is the slice that the terminal device requests to access The slice that needs to perform slice authentication; the setting unit 1060 is used to set the identification information and first indication information of the policy control network element in the context of the terminal device if the communication device cannot serve the allowed NSSAI, and the first indication information is used to indicate The second mobility management network element obtains the policy from the policy control network element. The sending unit 1050 is configured to send the allowed NSSAI and second indication information to the terminal device, where the second indication information is used to instruct the terminal device to register with the second mobility management network element according to the allowed NSSAI.
在一种可能的实现方法中,当第一切片执行切片鉴权成功,允许的NSSAI包括第一切片的标识信息;或者,当第一切片执行切片鉴权失败,允许的NSSAI不包括第一切片的标识信息。In a possible implementation method, when the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or, when the first slice fails to perform slice authentication, the allowed NSSAI does not include Identification information of the first slice.
可以理解的是,上述各个单元也可以称为模块或者电路等,并且上述各个单元可以独立设置,也可以全部或者部分集成。It can be understood that each of the above-mentioned units may also be referred to as a module or a circuit, etc., and each of the above-mentioned units may be provided independently, or may be fully or partially integrated.
一些可能的实现方式中,上述接收单元1040和发送单元1050也可以通过收发单元实现,或者说接收单元1040和发送单元1050也可以统称为收发单元。上述获取单元1010、确定单元1020、选择单元1030和设置单元1060也可以通过处理单元实现,或者说获取单元1010、确定单元1020、选择单元1030和设置单元1060也可以统称为处理单元。In some possible implementation manners, the foregoing receiving unit 1040 and sending unit 1050 may also be implemented by a transceiving unit, or in other words, the receiving unit 1040 and the sending unit 1050 may also be collectively referred to as a transceiving unit. The above-mentioned acquisition unit 1010, determination unit 1020, selection unit 1030, and setting unit 1060 may also be implemented by processing units, or the acquisition unit 1010, determination unit 1020, selection unit 1030, and setting unit 1060 may also be collectively referred to as processing units.
上述接收单元1040、发送单元1050或者收发单元也可称为通信接口,上述处理单元也可以称为处理器。The foregoing receiving unit 1040, sending unit 1050, or transceiving unit may also be referred to as a communication interface, and the foregoing processing unit may also be referred to as a processor.
可选的,上述通信装置1000还可以包括存储单元,该存储单元用于存储数据或者指令(也可以称为代码或者程序),上述各个单元可以和存储单元交互或者耦合,以实现对应的方法或者功能。例如,处理单元可以读取存储单元中的数据或者指令,使得通信装置实现上述实施例中的方法。Optionally, the above-mentioned communication device 1000 may further include a storage unit for storing data or instructions (also referred to as codes or programs), and each of the above-mentioned units may interact or couple with the storage unit to implement the corresponding method or Function. For example, the processing unit may read data or instructions in the storage unit, so that the communication device implements the method in the foregoing embodiment.
应理解以上装置中单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且装置中的单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元以软件通过处理元件调用的形式实现,部分单元以硬件的形式实现。例如,各个单元可以为单独设立的处理元件,也可以集成在装置的某一个芯片中实现,此外,也可以以程序的形式存储于存储器中,由装置的某一个处理元件调用并执行该单元的功能。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件又可以成为处理器,可以是一种具有信号的处理能力的集成电路。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路实现或者以软件通过处理元件调用的形式实现。It should be understood that the division of units in the above device is only a division of logical functions, and may be fully or partially integrated into one physical entity in actual implementation, or may be physically separated. In addition, the units in the device can be all implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; part of the units can also be implemented in the form of software called by the processing elements, and some of the units can be implemented in the form of hardware. For example, each unit can be a separate processing element, or it can be integrated in a certain chip of the device for implementation. In addition, it can also be stored in the memory in the form of a program, which is called and executed by a certain processing element of the device. Function. In addition, all or part of these units can be integrated together or implemented independently. The processing element described here can also become a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above units may be implemented by an integrated logic circuit of hardware in a processor element or implemented in a form of being called by software through a processing element.
在一个例子中,以上任一装置中的单元可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,ASIC),或,一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA),或这些集成电路形式中至少两种的组合。再如,当装置中的单元可以通过处理元件调度程序的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)或其它可以调用程序的处理器。再如,这些单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。In an example, the unit in any of the above devices may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (ASICs), or, one or Multiple microprocessors (digital singnal processors, DSPs), or, one or more field programmable gate arrays (Field Programmable Gate Arrays, FPGAs), or a combination of at least two of these integrated circuits. For another example, when the unit in the device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call programs. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
以上用于接收的单元(例如接收单元)是一种该装置的接口电路,用于从其它装置接收信号。例如,当该装置以芯片的方式实现时,该接收单元是该芯片用于从其它芯片或装置接收信号的接口电路。以上用于发送的单元(例如发送单元)是一种该装置的接口电路,用于向其它装置发送信号。例如,当该装置以芯片的方式实现时,该发送单元是该芯片用于向其它芯片或装置发送信号的接口电路。The above receiving unit (for example, the receiving unit) is an interface circuit of the device for receiving signals from other devices. For example, when the device is implemented as a chip, the receiving unit is an interface circuit used by the chip to receive signals from other chips or devices. The above unit for sending (for example, the sending unit) is an interface circuit of the device for sending signals to other devices. For example, when the device is implemented in the form of a chip, the sending unit is an interface circuit used by the chip to send signals to other chips or devices.
参考图11,为本申请实施例提供的一种移动性管理网元的结构示意图,用于实现以上实施例中移动性管理网元、或第一移动性管理网元、或第二移动性管理网元的操作。如图11所示,该移动性管理网元包括:处理器1110和接口1130,可选的,还包括存储器1120。该接口1130用于实现与其他设备进行通信。Referring to FIG. 11, this is a schematic structural diagram of a mobility management network element provided by an embodiment of this application, which is used to implement the mobility management network element, or the first mobility management network element, or the second mobility management network in the above embodiments. Meta operations. As shown in FIG. 11, the mobility management network element includes: a processor 1110, an interface 1130, and optionally, a memory 1120. The interface 1130 is used to implement communication with other devices.
以上实施例中移动性管理网元执行的方法可以通过处理器1110调用存储器(可以是移动性管理网元中的存储器1120,也可以是外部存储器)中存储的程序来实现。即,用于移动性管理网元的装置可以包括处理器1110,该处理器1110通过调用存储器中的程序,以执行以上方法实施例中的移动性管理网元执行的方法。这里的处理器可以是一种具有信号的处理能力的集成电路,例如CPU。用于移动性管理网元的装置可以通过配置成实施以上方法的一个或多个集成电路来实现。例如:一个或多个ASIC,或,一个或多个微处理器DSP,或,一个或者多个FPGA等,或这些集成电路形式中至少两种的组合。或者,可以结合以上实现方式。The method executed by the mobility management network element in the above embodiment can be implemented by the processor 1110 calling a program stored in a memory (which may be the memory 1120 in the mobility management network element or an external memory). That is, the apparatus for a mobility management network element may include a processor 1110 that calls a program in a memory to execute the method executed by the mobility management network element in the above method embodiment. The processor here may be an integrated circuit with signal processing capability, such as a CPU. The apparatus for the mobility management network element may be implemented by one or more integrated circuits configured to implement the above method. For example: one or more ASICs, or, one or more microprocessors DSP, or, one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms. Or, the above implementations can be combined.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
本领域普通技术人员可以理解:本申请中涉及的第一、第二、第三、第四等各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围,也表示先后顺序。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。“至少一个”是指一个或者多个。至少两个是指两个或者多个。“至少一个”、“任意一个”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个、种),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。“多个”是指两个或两个以上,其它量词与之类似。A person of ordinary skill in the art can understand that the various digital numbers involved in this application, such as the first, second, third, and fourth, are only for the convenience of description and are not used to limit the scope of the embodiments of the present application, but also represent Priority. "And/or" describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. "At least one" means one or more. At least two refers to two or more. "At least one", "any one" or similar expressions refer to any combination of these items, including any combination of a single item (a) or a plurality of items (a). For example, at least one (piece, species) of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or Multiple. "Multiple" refers to two or more than two, and other quantifiers are similar.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present invention. The implementation process constitutes any limitation.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通 过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
本申请实施例中所描述的各种说明性的逻辑单元和电路可以通过通用处理器,数字信号处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信号处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信号处理器核,或任何其它类似的配置来实现。The various illustrative logic units and circuits described in the embodiments of this application can be implemented by general-purpose processors, digital signal processors, application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, Discrete gates or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions. The general-purpose processor may be a microprocessor. Alternatively, the general-purpose processor may also be any traditional processor, controller, microcontroller, or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration. accomplish.
本申请实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件单元、或者这两者的结合。软件单元可以存储于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read-Only Memory,ROM)、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中。The steps of the method or algorithm described in the embodiments of the present application can be directly embedded in hardware, a software unit executed by a processor, or a combination of the two. The software unit can be stored in random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read-Only Memory, ROM), EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM or this Any other storage media in the field. Exemplarily, the storage medium may be connected to the processor, so that the processor can read information from the storage medium, and can store and write information to the storage medium. Optionally, the storage medium may also be integrated into the processor. The processor and the storage medium can be arranged in the ASIC.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
在一个或多个示例性的设计中,本申请所描述的上述功能可以在硬件、软件、固件或这三者的任意组合来实现。如果在软件中实现,这些功能可以存储与电脑可读的媒介上,或以一个或多个指令或代码形式传输于电脑可读的媒介上。电脑可读媒介包括电脑存储媒介和便于使得让电脑程序从一个地方转移到其它地方的通信媒介。存储媒介可以是任何通用或特殊电脑可以接入访问的可用媒体。例如,这样的电脑可读媒体可以包括但不限于RAM、ROM、EEPROM、CD-ROM或其它光盘存储、磁盘存储或其它磁性存储装置,或其它任何可以用于承载或存储以指令或数据结构和其它可被通用或特殊电脑、或通用或特殊处理器读取形式的程序代码的媒介。此外,任何连接都可以被适当地定义为电脑可读媒介,例如,如果软件是从一个网站站点、服务器或其它远程资源通过一个同轴电缆、光纤电脑、双绞线、数字用户线(DSL)或以例如红外、无线和微波等无线方式传输的也被包含在所定义的电脑可读媒介中。所述的碟片(disk)和磁盘(disc)包括压缩磁盘、镭射盘、光盘、数字通用光盘(英文:Digital Versatile Disc,简称:DVD)、软盘和蓝光光盘,磁盘通常以磁性复制数据,而碟片通常以激光进行光学复制数据。上述的组合也可以包含在电脑可读媒介中。In one or more exemplary designs, the aforementioned functions described in this application can be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, these functions can be stored on a computer-readable medium, or transmitted on the computer-readable medium in the form of one or more instructions or codes. Computer-readable media include computer storage media and communication media that facilitate the transfer of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special computer. For example, such computer-readable media may include, but are not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other device that can be used to carry or store instructions or data structures and Other program code media that can be read by general-purpose or special computers, or general-purpose or special processors. In addition, any connection can be appropriately defined as a computer-readable medium, for example, if the software is from a website, server, or other remote source through a coaxial cable, fiber optic computer, twisted pair, or digital subscriber line (DSL) Or transmitted by wireless means such as infrared, wireless and microwave are also included in the definition of computer-readable media. The said disks and discs include compressed disks, laser disks, optical discs, digital versatile discs (English: Digital Versatile Disc, abbreviated as: DVD), floppy disks and Blu-ray discs. Disks usually copy data with magnetism. Discs usually use lasers to copy data optically. The combination of the above can also be contained in a computer readable medium.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in one or more of the foregoing examples, the functions described in this application can be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on the computer-readable medium. The computer-readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。本申请说明书的上述描述可以使得本领域技术任何可以利用或实现本申请的内容,任何基于所公开内容的修改都应该被认为是本领域显而易见的,本申请所描述的基本原则可以应用到其它变形中而不偏离本申请的发明本质和范围。因此,本申请所公开的内容不仅仅局限于所描述的实施例和设计,还可以扩展到与本申请原则和所公开的新特征一致的最大范围。The specific implementations described above further describe the purpose, technical solutions and beneficial effects of this application in detail. It should be understood that the above are only specific implementations of this application and are not intended to limit the scope of this application. The scope of protection, any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of this application shall be included in the scope of protection of this application. The above description of the specification of this application can enable any technology in the field to utilize or realize the content of this application. Any modification based on the disclosed content should be considered obvious in the art. The basic principles described in this application can be applied to other modifications. Without departing from the nature and scope of the invention of this application. Therefore, the content disclosed in this application is not only limited to the described embodiments and designs, but can also be extended to the maximum range consistent with the principles of this application and the new features disclosed.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Although the application has been described in combination with specific features and embodiments, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the application. Accordingly, the specification and drawings are merely exemplary descriptions of the application as defined by the appended claims, and are deemed to cover any and all modifications, changes, combinations or equivalents within the scope of the application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims (30)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    在第一切片执行切片鉴权之后,第一移动性管理网元确定允许的网络切片选择辅助信息NSSAI,所述允许的NSSAI包括允许终端设备接入的切片的标识信息,所述第一切片为所述终端设备请求接入的切片中需要执行切片鉴权的切片;After the slice authentication is performed on the first slice, the first mobility management network element determines the allowed network slice selection auxiliary information NSSAI. The allowed NSSAI includes the identification information of the slices that the terminal device is allowed to access. A slice is a slice for which slice authentication needs to be performed among slices that the terminal device requests to access;
    所述第一移动性管理网元根据所述允许的NSSAI,选择策略控制网元;The first mobility management network element selects a policy control network element according to the allowed NSSAI;
    其中,所述第一移动性管理网元服务所述允许的NSSAI对应的切片。Wherein, the first mobility management network element serves the slice corresponding to the allowed NSSAI.
  2. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1, further comprising:
    所述第一移动性管理网元从所述策略控制网元获取与所述允许的NSSAI关联的第一策略。The first mobility management network element obtains the first policy associated with the allowed NSSAI from the policy control network element.
  3. 如权利要求1或2所述的方法,其特征在于,还包括:The method of claim 1 or 2, further comprising:
    在所述第一切片执行切片鉴权之前,所述第一移动性管理网元在注册流程中接收来自所述终端设备的请求的NSSAI,所述请求的NSSAI包括所述终端设备请求接入的切片的标识信息;Before the first slice performs slice authentication, the first mobility management network element receives the requested NSSAI from the terminal device in the registration process, and the requested NSSAI includes the terminal device requesting access The identification information of the slice;
    所述第一移动性管理网元确定所述请求接入的切片中的所述第一切片需要执行切片鉴权,则确定在所述注册流程中不选择策略控制网元。The first mobility management network element determines that the first slice in the slice requested for access needs to perform slice authentication, and then determines that the policy control network element is not selected in the registration process.
  4. 如权利要求1或2所述的方法,其特征在于,所述第一移动性管理网元根据所述允许的NSSAI,选择策略控制网元,包括:The method according to claim 1 or 2, wherein the first mobility management network element selects a policy control network element according to the allowed NSSAI, comprising:
    所述第一移动性管理网元从第二移动性管理网元获取所述终端设备的上下文,所述终端设备的上下文中不包括策略控制网元的信息,所述第二移动性管理网元为在注册流程中,从所述终端设备接收请求的NSSAI的网元,所述请求的NSSAI包括所述终端设备请求接入的切片的标识信息;The first mobility management network element obtains the context of the terminal device from a second mobility management network element, and the context of the terminal device does not include the information of the policy control network element, and the second mobility management network element In order to receive the requested NSSAI network element from the terminal device in the registration process, the requested NSSAI includes the identification information of the slice to which the terminal device requests access;
    所述第一移动性管理网元根据所述终端设备的上下文和所述允许的NSSAI,选择所述策略控制网元。The first mobility management network element selects the policy control network element according to the context of the terminal device and the allowed NSSAI.
  5. 如权利要求1-4任一所述的方法,其特征在于,The method according to any one of claims 1-4, wherein:
    当所述第一切片执行切片鉴权成功,所述允许的NSSAI包括所述第一切片的标识信息;或者,When the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or,
    当所述第一切片执行切片鉴权失败,所述允许的NSSAI不包括所述第一切片的标识信息。When the slice authentication for the first slice fails, the allowed NSSAI does not include the identification information of the first slice.
  6. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第一移动性管理网元确定第一NSSAI,所述第一NSSAI包括第一允许的NSSAI和待定的NSSAI,或者所述第一NSSAI包括终端设备的签约的NSSAI,所述待定的NSSAI包括所述终端设备请求接入的切片中的需要执行切片鉴权的切片的标识信息;The first mobility management network element determines the first NSSAI, the first NSSAI includes the first allowed NSSAI and the pending NSSAI, or the first NSSAI includes the NSSAI subscribed by the terminal device, and the pending NSSAI includes the Identification information of the slice that needs to perform slice authentication among the slices that the terminal device requests to access;
    所述第一移动性管理网元根据所述第一NSSAI,选择策略控制网元。The first mobility management network element selects a policy control network element according to the first NSSAI.
  7. 如权利要求6所述的方法,其特征在于,还包括:The method of claim 6, further comprising:
    所述第一移动性管理网元从所述策略控制网元获取与所述第一允许的NSSAI关联的第一策略。The first mobility management network element obtains the first policy associated with the first allowed NSSAI from the policy control network element.
  8. 如权利要求6或7所述的方法,其特征在于,还包括:The method according to claim 6 or 7, further comprising:
    在所述待定的NSSAI对应的切片执行切片鉴权之后,所述第一移动性管理网元确定第 二允许的NSSAI,所述第二允许的NSSAI包括所述待定的NSSAI中执行切片鉴权成功的切片的标识信息;After performing slice authentication on the slice corresponding to the pending NSSAI, the first mobility management network element determines a second allowed NSSAI, and the second allowed NSSAI includes the successful execution of slice authentication in the pending NSSAI The identification information of the slice;
    所述第一移动性管理网元从所述策略控制网元获取与所述第二允许的NSSAI关联的第二策略。The first mobility management network element obtains a second policy associated with the second allowed NSSAI from the policy control network element.
  9. 如权利要求8所述的方法,其特征在于,还包括:The method of claim 8, further comprising:
    若所述第一移动性管理网元无法服务所述第二允许的NSSAI,所述第一移动性管理网元向所述终端设备发送所述第二策略。If the first mobility management network element cannot serve the second allowed NSSAI, the first mobility management network element sends the second policy to the terminal device.
  10. 如权利要求6或7所述的方法,其特征在于,还包括:The method according to claim 6 or 7, further comprising:
    在所述待定的NSSAI对应的切片执行切片鉴权之后,所述第一移动性管理网元确定第二允许的NSSAI,所述第二允许的NSSAI包括所述待定的NSSAI中执行切片鉴权成功的切片的标识信息;After performing slice authentication on the slice corresponding to the pending NSSAI, the first mobility management network element determines a second allowed NSSAI, and the second allowed NSSAI includes the successful execution of slice authentication in the pending NSSAI The identification information of the slice;
    若所述第一移动性管理网元无法服务所述第二允许的NSSAI,所述第一移动性管理网元在所述终端设备的上下文中设置第一指示信息,所述第一指示信息用于指示第二移动性管理网元向所述策略控制网元获取策略。If the first mobility management network element cannot serve the second permitted NSSAI, the first mobility management network element sets first indication information in the context of the terminal device, and the first indication information is used Instructing the second mobility management network element to obtain a policy from the policy control network element.
  11. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第二移动性管理网元从第一移动性管理网元获取终端设备的上下文,所述终端设备的上下文包括策略控制网元的标识信息和第一指示信息;The second mobility management network element obtains the context of the terminal device from the first mobility management network element, where the context of the terminal device includes the identification information of the policy control network element and the first indication information;
    所述第二移动性管理网元确定允许的NSSAI;The second mobility management network element determines the allowed NSSAI;
    所述第二移动性管理网元根据所述第一指示信息,从所述策略控制网元获取与所述允许的NSSAI关联的策略。The second mobility management network element obtains the policy associated with the allowed NSSAI from the policy control network element according to the first indication information.
  12. 如权利要求11所述的方法,其特征在于,所述第一指示信息用于指示所述第二移动性管理网元向所述策略控制网元获取策略。The method according to claim 11, wherein the first indication information is used to instruct the second mobility management network element to obtain a policy from the policy control network element.
  13. 一种通信装置,其特征在于,包括:A communication device, characterized in that it comprises:
    确定单元,用于在第一切片执行切片鉴权之后,确定允许的网络切片选择辅助信息NSSAI,所述允许的NSSAI包括允许终端设备接入的切片的标识信息,所述第一切片为所述终端设备请求接入的切片中需要执行切片鉴权的切片;The determining unit is configured to determine the allowed network slice selection auxiliary information NSSAI after the first slice performs slice authentication, where the allowed NSSAI includes the identification information of the slice that the terminal device is allowed to access, and the first slice is The slice for which slice authentication needs to be performed among slices that the terminal device requests to access;
    选择单元,用于根据所述允许的NSSAI,选择策略控制网元;The selection unit is configured to select a policy control network element according to the allowed NSSAI;
    其中,所述通信装置服务所述允许的NSSAI对应的切片。Wherein, the communication device serves the slice corresponding to the allowed NSSAI.
  14. 如权利要求13所述的装置,其特征在于,还包括获取单元,用于从所述策略控制网元获取与所述允许的NSSAI关联的第一策略。The device according to claim 13, further comprising an obtaining unit, configured to obtain the first policy associated with the allowed NSSAI from the policy control network element.
  15. 如权利要求13或14所述的装置,其特征在于,还包括接收单元,用于在所述第一切片执行切片鉴权之前,在注册流程中接收来自所述终端设备的请求的NSSAI,所述请求的NSSAI包括所述终端设备请求接入的切片的标识信息;The apparatus according to claim 13 or 14, further comprising a receiving unit, configured to receive the requested NSSAI from the terminal device in the registration process before the first slice performs slice authentication, The requested NSSAI includes identification information of the slice to which the terminal device requests to access;
    所述确定单元,还用于确定所述请求接入的切片中的所述第一切片需要执行切片鉴权,则确定在所述注册流程中不选择策略控制网元。The determining unit is further configured to determine that the first slice in the slice requested for access needs to perform slice authentication, and then determine that the policy control network element is not selected in the registration process.
  16. 如权利要求13或14所述的装置,其特征在于,所述选择单元,具体用于从第二移动性管理网元获取所述终端设备的上下文,所述终端设备的上下文中不包括策略控制网元的信息,所述第二移动性管理网元为在注册流程中,从所述终端设备接收请求的NSSAI的网元,所述请求的NSSAI包括所述终端设备请求接入的切片的标识信息;根据所述终端设备的上下文和所述允许的NSSAI,选择所述策略控制网元。The apparatus according to claim 13 or 14, wherein the selection unit is specifically configured to obtain the context of the terminal device from a second mobility management network element, and the context of the terminal device does not include policy control Network element information, the second mobility management network element is a network element that receives the requested NSSAI from the terminal device during the registration process, and the requested NSSAI includes the identifier of the slice to which the terminal device requests access Information; According to the context of the terminal device and the allowed NSSAI, select the policy control network element.
  17. 如权利要求13-16任一所述的装置,其特征在于,The device according to any one of claims 13-16, characterized in that:
    当所述第一切片执行切片鉴权成功,所述允许的NSSAI包括所述第一切片的标识信息;或者,When the first slice performs slice authentication successfully, the allowed NSSAI includes the identification information of the first slice; or,
    当所述第一切片执行切片鉴权失败,所述允许的NSSAI不包括所述第一切片的标识信息。When the slice authentication for the first slice fails, the allowed NSSAI does not include the identification information of the first slice.
  18. 一种通信装置,其特征在于,包括:A communication device, characterized in that it comprises:
    确定单元,用于确定第一NSSAI,所述第一NSSAI包括第一允许的NSSAI和待定的NSSAI,或者所述第一NSSAI包括终端设备的签约的NSSAI,所述待定的NSSAI包括所述终端设备请求接入的切片中的需要执行切片鉴权的切片的标识信息;The determining unit is configured to determine a first NSSAI, where the first NSSAI includes a first allowed NSSAI and a pending NSSAI, or the first NSSAI includes a contracted NSSAI of a terminal device, and the pending NSSAI includes the terminal device Identification information of the slice that needs to perform slice authentication among the slices requested to be accessed;
    选择单元,用于根据所述第一NSSAI,选择策略控制网元。The selection unit is configured to select a policy control network element according to the first NSSAI.
  19. 如权利要求18所述的装置,其特征在于,获取单元,用于从所述策略控制网元获取与所述第一允许的NSSAI关联的第一策略。The apparatus according to claim 18, wherein the obtaining unit is configured to obtain a first policy associated with the first allowed NSSAI from the policy control network element.
  20. 如权利要求18或19所述的装置,其特征在于,所述确定单元,还用于在所述待定的NSSAI对应的切片执行切片鉴权之后,确定第二允许的NSSAI,所述第二允许的NSSAI包括所述待定的NSSAI中执行切片鉴权成功的切片的标识信息;The device according to claim 18 or 19, wherein the determining unit is further configured to determine a second allowed NSSAI after performing slice authentication on the slice corresponding to the pending NSSAI, and the second allowed NSSAI The NSSAI includes the identification information of the slice in the pending NSSAI that successfully performs slice authentication;
    所述装置还包括获取单元,用于从所述策略控制网元获取与所述第二允许的NSSAI关联的第二策略。The device further includes an obtaining unit, configured to obtain a second policy associated with the second allowed NSSAI from the policy control network element.
  21. 如权利要求20所述的装置,其特征在于,还包括发送单元,用于若所述通信装置无法服务所述第二允许的NSSAI,向所述终端设备发送所述第二策略。The device according to claim 20, further comprising a sending unit, configured to send the second policy to the terminal device if the communication device cannot serve the second allowed NSSAI.
  22. 如权利要求18或19所述的装置,其特征在于,所述确定单元,还用于在所述待定的NSSAI对应的切片执行切片鉴权之后,确定第二允许的NSSAI,所述第二允许的NSSAI包括所述待定的NSSAI中执行切片鉴权成功的切片的标识信息;The device according to claim 18 or 19, wherein the determining unit is further configured to determine a second allowed NSSAI after performing slice authentication on the slice corresponding to the pending NSSAI, and the second allowed NSSAI The NSSAI includes the identification information of the slice in the pending NSSAI that successfully performs slice authentication;
    所述装置还包括设置单元,用于若所述通信装置无法服务所述第二允许的NSSAI,在所述终端设备的上下文中设置第一指示信息,所述第一指示信息用于指示第二移动性管理网元向所述策略控制网元获取策略。The device further includes a setting unit, configured to set first indication information in the context of the terminal device if the communication device cannot serve the second allowed NSSAI, and the first indication information is used to indicate the second The mobility management network element obtains a policy from the policy control network element.
  23. 一种通信装置,其特征在于,包括:A communication device, characterized in that it comprises:
    获取单元,用于从第一移动性管理网元获取终端设备的上下文,所述终端设备的上下文包括策略控制网元的标识信息和第一指示信息;以及,根据所述第一指示信息,从所述策略控制网元获取与允许的NSSAI关联的策略;The acquiring unit is configured to acquire the context of the terminal device from the first mobility management network element, where the context of the terminal device includes identification information of the policy control network element and first indication information; and, according to the first indication information, from The policy control network element obtains the policy associated with the allowed NSSAI;
    确定单元,用于确定所述允许的NSSAI。The determining unit is used to determine the allowed NSSAI.
  24. 如权利要求23所述的装置,其特征在于,所述第一指示信息用于指示所述通信装置向所述策略控制网元获取策略。The device according to claim 23, wherein the first indication information is used to instruct the communication device to obtain a policy from the policy control network element.
  25. 一种通信装置,其特征在于,包括:处理器和接口电路,所述接口电路用于与其它装置通信,所述处理器用于执行权利要求1-12任一所述的方法。A communication device, characterized by comprising: a processor and an interface circuit, the interface circuit is used to communicate with other devices, and the processor is used to execute the method according to any one of claims 1-12.
  26. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储程序,所述程序被处理器调用时,权利要求1-12任一所述的方法被执行。A computer-readable storage medium, wherein the computer-readable storage medium stores a program, and when the program is called by a processor, the method according to any one of claims 1-12 is executed.
  27. 一种计算机程序,其特征在于,当所述程序被处理器调用时,权利要求1-12任一所述的方法被执行。A computer program, wherein when the program is called by a processor, the method according to any one of claims 1-12 is executed.
  28. 一种通信系统,其特征在于,包括:移动性管理网元和策略控制网元;A communication system, characterized by comprising: a mobility management network element and a policy control network element;
    所述移动性管理网元,用于在第一切片执行切片鉴权之后,确定允许的网络切片选择 辅助信息NSSAI,所述允许的NSSAI包括允许终端设备接入的切片的标识信息,所述第一切片为所述终端设备请求接入的切片中需要执行切片鉴权的切片;根据所述允许的NSSAI,选择所述策略控制网元;以及,从所述策略控制网元获取与所述允许的NSSAI关联的第一策略;其中,所述移动性管理网元服务所述允许的NSSAI对应的切片;The mobility management network element is configured to determine the allowed network slice selection auxiliary information NSSAI after the first slice performs slice authentication, and the allowed NSSAI includes identification information of the slice that is allowed to be accessed by the terminal device. The first slice is the slice for which slice authentication needs to be performed among the slices that the terminal device requests to access; select the policy control network element according to the allowed NSSAI; and, obtain the data from the policy control network element. The first policy associated with the allowed NSSAI; wherein the mobility management network element serves the slice corresponding to the allowed NSSAI;
    所述策略控制网元,用于向所述移动性管理网元发送所述第一策略。The policy control network element is used to send the first policy to the mobility management network element.
  29. 一种通信系统,其特征在于,包括:第一移动性管理网元和策略控制网元;A communication system, characterized by comprising: a first mobility management network element and a policy control network element;
    所述第一移动性管理网元,用于确定第一NSSAI,所述第一NSSAI包括第一允许的NSSAI和待定的NSSAI,或者所述第一NSSAI包括终端设备的签约的NSSAI,所述待定的NSSAI包括所述终端设备请求接入的切片中的需要执行切片鉴权的切片的标识信息;根据所述第一NSSAI,选择所述策略控制网元;以及,从所述策略控制网元获取与所述第一允许的NSSAI关联的第一策略;The first mobility management network element is used to determine a first NSSAI, where the first NSSAI includes a first allowed NSSAI and a pending NSSAI, or the first NSSAI includes a contracted NSSAI of a terminal device, and the pending NSSAI The NSSAI includes the identification information of the slice that needs to perform slice authentication among the slices that the terminal device requests to access; selects the policy control network element according to the first NSSAI; and, obtains it from the policy control network element The first policy associated with the first allowed NSSAI;
    所述策略控制网元,用于向所述第一移动性管理网元发送所述第一策略。The policy control network element is configured to send the first policy to the first mobility management network element.
  30. 如权利要求29所述的系统,其特征在于,所述系统还包括第二移动性管理网元,用于从所述第一移动性管理网元获取所述终端设备的上下文,所述终端设备的上下文包括所述策略控制网元的标识信息和第一指示信息;确定第二允许的NSSAI;以及,根据所述第一指示信息,从所述策略控制网元获取与所述第二允许的NSSAI关联的第二策略。The system according to claim 29, wherein the system further comprises a second mobility management network element, configured to obtain the context of the terminal device from the first mobility management network element, and the terminal device The context includes the identification information of the policy control network element and the first indication information; determines the second allowed NSSAI; and, according to the first indication information, obtains the second allowed NSSAI from the policy control network element The second strategy associated with NSSAI.
PCT/CN2020/075417 2020-02-14 2020-02-14 Communication method, apparatus and system WO2021159523A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/075417 WO2021159523A1 (en) 2020-02-14 2020-02-14 Communication method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/075417 WO2021159523A1 (en) 2020-02-14 2020-02-14 Communication method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2021159523A1 true WO2021159523A1 (en) 2021-08-19

Family

ID=77292706

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/075417 WO2021159523A1 (en) 2020-02-14 2020-02-14 Communication method, apparatus and system

Country Status (1)

Country Link
WO (1) WO2021159523A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108323245A (en) * 2017-06-19 2018-07-24 华为技术有限公司 It is a kind of registration and session establishment method, terminal and AMF entities
CN109219111A (en) * 2017-06-29 2019-01-15 华为技术有限公司 It is sliced selection method and device
US20190098537A1 (en) * 2017-09-28 2019-03-28 Weihua QIAO SMF, AMF and UPF Relocation During UE Registration
US20190261260A1 (en) * 2018-02-17 2019-08-22 Huawei Technologies Co., Ltd. System and method for ue context and pdu session context management
US20190313236A1 (en) * 2018-04-09 2019-10-10 Samsung Electronics Co., Ltd. Method and device using network slicing in mobile communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108323245A (en) * 2017-06-19 2018-07-24 华为技术有限公司 It is a kind of registration and session establishment method, terminal and AMF entities
CN109219111A (en) * 2017-06-29 2019-01-15 华为技术有限公司 It is sliced selection method and device
US20190098537A1 (en) * 2017-09-28 2019-03-28 Weihua QIAO SMF, AMF and UPF Relocation During UE Registration
US20190261260A1 (en) * 2018-02-17 2019-08-22 Huawei Technologies Co., Ltd. System and method for ue context and pdu session context management
US20190313236A1 (en) * 2018-04-09 2019-10-10 Samsung Electronics Co., Ltd. Method and device using network slicing in mobile communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NOKIA, NOKIA SHANGHAI BELL: "Update to PCF discovery and selection", 3GPP DRAFT; S2-188851_WAS_S2-188787_WAS_S2-188130_23501_UPDATE TO PCF DISCOVERY AND SELECTION, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Sophia-Antipolis, France; 20180820 - 20180824, 26 August 2018 (2018-08-26), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051503045 *

Similar Documents

Publication Publication Date Title
US11564284B2 (en) Communication method, apparatus, and system for determining a target user plan function entity
WO2020224463A1 (en) Data analysis method and apparatus
WO2019114684A1 (en) User policy acquisition
WO2020248828A1 (en) Communication method, device, and system
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
WO2020224622A1 (en) Information configuration method and device
WO2020200254A1 (en) Communication method and apparatus
WO2021135187A1 (en) Slice control method and apparatus
US20210385284A1 (en) Session establishment method and apparatus
WO2021223507A1 (en) Communication method and apparatus, and chip
WO2021012736A1 (en) Method, device, and system for selecting session management network element
US20220272607A1 (en) Network Access Method and Communication Apparatus
US20230070712A1 (en) Communication method, apparatus, and system
WO2021174859A1 (en) Communication method, device and system
US11956691B2 (en) Communication method, device, and system
WO2021042742A1 (en) Communication method, apparatus, and system
US20230199550A1 (en) Relay Management Method and Communication Apparatus
WO2021051420A1 (en) Dns cache record determination method and apparatus
JP2021524204A (en) Quality of service monitoring methods, systems, and equipment
US20220263879A1 (en) Multicast session establishment method and network device
US20240048986A1 (en) Communication method and apparatus
US20220394595A1 (en) Communication method, apparatus, and system
WO2021218244A1 (en) Communication method, apparatus and system
WO2021159523A1 (en) Communication method, apparatus and system
WO2020001465A1 (en) Method and device for managing user data

Legal Events

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

Ref document number: 20918630

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20918630

Country of ref document: EP

Kind code of ref document: A1