METHODS, SYSTEMS, AND COMPUTER READABLE MEDIA FOR USING SERVICE COMMUNICATIONS PROXY (SCP) OR SECURITY EDGE PROTECTION PROXY (SEPP) TO APPLY OR OVERRIDE PREFERRED-LOCALITY ATTRIBUTE DURING NETWORK FUNCTION (NF) DISCOVERY
20220394453 ยท 2022-12-08
Inventors
Cpc classification
H04L67/568
ELECTRICITY
H04L67/51
ELECTRICITY
H04L67/52
ELECTRICITY
H04W88/182
ELECTRICITY
International classification
Abstract
A method for applying or overriding a preferred-locality attribute during network function (NF) discovery includes, at a service communications proxy (SCP) or security edge protection proxy (SEPP) including at least one processor, receiving, from an NF, an NF discovery request including a preferred-locality attribute or lacking a preferred-locality attribute. The method further includes selecting, by the SCP or SEPP, a value for the preferred-locality attribute for the NF discovery request. The method further includes inserting, by the SCP or SEPP, the value for the preferred-locality attribute into the NF discovery request. The method further includes transmitting, by the SCP or SEPP, the NF discovery request to a network function repository function (NRF).
Claims
1. A method for applying or overriding a preferred-locality attribute during network function (NF) discovery, the method comprising: at a service communications proxy (SCP) or security edge protection proxy (SEPP) including at least one processor: receiving, from an NF, an NF discovery request including a preferred-locality attribute or lacking a preferred-locality attribute; selecting, by the SCP or SEPP, for the preferred-locality attribute for the NF discovery request; inserting, by the SCP or SEPP, the value for the preferred-locality attribute into the NF discovery request; and transmitting, by the SCP or SEPP, the NF discovery request to a network function repository function (NRF).
2. The method of claim 1 wherein receiving the NF discovery request includes receiving the NF discovery request with a preferred-locality attribute value set by the NF and wherein inserting the value for the preferred-locality attribute into the NF discovery request includes replacing a value of the preferred-locality attribute set by the NF.
3. The method of claim 1 wherein selecting a value for the preferred-locality attribute includes selecting a value for the preferred-locality attribute that corresponds to a locality of the SCP or SEPP or a locality nearest to the locality of the SCP or SEPP.
4. The method of claim 1 wherein selecting a value for the preferred-locality attribute includes selecting a value for the preferred-locality attribute that is configured by a network operator.
5. The method of claim 1 wherein selecting a value for the preferred-locality attribute includes selecting a value for the preferred-locality attribute that corresponds to a nearest locality to a locality of the SCP or SEPP with at least one heart-beating producer NF capable of providing the service indicated by query parameters in the NF discovery request.
6. The method of claim 1 wherein receiving the NF discovery request includes receiving the NF discovery request without a preferred-locality attribute and wherein inserting the value for the preferred-locality attribute into the NF discovery request includes adding a value of the preferred-locality attribute to the NF discovery request.
7. The method of claim 1 wherein the SCP or SEPP comprises an SEPP and the NF discovery request comprises an inter-PLMN NF discovery request.
8. The method of claim 1 wherein the SCP or SEPP comprises an SCP and the NF discovery request comprises an inter-PLMN NF discovery request.
9. The method of claim 1 wherein the SCP or SEPP comprises an SCP and the NF discovery request comprises an intra-PLMN NF discovery request.
10. The method of claim 1 comprising, at the NRF, using the value of the preferred-locality attribute selected by the SCP or SEPP to prioritize producer NF profiles in an NF discovery response.
11. A system for applying or overriding a preferred-locality attribute during network function (NF) discovery, the system comprising: a service communications proxy (SCP) or security edge protection proxy (SEPP) including at least one processor; and a preferred-locality apply/override module implemented by the at least one processor for receiving, from an NF, an NF discovery request including a preferred-locality attribute or lacking a preferred-locality attribute, selecting a value for the preferred-locality attribute for the NF discovery request, inserting the value for the preferred-locality attribute into the NF discovery request, and transmitting the NF discovery request to a network function repository function (NRF)
12. The system of claim 11 the NF discovery request received by the preferred-locality apply/override module includes a preferred-locality attribute value set by the NF and wherein the preferred-locality apply/override module is configured to replace a value of the preferred-locality attribute set by the NF.
13. The system of claim 11 wherein the preferred-locality apply/override module is configured to select a value for the preferred-locality attribute that corresponds to a locality of the SCP or SEPP or a locality nearest to the locality of the SCP or SEPP.
14. The system of claim 11 wherein the preferred-locality apply/override module is configured to select a value for the preferred-locality attribute that is configured by a network operator.
15. The system of claim 11 wherein the preferred-locality apply/override module is configured to select a value for the preferred-locality attribute that corresponds to a nearest locality to a locality of the SCP or SEPP with at least one heart-beating producer NF capable of providing the service indicated by query parameters in the NF discovery request.
16. The system of claim 11 wherein the NF discovery request received by the preferred-locality apply/override module lacks a preferred-locality attribute and wherein the preferred-locality apply/override module is configured to add a value of the preferred-locality attribute to the NF discovery request.
17. The system of claim 11 wherein the SEPP or SCP comprises an SEPP and the NF discovery request received by the preferred-locality apply/override module comprises an inter-PLMN NF discovery request.
18. The system of claim 11 wherein the SEPP or SCP comprises an SCP and the NF discovery request received by the preferred-locality apply/override module comprises an inter-PLMN NF discovery request.
19. The system of claim 11 wherein the SEPP or SCP comprises an SCP and the NF discovery request received by the preferred-locality apply/override module comprises an intra-PLMN NF discovery request.
20. A non-transitory computer readable medium having stored thereon executable instructions that when executed by a processor of a computer control the computer to perform steps comprising: at a service communications proxy (SCP) or security edge protection proxy (SEPP): receiving, from a network function (NF), an NF discovery request including a preferred-locality attribute or lacking a preferred-locality attribute; selecting, by the SCP or SEPP, for the preferred-locality attribute for the NF discovery request; inserting, by the SCP or SEPP, the value for the preferred-locality attribute into the NF discovery request; and transmitting, by the SCP or SEPP, the NF discovery request to a network function repository function (NRF).
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Exemplary implementations of the subject matter described herein will now be explained with reference to the accompanying drawings, of which:
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
DETAILED DESCRIPTION
[0043]
[0044] NRF 100 is a repository for NF or service profiles of producer NF instances. In order to communicate with a producer NF instance, a consumer NF or an SCP must obtain the NF or service profile of the producer NF instance from NRF 100. The NF or service profile is a JavaScript object notation (JSON) data structure defined in 3GPP TS 29.510. The NF or service profile definition includes at least one of a fully qualified domain name (FQDN), an Internet protocol (IP) version 4 (IPv4) address or an IP version 6 (IPv6) address.
[0045] In
[0046] The NFs illustrated in
[0047] A network slice selection function (NSSF) 116 provides network slicing services for devices seeking to access specific network capabilities and characteristics associated with a network slice. A network exposure function (NEF) 118 provides application programming interfaces (APIs) for application functions seeking to obtain information about Internet of things (loT) devices and other UEs attached to the network. NEF 118 performs similar functions to the service capability exposure function (SCEF) in 4G networks.
[0048] A radio access network (RAN) 120 connects user equipment (UE) 114 to the network via a wireless link. Radio access network 120 may be accessed using a g-Node B (gNB) (not shown in
[0049] SEPP 126 filters incoming traffic from another PLMN and performs topology hiding for traffic exiting the home PLMN. SEPP 126 may communicate with a SEPP in a foreign PLMN which manages security for the foreign PLMN. Thus, traffic between NFs in different PLMNs may traverse two SEPP functions, one for the home PLMN and the other for the foreign PLMN.
[0050] As stated above, one problem in 5G networks is that during NF discovery, a consumer NF either doesn't specify a preferred-locality attribute or specifies a preferred-locality attribute that has no meaning in the network of the receiving NRF. As a result, sub-optimal producer NF selection can occur. During registration with the NRF, each producer NF can specify its locality as a registration attribute or parameter, which is stored by the NRF in a data structure referred to as an NF profile or NF profile object. The registration process is conducted according to 3GPP TS 29.510 where each NF sends an NF register message to NRF 100. The NF register message includes the NF profile of each NF. Table 6.1.6.2.2-1 of 3GPP TS 29.510 defines the attributes that may be included in an NF profile. Of interest to the subject matter described herein is the locality attribute of the NF profile. Table 1 shown below is an excerpt from Table 6.1.6.2.2-1 of 3GPP TS 29.510 illustrating the locality attribute.
TABLE-US-00001 TABLE 1 Locality Attribute of NF Profile Attribute Data name type P Cardinality Description Locality string O 0 . . . 1 Operator defined information about the location of the NF instance (e.g. geographic location, data center) (NOTE 3) (NOTE 3): A requester NF may use this information to select a NF instance (e.g. a NF instance preferably located in the same data center).
As illustrated by Table 1, the locality attribute stores operator-defined information about the location of an NF instance, such as geographic location and data center. According to Note 3 of Table 1, the locality attribute can be used during NF discovery to select a producer NF that is in the same data center as the requesting consumer NF. However, the consumer NF may not know the correct locality attribute to specify in a discovery request message, which can result in sub-optimal NF selection.
[0051] The preferred-locality is an optional attribute that may be included in an NF discovery request message. Table 2 shown below is an excerpt from Table 6.2.3.2.3.1-1 of 3GPP TS 29.510 and indicates how the NRF processes the preferred-locality attribute in an NF discovery request.
TABLE-US-00002 TABLE 2 NRF Processing of Preferred-Locality Attribute Attribute Data Appli- Name Type P Cardinality Description cability Preferred- String O 0 . . . 1 Preferred target NF locality location (e.g. geographic location, data center). When present, the NRF shall prefer NF profiles with a locality attribute that matches the preferred-locality. The NRF may return additional NFs in the response not matching the preferred target NF location, e.g. if no NF profile is found matching the preferred target NF location. The NRF should set a lower priority for any additional NFs on the response not matching the preferred target NF location than those matching the preferred target NF location. (NOTE 6)
From Table 2, when the preferred-locality attribute is present, the NRF should prefer NF profiles with a locality attribute that matches the preferred-locality attribute in an NF discovery request. The NRF may also return additional NF profiles in the discovery response not matching the preferred-locality, for example, if no NF profile is found matching the preferred-locality. The NRF may also set a lower priority for additional NF profiles in the discovery response that do not match the preferred-locality.
[0052] Thus, preferred-locality is an optional attribute sent by consumer NFs during discovery that, when present, would be configured by the network operator to indicate a preferred location of a producer NF that would serve the consumer NF. Typically, the preferred-locality of a consumer NF would be the locality of the consumer NF or the locality of a preferred producer NF. The NRF should set a less-preferred (higher in number according to the 3GPP-defined priority numbering scheme where lower priority numbers indicate more preferred priorities) priority for any additional NFs in a discovery response with a registered locality parameter that does not match the preferred-locality identified in an NF discovery request. NF profiles that match the discovery request's search criteria will be ordered or prioritized as follows:
Preferred-Locality
[0053] Registered Priority Challenges associated with current NF discovery methods include the fact that inter-PLMN discovery requests from outside of the PLMN of the NRF processing the discovery requests either don't include a preferred-locality attribute or include a preferred-locality attribute that has no meaning in the PLMN of the NRF. Network operators may be unwilling to share locality attributes across PLMN boundaries. As a result, an NF discovery request may not include a preferred-locality attribute that matches a locality in the PLMN of the NRF.
[0054] In most cases, these inter-PLMN discovery requests land on NRFs in other PLMNs in a region near the consumer NF. In
[0055] In the absence of a preferred-locality attribute in the NF discovery request, the list of NF profiles of producer NFs returned in the discovery response may prefer producer NFs located farther from the consumer NF than other producer NFs that are less preferred (higher priority) in the list. In
[0056] With this priority order, consumer NF 200 will most likely select producer NF #2 204 (Priority-1) to process a service request, which will result in an unnecessarily costly communication path for consumer NF 200, because producer NF #2 204 is farther from consumer NF 200 than producer NF #1 202.
[0057]
[0058] The above-described challenge also applies to intra-PLMN discovery use-cases, as illustrated in
[0059]
[0060] In lines 2a and 2b of the message flow in
[0061] If the NF discovery request is redirected to another NRF, NRF 100 will return a 3xx message. It should be noted that the subject matter described herein applies to NF discovery requests from an NRF in a PLMN serving a consumer NF to an NRF in a home PLMN, as detailed in Section 5.3.2.2.3 of 3GPP TS 29.510 and service discovery where an intermediate forwarding NRF receives the NF discovery request from the consumer NF and forwards the NF discovery request to the NRF in another network or region as detailed in Section 5.2.2.2.5 of 3GPP TS 29.510. The NRF that receives the forwarded NF discovery request performs the look up in the NF profiles database to extract NF profiles that match the query parameters in the NF discovery request.
[0062] In order to avoid sub-optimal NF selection, the subject matter described herein includes an SCP or SEPP that can apply or override a preferred-locality attribute in an NF discovery request. In the case where the SCP or SEPP receives an inter-PLMN discovery request without a preferred-locality attribute or with a preferred-locality attribute that the SCP or SEPP chooses to override, the SCP or SEPP can insert or replace the preferred-locality attribute in the NF discovery request with: [0063] the locality of the SCP or SEPP; [0064] the locality nearest to the SCP or SEPP; or [0065] using the nearest locality to the SCP or SEPP having at least one registered (successfully heart-beating) producer NF instance that matches the query parameters in the NF discovery request.
[0066] In the case where the SCP or SEPP receives an intra-PLMN discovery request with or without a preferred-locality attribute, it can again choose to override the preferred-locality attribute in the NF discovery request or apply an SCP or SEPP-selected attribute and forward the NF discovery request message to the NRF.
[0067] The overriding (replacement) or applying (inserting where no preferred-locality attribute exists) of the preferred-locality attribute by the SCP or SEPP applies to indirect communications without delegated discovery where the consumer NF formulates the discovery request, and the SCP or SEPP replaces or adds a preferred-locality attribute to the NF discovery request. The overriding or applying of the preferred-locality attribute by the SCP or SEPP also applies to indirect communications with delegated discovery where the SCP originates the NF discovery request on behalf of a consumer NF and a downstream SCP or SEPP applies or overrides the preferred locality attribute in the NF discovery request.
[0068]
[0069] In one example, SCP 101B may use its own locality when overriding or applying the locality to the NF discovery request. In another example, SCP 101B may utilize the closest locality to SCP 101B and/or the closest locality to SCP 101B with a heart-beating producer NF capable of providing the service identified from the query parameters in the NF discovery request. A consumer NF is likely to send an NF discovery request to an SCP 101B that is in a region or PLMN that is close to the requesting consumer NF. As a result, using the SCP's own locality, the closest locality known to the SCP, a locality configured by the network operator, and/or the closest locality to the SCP with a heart-beating producer NF that matches the query parameters to process the discovery request has a good chance of producing a list of NF profiles of producer NFs that are closer to the requesting consumer NF with lower (more preferred) priorities than NF profiles of producer NFs that are farther away from the requesting consumer NF.
[0070] NRF 100A returns a prioritized list of NF profiles with the NF profile of producer NF #1 202 having a lower priority (more preferred) than producer NF #2 204. As a result, when consumer NF 200 selects a producer NF to process a service request, consumer NF 200 will select producer NF #1 202 to process the service request over producer NF #2 204, which will result in more efficient and lower latency service communications in the core network over the scenario illustrated in
[0071] It should be noted that in
[0072]
[0073] Overriding or applying a preferred-locality to an NF discovery request also applies to an intra-PLMN discovery request, i.e., a discovery request send from an NF to an NRF that are both in the same PLMN.
[0074] In one example, SCP 101A may use its own locality when overriding or applying the locality to the NF discovery request. In another example, SCP 101B may utilize the closest locality to SCP 101B and/or the closest locality to SCP 101B with a heart-beating producer NF capable of providing the service identified from the query parameters in the discovery request. A consumer NF is likely to send an NF discovery request to an SCP that is in a region or PLMN that is close to the requesting consumer NF. As a result, using the SCP's own locality, the closest locality known to the SCP, and/or the closest locality to the SCP with a heart-beating producer NF that matches the query parameters to process the discovery request has a good chance of producing a list of NF profiles of producer NFs that are closer to the requesting consumer NF with lower (more preferred) priority than NF profiles of producer NFs that are farther away from the requesting consumer NF.
[0075] In response to the NF discovery request, NRF 100A returns a prioritized list of NF profiles with the NF profile of producer NF #1 202 having a lower priority (more preferred) than producer NF #2 204. As a result, when consumer NF 200 selects a producer NF to process a service request, consumer NF 200 will select producer NF #1 202 to process the service request over producer NF #2 204, which will result in more efficient and lower latency service communications in the core network over the scenario illustrated in
[0076] It should be noted that in
[0077]
[0078]
[0079] In step 802, the process includes selecting, by the SCP or SEPP, a value for the preferred-locality attribute for the NF discovery request. For example SCP or SEPP 101B or 126B may select a value for the preferred-locality attribute to insert in the NF discovery request where the value corresponds to a locality of the SCP or SEPP, a value selected by the network operator, a nearest locality to a locality of the SCP or SEPP, or a nearest locality to the locality of the SCP or SEPP with at least one heart-beating NF capable of providing the service identified by query parameters in the NF discovery request. In the case where the SCP or SEPP selects the value of the preferred-locality attribute value to correspond to a nearest locality to the locality of the SCP or SEPP with at least one heart-beating NF capable of providing the service identified by the query parameters in the NF discovery request, the SCP or SEPP may include or have access to an NF profiles database of NF profiles registered with an NRF so that the SCP or SEPP can determine whether the locality includes producer NF capable of providing the identified service.
[0080] In step 804, the process includes inserting, by the SCP or SEPP, the value for the preferred-locality attribute into the NF discovery request. For example, SCP 101B or SEPP 126B may insert the SCP- or SEPP-selected value for the preferred-locality attribute in the NF discovery request where the selected value replaces the value inserted in the NF discovery request by the originating NF or is added to the NF discovery request in the case where the NF discovery request does not include a preferred-locality attribute.
[0081] In step 806, the process includes transmitting, by the SCP or SEPP, the NF discovery request to a network function repository function (NRF). For example, SCP 101B or SEPP 126B may transmit the NF discovery request to the NRF local to SCP 101B or SEPP 126B. The NRF may utilized the SCP- or SEPP-selected preferred-locality attribute value to set priorities of NF profiles to be returned to the NF in the NF discovery response.
[0082] Advantages of the subject matter described herein include enhanced NF discovery for both inter-PLMN and intra-PLMN discovery requests. Because the list of NF profiles returned to the requesting consumer NF are prioritized according to an SCP- or SEPP-selected locality, the consumer NF is more likely to select a producer NF to provide service that is closer to the consumer NF, resulting in more efficient service messaging in the network. In addition, because the SCP or SEPP applies or overrides the value of the preferred-locality attribute in the NF discovery request prior to forwarding the NF discovery request to the NRF, the NRF is not required to implement preferred-locality attribute applying or overriding functionality and can instead implement standard NRF behavior in processing NF discovery request, for example, as specified in 3GPP TS 28.510.
[0083] The disclosure of each of the following references is hereby incorporated herein by reference in its entirety.
REFERENCES
[0084] 1. 3.sup.rd Generation Partnership Project; Technical Specification Group Services and System Aspects; System architecture for the 5G System (5GS); Stage 2 (Release 17) 3GPP TS 23.501 V17.0.0 (2021-03). [0085] 2. 3rd Generation Partnership Project; Technical Specification Group Core Network and Terminals; 5G System; Network Function Repository Services; Stage 3 (Release 17) 3GPP TS 29.510 V17.1.0 (2021-03).
[0086] It will be understood that various details of the subject matter described herein may be changed without departing from the scope of the subject matter described herein. Furthermore, the foregoing description is for the purpose of illustration only, and not for the purpose of limitation, as the subject matter described herein is defined by the claims as set forth hereinafter.