WO2021017999A1 - 策略控制功能网元的选择方法、装置、系统及存储介质 - Google Patents

策略控制功能网元的选择方法、装置、系统及存储介质 Download PDF

Info

Publication number
WO2021017999A1
WO2021017999A1 PCT/CN2020/103808 CN2020103808W WO2021017999A1 WO 2021017999 A1 WO2021017999 A1 WO 2021017999A1 CN 2020103808 W CN2020103808 W CN 2020103808W WO 2021017999 A1 WO2021017999 A1 WO 2021017999A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
function network
access
terminal device
policy control
Prior art date
Application number
PCT/CN2020/103808
Other languages
English (en)
French (fr)
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 EP20846524.5A priority Critical patent/EP4007325A4/en
Publication of WO2021017999A1 publication Critical patent/WO2021017999A1/zh
Priority to US17/588,745 priority patent/US20220159606A1/en

Links

Images

Classifications

    • 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/06Registration at serving network Location Register, VLR or user mobility server
    • H04W8/065Registration at serving network Location Register, VLR or user mobility server involving selection of the user mobility server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • 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
    • H04W8/12Mobility data transfer between location registers or mobility servers

Definitions

  • This application relates to the field of communication technology, and in particular to a method, device, system and storage medium for selecting a policy control function network element.
  • a terminal device When a terminal device is used for the first time or when its location changes, it needs to initiate a network registration request to access the communication network. Since dynamic policies are generally deployed in communication networks, when the terminal device initiates the registration process, the access and mobility management function (AMF) in the network will execute the policy control function (PCF). ) Select the process and determine the PCF of the service.
  • AMF access and mobility management function
  • PCF policy control function
  • AMF interacts with network function and storage function (network function repository function, NRF) to obtain PCF information in the communication network, and then select the PCF to serve based on the obtained PCF information Then, the PCF is used to obtain the policy section identifier (PSI) of the terminal device and corresponding policy content and other policy information from a unified data repository (UDR), so as to realize the policy control and management of the terminal device.
  • NRF network function repository function
  • the existing PCF selection method will select the PCF each time the terminal device initiates the registration process, and then use the selection The PCF obtains the policy information of the terminal device from the UDR, which causes the policy information of the terminal device to be repeatedly accessed, and there is a problem of signaling waste.
  • the embodiments of the present application provide a method, device, system, and storage medium for selecting a policy control function network element to solve the problem of signaling waste that exists in the existing PCF selection method every time a terminal device initiates a registration process.
  • the first aspect of the present application provides a method for selecting a policy control function network element, including:
  • the first access and mobility management function network element receives a registration request message of the terminal device, the registration request message includes: the identification of the terminal device, and the first access and mobility management function network element is an access network Determined access and mobility management function network element for serving the terminal device;
  • the first access and mobility management function network element obtains the identifier of the policy control function network element currently serving the terminal device and the network identifier to which the policy control function network element belongs according to the identifier of the terminal device;
  • the first access and mobility management function network element determines the policy control
  • the functional network element is a target policy control functional network element.
  • the first access and mobility management function network element can determine the policy control function network element used by the terminal device, and reuse the policy control function network element to avoid going through the network
  • the storage function network element re-selects the policy control function network element, and the policy control function network element re-acquires the policy slice identifier of the terminal device and the corresponding policy content and other information from the unified database, thereby saving signaling overhead.
  • the registration request message further includes: an identifier of the policy control function network element and a network identifier to which the policy control function network element belongs;
  • the first access and mobility management function network element obtains the identity of the policy control function network element currently serving the terminal device and the network identity to which the policy control function network element belongs according to the identity of the terminal device, include:
  • the first access and mobility management function network element acquires the identity of the policy control function network element and the policy control function network from the registration request message of the terminal device according to the identity of the terminal device The network ID to which the element belongs.
  • the terminal device can carry the identity of the policy control function network element and the network identity to which the policy control function network element belongs during initial registration, so that the first access and mobility management function network element can be based on the initial registration of the terminal device.
  • the identity of the policy control function network element carried during registration and the network identity to which the policy control function network element belongs reuse the policy control function network element used by the terminal device before deregistration, so that the first access and mobility management function network on the network side
  • the element does not need to re-select the policy control function network element for the initially registered terminal device, and does not need to go to the unified database to retrieve the policy information again, thereby saving signaling interaction and reducing resource consumption.
  • the first access and mobility management function network element obtains the identity of the policy control function network element currently serving the terminal device according to the identity of the terminal device And the network identifier to which the policy control function network element belongs, including:
  • the first access and mobility management function network element obtains the identity of the policy control function network element and the network identity to which the policy control function network element belongs from the unified data management network element according to the identity of the terminal device.
  • the identification of the PCF corresponding to the terminal device and the network identification to which it belongs are stored in the unified data management network element.
  • the first access and mobility management function network element can be based on the unified data
  • the identification of the policy control function network element obtained by the management network element and the network identification to which the policy control function network element belongs Reuse the terminal device to register the previous policy control function network element, so that the network side does not need to reselect the policy control for the initially registered terminal device Functional network elements do not need to go to the unified database to obtain policy information again, thus saving signaling interaction
  • the first access and mobility management function network element obtains the identity of the policy control function network element currently serving the terminal device according to the identity of the terminal device And the network identifier to which the policy control function network element belongs, including:
  • the first access and mobility management function network element acquires the identification of the policy control function network element and the policy control function from the second access and mobility management function network element according to the identification of the terminal device
  • the network identity to which the network element belongs, and the second access and mobility management function network element is the access and mobility management function network used to serve the terminal device before the terminal device requests to access the access network yuan.
  • the identity of the policy control function network element corresponding to the terminal device and the network identity to which it belongs are stored in the second access and mobility management function network element (old access and mobility management function network element) .
  • the first access and mobility management function network element can obtain the identity of the policy control function network element from the second access and mobility management function network element and the policy control function network element to which it belongs
  • the network identity reuses the terminal equipment to register the previous policy control function network element, so that the network side does not need to re-select the policy control function network element for the initially registered terminal device, and does not need to regain the policy information from the unified database, thereby saving signaling overhead .
  • the first access and mobility management function network element receiving the registration request message of the terminal device includes:
  • the first access and mobility management function network element receives the registration request message sent by the terminal device through the access network.
  • the second aspect of the present application provides a method for selecting a policy control function network element, including:
  • the second access and mobility management function network element performs a de-registration process with the terminal device, and the second access and mobility management function network element requests the terminal device to access the access network before serving The access and mobility management function network element of the terminal equipment;
  • the second access and mobility management function network element is disassociated from the policy control function network element, and the policy control function network element is the policy control function network element currently serving the terminal device, and the policy The control function network element retains the policy information of the terminal device.
  • the second access and mobility management function network element executes the de-registration process with the terminal device, and releases the association relationship with the policy control function network element to provide subsequent terminal device re-registration.
  • the method before the second access and mobility management function network element disassociates with the policy control function network element, the method further includes:
  • the second access and mobility management function network element sends the identifier of the policy control function network element and the network identifier to which the policy control function network element belongs to the terminal device.
  • the second access and mobility management function network element when the second access and mobility management function network element deregisters with the terminal device, the second access and mobility management function network element directly associates the identity of the policy control function network element with the policy control function
  • the network identification to which the network element belongs is sent to the terminal device, so that the terminal device can carry it in the registration request message and send it to the first access and mobility management function network element, avoiding the process of signaling interaction to determine the policy control function network element , Reduce signaling overhead and avoid resource waste.
  • the method before the second access and mobility management function network element releases the association relationship with the policy control function network element, the method further includes:
  • the second access and mobility management function network element sends the identity of the policy control function network element and the network identity to which the policy control function network element belongs to the unified data management network element.
  • the method further includes:
  • the second access and mobility management function network element determines that the policy control function network element serving the terminal device is changed, the second access and mobility management function network element updates the unified data management network element
  • the identifier of the policy control function network element and the network identifier to which the policy control function network element belongs are stored in the network.
  • the second access and mobility management function network element timely updates the identity of the policy control function network element stored in the unified data management network element and the network identity to which the policy control function network element belongs, which can ensure unified data management The correctness of the identity of the policy control function network element stored in the network element and the network identity to which the policy control function network element belongs, avoids incorrect storage of information and improves system stability.
  • the method before the second access and mobility management function network element is disassociated from the policy control function network element, the method further includes:
  • the second access and mobility management function network element retains the identity of the policy control function network element and the network identity to which the policy control function network element belongs.
  • the identity of the policy control function network element and the network identity to which the policy control function network element belongs are retained, so that the first The access and mobility management function network element can be directly obtained from the second access and mobility management function network element, which avoids the process of re-determination, reduces implementation complexity, and improves performance.
  • the third aspect of this application provides a method for selecting network elements with a policy control function, including:
  • the terminal device receives the identifier of the policy control function network element and the network identifier to which the policy control function network element belongs from the second access and mobility management function network element, and the policy control function network element is currently serving the terminal device
  • the second access and mobility management function network element is an access and mobility management function network element used to serve the terminal device before the terminal device requests to access the access network;
  • the terminal device sends a registration request message to the first access and mobility management function network element through the access network, and the registration request message includes: the identity of the policy control function network element and the policy control function network The network identifier to which the element belongs, and the first access and mobility management function network element is an access and mobility management function network element determined by the access network to serve the terminal device;
  • the registration request message is used to instruct the first access and mobility management function network element according to the network identification of the first access and mobility management function network element and the policy control function network element to which the network element belongs
  • the network identification determines the target policy control function network element.
  • the terminal device when the terminal device receives the identifier of the policy control function network element sent by the second access and mobility management function network element and the network identifier to which the policy control function network element belongs, it is carried in the registration
  • the request message is sent to the first access and mobility management function network element, so that the first access and mobility management function network element can obtain the identity and policy control of the policy control function network element by parsing the registration request message
  • the network identifier to which the functional network element belongs reduces signaling overhead and avoids waste of resources.
  • a fourth aspect of the present application provides a device for selecting a network element with a policy control function, including: a receiving module, an acquiring module, and a processing module;
  • the receiving module is configured to receive a registration request message of a terminal device, where the registration request message includes: an identifier of the terminal device;
  • the acquiring module is configured to acquire the identifier of the policy control function network element currently serving the terminal device and the network identifier to which the policy control function network element belongs according to the identifier of the terminal device;
  • the processing module is configured to determine that the policy control function network element is the target policy control function when the network identity of the first access and mobility management function network element is consistent with the network identity to which the policy control function network element belongs Network element, the first access and mobility management function network element is an access and mobility management function network element determined by an access network to serve the terminal device.
  • the registration request message further includes: an identifier of the policy control function network element and a network identifier to which the policy control function network element belongs;
  • the obtaining module is specifically configured to obtain the identity of the policy control function network element and the network identity to which the policy control function network element belongs from the registration request message of the terminal device according to the identity of the terminal device .
  • the acquiring module is specifically configured to acquire the identification of the policy control function network element and the policy control from a unified data management network element according to the identification of the terminal device The network identifier to which the functional network element belongs.
  • the acquisition module is specifically configured to acquire the policy control function network element from the second access and mobility management function network element according to the identification of the terminal device And the network identifier to which the policy control function network element belongs, and the second access and mobility management function network element is the one used to serve the terminal device before the terminal device requests to access the access network Access and mobility management function network element.
  • the receiving module is configured to receive the registration request message sent by the terminal device through an access network.
  • a fifth aspect of the present application provides a device for selecting a network element with a policy control function, including: a processing module;
  • the processing module is used for a second access and mobility management function network element to perform a deregistration process with a terminal device, and the second access and mobility management function network element requests access for the terminal device
  • the access network previously used to serve the access and mobility management function network element of the terminal device, and to release the association relationship with the policy control function network element, which is currently serving the terminal device
  • the policy control function network element of the policy control function network element retains the policy information of the terminal device.
  • the device further includes: a sending module
  • the sending module is configured to send the identifier of the policy control function network element and the network identifier to which the policy control function network element belongs to before the processing module releases the association relationship with the policy control function network element The terminal equipment.
  • the apparatus further includes: a sending module
  • the sending module is configured to send the identifier of the policy control function network element and the network identifier to which the policy control function network element belongs to before the processing module releases the association relationship with the policy control function network element Unified data management network elements.
  • the processing module is further configured to update the unified data management network element when the second access and mobility management function network element determines that the policy control function network element serving the terminal device changes The stored identifier of the policy control function network element and the network identifier to which the policy control function network element belongs.
  • the device further includes: a storage module
  • the storage module is also used to retain the identity of the policy control function network element and the network identity to which the policy control function network element belongs.
  • a sixth aspect of the present application provides a communication device, including: a receiving module, a processing module, and a sending module;
  • the receiving module is configured to receive the identifier of the policy control function network element and the network identifier to which the policy control function network element belongs from the second access and mobility management function network element, and the policy control function network element is the current
  • the policy control function network element serving the terminal device, and the second access and mobility management function network element is used to serve the terminal device's access and mobility before the terminal device requests access to the access network Management function network element;
  • the processing module is configured to use the sending module to send a registration request message to the first access and mobility management function network element through the access network, the registration request message including: the identity of the policy control function network element and The network identifier to which the policy control function network element belongs, and the first access and mobility management function network element is an access and mobility management function network element determined by the access network to serve the terminal device ;
  • the registration request message is used to instruct the first access and mobility management function network element according to the network identification of the first access and mobility management function network element and the policy control function network element to which the network element belongs
  • the network identification determines the target policy control function network element.
  • the seventh aspect of the present application provides a device for selecting a network element with a policy control function, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the processor executes the program.
  • An eighth aspect of the present application provides a device for selecting a network element with a policy control function, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the processor executes the program The method described in the foregoing second aspect and each possible implementation manner of the second aspect.
  • a ninth aspect of the present application provides a communication device, including a processor, a memory, and a computer program that is stored on the memory and can run on the processor.
  • the processor executes the program as described in the third aspect. The method described.
  • the tenth aspect of the present application provides a communication system, including: a first access and mobility management function network element and a second access and mobility management function network element, optionally may also include a unified data management network element or terminal In the device; wherein, the first access and mobility management function network element is an access and mobility management function network element determined by the access network to serve the terminal device, and the second access and mobility
  • the network element of the sexual management function is the network element of the access and mobility management function used to serve the terminal device before the terminal device requests to access the access network, and the unified data management network element is used to store and serve the terminal device
  • the first access and mobility management function network element is the device described in the foregoing fourth aspect and various possible implementation manners of the fourth aspect
  • the second access and mobility management function network element is the foregoing fifth aspect.
  • the terminal device is the device described in the sixth aspect.
  • the eleventh aspect of the present application provides a storage medium that stores instructions in the storage medium, which when run on a computer, causes the computer to execute the method described in the first aspect and the possible implementation manners of the first aspect.
  • a twelfth aspect of the present application provides a storage medium that stores instructions in the storage medium, which when run on a computer, causes the computer to execute the method described in the above second aspect and each possible implementation manner of the second aspect.
  • a thirteenth aspect of the present application provides a storage medium that stores instructions in the storage medium, which when run on a computer, causes the computer to execute the method described in the third aspect.
  • the fourteenth aspect of the present application provides a program product containing instructions, which when run on a computer, enables the computer to execute the methods described in the first aspect and various possible implementation manners of the first aspect.
  • the fifteenth aspect of the present application provides a program product containing instructions, which when run on a computer, causes the computer to execute the above-mentioned second aspect and the methods described in the various possible implementation manners of the second aspect.
  • the sixteenth aspect of the present application provides a program product containing instructions, which when run on a computer, causes the computer to execute the method described in the third aspect.
  • a seventeenth aspect of the present application provides a chip for executing instructions, where the chip is configured to execute the above-mentioned first aspect and the methods described in the various possible implementations of the first aspect.
  • An eighteenth aspect of the present application provides a chip for executing instructions, where the chip is configured to execute the foregoing second aspect and the methods described in various possible implementations of the second aspect.
  • a nineteenth aspect of the present application provides a chip for executing instructions, where the chip is used to execute the method described in the third aspect.
  • the registration request message of the terminal device is received through the first AMF.
  • the registration request message includes: the identification of the terminal device, and the first AMF is the access The AMF determined by the network to serve the terminal device, and according to the terminal device’s identity, the identity of the PCF currently serving the terminal device and the network identity to which the PCF belongs are obtained.
  • the network identity of the first AMF and the network identity to which the PCF belongs When they are consistent, the PCF is determined to be the target PCF.
  • the terminal device under the selection strategy of the first AMF, the terminal device will reuse the previously used PCF and the policy information of the terminal device during the initial registration, which solves the policy information of the terminal device Being accessed repeatedly, the problem of signaling waste is solved.
  • FIG. 1 is a schematic diagram of an application scenario of a PCF selection method provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of an application scenario of another PCF selection method provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of an application scenario of another PCF selection method provided by an embodiment of the application.
  • Figure 4 is a flow chart of the interaction of the UE replacing the AMF
  • Embodiment 1 of a PCF selection method provided by an embodiment of the application
  • Embodiment 6 is a schematic diagram of interaction of Embodiment 2 of a PCF selection method provided by an embodiment of this application;
  • FIG. 7 is a schematic diagram of interaction of Embodiment 3 of the PCF selection method provided by an embodiment of this application.
  • FIG. 8 is a schematic diagram of interaction of Embodiment 4 of the PCF selection method provided by an embodiment of this application.
  • FIG. 9 is a schematic diagram of interaction of Embodiment 5 of a PCF selection method provided by an embodiment of this application.
  • FIG. 10 is a schematic diagram of interaction of Embodiment 6 of a PCF selection method provided by an embodiment of this application;
  • Embodiment 7 is a schematic diagram of interaction of Embodiment 7 of the PCF selection method provided by the embodiments of this application;
  • FIG. 12 is a schematic structural diagram of Embodiment 1 of an apparatus for selecting a policy control function network element according to an embodiment of this application;
  • FIG. 13 is a schematic structural diagram of Embodiment 2 of an apparatus for selecting a policy control function network element according to an embodiment of this application;
  • FIG. 14 is a schematic structural diagram of Embodiment 1 of a communication device according to an embodiment of this application.
  • Embodiment 15 is a schematic structural diagram of Embodiment 3 of an apparatus for selecting a network element with a policy control function according to an embodiment of the application;
  • Embodiment 4 is a schematic structural diagram of Embodiment 4 of an apparatus for selecting a policy control function network element according to an embodiment of this application;
  • FIG. 17 is a schematic structural diagram of Embodiment 2 of a communication device according to an embodiment of this application.
  • FIG. 18 is a schematic structural diagram of an embodiment of a communication system provided by an embodiment of this application.
  • UE user equipment
  • terminal equipment also called terminal equipment in the embodiments of this application, which may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or connected to wireless Other processing equipment for modems, such as smartphones, IoT chips, vehicles in V2X networks, etc.
  • (R)AN The main function of the (radio)access network ((radio)access network, (R)AN) is to control the UE to access the mobile communication network through wireless.
  • UPF The main functions of the user plane function (UPF) network element include data packet routing and transmission, packet inspection, service usage reporting, quality of service (QoS) processing, lawful monitoring, upstream packet inspection, and downstream User plane related functions such as data packet storage.
  • QoS quality of service
  • AMF Access and mobility management function.
  • the main functions of the network element include connection management, mobility management, registration management, access authentication and authorization, reachability management, security context management, etc. Access and mobility-related functions.
  • SMF Session management function
  • SMF Session management function
  • the main functions of network elements include session management (such as session establishment, modification and release, including tunnel maintenance between UPF network elements and AN), UPF network element selection and control, Services and session continuity (service and session continuity, SSC) mode selection, roaming and other session-related functions.
  • PCF Policy control function
  • the main functions of the network element include unified policy formulation, policy control provision, and policy-related functions such as obtaining contract information related to policy decisions from a unified database (UDR) .
  • PCF (there can be H-PCF and V-PCF), where H and V refer to Home and Visited, respectively, representing the home domain and roaming domain.
  • NSSF Network slice selection function
  • the main functions of the network element include selecting a set of network slice instances for the UE, determining the allowed NSSAI, and determining the AMF set that can serve the UE.
  • NRF network function repository function
  • service discovery function The main functions of network function repository function (NRF) include service discovery function, maintenance of available network function network element (NF) instances of NF text and the services they support.
  • NF network function network element
  • AF Application Function Network Element
  • 3GPP core network to provide services or services, including interaction with NEF and policy framework interaction.
  • NEF The main functions of the network exposure function (NEF) include: safe and open services and capabilities provided by the 3GPP network function, which are internally open or open to third parties.
  • Translate or translate information exchanged with AF and internal network function exchange moral information, such as AF service logo and internal 5G core network information such as DNN, S-NSSAI, etc.;
  • UDM Unified data management network element (UDM), supports 3GPP authentication and key negotiation mechanism for authentication credential processing, user identity processing, access authorization, registration and mobility management, contract management, short message management Wait.
  • AUSF Authentication server function (authentication server function, AUSF), interacts with UDM to obtain user information, and performs authentication-related functions, such as generating intermediate keys.
  • DN data network
  • FIG. 1 is a schematic diagram of an application scenario of a PCF selection method provided by an embodiment of the application.
  • This application scenario is suitable for a service-based architecture (SBA), which is an important feature of the fifth generation mobile communication system (5G).
  • the application scenario may include: UE, (R)AN, UPF, DN, AMF, SMF, AUSF, NSSF, NEF, NRF, PCF, UDM, AF and other network elements.
  • SBA service-based architecture
  • the application scenario may include: UE, (R)AN, UPF, DN, AMF, SMF, AUSF, NSSF, NEF, NRF, PCF, UDM, AF and other network elements.
  • the service-oriented architecture is illustrated with a 5G non-roaming service-oriented architecture.
  • the AMF only needs to select one PCF.
  • the UE can either directly access the AMF or access the AMF through the (R)AN, so as to select a suitable PCF through communication with other network elements.
  • (R)AN and UPF have a connection relationship, and UPF and SMF can communicate with each other, and UPF can access DN.
  • AMF, SMF, AUSF, NSSF, NEF, NRF, PCF, UDM, AF can all communicate with each other through the system bus, that is, in the embodiment of the present application, the 5G core network can Through service-based architecture, slicing, CU separation, etc., combined with cloud technology, the network can be customized, open, and service-oriented to support the interconnection of all things with large traffic, large connections and low latency.
  • FIG. 2 is a schematic diagram of an application scenario of another PCF selection method provided in an embodiment of the application.
  • FIG. 3 is a schematic diagram of an application scenario of another PCF selection method provided by an embodiment of the application.
  • the difference between the application scenario shown in Figure 2 and the application scenario shown in Figure 1 is that the application scenario shown in Figure 2 is suitable for a 5G local offloading roaming service architecture, and the application scenario shown in Figure 3 is similar to that shown in Figure 1.
  • the difference between the application scenarios is that the application scenario shown in Figure 3 is suitable for a 5G home routing roaming service architecture.
  • the public land mobile network (PLMN) of the service architecture in Figure 2 and Figure 3 includes VPLMN (Roaming Visited PLMN network) and HPLMN (Hometown or home home PLMN network) ).
  • VPLMN Roaming Visited PLMN network
  • HPLMN Hometown or home home PLMN network
  • AMF needs to choose two PCFs, one V-PCF (that is, the PCF located in the VPLMN), and one H-PCF (that is, the PCF located in the HPLMN).
  • V-PCF that is, the PCF located in the VPLMN
  • H-PCF that is, the PCF located in the HPLMN
  • the network elements included in the application scenarios shown in Figures 1 and 2 are only schematic diagrams.
  • the above application scenarios may also include other devices, such as wireless relay devices and wireless backhaul devices, or network controllers.
  • the embodiment of this application is not limited to this.
  • “multiple” refers to two or more.
  • “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 are in an "or” relationship.
  • the AMF of its server needs to be updated. Therefore, the UE needs to know the subscription information and the mobility management (MM) context in the old AMF. Therefore, AMF will trigger the process of clearing the subscription information in the AMF, that is, the "Purge of Subscriber Data in AMF" process.
  • MM mobility management
  • AMF first sends a subscription cancellation information request (for example, Nudm_SDM_Unsubscribe request) to UDM.
  • UDM processes the subscription cancellation information request, it sends a subscription cancellation information response (ie, Nudm_SDM_Unsubscribe response) to AMF; similarly, AMF first sends UDM sends a deregistration request (for example, Nudm_UECM_Deregistration request).
  • UDM processes the deregistration request, it sends a deregistration response (for example, Nudm_UECM_Deregistration response) to AMF, so that AMF cancels the subscription event in UDM and the registration in UDM .
  • the following describes the registration process initiated to the AMF when the UE accesses the 5G network.
  • a registration procedure is initiated to the AMF.
  • policy the AMF will execute the PCF selection process, obtain the serviced PCF, and initiate a policy acquisition process to the serving PCF.
  • the process for AMF to select PCF includes: First, interact with NRF to obtain PCF instances (for the specific interaction process between AMF and NRF, see the following PCF selection scheme), and select the PCF used from the PCF instances; second, Choose PCF according to local configuration strategy.
  • the AMF only needs to select one PCF.
  • the AMF needs to select two PCFs, one V-PCF (that is, located in the VPLMN). PCF), an H-PCF (PCF located in HPLMN).
  • FIG. 4 is an interactive flowchart of the UE changing the AMF.
  • the network elements involved in the processing in this embodiment include UE, (R)AN, new AMF, old AMF, PCF, SMF, AUSF, UDM, equipment identity register (EIR), non-3GPP interworking function (non-3GPP) interworking function, N3IWF) etc.
  • the steps for the UE to replace the AMF are as follows:
  • the UE initiates a registration request to (R)AN;
  • the AMF if the AMF is changed due to the movement of the UE, etc., perform 4.
  • the new AMF requests the UE context (MM context) from the old AMF;
  • the old AMF sends the UE context to the new AMF, where the UE context includes the PCF ID;
  • the new AMF sends an encryption identification acquisition request to the UE
  • the UE obtains the response through the encrypted ID and returns the encrypted ID
  • New AMF chooses AUSF
  • the new AMF authenticates AUSF through UE, AUSF and UDM;
  • the new AMF informs the old AMF that the context transfer is complete
  • the new AMF obtains the device identification from the UE
  • the new AMF chooses UDM
  • the new AMF registers in UDM and obtains contract information
  • New AMF chooses PCF (for details, please refer to the following PCF selection);
  • the new AMF establishes a connection with the PCF; if the (V-)PCF ID received by the PCF is consistent with its own PCF ID, the PCF deletes the connection with the old AMF (that is, initiated by the PCF), but retains the context of the UE;
  • the new AMF interacts with the N3IWF on the non-3GPP side;
  • the old AMF deletes the connection with the original PCF (that is, the old AMF initiates);
  • the new AMF sends a registration acceptance notice to the UE
  • the UE registration is complete.
  • AMF when the UE is located in HPLMN, and AMF is located in HPLMN at this time, AMF sends an NF discovery request to NRF in HPLMN to obtain PCF information in HPLMN (such as the IP address of PCF (which can be IPv4 address or IPv6 prefix) or fully qualified domain name (FQDN)), and the AMF selects the PCF according to the obtained PCF information.
  • PCF information such as the IP address of PCF (which can be IPv4 address or IPv6 prefix) or fully qualified domain name (FQDN)
  • the AMF when the UE is located in the VPLMN, the AMF is also located in the VPLMN at this time.
  • AMF needs to choose two PCFs, namely V-PCF and H-PCF.
  • AMF sends an NF discovery request to V-NRF, obtains V-PCF information in VPLMN, and selects V-PCF based on the V-PCF information; further, AMF sends an NF discovery request to H-NRF through V-NRF to obtain HPLMN information According to the PCF information, select H-PCF.
  • the following describes the association establishment process of access and mobility management (access and mobility management, AM) strategies.
  • AM access and mobility management
  • UE policy association may also be performed between AMF and PCF.
  • the related process of UE policy association is similar to that of AM policy association.
  • the AMF in the AM policy association can be directly replaced with UE.
  • the UE policy association involves V-PCF and H-PCF, and the AM policy association involves V-PCF.
  • the PCF selected by the AMF may be a PCF determined through UE policy association, or may be a PCF determined through AM policy association, which is not limited in this embodiment of the application.
  • the AMF when the UE initiates initial registration, the AMF newly selects a PCF and establishes an association relationship as follows:
  • AMF decides to establish an AM strategy association
  • AMF sends a request to create an AM strategy to PCF
  • the PCF returns the created AM policy response to the AMF
  • the AMF deploys the AM policy in response to the received AM policy.
  • the new AMF when the AMF changes, the new AMF will reselect a PCF and establish an association relationship.
  • the specific process is as follows:
  • the new AMF receives the UE context from the old AMF, which contains the PCF ID selected by the old AMF.
  • the new AMF decides to establish an AM strategy association
  • the new AMF sends a request to create an AM strategy to the PCF
  • the AMF deploys the AM policy in response to the received AM policy.
  • the following describes the association termination process of the AM strategy.
  • the UE deregisters that is, when the AMF changes (and the old AMF does not send the PCF ID)
  • the old AMF initiates the association termination.
  • the PCF initiates the association termination.
  • AMF decides to terminate the policy association
  • the AMF carries the UE identity and sends a delete AM policy association request to the PCF;
  • AMF deletes the stored AM policy context.
  • UDR deletes stored AM policy data
  • PCF If the PCF receives its own PCF ID, it retains the UE context (policy context). If the PCF does not receive its own PCF ID, it deletes the AM policy data and UE context.
  • AMF deletes the AM strategy.
  • the AMF when the UE deregisters, the AMF triggers the termination of the AM policy association. At this time, the AMF deletes the stored PCF ID(s), and the PCF deletes the internally maintained policy section identifier (PSI). And other information.
  • the UE initiates a de-registration request to AMF
  • AMF initiates a PDU session release request to SMF, and SMF releases the PDU session and responds to AMF.
  • the SMF initiates the termination of the session management policy association to the PCF, and terminates the association of the session management policy;
  • AMF interacts with PCF to terminate AM policy association
  • AMF sends a deregistration acceptance message to the UE
  • the AMF initiates the release of the signaling connection to the AMF through the (R)AN.
  • AMF receives the de-registration notification sent by UDM
  • AMF sends a de-registration request to the UE, and at the same time, AMF sends a notification response to UDM to cancel the event subscription in UDM;
  • AMF initiates a PDU session release request to SMF, SMF releases the PDU session and responds to AMF;
  • the SMF initiates the termination of the session management policy association to the PCF, and terminates the association of the session management policy
  • AMF interacts with PCF to terminate AM policy association
  • the AMF receives the deregistration acceptance message sent by the UE;
  • the AMF initiates the release of the signaling connection to the AMF through the (R)AN.
  • the AMF needs to reselect the PCF through the NRF.
  • the PCF needs to go to the UDR to obtain the UE’s PSI and its corresponding policy content, and the UE’s policy content stored in the UDR will not be
  • the UE goes to register and changes, and repeated access causes a waste of signaling.
  • the embodiment of the present application provides a method for selecting a policy control function network element.
  • the first AMF receives a registration request message from a terminal device.
  • the registration request message includes: the identification of the terminal device, and the first AMF is the access network.
  • Determine the AMF used to serve the terminal device and obtain the identity of the PCF currently serving the terminal device and the network identity to which the PCF belongs according to the identity of the terminal device.
  • the network identity in the first AMF is consistent with the network identity to which the PCF belongs When, determine that the PCF is the target PCF. That is, in this technical solution, under the selection strategy of the first AMF, the terminal device will reuse the previously used PCF and the policy information of the terminal device during initial registration, avoiding repeated access to the policy information of the terminal device, and solving The problem of signaling waste.
  • FIG. 5 is a schematic flowchart of Embodiment 1 of a PCF selection method provided by an embodiment of this application. As shown in Figure 5, in this embodiment, the method may include the following steps:
  • Step 501 A first AMF receives a registration request message of a terminal device, the registration request message includes: an identifier of the terminal device, and the first AMF is an AMF determined by the access network to serve the terminal device.
  • the terminal device when the terminal device determines that the AMF used to serve the terminal device needs to be changed due to reasons such as movement or initial registration, the terminal device will re-initiate a registration request message to the access network to request access to the terminal device.
  • Access network in order for the access network to determine the terminal device that sends the registration request message, the registration request message may include the identification of the terminal device. Therefore, the access network can determine the terminal device to be used for service according to the received registration request message.
  • the first AMF of the terminal device and sends the received registration request message to the first AMF, so that the first AMF determines the PCF corresponding to the terminal device according to the identification of the terminal device in the received registration request message.
  • this step 501 is actually: the first AMF receives the registration request message sent by the terminal device through the access network.
  • Step 502 The first AMF obtains the identity of the PCF currently serving the terminal device and the network identity to which the PCF belongs according to the identity of the terminal device.
  • the first AMF when the first AMF receives the registration request message of the terminal device forwarded by the access network, the first AMF may first determine the corresponding terminal device according to the identification of the terminal device, and then based on the terminal device or network device initiated The de-registration process determines the location of the PCF currently serving the terminal device and the network identifier to which the PCF belongs, and determines how to obtain the PCF identifier and the network identifier to which the PCF belongs.
  • the identity of the PCF currently serving the terminal device acquired by the first AMF and the network identity to which the PCF belongs are both two One is the identifier of the V-PCF, the network identifier of the V-PCF is VPLMN, and the other is the identifier of the H-PCF, the network identifier of the H-PCF is HPLMN, that is, the V-PCF is located in the VPLMN In, H-PCF is located in HPLMN.
  • the above registration request message also includes the identity of the PCF currently serving the terminal device and the network identity to which the PCF belongs. That is, the terminal device itself stores the identity of the PCF serving the terminal device and the identity of the PCF.
  • the terminal device initiates the registration process
  • the PCF identifier and the network identifier to which the PCF belongs together with the terminal device identifier will carry the registration request message and send it to the access network. Accordingly, the access network will then Send it to the determined first AMF.
  • the first AMF can obtain the identity of the PCF currently serving the terminal device and the network identity to which the PCF belongs from the received registration request message.
  • the first AMF can register in the UDM and obtain the subscription information from the UDM Obtain the identity of the PCF currently serving the terminal device and the network identity to which the PCF belongs.
  • the terminal device and the second AMF used to serve the terminal device to deregister between the terminal device and the terminal device before accessing the access network if the second AMF does not delete the stored PCF identifier and the PCF to which the PCF belongs.
  • the network identifier when the first AMF receives the registration request message of the terminal device, it can obtain the identifier of the PCF currently serving the terminal device and the network identifier to which the PCF belongs from the second AMF.
  • Step 503 When the network identifier of the first AMF is consistent with the network identifier to which the PCF belongs, the first AMF determines that the PCF is the target PCF.
  • the first AMF may compare the network identifier where it is located with the network identifier to which the PCF belongs. If the two are consistent, the first AMF may directly determine the PCF as the target PCF, that is, The first AMF can directly reuse the previous PCF during the initial registration of the UE, without reselecting the PCF through the NRF.
  • the network identity of the first AMF is also the identity of the UE currently accessing the network. Therefore, when the identity of the UE currently accessing the network is consistent with the network identity to which the PCF belongs, the first AMF can also determine that the PCF is the target PCF. That is, in this embodiment, the registration request message is used to instruct the first AMF to determine the target PCF according to the network identity of the first AMF and the network identity to which the PCF belongs.
  • the first AMF receives the registration request message of the terminal device, the registration request message includes: the identification of the terminal device, and the first AMF is determined by the access network to serve the terminal The AMF of the device, and according to the identity of the terminal device, obtain the identity of the PCF currently serving the terminal device and the network identity to which the PCF belongs.
  • the network identity of the first AMF is consistent with the network identity to which the PCF belongs, it is determined that the PCF is Target PCF.
  • the previous PCF is directly reused when the terminal device initiates registration, which avoids the interactive process of reselecting the PCF through NRF and reacquiring the terminal device’s PSI and its corresponding policy content from the UDR, thereby saving The signaling overhead is reduced.
  • FIG. 6 is an interaction schematic diagram of Embodiment 2 of the PCF selection method provided by the embodiment of this application.
  • This embodiment is described by using the terminal device, the second AMF used to serve the terminal device before the terminal device accesses the access network, and the first AMF determined by the access network to serve the terminal device.
  • the method may further include the following steps:
  • Step 601 The second AMF executes a de-registration process with the terminal device.
  • the second AMF is the AMF used for the service terminal device before the change. Therefore, a de-registration procedure needs to be performed between the terminal device and the second AMF, so that the association relationship between the second AMF and the PCF is released.
  • Step 602 The second AMF sends the identification of the PCF and the identification of the network to which the PCF belongs to the terminal device.
  • the second AMF when the de-registration process is performed between the terminal device and the second AMF, the second AMF initiates the termination process of the AM policy connection, and the PCF and the second AMF can only disconnect the association, but keep Policy information such as the PSI of the terminal device, and the second AMF can deliver the stored PCF ID(s) and the PLMN ID corresponding to the PCF to the terminal device.
  • step 602 can be implemented through the following process:
  • the second AMF sends the PCF identifier and the network identifier to which the PCF belongs to the terminal device through a de-registration acceptance message.
  • the second AMF initiates a PDU session release request to the SMF, the SMF releases the PDU session and responds to the second AMF, the SMF initiates the termination of the session management policy association, and cancels the event subscription to the UDM. And cancel the registration in the UDM. Further, the second AMF can initiate an AM policy association termination process and send a deregistration acceptance message to the terminal device. Finally, the second AMF initiates the release of the signaling connection with the terminal device.
  • the deregistration message includes the PCF ID(s) currently serving the terminal device and the identity of the network to which the PCF belongs, for example, PLMN ID(s).
  • the deregistration message may contain two PCFs, one (V-PCF) located in the VPLMN and the other (H-PCF) located in the HPLMN.
  • the second AMF can carry the PCF ID and the network ID to which the PCF belongs in the deregistration acceptance message sent to the terminal device, so that the terminal device can register the PCF ID(s) during initial registration.
  • the PLMN ID to which the PCF belongs is carried in the registration request message and passed to the first AMF through the access network.
  • the first AMF can determine whether the PLMN ID of its network is consistent with the acquired PLMN ID of the PCF, and when they are consistent, the first AMF can preferentially reuse the PCF transmitted by the terminal device, thereby avoiding reacquiring.
  • step 602 can be implemented through the following process:
  • the second AMF sends the identification of the PCF obtained from the unified data management network element UDM and the network identification to which the PCF belongs to the terminal device through the deregistration request message.
  • the deregistration is initiated by the network side, it can be carried in the deregistration request message.
  • the second AMF may receive a de-registration notification sent by UDM, and the de-registration notification may include the PCF ID(s) currently serving the terminal device and the PLMN ID(s) corresponding to the PCF.
  • the deregistration notification contains two PCFs, one (V-PCF) is located in the VPLMN, and the other (H-PCF) is located in the HPLMN.
  • the second AMF sends a de-registration request message to the terminal device according to the de-registration notification received from the UDM.
  • the second AMF sends a de-registration notification response to the UDM and sends a cancel event subscription to the UDM. That is, the second AMF initiates a PDU session release request to the SMF, the SMF releases the PDU session and responds to the second AMF, the SMF initiates the termination of the session management policy association, cancels the event subscription to the UDM, and cancels the registration in the UDM, the same ,
  • the second AMF may initiate the AM policy association termination process, and send a deregistration acceptance message to the terminal device, and initiate the release of the signaling connection.
  • Step 603 The second AMF releases the association relationship with the PCF.
  • the PCF is the PCF of the terminal device currently serving, and the policy information of the terminal device is retained in the PCF.
  • the association relationship between the second AMF and the PCF is released, but the PCF retains the policy information of the terminal device.
  • the PCF serving the terminal device can be controlled not to delete the internally stored policy information of the terminal device, so that it can be re-registered later.
  • the policy information of the terminal device stored in the PCF can be directly used, which avoids the step of reacquiring the policy information of the terminal device and saves signaling overhead.
  • the above-mentioned registration request message further includes: the identification of the PCF and the network identification to which the PCF belongs.
  • the above-mentioned step 502 can be implemented by the following steps:
  • Step 604 The first AMF obtains the identity of the PCF and the network identity to which the PCF belongs from the registration request message of the terminal device according to the identity of the terminal device.
  • the registration request message when a terminal device initiates a registration request message to the access network, the registration request message includes the identity of the PCF currently serving the terminal device and the network identity to which the PCF belongs, such as the identity of the PLMN.
  • the access network may send a registration request message containing the identity of the PCF and the network identity to which the PCF belongs to the first AMF. Therefore, in this embodiment, the first AMF can directly obtain the identity of the PCF and the network identity to which the PCF belongs from the received registration request message according to the identity of the terminal device.
  • the identity of the PCF currently serving the terminal device in the registration request message can have the identity of V-PCF and the identity of H-PCF.
  • V-PCF is located in the VPLMN
  • the second AMF executes the de-registration process with the terminal device.
  • the second AMF cancels the association relationship with the PCF.
  • the PCF is the PCF of the terminal device currently serving.
  • the PCF retains the policy information of the terminal device, and stores the PCF ID that served the terminal device (identified by SUPI) and the PLMN ID of the network to which it belongs before the terminal device deregisters, so that the terminal device is initially registered
  • the first AMF can be re-carried at the time of initial registration.
  • the first AMF can reuse the PCF used by the terminal device before de-registration according to the PCF ID carried by the terminal device during initial registration and the corresponding PLMN ID, so that the first AMF on the network side does not need to be the initially registered terminal
  • the device re-selects the PCF and does not need to go to the UDR to obtain the policy information again, thereby saving signaling interaction and reducing resource consumption.
  • FIG. 7 is an interactive schematic diagram of Embodiment 3 of the PCF selection method provided by the embodiment of this application. As shown in Figure 7, in this embodiment, the method can be implemented through the following steps:
  • the terminal device sends a registration request message to the RAN.
  • the registration request message includes the PCF ID(s) currently serving the terminal device and the corresponding PLMN ID(s).
  • the RAN determines the first AMF used to serve the terminal device
  • the RAN sends the aforementioned registration request message to the first AMF, where the registration request message includes the PCF ID(s) currently serving the terminal device and the corresponding PLMN ID(s).
  • the first AMF requests the second AMF for the MM context of the terminal device
  • the second AMF sends the MM context to the first AMF, and the MM context includes the PCF ID.
  • the first AMF sends an encryption identification request to the terminal device.
  • the terminal device sends the encrypted identifier to the first AMF
  • the first AMF selects the AUSF for performing authentication
  • the first AMF realizes the authentication of the encrypted identifier by interacting with the terminal device, AUSF and UDM;
  • the first AMF informs the second AMF that the transfer of the above-mentioned MM context is complete;
  • the first AMF interacts with the terminal device to obtain the device identifier of the terminal device;
  • the first AMF interacts with the EIR to verify the acquired device identification
  • the first AMF selects UDM
  • the first AMF registers in the selected UDM and obtains contract information
  • the UDM notifies the second AMF to delete the MM context
  • the first AMF selects the PCF, that is, if the PLMN ID of the first AMF is consistent with the PLMN ID of the (v-)PCF, the first AMF preferentially reuses the PCF delivered by the terminal device.
  • the first AMF establishes a connection with the PCF.
  • the PCF deletes the connection with the second AMF (that is, initiated by the PCF), but retains the context of the terminal device;
  • the first AMF interacts with the N3IWF on the non-3GPP side;
  • the second AMF deletes the connection with the original PCF (that is, the second AMF initiates);
  • the first AMF sends a registration acceptance notice to the terminal device.
  • the terminal device sends a registration completion notification to the first AMF.
  • FIG. 8 is an interactive schematic diagram of Embodiment 4 of a PCF selection method provided in an embodiment of this application.
  • the difference between the embodiment shown in FIG. 8 and the embodiment shown in FIG. 6 is that the identification of the PCF currently serving the terminal device and the network identification to which the PCF belongs are stored in the UDM.
  • This embodiment is described with the information interaction of the terminal device, the first AMF, the second AMF, and the UDM.
  • the method may further include the following steps:
  • Step 801 The second AMF executes a de-registration process with the terminal device.
  • Step 802 The second AMF sends the identification of the PCF and the identification of the network to which the PCF belongs to the UDM.
  • the second AMF when the terminal device and the second AMF perform the de-registration process, the second AMF initiates the termination process of the AM policy connection, and the PCF and the second AMF may only disconnect the association, but retain the terminal device PSI and other policy information, and the second AMF can send the stored PCF ID(s) and the PLMN ID corresponding to the PCF to UDM.
  • the second AMF may be sent when an unsubscribe request is initiated to the UDM.
  • the second AMF may also write the PCF ID(s) that will serve the terminal device and the PLMN ID corresponding to the PCF into the UDM after the PCF is selected for the first time. It is worth noting that in this implementation mode, if the PCF serving the terminal device is replaced, the PCF ID(s) associated with the terminal device stored in the UDM and the PLMN ID corresponding to the PCF need to be updated. That is, when the second AMF determines that the PCF of the serving terminal device is changed, it updates the identification of the PCF stored in the UDM and the identification of the network to which the PCF belongs.
  • step 802 can be implemented through the following process:
  • the second AMF sends the identification of the PCF and the identification of the network to which the PCF belongs to the UDM through an unsubscribe request.
  • the terminal device initiates a de-registration request to the second AMF.
  • the second AMF initiates a PDU session release request to the SMF, and the SMF releases the PDU session to the second AMF.
  • the SMF initiates the termination of the session management policy association, cancels the event subscription to the UDM, and cancels the registration in the UDM.
  • the second AMF can initiate the AM policy association termination process.
  • the second AMF can request to subscribe The stored PCF identifier and the network identifier to which the PCF belongs are sent to the UDM. Accordingly, the second AMF sends a de-registration acceptance message to the terminal device, and the second AMF initiates the release of the signaling connection with the terminal device.
  • the first AMF when the first AMF receives the registration request message sent by the terminal device, it can obtain the PCF ID(s) and the PLMN ID to which the PCF belongs from the UDM. In this way, the first AMF can determine its Whether the PLMN ID of the network where it is located is consistent with the obtained PLMN ID of the PCF, and when they are the same, the first AMF may preferentially reuse the PCF delivered by the terminal device to avoid reacquiring.
  • step 802 may be implemented through the following process:
  • the second AMF After determining the PCF serving the terminal device, the second AMF sends the identity of the PCF and the network identity to which the PCF belongs to the UDM.
  • the identifier of the PCF stored in the UDM and the network identifier to which the PCF belongs are updated when the second AMF determines that the PCF of the terminal device is changed.
  • the second AMF when the second AMF receives the de-registration notification sent by the UDM, it can send a de-registration request message to the terminal device and send a de-registration notification response to the UDM at the same time , The second AMF cancels the event subscription to the UDM, and sends the PCF ID(s) and the corresponding PLMN ID stored in the AMF to the UDM.
  • the second AMF initiates a PDU session release request to the SMF, the SMF releases the PDU session and responds to the second AMF, the SMF initiates the termination of the session management policy association, cancels the event subscription to the UDM, and cancels the registration in the UDM, the same .
  • the second AMF may initiate an AM policy association termination process, and send a deregistration acceptance message to the terminal device, and the second AMF initiates the release of the signaling connection with the terminal device.
  • Step 803 The second AMF releases the association relationship with the PCF.
  • the PCF is the PCF of the terminal device currently serving, and the policy information of the terminal device is retained in the PCF.
  • step 502 can be implemented through the following steps:
  • Step 804 The first AMF obtains the identity of the PCF and the network identity to which the PCF belongs from the UDM according to the identity of the terminal device.
  • the second AMF may store the identity of the PCF currently serving the terminal device and the network identity to which the PCF belongs
  • the first AMF can directly obtain the identity of the PCF and the network to which the PCF belongs from the UDM according to the identity of the terminal device. Identification does not need to reselect the PCF through the NRF, nor does it need to use the reselected PCF to reacquire the PSI of the terminal device and its corresponding policy content and other information from the UDR.
  • step 801 and step 803 in this embodiment reference may be made to the records in step 601 and step 603 in the embodiment shown in FIG. 6, which will not be repeated here.
  • the second AMF executes the de-registration process with the terminal device. At this time, the second AMF releases the association relationship with the PCF.
  • the PCF is the PCF of the current serving terminal device.
  • the PCF retains the policy information of the terminal device, and before the terminal device goes to register, the identification of the PCF corresponding to the terminal device and the network identification to which it belongs are stored in the UDM.
  • the first AMF can follow the UDM
  • the obtained PCF ID and corresponding PLMN ID reuse the terminal device to register the previous PCF, so that the network side does not need to re-select the PCF for the initially registered terminal device, and does not need to go to the UDR to obtain policy information again, thereby saving signaling interaction.
  • FIG. 9 is an interactive schematic diagram of Embodiment 5 of the PCF selection method provided by an embodiment of the application. As shown in Figure 9, in this embodiment, the method can be implemented through the following steps:
  • the terminal device sends a registration request message to the RAN;
  • the RAN determines the first AMF used to serve the terminal device
  • the RAN sends the above registration request message to the first AMF;
  • the first AMF requests the second AMF for the MM context of the terminal device
  • the second AMF sends the MM context to the first AMF, and the MM context includes the PCF ID;
  • the first AMF sends an encryption identification request to the terminal device
  • the terminal device sends the encrypted identifier to the first AMF
  • the first AMF selects the AUSF for performing authentication
  • the first AMF realizes the authentication of the encrypted identifier by interacting with the terminal device, AUSF and UDM;
  • the first AMF informs the second AMF that the transfer of the above-mentioned MM context is complete;
  • the first AMF interacts with the terminal device and obtains the device identifier of the terminal device.
  • the first AMF interacts with the EIR to verify the acquired device identification
  • the first AMF selects UDM
  • the first AMF registers in the selected UDM and obtains contract information, and the first AMF obtains the PCF ID and the corresponding PLMN ID from the UDM.
  • the UDM notifies the second AMF to delete the MM context
  • the first AMF selects the PCF, that is, if the PLMN ID of the first AMF is consistent with the PLMN ID of the (v-)PCF, the first AMF preferentially reuses the PCF delivered by the UDM.
  • the first AMF establishes a connection with the PCF. If the (V-)PCF ID received by the PCF is consistent with its own PCF ID, the PCF deletes the connection with the second AMF (that is, initiated by the PCF), but retains the terminal equipment.
  • the first AMF interacts with the N3IWF on the non-3GPP side.
  • the second AMF deletes the connection with the original PCF (that is, the second AMF initiates);
  • the first AMF sends a registration acceptance notice to the terminal device.
  • the terminal device sends a registration completion notification to the first AMF.
  • FIG. 10 is an interactive schematic diagram of Embodiment 6 of the PCF selection method provided by the embodiment of the application.
  • the difference between the embodiment shown in FIG. 10 and the above-mentioned embodiments shown in FIG. 6 and FIG. 8 is that the identifier of the PCF currently serving the terminal device and the network identifier to which the PCF belongs are stored in the second AMF before the AMF of the terminal device is replaced.
  • This embodiment is described by using the terminal device, the second AMF used to serve the terminal device before the terminal device accesses the access network, and the first AMF determined by the access network to serve the terminal device.
  • the method may further include the following steps:
  • Step 1001 The second AMF executes a de-registration process with the terminal device.
  • Step 1002 The second AMF reserves the identity of the PCF and the network identity to which the PCF belongs.
  • the second AMF when the terminal device and the second AMF perform the de-registration process, the second AMF initiates the termination process of the AM policy connection, and the PCF and the second AMF may only disconnect the association, but retain the terminal device PSI and other policy information, and the second AMF can retain the stored PCF ID(s) and the network identity to which the PCF belongs.
  • the first AMF when the terminal device is initially registered, the first AMF can directly obtain the PCF ID(s) from the second AMF. s) and the corresponding PLMN ID.
  • the terminal device if the aforementioned de-registration process is initiated by the terminal device, the terminal device initiates a de-registration request to the second AMF, and accordingly, the second AMF initiates a PDU session release request to the SMF, The SMF releases the PDU session and responds to the second AMF.
  • the SMF initiates the termination of the session management policy association, cancels the event subscription to the UDM, and cancels the registration in the UDM.
  • the second AMF can initiate the AM policy association termination process, but In this embodiment, the second AMF will not retain the stored PCF identifier and the network identifier to which the PCF belongs.
  • the second AMF sends a deregistration acceptance message to the terminal device, and the second AMF initiates the release of the signaling connection with the terminal device.
  • the first AMF when the terminal device is initially registered to the network, the first AMF can obtain the PCF ID(s) and the PCF to which the PCF belongs from the second AMF when receiving the registration request message sent by the terminal device. PLMN ID. In this way, the first AMF can determine whether the PLMN ID of the network where it is located is consistent with the PLMN ID of the acquired PCF, and when they are consistent, the first AMF can preferentially reuse the PCF acquired by the terminal device to avoid reacquiring.
  • the second AMF receives the de-registration notification sent by the UDM, sends a de-registration request message to the terminal device, and sends a de-registration message to the UDM at the same time
  • the notification response is to cancel the event subscription to UDM; accordingly, the second AMF initiates a PDU session release request to the SMF, the SMF releases the PDU session and responds to the second AMF, the SMF initiates the termination of the session management policy association, and cancels the event subscription to UDM, And cancel the registration in UDM.
  • the second AMF can initiate the AM policy association termination process, but the saved PCF ID(s) and the corresponding PLMN ID will not be deleted, and then the second AMF sends the registration acceptance to the terminal device Message, and the second AMF initiates the release of the signaling connection with the terminal device.
  • Step 1003 The second AMF releases the association relationship with the PCF.
  • the PCF is the PCF currently serving the terminal device, and the policy information of the terminal device is retained in the PCF.
  • step 502 can be implemented through the following steps:
  • Step 1004 The first AMF obtains the identity of the PCF and the network identity to which the PCF belongs from the second AMF according to the identity of the terminal device.
  • the second AMF used to serve the terminal device performs a de-registration request between the terminal device
  • the second AMF does not delete the stored PCF ID(s) and the corresponding PLMN ID
  • the first AMF may directly obtain the PCF ID(s) and the corresponding PLMN ID from the second AMF based on the identification of the terminal device in the registration request message.
  • step 1001 and step 1003 in this embodiment reference may be made to the records in step 601 and step 603 in the embodiment shown in FIG. 6, which will not be repeated here.
  • the second AMF executes the de-registration process with the terminal device. At this time, the second AMF releases the association relationship with the PCF.
  • the PCF is the PCF of the current serving terminal device.
  • the PCF retains the policy information of the terminal device, and before the terminal device goes to register, the identification of the PCF corresponding to the terminal device and the network identification to which it belongs are stored in the second AMF (old AMF).
  • the first An AMF can reuse the terminal device to register the previous PCF according to the PCF ID obtained from the second AMF (old AMF) and the corresponding PLMN ID, so that the network side does not need to re-select the PCF for the initially registered terminal device, and does not need to go to the UDR again Obtain policy information, thereby saving signaling overhead.
  • FIG. 11 is an interactive schematic diagram of Embodiment 7 of a PCF selection method provided by an embodiment of this application. As shown in Figure 11, in this embodiment, the method can be implemented through the following steps:
  • the terminal device sends an initial registration request message to the RAN;
  • this embodiment uses an application scenario in which a terminal device initiates an initial registration request, and the initial registration request must not include the PCF ID.
  • the RAN determines the first AMF used to serve the terminal device
  • the RAN sends the above registration request message to the first AMF;
  • the first AMF requests the second AMF for the MM context of the terminal device
  • the second AMF sends the MM context to the first AMF, and the MM context includes the PCF ID;
  • the first AMF sends an encryption identification request to the terminal device
  • the terminal device sends the encrypted identifier to the first AMF
  • the first AMF selects the AUSF for performing authentication
  • the first AMF realizes the authentication of the encrypted identifier by interacting with the terminal device, AUSF and UDM;
  • the first AMF informs the second AMF that the transfer of the above MM context is complete;
  • the first AMF interacts with the terminal device and obtains the device identifier of the terminal device.
  • the first AMF interacts with the EIR to verify the acquired device identification
  • the first AMF selects UDM
  • the first AMF registers in the selected UDM and obtains contract information.
  • the UDM notifies the second AMF to delete the MM context
  • the first AMF selects the PCF, that is, if the PLMN ID of the first AMF is the same as the PLMN ID of the (v-)PCF, the first AMF preferentially reuses the PCF delivered by the second AMF.
  • the first AMF establishes a connection with the PCF. If the (V-)PCF ID received by the PCF is consistent with its own PCF ID, the PCF deletes the connection with the second AMF (that is, initiated by the PCF), but retains the terminal equipment MM context;
  • the first AMF interacts with the N3IWF on the non-3GPP side.
  • the second AMF deletes the connection with the original PCF (that is, the second AMF initiates);
  • the first AMF sends a registration acceptance notice to the terminal device
  • the terminal device sends a registration completion notification to the first AMF.
  • the PCF when performing de-registration between the terminal device and the second AMF, the PCF does not delete the stored policy information such as the UE's PSI. It is worth noting that in this embodiment, when the second AMF initiates a removal request to UDM and simultaneously initiates a removal request to PCF, the policy information stored by the PCF can be deleted.
  • the terminal device can save the PCF ID and the corresponding PLMN ID after unregistering from the second AMF (old AMF). In this way, the terminal device can carry the saved PCF ID and the corresponding PLMN ID during initial registration, so that the first AMF (new AMF) reselects the PCF accordingly.
  • the second AMF can store the PCF ID and the corresponding PLMN ID in the UDM, so that when the terminal device is initially registered, the first AMF (new AMF) can obtain the stored PCF ID from the UDM (s) Reuse.
  • the second AMF can retain the stored PCF ID and PLMN ID when de-registering, so that when the terminal device is initially registered, the first AMF (new AMF) can change from the second AMF (old AMF).
  • AMF Get the stored PCF ID(s) for reuse.
  • the first AMF new AMF
  • the PCF does not need to re-acquire the UE’s PSI and its corresponding from the UDR The content of the strategy and other information, thereby saving signaling.
  • SMSF short message service function
  • FIG. 12 is a schematic structural diagram of Embodiment 1 of an apparatus for selecting a policy control function network element according to an embodiment of the application.
  • the device can be integrated in the first access and mobility management function network element, or can be implemented by the first access and mobility management function network element.
  • the device may include: a receiving module 121, an acquiring module 122, and a processing module 123.
  • the receiving module 121 is configured to receive a registration request message of a terminal device, where the registration request message includes: an identifier of the terminal device;
  • the acquiring module 122 is configured to acquire, according to the identifier of the terminal device, the identifier of the policy control function network element currently serving the terminal device and the network identifier to which the policy control function network element belongs;
  • the processing module 123 is configured to determine that the policy control function network element is the target policy control function network when the network identity of the first access and mobility management function network element is consistent with the network identity to which the policy control function network element belongs Element, the first access and mobility management function network element is an access and mobility management function network element determined by an access network to serve the terminal device.
  • the registration request message further includes: the identifier of the policy control function network element and the network identifier to which the policy control function network element belongs;
  • the obtaining module 122 is specifically configured to obtain the identity of the policy control function network element and the identity of the policy control function network element from the registration request message of the terminal device according to the identity of the terminal device Network ID.
  • the acquiring module 122 is specifically configured to acquire the identification of the policy control function network element and the policy control from the unified data management network element according to the identification of the terminal device.
  • the obtaining module 122 is specifically configured to obtain the policy control function network element from the second access and mobility management function network element according to the identification of the terminal device And the network identifier to which the policy control function network element belongs, and the second access and mobility management function network element is the one used to serve the terminal device before the terminal device requests to access the access network Access and mobility management function network element.
  • the receiving module 121 is configured to receive the registration request message sent by the terminal device through the access network.
  • the device in this embodiment can be used to implement the implementation scheme of the first access and mobility management function network element in the method embodiments shown in FIG. 5 to FIG. 11.
  • the specific implementation manner and technical effect are similar, and details are not described herein again.
  • FIG. 13 is a schematic structural diagram of Embodiment 2 of an apparatus for selecting a network element with a policy control function according to an embodiment of the application.
  • the device can be integrated in the second access and mobility management function network element, or can be implemented by the second access and mobility management function network element. As shown in FIG. 13, the device may include: a processing module 131.
  • the processing module 131 is used for the second access and mobility management function network element to perform a de-registration process with the terminal device, and the second access and mobility management function network element requests the terminal device Before accessing the access network, it is used to serve the access and mobility management function network element of the terminal device, and to release the association relationship with the policy control function network element, and the policy control function network element is the current service A policy control function network element of the terminal device, and the policy control function network element retains the policy information of the terminal device.
  • the device may further include: a sending module 132.
  • the sending module 132 is configured to combine the identification of the policy control function network element with the policy control function network element before the above processing module 131 releases the association relationship with the policy control function network element
  • the network identifier to which the policy control function network element belongs is sent to the terminal device.
  • the sending module 132 is configured to combine the identification of the policy control function network element with the policy control function network element before the processing module 131 releases the association relationship with the policy control function network element.
  • the network identifier to which the policy control function network element belongs is sent to the unified data management network element.
  • the processing module 131 is also configured to update the unified data management when the second access and mobility management function network element determines that the policy control function network element serving the terminal device changes.
  • the identifier of the policy control function network element and the network identifier to which the policy control function network element belongs are stored in the network element.
  • the device may further include a storage module 133.
  • the storage module 133 is also used to retain the identity of the policy control function network element and the network identity to which the policy control function network element belongs.
  • the device in this embodiment can be used to implement the implementation scheme of the second access and mobility management function network element in the method embodiments shown in FIG. 5 to FIG. 11.
  • the specific implementation manner and technical effect are similar, and will not be repeated here.
  • FIG. 14 is a schematic structural diagram of Embodiment 1 of a communication device according to an embodiment of this application.
  • the device can be integrated in a terminal device or implemented by a terminal device.
  • the communication device can also be a chip.
  • the communication device may include: a receiving module 141, a processing module 142, and a sending module 143.
  • the receiving module 141 is configured to receive the identifier of the policy control function network element and the network identifier to which the policy control function network element belongs from the second access and mobility management function network element, and the policy control function network element Is the policy control function network element currently serving the terminal device, and the second access and mobility management function network element is used for serving the terminal device’s access and Mobility management function network element;
  • the processing module 142 is configured to use the sending module to send a registration request message to the first access and mobility management function network element through the access network, where the registration request message includes: the identity of the policy control function network element and The network identifier to which the policy control function network element belongs, and the first access and mobility management function network element is an access and mobility management function network element determined by the access network to serve the terminal device ;
  • the registration request message is used to instruct the first access and mobility management function network element according to the network identification of the first access and mobility management function network element and the policy control function network element to which the network element belongs
  • the network identification determines the target policy control function network element.
  • the apparatus in this embodiment can be used to implement the implementation solutions of the terminal device in the method embodiments shown in FIG. 5 to FIG.
  • the division of the various modules of the above device is only a division of logical functions, and may be fully or partially integrated into a physical entity in actual implementation, or may be physically separated.
  • these modules can all be implemented in the form of software called by processing elements; they can also be implemented in the form of hardware; some modules can be implemented in the form of calling software by processing elements, and some of the modules can be implemented in the form of hardware.
  • the processing module may be a separately established processing element, or it may be integrated in a chip of the above-mentioned device for implementation.
  • each step of the above method or each of the above modules can be completed by hardware integrated logic circuits in the processor element or instructions in the form of software.
  • the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuit (ASIC), or one or more microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (FPGA), etc.
  • ASIC application specific integrated circuit
  • DSP digital signal processor
  • FPGA field programmable gate arrays
  • the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes.
  • CPU central processing unit
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • 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.
  • 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 readable storage medium, or transmitted from one readable storage medium to another readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center through a wired (for example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means to transmit to another website, computer, server or data center.
  • the 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 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)).
  • FIG. 15 is a schematic structural diagram of Embodiment 3 of an apparatus for selecting a network element with a policy control function according to an embodiment of the application.
  • the device can be integrated in the second access and mobility management function network element, or can be implemented by the second access and mobility management function network element.
  • the device may include: a processor 151, a memory 152, a communication interface 153, and a system bus 154.
  • the memory 152 and the communication interface 153 are connected to the processor 151 through the system bus 154.
  • the memory 152 is used to store computer-executable instructions
  • the communication interface 153 is used to communicate with other devices
  • the processor 151 executes the computer-executable instructions to implement as shown in FIGS. 5 to 11
  • the implementation scheme of the first access and mobility management function network element in the method embodiment is shown.
  • FIG. 16 is a schematic structural diagram of Embodiment 4 of an apparatus for selecting a policy control function network element according to an embodiment of the application.
  • the device can be integrated in the second access and mobility management function network element, or can be implemented by the second access and mobility management function network element.
  • the device may include: a processor 161, a memory 162, a communication interface 163, and a system bus 164.
  • the memory 162 and the communication interface 163 are connected to the processor 161 through the system bus 164 and To complete the mutual communication, the memory 162 is used to store computer-executed instructions, the communication interface 163 is used to communicate with other devices, and the processor 161 executes the computer-executed instructions to achieve the results shown in FIGS. 5 to 11
  • the implementation scheme of the second access and mobility management function network element in the method embodiment is shown.
  • FIG. 17 is a schematic structural diagram of Embodiment 2 of a communication device provided by an embodiment of this application.
  • the device can be integrated in the terminal device, and can also be implemented by the terminal device.
  • the device may include: a processor 171, a memory 172, a communication interface 173, and a system bus 174.
  • the memory 172 and the communication interface 173 are connected to the processor 171 through the system bus 174 and To complete mutual communication, the memory 172 is used to store computer-executed instructions, the communication interface 173 is used to communicate with other devices, and the processor 171 executes the computer-executed instructions to achieve the results shown in FIGS. 5 to 11
  • the implementation scheme of terminal equipment in the method embodiment is shown.
  • the system bus mentioned in FIG. 15, FIG. 16, and FIG. 17 may be a peripheral component interconnection standard (PCI) bus or an extended industry standard architecture (EISA) bus.
  • PCI peripheral component interconnection standard
  • EISA extended industry standard architecture
  • the system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used to realize the communication between the database access device and other devices (such as client, read-write library and read-only library).
  • the memory may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the above-mentioned processor can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • a general-purpose processor including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • an embodiment of the present application provides a storage medium that stores instructions in the storage medium, which when run on a computer, causes the computer to execute the first interface in the method embodiment shown in FIGS. 5 to 11 above.
  • an embodiment of the present application further provides a storage medium, which stores instructions in the storage medium, which when run on a computer, causes the computer to execute the second method in the method embodiment shown in FIGS. 5 to 11 above.
  • Implementation scheme of access and mobility management function network element is described in detail below.
  • an embodiment of the present application further provides a storage medium, which stores instructions in the storage medium, which when run on a computer, causes the computer to execute the terminal device in the method embodiment shown in FIGS. 5 to 11 above.
  • the realization scheme is described below.
  • the embodiment of the present application further provides a chip for running instructions, the chip is used to implement the implementation scheme of the first access and mobility management function network element in the method embodiments shown in FIG. 5 to FIG. 11.
  • an embodiment of the present application further provides a chip for running instructions, where the chip is used to implement the implementation scheme of the second access and mobility management function network element in the method embodiments shown in FIG. 5 to FIG. 11.
  • an embodiment of the present application further provides a chip for executing instructions, and the chip is configured to execute the implementation solution of the terminal device in the method embodiment shown in FIG. 5 to FIG. 11.
  • An embodiment of the present application further provides a program product, the program product includes a computer program, the computer program is stored in a storage medium, at least one processor can read the computer program from the storage medium, and the at least one When the processor executes the computer program, the implementation scheme of the first access and mobility management function network element in the method embodiments shown in FIG. 5 to FIG. 11 can be realized.
  • An embodiment of the present application further provides a program product, the program product includes a computer program, the computer program is stored in a storage medium, at least one processor can read the computer program from the storage medium, and the at least one When the processor executes the computer program, the implementation scheme of the second access and mobility management function network element in the method embodiments shown in FIG. 5 to FIG. 11 can be realized.
  • An embodiment of the present application further provides a program product, the program product includes a computer program, the computer program is stored in a storage medium, at least one processor can read the computer program from the storage medium, and the at least one When the processor executes the computer program, the implementation scheme of the terminal device in the method embodiments shown in FIG. 5 to FIG. 11 can be realized.
  • FIG. 18 is a schematic structural diagram of an embodiment of a communication system provided by an embodiment of this application.
  • the communication system may include: a first access and mobility management function network element 182 and a second access and mobility management function network element 183, and optionally may also include a unified data management network element 184, or further includes a terminal device 181; wherein, the first access and mobility management function network element 182 is an access and mobility management function network element determined by the access network to serve the terminal device 181, and the second
  • the access and mobility management function network element 183 is the access and mobility management function network element used to serve the terminal device 181 before the terminal device 181 requests access to the access network, and the unified data management network element 184 is used for storage services
  • the first access and mobility management function network element 182 is the selection device of the policy control function network element in the embodiment shown in FIG. 12 or FIG. 15, and the second access and mobility management function
  • the network element 183 is the selection device of the policy control function network element in the embodiment shown in FIG. 13 or FIG. 16, and the terminal device 181 is the communication device in the embodiment shown in FIG. 14 or FIG.
  • the second access and mobility management function network element 183 performs a de-registration process with the terminal device 181, and the first access and mobility management function network element 182 interacts with the terminal device 181 according to
  • the network identifier of the first access and mobility management function network element and the network identifier to which the acquired policy control function network element belongs determine the target policy control function network element serving the terminal device.
  • the first access and mobility management function network element 182 and the second access and mobility management function network element 183 refer to the record in the above method embodiment. I won't repeat them here.
  • At least one refers to one or more, and “multiple” refers to two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, both A and B exist, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship; in the formula, the character “/” indicates that the associated objects before and after are in a “division” relationship.
  • “The following at least one item (a)” or similar expressions refers to any combination of these items, including any combination of a single item (a) or plural items (a).
  • at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple One.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例提供的策略控制功能网元的选择方法、装置、系统及存储介质,用于解决现有PCF选择方法存在的信令浪费问题。其中,该方法包括:接入网确定的用于服务终端设备的第一接入和移动性管理功能网元接收终端设备的注册请求消息,根据注册请求消息中的终端设备的标识获取当前为终端设备服务的策略控制功能网元的标识和其所属的网络标识,在第一接入和移动性管理功能网元的网络标识与策略控制功能网元所属的网络标识一致时,确定该策略控制功能网元为目标策略控制功能网元。该技术方案中,使得终端设备在初始注册时会重用从前使用的策略控制功能网元和终端设备的策略信息,解决了终端设备的策略信息被重复存取,解决了信令浪费的问题。

