Selection of service provisioning network functions in 3GPP communication networks
By extending NF configuration files and optimizing token management in the 3GPP communication network, the problem of service request NF selection and service provision NF is solved, effective service selection and signaling optimization are achieved, and connection failures and configuration errors are reduced.
Patent Information
- Application Number
- CN202180013979.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-02-12
- Filing Date
- 2021-01-21
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-01-21
AI Technical Summary
In the 3GPP communication network, it is difficult for the service requesting NF to effectively select the service providing NF, especially due to incompatible security setting attributes that cause connection attempts to fail, and there is unnecessary token management when no token is required, affecting signaling. efficiency.
By extending the NF configuration file in the Network Repository Function (NRF), adding mtlsRequired and oauth2Required attributes for filtering incompatible TLS modes and OAuth2 required service providing NF, and optimizing the order between service request NF and service providing NF Card management ensures that only services providing NF that support the security settings attribute are selected and connected.
It achieves effective selection of service provisioning NFs, reduces connection failures due to incompatible security settings, optimizes the signaling mechanism between NFs, reduces the probability of manual intervention and configuration errors, and simplifies the operation of the 5G communication network.
Smart Images

Figure CN115039382B_ABST
Abstract
Description
Technical Field
[0001] Embodiments presented herein relate to methods, network repository functions, computer programs and computer program products for selecting a service providing network function in a 3GPP communication network. Further embodiments presented herein relate to methods, service requesting network functions, computer programs and computer program products for discovering a service providing network function in a 3GPP communication network. Further embodiments presented herein relate to methods, service providing network functions, computer programs and computer program products for enabling selection of a service providing network function in a 3GPP communication network. Background Art
[0002] The core network (CN) of the fifth generation (5G) telecommunication network includes functional entities called network functions (NFs). System functionality is achieved by a set of NFs providing services to other authorized NFs to access their services. NF services are a type of capability exposed by NF service producers to other authorized NF service consumers through service-based interfaces (SBIs). NF services can support one or more NF service operations.
[0003] The Network Repository Function (NRF) supports the selection of services produced by NFs of the 5G Core Network. The service providing NF (also known as producer NF) that exposes the service registers a profile within the NRF, which describes the services provided by the NF and how to consume them. The service requesting NF (also known as consumer NF) queries the NRF to obtain the required service information in order to consume the service. To this end, the NRF maintains profiles of NF instances and the services they support (denoted as NF profiles). The NRF accepts the registration information of the NF producer and provides the discovery information of the NF instance to the NF consumer. The NF profile is described in Section 6.1.6.2 of 3GPP TS 29.510 (version 16.2.0) entitled "5G System; Network Function Repository Service; Stage 3". The NF profile includes information about the service providing NF, as well as other types of information including addressing details (i.e., information about the endpoints that can be used to consume the services from the service providing NF) and security information (indicating whether security is required for consuming these services). The attributes of the NF profile and the NF service are described in Sections 6.1.6.2.2 and 6.1.6.2.3 of the aforementioned 3GPP TS 29.510, respectively.
[0004] When a NF is instantiated, it registers the service it is producing with the NRF according to the NF Service Registration Procedure. Whenever any piece of registration data is required, or periodically, the NF production may update its registration data with the NRF.
[0005] Therefore, the selection of services and NFs providing services is provided by the NRF supporting the following services: Nnrf_NFManagement, Nnrf_NFDiscovery, Nnrf_AccessToken Service, and Nnrf_Bootstrapping. Nnrf_NFManagement allows the NF to register, update, or deregister its profile in the NRF. In this regard, the NFRegister, NFUpdate, and NFDeregister operations allow the NF to register, update, and deregister its own NF profile in the NRF, respectively. The NFStatusSubscribe and NFStatusUnsubscribe operations allow the NF to subscribe to and unsubscribe from the status changes of the NFs registered in the NRF. The NFStatusNotify operation allows the NRF to notify the subscribed NF instances of the status changes of the NF instances. Nnrf_NFDiscovery allows the NF to discover services provided by other NFs by querying the NRF. It has a single operation NFDiscover that allows the NF to discover other NFs of a given type of service. The Nnrf_AccessToken service allows the NF to request an OAuth2 token for the NF to access other NFs. The Nnrf_Bootstrapping service is related to bootstrapping and allows the NF to discover the services provided by the NRF itself and their corresponding Application Programming Interface (API) versions.
[0006] When a NF consumer (such as an access and mobility management function) needs to discover another NF (such as a session management function or a unified data management function) or a specific service provided by another NF, the NF consumer invokes the NF Service Discovery procedure. When a NF consumer needs to discover another NF (i.e., NF producer) or another NF service, the NF consumer invokes the Nnrf_NFDiscovery service.
[0007] Authentication and authorization between NFs are specified in Chapter 13.3.2 of 3GPP TS 33.501 (Version 16.1.0) entitled "Security architecture and procedures for 5G systems".
[0008] In brief, depending on whether token-based authorization is used or not, authentication between NFs is performed in one of the following ways. If token-based authorization is used within a Public Land Mobile Network (PLMN), the service requesting NF should authenticate the service providing NF at the transport layer before attempting to access the service API. The service providing NF may authenticate the service requesting NF at the transport layer. The authentication of the service requesting NF to the service providing NF will be implicit through authorization, which can only be granted after the service requesting NF successfully authenticates the NRF. If token-based authorization is not used within a PLMN, the service requesting NF and the service providing NF mutually authenticate each other before performing access to the service API. Before granting access to the service API, the service providing NF additionally checks the authorization of the service requesting NF based on local policy.
[0009] However, it may still be difficult for a service requesting NF to select a service providing NF in an efficient manner.
[0010] Therefore, there remains a need for improved mechanisms for selecting service providing NFs in 3GPP communication networks. Summary of the invention
[0011] An object of embodiments herein is to enable efficient selection of service providing NFs in a 3GPP communication network.
[0012] According to a first aspect, a method for enabling selection of a service providing NF in a 3GPP communication network is proposed. The method is performed by an NRF. The method includes obtaining a registration request from each of the service providing NFs. Each registration request includes an NF profile. Each NF profile includes a security setting attribute. The method includes storing an NF profile of the service providing NF. The method includes obtaining a discovery request from a service requesting NF. The request indicates an NF type. The method includes providing a discovery response to the service requesting NF. The discovery response includes an NF profile of at least one of the service providing NFs of the NF type, thereby enabling selection of the service providing NF.
[0013] According to a second aspect, an NRF for enabling selection of a service providing NF in a 3GPP communication network is proposed. The NRF includes a processing circuit. The processing circuit is configured to cause the NRF to obtain a registration request from each of the service providing NFs. Each registration request includes an NF profile. Each NF profile includes a security setting attribute. The processing circuit is configured to cause the NRF to store the NF profile of the service providing NF. The processing circuit is configured to cause the NRF to obtain a discovery request from the service requesting NF. The request indicates the NF type. The processing circuit is configured to cause the NRF to provide a discovery response to the service requesting NF. The discovery response includes the NF profile of at least one of the service providing NFs of the NF type, thereby enabling selection of the service providing NF.
[0014] According to a third aspect, a computer program for enabling selection of a service providing NF in a 3GPP communication network is proposed. The computer program comprises computer program code which, when executed on a processing circuit of an NRF, causes the NRF to perform the method according to the first aspect.
[0015] According to a fourth aspect, a method for selecting a service providing NF in a 3GPP communication network is proposed. The method is performed by a service requesting NF. The method includes providing a discovery request to an NRF. The request indicates an NF type. The method includes obtaining a discovery response from the NRF. The discovery response includes at least one NF profile of at least one service providing NF of the NF type. Each at least one NF profile includes a security setting attribute. Thus, the service requesting NF can select a service providing NF.
[0016] According to a fifth aspect, a service request NF for selecting a service providing NF in a 3GPP communication network is proposed. The service request NF includes a processing circuit (310). The processing circuit is configured to cause the service request NF to provide a discovery request to an NRF. The request indicates an NF type. The processing circuit is configured to cause the service request NF to obtain a discovery response from the NRF. The discovery response includes at least one NF profile of at least one service providing NF of the NF type. Each at least one NF profile includes a security setting attribute. This enables the service request NF to select a service providing NF.
[0017] According to a sixth aspect, a computer program for selecting a service providing NF in a 3GPP communication network is proposed. The computer program comprises computer program code which, when executed on a processing circuit of a service requesting NF, causes the service requesting NF to perform the method according to the fourth aspect.
[0018] According to a seventh aspect, a method for enabling selection of a service providing NF in a 3GPP communication network is proposed. The method is performed by a service providing NF. The method includes providing a registration request to an NRF. The registration request includes an NF profile. The NF profile includes a security setting attribute.
[0019] According to an eighth aspect, a service providing NF is provided for enabling selection of a service providing NF in a 3GPP communication network. The service providing NF includes a processing circuit. The processing circuit is configured to cause the service providing NF to provide a registration request to an NRF. The registration request includes an NF profile. The NF profile includes a security setting attribute.
[0020] According to a tenth aspect, a computer program for enabling selection of a service providing NF in a 3GPP communication network is proposed, the computer program comprising computer program code which, when executed on a processing circuit of the service providing NF, causes the service providing NF to perform the method according to the seventh aspect.
[0021] According to an eleventh aspect, a computer program product is provided, the computer program product comprising: a computer program according to at least one of the third aspect, the sixth aspect and the tenth aspect, and a computer-readable storage medium storing the computer program. The computer-readable storage medium may be a non-transitory computer-readable storage medium.
[0022] According to a twelfth aspect, a system is proposed. The system comprises: an NRF as disclosed herein, a service requesting NF as disclosed herein, and a service providing NF as disclosed herein.
[0023] Advantageously, these aspects provide for efficient selection of service providing NFs in a 3GPP communication network.
[0024] Advantageously, these aspects facilitate selecting a NF as a service endpoint for a discovery result in such a way that unsuccessful connection attempts caused by incompatible security setting attributes are minimized.
[0025] Advantageously, these aspects provide a mechanism for optimizing inter-NF signaling by reducing unnecessary token management for those service endpoints that do not require tokens, and also minimizing unsuccessful connection attempts when such tokens are required but not supported.
[0026] Advantageously, these aspects simplify the operation of the 5G 3GPP communication network, reducing the probability of errors caused by human intervention and configuration errors regarding security setting attributes.
[0027] Further objectives, features and advantages of the enclosed embodiments will appear from the following detailed disclosure, from the attached dependent claims as well as from the drawings.
[0028] In general, unless otherwise explicitly defined herein, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field. Unless otherwise explicitly stated, all references to "an / a / the element, device, component, part, module, action, etc." are to be interpreted openly as referring to at least one instance of the element, device, component, part, module, action, etc. Unless explicitly stated otherwise, the actions of any method disclosed herein do not have to be performed in the exact order disclosed. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The present invention will now be described by way of example with reference to the accompanying drawings, in which:
[0030] Figure 1 is a schematic diagram showing a communication network according to an embodiment;
[0031] Figure 2 , Figure 3 and Figure 4 is a flow chart of a method according to an embodiment;
[0032] Figure 5 , Figure 6 , Figure 7 and Figure 8 is a signaling diagram according to an embodiment;
[0033] Fig. 9 is a schematic diagram showing functional units of an NRF according to an embodiment;
[0034] Fig.10 is a schematic diagram showing functional modules of an NRF according to an embodiment;
[0035] Fig.11 is a schematic diagram showing functional units of a service request NF according to an embodiment;
[0036] Fig.12 is a schematic diagram showing functional modules of a service request NF according to an embodiment;
[0037] Fig.13 is a schematic diagram showing functional units of a service providing NF according to an embodiment;
[0038] Fig.14 is a schematic diagram showing functional modules of a service providing NF according to an embodiment; and
[0039] Fig.15 An example of a computer program product including computer readable means according to an embodiment is shown. DETAILED DESCRIPTION
[0040] The inventive concept will now be described more fully below with reference to the accompanying drawings, in which certain embodiments of the inventive concept are shown. However, the inventive concept may be implemented in many different forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete and will fully convey the scope of the inventive concept to those skilled in the art. The same reference numerals refer to the same elements throughout this description. Any action or feature shown in dashed lines should be considered optional.
[0041] Figure 11 is a schematic diagram showing a communication network 100 in which the embodiments proposed herein can be applied. The communication network 100 represents a reference architecture of a fifth generation telecommunication system (5GS) and includes the following entities: an authentication server function (AUSF), an access and mobility management function (AMF), a data network (DN) (e.g., operator service, Internet access, or third-party service), a network exposure function (NEF), a network repository function (NRF), a network slice selection function (NSSF), a policy control function (PCF), a session management function (SMF), a unified data management (UDM) function, a unified data repository (UDR), a user plane function (UPF), an application function (AF), a user equipment (UE), a (radio) access network ((R)AN), a network data analysis function (NWDAF), a binding support function (BSF), and a charging function (CHF). Service-based interfaces are represented by the format Nxyz (e.g., Nnssf, Nnef, etc.), and point-to-point interfaces are represented by the format Nx (e.g., N1, N2, etc.). NSSF, NEF, NRF, PCF, UDM, AF, BSF, UDR, AUSF, AMF, SMF, NWDAF and CHF are all examples of possible NF producers (hereinafter represented as service producing NF 400) and possible NF consumers (hereinafter represented as service requesting NF 300).
[0042] As stated above, there is a need for an improved mechanism for selecting a service providing NF in a 3GPP communication network.
[0043] In more detail, the NF service within the NF profile has an attribute named scheme that indicates whether Hypertext Transfer Protocol (HTTP) or Hypertext Transfer Protocol Secure (HTTPS) should be used to consume the NF service. Currently, the service requesting NF does not know in advance whether it will be required to present a client certificate until the actual connection attempt is made and the service offering NF requests it as part of the handshake performed during the signaling of the Transport Layer Security (TLS) protocol. This creates a problem when the service requesting NF is not configured with a client certificate to use, because the service requesting NF will attempt to make a service request to the service offering NF without success.
[0044] In further detail, currently, the service requesting NF does not know in advance whether it should use OAuth2. This leads to several problems. When the service requesting NF does not support OAuth2 tokens or it cannot request these tokens from the NRF (for example due to a momentary failure in the communication with the NRF), the service request to the service providing NF will not succeed. In contrast, when the service providing NF does not require the use of OAuth2 tokens, the service requesting NF does not have to request them from the NRF and include the token in each request before trying to connect to the service providing NF (and whenever the token expires). Once a service providing NF that does not require an Oauth2 token receives a request containing such a token, it cannot indicate that such a token is not required without triggering an authentication failure, which has other implications. This leads to unnecessary signaling and inefficient use of networking and computing resources.
[0045] Locally defined policies can be used to mitigate and / or prevent the above problems. However, static configuration is difficult to manage and prone to errors, and defeats the purpose of dynamic service discovery provided by NRF.
[0046] One object of the embodiments disclosed herein is to alleviate the above mentioned problems.
[0047] As will be further disclosed below, according to at least some of the embodiments disclosed herein, the NF profile stored by NRF200 is extended with two additional attributes. The mtlsRequired attribute indicates the TLS mode required by the service providing NF, either "server" or "mutual", and is set to "true" if the service providing NF requires mutual TLS and the service requesting NF is required to present a client certificate, otherwise it is set to "false". The oauth2Required attribute indicates whether the service providing NF requires the use of an OAuth2 token, and is set to "true" if the service providing NF requires OAuth2, otherwise it is set to "false".
[0048] As will be further disclosed below, in accordance with at least some of the embodiments disclosed herein, a Uniform Resource Identifier (URI) query parameter is extended with the two additional attributes mentioned above; the mtlsRequired attribute and the oauth2Required attribute.
[0049] As will be further disclosed below, according to at least some of the embodiments disclosed herein, a method is disclosed for querying and / or processing these attributes for applicable NF profiles in order to filter out those service providing NFs with incompatible TLS modes or OAuth2 requirements.
[0050] As will be further disclosed below, in accordance with at least some of the embodiments disclosed herein, a method of determining whether a service requesting NF should include an OAuth2 token in a service request to a service providing NF is disclosed.
[0051] The embodiments disclosed herein particularly relate to a mechanism for selecting a service providing NF 400 and for enabling such selection. To obtain such a mechanism, an NRF 200, a method performed by the NRF 200, a computer program product including a code in the form of a computer program, for example, is provided, which, when the code is run on the processing circuit of the NRF 200, causes the NRF 200 to perform the method. To obtain such a mechanism, a service request NF 300, a method performed by the service request NF 300, and a computer program product including a code in the form of a computer program, for example, is further provided, which, when the code is run on the processing circuit of the service request NF 300, causes the service request NF 300 to perform the method. To obtain such a mechanism, a service providing NF 400, a method performed by the service providing NF 400, and a computer program product including a code in the form of a computer program, for example, is further provided, which, when the code is run on the processing circuit of the service providing NF 400, causes the service providing NF 400 to perform the method.
[0052] Reference now Figure 2 , Figure 2 A method for enabling selection of a service providing NF 400 in a 3GPP communication network, performed by the NRF 200 according to an embodiment, is shown.
[0053] As will be further disclosed below, each service providing NF 400 registers its NF profile with the NRF 200. It is assumed that the request for registration of the NF profile is eventually received by the NRF 200. Therefore, the NRF 200 is configured to perform action S102:
[0054] S102: The NRF 200 obtains a registration request from each of the service providing NFs 400. Each registration request includes an NF profile. Each NF profile includes a security setting attribute. An example of the security setting attribute will be disclosed below.
[0055] Then, the NRF 200 stores the NF configuration file. Therefore, the NRF 200 is configured to perform action S104:
[0056] S104: The NRF 200 service store provides the NF configuration file of the NF 400.
[0057] As will be further disclosed below, the service requesting NF 300 provides a request to the NRF 200, wherein the request specifies the NF type of the service requested by the service requesting NF 300. Assume that this request is eventually received by the NRF 200. Therefore, the NRF 200 is configured to perform action S108:
[0058] S108: The NRF 200 acquires a discovery request from the service requesting NF 300. The request indicates the NF type.
[0059] Then, the NRF 200 responds to the service request NF 300 with one or more NF profiles of the NF type. Therefore, the NRF 200 is configured to perform action S110:
[0060] S110: The NRF 200 provides a discovery response to the service requesting NF 300. The discovery response includes an NF profile of at least one of the service providing NFs 400 of the NF type. The NRF 200 thereby enables selection of the service providing NF 400.
[0061] Embodiments related to further details of enabling selection of the service providing NF 400 in the 3GPP communication network, performed by the NRF 200, will now be disclosed.
[0062] In some aspects, the NRF 200 responds to the service providing NF 400 to confirm receipt of the NF configuration file. In particular, according to an embodiment, the NRF 200 is configured to perform (optional) action S106:
[0063] S106 : The NRF 200 , once storing the NF profile, provides a registration response to each of the service providing NFs 400 .
[0064] The discovery request obtained from the service request NF 300 in S108 may be of different types, or such discovery request may have different contents. In some embodiments, the discovery request includes information supported by the security setting attributes at the service request NF 300. For example, the information supported by the security setting attributes at the service request NF 300 may be provided according to a URI query parameter list. Then, the NRF 200 may include only NF profiles with matching security setting attributes in the discovery response provided in action S110. That is, in some embodiments, only those NF profiles whose security setting attributes match the information supported by the security setting attributes are included in the discovery response in action S110.
[0065] Reference now Figure 3 , Figure 3A method for selecting a service providing NF 400 in a 3GPP communication network, performed by a service requesting NF 300, according to an embodiment is shown.
[0066] Assume that the service requesting NF 300 intends to consume a service provided by at least one service providing NF 400. Therefore, the service requesting NF 300 provides a request to the NRF 200, wherein the request specifies the NF type of the service requested by the service requesting NF 300. In particular, the service requesting NF 300 is configured to perform action S202:
[0067] S202: Service Request The NF 300 provides a discovery request to the NRF 200, wherein the request indicates the NF type.
[0068] As disclosed above, the NRF 200 responds to the request in action S110. It is assumed that this response is eventually received by the service requesting NF 300. Therefore, the service requesting NF 300 is configured to perform action S204:
[0069] S204: The service requesting NF 300 obtains a discovery response from the NRF 200. As disclosed above, the discovery response includes at least one NF profile of at least one service providing NF 400 of the NF type. As further disclosed above, each at least one NF profile includes a security setting attribute. Thus, the service requesting NF 300 can select the service providing NF 400.
[0070] Embodiments related to further details of selecting the service providing NF 400 in the 3GPP communication network, performed by the service requesting NF 300, will now be disclosed.
[0071] The service requesting NF 300 may have different methods to handle various aspects of the security setting attributes, so that when the service requesting NF 300 intends to consume a service provided by at least one of the service providing NFs 400, only the service providing NFs 400 having the security setting attributes supported by the service requesting NF 300 are considered. Different embodiments related thereto will now be described in turn.
[0072] In some aspects, the service requesting NF 300 does not include any information of its own support for the security setting attributes in the discovery request. Then, the service requesting NF 300 may receive, in the discovery response acquired in S204, the NF configuration files of the service providing NF 400 having the security setting attributes not supported by the service requesting NF 300. Then, the service requesting NF 300 may filter out and discard those NF configuration files of the service providing NF 400 having the security setting attributes not supported by the service requesting NF 300, so that only the NF configuration files of the service providing NF 400 having the security setting attributes supported by the service requesting NF 300 are stored. In particular, in some embodiments, the service requesting NF 300 is configured to perform (optional) action S206:
[0073] S206: The service requesting NF 300 stores the at least one NF profile only when the security setting attribute of the at least one NF profile is supported at the service requesting NF 300, otherwise the at least one NF profile is discarded.
[0074] In other aspects, the service requesting NF 300 specifies its own information on support for security setting attributes in the discovery request. That is, in some embodiments, the discovery request includes information on security setting attributes supported by the service requesting NF 300. For example, the information on security setting attributes supported by the service requesting NF 300 may be provided according to a URI query parameter list. Then, the service requesting NF 300 may receive only the NF profiles of the service providing NF 400 having the security setting attributes supported by the service requesting NF 300 in the discovery response obtained in S204. That is, in some embodiments, only those NF profiles whose security setting attributes match the information on security setting attributes supported are included in the discovery response.
[0075] There are different methods for the service request NF 300 to determine the information supported by the security setting attributes at the service request NF 300. In some embodiments, the information supported by the security setting attributes is determined by checking which security setting attributes the service request NF 300 supports, and the information supported by the security setting attributes only lists those security setting attributes supported by the service request NF 300.
[0076] Once the discovery response is obtained from the NRF 200 in action S204, possibly followed by filtering out or discarding those NF profiles belonging to the service providing NF 400 having security setting attributes not supported by the service requesting NF 300, the service requesting NF 300 may contact one of the remaining service providing NFs 400 to access its services.
[0077] In particular, in some embodiments, the service request NF 300 is configured to perform (optional) action S208:
[0078] S208 : The service requesting NF 300 initiates establishment of an operable connection only to one of at least one service providing NF 400 whose security setting attribute is supported at the service requesting NF 300 .
[0079] Therefore, for NF service invocation, a connection is established with the service providing NF 400 according to the security setting attributes.
[0080] Reference now Figure 4 , Figure 4 A method for enabling selection of the service providing NF 400 in the 3GPP communication network, performed by the service providing NF 400, according to an embodiment is shown.
[0081] Assume that, for example, the NF profile of the service providing NF 400 is created or modified by instantiating the service providing NF 400 or reconfiguring it with new parameters that affect the NF profile. As a result, the service providing NF 400 registers its NF profile with the NRF 200. That is, the service providing NF 400 is configured to perform action S302:
[0082] S302: The service providing NF 400 provides a registration request to the NRF 200. The registration request includes the NF profile (of the service providing NF 400). The NF profile includes a security setting attribute.
[0083] Embodiments related to further details of enabling selection of the service providing NF 400 in the 3GPP communication network, performed by the service providing NF 400, will now be disclosed.
[0084] As disclosed above, in some aspects, once the NRF 200 obtains the registration request, it responds to the service provision NF 400. Therefore, according to an embodiment, the service provision NF 400 is configured to perform (optional) action S304:
[0085] S304 : Once the NF profile is provided to the NRF 200 , the service providing NF 400 acquires a registration response from the NRF 200 .
[0086] Embodiments, aspects, and examples applicable to any one of the NRF 200, the service requesting NF 300, and the service providing NF 400 will now be disclosed.
[0087] As disclosed above, there may be different examples of security settings attributes. According to an embodiment, the security settings attribute relates to support for mutual TLS and / or support for the use of OAuth2-based authorization. The security settings attribute may be represented by a Boolean value or a value enumeration defining whether Oauth2-based authorization is required, and / or may be represented by a Boolean value defining whether mutual TLS authorization is required.
[0088] In some aspects, the security setting attributes are valid for the entire NF profile. That is, according to the first embodiment, the security setting attributes are set per NF profile. In other aspects, the security attributes are set separately per NF service. That is, according to the second embodiment, the security setting attributes are set per service of the NF profile.
[0089] Figure 5 is a signaling diagram of NF registration based on at least some of the embodiments disclosed above. As a prerequisite, it is assumed that the service providing NF 400 is prepared with a root and / or intermediate CA certificate for signing its own certificate.
[0090] S401: The service providing NF 400 creates a NF profile including, among other things, its NF type (eg, UDM) and the following attributes: mtlsRequired and oauth2Required.
[0091] S402: The service providing NF 400 registers itself in the NRF 200 by sending a Nnrf_NFManagement_NFRegister request to the NRF 200. The request includes the previously created NF profile.
[0092] S403: The NRF 200 stores the NF configuration file, and returns a Nnrf_NFManagement_NFRegister response to the service providing NF 400.
[0093] Figure 6 is a signaling diagram for NF discovery based on at least some of the embodiments disclosed above.
[0094] S501: The service requesting NF 300 identifies the NF types with which it requires to interact, and for each of these NF types, repeats actions S502 to S506.
[0095] S502: The service requesting NF 300 sends a Nnrf_NFDiscovery request to the NRF 200, which indicates the NF type as a selection criterion.
[0096] S503: The NRF 200 returns an Nnrf_NFDiscovery response, which includes a list of NF profiles matching the criteria.
[0097] S504: The service request NF 300 processes the received NF profile. For each NF profile, the service request NF 300 processes the mtlsRequired attribute. If the service request NF 300 is not configured to use a client certificate and the mtlsRequired attribute is equal to "true", the service request NF 300 discards the NF profile. For each NF profile, the service request NF 300 processes the oauth2Required attribute. If the service request NF 300 is not configured to use an OAuth2 token and the oauth2Required attribute is set to "true", the service request NF 300 discards the NF profile. Otherwise, the service request NF 300 stores the NF profile for later use.
[0098] Figure 7 is a signaling diagram for NF discovery using URI query parameters based on at least some of the embodiments disclosed above.
[0099] S601: The service requesting NF 300 identifies the NF types with which it requires to interact, and for each of these NF types, repeats actions S602 to S605.
[0100] S602: The service request NF 300 constructs a URI query parameter list, which includes the following mtlsRequired and oauth2Required parameters. If the service request NF 300 supports mTLS, the mtlsRequired query parameter is omitted. If the service request NF 300 does not support mTLS, the mtlsRequired query parameter is set to "false". If the service request NF 300 supports OAuth2, the oauth2Required query parameter is omitted. If the service request NF 300 does not support OAuth2, the oauth2Required query parameter is set to "false".
[0101] S603: Service Requesting NF 300 sends Nnrf_NFDiscovery request to NRF 200, which indicates NF type as selection criteria and the calculated mtlsRequired and oauth2Required query parameters as determined in S602.
[0102] S604: The NRF 200 returns an Nnrf_NFDiscovery response, which contains a list of NF profiles matching the criteria.
[0103] S605: The service requesting NF 300 processes and stores the received NF configuration file.
[0104] Figure 8 is a signaling diagram of NF service invocation based on at least some of the embodiments disclosed above. Assume that the service requesting NF 300 uses the endpoint list received in the NRF 200 discovery response (such as received in action S503 or action S604) to select the service providing NF 400 service endpoint.
[0105] S701: The service requesting NF 300 selects a service providing NF 400 whose service is to be consumed. In action S504 or action S602, the service requesting NF 300 has filtered out the service providing NF 400 with which it cannot communicate due to incompatible TLS mode and / or OAuth2 usage.
[0106] S702: If the service requesting NF 300 supports Oauth2, the service requesting NF 300 checks whether the service providing NF 400 requires OAuth2 by processing the oauth2Required attribute stored in action S504 or action S604. If the service providing NF 400 does not require OAuth2, the service requesting NF 300 determines not to use OAuth2. If the service providing NF 400 requires OAuth2, the service requesting NF 300 verifies that it can fetch a token from the NRF 200 (i.e., the connection to the NRF 200 is operable). If OAuth2 is required and the service requesting NF 300 can fetch a token from the NRF 200, the service requesting NF 300 determines to use OAuth2. Otherwise, the service providing NF 400 is discarded and the remaining actions are omitted. If the service requesting NF 300 determines to use OAuth2, the service requesting NF 300 sends an Nnrf_AccessToken_Get request to the NRF 200 requesting an OAuth2 token for the service providing NF 400 .
[0107] S703: The NRF 200 generates an OAuth2 token and returns it to the service requesting NF 300 in a Nnrf_AccessToken_Get response.
[0108] S704: The service requesting NF 300 establishes an HTTP / 2 connection to the service providing NF 400. As part of the connection establishment, a TLS handshake is performed. The TLS handshake is successful because if a client certificate is requested, the service requesting NF 300 can provide it.
[0109] S705: The service requesting NF 300 sends a service request to the service providing NF 400 to consume one of its services. If the service requesting NF 300 has received an OAuth2 token from the NRF 200 in actions S704 and S705, it includes the OAuth2 token in the request.
[0110] S706: The service providing NF 400 verifies the OAuth2 token and returns a service call response.
[0111] Fig. 9 The components of the NRF 200 according to the embodiment are schematically shown in terms of a plurality of functional units. Fig.15 The processing circuit 210 may be provided by any combination of one or more of a suitable central processing unit (CPU), a multiprocessor, a microcontroller, a digital signal processor (DSP), etc., which may be implemented by software instructions in a computer program product 1510a (hereinafter referred to as "computer program product"). The processing circuit 210 may further be provided as at least one application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0112] In particular, the processing circuit 210 is configured to cause the NRF 200 to perform a set of operations or actions as disclosed above. For example, the storage medium 230 may store this set of operations, and the processing circuit 210 may be configured to retrieve this set of operations from the storage medium 230 to cause the NRF 200 to perform this set of operations. This set of operations may be provided as a set of executable instructions. Therefore, the processing circuit 210 is thereby arranged to perform the method as disclosed herein.
[0113] The storage medium 230 may also include a persistent storage device, which may be, for example, any single memory or combination of magnetic memory, optical memory, solid-state memory, or even remotely mounted memory.
[0114] The NRF 200 may further include a communication interface 220 for communicating with other functions, nodes and devices of the communication network 100. Thus, the communication interface 220 may include one or more transmitters and receivers including analog and digital components.
[0115] Processing circuit 210 controls the general operation of NRF 200, for example, by sending data and control signals to communication interface 220 and storage medium 230, by receiving data and reports from communication interface 220, and by retrieving data and instructions from storage medium 230. Other components of NRF 200 and related functionality are omitted so as not to obscure the concepts presented herein.
[0116] Fig.10Components of the NRF 200 according to the embodiment are schematically shown in terms of a plurality of functional modules. Fig.10 The NRF 200 includes a plurality of functional modules; an acquisition module 210a configured to perform action S102, a storage module 210b configured to perform action S104, an acquisition module 210d configured to perform action S108, and a providing module 210e configured to perform action S110. Fig.10 The NRF 200 may further include a plurality of optional functional modules, such as a providing module 210c configured to perform action S106. In general, each functional module 210a-210e may be implemented in hardware or in software. Preferably, one or more or all functional modules 210a-210e may be implemented by the processing circuit 210, possibly in cooperation with the communication interface 220 and the storage medium 230. Therefore, the processing circuit 210 may be arranged to fetch instructions provided by the functional modules 210a-210e from the storage medium 230, and execute these instructions, thereby performing any action of the NRF 200 as disclosed herein.
[0117] Fig.11 The components of the service request NF 300 according to the embodiment are schematically shown in terms of a plurality of functional units. Fig.15 The processing circuit 310 may be provided by any combination of one or more of a suitable central processing unit (CPU), a multiprocessor, a microcontroller, a digital signal processor (DSP), etc., which may be implemented by software instructions in a computer program product 1510b (e.g., a processor ...
[0118] In particular, the processing circuit 310 is configured to cause the service request NF 300 to perform a set of operations or actions as disclosed above. For example, the storage medium 330 may store this set of operations, and the processing circuit 310 may be configured to retrieve this set of operations from the storage medium 330 to cause the service request NF 300 to perform this set of operations. This set of operations may be provided as a set of executable instructions. Therefore, the processing circuit 310 is thus arranged to perform the method as disclosed herein.
[0119] The storage medium 330 may also include a persistent storage device, which may be, for example, any single memory or combination of magnetic memory, optical memory, solid-state memory, or even remotely mounted memory.
[0120] The service requesting NF 300 may further include a communication interface 320 for communicating with other functions, nodes and devices of the communication network 100. Thus, the communication interface 320 may include one or more transmitters and receivers including analog and digital components.
[0121] The processing circuit 310 controls the general operation of the service request NF 300, for example, by sending data and control signals to the communication interface 320 and the storage medium 330, by receiving data and reports from the communication interface 320, and by retrieving data and instructions from the storage medium 330. Other components of the service request NF 300 and related functionality are omitted so as not to obscure the concepts presented herein.
[0122] Fig.12 The components of the service request NF 300 according to the embodiment are schematically shown in terms of a number of functional modules. Fig.12 The service request NF 300 includes a plurality of functional modules; a providing module 310a configured to perform action S202, and an acquiring module 310b configured to perform action S204. Fig.12 The service request NF 300 may further include a plurality of optional functional modules, such as any one of a storage module 310c configured to perform action S206 and an initiation module 310d configured to perform action S208. In general, each functional module 310a-310d may be implemented in hardware or in software. Preferably, one or more or all functional modules 310a-310d may be implemented by the processing circuit 310, possibly in cooperation with the communication interface 320 and the storage medium 330. Therefore, the processing circuit 310 may be arranged to fetch instructions provided by the functional modules 310a-310d from the storage medium 330, and execute these instructions, thereby performing any action of the service request NF 300 as disclosed herein.
[0123] Fig.13 The components of the service providing NF 400 according to the embodiment are schematically shown in terms of a plurality of functional units. Fig.15 The processing circuit 410 may be provided by any combination of one or more of a suitable central processing unit (CPU), a multiprocessor, a microcontroller, a digital signal processor (DSP), etc., which may be implemented by software instructions in a computer program product 1510c (e.g., a processor ...
[0124] In particular, the processing circuit 410 is configured to cause the service providing NF 400 to perform a set of operations or actions as disclosed above. For example, the storage medium 430 can store this set of operations, and the processing circuit 410 can be configured to retrieve this set of operations from the storage medium 430 to cause the service providing NF 400 to perform this set of operations. This set of operations can be provided as a set of executable instructions. Therefore, the processing circuit 410 is thus arranged to perform the method disclosed herein.
[0125] The storage medium 430 may also include a persistent storage device, which may be, for example, any single memory or combination of magnetic memory, optical memory, solid-state memory, or even remotely mounted memory.
[0126] The service providing NF 400 may further include a communication interface 420 for communicating with other functions, nodes and devices of the communication network 100. Therefore, the communication interface 420 may include one or more transmitters and receivers including analog and digital components.
[0127] The processing circuit 410 controls the general operation of the service providing NF 400, for example, by sending data and control signals to the communication interface 420 and the storage medium 430, by receiving data and reports from the communication interface 420, and by retrieving data and instructions from the storage medium 430. Other components of the service providing NF 400 and related functionality are omitted so as not to obscure the concepts presented herein.
[0128] Fig.14 The components of the service providing NF 400 according to the embodiment are schematically shown in terms of a plurality of functional modules. Fig.14 The service providing NF 400 includes a providing module 410a configured to perform action S302. Fig.14 The service providing NF 400 may further include a plurality of optional functional modules, such as an acquisition module 410b configured to perform action S304. In general, each functional module 410a-410b may be implemented in hardware or in software. Preferably, one or more or all functional modules 410a-410b may be implemented by the processing circuit 410, possibly in cooperation with the communication interface 420 and the storage medium 430. Therefore, the processing circuit 410 may be arranged to fetch instructions provided by the functional modules 410a-410b from the storage medium 430, and execute these instructions, thereby performing any action of the service providing NF 400 as disclosed herein.
[0129] A system includes NRF 200, at least one service request NF 300 and at least one service provision NF 400. Any one of NRF 200, service request NF 300 and service provision NF 400 may be provided as a corresponding independent device or as a part of at least one other device. For example, NRF 200, service request NF 300 and service provision NF 400 may be arranged in a certain node of the core network. Alternatively, the functionality of NRF 200, service request NF 300 and service provision NF 400 may be distributed between at least two devices or nodes. These at least two nodes or devices may be part of the same network part (such as a radio access network or a core network), or may be spread between at least two such network parts. In general, instructions requiring real-time execution may be executed in a device or node that is closer to a cell in operation than instructions not requiring real-time execution.
[0130] Therefore, the first part of the instructions executed by the NRF 200, the service request NF 300, and the service provision NF 400 may be executed in the corresponding first device, and the second part of the instructions executed by the NRF 200, the service request NF 300, and the service provision NF 400 may be executed in the corresponding second device; the embodiments disclosed herein are not limited to any specific number of devices on which the instructions executed by the NRF 200, the service request NF 300, and the service provision NF 400 may be executed. Therefore, the method according to the embodiments disclosed herein is suitable for execution by the NRF 200, the service request NF 300, and the service provision NF 400 residing in the cloud computing environment. Therefore, although in Fig. 9 , Fig.11 , Fig.13 A single processing circuit 210, 310, 410 is shown in FIG, but the processing circuit 210, 310, 410 may be distributed among multiple devices or nodes. The same applies to Fig.10 , Fig.12 , Fig.14 Functional modules 210a-210e, 310a-310d, 410a-410b and Fig.15 Computer programs 1520a, 1520b, 1520c.
[0131] Fig.15An example of a computer program product 1510a, 1510b, 1510c including a computer readable component 1530 is shown. On this computer readable component 1530, a computer program 1520a may be stored, which may cause the processing circuit 210 and entities and devices operatively coupled thereto (such as the communication interface 220 and the storage medium 230) to perform a method according to the embodiments described herein. Therefore, the computer program 1520a and / or the computer program product 1510a may provide a component for performing any action of the NRF 200 as disclosed herein. On this computer readable component 1530, a computer program 1520b may be stored, which may cause the processing circuit 310 and entities and devices operatively coupled thereto (such as the communication interface 320 and the storage medium 330) to perform a method according to the embodiments described herein. Therefore, the computer program 1520b and / or the computer program product 1510b may provide a component for performing any action of the service request NF 300 as disclosed herein. On this computer readable component 1530, a computer program 1520c may be stored, which may cause the processing circuit 410 and entities and devices operatively coupled thereto (such as the communication interface 420 and the storage medium 430) to perform methods according to the embodiments described herein. Therefore, the computer program 1520c and / or the computer program product 1510c may provide a component for performing any action of the service providing NF 400 as disclosed herein.
[0132] exist Fig.15 In the example of , the computer program products 1510a, 1510b, 1510c are shown as optical disks, such as CD (Compact Disk) or DVD (Digital Versatile Disk) or Blu-ray disks. The computer program products 1510a, 1510b, 1510c may also be implemented as a memory such as a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or an electrically erasable programmable read-only memory (EEPROM), and more particularly, may be implemented as a non-volatile storage medium of a device in an external memory such as a USB (Universal Serial Bus) memory or a flash memory (such as a compact flash memory). Therefore, although the computer programs 1520a, 1520b, 1520c are schematically shown here as tracks on the depicted optical disks, the computer programs 1520a, 1520b, 1520c may be stored in any manner suitable for the computer program products 1510a, 1510b, 1510c.
[0133] The inventive concept has mainly been described above with reference to a few embodiments. However, as a person skilled in the art readily appreciates, other embodiments than the ones disclosed above are equally possible within the scope of the inventive concept as defined by the appended patent claims.
Claims
1. A method for enabling selection of a service providing network function NF (400) in a 3GPP communication network, the method being performed by a network repository function NRF (200), the method comprising: acquiring (S102) a registration request from each of the service providing NFs (400), wherein each registration request includes an NF profile, and wherein each NF profile includes a security setting attribute; storing (S104) the NF configuration file of the service providing NF (400); acquiring (S108) a discovery request from the service requesting NF (300), the discovery request indicating the NF type; and providing (S110) a discovery response to the service requesting NF (300), wherein the discovery response includes the NF profile of at least one of the service providing NFs (400) of the NF type, thereby enabling selection of the service providing NF (400), wherein the security setting attributes relate to support of mutual Transport Layer Security (TLS) protocols and / or support of use of OAuth2-based authorization; wherein the discovery request includes information supported by security setting attributes at the service requesting NF (300), and wherein only those NF profiles whose security setting attributes match the information supported by the security setting attributes are included in the discovery response.
2. The method according to claim 1, further comprising: Once the NF profile is stored, a registration response is provided (S106) to each of the service providing NFs (400).
3. A method for selecting a service providing network function NF (400) in a 3GPP communication network, the method being performed by a service requesting NF (300), the method comprising: providing (S202) a discovery request to a network repository function NRF (200), the discovery request indicating a NF type; acquiring (S204) a discovery response from the NRF (200), wherein the discovery response comprises at least one NF profile of at least one service providing NF (400) of the NF type, and wherein each NF profile comprises a security setting attribute so that the service requesting NF (300) can select the service providing NF (400), storing (S206) the at least one NF profile only if the security setting attribute of the at least one NF profile is supported at the service requesting NF (300), otherwise discarding the at least one NF profile; and Initiating (S208) establishment of an operable connection only to one of the at least one service providing NF (400) whose security setting attribute is supported at the service requesting NF (300); wherein the security setting attributes relate to support of mutual Transport Layer Security (TLS) protocols and / or support of use of OAuth2-based authorization; wherein the discovery request includes information supported by security setting attributes at the service requesting NF (300), and wherein only those NF profiles whose security setting attributes match the information supported by the security setting attributes are included in the discovery response; The information supported by the security setting attributes is determined by checking which security setting attributes the service request NF (300) supports, and the information supported by the security setting attributes lists only those security setting attributes supported by the service request NF (300).
4. A method for enabling selection of a service providing network function NF (400) in a 3GPP communication network, the method being performed by the service providing NF (400), the method comprising: providing (S302) a registration request to a network repository function NRF (200), wherein the registration request comprises a NF profile, and wherein the NF profile comprises a security setting attribute, Among other things, the security setting attributes relate to support for mutual Transport Layer Security (TLS) protocols and / or support for use of OAuth2-based authorization.
5. The method according to claim 4, further comprising: Once the NF profile is provided to the NRF (200), a registration response is obtained (S304) from the NRF (200).
6. The method according to claim 4, wherein: The security settings attribute is represented by a Boolean value or a value enumeration defining whether Oauth2 based authorization is required, and / or by a Boolean value defining whether mutual TLS authorization is required.
7. The method according to claim 4, wherein: The security setting attributes are set per NF profile.
8. The method according to claim 4, wherein: The security setting attribute is set per service of the NF profile.
9. A network repository function (NRF) (200) for enabling selection of a service providing network function NF (400) in a 3GPP communication network, the NRF (200) comprising a processing circuit (210) configured to cause the NRF (200) to: A registration request is obtained from each of the service providing NFs (400), wherein: Each registration request includes a NF profile, and wherein each NF profile includes a security settings attribute; storing the NF configuration file of the service providing NF (400); Obtaining a discovery request from a service requesting NF (300), the discovery request indicating a NF type; and providing a discovery response to the service requesting NF (300), wherein the discovery response includes the NF profile of at least one of the service providing NFs (400) of the NF type, thereby enabling selection of the service providing NF (400), wherein the security setting attributes relate to support of mutual Transport Layer Security (TLS) protocols and / or support of use of OAuth2-based authorization; wherein the discovery request includes information supported by security setting attributes at the service requesting NF (300), and wherein only those NF profiles whose security setting attributes match the information supported by the security setting attributes are included in the discovery response.
10. A service request NF (300) for selecting a service providing network function NF (400) in a 3GPP communication network, the service request NF (300) comprising a processing circuit (310) configured to cause the service request NF (300) to: providing a discovery request to a network repository function NRF (200), the discovery request indicating the NF type; Obtain a discovery response from the NRF (200), wherein: The discovery response comprises at least one NF profile of at least one service providing NF (400) of the NF type, and wherein each NF profile comprises a security setting attribute so as to enable the service requesting NF (300) to select the service providing NF (400), storing the at least one NF profile only if the security setting attribute of the at least one NF profile is supported at the service requesting NF (300), otherwise discarding the at least one NF profile; and Initiating establishment of an operable connection only to one of the at least one service providing NF (400) for which the security setting attribute is supported at the service requesting NF (300); wherein the security setting attributes relate to support of mutual Transport Layer Security (TLS) protocols and / or support of use of OAuth2-based authorization; wherein the discovery request includes information supported by security setting attributes at the service requesting NF (300), and wherein only those NF profiles whose security setting attributes match the information supported by the security setting attributes are included in the discovery response; The information supported by the security setting attributes is determined by checking which security setting attributes the service request NF (300) supports, and the information supported by the security setting attributes lists only those security setting attributes supported by the service request NF (300).
11. A service providing NF (400) for enabling selection of a service providing network function NF (400) in a 3GPP communication network, the service providing NF (400) comprising a processing circuit (410) configured to cause the service providing NF (400) to: A registration request is provided to a network repository function NRF (200), wherein: The registration request includes a NF profile, and wherein the NF profile includes a security setting attribute; Among other things, the security setting attributes relate to support for mutual Transport Layer Security (TLS) protocols and / or support for use of OAuth2-based authorization.
12. A system comprising: The network repository function (200) according to claim 10, the service request NF (300) according to claim 10, and the service providing NF (400) according to claim 11.
13. A computer-readable storage medium (1530) having stored thereon a computer program, which, when executed by a computer, causes the computer to perform the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Capability exposure for service instantiation
US20190238425A1
NF dynamic data exposure to NRF in 5g core network
WO2019001376A1
A method of discovering services provided by a network repository function
WO2019034609A1
KR20190088878A
