Authorizing mobile network services to external application functions
By using client credentials and access tokens associated with the Subscriber Identity Module (SIM), the authorization problem for external application functions of the mobile network to access the industrial network is solved, enabling secure and flexible network access and key management, and enhancing the industrial network security and mobile connectivity capabilities of the controller.
Patent Information
- Application Number
- CN202380023058.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-21
- Filing Date
- 2023-02-08
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology is difficult to effectively authorize application functions outside the mobile network to access the network opening functions of the industrial network, resulting in complex key distribution and management, error-prone, and lack of security and flexibility support for industrial controllers.
Send an access token request to the authorization function by obtaining the client credentials associated with the Subscriber Identity Module (SIM) associated with the user's device, receive and verify the access token, and generate and send the access token in order for the application function to authorize access to the network open function to achieve authorized access to external application functions of the mobile network.
It achieves safe and effective authorized access to external application functions of mobile networks, simplifies key management, enhances the security and flexibility of industrial networks, and supports mobile connection and data transmission requirements for industrial controllers.
Smart Images

Figure CN118743255A_ABST
Abstract
Description
Technical Field
[0001] Various example embodiments relate generally to authorizing access to mobile network services for external application functions, and more particularly, to authorizing access to network open functions for application functions external to the mobile network. Background Art
[0002] Industrial networks can include various devices connected via industrial networks, such as smart sensors and actuators. Such devices are widely referred to as Internet of Things (IoT) devices. Industrial networks are often referred to as industrial automation networks, such as Industrial IoT (IIoT) or Industry 4.0 networks. Mobile connectivity (which can generally refer to wireless access via wireless networks) can be used in industrial networks to provide flexibility (in terms of mobility) and scalability (for example, in terms of the number of sensors or actuators). Industrial controllers, such as programmable logic controllers (PLCs) or programmable controllers, are used to control industrial processes or parts thereof, such as (multiple) assembly lines, machines, or (multiple) robotic devices. In addition to field-level control, PLCs can also use human-machine interfaces (HMIs) or provide management and control interfaces to supervisory control and data acquisition (SCADA) systems. With the increasing flexibility of industrial automation, PLCs can be connected wirelessly, such as on movable or mobile machines such as automatic guided vehicles (AGVs) in factories. Summary of the invention
[0003] Some aspects of the invention are defined by the features of the independent claims. Some particular embodiments are defined in the dependent claims.
[0004] According to a first aspect, a method is provided, comprising: obtaining client credentials associated with a subscriber identity module of a user device; sending an access token request for an access token to an authorization function, the access token being used to authorize an application function outside the mobile network to access a network open function of the mobile network, wherein the access token request comprises the client credentials; receiving an access token issued by the authorization function; and sending an access request to the network open function for accessing a service of the mobile network via the network open function, wherein the access request comprises the received access token.
[0005] According to a second aspect, a method is provided, comprising: receiving, by an authorization function, an access token request for an access token, the access token being used to authorize an application function outside a mobile network to access a network open function of a mobile network, wherein the access token request comprises a client credential associated with a subscriber identity module of a user device, in response to verification of the client credential, authorizing access to the application function and generating an access token, and sending the access token to authorize access to the network open function for the application function.
[0006] In an embodiment of the first aspect or its embodiment, the device executing the method is also configured to authenticate the authorization function and the network opening function through at least one certificate authority certificate.
[0007] In an embodiment of the second aspect or an embodiment thereof, the apparatus is configured to send an application key request to an authentication and key management AKMA anchor function for an application. The apparatus may receive a reference application key calculated by the AKMA anchor and verify the client credentials based on comparing the application key in the received client credentials with the reference application key. The application key request may include an application key identifier and an application identifier, the application key identifier and the application identifier being used to generate the reference application key. The application identifier may be based on an FQDN of the authorization function and a protocol identifier of a security protocol between the application function and the authorization function.
[0008] In an embodiment of the first aspect or the second aspect or an embodiment thereof, the credential stores at least a portion of the client credentials via the subscriber identity module or an encryption key is associated with the subscriber identity module, at least a portion of the client credentials being generated based on the encryption key.
[0009] In an embodiment of the first aspect or the second aspect or an embodiment thereof, the client credential comprises an application key identifier and an application identifier based on an intermediate key, wherein the intermediate key is based on an authentication and key agreement process between the user equipment and the mobile network.
[0010] In an embodiment of the first aspect or the second aspect or an embodiment thereof, the access token request includes the FQDN of the authorization function and the access request includes the FQDN of the network opening function.
[0011] In an embodiment of the first or second aspect or an embodiment thereof, the requested access and the access token are used to access and / or control the mobile connection configuration.
[0012] In an embodiment of the first or second aspect or an embodiment thereof, the subscriber identity module is composed of a physical or embedded integrated circuit card of a user device, the user device being included in or connected by a communication device containing application functions. Some further embodiments of the first and / or second aspect are shown in the dependent device claims.
[0013] Also provided is a device comprising at least one processor, at least one memory comprising computer program code, wherein the at least one memory and the computer program code are configured to work together with the at least one processor, and the device at least performs the features according to the first aspect and / or the second aspect or any embodiment thereof.
[0014] A device is also provided, comprising a component configured to cause the device to at least perform the features according to the first aspect and / or the second aspect or any embodiment thereof. The component may include at least one processor and at least one memory including a computer program code, and the at least one memory and the computer program code are configured to cause the execution of the device together with the at least one processor. The device caused to perform the first aspect may be a user device, or may be included in a user device or a user device. The device caused to perform the second aspect may be a network node or a device, or may be included in a network node or a device.
[0015] According to a further aspect, a computer program, a computer-readable medium or a non-transitory computer-readable medium is provided, which may include code, which is configured to cause the device to perform features according to the first aspect and / or the second aspect or any embodiment thereof when executed in a data processing device. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 An example wireless communication system is shown;
[0017] Figure 2 and Figure 3 Methods according to at least some embodiments are shown;
[0018] Figure 4 An example configuration of an industrial communication device is shown;
[0019] Figure 5 and Figure 6 A signaling example is shown;
[0020] Figure 7 illustrates an encryption key hierarchy according to at least some embodiments;
[0021] Figure 8 and Fig. 9 shows a signaling example; and
[0022] Fig.10 Example apparatus is shown that can support at least some embodiments. DETAILED DESCRIPTION
[0023] The network open function can be a functional element that supports the secure external opening of services provided by a mobile network (such as a fifth-generation mobile communication network). For example, the application function of a communication device of an industrial network can be connected to the network open function to provide connection configuration information to the mobile network. Accessing the mobile network via the network open function requires authorization for the external application function. An example of an industrial network may be a non-public network (NPN, sometimes also referred to as a private network), which provides 5G network services to a well-defined user organization or group of organizations. The communication systems used in applications such as vertical industries are intended to meet certain requirements, such as high communication service availability and low end-to-end latency. In order to provide such capabilities, the mechanism for time-sensitive networking (TSN) defined by IEEE is integrated with 5GS. TSN is currently standardized as a communication mechanism for use within industrial networks. For example, a set of IEEE 802.1 protocols (IEEE802.1AS-Rev, 802.1CB, 802.1Qcc, 802.1Qch, 802.1Qci, 802.1Qcj, 802.1CM, 802.1Qcp, 802.1Qcr, 802.1AB) are applied to achieve deterministic data transmission. New communication systems such as 5G Systems (5GS) are developed to support new business models, such as those for IIoT and enterprise-managed networks. They are intended to provide services such as drone control, augmented reality, and factory automation. Enhanced network flexibility supports independent enterprise networks that are managed by the enterprise while being installed and maintained by the network operator. Enhanced connection modes and evolved security facilitate support for large-scale IIoT, for example, which is expected to include tens of millions of user devices sending and receiving data over 5G networks.
[0024] Figure 1 A simplified example communication system is shown. A mobile communication device, referred to herein as a user equipment (UE) 10, wirelessly communicates with an access device of a radio access network (RAN) 20. Such a device or node of the RAN 20 may be a NodeB, an evolved NodeB (eNB), a next generation (NG) NodeB (gNB), a base station, an access point, or other suitable wireless / radio access network device. The air interface between the UE 10 and the RAN 20 may be configured according to a radio access technology RAT, and both the UE 10 and the RAN access device are configured to support the radio access technology RAT. Examples of cellular RATs include long term evolution, LTE, new radio NR (also referred to as fifth generation, 5G), and MulteFire. However, the principles of the present disclosure are not limited to a specific RAT.
[0025] The RAN 20 is connected to a core network (CN) 30, such as a next-generation CN, an evolved packet core (EPC), or a 6G CN. The CN 30 may include a set of network functions. A network function (NF) may refer to an operation and / or a physical entity. A network function may be a specific network node or element, or a specific function or set of functions performed by one or more entities, such as a virtual network element. Examples of such network functions include access control or management functions, mobility management or control functions, session management or control functions, interconnection, data management or storage functions, authentication functions, or a combination of one or more of these functions.
[0026] Some 5G core network functions are Figure 1 The 3rd Generation Partnership Project (3GPP) 5G CN includes an access and mobility management function (AMF), which can be configured to terminate the RAN control plane (N2) interface and perform registration management, connection management, reachability management, mobility management, access authentication, access authorization, security anchor function (SEAF), security content management (SCM), and support for interfaces for non-3GPP access.
[0027] The User Plane Function (UPF) performs packet inspection, routing and forwarding, and operates as an external Packet Data Unit (PDU) session point to interconnect external data networks 40. The Session Management Function (SMF) is responsible for session establishment, modification and release. The Policy Control Function (PCF) supports the policy framework to manage network behavior, provides policy rules to control plane functions, and accesses subscription information related to policy decisions in the Unified Data Repository (UDR).
[0028] User authorization, registration and mobility management are supported by the Unified Data Management (UDM) and Authentication Server Function (AUSF). The UDM includes the Authentication Credentials Storage and Processing Function (APRF), which is the functional element responsible for the 5G authentication vector based on the subscriber's shared key.
[0029] The Network Exposure Function (NEF) is a functional element that supports the secure external exposure of functions and events provided by (multiple) 3GPP NFs to (multiple) external AFs, which interact with related network functions via the NEF. The NEF can be configured to support the exposure of information (collected from other 3GPP NFs) to the AF.
[0030] NEF is configured to provide secure information provisioning from external AF to 3GPP network. AF can obtain services from multiple NFs, and NEF can provide services to multiple AFs. For example, this information can include expected UE behavior time synchronization service information and service specific information. NEF can be configured to convert information exchanged with external AF and information exchanged with internal NF. NEF can be configured to handle the shielding of network and user sensitive information to external AF according to network policy.
[0031] NEF can be configured to support Packet Flow Description (PFD) functionality. The PFD functionality in NEF can store and retrieve (multiple) PFDs in UDRs, and provide PFDs to SMFs based on requests from SMF (pull mode) or PFD management requests from NEF (push mode). A specific NEF instance can support one or more of the above functions, and thus a single NEF can support a subset of the APIs specified for functional exposure.
[0032] The CN 30 may be coupled to another packet data network 40 via which connectivity to other networks may be obtained, for example through a global interconnection network.
[0033] UE 10 may be generally referred to as user equipment or wireless terminal. Therefore, without being limited to user equipment of 3GPP system, the term user equipment or UE should be broadly understood to cover various mobile / wireless terminal devices, mobile stations and user equipment for user communication and / or machine-to-machine type communication. UE 10 may be or include, for example, a smart phone, a cellular phone, a machine-to-machine, M2M, a node, a machine-type communication node, an Internet of Things, IoT, a node, a car telemetry unit, a laptop, a tablet or another suitable user equipment or mobile station, i.e., a terminal.
[0034] The system may be able to support the use of cloud services, for example, some CN operations may be performed as cloud services. The communication system may also include a central control entity and the like to provide facilities for networks of different operators, for example to collaborate in spectrum sharing. Edge cloud can be introduced into the radio access network (RAN) by leveraging network function virtualization (NVF) and software defined networking (SDN). The use of edge cloud may mean that access node operations are at least partially performed in a server, host or node that is operationally coupled to a remote radio head or base station containing the radio part. Node operations may also be distributed among multiple servers, nodes or hosts. One of the concepts of 5G networks is network slicing, where multiple independent and dedicated virtual subnetworks (network instances) can be created within the same infrastructure to run services with different requirements for latency, reliability, throughput and mobility.
[0035] Those skilled in the art will recognize that the depicted system is only an example of a portion of a system, and in practice, the system may include additional access nodes, the user equipment may have access to multiple radio units, and the system may also include other devices, such as physical layer relay nodes or other CN functions or elements, etc. In addition, although the apparatus has been depicted as a single entity, it should be understood that different units, processors and / or memory units may be implemented within these apparatuses ( Figure 1 ), so that its function can be run.
[0036] like Figure 1 As further shown in the example of , UE 10 may consist of a communication device including an application function (AF) external to a mobile communication network, the mobile communication network including RAN 20 and CN 30. The communication device 12 may include another networking unit or interface (NU) for connecting to another communication network 50. In some embodiments, network 50 is an industrial network, and device 12 is an industrial network communication device, such as a device configured to operate as an industrial controller. An example of such an industrial controller is a PLC that is connected to and controls a set of field devices.
[0037] The AF may be configured to interact with the CN 30 via the NEF to access network functions. For example, if the PLC is connected to its connected device via a mobile network, the PLC may need to provide connection configuration information with the mobile network. For example, in the case of a 3GPP 5G system, the PLC may be configured to access the 5G CN NEF API to provide connection configuration.
[0038] The NEF may be associated with an authorization function (AZF). The AF may access the AZF to retrieve information, such as an access token, which may be included in the AF's request to the NEF, and which the NEF may use to authorize the request.
[0039] The AF may require dedicated keys for authentication and authorization and ultimately access to the NEF. This key can be provided by a non-3GPP function that provides keys to the AF and the AZF associated with the NEF. However, key distribution and management can be error-prone and require additional software / hardware on the PLC to ensure those keys are not misused.
[0040] Now a solution for authorizing an AF outside a mobile network to access a NEF is provided. The solution is based on using a Subscriber Identity Module (hereinafter referred to as SIM) for accessing the mobile network.
[0041] Figure 2A method for requesting access to a network open function of a mobile network is shown. The method may be performed or caused by a device (also referred to as a requesting device) including or connected to an application function outside the mobile network. The application function is referred to as AF hereinafter, and is not limited to Figure 1 The AF shown or the AF of the 3GPP 5G system. Such an apparatus may be a communication apparatus or device, such as a UE 10 or a device 12 including the UE 10 and / or the AF 12, or a controller thereof.
[0042] Block 200 includes obtaining client credentials associated with a SIM of a user device. The user device is also referred to below as a UE, without limitation. Figure 1 The UE shown is a UE in a 3GPP user equipment.
[0043] Block 210 includes sending an access token request for an access token to an authorization function to authorize an AF outside the mobile network to access a network opening function of the mobile network. The access token request includes client credentials. The authorization function is also referred to as AZF below, and the network opening function is referred to as NEF.
[0044] Block 220 includes receiving an access token issued by the AZF. Figure 3 As shown in block 320 , in response to the AZF verifying the client credentials, the AZF sends an access token.
[0045] Block 230 includes sending an access request to the NEF to access services of the mobile network via the NEF. The access request includes the received access token.
[0046] Figure 3 A method for controlling an AZF is shown. The method may be performed or caused by an apparatus (such as a network node, entity, server or device) configured to execute an AZF (such as an OAuth server or a controller thereof).
[0047] Block 300 includes receiving, by the AZF, an access token request for an access token for authorizing an AF external to the mobile network to access a NEF of the mobile network. The access token request includes client credentials associated with a SIM of the UE.
[0048] Block 310 includes authorizing access to the AF and generating an access token in response to successful verification of the client credentials.
[0049] Block 320 includes sending an access token to authorize access to the NEF for the AF.
[0050] The client credentials may be obtained at box 200 by defining some or all of the client credentials from another module, function or memory and / or by defining some or all of the client credentials based on information associated with the SIM. For example, the client credentials may include: a client secret associated with a client identifier, a signed certificate (such as an X.509 certificate), or a client assertion, such as a javascript object notation web token. The association of the client credentials with the SIM may refer to storing at least one parameter or key in the SIM to generate a client secret included in the client credentials, or storing at least some parts of the client credentials in the SIM. There are many alternative examples for associating the client credentials with the SIM, some embodiments of which are further described below. The client credentials may be associated with the SIM, for example, by storing at least a portion of the client credentials in the SIM, or by using a cryptographic key based on generating at least a portion of the client credentials. At least a portion of the client credentials may be a client secret, which is included in the access token request to authenticate the AF (having access to the SIM or represented by the SIM).
[0051] Validation of the client credentials may refer to successfully validating an authentication token of the client credentials, such as a client secret based on or received from a SIM. Validation may be performed in block 310 or as a separate block after block 300. Successful validation may be an authentication prerequisite for entering block 310. The client credentials and validation may also include further information, such as a client identifier (id) or signature. Thus, performing Figure 2 The method and the entity sending the access token request may be authenticated based on SIM-based credentials. If the client credentials cannot be verified, block 320 is not entered, but a response message indicating a rejection of the access token request may be sent. Authentication between the AF and the AZF connected to or otherwise associated with the UE may be performed using existing SIM credentials, and the presence or distribution of other credentials may be avoided.
[0052] A network exposure function, or NEF, may generally refer to a network function that enables provision of information to a mobile network and / or from a mobile network to an external AF external to the mobile network. The term network exposure function or NEF is therefore not limited to 3GPP NEF or Figure 1 The NEF shown in FIG. 10. The application function or AF external to the mobile network may refer to an application entity external to the CN (e.g., 3GPP CN) of the mobile communication network, such as a third-party application or an industrial network service or service application. The authorization function or AZF may refer to an authorized network entity configured to authorize at least one or more external AFs to access the NEF. The AZF may refer to an authorization server, such as a server that performs Figure 2The OAuth client of the device 12 of the method communicates with the OAuth authorization server of the 5G network. For example, instead of OAuth-based authorization, Security Assertion Markup Language (SAML)-based authorization can be applied. The AF is therefore not limited to a 3GPP AF, and the AZF is not limited to a 3GPP network authorization function or server, such as a NEF suitable for authorizing a 5G NF. The access token request can be sent from the AF (on the device) to the AZF or from the cellular module to the AZF.
[0053] The term subscriber identity module or SIM may generally refer to an operational module representing a subscription and subscriber in a mobile communication network, such as a USIM in a 3GPP 5G network, without limitation to such SIM or network. The SIM may consist of a physical or embedded integrated circuit card of the UE, which is included in or connected to a communication device including an AF. In another embodiment, another element of the hosted subscriber profile may also implement SIM-related functions applied to generate client credentials, some further example embodiments are shown below. The SIM may be deployed to the communication device via remote SIM provisioning. At least some portions of the client credentials or at least one secret used to generate the client credentials may therefore consist of a SIM profile, which may be supplied to the communication device.
[0054] Access authorization may be requested in box 300, and access authorization may be issued in box 310 to allow the AF to send information to the mobile network via the NEF, and / or to allow the AF to receive information from the mobile network via the NEF. However, the service requested in box 230 may be any service of the mobile network that is provided for opening to an external AF via the NEF, such as 3GPP 5G CN services and capabilities that are allowed to be opened via the 5G NEF API. The access request may be used to request authorization to access control mobile connection configuration, but is not limited to this purpose. Thus, in response to the AZF authorizing the AF to control the mobile connection configuration, an access token may be generated and sent to the requesting device.
[0055] implement Figure 2 The apparatus of the method may be configured to perform AF. The AF may be configured to send 230 an access request. The AF may therefore send a request for client credentials to the SIM or a UE comprising the SIM. In the latter case, the UE may generate client credentials upon request or retrieve credentials (or at least a portion thereof) from the SIM. The UE may then provide the generated or retrieved client credentials to the AF (which may reside in the same communication device 12). The request may be a command to retrieve the corresponding information. The AF receives the client credentials from the UE or SIM and includes the received client credentials in the access token request in box 210.
[0056] In another embodiment, the AF configured to send 230 the access request is further configured to send a request for an access token to a UE comprising a SIM.After the UE has sent the access token request and received the access token on behalf of the AF, the AF receives the access token from the UE.
[0057] The UE may include a cellular module, such as a module configured to execute a ME configured to access a SIM contained in or connectable to the module. Thus, the interaction with the SIM and the AF may be encapsulated in the cellular module, thereby providing the additional benefit that the developer of the AF does not need to be concerned with the details of the interaction with the SIM or the AZF.
[0058] The cellular module may receive a request for an access token from the AF. The cellular module may be configured to: - in response to the request for the access token, retrieving at least part of the client credentials from the SIM or generating at least part of the client credentials, - Send an access token request including the client credentials to AZF (on behalf of AF), - receiving an access token from the AZF in response to the AZF's validation of the client's credentials, and - Provide the access token to the AF. The AF may then include the access token received from the cellular module in the access request to the NEF at block 230.
[0059] Depending on the embodiment applied, the AZF may thus receive 300 an access token request from the AF, from the UE, or the cellular module may send an access token request on behalf of the AF. The AZF may thus send an access token to the AF, UE, or cellular module in block 320 in response to successfully verifying the client credentials.
[0060] implement Figure 2 The apparatus of the method may also be configured to authenticate the AZF and the NEF via at least one certificate authority certificate. Successful authentication may be a prerequisite for trusting the AZF and continuing to make authorization and access requests to the NEF. For example, the certificate may be received from the SIM.
[0061] The device 12 including the UE 10 and / or the AF may be a communication device of an industrial network, such as an Industrial IoT (IIoT) device, a Time Sensitive Networking (TSN) network device, or a Profinet device. The device including the UE and / or the AF may be configured to operate as an industrial controller (such as a PLC). Therefore, Figure 1The device 12 may include a PLC. The device including the AF may be configured to operate as an industrial network controller (INC). For example, the INC may use a NEF (such as the 5G CN NEF API) to configure the properties of the industrial network. The NEF may be configured to use information in the access token received in the access request of box 230 to limit the access granted to the AF. The NEF may be configured to use information retrieved from other NFs of the CN 30.
[0062] The PLC can include an offline designed connection layout, i.e., a predefined configuration on the devices that should be connected to the PLC. Based on such a layout and network information, the PLC can establish an end-to-end connection. For example, the PLC can be configured to operate a centralized network configuration (CNC) instance as a centralized user configuration (CUC) instance in a TSN network, which uses the AF part of the UE and the NEF to configure the TSN service flow in the industrial 5G network. In a Profinet deployment, a separate layer 7 Profinet protocol can be used to configure devices and network equipment.
[0063] Example embodiments of the method may be related to 3GPP 5G SBA related enhancements, some of which are further illustrated below. Although, it is noted that any reference to 3GPP 5G SBA below is used as an example to describe some example embodiments, other techniques may also be applied.
[0064] UE 10 may include a ME and a USIM (e.g. Figure 1 The 3GPP 5G UE is a 3GPP 5G UE with a USIM as the SIM in the example. For example, the ME includes an NR transceiver configured to access the NG RAN. Therefore, the AF outside the 5G network can obtain an access token from the AZF based on the USIM-based credentials and authentication to access the 5G services exposed by the 5G CN via the NEF.
[0065] The USIM may be included in a universal integrated circuit card (UICC), an embedded UICC (eUICC), or an integrated UICC (iUICC) of a UE 10, which is included in or connected to a communication device 12 including an AF. The AF may be provided with the fully qualified domain names (FQDNs) of the AZF and NEF. The FQDN may be derived from the aPLMN identifier, and in the case of a standalone public network (SNPN), additionally derived from the network identifier (NID). Alternatively, the FQDN may be stored as part of the USIM.
[0066] The interface between the AF and the NEF may be a NEF northbound (Nnef) interface. The Nnef interface specifies a RESTful / RPC API that allows the AF to access services and functions provided by 3GPP network entities and securely exposed by the NEF, and is further defined in 3GPP TS29.522. Figure 2 An apparatus (such as device 12) implementing the method may be configured to support at least some procedures specified for the Nnef interface and access services exposed to the external AF via the Nnef interface.
[0067] Transport Layer Security (TLS) specified by IETF RFC5246 can be used to protect the communication between NEF and AF through the Nnef interface. As an example, access to the Service Capability Exposure Function (SCEF) northbound API can be authorized based on the OAuth2 protocol specified in IETF RFC6749 (e.g., SCEF for 4G and SCEF for 4G). SCEF has at least part of the functionality of NEF. Authorization can be granted based on local configuration using client credentials.
[0068] A device (such as device 12) including a 5G UE and / or AF and accessed using the 5G CN NEF API can be configured to operate as an industrial controller (such as a PLC). For example, the AF is an INC, and the device including the 5G UE includes or is an industrial controller, such as a PLC. The INC can be configured to use the NEF API to configure the properties of the connected industrial network. Figure 2 The PLC may send an access request at 230 to control the mobile connection configuration of the industrial network. For example, the PLC may determine the quality of service (QoS) requirements of the 5G network via the NEF API (such as minimum latency and / or priority). The PLC may be configured to configure business mode information using time-sensitive communication assistance information (TSCAI) via the NEF API.
[0069] As another example, a device including a 5G UE and / or AF and utilizing 5G CN NEF API access may be configured to obtain location information via the 5G CN NEF itself or for other industrial devices including a 5G UE, and utilize the location information (e.g., in an automation scenario).
[0070] Figure 4 An example of an industrial communication device arrangement is shown, where the device 12 is a PLC device including an AF. Figure 1In the example of , the device 12 including the AF is now connected to the UE 10, which includes or is connected to a NU such as an Ethernet card to communicate with the device 12. In this example, the UE 10 is a 5G UE including a USIM. The ME (which can operate as a cellular module) and the USIM can operate as disclosed in this example embodiment to provide USIM-based client credentials to authorize the AF to access the NEFAPI.
[0071] The NEF API can be configured to use the information in the received access token to limit the access granted to the AF. The NEF API can also use information retrieved from other NFs of the 5G CN (for example, from the PCF) to limit access. For example, an authorized AF may be allowed to request connection information for devices that are members of the same virtual network group or the same network slice or another predetermined group (for example, representing an industrial network or a defined subset of an industrial network). An authorized AF may be allowed to change connection parameters for devices that are members of the same VN group or the same network slice or another predefined group. In some embodiments, only certain predefined UEs that leave the VN group may be allowed to request connection information or modify connection parameters using the AF associated with the UE.
[0072] In the example now disclosed with reference to the 5G system, without limitation to the disclosed embodiments, the USIM is configured to store at least a portion of the client credentials as a new parameter. Figure 2 The apparatus of the method is configured to receive at least a part of the client certificate directly or indirectly from the USIM.
[0073] like Figure 5 As shown in the signaling example of , the AF can receive 500 the client id and client secret pre-provisioned on the USIM directly from the USIM. The AF, which can operate as an OAuth client, can then send an access token request 502 to the AZF, which can operate as an OAuth server, in box 210. The access token request includes the received client id and client secret. In an example embodiment, the AF applies the client id and client secret (from the USIM) to perform http basic authentication with the AZF. In addition, the AF can provide parameters such as the requested scope to the access token request.
[0074] The AZF may also be pre-provisioned with information that allows the AZF to verify the client id and client secret in block 310. The information may include the client id and client secret, i.e., the USIM and the AZF possess pre-encrypted keys. If the client id and client secret received from the AF are successfully verified at 504, the AZF may send a token response including an access token at 506. The AF may then send an API call including the access token to the NEF API at 508 as an access request to access the public services of the associated 5G SBACN.
[0075] The advantage of the above example embodiment is that it can be applied independently of the 5G primary authentication. Figure 2 The method is used when the apparatus (such as device 12) is not connected to the 5G system.
[0076] AF can use the extension of the interface between the host part of the device and the cellular module to request or retrieve the client id and client secret. This can be achieved by introducing a new AT+ command or extending another interface used instead of the AT+ command.
[0077] The same client id and client secret stored on the USIM can be provided on the AZF as part of the USIM lifecycle management process. For example, the client id and client secret can be provided to the UICC as part of the UICC manufacturing process and provided to the mobile network operator as part of the personalization file, which may also include other personalization data (intended to be provided to the UDM / UDR). The client id and client secret can be used together with the associated general public subscription information (GPSI) to register the client at the AZF. The AZF can maintain a mapping table between the client id and the client secret, and in this way any claims in the issued access token can be limited to the authorization level of the UE (identified by the GPSI). In another embodiment, the GPSI can also be used as the client id.
[0078] The USIM may be deployed to the device 12 as part of a remote SIM provisioning process. In this case, the client id and client secret are part of the SIM profile provisioned to the device. The mobile operator does not retrieve the client id and client secret from the SIM manufacturer, but as part of the profile management process performed with the provisioning server.
[0079] In another embodiment, information and functionality related to the client id and client secret, client assertion or (as client credentials) may be installed or updated on the UE 10 using (over the air) OTA SIM technology or other technology for updating the contents of the USIM. The installation and / or update may include the client id and client secret or certificate. The installation and / or update may include computer code, such as code that causes an execution processor to calculate a client assertion and / or disclose a client X.509 certificate.
[0080] The USIM may provide a command that may be used by the AF to receive a client assertion from the USIM. For example, the client assertion may be a JSON web token (JWT), which may be used by the AZF to verify the identity of the client.
[0081] The AF may trigger the computation of the client assertion and retrieve the client assertion from the USIM using a declared extension of the interface between the host part of the device and the cellular module. This may be achieved by introducing new AT+ commands or extending any other interface used in place of the AT+ commands. The AF may apply the client assertion for JWT authentication with the AZF.
[0082] The USIM can use the client secret to calculate the client assertion. The client secret can be shared between the USIM and the AZF using a method similar to the above-mentioned case of using the client secret for http basic authentication. Instead of using a symmetric key to calculate the client assertion, the USIM can use a private key (which is part of a private-public key pair) for this purpose. In this case, what is provided to the AZF is not the shared key, but the public key of the key pair.
[0083] In some embodiments, certificate-based authentication is provided for the AF so that the AF can authenticate with the AZF. For example, the USIM may include a private key and provide a signed X.509 certificate based on the private key. Figure 2 The apparatus of the method may be configured to perform a mechanism that allows the AF to receive a certificate as a TLS client certificate to the AZF. In this case, the client id may be bound to the subject of the X.509 certificate.
[0084] In an embodiment, information and / or functionality related to the client id and client secret, client assertion or X.509 certificate may be external to the USIM. For example, such information and / or functionality may be stored in a separate applet on the same UICC, iUICC or eUICC.
[0085] The AF does not need to interact directly with the AZF to obtain an access token. The AF can be configured to retrieve or request an access token from the cellular module using an extension of the interface between the host portion of the device including the AF and the cellular module. This can be achieved by introducing a new AT+ command or extending another interface used instead of the AT+ command. The AF can provide parameters, such as the requested range, as input to the new interface. The AF can also include a direct request to the AZF in the input to the interface.
[0086] In this embodiment, the interaction with the USIM and AZF is performed by the cellular module. Figure 6 An example of a cellular module (CM) performing in blocks 200, 210, and 220 on behalf of an AF is shown. The AF sends an access token request 600 to the CM, which may include parameters such as the requested scope. In response to the access token request at 600, the CM (such as a ME) obtains client credentials. This may include sending a request or command to the USIM at 602 to retrieve the client id and client secret or client assertion from the USIM. Upon receiving the requested client credentials (such as the client id and client secret or client assertion) from the USIM at 604, the CM may send an access token request to the AZF at 606, including the received client credentials and the parameters received from the AF. The CM receives the access token from the AZF in an access token response at 608, and provides the access token to the AF in the access token response at 610. The AF may then send an API call including the access token from the CM to the NEF API at 612. The example embodiments shown above in connection with the processing of client ids, client secrets, client assertions, and client credentials also apply to this embodiment.
[0087] In another example, the client secret of the client credentials is based on an intermediate key that is generated based on a secret key of the SIM as part of an Authentication and Key Agreement (AKA) procedure between the UE and the mobile network.
[0088] Therefore, the client secrets can be derived from the 5G key hierarchy established during the primary authentication. Therefore, there is no need to update the contents of the USIM (by new client credentials for the AF).
[0089] The USIM stores the same long-term secret key K as that stored in the ARPF. As defined in 3GPP TS33.501, during the application of AKA procedures (such as EAP-AKA' or 5G AKA), the USIM generates key material (CK, IK) from K and forwards it to the ME. The ME generates an intermediate key K based on CK and IK from the USIM AUSF In the case of EAP-AKA', K AUSFis generated based on CK' and IK' derived from CK and IK from the USIM. In some embodiments, the client secret is based on K AUSF Generated.
[0090] The client credentials sent in block 210 and received in block 300 may include or be generated based on an application key and an application key identifier, which are generated based on the UE's primary AKA (based on a secret key stored in the USIM). Figure 2 The apparatus of the method includes or a UE connected to the apparatus may be configured to generate an intermediate key. The UE may also generate an application key and an application key identifier based on the intermediate key. Then, the UE may provide the application key and the application key identifier to the AF.
[0091] The application key may be generated based on an intermediate key generated as part of or as a result of the main AKA process from the UE to the mobile network. In some embodiments, the application key is based on K AUSF The application key may be generated based on the FQDN of the AZF and the protocol identifier of the security protocol between the AF and the AZF.
[0092] In some embodiments, the AF and AZF are configured to apply authentication and key management for applications (AKMA) to authorize the NEF. From a high-level perspective, the AF resides on the device and needs to authenticate with the AZF to obtain an access token. This authentication is performed by using and extending the AKMA process.
[0093] Therefore, the application key may be an AKMA application key, which may also be represented as K AF The application key identifier may be an AKMA key identifier (A-KID). Figure 7 , the ME may obtain K based on the result of the successful 5G primary authentication 700 of the UE AUSF Generate AKMA anchor key K AKMA A-KID can identify the UE's K AKMA key, and A-KID can be based on K AUSF Generate. ME can be based on K AKMA Generate K AF .
[0094] refer to Figure 8 AF sends AF Key Request 800 (e.g., as a new command) to retrieve the application key K from CM. AF and a key identifier A-KID.
[0095] The application identifier AF_ID can be an input parameter for generating the application key and key identifier, for example as a parameter in a command or request 800 from the AF to the CM. The application identifier can be based on the FQDN of the AZF and the protocol identifier of the security protocol between the AF and the AZF. The AF-ID can be set to the concatenation of the FQDN of the AZF and the protocol identifier. In another embodiment, the FQDN and the protocol identifier are not provided to the CM in the form of an AF_ID, but in the form of a separate identifier in the request 800.
[0096] The CM uses the AF_ID (or the FQDN and protocol identifier of the AZF) to calculate the 802K AF and K AKMA As a K AF Derivation function input. K AKMA and A-KID can be used as part of the AKMA process based on the K generated by the UE's primary authentication AUSF Pre-calculated. CM sends K AF and AF Key Response 804 of A-KID.
[0097] AF sends an access token request 806 to AZF, which includes client credentials, including or based on K AF and A-KID as authentication information. In addition, the AF may provide parameters such as the requested scope as additional input to the access token request 806. For example, the AF may use http basic authentication and may set the A-KID as the username field and the K AF Set to the password field. In another embodiment, AF uses K AF to compute the client assertion. In the resulting JWT, either the iss or the subclaim or both can be set to A-KID. Alternatively, a new claim in the JWT can be set to A-KID.
[0098] The AZF may be configured to send an application key request 808, such as AKMA_ApplicationKey_Get_Request, to the AKMA anchor function (AAnF) in response to the access token request. The application key request 808 may include the application key identifier A-KID and the application identifier AF_ID of the requesting AF. If the access token request 806 includes the A-KID in the authorization header (if http basic authentication is used), or as a statement in the client assertion, the AZF may call the AAnF of the mobile network to obtain the KID through the request 808. AF The AZF may also invoke the AAnF to provide the UE identifier. The application key request 808 to the AAnF may include the A-KID and AF-ID received in the request 806.
[0099] AAnf can be based on the received AF_ID and the associated K AKMA (As part of the AKMA process, it is already based on the K generated by the UE's primary authentication AUSF The reference application key shall correspond to the K generated by the ME. AF (and can also be expressed as K AF' ). In block 810, the AAnf may also retrieve a UE identifier associated with the received A-KID, such as a subscription permanent identifier (SUPI) or a GPSI. The UE identifier may be associated with the A-KID and the K AKMA The UE identifier may be stored together (as a triplet). Such a triplet may be stored in response to a registration request from the AUSF as part of the AKMA procedure. The UE identifier may be stored in a database or another storage medium accessible to the AUSF. For example, such a database may be referred to as an AAnF anchor key database.
[0100] The AZF receives an Application Key Response 812 from the AAnF. The Application Key Response includes a reference Application Key. The Application Key Response may also be extended to include a UE identifier.
[0101] The AZF authenticates 814 the requesting device (sends request 806). This includes validating the received client credentials based on comparing the application key in the received client credentials with the reference application key. Thus, the AZF can compare the reference application key received from the AAnF with the K received in the access token request 806 (and originally generated by the CM). AF The UE identifier is compared. If they match, the client credentials are successfully verified (and the device is authenticated). In this case, at block 814 or as a further block, the AF may be authorized and an access token generated for the AF. The authorization may be associated with the UE identifier received from the AUSF.
[0102] The AZF may include the UE identifier in the access token response 816, which includes the access token to the AF. The UE identifier may be included in the claims of the access token. The AZF may thus limit the claims in the access token to the authorization level of the device identified by the UE identifier.
[0103] The AZF may include or have access to application key identifiers (A-KIDs), reference application keys (K AF’) and the associated UE identifier(s). The AZF may therefore respond to the access token request 806 and obtain the reference application key directly from the cache based on the A-KID therein. In this case, the AZF may only retrieve the reference application key if there is no entry in the cache for the A-KID or the entry has expired (as opposed to K AF AAnF needs to be contacted only when the finite life span of the device is the same as that of the device itself.
[0104] The AF may then send an access request message including the received access token to the NEF API, such as API call 818. The NEF API may authenticate the AF based on the access token and allow or deny access to mobile network services.
[0105] In another embodiment, the access token request (e.g., request 806) of blocks 210 and 300 does not include an application key, but rather includes application key generation information, such as an assertion. The application key generation information may be obtained from the SIM or generated based on a key stored in the SIM. In this embodiment, the AZF may send an application key request 808 (in block 300) to the AKMA anchor including the application key identifier (A-KID) received in the access token request 806. The AZF may calculate the application key (K AF ) and compares the calculated application key with the reference application key received from the AKMA anchor.
[0106] The AZF may be configured to determine whether the authentication information included in the access token request of boxes 210 and 300 refers to a client ID or an A-KID, which the AZF may use to retrieve the client ID or UE identifier. For this purpose, the AF may be configured to include an indication of the (referred to client ID or A-KID) in the access token request message. Such an indication may be included, for example, in a field in an http header including the access request or in the body of an http message. If client assertions are used, the indication may also be included in the JWT from the AF. For this purpose, the JWT may include a new claim that may indicate that the iss and / or sub-claims should be interpreted as an A-KID, or alternatively, the JWT may include a new A-KID claim that directly includes the value of the A-KID.
[0107] The AF does not need to interact directly with the AZF to obtain an access token. The AF may be configured to retrieve or request an access token from the CM, for example, by using an extension of the interface between the host portion of the device including the AF and the CM. This may be achieved by introducing new AT+ commands or extending any other interface used in place of the AT+ commands. The AF may provide parameters, such as the requested range, as input to the new interface. The AF may also include a direct request to the AZF in the input to the interface.
[0108] Therefore, the interaction with the USIM and AZF can be performed by the cellular module. Fig. 9 An example is shown in which the CM performs blocks 200, 210 and 220 on behalf of the AF. In response to the access token request 900 from the AF, the CM (such as a ME) obtains the client credentials, in this embodiment by defining 902 the K according to the AKMA procedure as described above (and initially based on the USIM secret key K). AF and A-KID. The CM may then send an access token request 904 to the AZF, which includes the client credentials and potential further parameters from the AF, such as the scope requested from the AZF. In response to the verification of the client credentials, the AZF may perform operations (not shown) in box 906 to perform authentication and authorization based on the received client credentials and generate an access token. In some embodiments, the AZF may operate in conjunction with the AAnF to perform AKMA-related functions in box 906 as shown in conjunction with boxes 808 to 814. The AZF may then send the access token to the CM in an access token response 908, and the CM provides the access token to the AF in an access token response 910. The AF may then send an API call 912 to the NEF API including the access token from the CM. The above-illustrated processing of K AF , A-KID, client id, client secret and client assertion related example embodiments are also applicable to the present embodiment.
[0109] Although some embodiments have been described in the context of 3GPP 5G based systems, it will be appreciated that these or other embodiments of the present invention may be applicable in conjunction with other technologies configured to operate on licensed or unlicensed frequency bands, such as 6G cellular systems, or other existing or future technologies including NEF or enhanced or advanced NEF with necessary modifications.
[0110] An electronic device including an electronic circuit may be a device for implementing at least some embodiments of the present invention. The device may be or may be included in a computer, a laptop, a tablet, a cellular phone, a machine-to-machine (M2M) device (e.g., an IoT sensor device or a vehicle communication unit for vehicle-to-the-world (V2X) communication), an industrial network communication device, a base station, an access point device, a server, a network function element or node, or any other device equipped with suitable communication and processing capabilities. In another embodiment, a device for performing the above functions is included in such a device, for example, the device may include a circuit, such as a chip, a chipset, a microcontroller, or a combination of such circuits in any of the above devices.
[0111] Fig.10 An example apparatus capable of supporting at least some embodiments is shown. Shown is a device 1000, which may include a communication device arranged to operate as a device 12 including an AF or a device including an AZF. The device may include one or more controllers configured to perform operations according to at least some of the embodiments described above, such as the above combined Figures 1 to 9 The device may be configured to perform, for example, Figure 2 or Figure 3 The invention is operated by a method or an apparatus of an embodiment thereof.
[0112] The device 1000 includes a processor 1002, which may include, for example, a single-core or multi-core processor, wherein a single-core processor includes one processing core, and a multi-core processor includes more than one processing core. The processor 1002 may include more than one processor. The processor may include at least one application-specific integrated circuit ASIC. The processor may include at least one field programmable gate array FPGA. The processor may be a component for executing the method steps in the device. The processor may be configured at least in part by computer instructions to perform actions.
[0113] The processor may include, or be configured as, a circuit or circuits configured to perform the stages of the method according to the embodiments described herein. As used in this application, the term "circuitry" may refer to one or more or all of the following: (a) hardware circuit implementations only, such as implementations in analog and / or digital circuits only, and (b) combinations of hardware circuits and software, such as applicable to: (i) a combination of analog and / or digital hardware circuits and software / firmware, and (ii) any portion of a (one or more) hardware processor with software (including a digital signal processor), software and (one or more) memory that work together to enable the device (such as a mobile phone or server) to perform various functions) and (c) hardware circuits and / or processors, such as a microprocessor or a portion of a microprocessor, which requires software (e.g., firmware) for operation, but the software may not be present when it is not required for operation.
[0114] This definition of circuitry applies to all uses of this item in this application, including in any claims. As another example, as used in this application, the term circuitry also covers an implementation of only a hardware circuit or processor (or multiple processors) or a portion of a hardware circuit or processor and its accompanying software and / or firmware. For example, if applicable to the particular claim element, the term circuitry also covers a baseband integrated circuit or processor integrated circuit used in a mobile device or similar integrated circuit in a server, cellular network device, or other computing or network device.
[0115] Device 1000 may include memory 1004. Memory may include random access memory and / or permanent memory. Memory may include at least one RAM chip. For example, memory may include solid-state, magnetic, optical and / or holographic memory. Memory may be at least partially accessible by processor 1002. Memory may be at least partially included in processor 1002. Memory 1004 may be a component for storing information. Memory may include computer instructions that the processor is configured to execute. When computer instructions configured to cause the processor to perform certain actions are stored in the memory, and the device as a whole is configured to operate under the direction of the processor using computer instructions from the memory, the processor and / or at least one of its processing cores may be considered to be configured to perform certain actions. Memory may be at least partially included in the processor. Memory may be at least partially external to device 1000 but accessible to the device. For example, affecting the combination Figure 2 or Figure 3 The control parameters of the control operation shown may be stored in one or more portions of the memory and used to control the operation of the device. In addition, the memory may include other control parameters, for example.
[0116] The device 1000 may include a transmitter 1006. The device may include a receiver 1008. The transmitter and the receiver may be configured to transmit and receive information according to at least one wired or wireless, cellular or non-cellular standard, respectively. The transmitter may include more than one transmitter. The receiver may include more than one receiver. The transmitter and / or the receiver may be configured to operate according to, for example, a global system for mobile communications GSM, wideband code division multiple access WCDMA, long term evolution LTE, 5G or other cellular communication systems, WLAN and / or Ethernet standards. The device 1000 may include a near field communication NFC transceiver 1010. The NFC transceiver may support at least one NFC technology, such as NFC, Bluetooth, Wibree or similar technology.
[0117] The device 1000 may include a user interface UI 1012. The UI may include or be connected to at least one of a display, a keyboard, a touch screen, a speaker, and a microphone. A user can operate the device, for example, via the UI, to, for example, configure operating parameters stored in the memory 1004, such as parameters that affect the operation of the above method or its embodiments.
[0118] Depending on the type or purpose of the device 1000, it may include or be arranged to accept a subscriber identity module or other type of memory module 1014. The subscriber identity module may include, for example, a SIM, USIM and / or personal identification IC card installable in the device 1000.
[0119] The processor 1002 may be equipped with a transmitter that is arranged to output information from the processor to other devices included in the device via electrical leads inside the device 1000. Such a transmitter may include a serial bus transmitter that is arranged to output information to the memory 1004 for storage therein, for example, via at least one electrical lead. In addition to a serial bus, the transmitter may also include a parallel bus transmitter. Similarly, the processor may include a receiver that is arranged to receive information in the processor from other devices included in the device 1000 via electrical leads inside the device 1000. Such a receiver may include a serial bus receiver that is arranged to receive information from a receiver 1008, for example, via at least one electrical lead, for processing in the processor. In addition to a serial bus, the receiver may also include a parallel bus receiver.
[0120] The device 1000 may include Fig.10Other devices not shown in the figure, such as (multiple) other transmitters and (multiple) receivers or UI elements. Processor 1002, memory 1004, transmitter 1006, receiver 1008, NFC transceiver 1010, UI1012 and / or user identity module 1014 can be interconnected by electrical leads inside device 1000 in a variety of different ways. For example, each of the above-mentioned devices can be connected to a main bus inside the device respectively to allow the devices to exchange information. However, as will be understood by those skilled in the art, this is only an example, and depending on the embodiment, various ways can be selected to interconnect at least two of the aforementioned devices.
[0121] Although the foregoing examples illustrate the principles of the present invention in one or more specific applications, it is apparent to those skilled in the art that many modifications of form, use and implementation details can be made without departing from the principles and concepts of the present invention as defined by the claims set forth below. It should also be understood that the terminology employed herein is only used for the purpose of describing specific embodiments and is not intended to be limiting.
[0122] The verbs "comprise" and "include" are used in this document as open limitations, which neither exclude nor require the presence of unrecited features. Unless explicitly stated otherwise, the features recited in the dependent claims may be freely combined with each other. Furthermore, it should be understood that the use of "a" or "an" (i.e., the singular) in this document does not exclude a plurality.
Claims
1. A device comprising one or more processors and a memory containing instructions, which, when executed by the one or more processors, cause the device to at least perform the following operations: - obtaining (200) client credentials associated with a subscriber identity module of a user device (10), characterized in that - sending (210) an access token request for an access token for authorizing an application function outside the mobile network (30) to access a network exposure function of the mobile network, wherein the access token request includes the client credentials, - receiving (220) said access token issued by said authorization function, and - sending (230) to the network opening function an access request for accessing a service of the mobile network via the network opening function, wherein the access request comprises the received access token.
2. The device according to claim 1, wherein: - the subscriber identity module is configured to store at least a portion of the client credentials, and the apparatus is configured to receive the at least a portion of the client credentials from the subscriber identity module, or - the client secret of the client credential is based on an intermediate key generated based on a secret key of the subscriber identity module as part of an authentication and key agreement procedure between the user equipment (10) and the mobile network.
3. The apparatus according to claim 2, wherein the user equipment (10) is included by the apparatus or connected to the apparatus and is configured to: - generating an application key and an application key identifier based on the intermediate key; - providing the application key and the application key identifier to the application function, wherein the client credentials include the application key and the application key identifier or are generated based on the application key and the application key identifier.
4. The apparatus according to any of the preceding claims, wherein the apparatus is configured to execute the application function configured to send (230) the access request, and: - sending a request for the client credentials to the subscriber identity module or to the user equipment comprising the subscriber identity module (800), and - receiving (804) the client credentials from the subscriber identity module or the user equipment and including the received client credentials in the access token request (806).
5. The apparatus according to any of the preceding claims 1 to 3, wherein the apparatus is configured to execute the application function configured to send (230) the access request, and: - sending a request for the access token to the user device comprising the user identity module (900), and - receiving the access token from the user device after the user device has sent (210) the access token request on behalf of the application function and received (220) the access token.
6. The apparatus of claim 5, wherein the user equipment comprises a cellular module, the cellular module being configured to: - in response to a request (900) from the application function for the access token, retrieving at least a portion of the client credentials from the subscriber identity module, or generating (902) at least a portion of the client credentials, - sending the access token request including the client credentials to the authorization function (904), - receiving the access token from the authorization function in response to the authorization function verifying the client credentials (906), and - providing the access token to the application function, wherein the application function is configured to include the access token received from the cellular module in the access request to the network opening function.
7. An apparatus comprising one or more processors and a memory, the memory comprising instructions which, when executed by the one or more processors, cause the apparatus to perform: - receiving (300) an access token request by the authorization function, characterized in that The access token request is for an access token used to authorize an application function outside the mobile network (30) to access a network open function of the mobile network, wherein the access token request includes a client credential associated with a subscriber identity module of the user device (10), - in response to verification of the client credentials, authorizing (310) the access to the application function and generating the access token, and - Sending (320) said access token to authorize said access to said network open function for said application function.
8. The apparatus according to claim 7, wherein the apparatus is configured to: - receiving (300) the access token request from the application function or from a user device or cellular module sending the access token request on behalf of the application function, and - In response to said verification of said client credentials, sending (320) said access token in an access token response to said application function, said user device or said cellular module.
9. The apparatus according to claim 7 or 8, wherein the client credentials include an application key and an application key identifier based on an intermediate key, the intermediate key being based on an authentication and key agreement procedure between the user equipment and the mobile network, and the apparatus is configured to: - sending an application key request (808) comprising said application key identifier and an application identifier to an Authentication and Key Management AKMA Anchor Function for the application, - receiving an application key response (812) from the AKMA anchor function, wherein the application key response comprises a user equipment identifier and a reference application key calculated by the AKMA anchor based on the application key identifier and the application identifier, - verifying (814) the client credentials based on comparing the application key received in the client credentials with the reference application key, and -Including the user device identifier in a claim in the access token.
10. An apparatus according to any preceding claim, wherein the client credentials comprise: A client secret associated with the client identifier, a signing certificate, or a client assertion computed based on the client secret, e.g., a JavaScript Object Notation web token.
11. An apparatus according to any preceding claim, wherein the application function is an industrial network controller and the user device (10) comprises or is a programmable logic controller, and the access request is sent (230) to control a mobile connection configuration of an industrial network.
12. A method for an apparatus, comprising: - obtaining (200) client credentials associated with a subscriber identity module of a user device (10), characterized in that - sending (210) an access token request for an access token for authorizing an application function outside the mobile network (30) to access a network exposure function of the mobile network, wherein the access token request includes the client credentials, - receiving (220) said access token issued by said authorization function, and - sending (230) to the network opening function an access request for accessing a service of the mobile network via the network opening function, wherein the access request comprises the received access token.
13. The method according to claim 12, wherein: - the subscriber identity module is configured to store at least part of the client credentials and to receive at least part of the client credentials from the subscriber identity module; or - the client secret of the client credential is based on an intermediate key generated based on a secret key of the subscriber identity module as part of an authentication and key agreement procedure between the user equipment (10) and the mobile network.
14. A method for authorization function, comprising: - receiving (300) an access token request, characterised in that the access token request is for an access token for authorising access to a network exposure function of the mobile network for an application function outside the mobile network (30), wherein the access token request comprises a client credential associated with a subscriber identity module of the user equipment (10), - in response to verification of the client credentials, authorizing (310) the access to the application function and generating the access token, and - Sending (320) said access token to authorize said access to said network open function for said application function.
15. A computer program comprising instructions for causing a data processing device (1000) to execute the method according to any one of claims 12 to 14.