Description

策略控制功能网元的选择方法、装置、系统及存储介质
本申请要求于2019年07月30日提交中国专利局、申请号为201910694362.8、申请名称为“策略控制功能网元的选择方法、装置、系统及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种策略控制功能网元的选择方法、装置、系统及存储介质。
背景技术
现阶段,无线通信技术已经深入的人们的生活。终端设备在初次使用或者所处地域发生变化时,均需要发起网络注册请求,以接入到通信网络。由于通信网络中一般部署有动态的策略,这样在终端设备发起注册流程时,网络中的接入和移动性管理功能(access and mobility management function,AMF)会执行策略控制功能(policy control function,PCF)选择流程,确定出服务的PCF。
现有技术中,AMF选择PCF的流程如下:AMF与网络功能和存储功能(network function repository function,NRF)进行交互,获取该通信网络中的PCF信息,进而根据获取到的PCF信息选择服务的PCF,再利用该PCF从统一数据库(unified data repository,UDR)获取该终端设备的策略切片标识(policy section identifier,PSI)以及对应的策略内容等策略信息,从而实现对终端设备的策略控制管理。
然而,虽然UDR中存储的终端设备的策略信息不会因为终端设备的去注册而发生改变,但现有的PCF选择方法在终端设备每次发起注册流程时,AMF均会选择PCF,再利用选择的PCF到UDR获取该终端设备的策略信息,致使终端设备的策略信息被重复存取,存在信令浪费的问题。
发明内容
本申请实施例提供一种策略控制功能网元的选择方法、装置、系统及存储介质,以解决现有PCF选择方法在终端设备每次发起注册流程时存在的信令浪费问题。
本申请第一方面提供一种策略控制功能网元的选择方法,包括:
第一接入和移动性管理功能网元接收终端设备的注册请求消息,所述注册请求消息包括:所述终端设备的标识,所述第一接入和移动性管理功能网元为接入网确定的用于服务所述终端设备的接入和移动性管理功能网元;
所述第一接入和移动性管理功能网元根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
在所述第一接入和移动性管理功能网元的网络标识与所述策略控制功能网元所属的 网络标识一致时,所述第一接入和移动性管理功能网元确定所述策略控制功能网元为目标策略控制功能网元。
在本实施例中,在终端设备发起注册时,第一接入和移动性管理功能网元可以确定出终端设备使用的策略控制功能网元,并且重用该策略控制功能网元,避免了通过网络存储功能网元重新选择策略控制功能网元,以及策略控制功能网元从统一数据库重新获取该终端设备的策略切片标识及其对应的策略内容等信息的交互流程,从而节省了信令开销。
在第一方面的一种可能实现方式中,所述注册请求消息还包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
所述第一接入和移动性管理功能网元根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,包括:
所述第一接入和移动性管理功能网元根据所述终端设备的标识,从所述终端设备的所述注册请求消息中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
在本实施例中,终端设备在初始注册时可以携带策略控制功能网元的标识和策略控制功能网元所属的网络标识,这样第一接入和移动性管理功能网元可以根据终端设备在初始注册时携带的策略控制功能网元的标识和策略控制功能网元所属的网络标识重用终端设备在去注册之前使用的策略控制功能网元,这样网络侧的第一接入和移动性管理功能网元不用再为初始注册的终端设备重新选择策略控制功能网元,也不用重新到统一数据库去取策略信息,从而节省了信令交互,降低了资源消耗。
在第一方面的另一种可能实现方式中,所述第一接入和移动性管理功能网元根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,包括:
所述第一接入和移动性管理功能网元根据所述终端设备的标识,从统一数据管理网元获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
在本实施例中,终端设备对应的PCF的标识以及其所属网络标识存储在统一数据管理网元中,终端设备在初始注册时,第一接入和移动性管理功能网元可以根据从统一数据管理网元取得的策略控制功能网元的标识和策略控制功能网元所属的网络标识重用终端设备去注册之前的策略控制功能网元,这样网络侧不用再重新为初始注册的终端设备选择策略控制功能网元,也不用重新到统一数据库获取策略信息,从而节省了信令交互
在第一方面的再一种可能实现方式中,所述第一接入和移动性管理功能网元根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,包括:
所述第一接入和移动性管理功能网元根据所述终端设备的标识,从第二接入和移动性管理功能网元中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第二接入和移动性管理功能网元为所述终端设备请求接入所述接入网之前用于服务所述终端设备的接入和移动性管理功能网元。
在本实施例中,通过将终端设备对应的策略控制功能网元的标识以及其所属网络标识存储在第二接入和移动性管理功能网元(旧接入和移动性管理功能网元)中,终端设备在初始注册时,第一接入和移动性管理功能网元可以根据从第二接入和移动性管理功能网元 取得的策略控制功能网元的标识和策略控制功能网元所属的网络标识重用终端设备去注册之前的策略控制功能网元,这样网络侧不用再重新为初始注册的终端设备选择策略控制功能网元,也不用重新到统一数据库获取策略信息,从而节省了信令开销。
在本申请的又一实施例中,所述第一接入和移动性管理功能网元接收终端设备的注册请求消息,包括:
所述第一接入和移动性管理功能网元接收所述终端设备通过接入网发送的所述注册请求消息。
本申请第二方面提供一种策略控制功能网元的选择方法,包括:
第二接入和移动性管理功能网元执行与终端设备之间的去注册流程,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元;
所述第二接入和移动性管理功能网元解除与策略控制功能网元之间的关联关系,所述策略控制功能网元是当前服务所述终端设备的策略控制功能网元,所述策略控制功能网元中保留有所述终端设备的策略信息。
在本实施例中,第二接入和移动性管理功能网元执行与终端设备之间的去注册流程,并解除与策略控制功能网元之间的关联关系,为后续终端设备的重注册提供了实现可能。
在第二方面的一种可能实现方式中,在所述第二接入和移动性管理功能网元解除与策略控制功能网元之间的关联关系之前,所述方法还包括:
所述第二接入和移动性管理功能网元将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给所述终端设备。
在本实施例中,第二接入和移动性管理功能网元与终端设备去注册时,第二接入和移动性管理功能网元直接将策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给终端设备,使得终端设备可以将其携带在注册请求消息中发送给第一接入和移动性管理功能网元,避免了信令交互确定策略控制功能网元的过程,降低了信令开销,避免了资源浪费。
在第二方面的另一种可能实现方式中,在所述第二接入和移动性管理功能网元解除与策略控制功能网元之间的关联关系之前,所述方法还包括:
所述第二接入和移动性管理功能网元将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给统一数据管理网元。
在第二方面的该种可能实现方式中,所述方法还包括:
当所述第二接入和移动性管理功能网元确定服务所述终端设备的策略控制功能网元改变时,所述第二接入和移动性管理功能网元更新所述统一数据管理网元中存储的所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
在本实施例中,第二接入和移动性管理功能网元及时更新统一数据管理网元中存储的策略控制功能网元的标识和策略控制功能网元所属的网络标识,能够保证统一数据管理网元中存储的策略控制功能网元的标识和策略控制功能网元所属的网络标识的正确性,避免了信息的错误存储,提高了系统稳定性。
在第二方面的再一种可能实现方式中,在所述第二接入和移动性管理功能网元解除与策略控制功能网元之间的关联关系之前,所述方法还包括:
所述第二接入和移动性管理功能网元保留所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
在本实施例中,第二接入和移动性管理功能网元与终端设备之间去注册时,保留策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,这样第一接入和移动性管理功能网元可以直接从第二接入和移动性管理功能网元获取,避免了重新确定的过程,减低了实现复杂度,提高了性能。
本申请第三方面提供一种策略控制功能网元的选择方法,包括:
终端设备接收第二接入和移动性管理功能网元发送的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述策略控制功能网元是当前服务所述终端设备的策略控制功能网元,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元;
所述终端设备通过所述接入网向第一接入和移动性管理功能网元发送注册请求消息,所述注册请求消息包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第一接入和移动性管理功能网元为所述接入网确定的用于服务所述终端设备的接入和移动性管理功能网元;
其中,所述注册请求消息用于指示所述第一接入和移动性管理功能网元根据所述第一接入和移动性管理功能网元的网络标识和所述策略控制功能网元所属的网络标识确定目标策略控制功能网元。
在本实施例中,当终端设备接收到第二接入和移动性管理功能网元发送的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识时,将其携带在注册请求消息中发送给第一接入和移动性管理功能网元,使得该第一接入和移动性管理功能网元通过解析该注册请求消息便能获取到策略控制功能网元的标识和策略控制功能网元所属的网络标识,降低了信令开销,避免了资源浪费。
本申请第四方面提供一种策略控制功能网元的选择装置,包括:接收模块、获取模块和处理模块;
所述接收模块,用于接收终端设备的注册请求消息,所述注册请求消息包括:所述终端设备的标识;
所述获取模块,用于根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
所述处理模块,用于在第一接入和移动性管理功能网元的网络标识与所述策略控制功能网元所属的网络标识一致时,确定所述策略控制功能网元为目标策略控制功能网元,所述第一接入和移动性管理功能网元为接入网确定的用于服务所述终端设备的接入和移动性管理功能网元。
在第四方面的一种可能实现方式中,所述注册请求消息还包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
所述获取模块,具体用于根据所述终端设备的标识,从所述终端设备的所述注册请求消息中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
在第四方面的另一种可能实现方式中,所述获取模块,具体用于根据所述终端设备的标识,从统一数据管理网元获取所述策略控制功能网元的标识和所述策略控制功能网元所 属的网络标识。
在第四方面的再一种可能实现方式中,所述获取模块,具体用于根据所述终端设备的标识,从第二接入和移动性管理功能网元中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第二接入和移动性管理功能网元为所述终端设备请求接入所述接入网之前用于服务所述终端设备的接入和移动性管理功能网元。
在第四方面的又一种可能实现方式中,所述接收模块,用于接收所述终端设备通过接入网发送的所述注册请求消息。
本申请第五方面提供一种策略控制功能网元的选择装置,包括:处理模块;
所述处理模块,用于第二接入和移动性管理功能网元执行与终端设备之间的去注册流程,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元,以及解除与策略控制功能网元之间的关联关系,所述策略控制功能网元是当前服务所述终端设备的策略控制功能网元,所述策略控制功能网元中保留有所述终端设备的策略信息。
在第五方面的一种可能实现方式中,所述装置还包括:发送模块;
所述发送模块,用于在所述处理模块解除与策略控制功能网元之间的关联关系之前,将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给所述终端设备。
在第五方面的另一种可能实现方式中,所述装置还包括:发送模块;
所述发送模块,用于在所述处理模块解除与策略控制功能网元之间的关联关系之前,将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给统一数据管理网元。
可选的,所述处理模块,还用于在所述第二接入和移动性管理功能网元确定服务所述终端设备的策略控制功能网元改变时,更新所述统一数据管理网元中存储的所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
在第五方面的再一种可能实现方式中,所述装置还包括:存储模块;
所述存储模块,还用于保留所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
本申请第六方面提供一种通信装置,包括:接收模块、处理模块和发送模块;
所述接收模块,用于接收第二接入和移动性管理功能网元发送的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述策略控制功能网元是当前服务所述终端设备的策略控制功能网元,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元;
所述处理模块,用于利用发送模块通过所述接入网向第一接入和移动性管理功能网元发送注册请求消息,所述注册请求消息包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第一接入和移动性管理功能网元为所述接入网确定的用于服务所述终端设备的接入和移动性管理功能网元;
其中,所述注册请求消息用于指示所述第一接入和移动性管理功能网元根据所述第一接入和移动性管理功能网元的网络标识和所述策略控制功能网元所属的网络标识确定目标策略控制功能网元。
本申请第七方面提供一种策略控制功能网元的选择装置,包括处理器、存储器及存储在所述存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述第一方面以及第一方面各可能实现方式所述的方法。
本申请第八方面提供一种策略控制功能网元的选择装置,包括处理器、存储器及存储在所述存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述第二方面以及第二方面各可能实现方式所述的方法。
本申请第九方面提供一种通信装置,包括处理器、存储器及存储在所述存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述第三方面所述的方法。
本申请第十方面提供一种通信系统,包括:第一接入和移动性管理功能网元和第二接入和移动性管理功能网元,可选的还可以包括统一数据管理网元或终端设备中;其中,所述第一接入和移动性管理功能网元为接入网确定的用于服务所述终端设备的接入和移动性管理功能网元,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元,所述统一数据管理网元用于存储服务所述终端设备的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
所述第一接入和移动性管理功能网元为上述第四方面以及第四方面各种可能实现方式中所述的装置,所述第二接入和移动性管理功能网元为上述第五方面以及第五方面各种可能实现方式中所述的装置,所述终端设备为上述第六方面所述的装置。
本申请第十一方面提供一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如上述第一方面以及第一方面各可能实现方式所述的方法。
本申请第十二方面提供一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如上述第二方面以及第二方面各可能实现方式所述的方法。
本申请第十三方面提供一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如上述第三方面所述的方法。
本申请第十四方面提供一种包含指令的程序产品,当其在计算机上运行时,使得计算机执行上述第一方面以及第一方面各种可能的实现方式中所述的方法。
本申请第十五方面提供一种包含指令的程序产品,当其在计算机上运行时,使得计算机执行上述第二方面以及第二方面各种可能的实现方式中所述的方法。
本申请第十六方面提供一种包含指令的程序产品,当其在计算机上运行时,使得计算机执行上述第三方面所述的方法。
本申请第十七方面提供一种运行指令的芯片,所述芯片用于执行上述第一方面以及第一方面各种可能的实现方式中所述的方法。
本申请第十八方面提供一种运行指令的芯片,所述芯片用于执行上述第二方面以及第二方面各种可能的实现方式中所述的方法。
本申请第十九方面提供一种运行指令的芯片,所述芯片用于执行上述第三方面所述的方法。
本申请实施提供的策略控制功能网元的选择方法、装置、系统及存储介质,通过第一AMF接收终端设备的注册请求消息,该注册请求消息包括:终端设备的标识,第一AMF为接入网确定的用于服务终端设备的AMF,并根据该终端设备的标识,获取当前为终端设 备服务的PCF的标识和该PCF所属的网络标识,在第一AMF的网络标识与PCF所属的网络标识一致时,确定该PCF为目标PCF,该技术方案中,在第一AMF的选择策略下,终端设备在初始注册时会重用从前使用的PCF和终端设备的策略信息,解决了终端设备的策略信息被重复存取,解决了信令浪费的问题。
附图说明
图1为本申请实施例提供的一种PCF的选择方法的应用场景示意图;
图2为本申请实施例提供的另一种PCF的选择方法的应用场景示意图;
图3为本申请实施例提供的再一种PCF的选择方法的应用场景示意图;
图4为UE更换AMF的交互流程图;
图5为本申请实施例提供的PCF的选择方法实施例一的流程示意图;
图6为本申请实施例提供的PCF的选择方法实施例二的交互示意图;
图7为本申请实施例提供的PCF的选择方法实施例三的交互示意图;
图8为本申请实施例提供的PCF的选择方法实施例四的交互示意图;
图9为本申请实施例提供的PCF的选择方法实施例五的交互示意图;
图10为本申请实施例提供的PCF的选择方法实施例六的交互示意图;
图11为本申请实施例提供的PCF的选择方法实施例七的交互示意图;
图12为本申请实施例提供的策略控制功能网元的选择装置实施例一的结构示意图;
图13为本申请实施例提供的策略控制功能网元的选择装置实施例二的结构示意图;
图14为本申请实施例提供的通信装置实施例一的结构示意图;
图15为本申请实施例提供的策略控制功能网元的选择装置实施例三的结构示意图;
图16为本申请实施例提供的策略控制功能网元的选择装置实施例四的结构示意图;
图17为本申请实施例提供的通信装置实施例二的结构示意图;
图18为本申请实施例提供的通信系统实施例的结构示意图。
具体实施方式
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解:
UE:用户设备(user equipment,UE),在本申请的实施例中也称为终端设备,其可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,比如智能手机,IoT芯片,V2X网络中的车辆等。
(R)AN:(无线)接入网((radio)access network,(R)AN)主要功能是控制UE通过无线接入到移动通信网络中。
UPF:用户面功能网元(user plane function,UPF)的主要功能包含数据包路由和传输、包检测、业务用量上报、服务质量(quality of service,QoS)处理、合法监听、上行包检测、下行数据包存储等用户面相关的功能。
AMF:接入和移动性管理功能网元(access and mobility management function,AMF)的主要功能包含连接管理、移动性管理、注册管理、接入认证和授权、可达性管理、安全上下文管理等接入和移动性相关的功能。
SMF:会话管理功能网元(session management function,SMF)的主要功能包含会话管理(如会话建立、修改和释放,包含UPF网元和AN之间的隧道维护)、UPF网元的选择和控制、业务和会话连续性(service and session continuity,SSC)模式选择、漫游等会话相关的功能。
PCF:策略控制功能网元(policy control function,PCF)的主要功能包含统一策略制定、策略控制的提供和从统一数据库(unified data repository,UDR)中获取策略决策相关的签约信息等策略相关的功能。其中,PCF(可以有H-PCF和V-PCF),其中H和V分别指代Home和Visited,代表归属域和漫游域。
NSSF:网络切片选择功能网元(network slice selection function,NSSF)的主要功能包含为UE选择一组网络切片实例、确定允许的NSSAI和确定可以服务UE的AMF集等。
NRF:网络存储功能网元(network Function repository function,NRF)的主要功能包括服务发现功能,维护可用的网络功能网元(network Function,NF)实例的NF文本以及他们支持的服务。
AF:应用功能网元(Application Function,AF)与3GPP核心网交互提供业务或者服务,包括与NEF交互,策略架构交互等。
NEF:网络开放功能网元(network exposure function,NEF)的主要功能包括:安全的开放3GPP网络功能提供的业务和能力,有内部开放,或者开放给第三方等。转化或翻译与AF交互的信息和内部网络功能交互德行信息,如AF服务标识和内部5G核心网信息如DNN,S-NSSAI等;
UDM:统一数据管理网元(unified data management,UDM),支持3GPP认证和秘钥协商机制中的认证信任状处理,用户身份处理,接入授权,注册和移动性管理,签约管理,短消息管理等。
AUSF:认证服务器功能网元(authentication server function,AUSF),与UDM交互获取用户信息,并执行认证相关的功能,如生成中间秘钥等。
DN:数据网络(data network)。
本申请下述各实施例提供的策略控制功能网元的选择方法,可适用于通信系统中。图1为本申请实施例提供的一种PCF的选择方法的应用场景示意图。该应用场景适用于一种服务化架构(service-based architecture,SBA),其是第五代移动通信系统(5G)的重要特征。如图1所示,该应用场景可以包括:UE、(R)AN、UPF、DN、AMF、SMF、AUSF、NSSF、NEF、NRF、PCF、UDM、AF等网元。示例性的,在图1所示的应用场景中,该服务化架构以5G非漫游的服务化架构进行说明。
参照图1所示,在非漫游场景下,即UE位于HPLMN(家乡或者归属PLMN网络中)网络,AMF只需要选择一个PCF。具体的,UE既可以直接接入AMF,也可以通过(R)AN接入AMF,从而通过与其他网元的通信,选择合适的PCF。
示例性的,在本实施例中,(R)AN与UPF之间具有连接关系,且UPF与SMF可以相互通信,UPF可以接入DN。在图1所示的实施例中,AMF、SMF、AUSF、NSSF、NEF、NRF、PCF、UDM、AF均可以通过系统总线相互通信,也即,在本申请的实施例中,5G核心网可以通过基于服务的架构、切片、CU分离等,结合云化技术,实现网络的定制化、开放化、服务化,支持大流量、大连接和低延时的万物互联需求。
关于每个网元之间的具体通信原理,此处不再赘述,其可以根据实际需求确定。
示例性的,图2为本申请实施例提供的另一种PCF的选择方法的应用场景示意图。图3为本申请实施例提供的再一种PCF的选择方法的应用场景示意图。图2所示的应用场景与图1所示应用场景的区别在于,图2所示的应用场景适用于一种5G本地分流的漫游服务化架构,图3所示的应用场景与图1所示应用场景的区别在于,图3所示的应用场景适用于一种5G归属路由的漫游服务化架构。
参照图2和图3所示,图2和图3中服务架构的公共陆地移动网络(public land mobile network,PLMN)均包括VPLMN(漫游Visited的PLMN网络)和HPLMN(家乡或者归属home的PLMN网络)。图2和图3的区别在于:UE位于VPLMN(拜访或者访问PLMN网络)网络中时,在图2所示的服务架构中,UPF和DN位于VPLMN中,而在图3所示的服务架构中,VPLMN和HPLMN均具有UPF,且VPLMN和HPLMN中的UPF可以通信,且DN位于HPLMN。
在图2和图3所示的服务架构中,AMF需要选择两个PCF,一个V-PCF(即位于VPLMN中的PCF),一个H-PCF(即位于HPLMN中的PCF),关于选择的具体实现原理,此处不再赘述。
可以理解的是,图1和图2所示的应用场景包括的网元只是示意图,实际上,上述应用场景还可以包括其它设备,例如,无线中继设备和无线回传设备,或者网络控制器等其他网络实体,本申请实施例不限于此。
本申请实施例中,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
下面首先针对本申请实施例适用场景进行简要说明。
在实际应用中,当UE所处地域发生变化时,需要更新为其服务器的AMF,因此,UE会需要旧的AMF中清楚签约信息和移动性管理(mobile management,MM)上下文。因此,AMF会触发清除AMF中签约信息的流程,即“Purge of subscriber data in AMF”流程。
具体的,AMF首先向UDM发送取消签约信息请求(例如,Nudm_SDM_Unsubscribe request),UDM对该取消签约信息请求进行处理后,向AMF发送取消签约信息响应(即,Nudm_SDM_Unsubscribe response);类似的,AMF首先向UDM发送取消注册请求(例如,Nudm_UECM_Deregistration request),UDM对该取消注册请求进行处理后,向AMF发送取消注册响应(例如,Nudm_UECM_Deregistration response),从而实现AMF取消UDM中的订阅事件以及在UDM中的注册。
下面介绍UE接入5G网络时向AMF发起的注册流程。
示例性的,当UE接入5G网络时(网络架构参照图1所示),向AMF发起注册流程。当网络部署了动态策略(policy),AMF会执行PCF的选择流程,获取服务的PCF,并向服务PCF发起策略获取流程。
其中,AMF选择PCF的流程包含:其一,与NRF进行交互获取PCF实例(具体的AMF与NRF的交互流程见下述PCF的选择方案),并从PCF实例中选择使用的PCF;其二,根据本地配置策略选择PCF。
作为一种示例,例如在图1所示的非漫游应用场景下,即UE位于HPLMN(家乡或 者归属PLMN网络中)网络时,AMF只需要选择一个PCF。
作为另一种示例,在图2或图3所示的非漫游应用场景下,即UE位于VPLMN(拜访或者访问PLMN网络)网络,AMF需要选择两个PCF,一个V-PCF(即位于VPLMN中的PCF),一个H-PCF(即位于HPLMN中的PCF)。
示例性的,图4为UE更换AMF的交互流程图。本实施例中参与处理的网元包括UE、(R)AN、新AMF、旧AMF、PCF、SMF、AUSF、UDM、设备标识寄存器(equipment identity register,EIR)、非3GPP互通功能(non-3GPP inter working function,N3IWF)等。如图4所示,UE更换AMF的步骤如下:
1、UE向(R)AN发起注册请求;
2、(R)AN确定出新AMF;
3、(R)AN向新AMF发送所述注册请求;
示例性的,若由于UE的移动等原因致使AMF发生改变,则执行4、新AMF向旧AMF请求UE上下文(MM上下文);
5、旧AMF向新AMF发送UE上下文,其中,该UE上下文包含PCF ID;
6、新AMF向UE发送加密标识获取请求;
7、UE通过加密标识获取响应返回加密标识;
8、新AMF选择AUSF;
9、新AMF通过UE、AUSF和UDM对AUSF进行鉴权;
鉴权成功时,10、新AMF告知旧AMF上下文传递完毕;
11、新AMF从UE获取设备标识;
12、新AMF与EIR交互检测获取到的设备标识;
13、新AMF选择UDM;
14、新AMF在UDM中进行注册并获取签约信息;
15、UDM通知旧AMF删除上下文;
16、新AMF选择PCF(具体请见下述PCF的选择);
17、新AMF建立与PCF之间的连接;若PCF收到的(V-)PCF ID与本身的PCF ID一致,则PCF删除与旧AMF的连接(即PCF发起),但保留UE的上下文;
18、激活新AMF与SMF之间的PDU会话;
19、新AMF与非3GPP侧的N3IWF交互;
作为一种示例,若UE上下文未携带PCF ID,则20、旧AMF删除与原PCF的连接(即旧AMF发起);
21、新AMF向UE发送注册接受通知;
22、UE注册完成。
在上述实施例的基础上,AMF与NRF进行交互获取PCF信息并选择PCF的流程如下:
在一种实施例中,当UE位于HPLMN中时,此时AMF位于HPLMN中,AMF向HPLMN中的NRF发送NF发现请求,以用于获取HPLMN中的PCF信息(如PCF的IP地址(可以为IPv4的地址或者IPv6的前缀)或全限定域名(fully qualified domain name,FQDN)),AMF根据获取的PCF信息选择PCF。
在另一种实施例中,当UE位于VPLMN时,此时AMF也位于VPLMN中。这种场 景下,AMF需要选择两个PCF,即V-PCF和H-PCF。AMF向V-NRF发送NF发现请求,获取VPLMN中的V-PCF信息,并根据V-PCF信息选择V-PCF;进一步的,AMF通过V-NRF向H-NRF发送NF发现请求,获取HPLMN中的H-PCF信息,并根据PCF信息选择H-PCF。
值得说明的是,AMF获取PCF的具体实现原理可以根据实际情况选择上述实现方式,此处不再赘述。
示例性的,下述介绍接入和移动性管理(access and mobility management,AM)策略的关联建立过程。示例性的,在UE发起初始注册或者AMF发生改变时均会触发AMF和PCF之间执行AM策略关联流程。
值得说明的是,AMF和PCF之间还可能执行UE策略关联,UE策略关联的相关流程与AM策略关联的相关流程类似,非漫游场景下直接将AM策略关联中的AMF替换为UE即可。在漫游场景下,UE策略关联中涉及V-PCF和H-PCF,AM策略关联中涉及V-PCF。
在本实施例中,AMF选择的PCF可以是通过UE策略关联确定的PCF,也可以是通过AM策略关联确定的PCF,本申请实施例并不对其进行限定。
作为一种示例,UE发起初始注册时,AMF新选择一个PCF并建立关联关系的过程如下:
1、AMF决定要建立AM策略关联;
2、AMF向PCF发送创建AM策略的请求;
3、PCF向AMF返回创建的AM策略响应;
4、AMF根据接收到的AM策略响应部署AM策略。
作为另一种示例,当AMF发生改变时,新AMF会重选一个PCF并建立关联关系,具体流程如下:
1、新AMF从旧AMF接受UE上下文,其中包含旧AMF选择的PCF ID。
2、新AMF决定要建立AM策略关联;
3、新AMF向PCF发送创建AM策略的请求;
4、PCF向AMF返回创建的AM策略响应;
5、AMF根据接收到的AM策略响应部署AM策略。
示例性的,下述介绍AM策略的关联终止过程。作为一种示例,UE去注册,即AMF改变时(且旧AMF不发送PCF ID时),旧AMF会发起关联终止。作为另一种示例,AM策略关联关系建立或者UDR中的策略信息改变时,PCF会发起关联终止。
示例性的,AMF发起关联终止的过程如下:
1、AMF决定终止策略关联;
2、AMF携带UE标识,向PCF发送删除AM策略关联请求;
3、PCF在删除AM策略关联后,向AMF发送删除AM策略关联响应;
4、AMF删除存储的AM策略上下文。
示例性的,PCF发起关联终止的过程如下:
1、UDR删除存储的AM策略数据;
2、UDR通知PCF,AM策略数据被删除;
3、若PCF收到了自己的PCF ID,则保留UE的上下文(策略上下文),若PCF未收 到自己的PCF ID,则删除AM策略数据和UE的上下文。
6、AMF删除AM策略。
现有技术中,在UE去注册时,AMF会触发AM策略关联终止,这时AMF在会删除存储的PCF ID(s),PCF上会删除内部维护的策略切片标识(policy section identifier,PSI)等信息。
示例性的,对于UE发起的去注册流程:
1、UE向AMF发起去注册请求;
2、AMF向SMF发起PDU会话释放请求,SMF释放PDU会话并向AMF作回应。
3、SMF向PCF发起会话管理策略关联的终止,并终止该会话管理策略的关联;
4、SMF取消UDM中的事件订阅,以及取消在UDM中的注册;
5、AMF与PCF进行交互,终止AM策略关联;
6、AMF向UE发送去注册接受消息;
7、AMF通过(R)AN向AMF发起信令连接的释放。
示例性的,对于网络发起的去注册流程:
1、AMF接收到UDM发送的去注册通知;
2、AMF向UE发送去注册请求,同时,AMF向UDM发送通知响应,以取消在UDM中的事件订阅;
3、AMF向SMF发起PDU会话释放请求,SMF释放PDU会话并向AMF作回应;
4、SMF向PCF发起会话管理策略关联的终止,并终止该会话管理策略的关联;
5、SMF取消UDM中的事件订阅,以及取消在UDM中的注册;
6、AMF与PCF进行交互,终止AM策略关联;
6、AMF接收UE发送的去注册接受消息;
7、AMF通过(R)AN向AMF发起信令连接的释放。
由上述分析可知,UE在初始注册时,AMF需要通过NRF重新选择PCF,PCF要去UDR获取该UE的PSI及其对应的策略内容等信息,而UDR中存储的UE的策略内容并不会因为UE去注册而发生改变,重复存取造成了信令的浪费。
针对上述问题,本申请实施例提供了一种策略控制功能网元的选择方法,第一AMF接收终端设备的注册请求消息,该注册请求消息包括:终端设备的标识,第一AMF为接入网确定的用于服务终端设备的AMF,并根据该终端设备的标识,获取当前为终端设备服务的PCF的标识和该PCF所属的网络标识,在第一AMF的网络标识与PCF所属的网络标识一致时,确定该PCF为目标PCF。也即,该技术方案中,在第一AMF的选择策略下,终端设备在初始注册时会重用从前使用的PCF和终端设备的策略信息,避免了终端设备的策略信息被重复存取,解决了信令浪费的问题。
下面,通过具体实施例对本申请的技术方案进行详细说明。需要说明的是,下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。
图5为本申请实施例提供的PCF的选择方法实施例一的流程示意图。如图5所示,在本实施例中,该方法可以包括如下步骤:
步骤501:第一AMF接收终端设备的注册请求消息,该注册请求消息包括:终端设备 的标识,该第一AMF为接入网确定的用于服务终端设备的AMF。
在本申请的实施例中,当终端设备由于移动或者初始注册等原因确定用于服务终端设备的AMF需要发生改变时,该终端设备将会向接入网重新发起注册请求消息以请求接入该接入网,为了使得接入网确定发出注册请求消息的终端设备,该注册请求消息中可以包括终端设备的标识,因而,该接入网可以根据接收到的该注册请求消息确定出用于服务终端设备的第一AMF,并将从接收到的注册请求消息发送给该第一AMF,以使第一AMF根据接收到的注册请求消息中的终端设备的标识确定出终端设备对应的PCF。
由该步骤的分析可知,该步骤501实际上是:第一AMF接收终端设备通过接入网发送的注册请求消息。
步骤502:第一AMF根据终端设备的标识,获取当前为终端设备服务的PCF的标识和该PCF所属的网络标识。
在本实施例中,第一AMF接收到接入网转发的终端设备的注册请求消息时,第一AMF可以首先根据终端设备的标识确定出对应的终端设备,再基于终端设备或网络设备发起的去注册流程确定当前为终端设备服务的PCF的标识和该PCF所属的网络标识的所在位置,确定如何获取该PCF的标识和该PCF所属的网络标识。
值得说明的是,在下述实施例中,未经特殊说明,若终端设备处于漫游状态下,则第一AMF获取到的当前为终端设备服务的PCF的标识和该PCF所属的网络标识均为两个,其中一个是V-PCF的标识,该V-PCF所属的网络标识为VPLMN,另一个是H-PCF的标识,该H-PCF所属的网络标识为HPLMN,也即,V-PCF位于VPLMN中,H-PCF位于HPLMN中。
作为一种示例,上述注册请求消息还包括当前为终端设备服务的PCF的标识和该PCF所属的网络标识,也即,在终端设备本身存储有为该终端设备服务的PCF的标识和该PCF所属的网络标识时,终端设备在发起注册流程时,会将该PCF的标识和该PCF所属的网络标识同终端设备的标识一起携带注册请求消息发送给接入网,相应的,该接入网再将其发送给确定的第一AMF,这时第一AMF可以从接收到的注册请求消息中获取当前为终端设备服务的PCF的标识和该PCF所属的网络标识。
作为另一种示例,若当前为终端设备服务的PCF的标识和该PCF所属的网络标识在去注册时发送给了UDM,则第一AMF在UDM中进行注册并获取签约信息时,可以从UDM中获取当前为终端设备服务的PCF的标识和该PCF所属的网络标识。
作为再一种示例,若终端设备与终端设备接入接入网之前用于服务终端设备的第二AMF之间去注册时,若该第二AMF未删除存储的PCF的标识和该PCF所属的网络标识,则第一AMF在接收到终端设备的注册请求消息时,可以从第二AMF中获取当前为终端设备服务的PCF的标识和该PCF所属的网络标识。
关于每种示例的具体实现方式可以参见下述实施例中的记载,此处不再赘述。
步骤503:在第一AMF的网络标识与上述PCF所属的网络标识一致时,第一AMF确定该PCF为目标PCF。
在本实施例中,第一AMF可以将其所在的网络标识与上述获取到的PCF所属的网络标识进行对比,若两者一致,第一AMF可以直接将该PCF确定为目标PCF,也即,第一AMF在UE初始注册时可以直接重用之前的PCF,不需要通过NRF重新选择PCF。
可以理解的是,第一AMF的网络标识也是UE当前接入网络的标识,所以,在UE当前接入网络的标识与上述PCF所属的网络标识一致时,第一AMF也可以确定该PCF为目标PCF。也即,在本实施例中,该注册请求消息用于指示第一AMF根据第一AMF的网络标识和PCF所属的网络标识确定目标PCF。
本申请实施例提供的策略控制功能网元的选择方法,第一AMF接收终端设备的注册请求消息,该注册请求消息包括:终端设备的标识,第一AMF为接入网确定的用于服务终端设备的AMF,并根据该终端设备的标识,获取当前为终端设备服务的PCF的标识和该PCF所属的网络标识,在第一AMF的网络标识与PCF所属的网络标识一致时,确定该PCF为目标PCF。该技术方案中,在终端设备发起注册时直接重用之前的PCF,避免了通过NRF重新选择PCF,以及PCF从UDR重新获取该终端设备的PSI及其对应的策略内容等信息的交互流程,从而节省了信令开销。
示例性的,在上述实施例的基础上,图6为本申请实施例提供的PCF的选择方法实施例二的交互示意图。该实施例以终端设备、终端设备接入接入网之前用于服务终端设备的第二AMF以及接入网确定的用于服务该终端设备的第一AMF之间的信息交互进行说明。在本实施例中,如图6所示,在上述步骤501之前,该方法还可以包括如下步骤:
步骤601:第二AMF执行与终端设备之间的去注册流程。
在本实施例中,在终端设备由于移动或者初始注册等原因确定用于服务终端设备的AMF需要发生改变时,该第二AMF即是改变之前用于服务终端设备的AMF。因而,终端设备与第二AMF之间需要执行去注册流程,以使得第二AMF与PCF之间的关联关系解除。
步骤602:第二AMF将PCF的标识和该PCF所属的网络标识发送给终端设备。
示例性的,在本实施例中,终端设备与第二AMF之间执行去注册流程时,第二AMF发起AM策略连接的终止流程,PCF与第二AMF之间可以只断开关联,但保留终端设备的PSI等策略信息,而且第二AMF可以将存储的PCF ID(s)及该PCF对应的PLMN ID下发给终端设备。
在本实施例的一种可能设计中,该步骤602可以通过如下流程实现:
若上述去注册流程由终端设备发起,则第二AMF通过去注册接受消息将该PCF的标识和PCF所属的网络标识发送给终端设备。
具体的,若是终端设备发起的去注册流程,第二AMF向SMF发起PDU会话释放请求,SMF释放PDU会话并向第二AMF作回应,SMF发起会话管理策略关联的终止,向UDM取消事件订阅,并在UDM中取消注册,进一步的,第二AMF可以发起AM策略关联终止流程,并向终端设备发送去注册接受消息,最后,第二AMF发起与终端设备之间的信令连接的释放。
其中,该去注册消息中包含当前为该终端设备服务的PCF ID(s)及该PCF所属网络的标识,例如,PLMN ID(s)。
值得说明的是,在漫游场景下,去注册消息中可以包含两个PCF,一个(V-PCF)位于VPLMN,另一个(H-PCF)位于HPLMN。
因而,在本申请的实施例中,第二AMF可以在向终端设备发送的去注册接受消息中携带PCF的标识和PCF所属的网络标识,这样终端设备在初始注册时可以将PCF ID(s)及 该PCF所属的PLMN ID携带在注册请求消息中,并通过接入网传递给第一AMF。这样,第一AMF可以判断其所在网络的PLMN ID与获取到的PCF的PLMN ID是否一致,并在一致时,第一AMF可以优先重用终端设备传递的PCF,从而避免重新获取。
在本实施例的另一种可能设计中,该步骤602可以通过如下流程实现:
若去注册流程由网络侧的UDM发起时,则第二AMF通过去注册请求消息将从统一数据管理网元UDM获取到的PCF的标识和该PCF所属的网络标识发送给终端设备。
若是网络侧发起的去注册,可以在去注册请求消息中携带。
具体的,在本实施例中,第二AMF可以接收UDM发送的去注册通知,该去注册通知中可以包含当前为终端设备服务的PCF ID(s)及该PCF对应的PLMN ID(s),同理,在漫游场景下,去注册通知中包含两个PCF,一个(V-PCF)位于VPLMN,另一个(H-PCF)位于HPLMN。
第二AMF根据从UDM接收到的去注册通知向终端设备发送去注册请求消息,相应的,第二AMF向UDM发送去注册通知响应,并向UDM发送取消事件订阅。也即,第二AMF向SMF发起PDU会话释放请求,SMF释放PDU会话并向第二AMF作回应,SMF发起会话管理策略关联的终止,向UDM取消事件订阅,并在UDM中取消注册,同理,第二AMF可以发起AM策略关联终止流程,并向终端设备发送去注册接受消息,以及发起信令连接的释放。
步骤603:第二AMF解除与PCF之间的关联关系,该PCF是当前服务终端设备的PCF,该PCF中保留有所述终端设备的策略信息。
在本实施例中,该第二AMF执行与终端设备执行去注册流程时,第二AMF与PCF之间的关联关系解除,但PCF中保留有终端设备的策略信息。
在本实施例中,为了减少信令交互,第二AMF执行与终端设备执行去注册流程时,可以控制为终端设备服务的PCF不删除内部存储的终端设备的策略信息,从而使其在后续重新发起注册时可以直接利用PCF存储的终端设备的策略信息,避免了终端设备的策略信息需要重新获取的步骤,节省了信令开销。
相应的,在本实施例中,上述注册请求消息还包括:PCF的标识和该PCF所属的网络标识,如图6所示,上述步骤502可以通过如下步骤实现:
步骤604:第一AMF根据终端设备的标识,从终端设备的注册请求消息中获取该PCF的标识和PCF所属的网络标识。
在本申请的实施例中,终端设备向接入网发起注册请求消息时,该注册请求消息中包含当前为该终端设备服务的PCF的标识以及该PCF所属的网络标识,例如,PLMN的标识。相应的,接入网可以将包含该PCF的标识和PCF所属的网络标识的注册请求消息发送给第一AMF。因而,在本实施例中,该第一AMF可以根据终端设备的标识,直接从接收到的注册请求消息中获取该PCF的标识和PCF所属的网络标识。
可以理解的是,在漫游场景下,注册请求消息中的当前为该终端设备服务的PCF的标识可以有V-PCF的标识和H-PCF的标识,相应的,V-PCF位于VPLMN中,H-PCF位于HPLMN中这时,第一AMF可以直接从上述注册请求消息中获取V-PCF的标识和V-PCF所属的VPLMN,以及H-PCF和H-PCF所属的HPLMN。
本申请实施例的提供的PCF的选择方法,第二AMF执行与终端设备之间的去注册流 程,这时第二AMF解除与PCF之间的关联关系,该PCF是当前服务终端设备的PCF,该PCF中保留有终端设备的策略信息,并且将终端设备去注册之前为该终端设备服务(以SUPI标识)的PCF ID及所属网络的PLMN ID存储在终端设备中,这样,终端设备在初始注册时可以重新携带,第一AMF可以根据终端设备在初始注册时携带的PCF ID和对应的PLMN ID重用终端设备在去注册之前使用的PCF,这样网络侧的第一AMF不用再为初始注册的终端设备重新选择PCF,也不用重新到UDR去取策略信息,从而节省了信令交互,降低了资源消耗。
示例性的,在上述图5和图6所示实施例的基础上,图7为本申请实施例提供的PCF的选择方法实施例三的交互示意图。如图7所示,在本实施例中,该方法可以通过如下步骤实现:
701:终端设备向RAN发送注册请求消息,该注册请求消息中包含当前为该终端设备服务的PCF ID(s)及对应的PLMN ID(s)。
702:RAN确定出用于服务终端设备的第一AMF;
703:RAN将上述注册请求消息发送给第一AMF,其中,该注册请求消息中包含当前为该终端设备服务的PCF ID(s)及对应的PLMN ID(s)。
示例性的,如果由于终端设备的移动等原因使得用于服务终端设备的AMF发生改变时,执行704:第一AMF向第二AMF请求终端设备的MM上下文;
705:第二AMF向第一AMF发送MM上下文,且该MM上下文包含PCF ID。
706:第一AMF向终端设备发送获取加密标识请求;
707:终端设备将加密标识发送给第一AMF;
708:第一AMF选择用于执行认证的AUSF;
709:第一AMF通过与终端设备、AUSF以及UDM交互,实现对加密标识的鉴权;
710:第一AMF告知第二AMF上述MM上下文传递完毕;
711:第一AMF与终端设备交互,获取到终端设备的设备标识;
712:第一AMF与EIR交互对获取到的设备标识进行验证;
713:第一AMF选择UDM;
714:第一AMF在选择的UDM中进行注册并获取签约信息;
715、UDM通知第二AMF删除MM上下文;
716:第一AMF选择PCF,即若第一AMF的PLMN ID与(v-)PCF的PLMN ID一致,第一AMF优先重用终端设备传递的PCF。
717:第一AMF建立与PCF之间的连接。
具体的,若PCF收到的(V-)PCF ID与本身的PCF ID一致,则PCF删除与第二AMF的连接(即PCF发起),但保留终端设备的上下文;
718:激活第一AMF与SMF之间的PDU会话;
719:第一AMF与非3GPP侧的N3IWF交互;
作为一种示例,若UE上下文未携带PCF ID,则720、第二AMF删除与原PCF的连接(即第二AMF发起);
721、第一AMF向终端设备发送注册接受通知;
722、终端设备向第一AMF发送注册完成通知。
关于本申请实施例中各步骤未详尽的细节和实现原理可以参见上述实施例中的记载,此处不再赘述。
示例性的,在上述图5实施例的基础上,图8为本申请实施例提供的PCF的选择方法实施例四的交互示意图。图8所示的实施例与上述图6所示实施例的区别在于当前为终端设备服务的PCF的标识和PCF所属的网络标识存储在UDM中。该实施例以终端设备、第一AMF、第二AMF以及UDM的信息交互进行说明。示例性的,如图8所示,在上述步骤501之前,该方法还可以包括如下步骤:
步骤801:第二AMF执行与终端设备之间的去注册流程。
步骤802:第二AMF将PCF的标识和该PCF所属的网络标识发送给UDM。
示例性的,在本实施例中,终端设备与第二AMF执行去注册流程时,第二AMF发起AM策略连接的终止流程,PCF与第二AMF之间可以只断开关联,但保留终端设备的PSI等策略信息,而且第二AMF可以将存储的PCF ID(s)及该PCF对应的PLMN ID发送给UDM。
作为一种示例,第二AMF可以在向UDM发起去订阅请求时发送。
作为另一种示例,第二AMF也可以在初次选择PCF之后,就将为终端设备服务的PCF ID(s)及该PCF对应的PLMN ID写入UDM中。值得说明的是,在该种实现方式下,若为终端设备服务的PCF更换时,均需要更新UDM中存储的与该终端设备有关联关系的PCF ID(s)及该PCF对应的PLMN ID。也即,第二AMF确定服务终端设备的PCF改变时,更新该UDM中存储的PCF的标识和PCF所属的网络标识。
具体的,在本实施例的一种可能设计中,该步骤802可以通过如下流程实现:
第二AMF通过去订阅请求将PCF的标识和该PCF所属的网络标识发送给UDM。
在本实施例中,若上述去注册流程由终端设备发起,终端设备向第二AMF发起去注册请求,相应的,第二AMF向SMF发起PDU会话释放请求,SMF释放PDU会话并向第二AMF作回应,SMF发起会话管理策略关联的终止,向UDM取消事件订阅,并在UDM中取消注册,此外,第二AMF可以发起AM策略关联终止流程,这时,第二AMF可以通过去订阅请求将存储的PCF的标识和该PCF所属的网络标识发送给UDM,相应的,第二AMF向终端设备发送去注册接受消息,且第二AMF发起与终端设备之间的信令连接的释放。
因而,在本申请的实施例中,第一AMF接收到终端设备发送的注册请求消息时可以到UDM中获取该PCF ID(s)及该PCF所属的PLMN ID,这样,第一AMF可以判断其所在网络的PLMN ID与获取到的PCF的PLMN ID是否一致,并在一致时,第一AMF可以优先重用终端设备传递的PCF,从而避免重新获取。
可选的,在本实施例的另一种可能设计中,该步骤802可以通过如下流程实现:
第二AMF在确定为该终端设备服务的PCF后,将该PCF的标识和PCF所属的网络标识发送给UDM。
其中,该UDM中存储的PCF的标识和PCF所属的网络标识在第二AMF确定该终端设备的PCF改变时进行更新。
在本申请的实施例中,若去注册流程由网络侧的UDM发起,第二AMF接收到UDM发送的去注册通知时,可以向终端设备发送去注册请求消息,同时向UDM发送去注册通 知响应,第二AMF向UDM取消事件订阅,并将AMF将存储的PCF ID(s)及对应的PLMN ID发送给UDM。相应的,第二AMF向SMF发起PDU会话释放请求,SMF释放PDU会话并向第二AMF作回应,SMF发起会话管理策略关联的终止,向UDM取消事件订阅,并在UDM中取消注册,同理,第二AMF可以发起AM策略关联终止流程,并向终端设备发送去注册接受消息,且第二AMF发起与终端设备之间的信令连接的释放。
步骤803:第二AMF解除与PCF之间的关联关系,该PCF是当前服务终端设备的PCF,该PCF中保留有所述终端设备的策略信息。
相应的,在本实施例中,上述步骤502可以通过如下步骤实现:
步骤804:第一AMF根据终端设备的标识,从UDM中获取该PCF的标识和PCF所属的网络标识。
在本申请的实施例中,若用于服务终端设备的第二AMF与终端设备之间执行去注册请求时,第二AMF可以将当前为终端设备服务的PCF的标识和PCF所属的网络标识存储在UDM中,这样,接入网基于从终端设备接收到的注册请求消息确定出第一AMF之后,第一AMF可以直接根据终端设备的标识,到UDM中获取该PCF的标识和PCF所属的网络标识,不需要通过NRF重新选择PCF,也不需要利用重新选择的PCF从UDR重新获取该终端设备的PSI及其对应的策略内容等信息。
关于本实施例中步骤801和步骤803的实现原理可以参见上述图6所示实施例中步骤601和步骤603中的记载,此处不再赘述。
本申请实施例提供的PCF的选择方法,第二AMF执行与终端设备之间的去注册流程,这时第二AMF解除与PCF之间的关联关系,该PCF是当前服务终端设备的PCF,该PCF中保留有终端设备的策略信息,并且在终端设备去注册之前,将终端设备对应的PCF的标识以及其所属网络标识存储在UDM中,终端设备在初始注册时,第一AMF可以根据从UDM取得的PCF ID和对应的PLMN ID重用终端设备去注册之前的PCF,这样网络侧不用再重新为初始注册的终端设备选择PCF,也不用重新到UDR获取策略信息,从而节省了信令交互。
示例性的,在上述图5和图8所示实施例的基础上,图9为本申请实施例提供的PCF的选择方法实施例五的交互示意图。如图9所示,在本实施例中,该方法可以通过如下步骤实现:
901:终端设备向RAN发送注册请求消息;
902:RAN确定出用于服务终端设备的第一AMF;
903:RAN将上述注册请求消息发送给第一AMF;
示例性的,如果由于终端设备的移动等原因使得用于服务终端设备的AMF发生改变时,执行904:第一AMF向第二AMF请求终端设备的MM上下文;
905:第二AMF向第一AMF发送MM上下文,且该MM上下文包含PCF ID;
906:第一AMF向终端设备发送获取加密标识请求;
907:终端设备将加密标识发送给第一AMF;
908:第一AMF选择用于执行认证的AUSF;
909:第一AMF通过与终端设备、AUSF以及UDM交互,实现对加密标识的鉴权;
910:第一AMF告知第二AMF上述MM上下文传递完毕;
911:第一AMF与终端设备交互,获取到终端设备的设备标识。
912:第一AMF与EIR交互对获取到的设备标识进行验证;
913:第一AMF选择UDM;
914:第一AMF在选择的UDM中进行注册并获取签约信息,第一AMF从UDM取得PCF ID及对应的PLMN ID。
915、UDM通知第二AMF删除MM上下文;
916:第一AMF选择PCF,即若第一AMF的PLMN ID与(v-)PCF的PLMN ID一致,第一AMF优先重用UDM传递的PCF。
917:第一AMF建立与PCF之间的连接,若PCF收到的(V-)PCF ID与本身的PCF ID一致,则PCF删除与第二AMF的连接(即PCF发起),但保留终端设备的上下文;
918:激活第一AMF与SMF之间的PDU会话;
919:第一AMF与非3GPP侧的N3IWF交互。
作为一种示例,若UE上下文未携带PCF ID,则920、第二AMF删除与原PCF的连接(即第二AMF发起);
921、第一AMF向终端设备发送注册接受通知;
922、终端设备向第一AMF发送注册完成通知。
关于本申请实施例中各步骤未详尽的细节和实现原理可以参见上述各实施例中的记载,此处不再赘述。
示例性的,在上述图5实施例的基础上,图10为本申请实施例提供的PCF的选择方法实施例六的交互示意图。图10所示的实施例与上述图6和图8所示实施例的区别在于当前为终端设备服务的PCF的标识和PCF所属的网络标识存储在终端设备的AMF更换之前的第二AMF中。该实施例以终端设备、终端设备接入接入网之前用于服务终端设备的第二AMF以及接入网确定的用于服务该终端设备的第一AMF之间的信息交互进行说明。在本实施例中,如图6所示,在上述步骤501之前,该方法还可以包括如下步骤:
步骤1001:第二AMF执行与终端设备之间的去注册流程。
步骤1002:第二AMF保留PCF的标识和该PCF所属的网络标识。
示例性的,在本实施例中,终端设备与第二AMF执行去注册流程时,第二AMF发起AM策略连接的终止流程,PCF与第二AMF之间可以只断开关联,但保留终端设备的PSI等策略信息,而且第二AMF可以保留存储的PCF ID(s)和该PCF所属的网络标识,这样,终端设备在初始注册时,第一AMF可以直接从第二AMF中获取PCF ID(s)及对应的PLMN ID。
具体的,在本实施例的一种可能设计中,若上述去注册流程由终端设备发起,则终端设备向第二AMF发起去注册请求,相应的,第二AMF向SMF发起PDU会话释放请求,SMF释放PDU会话并向第二AMF作回应,SMF发起会话管理策略关联的终止,向UDM取消事件订阅,并在UDM中取消注册,此外,第二AMF可以发起AM策略关联终止流程,但是,在本实施例中,第二AMF将不保留存储的PCF的标识和该PCF所属的网络标识。而且,在本实施例中,第二AMF向终端设备发送去注册接受消息,且第二AMF发起与终端设备之间的信令连接的释放。
因而,在本申请的实施例中,当终端设备初始注册到网络时,第一AMF接收到终端 设备发送的注册请求消息时可以到第二AMF中获取该PCF ID(s)及该PCF所属的PLMN ID,这样,第一AMF可以判断其所在网络的PLMN ID与获取到的PCF的PLMN ID是否一致,并在一致时,第一AMF可以优先重用终端设备获取到的PCF,从而避免重新获取。
在本实施例的另一种可能设计中,若去注册流程由网络侧的UDM发起,第二AMF接收到UDM发送的去注册通知,向终端设备发送去注册请求消息,同时向UDM发送去注册通知响应,向UDM取消事件订阅;相应的,第二AMF向SMF发起PDU会话释放请求,SMF释放PDU会话并向第二AMF作回应,SMF发起会话管理策略关联的终止,向UDM取消事件订阅,并在UDM中取消注册,同理,第二AMF可以发起AM策略关联终止流程,但是将不删除保存的PCF ID(s)及对应的PLMN ID,随后,第二AMF向终端设备发送去注册接受消息,且第二AMF发起与终端设备之间的信令连接的释放。
步骤1003:第二AMF解除与PCF之间的关联关系,该PCF是当前服务终端设备的PCF,该PCF中保留有所述终端设备的策略信息。
相应的,在本实施例中,如图10所示,上述步骤502可以通过如下步骤实现:
步骤1004:第一AMF根据终端设备的标识,从该第二AMF中获取PCF的标识和该PCF所属的网络标识。
可选的,在本申请的实施例中,若用于服务终端设备的第二AMF与终端设备之间执行去注册请求时,第二AMF不删除存储的PCF ID(s)及对应的PLMN ID,这时,终端设备在初始注册时,第一AMF可以基于注册请求消息中的终端设备的标识,直接从第二AMF中获取PCF ID(s)及对应的PLMN ID。
关于本实施例中步骤1001和步骤1003的实现原理可以参见上述图6所示实施例中步骤601和步骤603中的记载,此处不再赘述。
本申请实施例提供的PCF的选择方法,第二AMF执行与终端设备之间的去注册流程,这时第二AMF解除与PCF之间的关联关系,该PCF是当前服务终端设备的PCF,该PCF中保留有终端设备的策略信息,并且在终端设备去注册之前,将终端设备对应的PCF的标识以及其所属网络标识存储在第二AMF(旧AMF)中,终端设备在初始注册时,第一AMF可以根据从第二AMF(旧AMF)取得的PCF ID和对应的PLMN ID重用终端设备去注册之前的PCF,这样网络侧不用再重新为初始注册的终端设备选择PCF,也不用重新到UDR获取策略信息,从而节省了信令开销。
示例性的,在上述图5和图10所示实施例的基础上,图11为本申请实施例提供的PCF的选择方法实施例七的交互示意图。如图11所示,在本实施例中,该方法可以通过如下步骤实现:
1101:终端设备向RAN发送初始注册请求消息;
值得说明的是,本实施例以终端设备发起初始注册请求的应用场景进行说明,且该初始注册请求中一定不包含PCF ID。
1102:RAN确定出用于服务终端设备的第一AMF;
1103:RAN将上述注册请求消息发送给第一AMF;
示例性的,如果由于终端设备的移动等原因使得用于服务终端设备的AMF发生改变时,执行1104:第一AMF向第二AMF请求终端设备的MM上下文;
1105:第二AMF向第一AMF发送MM上下文,且该MM上下文包含PCF ID;
1106:第一AMF向终端设备发送获取加密标识请求;
1107:终端设备将加密标识发送给第一AMF;
1108:第一AMF选择用于执行认证的AUSF;
1109:第一AMF通过与终端设备、AUSF以及UDM交互,实现对加密标识的鉴权;
1110:第一AMF告知第二AMF上述MM上下文传递完毕;
1111:第一AMF与终端设备交互,获取到终端设备的设备标识。
1112:第一AMF与EIR交互对获取到的设备标识进行验证;
1113:第一AMF选择UDM;
1114:第一AMF在选择的UDM中进行注册并获取签约信息。
1115、UDM通知第二AMF删除MM上下文;
1116:第一AMF选择PCF,即若第一AMF的PLMN ID与(v-)PCF的PLMN ID一致,第一AMF优先重用第二AMF传递的PCF。
1117:第一AMF建立与PCF之间的连接,若PCF收到的(V-)PCF ID与本身的PCF ID一致,则PCF删除与第二AMF的连接(即PCF发起),但保留终端设备的MM上下文;
1118:激活第一AMF与SMF之间的PDU会话;
1119:第一AMF与非3GPP侧的N3IWF交互。
作为一种示例,若UE上下文未携带PCF ID,则1120、第二AMF删除与原PCF的连接(即第二AMF发起);
1121、第一AMF向终端设备发送注册接受通知;
1122、终端设备向第一AMF发送注册完成通知。
关于本申请实施例中各步骤未详尽的细节和实现原理可以参见上述各实施例中的记载,此处不再赘述。
综上所述,在本申请的实施例中,当终端设备和第二AMF之间执行去注册时,PCF不删除存储的UE的PSI等策略信息。值得说明的是,本实施例中,可以在第二AMF向UDM发起清除请求,且同时向PCF发起清除请求时,删除PCF存储的策略信息。
在本实施例中,作为一种示例,终端设备从第二AMF(旧AMF)中去注册后可以保存PCF ID及对应的PLMN ID。这样,终端设备在初始注册时可以携带保存的PCF ID及对应的PLMN ID,这样第一AMF(新AMF)据此重选PCF。
作为另一种示例,第二AMF(旧AMF)可以将PCF ID及对应的PLMN ID存储在UDM中,这样终端设备在初始注册时,第一AMF(新AMF)可以从UDM取得存储的PCF ID(s)进行重用。
作为再一种示例,第二AMF(旧AMF)在去注册时可以保留存储的PCF ID和PLMN ID,以使终端设备在初始注册时,第一AMF(新AMF)可以从第二AMF(旧AMF)取得存储的PCF ID(s)进行重用。
在本申请的实施例中,终端设备在初始注册时,第一AMF(新AMF)不需要通过NRF重新选择PCF,可以直接重用之前的PCF,PCF不必从UDR重新获取该UE的PSI及其对应的策略内容等信息,从而节省了信令。
可以理解的是,本申请的技术方案还可以应用于短消息服务功能(short message service  function,SMSF)网元在初始注册过程中的选择,即将本申请中的PCF替换为SMSF即可,其与本申请的技术方案不同的是,在漫游场景下只有一个VPLMN中的SMSF。关于SMSF网元在初始注册过程中的实现原理与本申请中的PCF选择方法类似,此处不再赘述。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
图12为本申请实施例提供的策略控制功能网元的选择装置实施例一的结构示意图。该装置可以集成在第一接入和移动性管理功能网元中,也可以通过第一接入和移动性管理功能网元实现。如图12所示,该装置可以包括:接收模块121、获取模块122和处理模块123。
其中,接收模块121,用于接收终端设备的注册请求消息,所述注册请求消息包括:所述终端设备的标识;
获取模块122,用于根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
处理模块123,用于在第一接入和移动性管理功能网元的网络标识与所述策略控制功能网元所属的网络标识一致时,确定所述策略控制功能网元为目标策略控制功能网元,所述第一接入和移动性管理功能网元为接入网确定的用于服务所述终端设备的接入和移动性管理功能网元。
在本实施例的一种可能设计中,所述注册请求消息还包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
相应的,该获取模块122,具体用于根据所述终端设备的标识,从所述终端设备的所述注册请求消息中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
在本实施例的另一种可能设计中,所述获取模块122,具体用于根据所述终端设备的标识,从统一数据管理网元获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
在本实施例的再一种可能设计中,所述获取模块122,具体用于根据所述终端设备的标识,从第二接入和移动性管理功能网元中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第二接入和移动性管理功能网元为所述终端设备请求接入所述接入网之前用于服务所述终端设备的接入和移动性管理功能网元。
可选的,在本申请的实施例中,该接收模块121,用于接收所述终端设备通过接入网发送的所述注册请求消息。
本实施例的装置可用于执行图5至图11所示方法实施例中第一接入和移动性管理功能网元的实现方案,具体实现方式和技术效果类似,这里不再赘述。
图13为本申请实施例提供的策略控制功能网元的选择装置实施例二的结构示意图。该装置可以集成在第二接入和移动性管理功能网元中,也可以通过第二接入和移动性管理功能网元实现。如图13所示,该装置可以包括:处理模块131。
其中,该处理模块131,用于第二接入和移动性管理功能网元执行与终端设备之间的去注册流程,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元,以及解除与策略控制功能网元之间的 关联关系,所述策略控制功能网元是当前服务所述终端设备的策略控制功能网元,所述策略控制功能网元中保留有所述终端设备的策略信息。
在本实施例中,如图13所示,该装置还可以包括:发送模块132。
在本实施例的一种可能设计中,该发送模块132,用于在上述处理模块131解除与策略控制功能网元之间的关联关系之前,将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给所述终端设备。
在本实施例的另一种可能设计中,该发送模块132,用于在所述处理模块131解除与策略控制功能网元之间的关联关系之前,将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给统一数据管理网元。
在该种可能设计中,该处理模块131,还用于在所述第二接入和移动性管理功能网元确定服务所述终端设备的策略控制功能网元改变时,更新所述统一数据管理网元中存储的所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
可选的,在本实施例中,如图13所示,该装置还可以包括:存储模块133。
该存储模块133,还用于保留所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
本实施例的装置可用于执行图5至图11所示方法实施例中第二接入和移动性管理功能网元的实现方案,具体实现方式和技术效果类似,这里不再赘述。
图14为本申请实施例提供的通信装置实施例一的结构示意图。该装置可以集成在终端设备中,也可以通过终端设备实现,此外,该通信装置也可以为一种芯片。如图14所示,该通信装置可以包括:接收模块141、处理模块142和发送模块143。
其中,该接收模块141,用于接收第二接入和移动性管理功能网元发送的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述策略控制功能网元是当前服务所述终端设备的策略控制功能网元,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元;
该处理模块142,用于利用发送模块通过所述接入网向第一接入和移动性管理功能网元发送注册请求消息,所述注册请求消息包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第一接入和移动性管理功能网元为所述接入网确定的用于服务所述终端设备的接入和移动性管理功能网元;
其中,所述注册请求消息用于指示所述第一接入和移动性管理功能网元根据所述第一接入和移动性管理功能网元的网络标识和所述策略控制功能网元所属的网络标识确定目标策略控制功能网元。
本实施例的装置可用于执行图5至图11所示方法实施例中终端设备的实现方案,具体实现方式和技术效果类似,这里不再赘述。
需要说明的是,应理解以上装置的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块通过处理元件调用软件的形式实现,部分模块通过硬件的形式实现。例如,处理模块可以为单独设立的处理元件,也可以集成在上述装置的某一个芯片中实现,此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上处 理模块的功能。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。
例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(application specific integrated circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(central processing unit,CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在可读存储介质中,或者从一个可读存储介质向另一个可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘solid state disk(SSD))等。
图15为本申请实施例提供的策略控制功能网元的选择装置实施例三的结构示意图。该装置可以集成在第二接入和移动性管理功能网元中,也可以通过第二接入和移动性管理功能网元实现。如图15所示,该装置可以包括:处理器151、存储器152、通信接口153和系统总线154,所述存储器152和所述通信接口153通过所述系统总线154与所述处理器151连接并完成相互间的通信,所述存储器152用于存储计算机执行指令,所述通信接口153用于和其他设备进行通信,所述处理器151执行所述计算机执行指令时实现如图5至图11所示方法实施例中第一接入和移动性管理功能网元的实现方案。
图16为本申请实施例提供的策略控制功能网元的选择装置实施例四的结构示意图。该装置可以集成在第二接入和移动性管理功能网元中,也可以通过第二接入和移动性管理功能网元实现。如图16所示,该装置可以包括:处理器161、存储器162、通信接口163和系统总线164,所述存储器162和所述通信接口163通过所述系统总线164与所述处理器161连接并完成相互间的通信,所述存储器162用于存储计算机执行指令,所述通信接口163用于和其他设备进行通信,所述处理器161执行所述计算机执行指令时实现如图5至图11所示方法实施例中第二接入和移动性管理功能网元的实现方案。
图17为本申请实施例提供的通信装置实施例二的结构示意图。该装置可以集成在终端设备中,也可以通过终端设备实现。如图17所示,该装置可以包括:处理器171、存储 器172、通信接口173和系统总线174,所述存储器172和所述通信接口173通过所述系统总线174与所述处理器171连接并完成相互间的通信,所述存储器172用于存储计算机执行指令,所述通信接口173用于和其他设备进行通信,所述处理器171执行所述计算机执行指令时实现如图5至图11所示方法实施例中终端设备的实现方案。
该图15、图16和图17中提到的系统总线可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述系统总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于实现数据库访问装置与其他设备(例如客户端、读写库和只读库)之间的通信。存储器可能包含随机存取存储器(random access memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
上述的处理器可以是通用处理器,包括中央处理器CPU、网络处理器(network processor,NP)等;还可以是数字信号处理器DSP、专用集成电路ASIC、现场可编程门阵列FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
可选的,本申请实施例提供一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如上述图5至图11所示方法实施例中第一接入和移动性管理功能网元的实现方案。
可选的,本申请实施例还提供一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如上述图5至图11所示方法实施例中第二接入和移动性管理功能网元的实现方案。
可选的,本申请实施例还提供一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如上述图5至图11所示方法实施例中终端设备的实现方案。
可选的,本申请实施例还提供一种运行指令的芯片,所述芯片用于执行上述图5至图11所示方法实施例中第一接入和移动性管理功能网元的实现方案。
可选的,本申请实施例还提供一种运行指令的芯片,所述芯片用于执行上述图5至图11所示方法实施例中第二接入和移动性管理功能网元的实现方案。
可选的,本申请实施例还提供一种运行指令的芯片,所述芯片用于执行上述图5至图11所示方法实施例中终端设备的实现方案。
本申请实施例还提供一种程序产品,所述程序产品包括计算机程序,所述计算机程序存储在存储介质中,至少一个处理器可以从所述存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序时可实现上述图5至图11所示方法实施例中第一接入和移动性管理功能网元的实现方案。
本申请实施例还提供一种程序产品,所述程序产品包括计算机程序,所述计算机程序存储在存储介质中,至少一个处理器可以从所述存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序时可实现上述图5至图11所示方法实施例中第二接入和移动性管理功能网元的实现方案。
本申请实施例还提供一种程序产品,所述程序产品包括计算机程序,所述计算机程序存储在存储介质中,至少一个处理器可以从所述存储介质读取所述计算机程序,所述至少 一个处理器执行所述计算机程序时可实现上述图5至图11所示方法实施例中终端设备的实现方案。
图18为本申请实施例提供的通信系统实施例的结构示意图。如图18所示,该通信系统可以包括:第一接入和移动性管理功能网元182和第二接入和移动性管理功能网元183,可选的还可以包括和统一数据管理网元184,或者进一步包括终端设备181;其中,该第一接入和移动性管理功能网元182为接入网确定的用于服务该终端设备181的接入和移动性管理功能网元,第二接入和移动性管理功能网元183为终端设备181请求接入接入网之前用于服务该终端设备181的接入和移动性管理功能网元,该统一数据管理网元184用于存储服务该终端设备181的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
在本申请的实施例中,第一接入和移动性管理功能网元182为上述图12或图15所示实施例的策略控制功能网元的选择装置,第二接入和移动性管理功能网元183为上述图13或图16所示实施例的策略控制功能网元的选择装置,终端设备181为上述图14或图17所示实施例的通信装置。
在本实施例中,第二接入和移动性管理功能网元183与终端设备181之间执行去注册流程,第一接入和移动性管理功能网元182和终端设备181进行交互,并根据第一接入和移动性管理功能网元的网络标识和获取到的策略控制功能网元所属的网络标识确定出为终端设备服务的目标策略控制功能网元。
在本实施例中,关于终端设备181、第一接入和移动性管理功能网元182、第二接入和移动性管理功能网元183的具体实现方式可参见上述方法实施例中的记载,此处不再赘述。
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系;在公式中,字符“/”,表示前后关联对象是一种“相除”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中,a,b,c可以是单个,也可以是多个。
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。在本申请的实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请的实施例的实施过程构成任何限定。

Claims (29)

  1. 一种策略控制功能网元的选择方法,其特征在于,包括:
    第一接入和移动性管理功能网元接收终端设备的注册请求消息,所述注册请求消息包括:所述终端设备的标识,所述第一接入和移动性管理功能网元为接入网确定的用于服务所述终端设备的接入和移动性管理功能网元;
    所述第一接入和移动性管理功能网元根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
    在所述第一接入和移动性管理功能网元的网络标识与所述策略控制功能网元所属的网络标识一致时,所述第一接入和移动性管理功能网元确定所述策略控制功能网元为目标策略控制功能网元。
  2. 根据权利要求1所述的方法,其特征在于,所述注册请求消息还包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
    所述第一接入和移动性管理功能网元根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,包括:
    所述第一接入和移动性管理功能网元根据所述终端设备的标识,从所述终端设备的所述注册请求消息中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
  3. 根据权利要求1所述的方法,其特征在于,所述第一接入和移动性管理功能网元根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,包括:
    所述第一接入和移动性管理功能网元根据所述终端设备的标识,从统一数据管理网元获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
  4. 根据权利要求1所述的方法,其特征在于,所述第一接入和移动性管理功能网元根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,包括:
    所述第一接入和移动性管理功能网元根据所述终端设备的标识,从第二接入和移动性管理功能网元中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第二接入和移动性管理功能网元为所述终端设备请求接入所述接入网之前用于服务所述终端设备的接入和移动性管理功能网元。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述第一接入和移动性管理功能网元接收终端设备的注册请求消息,包括:
    所述第一接入和移动性管理功能网元接收所述终端设备通过接入网发送的所述注册请求消息。
  6. 一种策略控制功能网元的选择方法,其特征在于,包括:
    第二接入和移动性管理功能网元执行与终端设备之间的去注册流程,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元;
    所述第二接入和移动性管理功能网元解除与策略控制功能网元之间的关联关系,所述策略控制功能网元是当前服务所述终端设备的策略控制功能网元,所述策略控制功能网元 中保留有所述终端设备的策略信息。
  7. 根据权利要求6所述的方法,其特征在于,在所述第二接入和移动性管理功能网元解除与策略控制功能网元之间的关联关系之前,所述方法还包括:
    所述第二接入和移动性管理功能网元将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给所述终端设备。
  8. 根据权利要求6所述的方法,其特征在于,在所述第二接入和移动性管理功能网元解除与策略控制功能网元之间的关联关系之前,所述方法还包括:
    所述第二接入和移动性管理功能网元将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给统一数据管理网元。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    当所述第二接入和移动性管理功能网元确定服务所述终端设备的策略控制功能网元改变时,所述第二接入和移动性管理功能网元更新所述统一数据管理网元中存储的所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
  10. 根据权利要求6所述的方法,其特征在于,在所述第二接入和移动性管理功能网元解除与策略控制功能网元之间的关联关系之前,所述方法还包括:
    所述第二接入和移动性管理功能网元保留所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
  11. 一种策略控制功能网元的选择方法,其特征在于,包括:
    终端设备接收第二接入和移动性管理功能网元发送的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述策略控制功能网元是当前服务所述终端设备的策略控制功能网元,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元;
    所述终端设备通过所述接入网向第一接入和移动性管理功能网元发送注册请求消息,所述注册请求消息包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第一接入和移动性管理功能网元为所述接入网确定的用于服务所述终端设备的接入和移动性管理功能网元;
    其中,所述注册请求消息用于指示所述第一接入和移动性管理功能网元根据所述第一接入和移动性管理功能网元的网络标识和所述策略控制功能网元所属的网络标识确定目标策略控制功能网元。
  12. 一种策略控制功能网元的选择装置,其特征在于,包括:接收模块、获取模块和处理模块;
    所述接收模块,用于接收终端设备的注册请求消息,所述注册请求消息包括:所述终端设备的标识;
    所述获取模块,用于根据所述终端设备的标识,获取当前为所述终端设备服务的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
    所述处理模块,用于在第一接入和移动性管理功能网元的网络标识与所述策略控制功能网元所属的网络标识一致时,确定所述策略控制功能网元为目标策略控制功能网元,所述第一接入和移动性管理功能网元为接入网确定的用于服务所述终端设备的接入和移动性管理功能网元。
  13. 根据权利要求12所述的装置,其特征在于,所述注册请求消息还包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识;
    所述获取模块,具体用于根据所述终端设备的标识,从所述终端设备的所述注册请求消息中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
  14. 根据权利要求12所述的装置,其特征在于,所述获取模块,具体用于根据所述终端设备的标识,从统一数据管理网元获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
  15. 根据权利要求12所述的装置,其特征在于,所述获取模块,具体用于根据所述终端设备的标识,从第二接入和移动性管理功能网元中获取所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第二接入和移动性管理功能网元为所述终端设备请求接入所述接入网之前用于服务所述终端设备的接入和移动性管理功能网元。
  16. 根据权利要求12-15任一项所述的装置,其特征在于,所述接收模块,用于接收所述终端设备通过接入网发送的所述注册请求消息。
  17. 一种策略控制功能网元的选择装置,其特征在于,包括:处理模块;
    所述处理模块,用于第二接入和移动性管理功能网元执行与终端设备之间的去注册流程,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元,以及解除与策略控制功能网元之间的关联关系,所述策略控制功能网元是当前服务所述终端设备的策略控制功能网元,所述策略控制功能网元中保留有所述终端设备的策略信息。
  18. 根据权利要求17所述的装置,其特征在于,所述装置还包括:发送模块;
    所述发送模块,用于在所述处理模块解除与策略控制功能网元之间的关联关系之前,将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给所述终端设备。
  19. 根据权利要求17所述的装置,其特征在于,所述装置还包括:发送模块;
    所述发送模块,用于在所述处理模块解除与策略控制功能网元之间的关联关系之前,将所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识发送给统一数据管理网元。
  20. 根据权利要求19所述的装置,其特征在于,所述处理模块,还用于在所述第二接入和移动性管理功能网元确定服务所述终端设备的策略控制功能网元改变时,更新所述统一数据管理网元中存储的所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
  21. 根据权利要求17所述的装置,其特征在于,所述装置还包括:存储模块;
    所述存储模块,还用于保留所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识。
  22. 一种通信装置,其特征在于,包括:接收模块、处理模块和发送模块;
    所述接收模块,用于接收第二接入和移动性管理功能网元发送的策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述策略控制功能网元是当前服务终端设备的策略控制功能网元,所述第二接入和移动性管理功能网元为所述终端设备请求接入接入网之前用于服务所述终端设备的接入和移动性管理功能网元;
    所述处理模块,用于利用发送模块通过所述接入网向第一接入和移动性管理功能网元发送注册请求消息,所述注册请求消息包括:所述策略控制功能网元的标识和所述策略控制功能网元所属的网络标识,所述第一接入和移动性管理功能网元为所述接入网确定的用于服务所述终端设备的接入和移动性管理功能网元;
    其中,所述注册请求消息用于指示所述第一接入和移动性管理功能网元根据所述第一接入和移动性管理功能网元的网络标识和所述策略控制功能网元所属的网络标识确定目标策略控制功能网元。
  23. 一种策略控制功能网元的选择装置,包括处理器、存储器及存储在所述存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如上述权利要求1-5任一项所述的方法。
  24. 一种策略控制功能网元的选择装置,包括处理器、存储器及存储在所述存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如上述权利要求6-10任一项所述的方法。
  25. 一种通信装置,包括处理器、存储器及存储在所述存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如上述权利要求11所述的方法。
  26. 一种通信系统,其特征在于,包括:第一接入和移动性管理功能网元和第二接入和移动性管理功能网元和统一数据管理网元;其中,所述第一接入和移动性管理功能网元为所述权利要求12-16任一项所述的装置或者所述权利要求23所述的装置,所述第二接入和移动性管理功能网元为所述权利要求17-21任一项所述的装置或者所述权利要求24所述的装置。
  27. 一种存储介质,其特征在于,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如权利要求1-5任一项所述的方法。
  28. 一种存储介质,其特征在于,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如权利要求6-10任一项所述的方法。
  29. 一种存储介质,其特征在于,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如权利要求11所述的方法。
PCT/CN2020/103808 2019-07-30 2020-07-23 策略控制功能网元的选择方法、装置、系统及存储介质 WO2021017999A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20846524.5A EP4007325A4 (en) 2019-07-30 2020-07-23 METHOD, DEVICE AND SYSTEM FOR SELECTING A POLICY CONTROL FUNCTIONAL NETWORK ELEMENT AND STORAGE MEDIUM
US17/588,745 US20220159606A1 (en) 2019-07-30 2022-01-31 Policy Control Function Network Element Selection Method, Apparatus, System, and Storage Medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910694362.8A CN112312539B (zh) 2019-07-30 2019-07-30 策略控制功能网元的选择方法、装置、系统及存储介质
CN201910694362.8 2019-07-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/588,745 Continuation US20220159606A1 (en) 2019-07-30 2022-01-31 Policy Control Function Network Element Selection Method, Apparatus, System, and Storage Medium

Publications (1)

Publication Number Publication Date
WO2021017999A1 true WO2021017999A1 (zh) 2021-02-04

Family

ID=74229140

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/103808 WO2021017999A1 (zh) 2019-07-30 2020-07-23 策略控制功能网元的选择方法、装置、系统及存储介质

Country Status (4)

Country Link
US (1) US20220159606A1 (zh)
EP (1) EP4007325A4 (zh)
CN (1) CN112312539B (zh)
WO (1) WO2021017999A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210266765A1 (en) * 2018-06-29 2021-08-26 Lenovo (Beijing) Limited Method and apparatus for ran event report transmission and network optimization based on analytics of ran event reports
CN113259875B (zh) * 2021-05-11 2022-05-17 中国联合网络通信集团有限公司 Cpnf与amf通信的方法及网络功能储存库功能实体
CN113163472B (zh) * 2021-05-11 2022-04-26 中国联合网络通信集团有限公司 Amf选择方法及装置
EP4329345A1 (en) * 2021-05-31 2024-02-28 Huawei Technologies Co., Ltd. Tag management method and related apparatus
CN115515218A (zh) * 2021-06-23 2022-12-23 中国电信股份有限公司 会话管理方法、系统和存储介质
CN113709719B (zh) * 2021-08-25 2023-06-27 中国联合网络通信集团有限公司 接入方法、基站及接入功能实体
CN114189908B (zh) * 2021-12-17 2024-06-04 中国联合网络通信集团有限公司 通信方法、装置、设备及存储介质
CN116634417A (zh) * 2022-02-11 2023-08-22 中国电信股份有限公司 Am策略的处理方法、装置、系统、设备及介质
CN117062112A (zh) * 2022-05-05 2023-11-14 维沃移动通信有限公司 策略配置方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018174021A1 (en) * 2017-03-20 2018-09-27 Nec Corporation Mobility and service restrictions over roaming
CN109429362A (zh) * 2017-06-20 2019-03-05 华为技术有限公司 会话处理方法及装置
CN109673005A (zh) * 2017-10-17 2019-04-23 华为技术有限公司 一种确定pcf的方法、装置及系统
CN110048867A (zh) * 2018-01-15 2019-07-23 中兴通讯股份有限公司 一种策略控制功能管理方法和装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547462B (zh) * 2008-03-25 2011-04-20 中兴通讯股份有限公司 一种基站控制器获知分组控制功能pcf实体状态的方法
CN107018542A (zh) * 2017-03-27 2017-08-04 中兴通讯股份有限公司 网络系统中状态信息的处理方法、装置及存储介质
CN109257780B (zh) * 2017-07-14 2021-06-01 华为技术有限公司 网络切换方法及装置
CN114125817A (zh) * 2017-12-13 2022-03-01 华为技术有限公司 用户策略的获取
CN110049485B (zh) * 2018-01-15 2022-03-29 华为技术有限公司 一种配置ue的策略的方法、装置和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018174021A1 (en) * 2017-03-20 2018-09-27 Nec Corporation Mobility and service restrictions over roaming
CN109429362A (zh) * 2017-06-20 2019-03-05 华为技术有限公司 会话处理方法及装置
CN109673005A (zh) * 2017-10-17 2019-04-23 华为技术有限公司 一种确定pcf的方法、装置及系统
CN110048867A (zh) * 2018-01-15 2019-07-23 中兴通讯股份有限公司 一种策略控制功能管理方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4007325A4

Also Published As

Publication number Publication date
EP4007325A4 (en) 2022-10-19
EP4007325A1 (en) 2022-06-01
CN112312539B (zh) 2022-01-14
US20220159606A1 (en) 2022-05-19
CN112312539A (zh) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2021017999A1 (zh) 策略控制功能网元的选择方法、装置、系统及存储介质
US11026080B2 (en) Policy control function determining method, apparatus, and system
US11528770B2 (en) Session management method, apparatus, and system
WO2019157961A1 (zh) 通信方法及装置
WO2018232570A1 (zh) 一种注册及会话建立的方法、终端和amf实体
WO2018161796A1 (zh) 多接入场景中的连接处理方法和装置
US20210168151A1 (en) Method for implementing user plane security policy, apparatus, and system
CN109673060B (zh) 一种通信方法及装置
WO2019033796A1 (zh) 会话处理方法及相关设备
WO2020169019A1 (zh) 一种通信方法及装置
WO2021042742A1 (zh) 一种通信方法、装置及系统
EP3986007A1 (en) Method, device, and system for selecting session management network element
WO2021232919A1 (zh) 一种网络的接入方法、装置及系统
WO2020103517A1 (zh) 终端的能力信息的获取方法、装置及系统
WO2019192445A1 (zh) 一种组播组创建、组播组加入方法及装置
WO2022012122A1 (zh) 一种通信方法、设备及系统
WO2019218762A1 (zh) 一种策略控制方法、装置及系统
US20230232196A1 (en) Data communication method and communication apparatus
WO2022171086A1 (zh) 支持信息获得的方法、装置、设备及可读存储介质
WO2019041897A1 (zh) 一种网络通信方法及设备
WO2020001465A1 (zh) 管理用户数据的方法和装置
US10057871B2 (en) Data transmission method and base station
US11870601B2 (en) Policy control function fallback
WO2023142777A1 (zh) 通信方法及装置
WO2023082858A1 (zh) 确定移动性管理策略的方法、通信装置及通信系统

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: 20846524

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020846524

Country of ref document: EP

Effective date: 20220228