A method, device and system for selecting a session management network element
By selecting a session management network element that supports terminal device DNAI through mobility management network element selection, the problem of reselecting session management network element caused by terminal device movement in 5G systems is solved, and network performance is improved.
Patent Information
- Application Number
- CN201910668398.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-23
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2039-07-23
AI Technical Summary
In 5G systems, the movement of terminal devices causes the session management network elements to be reselected, and it is difficult for the prior art to effectively select appropriate session management network elements, resulting in increased network delays and increased routing detours.
The first DNA of the terminal device is determined through the mobility management network element, and the session management network element that supports all or part of the DNAI in the first DNAI is selected, thereby selecting a user-plane network element to reduce routing detours and reduce network latency.
It realizes the selection of appropriate session management network elements for terminal devices, reduces network latency and routing detours, and improves network performance.
Smart Images

Figure CN112291777B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a method, device and system for selecting a session management network element. Background Art
[0002] In the fifth generation (5G) system, after the terminal device accesses the network, a session is established (here the session is a protocol data unit (PDU) session as an example), and the external data network is accessed through the PDU session to realize the interaction between the terminal device and the application server deployed in the data network.
[0003] During the application access process, the access location of the terminal device moves, which may require the need to reselect a session management network element for the terminal device. Currently, the session management network element is generally reselected for the terminal device based on the location information of the terminal device after movement. Summary of the invention
[0004] The present application provides a method, device and system for selecting a session management network element, so as to select a suitable session management network element for a terminal device.
[0005] In a first aspect, the present application provides a method for selecting a session management network element, the method comprising: a mobility management network element determines a first DNAI corresponding to a first session of a terminal device; the mobility management network element selects a first session management network element that supports all or part of the DNAIs in the first DNAI for the first session of the terminal device.
[0006] Based on this solution, the mobility management network element selects a session management network element for the terminal device. The session management network element supports all or part of the DNAIs in the first DNAI, so that the user plane network element selected by the session management network element also supports all or part of the DNAIs in the first DNAI, that is, the session management network element is responsible for associating the user plane network element that supports part or all of the DNAIs in the first DNAI corresponding to the first session, thereby realizing the selection of a suitable session management network element for the terminal device. Through the selected session management network element, a user plane network element that supports the DNAI corresponding to the first session is selected as the PSA for the terminal device, thereby reducing routing detours and lowering network delays.
[0007] In a possible implementation method, a mobility management network element determines a first DNAI corresponding to a first session of a terminal device, including: the mobility management network element obtains first information, the first information includes an identifier of a session of the terminal device and a second DNAI corresponding to the identifier of the session of the terminal device, the second DNAI is one or more DNAIs, and the identifier of the session of the terminal device includes an identifier of the first session; the mobility management network element obtains the identifier of the first session; the mobility management network element determines the first DNAI corresponding to the first session based on the identifier of the first session and the first information.
[0008] In a possible implementation method, the mobility management network element obtains second information, the second information includes an identifier of a first session and a third DNAI corresponding to the identifier of the first session; the mobility management network element determines a fourth DNAI based on the third DNAI; the mobility management network element selects a second session management network element that supports all or part of the DNAIs in the fourth DNAI for the first session of the terminal device.
[0009] In a possible implementation method, the fourth DNAI is the same as the third DNAI; or, the fourth DNAI includes the first DNAI and the third DNAI.
[0010] In a possible implementation method, the mobility management network element obtains the first information, including: the mobility management network element receives the first information from a policy control network element or other mobility management network elements.
[0011] In a possible implementation method, the mobility management network element obtains the identifier of the first session, including: the mobility management network element receives a request message from a terminal device, the request message includes the identifier of the first session, and the request message is used to request to establish the first session; or, the mobility management network element receives context information of the terminal device from other mobility management network elements, and the context information includes the identifier of the first session.
[0012] In a possible implementation method, the mobility management network element determines a first DNAI corresponding to a first session of a terminal device, including: the mobility management network element receives the first DNAI corresponding to the first session from a policy control network element or other mobility management network elements.
[0013] In a possible implementation method, a mobility management network element selects a third session management network element for a first session of a terminal device; the mobility management network element selects a first session management network element that supports all or part of the DNAI in the first DNAI for the first session, including: the mobility management network element determines that the third session management network element does not support all or part of the DNAI in the first DNAI, and then selects a first session management network element that supports all or part of the DNAI in the first DNAI for the first session.
[0014] In a possible implementation method, the mobility management network element receives the fifth DNAI corresponding to the first session from the policy control network element; the mobility management network element determines the sixth DNAI based on the fifth DNAI; the mobility management network element selects a fourth session management network element that supports all or part of the DNAI in the sixth DNAI for the first session of the terminal device.
[0015] In a possible implementation method, the sixth DNAI is the same as the fifth DNAI; or, the sixth DNAI includes the first DNAI and the fifth DNAI.
[0016] In a possible implementation method, the identifier of the first session includes one or more of the following: DNN, S-NSSAI.
[0017] In a possible implementation method, the mobility management network element obtains the DNAI supported by the first session management network element from a network storage network element.
[0018] In a second aspect, the present application provides a method for selecting a session management network element, the method comprising: a policy control network element obtains first information, the first information includes an identifier of a session of a terminal device and a second DNAI corresponding to the identifier of the session of the terminal device, the second DNAI is one or more DNAIs; the policy control network element sends first information to a mobility management network element, the first information is used by the mobility management network element to select a session management network element.
[0019] In a possible implementation method, the policy control network element sends the first information to the mobility management network element, including: the policy control network element sends the first information to the mobility management network element during the registration process of the terminal device.
[0020] In a third aspect, the present application provides a method for selecting a session management network element, the method comprising: a policy control network element obtains a first DNAI corresponding to a first session of a terminal device; and the policy control network element sends the first DNAI corresponding to the first session to a mobility management network element.
[0021] In a possible implementation method, the policy control network element sends the first DNAI corresponding to the first session to the mobility management network element, including: the policy control network element sends the first DNAI corresponding to the first session to the mobility management network element during the session establishment process.
[0022] In a fourth aspect, the present application provides a session management network element selection device, which may be a mobility management network element, or a chip for a mobility management network element. The device has the function of implementing the first aspect or each embodiment of the first aspect. The function may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0023] In a fifth aspect, the present application provides a device for selecting a session management network element, which may be a policy control network element or a chip for a policy control network element. The device has the function of implementing the second aspect or each embodiment of the second aspect, or implementing the third aspect or each embodiment of the third aspect. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0024] In a sixth aspect, the present application provides a session management network element selection device, comprising a processor and a memory; the memory is used to store computer execution instructions, and when the device is running, the processor executes the computer execution instructions stored in the memory to enable the device to perform the method of the first to third aspects, or the first to third aspects as described above.
[0025] In a seventh aspect, the present application provides a session management network element selection device, comprising a unit or means for executing each step of the above-mentioned first aspect to the third aspect, or the first aspect to the third aspect.
[0026] In an eighth aspect, the present application provides a session management network element selection device, including a processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit and execute the method of the first to third aspects or each embodiment of the first to third aspects. The processor includes one or more.
[0027] In a ninth aspect, the present application provides a session management network element selection device, including a processor, which is connected to a memory and is used to call a program stored in the memory to execute the method of each embodiment of the first to third aspects or the first to third aspects above. The memory can be located inside the device or outside the device. And the processor includes one or more.
[0028] In a tenth aspect, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable a processor to execute the methods described in the above aspects.
[0029] In an eleventh aspect, the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the methods described in the above aspects.
[0030] In a twelfth aspect, the present application also provides a chip system, including: a processor, used to execute the methods described in the above aspects.
[0031] In a thirteenth aspect, the present application provides a system for selecting a session management network element, the system comprising a mobility management network element and a first session management network element;
[0032] A mobility management network element is used to determine a first DNAI corresponding to a first session of a terminal device; and to select a first session management network element that supports all or part of the DNAIs in the first DNAI for the first session of the terminal device.
[0033] In a possible implementation method, the method is used to obtain first information; and send the first information to a mobility management network element;
[0034] The mobility management network element is used to obtain the first information, specifically including: being used to receive the first information from the policy control network element.
[0035] In a possible implementation method, the system further includes a policy control network element, which is used to obtain a first DNAI corresponding to a first session of the terminal device; and send the first DNAI corresponding to the first session to a mobility management network element;
[0036] The mobility management network element is used to determine a first DNAI corresponding to a first session of a terminal device, specifically including: receiving a first DNAI corresponding to the first session from a policy control network element or other mobility management network elements.
[0037] In a possible implementation method, the mobility management network element is used to select the first session management network element that supports all or part of the DNAI in the first DNAI for the first session of the terminal device, including: based on the first DNAI and the DNAI supported by the first session management network element, selecting the first session management network element that supports all or part of the DNAI in the first DNAI for the first session of the terminal device.
[0038] In a possible implementation method, the system further includes a network storage network element; and the mobility management network element is further configured to obtain the DNAI supported by the first session management network element from the network storage network element.
[0039] In a possible implementation method, the first session management network element is used to send a registration request message to the network storage network element, the registration request message including the identifier of the first session management network element and the DNAI supported by the first session management network element; and receive a registration response message from the network storage network element, the registration response message being used to determine that the registration is complete; the network storage network element is used to receive the registration request message from the first session management network element; store the correspondence between the identifier of the first session management network element and the DNAI supported by the first session management network element; and send the registration response message to the first session management network element. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A schematic diagram of a session management network element selection system provided for this application;
[0041] Figure 2A This is a schematic diagram of the 5G network architecture based on service-oriented architecture;
[0042] Figure 2B This is a schematic diagram of the 5G network architecture based on a point-to-point interface;
[0043] Figure 3 A flow chart of a SMF selection method provided in this application;
[0044] Figure 4 A flowchart of another SMF selection method provided in this application;
[0045] Figure 5 A flowchart of another SMF selection method provided in this application;
[0046] Figure 6 A flowchart of another SMF selection method provided in this application;
[0047] Figure 7 A flowchart of another SMF selection method provided in this application;
[0048] Figure 8 A schematic diagram of a SMF registration method flow provided for this application;
[0049] Fig. 9 A schematic diagram of a device provided for this application;
[0050] Fig.10 A schematic diagram of another device provided for this application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The specific operation method in the method embodiment can also be applied to the device embodiment or the system embodiment. In the description of the present application, unless otherwise specified, the meaning of "multiple" is two or more.
[0052] To solve the problems mentioned in the background technology, Figure 1 As shown, the present application provides a schematic diagram of a session management network element selection system, the system includes a mobility management network element and a first session management network element, and optionally, the system also includes a policy control network element. The mobility management network element is used to determine a first DNAI corresponding to a first session of a terminal device; and select a first session management network element that supports all or part of the DNAIs in the first DNAI for the first session of the terminal device.
[0053] In a possible implementation method, a mobility management network element is used to determine a first DNAI corresponding to a first session of a terminal device, including: obtaining first information, the first information including an identifier of the session of the terminal device and a second DNAI corresponding to the identifier of the session of the terminal device, the second DNAI being one or more DNAIs, and the identifier of the session of the terminal device including an identifier of the first session; obtaining the identifier of the first session; and determining the first DNAI corresponding to the first session based on the identifier of the first session and the first information.
[0054] In a possible implementation method, the mobility management network element is also used to: obtain second information, the second information including an identifier of the first session and a third DNAI corresponding to the identifier of the first session; determine a fourth DNAI based on the third DNAI; and select a second session management network element that supports all or part of the DNAI in the fourth DNAI for the first session of the terminal device.
[0055] In a possible implementation method, the fourth DNAI is the same as the third DNAI; or, the fourth DNAI includes the first DNAI and the third DNAI.
[0056] In a possible implementation method, the policy control network element is used to obtain the first information; and, sends the first information to the mobility management network element; the mobility management network element is used to obtain the first information, specifically including: being used to receive the first information from the policy control network element.
[0057] In a possible implementation method, the policy control network element is used to send the first information to the mobility management network element, specifically including: sending the first information to the mobility management network element during the registration process of the terminal device.
[0058] In a possible implementation method, the mobility management network element is used to obtain the first information, specifically including: being used to receive the first information from other mobility management network elements.
[0059] In a possible implementation method, a mobility management network element is used to obtain an identifier of a first session, including: receiving a request message from a terminal device, the request message including the identifier of the first session, the request message being used to request establishment of the first session; or receiving context information of the terminal device from other mobility management network elements, the context information including the identifier of the first session.
[0060] In one possible implementation method, a policy control network element is used to obtain a first DNAI corresponding to a first session of a terminal device; and to send the first DNAI corresponding to the first session to a mobility management network element; the mobility management network element is used to determine the first DNAI corresponding to the first session of the terminal device, specifically including: receiving the first DNAI corresponding to the first session from a policy control network element or other mobility management network elements.
[0061] In a possible implementation method, the mobility management network element is also used to select a third session management network element for the first session of the terminal device; the mobility management network element is used to select a first session management network element that supports all or part of the DNAI in the first DNAI for the first session, specifically including: determining that the third session management network element does not support all or part of the DNAI in the first DNAI, and then selecting a first session management network element that supports all or part of the DNAI in the first DNAI for the first session.
[0062] In a possible implementation method, the mobility management network element is also used to: receive the fifth DNAI corresponding to the first session from the policy control network element; determine the sixth DNAI based on the fifth DNAI; and select a fourth session management network element that supports all or part of the sixth DNAI for the first session of the terminal device.
[0063] In a possible implementation method, the sixth DNAI is the same as the fifth DNAI; or, the sixth DNAI includes the first DNAI and the fifth DNAI.
[0064] In a possible implementation method, the identifier of the first session includes one or more of the following: DNN, S-NSSAI.
[0065] In one possible implementation, Figure 1The system shown also includes a network storage network element, and the mobility management network element is further used to obtain the DNAI supported by the first session management network element from the network storage network element. In a possible implementation method, the first session management network element is used to send a registration request message to the network storage network element, the registration request message including the identifier of the first session management network element and the DNAI supported by the first session management network element; and receive a registration response message from the network storage network element, the registration response message is used to determine that the registration is completed;
[0066] The network storage network element is used to receive a registration request message from a first session management network element; store the correspondence between the identifier of the first session management network element and the DNAI supported by the first session management network element; and send a registration response message to the first session management network element.
[0067] like Figure 2A The figure shows a schematic diagram of a 5G network architecture based on a service-oriented architecture. Figure 2A The 5G network architecture shown may include three parts, namely, the terminal equipment part, the data network (DN) and the operator network part. The functions of some network elements are briefly introduced below.
[0068] Among them, the operator network may include one or more of the following network elements: network exposure function (NEF) network element, policy control function (PCF) network element, unified data management (UDM) network element, network repository function (NRF) network element, application function (AF) network element, access and mobility management function (AMF) network element, session management function (SMF) network element, (radio) access network (R) AN) and user plane function (UPF) network element. In the above-mentioned operator network, the part other than the (radio) access network part can be called the core network part. For the convenience of explanation, the following explanation is taken as an example that (R) AN is called RAN.
[0069] Terminal device, also known as user equipment (UE), is a device with wireless transceiver function, which can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water (such as ships); it can also be deployed in the air (such as airplanes, balloons and satellites). The terminal device can be a mobile phone, a tablet computer (pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.
[0070] The above-mentioned terminal device can establish a connection with the operator network through the interface provided by the operator network (such as N1, etc.), and use the data and / or voice services provided by the operator network. The terminal device can also access the DN through the operator network, use the operator services deployed on the DN, and / or services provided by a third party. Among them, the above-mentioned third party may be a service provider other than the operator network and the terminal device, and can provide other data and / or voice services to the terminal device. Among them, the specific form of the above-mentioned third party can be determined according to the actual application scenario, and is not limited here.
[0071] RAN is a subnetwork of the operator network and an implementation system between the service node and the terminal device in the operator network. To access the operator network, the terminal device must first pass through the RAN, and then connect to the service node of the operator network through the RAN. The RAN device in this application is a device that provides wireless communication functions for the terminal device, and the RAN device is also called an access network device. The RAN device in this application includes but is not limited to: the next generation base station (g nodeB, gNB) in 5G, evolved node B (evolved node B, eNB), radio network controller (radio network controller, RNC), node B (node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand unit, BBU), transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), mobile switching center, etc.
[0072] The AMF network element is a control plane network element provided by the operator network. It is responsible for access control and mobility management of terminal devices accessing the operator network, such as mobility status management, allocation of user temporary identity, authentication and authorization of users, etc.
[0073] The SMF network element is a control plane network element provided by the operator network, which is responsible for managing the PDU session of the terminal device. The PDU session is a channel for transmitting PDUs. The terminal device needs to transmit PDUs to each other with the DN through the PDU session. The SMF network element is responsible for establishing, maintaining and deleting the PDU session. The SMF network element includes session management (such as session establishment, modification and release, including tunnel maintenance between UPF and AN), selection and control of UPF network elements, service and session continuity (SSC) mode selection, roaming and other session-related functions.
[0074] The UPF network element is a gateway provided by the operator and is the gateway for the operator network to communicate with the DN. The UPF network element includes functions related to the user plane, such as data packet routing and transmission, packet detection, service usage reporting, Quality of Service (QoS) processing, legal monitoring, uplink packet detection, and downlink packet storage.
[0075] DN is a network outside the operator network. The operator network can access multiple DNs. Multiple services can be deployed on DN, which can provide data and / or voice services to terminal devices. For example, DN is the private network of a smart factory. The sensors installed in the workshop of the smart factory can be terminal devices. The control server of the sensors is deployed in DN, and the control server can provide services for the sensors. The sensors can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions. For another example, DN is the internal office network of a company. The mobile phones or computers of the company's employees can be terminal devices. The employees' mobile phones or computers can access information and data resources on the company's internal office network.
[0076] The UDM network element is a control plane network element provided by the operator, which is responsible for storing the subscriber permanent identifier (SUPI), credential, security context, contract data and other information of the subscribers in the operator network. The information stored by the UDM network element can be used for the authentication and authorization of the terminal device to access the operator network. Among them, the subscribers of the above-mentioned operator network can specifically be users who use the services provided by the operator network, such as users who use China Telecom's mobile phone SIM cards, or users who use China Mobile's mobile phone SIM cards, etc. The SUPI of the above-mentioned subscriber can be the number of the mobile phone SIM card, etc. The credential and security context of the above-mentioned subscriber can be small files storing the encryption key of the mobile phone SIM card or information related to the encryption of the mobile phone SIM card, which are used for authentication and / or authorization. The above-mentioned security context can be data (cookie) or token stored on the user's local terminal (such as a mobile phone). The contract data of the above-mentioned subscriber can be the supporting services of the mobile phone SIM card, such as the traffic package of the mobile phone SIM card or the use of the network, etc. It should be noted that permanent identifiers, credentials, security contexts, authentication data (cookies), and tokens are equivalent to authentication and authorization related information. In this application document of the present invention, no distinction or restriction is made for the convenience of description. Unless otherwise specified, the embodiments of the present application will be described using security contexts as an example, but the embodiments of the present application are also applicable to authentication and / or authorization information expressed in other ways.
[0077] NEF network element is a control plane network element provided by the operator. NEF network element opens the external interface of the operator network to third parties in a secure manner. When the SMF network element needs to communicate with the network elements of a third party, the NEF network element can serve as a relay for the communication between the SMF network element and the third-party network elements. When the NEF network element acts as a relay, it can translate the identification information of the contracted user, as well as the identification information of the third-party network elements. For example, when NEF sends the SUPI of the contracted user from the operator network to the third party, it can translate the SUPI into its corresponding external identity (identity, ID). Conversely, when the NEF network element sends the external ID (third-party network element ID) to the operator network, it can translate it into SUPI.
[0078] Application Function (AF) network elements mainly provide application layer services and also support interaction with the 5G core network to provide services, such as influencing data routing decisions, policy control functions, or providing some third-party services to the network side. In this application, AF network elements include application servers, which refer to third-party servers.
[0079] The PCF network element is a control plane function provided by the operator, which is used to provide policies to network network elements. As an implementation method, the policies may include access control policies, mobility management policies, charging-related policies, QoS-related policies, and authorization-related policies.
[0080] NRF network elements can be used to provide network element discovery functions and provide network element information corresponding to the network element type based on requests from other network elements. NRF also provides network element management services, such as network element registration, update, deregistration, and network element status subscription and push.
[0081] Figure 2A Among them, Nnef, Npcf, Nudm, Naf, Namf, Nsmf, N1, N2, N3, N4, and N6 are interface serial numbers. The meanings of these interface serial numbers can be found in the meanings defined in the third generation partnership project (3GPP) standard protocol, and are not limited here.
[0082] like Figure 2B The following is a schematic diagram of the 5G network architecture based on a point-to-point interface. The functions of the network elements can be found in Figure 2A The introduction of the functions of the corresponding network elements will not be repeated here. Figure 2B and Figure 2A The main differences are: Figure 2B The interfaces between the various network elements in a network are point-to-point interfaces, rather than service-oriented interfaces.
[0083] exist Figure 2B In the architecture shown, the interface between the UE and the AMF network element is called the N1 interface, the interface between the AMF network element and the RAN device is called the N2 interface, the interface between the RAN device and the UPF network element can be called the N3 interface, the interface between the SMF network element and the UPF network element is called the N4 interface, the interface between the PCF network element and the AF network element is called the N5 interface, the interface between the UPF network element and the DN is called the N6 interface, the interface between the SMF network element and the PCF network element is called the N7 interface, the interface between the AMF network element and the UDM network element is called the N8 interface, the interface between different UPF network elements is called the N9 interface, the interface between the UDM network element and the SMF network element is called the N10 interface, the interface between the AMF network element and the SMF network element is called the N11 interface, the interface between different AMF network elements is called the N14 interface, and the interface between the AMF network element and the PCF network element is called the N15 interface.
[0084] It is understandable that the above network element or function can be a network element in a hardware device, a software function running on dedicated hardware, or a virtualized function instantiated on a platform (e.g., a cloud platform). Optionally, the above network element or function can be implemented by one device, or by multiple devices, or a functional module in one device, which is not specifically limited in the embodiments of the present application.
[0085] The mobility management network element, session management network element, policy control network element, application function network element, access network device, and network storage network element in this application can be Figure 2A or Figure 2B The AMF, SMF, PCF, AF, RAN, and NRF in the network may also be network elements with the functions of the above-mentioned AMF, SMF, PCF, AF, RAN, and NRF in future communications such as the sixth generation (6G) network, and this application is not limited to this. For the convenience of explanation, this application takes the mobility management network element, session management network element, policy control network element, application function network element, access network equipment, and network storage network element as the above-mentioned AMF, SMF, PCF, AF, RAN, and NRF as examples. In addition, the terminal equipment is referred to as UE in this application.
[0086] Depending on the data network accessed by the UE, the network can select the UPF accessing the data network as the PDU Session Anchor (PSA) according to the network policy, and access the AF through the N6 interface of the PSA. The AF of the same application can be deployed in multiple locations, so that the network can select a PSA that is close to the UE and supports the UE to access the data network according to the UE's access location, so as to reduce routing detours and reduce network latency.
[0087] During the application access process, the UE's access location moves. In order to reduce routing detours, the PSA needs to be reselected so as to access the application nearby. In the prior art, the method of PSA reselection is: the AF sends a request message to the SMF, and the request message includes a data network access identifier (DNAI), which is used to identify the local access of the data network, and then the SMF selects the UPF that supports the DNAI in the request message as the PSA.
[0088] However, due to network configuration reasons, in some scenarios, the UPF managed by the SMF may not support all or most of the DNAIs that the UE can access, resulting in the inability to select a suitable PSA for the UE so that the UE can access the nearest AF.
[0089] In order to solve the technical problems mentioned in the background technology and solve the technical problem of selecting a suitable PSA for the UE, based on the architecture shown above, reference Figure 3 The present application provides a method for selecting an SMF, the method comprising the following steps:
[0090] Step 301: AMF determines a first DNAI corresponding to a first session of the UE.
[0091] Step 302: AMF selects a first SMF that supports all or part of the DNAI in the first DNAI for the first session of the UE.
[0092] It should be noted that if there is already an SMF providing services for the UE, the first SMF selected is a newly added SMF, so it can be called the first I-SMF. For the same reason, the second SMF, the third SMF, and the fourth SMF that appear later can be called the second I-SMF, the third I-SMF, and the fourth I-SMF, respectively. Among them, I-SMF is the abbreviation of intermediate SMF.
[0093] It should be noted that the DNAI in this application can be considered as the location information of the data access network. For example, in one scenario, due to load balancing, the AF can request a data routing access point at a specific location (the application deploys the AF at this location), that is, it is hoped that the data flow of the user's application will be accessed to the AF at this location.
[0094] Based on the above solution, the AMF selects an SMF for the UE, and the SMF supports all or part of the DNAI in the first DNAI, so that the UPF selected by the SMF also supports all or part of the DNAI in the first DNAI, that is, the SMF is responsible for associating the UPF that supports part or all of the DNAI in the first DNAI corresponding to the first session, thereby realizing the selection of a suitable SMF for the UE. Furthermore, through the selected SMF, it is possible to select a UPF that supports the DNAI corresponding to the first session as the PSA for the UE, thereby reducing routing detours and reducing network delays.
[0095] As an example, the following Figure 3 Different implementation methods of the embodiments.
[0096] Implementation method 1. During the UE registration process, AMF obtains DNAI information related to the UE; during the UE session establishment process, AMF selects the first SMF for the UE.
[0097] In the implementation method 1, during the registration process of the UE, the AMF obtains DNAI information related to the UE. For example, it can be: during the registration process of the UE, the AMF obtains first information, and the first information is the DNAI information related to the UE. The first information includes an identifier of the UE's session and a second DNAI corresponding to the identifier of the UE's session, the second DNAI is one or more DNAIs, and the identifier of the UE's session includes the identifier of the first session.
[0098] The first information here includes one or more groups of correspondences, and each group of correspondences refers to the correspondence between the identifier of the UE's session and at least one DNAI (i.e., the second DNAI). That is, the first information includes one or more session identifiers, and each session identifier corresponds to a second DNAI, which refers to one or more DNAIs, and the identifier of the first session is included in the identifier of the one or more sessions in the first information. Therefore, the second DNAI corresponding to the identifier of the first session in the first information is the above-mentioned first DNAI, or it can be understood that the above-mentioned first DNAI is the second DNAI corresponding to the identifier of the first session in the first information.
[0099] Referring to Table 1, an example of the first information is given, where the session identifier includes DNN and single network slice selection assistance information (S-NSSAI) as an example, and each row represents a set of corresponding relationships.
[0100] Table 1
[0101] Session ID DNAI DNN1, S-NSSAI1 DNAI1, DNAI2 DNN1, S-NSSAI2 DNAI1, DNAI3 DNN2, S-NSSAI1 DNAI2, DNAI4 …… ……
[0102] As a way to achieve this:
[0103] The AMF can obtain the above-mentioned first information from the PCF during the registration process of the UE, or obtain the above-mentioned first information from other AMFs (such as the AMF that provides services to the UE before the UE moves).
[0104] As a way to achieve this:
[0105] After the UE registers with the network, the AMF can obtain the identifier of the first session during the session establishment process. For example, the AMF can receive a request message from the UE, the request message includes the identifier of the first session, and the request message is used to request the establishment of the first session; or, the AMF receives the context information of the UE from other AMFs (such as the AMF that provides services to the UE before the UE moves), and the context information includes the identifier of the first session.
[0106] After obtaining the identifier of the first session, the AMF can determine the first DNAI corresponding to the first session according to the identifier of the first session and the above-mentioned first information. As an example, the identifier of the first session is DNN1 and S-NSSAI1 in Table 1, then the AMF can obtain the first DNAI corresponding to the identifier of the first session according to the above Table 1, including DNAI1 and DNAI2. Furthermore, the AMF can select an SMF that supports DNAI1 and DNAI2 for the UE. For example, if there is an SMF that supports both DNAI1 and DNAI2, the SMF is selected as the first SMF. Of course, if no SMF supports both DNAI1 and DNAI2, an SMF that supports DNAI1 or DNAI2 can be selected as the first SMF for the UE.
[0107] As a way to achieve this:
[0108] After selecting SMF for the UE, the SMF can select a UPF for the UE. Since the first SMF supports part or all of the DNAIs in the first DNAI, the selected UPF also supports part or all of the DNAIs in the first DNAI, so that the UPF selected for the UE can serve as a PSA.
[0109] Based on the above implementation method 1, if the DNAI information related to the UE is updated later, the PCF can also notify the AMF to update. For example, the PCF can send the second information to the AMF, and the second information is the DNAI information related to the UE, and the second information includes the identifier of the UE's session and at least one DNAI corresponding to the identifier of the UE's session, wherein the second information includes the identifier of the first session and the third DNAI corresponding to the identifier of the first session.
[0110] The second information may be notified to AMF in the form of a full update or an incremental update. In the case of a full update, AMF may use the second information to replace the first information, or it may be understood that AMF deletes the first information and stores the second information as the latest DNAI information. In the case of an incremental update, AMF merges the first information and the second information, or it may be understood that AMF deduplicates the first information and the second information and stores them, so the saved DNAI information contains both the first information and the second information. The following describes two different update methods.
[0111] Update method 1: Full update method
[0112] In combination with the example in Table 1, as an implementation method, the second information sent by PCF to AMF includes the latest DNAI information, and the latest DNAI information may be the correspondence between the identifier of one or more sessions and the DNAI added on the basis of the above-mentioned first information (refer to the example in Table 2), or it may be a modification of the above-mentioned first information (refer to the example in Table 3), or it may be a combination of addition and modification on the basis of the above-mentioned first information (refer to the example in Table 4).
[0113] Table 2
[0114] Session ID DNAI DNN1, S-NSSAI1 DNAI1, DNAI2 DNN1, S-NSSAI2 DNAI1, DNAI3 DNN2, S-NSSAI1 DNAI2, DNAI4 DNN2, S-NSSAI3 DNAI2, DNAI3, DNAI4 DNN1, S-NSSAI3 DNAI3, DNAI4 …… ……
[0115] Referring to Table 2, it can be seen that in the second information, the DNAI corresponding to the identifier of the first session has not changed and is still DNAI1 and DNAI2. Therefore, the third DNAI corresponding to the first session in the second information is the same as the first DNAI corresponding to the first session in the first information.
[0116] Table 3
[0117] Session ID DNAI DNN1, S-NSSAI1 DNAI1, DNAI4 DNN1, S-NSSAI2 DNAI1, DNAI3 DNN2, S-NSSAI1 DNAI2, DNAI4 …… ……
[0118] Referring to Table 3, it can be seen that in the second information, the DNAI corresponding to the identifier of the first session has changed, from DNAI1 and DNAI2 to DNAI1 and DNAI4. Therefore, the third DNAI corresponding to the first session in the second information is different from the first DNAI corresponding to the first session in the first information.
[0119] Table 4
[0120] Session ID DNAI DNN1, S-NSSAI1 DNAI1, DNAI4 DNN1, S-NSSAI2 DNAI1, DNAI3 DNN2, S-NSSAI1 DNAI2, DNAI4 DNN2, S-NSSAI3 DNAI2, DNAI3, DNAI4 DNN1, S-NSSAI3 DNAI3、DNAI4 …… ……
[0121] Referring to Table 4, it can be seen that in the second information, the DNAI corresponding to the identifier of the first session has changed, from DNAI1 and DNAI2 to DNAI1 and DNAI4. Therefore, the third DNAI corresponding to the first session in the second information is different from the first DNAI corresponding to the first session in the first information.
[0122] Based on any implementation method of the above second information, after obtaining the second information, the AMF can determine the fourth DNAI according to the third DNAI corresponding to the first session in the second information, and the fourth DNAI is the same as the third DNAI, and the fourth DNAI refers to the latest DNAI corresponding to the first session. For example, in Table 2, the fourth DNAI includes DNAI1 and DNAI2, and in Tables 3 and 4, the fourth DNAI includes DNAI1 and DNAI4.
[0123] Update method 2: Incremental update method
[0124] As an implementation method, the second information sent by PCF to AMF may be DNAI information newly added based on the above-mentioned first information.
[0125] In combination with the above Table 1, the following Table 5 gives an example of the updating method.
[0126] Table 5
[0127] Session ID DNAI DNN1, S-NSSAI1 DNAI4 DNN1, S-NSSAI2 DNAI2 DNN1, S-NSSAI3 DNAI3、DNAI4 …… ……
[0128] With reference to Table 5, it can be seen that in the second information, the third DNAI corresponding to the first session includes DNAI4, that is, DNAI4 is newly added to the DNAI corresponding to the first session.
[0129] Based on the implementation method of the second information, after obtaining the second information, the AMF can determine the fourth DNAI according to the third DNAI corresponding to the first session in the second information and the first DNAI corresponding to the first session in the first information, and the fourth DNAI includes the first DNAI and the third DNAI, and the fourth DNAI refers to the latest DNAI corresponding to the first session. For example, in combination with Table 1 and Table 5, it can be determined that the fourth DNAI corresponding to the first session includes DNAI1, DNAI2, and DNAI4.
[0130] After AMF obtains the latest DNAI corresponding to the first session, that is, the fourth DNAI, through full update or incremental update, it can select a second SMF that supports all or part of the DNAIs in the fourth DNAI for the first session of the UE. If the second SMF is different from the first SMF, the second SMF is used as the latest SMF. If the second SMF is the same as the first SMF, no update is required.
[0131] Implementation method 2: During the UE session establishment process, the AMF first selects an SMF (called the third SMF), then the AMF obtains the DNAI information related to the UE session, and reselects the first SMF for the UE based on the DNAI information.
[0132] In the implementation method 2, during the UE's session establishment process, the AMF selects the third SMF, for example, during the UE's session establishment process, the AMF may select the third SMF for the UE's first session based on the UE's location information. Of course, other methods may also be used to select the third SMF, and this application does not limit the method by which the AMF selects the third SMF.
[0133] After selecting the third SMF, the AMF may subsequently obtain DNAI information related to the UE's session. For example, during the establishment of the first session, the UE obtains DNAI information related to the first session from the PCF or other AMF (such as the AMF that provided services to the UE before the UE moved), that is, the first DNAI corresponding to the first session. Therefore, if the AMF determines that the third SMF does not support all or part of the DNAI in the first DNAI, the first SMF that supports all or part of the DNAI in the first DNAI is selected for the first session.
[0134] Based on the implementation method 2, the AMF may not consider the DNAI first and select a third SMF for the UE. If it is determined that the third SMF does not support part or all of the DNAIs in the first DNAI corresponding to the first session, the AMF will reselect an SMF for the UE that supports part or all of the DNAIs in the first DNAI corresponding to the first session, namely the first SMF.
[0135] Based on the above implementation method 1 or implementation method 2, in the subsequent modification process of the first session of the UE, if the DNAI corresponding to the first session has changed, for example, the latest DNAI corresponding to the first session is the fifth DNAI, then the PCF can send the fifth DNAI corresponding to the first session to the AMF in the session update process, and then the AMF determines the sixth DNAI based on the fifth DNAI, and the sixth DNAI is the latest DNAI corresponding to the first session. Among them, if the update is performed in a full update manner, the sixth DNAI is the same as the fifth DNAI; if the update is performed in an incremental update manner, the sixth DNAI includes the first DNAI and the fifth DNAI. Furthermore, a fourth SMF that supports all or part of the DNAIs in the sixth DNAI can be selected for the first session of the UE. If the fourth SMF is different from the current SMF (i.e., the first SMF or the above-mentioned second SMF), the fourth SMF is used as the latest SMF. If the fourth SMF is the same as the current SMF, no update is required.
[0136] It should be noted that the difference between the two methods of sending updated DNAI information from the PCF to the AMF is that: the first method (i.e., the method of sending updated DNAI information based on the above implementation method 1) is that the PCF sends UE-granular DNAI information related to the UE's session to the AMF (i.e., the above-mentioned second information), and the second information includes not only the identifier of the first session and the DNAI corresponding to the identifier of the first session, but also the identifiers of other sessions of the UE and the corresponding DNAI; and the second method (i.e., the method of sending updated DNAI information based on the above implementation method 2) is that the PCF only sends the latest DNAI corresponding to the first session to the AMF during the session modification process, without sending the identifier of the first session, nor the identifiers of other sessions of the UE and the corresponding DNAI.
[0137] Combine the following Figure 4-Figure 7 ,right Figure 3 The embodiment shown is specifically described. In the following embodiments of the present application, NewAMF refers to the AMF currently providing services to the UE, OldAMF refers to the AMF that previously provided services to the UE, and the UE context information can be stored on the OldAMF. For example, when re-registration is initiated due to the movement of the UE, the New AMF refers to the AMF that provides services to the UE when the UE is in the position after the movement, and the Old AMF refers to the AMF that provides services to the UE when the UE is in the position before the movement. It should be noted that the New AMF can also be called the new AMF, and the Old AMF can also be called the old AMF or the original AMF.
[0138] PCF is divided into AM-PCF and SM-PCF, where AM-PCF is used to provide access control and mobility management policies to AMF and UE policies to UE, and SM-PCF is used to provide session management related policies to SMF. In a specific implementation, AM-PCF and SM-PCF can be deployed together on the same physical device, or separately on different physical devices, which is not limited in this application.
[0139] refer to Figure 4 The present application provides another SMF selection method, which describes that during the UE registration process, the New AMF receives DNAI information related to the UE from the PCF or the Old AMF, and during the PDU session establishment process, the NewAMF selects the I-SMF according to the DNAI in the DNAI information corresponding to the established session.
[0140] The method comprises the following steps:
[0141] Step 401, the UE sends an initial registration request (Initial Registration Request) message to the RAN, and the message carries the UE's identifier (such as a temporary identifier, etc.) Correspondingly, the RAN can receive the initial registration request message.
[0142] Step 402: RAN sends an initial registration request message to New AMF, where the message carries the UE identifier (such as a temporary identifier, etc.) Correspondingly, New AMF can receive the initial registration request message.
[0143] Step 403: If the initial registration request message carries a temporary identifier, the New AMF obtains the UE context from the Old AMF. If the UE context already includes the DNAI information related to the UE, the Old AMF sends the DNAI information to the NewAMF.
[0144] The DNAI information here includes one or more groups of correspondences, and each group of correspondences refers to the correspondence between a session identifier and at least one DNAI.
[0145] The DNAI information related to the UE here is the first information in the above embodiment.
[0146] As a specific implementation manner of step 403, the New AMF may send a Naf_Communication_UEContextTransferrequest to the Old AMF, and then the Old AMF sends a Naf_Communication_UEContextTransferresponse to the New AMF, which carries the UE context, and the UE context includes DNAI information related to the UE.
[0147] This step 403 is optional.
[0148] Step 404: New AMF sends a registration completion notification message to Old AMF. Accordingly, Old AMF can receive the registration completion notification message.
[0149] This step 404 is optional.
[0150] Step 405: New AMF registers with UDM, obtains user subscription data, and subscribes to user data change notifications.
[0151] This step 405 is optional.
[0152] Step 406: Old AMF deregisters with UDM and cancels subscription to subscription data change notification.
[0153] This step 406 is optional.
[0154] Step 407: New AMF sends a policy control request message to AM-PCF, which carries the SUPI and the internal group identifier list to which the UE belongs. Accordingly, AM-PCF can receive the policy control request message.
[0155] As a specific implementation method, the above-mentioned policy control request message may be an Npcf_AMPolicyControl_Create Request message.
[0156] Step 408, AM-PCF interacts with UDR, and obtains the subscription information of UE and related AF information affecting steering decision from UDR, which includes DNAI information related to the UE.
[0157] As a specific implementation, AM-PCF can send a query request message to UDR, and then UDR sends a query response message to AM-PCF. The query response message includes DNAI information related to the UE and may further include the subscription information of the UE.
[0158] The query request message may be a NUdr_DM_Query Request message, and the query response message may be a NUdr_DM_Query Response message.
[0159] The DNAI information related to the UE here is the same as the description of the DNAI information related to the UE in the above step 403, and the above description can be referred to.
[0160] It should be noted that if the DNAI information related to the UE can be obtained through step 403, then it is not necessary to obtain the DNAI information related to the UE in step 408; if the DNAI information related to the UE cannot be obtained through step 403, then the DNAI information related to the UE can be obtained in step 408.
[0161] Step 409: AM-PCF sends a policy control response message to New AMF. Accordingly, New AMF can receive the policy control response message.
[0162] Optionally, the policy control response message includes the above-mentioned DNAI information related to the UE.
[0163] As a specific implementation method, the above-mentioned policy control response message may be an Npcf_AMPolicyControl_Create Response message.
[0164] Step 410: New AMF sends a Registration Accept message to the UE. Accordingly, the UE may receive the Registration Accept message.
[0165] Step 411: The UE sends a Registration Complete message to the New AMF via the RAN. Correspondingly, the New AMF may receive the Registration Complete message.
[0166] Through the above steps 401 to 411, during the UE registration process, the UE can obtain DNAI information related to the UE from the Old AMF or AM-PCF, and the DNAI information is UE-granular.
[0167] Next, the PDU session establishment process of the UE is described. During the PDU session establishment process, an I-SMF supporting DNAI is selected for the UE.
[0168] Step 412: The UE sends a session establishment request message to the New AMF, where the message is used to request to establish a PDU session. Accordingly, the New AMF may receive the session establishment request message.
[0169] Optionally, the session establishment request message carries an identifier of the first session, and the identifier of the first session may include DNN and S-NSSAI.
[0170] Step 413: The New AMF determines that an I-SMF needs to be inserted according to the current location of the UE, selects an I-SMF, and sends a context establishment request message to the selected I-SMF. Then, the I-SMF sends a context establishment response message to the New AMF.
[0171] The context establishment request message here may be, for example, a Nsmf_PDUSession_CreateSMContextRequest message, and the context establishment response message may be, for example, a Nsmf_PDUSession_CreateSMContextResponse message.
[0172] Optionally, the New AMF determines the first DNAI corresponding to the first session according to the identifier of the first session of the UE and the obtained DNAI information, and then selects an SMF that supports part or all of the DNAIs in the first DNAI as the I-SMF.
[0173] For example, the identifier of the first session in the session establishment request message in step 412 is DNN1, S-NSSAI2, and the New AMF obtains the DNAI information related to the UE from the Old AMF or AM-PCF. Taking the above Table 1 as an example, the New AMF can determine that the DNAI corresponding to DNN1 and S-NSSAI2 includes DNAI 1 and DNAI3, and then the New AMF selects an SMF that supports DNAI1 and / or DNAI3 as the I-SMF.
[0174] For example, if there is an SMF that supports DNAI1 and DNAI3, the SMF can be used as the I-SMF. If there is no SMF that supports both DNAI1 and DNAI3, an SMF that supports DNAI1 or DNAI3 can be selected as the I-SMF.
[0175] Among them, the New AMF can obtain which SMFs support the DNAI corresponding to the session through pre-configuration or through NRF query, that is, the New AMF is pre-configured with the DNAIs supported by one or more SMFs managed by the New AMF, or the NRF stores the DNAIs supported by one or more SMFs managed by the New AMF and other AMFs.
[0176] Step 414, the I-SMF selects a UPF and sends an N4 session establishment request message to the UPF, and the UPF returns an N4 session establishment response message to the I-SMF.
[0177] The UPF here is the UPF that serves as the PSA, and the UPF also supports the DNAI corresponding to the session, thereby realizing the selection of a PSA that supports the DNAI corresponding to the session for the UE session.
[0178] Step 415: The I-SMF sends a session establishment request message to the SMF. Accordingly, the SMF may receive the session establishment request message.
[0179] The session establishment request message may be, for example, an Nsmf_PDUSession_Create Request message.
[0180] Step 416, SMF registers with UDM, obtains user subscription data, and subscribes to user data change notifications.
[0181] Step 417: SMF sends a policy control request message to SM-PCF. Accordingly, SM-PCF may receive the policy control request message.
[0182] The policy control request message may be, for example, a Npcf_SMPolicyControl_Create Request message.
[0183] Step 418: SM-PCF interacts with UDR to obtain the user's policy subscription information.
[0184] As a specific implementation, the SM-PCF may send a query request message to the UDR, and then the UDR sends a query response message to the SM-PCF, where the query response message includes the user's policy subscription information.
[0185] The query request message may be a NUdr_DM_Query Request message, and the query response message may be a NUdr_DM_Query Response message.
[0186] Step 419: After executing the policy, the SM-PCF sends a policy control response message to the SMF. Accordingly, the SMF can receive the policy control response message.
[0187] The policy control response message may be, for example, an Npcf_SMPolicyControl_Create Response message.
[0188] Step 420: SMF sends a session establishment response message to I-SMF. Accordingly, SMF can receive the session establishment response message.
[0189] The session establishment response message may be, for example, an Nsmf_PDUSession_Create Response message.
[0190] Step 421, I-SMF sends an information transfer message to AMF, and AMF returns an information transfer response message to I-SMF.
[0191] The information transfer message may be, for example, a Namf_Communication_N1N2MessageTransfer message.
[0192] Step 422, AMF continues to complete the subsequent PDU session establishment process.
[0193] Based on the above embodiment, AMF obtains DNAI information related to UE from PCF (such as the above-mentioned AM-PCF) or other AMF (such as the above-mentioned Old AMF). In the process of UE establishing a PDU session, the first DNAI corresponding to the established PDU session is determined according to the session identifier, and then an I-SMF that supports part or all of the DNAI in the first DNAI is selected. Then, the I-SMF selects UPF. Since the I-SMF supports the above-mentioned first DNAI, the selected UPF also supports the first DNAI, so that the UPF can be used as PSA, thereby realizing the selection of a suitable PSA for the UE, that is, the PSA that supports the DNAI corresponding to the session is selected.
[0194] As an implementation method, when executing Figure 4 After the process, since the movement of the UE will cause the switching of the first session accompanied by the reselection of the AMF, the target AMF obtains the DNAI information related to the UE and the identifier of the first session from the source AMF, and the target AMF determines the first DNAI corresponding to the identifier of the first session, and then selects an SMF that supports part or all of the DNAIs in the first DNAI as the I-SMF. Or the target AMF obtains the first DNAI corresponding to the first session from the source AMF, and then selects an SMF that supports part or all of the DNAIs in the first DNAI as the I-SMF.
[0195] refer to Figure 5 This application provides another SMF selection method, which can be used with Figure 4 The embodiments shown are combined, wherein the following conditions need to be met: Steps 501 to 505 can be executed at any time, and Steps 506 to 508 are executed after Step 422 above.
[0196] In this embodiment, after the AMF obtains the DNAI information related to the UE during the registration process of the UE, the AMF obtains the updated DNAI information from the AM-PCF during the session, and then reselects an I-SMF (i.e. Figure 5 The Old I-SMF in this embodiment may be the New I-SMF in the Figure 4 I-SMF in an embodiment.
[0197] The method comprises the following steps:
[0198] Step 501: AF sends a request message to NEF. Correspondingly, NEF can receive the request message.
[0199] The request message carries traffic steering information (Traffic Steering Information), and the Traffic Steering Information may carry an external group identifier or indication information, where the external group identifier is used to indicate that the Traffic Steering Information is applicable to one or more UEs corresponding to the external group identifier, and the indication information is used to indicate that the Traffic Steering Information is applicable to all UEs.
[0200] The Traffic Steering Information also carries DNAI information, and the DNAI information includes one or more groups of correspondences, where each group of correspondences is a correspondence between an identifier of a session of the UE and at least one DNAI.
[0201] The request message may be, for example, a Nnef_TrafficInfluence_Create Request message.
[0202] Step 502: NEF sends a request message to UDR, where the request message carries Traffic SteeringInformation. Accordingly, UDR can receive the request message.
[0203] For example, the request message may be a Nudr_DataRepository_Create Request message.
[0204] It should be noted that if the Traffic Steering Information carries an external group identifier, the NEF also needs to map the external group identifier into an internal group identifier, that is, the Traffic Steering Information sent by the NEF to the UDR carries the internal group identifier and DNAI information.
[0205] If the Traffic Steering Information carries indication information, the Traffic Steering Information sent by the NEF to the UDR carries the indication information and the DNAI information.
[0206] Step 503: UDR stores DNAI information and returns a response message to NEF. Accordingly, NEF can receive the response message.
[0207] The response message may be, for example, a Nudr_DataRepository_Create Response message.
[0208] Among them, if the Traffic Steering Information carries an internal group identifier, the UDR stores the correspondence between the internal group identifier and the DNAI information; or the UDR first determines the UE identifier corresponding to the internal group identifier based on the internal group identifier, and then stores the correspondence between the UE identifier and the DNAI information.
[0209] If the Traffic Steering Information carries indication information, the UDR stores the DNAI information without associating it with the UE, indicating that the DNAI information is applicable to all UEs.
[0210] Step 504: NEF sends a response message to AF. Correspondingly, AF can receive the response message.
[0211] The response message may be, for example, a Nnef_TrafficInfluence_Create Response message.
[0212] This step 504 is optional.
[0213] Step 505: UDR sends a notification message to all subscribed AM-PCFs, and the notification message carries Traffic Steering Information. Accordingly, the AM-PCF can receive the notification message.
[0214] Step 506: AM-PCF sends a policy control update request message to AMF, which carries DNAI information. Accordingly, AMF can receive the policy control update request message.
[0215] The DNAI information carried in the message is the second information described in the above embodiment. The second information can be information corresponding to the incremental update method or information corresponding to the full update method. For details, please refer to the above description.
[0216] The policy control update request message may be, for example, a NPcf_AMPolicyControl_UpdateNotifyRequest message.
[0217] It should be noted that if the Traffic Steering Information carries an internal group identifier, the AM-PCF performs this step for the UE corresponding to the internal group identifier. If the Traffic Steering Information carries indication information, the AM-PCF performs this step for all UEs.
[0218] If it is an incremental update, the AMF obtains and saves the updated DNAI information based on the currently saved DNAI information (ie, the first information described in the above embodiment) and the DNAI information received from the AM-PCF (ie, the second information described in the above embodiment).
[0219] If it is a full update, AMF will save the DNAI information received from AM-PCF (ie, the second information described in the above embodiment) as the updated DNAI information.
[0220] Step 507: AMF sends a policy control update response message to AM-PCF. Accordingly, AM-PCF can receive the policy control update response message.
[0221] The policy control update response message may be, for example, a NPcf_AMPolicyControl_UpdateNotifyResponse message.
[0222] Step 508: AMF reselects I-SMF according to the updated DNAI information.
[0223] The AMF determines the first DNAI corresponding to the first session in the updated DNAI information according to the identifier of the first session, and then selects an I-SMF that supports part or all of the DNAIs in the first DNAI. That is, the I-SMF before reselection is Figure 5 The Old I-SMF shown in the figure is the I-SMF after reselection. Figure 5 New I-SMF as shown.
[0224] Based on this embodiment, the AMF can obtain updated DNAI information during the PDU session and reselect the I-SMF according to the updated DNAI information, thereby selecting a suitable I-SMF for the UE.
[0225] refer to Figure 6 , another SMF selection method provided by the present application, in this embodiment, during the session establishment process, the AMF first selects an SMF (i.e., I-SMF1) for the UE, and then after obtaining the DNAI corresponding to the first session, reselects an SMF (i.e., I-SMF2) corresponding to the first session for the UE. Here, I-SMF1 is the third SMF in the aforementioned embodiment, and I-SMF2 is the first SMF in the aforementioned embodiment.
[0226] The method comprises the following steps:
[0227] Step 601, UE registers to the network.
[0228] The process of UE registering with the network can refer to the description of the prior art and will not be repeated here.
[0229] Step 602: The UE sends a session establishment request message to the New AMF. Correspondingly, the New AMF may receive the session establishment request message.
[0230] Optionally, the session establishment request message carries an identifier of the first session, and the identifier of the first session may include DNN and S-NSSAI.
[0231] Step 603, AMF determines that I-SMF needs to be inserted according to the current location of UE, and AMF obtains I-SMF1 serving the current location of UE according to configuration or through NRF query. AMF sends a context establishment request message to the selected I-SMF1, which carries DNN, S-NSSAI, user ID and internal group ID to which UE belongs. And, I-SMF1 sends a context response message to AMF.
[0232] Optionally, the context establishment request message may be a Nsmf_PDUSession_CreateSMContextRequest message, and the context establishment response message may be a Nsmf_PDUSession_CreateSMContext Response message.
[0233] Step 604: After selecting UPF1, I-SMF1 sends an N4 session establishment request message to UPF1, and UPF1 sends an N4 session establishment response message to I-SMF1.
[0234] Step 605, I-SMF1 sends a session establishment request message to SMF, which carries DNN, S-NSSAI, user ID and internal group ID to which the UE belongs. Correspondingly, SMF can receive the session establishment request message.
[0235] The session establishment request message may be, for example, an Nsmf_PDUSession_Create Request message.
[0236] Step 606: SMF registers with UDM, obtains user subscription data, and subscribes to user data change notifications.
[0237] Step 607: SMF sends a policy control request message to SM-PCF. Accordingly, SM-PCF may receive the policy control request message.
[0238] The policy control request message carries the DNN, S-NSSAI, user ID, and the internal group ID to which the UE belongs.
[0239] The policy control request message may be, for example, a Npcf_SMPolicyControl_Create Request message.
[0240] Step 608: SM-PCF interacts with UDR to obtain the user's policy subscription information.
[0241] As a specific implementation, the SM-PCF may send a query request message to the UDR, and then the UDR sends a query response message to the SM-PCF, where the query response message includes the user's policy subscription information.
[0242] The query request message may be a NUdr_DM_Query Request message, and the query response message may be a NUdr_DM_Query Response message.
[0243] Step 609: After executing the policy, the SM-PCF sends a policy control response message to the SMF. Accordingly, the SMF can receive the policy control response message.
[0244] The policy control response message may be, for example, an Npcf_SMPolicyControl_Create Response message.
[0245] The PCF formulates one or more PCC rules for traffic steering control. Traffic steering control information in each PCC rule includes DNAI information, where the DNAI information refers to a DNAI corresponding to the first session, or is referred to as a DNAI corresponding to an identifier of the first session.
[0246] In step 610, the SMF determines the DNAI corresponding to the first session according to the DNAI information included in the Traffic steering control information in each PCC rule. The SMF sends a session establishment response message to I-SMF1, which carries the DNAI corresponding to the first session. Accordingly, I-SMF1 can receive the session establishment response message.
[0247] The policy control response message may be, for example, an Npcf_SMPolicyControl_Create Response message.
[0248] Step 611, I-SMF1 sends an information transfer message to AMF, and AMF returns an information transfer response message to I-SMF1.
[0249] The information transfer message may be, for example, a Namf_Communication_N1N2MessageTransfer message.
[0250] Step 612: AMF sends an N2 session request message to RAN. Accordingly, RAN can receive the N2 session request message.
[0251] Step 613: RAN interacts with UE to establish an RRC connection.
[0252] Step 614: RAN returns an N2 session response message to the New AMF. Accordingly, the New AMF may receive the N2 session response message.
[0253] Step 615: New AMF sends an update context request message to I-SMF1. Accordingly, I-SMF1 may receive the update context request message.
[0254] The update context request message may be a Nsmf_PDUSession_UpdateSMcontext Request message.
[0255] Step 616, I-SMF1 updates the N4 session.
[0256] Step 617: I-SMF1 returns an update context response message to New AMF. Accordingly, New AMF can receive the update context response message.
[0257] The update context response message may be, for example, a Nsmf_PDUSession_UpdateSMcontextResponse message.
[0258] The update context response message includes the DNAI corresponding to the first session.
[0259] In step 618, the New AMF saves the DNAI corresponding to the first session, and reselects the I-SMF according to the DNAI corresponding to the first session. The AMF selects the I-SMF (i.e., I-SMF2) that supports all or part of the DNAI according to the DNAI corresponding to the first session. The New AMF can obtain the I-SMF that supports the DNAI corresponding to the first session according to the configuration or through NRF query.
[0260] For example, the reselected SMF is I-SMF2, and then the I-SMF2 can select a new UPF (UPF2 as shown in the figure) as the PSA. Since the I-SMF2 supports the above DNAI, the selected UPF2 also supports the DNAI, so that the UPF2 can be used as the PSA, realizing the selection of a suitable PSA for the UE, that is, the PSA that supports the DNAI corresponding to the identifier of the session is selected.
[0261] refer to Figure 7 , another SMF selection method provided by the present application. It should be noted that the following steps 701-705 and the following step 706 are either one or the other, that is, the following steps 701-705 and steps 707-711 are executed (for ongoing or future PDU sessions), or the following steps 706-711 are executed (for ongoing PDU sessions).
[0262] The method comprises the following steps:
[0263] Step 701: AF sends a request message to NEF. Correspondingly, NEF can receive the request message.
[0264] The request message carries Traffic Steering Information, and the Traffic Steering Information may carry an external group identifier or indication information. The external group identifier is used to indicate that the Traffic Steering Information is applicable to one or more UEs corresponding to the external group identifier, and the indication information is used to indicate that the Traffic Steering Information is applicable to all UEs.
[0265] The Traffic Steering Information also carries DNAI information, and the DNAI information includes the DNAI corresponding to the first session.
[0266] The request message may be, for example, a Nnef_TrafficInfluence_Create Request message.
[0267] Step 702: NEF sends a request message to UDR, the request message carries Traffic SteeringInformation. Accordingly, UDR can receive the request message.
[0268] For example, the request message may be a Nudr_DataRepository_Create Request message.
[0269] It should be noted that if the Traffic Steering Information carries an external group identifier, the NEF also needs to map the external group identifier into an internal group identifier, that is, the Traffic Steering Information sent by the NEF to the UDR carries the internal group identifier and the above DNAI information.
[0270] If Traffic Steering Information contains the above indication information, the Traffic Steering Information sent by NEF to UDR carries the indication information and DNAI information.
[0271] Step 703: UDR stores DNAI information and returns a response message to NEF. Accordingly, NEF can receive the response message.
[0272] The response message may be, for example, a Nudr_DataRepository_Create Response message.
[0273] Among them, if the Traffic Steering Information carries an internal group identifier, the UDR stores the correspondence between the internal group identifier and the DNAI information; or the UDR first determines the UE identifier corresponding to the internal group identifier based on the internal group identifier, and then stores the correspondence between the UE identifier and the DNAI information.
[0274] If the Traffic Steering Information carries indication information, the UDR stores the DNAI information without associating it with the UE, indicating that the DNAI information is applicable to all UEs.
[0275] Step 704: NEF sends a response message to AF. Correspondingly, AF can receive the response message.
[0276] The response message may be, for example, a Nnef_TrafficInfluence_Create Response message.
[0277] This step 704 is optional.
[0278] Step 705: UDR sends a notification message to all subscribed SM-PCFs, where the notification message carries Traffic Steering Information. Accordingly, the SM-PCF can receive the notification message.
[0279] Step 706: The AF sends a policy authorization message to the SM-PCF, where the message includes Traffic steering information, and the Traffic steering information carries the DNAI corresponding to the first session. Accordingly, the SM-PCF can receive the Traffic steering information.
[0280] The policy authorization message may be, for example, a Npcf_Policy Authorization message.
[0281] It should be noted that the AF can send a policy authorization message to the SM-PCF through the NEF.
[0282] Step 707: SM-PCF formulates PCC rules according to Traffic Steering Information provided by AF. PCC rules include Traffic Steering Information. SM-PCF sends a policy control update request message to SMF, which carries the updated PCC rules. SMF saves the PCC rules and returns a policy control update response message.
[0283] The policy control update request message may be, for example, a NPcf_AMPolicyControl_UpdateNotifyRequest message. The policy control update response message may be, for example, a NPcf_AMPolicyControl_UpdateNotifyResponse message.
[0284] It should be noted that if the Traffic Steering Information carries an internal group identifier, the SM-PCF performs this step for the UE corresponding to the group identifier. If the Traffic Steering Information carries indication information, the SM-PCF performs this step for all UEs.
[0285] Step 708: SMF determines the DNAI corresponding to the first session according to the Traffic Steering Information in the PCC rule, and sends a session update request message to the Old I-SMF, which carries the updated DNAI. Accordingly, the Old I-SMF can receive the session update request message.
[0286] If the update is in full, the updated DNAI here includes all DNAIs corresponding to the first session. If the update is in incremental, the updated DNAI here includes the newly added DNAI corresponding to the first session.
[0287] Step 709, Old I-SMF sends an update context request message to AMF, which carries the updated DNAI. Correspondingly, AMF can receive the update context request message.
[0288] The update context request message may be a Nsmf_PDUSession_UpdateSMContext Request message.
[0289] Step 710: The Old I-SMF sends a session update response message to the SMF. Accordingly, the Old I-SMF may receive the session update response message.
[0290] This step is optional.
[0291] Step 711: AMF reselects I-SMF according to the updated DNAI.
[0292] The AMF determines the latest DNAI corresponding to the first session based on the updated DNAI, and then selects an I-SMF that supports part or all of the DNAI in the latest DNAI. Figure 7 The Old I-SMF shown in the figure is the I-SMF after reselection. Figure 7 New I-SMF as shown.
[0293] Since the New I-SMF supports the above DNAI, the selected New I-UPF also supports the DNAI, so that the New I-UPF can be used as the PSA, thereby realizing the selection of a suitable PSA for the UE, that is, selecting the PSA that supports the DNAI corresponding to the session identifier.
[0294] Further, refer to Figure 8 The present application also provides a SMF registration method, in which the I-SMF can send its supported DNAI to the NRF during the registration process with the NRF, so that the AMF can learn the DNAI supported by each I-SMF. That is, this embodiment can be used with Figure 4-Figure 7 The I-SMF may be the first SMF, the second SMF, the fourth SMF, etc. in the aforementioned embodiments.
[0295] The method comprises the following steps:
[0296] Step 801, the I-SMF sends a registration request message to the NRF, the registration request message includes the SMF identifier and the DNAI supported by the SMF. Accordingly, the NRF can receive the registration request message.
[0297] The registration request message may be, for example, a Nnrf_NFManagement_NFRegister Request message.
[0298] As an implementation method, the registration request message may carry the NF profile of the I-SMF, and the NF profile includes the DNAI supported by the I-SMF.
[0299] Step 802: NRF stores the correspondence between the SMF identifier and the DNAI supported by the SMF.
[0300] If the registration request message includes the NF profile, the NRF stores the NF profile.
[0301] Step 803, the NRF sends a registration response message to the SMF, and the registration response message is used to confirm that the registration is completed. Accordingly, the NRF can receive the registration response message.
[0302] The registration request message may be, for example, a Nnrf_NFfManagement_NFRegister_Response message.
[0303] Based on this embodiment, NRF obtains the DNAI supported by I-SMF so that AMF can query the DNAI supported by I-SMF.
[0304] The above mainly introduces the solution provided by the present application from the perspective of the interaction between various network elements. It can be understood that in order to realize the above functions, the above-mentioned network elements include hardware structures and / or software modules corresponding to the execution of various functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this document, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0305] like Fig. 9 , which is a possible exemplary block diagram of the device involved in the present application, and the device 900 may exist in the form of software or hardware. The device 900 may include: a processing unit 902 and a communication unit 901. As an implementation, the communication unit 901 may include a receiving unit and a sending unit. The processing unit 902 is used to control and manage the actions of the device 900. The communication unit 901 is used to support the communication between the device 900 and other network entities.
[0306] Among them, the processing unit 902 can be a processor or a controller, for example, it can be a general-purpose central processing unit (CPU), a general-purpose processor, a digital signal processing (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, for example, including a combination of one or more microprocessors, a combination of DSP and microprocessors, and the like. The communication unit 901 is an interface circuit of the device for receiving signals from other devices. For example, when the device is implemented in the form of a chip, the communication unit 901 is an interface circuit of the chip for receiving signals from other chips or devices, or an interface circuit of the chip for sending signals to other chips or devices.
[0307] The device 900 may be a mobility management network element, a session management network element, a policy control network element, or a network storage network element in the above-mentioned embodiment, and may also be a chip for a mobility management network element, a session management network element, a policy control network element, or a network storage network element. For example, when the device 900 is a mobility management network element, a session management network element, a policy control network element, or a network storage network element, the processing unit 902 may be, for example, a processor, and the communication unit 901 may be, for example, a transceiver. Optionally, the transceiver may include a radio frequency circuit, and the storage unit may be, for example, a memory. For example, when the device 900 is a chip for a mobility management network element, a session management network element, a policy control network element, or a network storage network element, the processing unit 902 may be, for example, a processor, and the communication unit 901 may be, for example, an input / output interface, a pin or a circuit, etc. The processing unit 902 can execute computer-executable instructions stored in the storage unit. Optionally, the storage unit is a storage unit within the chip, such as a register, a cache, etc. The storage unit can also be a storage unit located outside the chip within the mobility management network element, the session management network element, the policy control network element, or the network storage network element, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
[0308] In the first embodiment, the device is the mobility management network element in the above embodiment. The processing unit 902 is used to determine a first DNAI corresponding to a first session of a terminal device; the communication unit 901 is used to select a first session management network element that supports all or part of the DNAIs in the first DNAI for the first session of the terminal device.
[0309] In a possible implementation method, the processing unit 902 is used to determine a first data network access identifier DNAI corresponding to a first session of a terminal device, specifically including: obtaining first information through the communication unit 901, the first information including an identifier of the session of the terminal device and a second DNAI corresponding to the identifier of the session of the terminal device, the second DNAI being one or more DNAIs, and the identifier of the session of the terminal device including an identifier of the first session; obtaining the identifier of the first session through the communication unit 901; determining the first DNAI corresponding to the first session according to the identifier of the first session and the first information.
[0310] In a possible implementation method, the communication unit 901 is also used to obtain second information, wherein the second information includes an identifier of the first session and a third DNAI corresponding to the identifier of the first session, and the third DNAI is one or more DNAIs; the processing unit 902 is also used to determine a fourth DNAI based on the third DNAI; and, for the first session of the terminal device, select a second session management network element that supports all or part of the DNAIs in the fourth DNAI.
[0311] In a possible implementation method, the fourth DNAI is the same as the third DNAI; or, the fourth DNAI includes the first DNAI and the third DNAI.
[0312] In a possible implementation method, the communication unit 901 is used to obtain the first information, specifically including: receiving the first information from a policy control network element or other mobility management network element.
[0313] In a possible implementation method, the communication unit 901 is used to obtain the identifier of the first session, including: receiving a request message from the terminal device, the request message including the identifier of the first session, and the request message is used to request to establish the first session; or, receiving context information of the terminal device from other mobility management network elements, the context information including the identifier of the first session.
[0314] In a possible implementation method, the processing unit 902 is used to determine the first DNAI corresponding to the first session of the terminal device, specifically including: receiving the first DNAI corresponding to the first session from the policy control network element or other mobility management network element through the communication unit 901.
[0315] In a possible implementation method, the processing unit 902 is also used to select a third session management network element for the first session of the terminal device; the processing unit 902 is used to select a first session management network element that supports all or part of the DNAI in the first DNAI for the first session, specifically including: determining that the third session management network element does not support all or part of the DNAI in the first DNAI, and then selecting a first session management network element that supports all or part of the DNAI in the first DNAI for the first session.
[0316] In a possible implementation method, the communication unit 901 is also used to receive the fifth DNAI corresponding to the first session from the policy control network element, and the fifth DNAI is one or more DNAIs; the processing unit 902 is also used to determine the sixth DNAI based on the fifth DNAI; and, for the first session of the terminal device, select a fourth session management network element that supports all or part of the DNAIs in the sixth DNAI.
[0317] In a possible implementation method, the sixth DNAI is the same as the fifth DNAI; or, the sixth DNAI includes the first DNAI and the fifth DNAI.
[0318] In a possible implementation method, the identifier of the first session includes one or more of the following: DNN, S-NSSAI.
[0319] In a possible implementation method, the communication unit 901 is further configured to obtain the DNAI supported by the first session management network element from a network storage network element.
[0320] In the second embodiment, the device is the policy control network element in the above embodiment. The processing unit 902 is used to obtain the first information, the first information includes the identifier of the session of the terminal device and the second DNAI corresponding to the identifier of the session of the terminal device, and the second DNAI is one or more DNAIs; the communication unit 901 is used to send the first information to the mobility management network element, and the first information is used by the mobility management network element to select the session management network element.
[0321] In a possible implementation method, the policy control network element sends the first information to the mobility management network element, including: the policy control network element sends the first information to the mobility management network element during the registration process of the terminal device.
[0322] In the third embodiment, the device is the policy control network element in the above embodiment. The processing unit 902 is used to obtain a first DNAI corresponding to a first session of a terminal device; and the communication unit 901 is used to send the first DNAI corresponding to the first session to a mobility management network element.
[0323] In a possible implementation method, the policy control network element sends the first DNAI corresponding to the first session to the mobility management network element, including: the policy control network element sends the first DNAI corresponding to the first session to the mobility management network element during the session establishment process.
[0324] In a fourth embodiment, the device is the session management network element in the above embodiment. The communication unit 901 is used to: send a registration request message to a network storage network element, the registration request message including an identifier of the session management network element and a DNAI supported by the session management network element; and receive a registration response message from the network storage network element, the registration response message being used to determine that the registration is complete.
[0325] In the fifth embodiment, the device is the network storage network element in the above embodiment. The communication unit 901 is used to receive a registration request message from a session management network element, the registration request message includes the identifier of the session management network element and the DNAI supported by the session management network element; and send a registration response message to the session management network element, the registration response message is used to determine that the registration is completed; the storage unit is used to store the correspondence between the identifier of the session management network element and the DNAI supported by the session management network element.
[0326] It can be understood that the specific implementation process and corresponding beneficial effects of the device when used for the above-mentioned session management network element selection method can refer to the relevant description in the above-mentioned method embodiment, which will not be repeated here.
[0327] If the device is a mobility management network element, a session management network element, a policy control network element, or a network storage network element, the mobility management network element, the session management network element, the policy control network element, or the network storage network element is presented in the form of dividing each functional module in an integrated manner. The "module" here may refer to a specific ASIC, a circuit, a processor and a memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, a person skilled in the art can imagine that the mobility management network element, the session management network element, the policy control network element, or the network storage network element can be used Fig.10 The form shown.
[0328] for example, Fig.10 The processor 1002 in the system may call the computer execution instructions stored in the memory 1001 to enable the mobility management network element, the session management network element, the policy control network element, or the network storage network element to execute the method in the above method embodiment.
[0329] Specifically, Fig. 9 The functions / implementation processes of the communication unit 901 and the processing unit 902 can be Fig.10 The processor 1002 in the embodiment calls the computer execution instruction stored in the memory 1001 to implement. Or, Fig. 9 The function / implementation process of the processing unit 902 in Fig.10 The processor 1002 in the memory 1001 calls the computer execution instruction stored in the memory 1001 to implement, Fig. 9 The function / implementation process of the communication unit 901 in Fig.10 It is implemented by the communication interface 1003 in.
[0330] Optionally, when the device 900 is a chip or a circuit, the function / implementation process of the communication unit 901 can also be implemented through pins or circuits.
[0331] like Fig.10As shown, it is a schematic diagram of another device provided by the present application, and the device can be a mobility management network element, a session management network element, a policy control network element, or a network storage network element in the above-mentioned embodiments. The device 1000 includes: a processor 1002 and a communication interface 1003. Optionally, the device 1000 can also include a memory 1001. Optionally, the device 1000 can also include a communication line 1004. Among them, the communication interface 1003, the processor 1002 and the memory 1001 can be interconnected through the communication line 1004; the communication line 1004 can be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The communication line 1004 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0332] The processor 1002 may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the present application.
[0333] The communication interface 1003 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), wired access networks, etc.
[0334] The memory 1001 may be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a communication line 1004. The memory may also be integrated with the processor.
[0335] The memory 1001 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 1002. The processor 1002 is used to execute the computer-executable instructions stored in the memory 1001, thereby implementing the method for selecting a session management network element provided in the above embodiment of the present application.
[0336] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.
[0337] Those of ordinary skill in the art will appreciate that the various digital numbers such as the first and second involved in this application are only for the convenience of description, and are not used to limit the scope of the embodiments of this application, and also represent the order of precedence. "And / or" describes the association relationship of the associated objects, indicating that there may be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one" refers to one or more. At least two refers to two or more. "At least one", "any one" or similar expressions refer to any combination of these items, including any combination of single items (individuals) or plural items (individuals). For example, at least one item (individuals, kinds) of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. "Multiple" refers to two or more, and other quantifiers are similar. In addition, when the singular forms “a,” “an,” and “the” appear, they do not mean “one or only one,” but rather “one or more than one,” unless the context clearly dictates otherwise. For example, “a device” means one or more of such devices.
[0338] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, data center, etc. that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
[0339] The various illustrative logic units and circuits described in the embodiments of the present application can be implemented or operated by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or the design of any combination of the above functions. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any traditional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration to implement.
[0340] The steps of the method or algorithm described in the embodiments of the present application can be directly embedded in the software unit executed by the hardware, the processor, or a combination of the two. The software unit can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM or other storage media of any form in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Alternatively, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC.
[0341] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0342] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for selecting a session management network element, characterized in that: include: The mobility management network element determines a first data network access identifier DNAI corresponding to a first session of the terminal device; The mobility management network element obtains a DNAI supported by at least one session management network element from a network storage network element; The mobility management network element selects a first session management network element that supports all or part of the DNAIs in the first DNAI for the first session of the terminal device based on the DNAIs supported by the at least one session management network element, and the at least one session management network element includes the first session management network element.
2. The method according to claim 1, characterized in that The mobility management network element determines a first DNAI corresponding to a first session of a terminal device, including: The mobility management network element obtains first information, where the first information includes an identifier of a session of the terminal device and a second DNAI corresponding to the identifier of the session of the terminal device, the identifier of the session of the terminal device includes an identifier of the first session, and the second DNAI is one or more DNAIs; The mobility management network element obtains an identifier of the first session; The mobility management network element determines the first DNAI corresponding to the first session according to the identifier of the first session and the first information.
3. The method according to claim 2, characterized in that Also includes: The mobility management network element obtains second information, where the second information includes an identifier of the first session and a third DNAI corresponding to the identifier of the first session, where the third DNAI is one or more DNAIs; The mobility management network element determines a fourth DNAI according to the third DNAI; The mobility management network element selects a second session management network element that supports all or part of the DNAIs in the fourth DNAI for the first session of the terminal device.
4. The method according to claim 3, characterized in that The fourth DNAI is the same as the third DNAI; or, The fourth DNAI includes the first DNAI and the third DNAI.
5. The method according to any one of claims 2 to 4, characterized in that: The mobility management network element obtains first information, including: The mobility management network element receives the first information from a policy control network element or other mobility management network elements.
6. The method according to any one of claims 2 to 4, characterized in that: The mobility management network element obtains the identifier of the first session, including: The mobility management network element receives a request message from the terminal device, where the request message includes an identifier of the first session, and the request message is used to request to establish the first session; or, The mobility management network element receives context information of the terminal device from other mobility management network elements, where the context information includes an identifier of the first session.
7. The method according to claim 1, characterized in that The mobility management network element determines a first DNAI corresponding to a first session of a terminal device, including: The mobility management network element receives the first DNAI corresponding to the first session from a policy control network element or other mobility management network elements.
8. The method according to claim 7, characterized in that Also includes: The mobility management network element selects a third session management network element for the first session of the terminal device; The mobility management network element selects, according to the DNAI supported by the at least one session management network element, a first session management network element that supports all or part of the DNAIs in the first DNAI for the first session, including: The mobility management network element determines that the third session management network element does not support all or part of the DNAI in the first DNAI, then selects a first session management network element that supports all or part of the DNAI in the first DNAI for the first session based on the DNAI supported by the at least one session management network element.
9. The method according to claim 7 or 8, characterized in that Also includes: The mobility management network element receives a fifth DNAI corresponding to the first session from the policy control network element, where the fifth DNAI is one or more DNAIs; The mobility management network element determines a sixth DNAI according to the fifth DNAI; The mobility management network element selects a fourth session management network element that supports all or part of the DNAIs in the sixth DNAI for the first session of the terminal device.
10. The method according to claim 9, characterized in that The sixth DNAI is the same as the fifth DNAI; or, The sixth DNAI includes the first DNAI and the fifth DNAI.
11. The method according to any one of claims 1-4, 7-8, and 10, characterized in that: The identifier of the first session includes one or more of the following: Data network name DNN, single network slice selection auxiliary information S-NSSAI.
12. A device for selecting a session management network element, characterized in that: include: A processing unit, configured to determine a first data network access identifier DNAI corresponding to a first session of a terminal device; A communication unit, configured to obtain a DNAI supported by at least one session management network element from a network storage network element; According to the DNAI supported by the at least one session management network element, a first session management network element supporting all or part of the DNAI in the first DNAI is selected for the first session of the terminal device, and the at least one session management network element includes the first session management network element.
13. The device according to claim 12, characterized in that The processing unit is configured to determine a first data network access identifier DNAI corresponding to a first session of a terminal device, specifically comprising: Used to obtain first information through the communication unit, the first information includes an identifier of a session of the terminal device and a second DNAI corresponding to the identifier of the session of the terminal device, the second DNAI is one or more DNAIs, and the identifier of the session of the terminal device includes the identifier of the first session; obtain the identifier of the first session through the communication unit; and determine the first DNAI corresponding to the first session based on the identifier of the first session and the first information.
14. The device according to claim 13, characterized in that The communication unit is further used to obtain second information, where the second information includes an identifier of the first session and a third DNAI corresponding to the identifier of the first session, where the third DNAI is one or more DNAIs; The processing unit is further used to determine a fourth DNAI based on the third DNAI; and select a second session management network element that supports all or part of the DNAIs in the fourth DNAI for the first session of the terminal device.
15. The device according to claim 13, characterized in that The communication unit is used to obtain the first information, specifically including: receiving the first information from a policy control network element or other mobility management network element.
16. The device according to any one of claims 13 to 15, characterized in that: The communication unit, used to obtain the identifier of the first session, includes: receiving a request message from the terminal device, the request message includes the identifier of the first session, and the request message is used to request to establish the first session; or Used to receive context information of the terminal device from other mobility management network elements, where the context information includes an identifier of the first session.
17. The device according to claim 12, characterized in that The processing unit is used to determine the first DNAI corresponding to the first session of the terminal device, specifically including: receiving the first DNAI corresponding to the first session from the policy control network element or other mobility management network element through the communication unit.
18. The device according to claim 17, characterized in that The processing unit is further configured to select a third session management network element for the first session of the terminal device; The processing unit is used to select a first session management network element that supports all or part of the DNAI in the first DNAI for the first session according to the DNAI supported by the at least one session management network element, specifically including: determining that the third session management network element does not support all or part of the DNAI in the first DNAI, and then selecting a first session management network element that supports all or part of the DNAI in the first DNAI for the first session according to the DNAI supported by the at least one session management network element.
19. The device according to claim 17 or 18, characterized in that The communication unit is further configured to receive a fifth DNAI corresponding to the first session from the policy control network element, where the fifth DNAI is one or more DNAIs; The processing unit is further used to determine a sixth DNAI according to the fifth DNAI; And, selecting a fourth session management network element that supports all or part of the DNAIs in the sixth DNAI for the first session of the terminal device.
20. A system for selecting a session management network element, characterized in that: comprising a mobility management network element and a first session management network element; The mobility management network element is used to determine a first data network access identifier DNAI corresponding to a first session of a terminal device; Acquire from the network storage network element a DNAI supported by at least one session management network element; And, based on the DNAI supported by the at least one session management network element, the first session management network element that supports all or part of the DNAI in the first DNAI is selected for the first session of the terminal device, and the at least one session management network element includes the first session management network element.
21. The system of claim 20, wherein: The mobility management network element is used to determine a first DNAI corresponding to a first session of a terminal device, including: obtaining first information, the first information including an identifier of the session of the terminal device and a second DNAI corresponding to the identifier of the session of the terminal device, the second DNAI being one or more DNAIs, the identifier of the session of the terminal device including an identifier of the first session; obtaining the identifier of the first session; and determining the first DNAI corresponding to the first session based on the identifier of the first session and the first information.
22. The system of claim 21, wherein: The mobility management network element is further used to: obtain second information, where the second information includes an identifier of the first session and a third DNAI corresponding to the identifier of the first session, where the third DNAI is one or more DNAIs; Determine a fourth DNAI according to the third DNAI; And, selecting a second session management network element that supports all or part of the DNAIs in the fourth DNAI for the first session of the terminal device.
23. The system of claim 21, wherein: The system also includes a policy control network element; The policy control network element is used to obtain the first information; and, sending the first information to the mobility management network element; The mobility management network element is used to obtain the first information, specifically including: being used to receive the first information from the policy control network element.
24. The system of claim 23, wherein: The policy control network element is used to send the first information to the mobility management network element, specifically including: sending the first information to the mobility management network element during the registration process of the terminal device.
25. The system according to claim 21 or 22, characterized in that The mobility management network element is used to obtain the first information, specifically including: being used to receive the first information from other mobility management network elements.
26. The system according to any one of claims 21 to 24, characterized in that: The mobility management network element is used to obtain the identifier of the first session, including: receiving a request message from the terminal device, the request message including the identifier of the first session, and the request message is used to request to establish the first session; or receiving context information of the terminal device from other mobility management network elements, the context information including the identifier of the first session.
27. The system of claim 20, wherein: The system also includes a policy control network element; The policy control network element is used to obtain the first DNAI corresponding to the first session of the terminal device; and, sending the first DNAI corresponding to the first session to the mobility management network element; The mobility management network element is used to determine a first DNAI corresponding to a first session of a terminal device, specifically including: receiving the first DNAI corresponding to the first session from the policy control network element.
28. The system of claim 27, wherein: The mobility management network element is further used to select a third session management network element for the first session of the terminal device; The mobility management network element is used to select a first session management network element that supports all or part of the DNAI in the first DNAI for the first session according to the DNAI supported by the at least one session management network element, specifically including: determining that the third session management network element does not support all or part of the DNAI in the first DNAI, and then selecting a first session management network element that supports all or part of the DNAI in the first DNAI for the first session according to the DNAI supported by the at least one session management network element.
29. The system according to claim 27 or 28, characterized in that The mobility management network element is further used to: receive a fifth DNAI corresponding to the first session from the policy control network element, where the fifth DNAI is one or more DNAIs; Determine a sixth DNAI according to the fifth DNAI; And, selecting a fourth session management network element that supports all or part of the DNAIs in the sixth DNAI for the first session of the terminal device.
30. The system according to any one of claims 20-24, 27-28, characterized in that: The first session management network element is used to send a registration request message to the network storage network element, where the registration request message includes an identifier of the first session management network element and a DNAI supported by the first session management network element; and, receiving a registration response message from the network storage network element, the registration response message being used to determine that the registration is complete; The network storage network element is configured to receive the registration request message from the first session management network element; Storing a correspondence between an identifier of the first session management network element and a DNAI supported by the first session management network element; And, sending the registration response message to the first session management network element.
31. A computer program product, characterized in that The invention comprises instructions, and when the instructions are executed, the method according to any one of claims 1 to 11 is implemented.
32. A chip system, characterized in that: include: A processor, wherein the processor is used to execute the method according to any one of claims 1 to 11.
33. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 11 is implemented.
